1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

104371 Commits

Author SHA1 Message Date
Chong Yidong
fa9a085539 * doc/misc/ediff.texi (Quick Help Commands): Add a couple of index entries.
Fixes: debbugs:10834
2012-02-26 17:29:50 +08:00
Chong Yidong
07498861ae * help-fns.el (describe-function-1): Clarify description of remapping.
Fixes: debbugs:10844
2012-02-26 17:24:13 +08:00
Chong Yidong
ad7c802c9c Add NEWS entry about change to drag and drop behavior on Mac OS. 2012-02-26 17:17:07 +08:00
Chong Yidong
9a4888c093 Code and doc fixes for file-subdir-of-p and files-equal-p.
* lisp/files.el (files-equal-p): Doc fix.
(file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
and quit the loop once a mismatch is found.

* doc/lispref/files.texi (Kinds of Files): Improve documentation of
files-equal-p and file-subdir-of-p.
2012-02-26 17:08:19 +08:00
Glenn Morris
f0e751b92f * doc/lispref/intro.texi (Acknowledgements): Small changes. 2012-02-25 18:25:07 -08:00
Paul Eggert
a9a769fba6 * alloc.c (mark_memory): Conditionalize recent fix on USE_USB_TAG. 2012-02-25 17:09:59 -08:00
Juanma Barranquero
ea8fb88d46 lisp/bs.el: Fix bug#10882
* bs.el (bs--show-with-configuration): Don't throw an error
  if the window cannot be split; otherwise, subsequent calls
  to bs-show fail, restoring a stale window config.
2012-02-26 00:26:40 +01:00
Glenn Morris
7e05b1ec63 Checked errors.texi
* doc/lispref/errors.texi: Don't try to list _all_ the error symbols.
Add circular-list, cl-assertion-failed, compression-error.
* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
* doc/lispref/control.texi (Error Symbols): Tweak "Standard Errors" description.
* admin/FOR-RELEASE: Related markup.
2012-02-25 12:59:46 -08:00
Paul Eggert
27f3c6378b Generalize fix for crash due to non-contiguous EMACS_INT (Bug#10780).
Suggested by Stefan Monnier in
<http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00692.html>.
* alloc.c (widen_to_Lisp_Object): New static function.
(mark_memory): Also mark Lisp_Objects by fetching pointer words
and widening them to Lisp_Objects.  This would work even if
USE_LSB_TAG is defined and wide integers are used, which might
happen in a future version of Emacs.
2012-02-25 11:39:42 -08:00
thierry volpiatto
2345325552 * doc/lispref/files.texi: (files-equal-p, file-subdir-of-p): Add documentation. 2012-02-25 16:31:07 +01:00
Lars Magne Ingebrigtsen
5d8522565e shr.el (shr-column-specs): Protect against TDs with "width: 0%". 2012-02-25 13:20:57 +00:00
Juanma Barranquero
91027d08b5 lisp/ChangeLog: Fix typos. 2012-02-25 13:09:19 +01:00
Jan Djärv
525795c1bd Make drop on NS/OSX behave the same as other platforms (Bug 5855 and 10050).
* doc/emacs/macos.texi (Mac / GNUstep Customization): Remove text about
ns-find-file and ns-drag-file (Bug#5855, Bug#10050).

* lisp/term/ns-win.el (global-map): Bind ns-drag-file to
ns-find-file (Bug#5855, Bug#10050).
2012-02-25 11:04:30 +01:00
Andreas Schwab
f008086fd2 * calendar/parse-time.el (parse-time-string): Allow extractor to
return nil.
2012-02-25 11:00:08 +01:00
Chong Yidong
d268b4fe42 Update Backups chapter of Lisp manual.
* doc/lispref/backups.texi (Making Backups): Mention default value of backup-directory-alist.
(Rename or Copy): Note that backup-by-copying-when-mismatch is t.
(Auto-Saving): New minor mode behavior for auto-save-mode.
(Reverting): Add defvar for revert-buffer-in-progress-p.
2012-02-25 17:32:33 +08:00
Chong Yidong
fa74b241a3 Document SELinux support functions in Lisp manual.
* doc/lispref/backups.texi (Making Backups): Return value of backup-buffer is
changed.

* doc/lispref/files.texi (File Attributes): Document file-selinux-context.
(Changing Files): Link to it.
(Changing Files): Document set-file-selinux-context.

* fileio.c (Ffile_selinux_context, Fset_file_selinux_context):
Doc fix.
2012-02-25 17:07:23 +08:00
Michael Albinus
a3fcfa99f6 * net/tramp.el (tramp-file-name-for-operation): Add
`files-equal-p' and `file-subdir-of-p'.

* net/tramp-sh.el (tramp-sh-handle-copy-directory):
* net/tramp-smb.el (tramp-smb-handle-copy-directory): Add
COPY-CONTENTS argument.
2012-02-25 09:51:32 +01:00
Chong Yidong
67b0de1147 Add custom groups for VC backends, for consistency with vc-bzr.
Callers changed.

* vc/vc-arch.el (vc-arch):
* vc/vc-cvs.el (vc-cvs):
* vc/vc-git.el (vc-git):
* vc/vc-hg.el (vc-hg):
* vc/vc-mtn.el (vc-mtn):
* vc/vc-rcs.el (vc-rcs):
* vc/vc-sccs.el (vc-sccs):
* vc/vc-svn.el (vc-svn): New customization group.

Fixes: debbugs:10871
2012-02-25 12:29:09 +08:00
Chong Yidong
4963495d7e * doc/lispref/searching.texi (Regexp Backslash): Add index entry.
Fixes: debbugs:10869
2012-02-25 12:03:43 +08:00
Dani Moncayo
562af8bb4f Add a clarification to Buffers chapter of Emacs manual.
* doc/emacs/buffers.texi (Select Buffer): Mention that saving in a new file
name can switch to a different major mode.
2012-02-25 11:49:22 +08:00
Chong Yidong
1339bf4302 * lisp/newcomment.el (comment-styles): Add autoload.
Fixes: debbugs:10868
2012-02-25 11:08:39 +08:00
Chong Yidong
3c9dfce6da Reduce x-selection-timeout to 5s, and add a message for clipboard manager saving.
* lisp/term/x-win.el (x-initialize-window-system): Reduce default for
x-selection-timeout to 5 seconds.

* src/xselect.c (Fx_selection_exists_p): Doc fix.
(x_clipboard_manager_save_all): Print an informative message
before saving to clipboard manager.

Fixes: debbugs:8869
2012-02-25 11:01:11 +08:00
Glenn Morris
833e48d3d8 Add PROBLEMS entry for X clipboard managers slowing down exit
See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8869#92
2012-02-24 20:54:17 -05:00
Katsumi Yamaoka
b63e0a6866 nntp.el (nntp-send-authinfo): Fix last change. 2012-02-25 00:39:24 +00:00
Juanma Barranquero
53a46cd091 lisp/ChangeLog: Fix typos. 2012-02-24 23:14:05 +01:00
thierry volpiatto
14a8a663a5 * lisp/files.el (file-subdir-of-p): Fix typo. 2012-02-24 22:16:56 +01:00
Glenn Morris
f42a7b12b4 More ChangeLog fixes
The configure.in bit is already in ../ChangeLog, where it should be.
2012-02-24 14:47:53 -05:00
Glenn Morris
8e71e9f5bf Fix another ChangeLog entry
This one makes no sense, because it is editing a generated file.
Looks like it was fixed in the proper place (configure.in) 2003-01-06.
2012-02-24 14:44:16 -05:00
Glenn Morris
61bdb81653 ChangeLog fixes 2012-02-24 14:39:07 -05:00
Glenn Morris
3a7d293b09 ChangeLog fixes 2012-02-24 14:32:46 -05:00
Glenn Morris
ec70a47da9 Fix previous change files.el change 2012-02-24 14:25:38 -05:00
thierry volpiatto
25b2e303b0 Fix bug#10489: 24.0.92 `dired-do-copy' may create infinite directory hierarchy.
* lisp/files.el (files-equal-p): New, simple equality check between two filename.
(file-subdir-of-p): New, Check if dir1 is subdir of dir2.
(copy-directory): Return error when trying to copy a directory on itself.
Add missing copy-contents arg to tramp handler.

* lisp/dired-aux.el (dired-copy-file-recursive): Same.
(dired-create-files): Modify destination when source is equal to dest when copying files.
Return also when dest is a subdir of source.
2012-02-24 19:04:03 +01:00
Eli Zaretskii
58b65bf58c Fix bug #10674 with infinite re-spawning of cmdproxy.exe.
nt/cmdproxy.c (main): Bypass conversion of the file name in argv[0]
 and our own module name to short 8+3 aliases, if the original file
 names compare equal.  If GetShortPathName fails, compare the base
 names of the two file names, and only re-spawn the command line if
 the base-name comparison also fails.
2012-02-24 12:13:20 +02:00
Chong Yidong
9486df08b7 Process multiple X selection requests in process_special_events.
* src/keyboard.c (process_special_events): Handle all X selection
requests in kbd_buffer, not just the next one.

Fixes: debbugs:8869
2012-02-24 16:34:09 +08:00
Glenn Morris
4bb82fa8b7 Small changes for lispref/errors.texi
* doc/lispref/errors.texi (Standard Errors): Mention dbus-error.
For arith-error sub-classes, just use one cross-ref.
2012-02-24 00:28:42 -08:00
Michael Albinus
914260cdbd * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines. (Bug#10874) 2012-02-24 09:11:00 +01:00
Katsumi Yamaoka
50fc698ea8 nntp.el (nntp-send-authinfo): Work for secure nntp entry in authinfo. 2012-02-23 23:11:13 +00:00
Glenn Morris
b1890b0f10 Fix date of ChangeLog entry 2012-02-23 14:49:47 -05:00
Glenn Morris
feb8a83af7 Add missing NEWS entry for feature appearing during feature freeze 2012-02-23 14:47:27 -05:00
Alan Mackenzie
2cb228f753 Add new parameter :after-hook to define-minor-mode. Use this in the
definition of font-lock-mode.
2012-02-23 18:51:22 +00:00
Chong Yidong
b2e4ca7d12 * window.c: Fix last fix. 2012-02-24 01:40:33 +08:00
Stefan Monnier
3e88618b12 * lisp/minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
(completion--cache-all-sorted-completions): New function.
(completion-all-sorted-completions): Use it.
(completion--do-completion, minibuffer-force-complete):
Use it to re-instate the flush hook.
2012-02-23 10:41:12 -05:00
Stefan Monnier
8f0fde218f * lisp/icomplete.el (icomplete-completions): Replace last fix.
Fixes: debbugs:10850
2012-02-23 10:36:07 -05:00
Glenn Morris
49fe4321fb Checked mini.texi
* doc/emacs/mini.texi (Minibuffer File, Completion Options, Repetition):
Copyedits.
(Completion Example): Other M-x au* commands may be defined.
(Completion Styles): Mention emacs21 and completion-category-overrides.

* lisp/minibuffer.el (completion-category-overrides): Doc fix.

* admin/FOR-RELEASE: Related markup.
2012-02-23 00:32:18 -08:00
Dmitry Gutov
8e911f6f93 * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
when it might call us back infinitely.

Fixes: debbugs:10797
2012-02-23 03:13:48 -05:00
Dani Moncayo
2dbe4d7106 * nt/makefile.w32-in (maybe-copy-distfiles-SH): Fix typo. 2012-02-23 02:52:08 -05:00
Chong Yidong
f01d3321d5 Avoid infloop in next-frame during frame creation.
See thread at http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00573.html

* src/window.c (inhibit_window_configuration_change_hook): New var.
(run_window_configuration_change_hook): Obey it.

* src/xfns.c (Fx_create_frame): Avoid window-configuration-change-hook
call when setting menu-bar-lines and tool-bar-lines parameters.
(unwind_create_frame_1): New helper function.
2012-02-23 15:28:21 +08:00
Glenn Morris
8f4042d244 Read msdog.texi
* doc/emacs/msdog.texi (Text and Binary, ls in Lisp, Windows HOME)
(Windows Keyboard, Windows Mouse, Windows Processes)
(Windows Printing, Windows Misc): Copyedits.
(ls in Lisp): Update switches list.
* admin/FOR-RELEASE: Related markup.
2012-02-22 21:36:08 -08:00
Stefan Monnier
b291b57241 * lisp/minibuffer.el (completion-table-with-context): Fix inf-loop.
Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2012-02-22 23:38:29 -05:00
Glenn Morris
371fb83399 Checked msdog-xtra.texi
* doc/emacs/msdog-xtra.texi (MS-DOS Display): Update list-colors-display xref.
Update dos-mode* function names.
(MS-DOS Printing, MS-DOS and MULE): Copyedits.
(MS-DOS Processes): Add xref to main ls-lisp section.
* admin/FOR-RELEASE: Related markup.
2012-02-22 20:32:18 -08:00