bpt/emacs.git
12 years ago* saveplace.el (save-place-to-alist)
Tassilo Horn [Sun, 4 Mar 2012 16:56:21 +0000 (17:56 +0100)]
* saveplace.el (save-place-to-alist)
 (save-place-ignore-files-regexp): Allow value nil to disable this
 feature.

12 years agoAnother tweak to default face handling in face-spec-reset-face.
Chong Yidong [Sun, 4 Mar 2012 15:03:51 +0000 (23:03 +0800)]
Another tweak to default face handling in face-spec-reset-face.

* lisp/faces.el (face-spec-reset-face): For the default face, reset the
attributes to default values.

Fixes: debbugs:10748

12 years agoFix typo.
Michael Albinus [Sun, 4 Mar 2012 14:12:18 +0000 (15:12 +0100)]
Fix typo.

12 years ago* notifications.el: Fix previous patch.
Michael Albinus [Sun, 4 Mar 2012 13:43:13 +0000 (14:43 +0100)]
* notifications.el: Fix previous patch.

12 years agoFix up the emacsbug query-once logic from the previous patch
Lars Magne Ingebrigtsen [Sun, 4 Mar 2012 13:34:33 +0000 (14:34 +0100)]
Fix up the emacsbug query-once logic from the previous patch

* mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
previous patch: Check `message-send-mail-function', and not the
default function.

Fixes: debbugs:10897

12 years ago* notifications.el (notifications-unique-name): New defvar.
Michael Albinus [Sun, 4 Mar 2012 11:21:31 +0000 (12:21 +0100)]
* notifications.el (notifications-unique-name): New defvar.
(notifications-on-action-signal, notifications-on-closed-signal):
Check for unique service name of incoming event.
(top): Register for signals with wildcard service name.
(notifications-notify): Remember daemon unique service name.

12 years ago* lisp/emacs-lisp/package.el: Bump package version to 1.0.
Chong Yidong [Sun, 4 Mar 2012 09:45:01 +0000 (17:45 +0800)]
* lisp/emacs-lisp/package.el: Bump package version to 1.0.

Fixes: debbugs:10838

12 years ago* cus-start.el: Make x-select-enable-clipboard-manager customizable.
Chong Yidong [Sun, 4 Mar 2012 06:55:06 +0000 (14:55 +0800)]
* cus-start.el: Make x-select-enable-clipboard-manager customizable.

12 years agoUpdate Frames chapter of Lisp manager. Document clipboard manager.
Chong Yidong [Sun, 4 Mar 2012 06:50:18 +0000 (14:50 +0800)]
Update Frames chapter of Lisp manager.  Document clipboard manager.

* doc/emacs/killing.texi (Clipboard): Document clipboard manager.

* doc/lispref/windows.texi (Basic Windows, Coordinates and Windows)
(Coordinates and Windows):
* display.texi (Refresh Screen, Line Height, Face Attributes)
(Overlay Arrow, Beeping, Glyphless Chars): Likewise.

* doc/lispref/frames.texi (Frames): Remove little-used "terminal frame" and
"window frame" terminology.
(Frame Parameters, Font and Color Parameters, Initial Parameters)
(Size and Position, Visibility of Frames): Callers changed.
(Frames): Clarify which terminals in framep are graphical.
(Initial Parameters): --geometry is not the only option which adds
to initial-frame-alist.
(Position Parameters): Note that icon-left and icon-top are for
old window managers only.
(Size Parameters): Sizes are in characters even on graphical
displays.
(Management Parameters): Note that window-id and outer-window-id
can't really be changed, and that auto-raise isn't always obeyed.
(Cursor Parameters): Document cursor-type explicitly.
(Size and Position): The aliases set-screen-height and
set-screen-width have been deleted.
(Visibility of Frames): Mention "minimization".

* doc/lispref/os.texi (Startup Summary): Minor clarifications.
(Startup Summary, Suspending Emacs): Standardize on "text
terminal" terminology.

12 years agoChecked lispref/abbrevs.texi
Glenn Morris [Sun, 4 Mar 2012 02:45:04 +0000 (18:45 -0800)]
Checked lispref/abbrevs.texi

* doc/lispref/abbrevs.texi: Small copyedits throughout.
(Abbrev Mode): Remove this section, folding it into the top-level.
(Abbrev Tables): Don't mention irrelevant return values.
(Abbrev Expansion): Add cross-ref for wrapper hooks.
(Standard Abbrev Tables): Emacs Lisp mode now has its own table.
(Abbrev Table Properties): Update nil :regexp description.

* lisp/abbrev.el (copy-abbrev-table, abbrev-table-p)
(abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
(expand-abbrev, define-abbrev-table): Doc fixes.

* admin/FOR-RELEASE: Related markup.

12 years agonet/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
Lars Magne Ingebrigtsen [Sun, 4 Mar 2012 00:15:34 +0000 (00:15 +0000)]
net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.

12 years agoChecked lispref/internals.texi, somewhat
Glenn Morris [Sat, 3 Mar 2012 22:13:28 +0000 (14:13 -0800)]
Checked lispref/internals.texi, somewhat

* doc/lispref/internals.texi: (Writing Emacs Primitives):
Update Fcoordinates_in_window_p and For example definitions.
Give examples of things with non-nil interactive args.  Mention eval_sub.
Remove old info about strings and GCPRO.  Mention cus-start.el.
(Buffer Internals, Window Internals, Process Internals):
Misc small updates and fixes for fields.

* admin/FOR-RELEASE: Related markup.

12 years agoFurther `sendmail-query-once' cleanups for sending bug reports
Lars Magne Ingebrigtsen [Sat, 3 Mar 2012 14:43:03 +0000 (15:43 +0100)]
Further `sendmail-query-once' cleanups for sending bug reports

* mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
`message-default-send-mail-function' and not `send-mail-function'
when doing the prompting for `sendmail-query-once' before sending
in Message buffers.

Fixes: debbugs:10897

12 years agolispref/internals.texi Memory Usage tiny change
Glenn Morris [Sat, 3 Mar 2012 04:18:09 +0000 (20:18 -0800)]
lispref/internals.texi Memory Usage tiny change

* doc/lispref/internals.texi: (Memory Usage): Copyedit.

* src/alloc.c (misc-objects-consed): Doc fix.

12 years agolispref/internals.texi Pure Storage updates
Glenn Morris [Sat, 3 Mar 2012 03:59:22 +0000 (19:59 -0800)]
lispref/internals.texi Pure Storage updates

* doc/lispref/internals.texi: (Pure Storage): Small changes.
* src/alloc.c (Fgarbage_collect): Doc fix.

12 years ago* doc/lispref/internals.texi (Building Emacs): Typo fix, I think.
Glenn Morris [Sat, 3 Mar 2012 03:33:41 +0000 (19:33 -0800)]
* doc/lispref/internals.texi (Building Emacs): Typo fix, I think.

12 years agoSome lispref/internals.texi updates
Glenn Morris [Sat, 3 Mar 2012 02:45:21 +0000 (21:45 -0500)]
Some lispref/internals.texi updates

* doc/lispref/internals.texi: Change @appendix section commands to @section
(both forms are equivalent; just being consistent with the rest of lispref).
(Building Emacs): Say less about CANNOT_DUMP platforms.
Replace deleted eval-at-startup with custom-initialize-delay.
* etc/NEWS: Mention eval-at-startup.

12 years agoChecked lispref/tips.texi
Glenn Morris [Sat, 3 Mar 2012 01:29:55 +0000 (20:29 -0500)]
Checked lispref/tips.texi

* doc/lispref/tips.texi: Copyedits.
(Coding Conventions): Mention autoloads.
Combine partially duplicated macro items.  Fix xref.
Refer to Library Headers for copyright notice.
(Programming Tips): edit-options is long-obsolete.
(Compilation Tips): Mention loading bytecomp for byte-compile props.
(Warning Tips): Mention declare-function.
(Documentation Tips): Remove old info.
(Comment Tips): Mention comment-dwim, not indent-for-comment.
(Library Headers): General update.

* admin/FOR-RELEASE: Related markup.

12 years agoDepessimize the handling of very large macros.
Alan Mackenzie [Fri, 2 Mar 2012 22:16:21 +0000 (22:16 +0000)]
Depessimize the handling of very large macros.

12 years agoFix computation of scroll-margin's character position in redisplay_window.
Eli Zaretskii [Fri, 2 Mar 2012 15:40:44 +0000 (17:40 +0200)]
Fix computation of scroll-margin's character position in redisplay_window.

  src/xdisp.c (redisplay_window): Pass to move_it_vertically the margin in
 pixels, not in screen lines.

12 years ago* jka-compr.el (jka-compr-call-process): Apply
Michael Albinus [Fri, 2 Mar 2012 15:29:28 +0000 (16:29 +0100)]
* jka-compr.el (jka-compr-call-process): Apply
`file-accessible-directory-p' only when the default directory is
not remote.

12 years agoFix typos in comments.
Eli Zaretskii [Fri, 2 Mar 2012 12:03:08 +0000 (14:03 +0200)]
Fix typos in comments.

 src/xdisp.c (redisplay_window, next_element_from_string): Fix typos in
 comments.

12 years agoFix bug #10902 with cursor positioning at EOB.
Eli Zaretskii [Fri, 2 Mar 2012 11:35:51 +0000 (13:35 +0200)]
Fix bug #10902 with cursor positioning at EOB.

 src/xdisp.c (try_window_reusing_current_matrix): Don't move cursor
 position past the first glyph_row that ends at ZV.

12 years ago* dbus.texi (Signals): Known names will be mapped onto unique
Michael Albinus [Fri, 2 Mar 2012 09:40:05 +0000 (10:40 +0100)]
* dbus.texi (Signals): Known names will be mapped onto unique
names, when registering for signals.

12 years ago* doc/lispref/README: Small updates. Use outline-mode.
Glenn Morris [Fri, 2 Mar 2012 03:01:40 +0000 (22:01 -0500)]
* doc/lispref/README: Small updates.  Use outline-mode.

12 years agoTiny change for lispref "Reverting"
Glenn Morris [Fri, 2 Mar 2012 03:00:15 +0000 (22:00 -0500)]
Tiny change for lispref "Reverting"

* doc/lispref/backups.texi (Reverting):
Un-duplicate revert-buffer-in-progress-p, and relocate entry.
Mention buffer-stale-function.
* doc/emacs/arevert-xtra.texi: Comment.

12 years ago* src/buffer.c (buffer-list-update-hook): Doc fix.
Glenn Morris [Fri, 2 Mar 2012 02:57:19 +0000 (21:57 -0500)]
* src/buffer.c (buffer-list-update-hook): Doc fix.

12 years agoStandardize some lispref menu entries.
Glenn Morris [Fri, 2 Mar 2012 02:54:47 +0000 (21:54 -0500)]
Standardize some lispref menu entries.

12 years agoChecked lispref/hooks.texi
Glenn Morris [Fri, 2 Mar 2012 02:52:40 +0000 (21:52 -0500)]
Checked lispref/hooks.texi

* doc/lispref/hooks.texi (Standard Hooks): General update.
Put related hooks together.

* doc/lispref/commands.texi (Keyboard Macros):
Remove cross-ref to Standard Hooks.

* doc/lispref/modes.texi (Hooks): Tweak cross-ref description.
Remove non-standard file-local fill-column (2010-05-13T03:55:46Z!rgm@gnu.org).

* admin/FOR-RELEASE: Related markup.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Thu, 1 Mar 2012 11:18:19 +0000 (06:18 -0500)]
Auto-commit of loaddefs files.

12 years ago* net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
Michael Albinus [Thu, 1 Mar 2012 09:01:08 +0000 (10:01 +0100)]
* net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.

* vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
Add "PAGER=" to `process-environment'.

12 years ago* files.el (file-equal-p): Fix docstring. Avoid unnecessary
Michael Albinus [Thu, 1 Mar 2012 08:33:50 +0000 (09:33 +0100)]
* files.el (file-equal-p): Fix docstring.  Avoid unnecessary
access of FILE2, if FILE1 does not exist.

12 years ago* files.texi (Kinds of Files): The return value of file-equal-p is
Michael Albinus [Thu, 1 Mar 2012 08:21:32 +0000 (09:21 +0100)]
* files.texi (Kinds of Files): The return value of file-equal-p is
unspecified, if FILE1 or FILE2 does not exist.

12 years agoRemove some old unicode notes
Glenn Morris [Thu, 1 Mar 2012 07:34:52 +0000 (23:34 -0800)]
Remove some old unicode notes

12 years agoFix dates and ordering of some ChangeLog entries
Glenn Morris [Thu, 1 Mar 2012 07:33:29 +0000 (23:33 -0800)]
Fix dates and ordering of some ChangeLog entries
(Loads more issues like this in other ChangeLogs.)

12 years ago* doc/lispref/hooks.texi (Standard Hooks): Remove mode-specific hooks.
Glenn Morris [Thu, 1 Mar 2012 07:31:15 +0000 (23:31 -0800)]
* doc/lispref/hooks.texi (Standard Hooks): Remove mode-specific hooks.
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00702.html

12 years agoUpdate lispref/maps.texi
Glenn Morris [Thu, 1 Mar 2012 07:29:48 +0000 (23:29 -0800)]
Update lispref/maps.texi
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00702.html

* doc/lispref/maps.texi (Standard Keymaps): General update.
Remove mode-specific maps, talk about the more general keymaps.
* doc/lispref/help.texi (Help Functions): Add vindex for Helper-help-map.
* doc/lispref/keymaps.texi (Active Keymaps): Minor rephrasing.
* admin/FOR-RELEASE: Related markup.

12 years ago2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
Michael Mauger [Thu, 1 Mar 2012 05:01:22 +0000 (00:01 -0500)]
2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>

* progmodes/sql.el: Bug fix
(sql-get-login-ext): Save login values in globals.
(sql-get-login): Use new version of `sql-get-login-ext'.
(sql-interactive-mode): Set global `sql-connection' to nil.
(sql-connect): Set global values for connection.
(sql-product-interactive): Save global values as buffer local.

12 years agoFix bug #10903 with displaying an empty display string.
Eli Zaretskii [Wed, 29 Feb 2012 17:50:24 +0000 (19:50 +0200)]
Fix bug #10903 with displaying an empty display string.

 src/xdisp.c (get_overlay_strings_1): Under bidi redisplay, call
 push_it before setting up the iterator for the first overlay
 string, even if we have an empty string loaded.
 (next_overlay_string): If there's an empty string on the iterator
 stack, pop the stack.

12 years agoReset sys to nil in define-abbrevs
Leo Liu [Wed, 29 Feb 2012 15:05:42 +0000 (23:05 +0800)]
Reset sys to nil in define-abbrevs

Otherwise all abbrevs after are regarded as system ones and not saved
to disk, causing data loss.

12 years ago* doc/emacs/ack.texi (Acknowledgments): Use @Tex{} in more places.
Glenn Morris [Wed, 29 Feb 2012 08:31:30 +0000 (00:31 -0800)]
* doc/emacs/ack.texi (Acknowledgments): Use @Tex{} in more places.

12 years ago* doc/misc/url.texi: Fix quote usage in body text.
Glenn Morris [Wed, 29 Feb 2012 08:12:51 +0000 (00:12 -0800)]
* doc/misc/url.texi: Fix quote usage in body text.

12 years agoUse "" quotes in menus
Glenn Morris [Wed, 29 Feb 2012 08:11:23 +0000 (00:11 -0800)]
Use "" quotes in menus
This is already used in most places. ``...'' does not get specially
converted by texinfo in @menu descriptions.

* doc/emacs/emacs.texi, doc/emacs/help.texi, doc/emacs/text.texi:
* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
* doc/misc/sem-user.texi, doc/misc/url.texi, doc/misc/woman.texi:
Use "" quotes in menus.

12 years agoUse @code{} in menus when appropriate, rather than `'
Glenn Morris [Wed, 29 Feb 2012 08:05:16 +0000 (00:05 -0800)]
Use @code{} in menus when appropriate, rather than `'
Eg it looks better in html output, where it gets converted to italic.

* doc/emacs/dired.texi, doc/emacs/emacs.texi:
* doc/misc/cl.texi: Use @code{} in menus when appropriate, rather than `'.

12 years agoNEWS fix
Glenn Morris [Wed, 29 Feb 2012 04:31:55 +0000 (20:31 -0800)]
NEWS fix

12 years agoFix ChangeLog typos.
Juanma Barranquero [Tue, 28 Feb 2012 12:36:39 +0000 (13:36 +0100)]
Fix ChangeLog typos.

12 years ago* lisp/files.el (file-equal-p): renamed from `files-equal-p'.
thierry volpiatto [Tue, 28 Feb 2012 09:28:52 +0000 (10:28 +0100)]
* lisp/files.el (file-equal-p): renamed from `files-equal-p'.
Now return nil when one or both files doesn't exists.
(file-subdir-of-p): Now only top directory must exists,
return nil if it doesn't.
(copy-directory): No need to test with `file-subdir-of-p' after creating dir.
* tramp.el (tramp-file-name-for-operation): Rename `files-equal-p' to `file-equal-p'.
* files.texi: Rename `files-equal-p' to `file-equal-p'.

12 years agoStandardize possessive apostrophe usage in manuals, docs, and comments
Glenn Morris [Tue, 28 Feb 2012 08:17:21 +0000 (00:17 -0800)]
Standardize possessive apostrophe usage in manuals, docs, and comments
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html

12 years agoNEWS markup
Glenn Morris [Tue, 28 Feb 2012 07:33:01 +0000 (23:33 -0800)]
NEWS markup

12 years ago* doc/lispref/makefile.w32-in (srcs): Remove locals.texi.
Glenn Morris [Tue, 28 Feb 2012 07:30:20 +0000 (23:30 -0800)]
* doc/lispref/makefile.w32-in (srcs): Remove locals.texi.

12 years agoChangeLog for previous change
Glenn Morris [Tue, 28 Feb 2012 04:17:54 +0000 (20:17 -0800)]
ChangeLog for previous change

12 years agoRemove lispref/locals.texi
Glenn Morris [Tue, 28 Feb 2012 04:17:02 +0000 (20:17 -0800)]
Remove lispref/locals.texi
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00702.html

* doc/lispref/locals.texi: Remove file.
* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
Don't include locals.texi.  Remove menu entry.
* doc/lispref/errors.texi, doc/lispref/maps.texi: Adjust node pointers.
* doc/lispref/internals.texi (Buffer Internals):
Remove cross-refs to locals.texi.
* doc/lispref/Makefile.in (srcs): Remove locals.texi.

* admin/FOR-RELEASE: Related markup.

12 years ago* doc/lispref/frames.texi (Mouse Position): Fix cross-ref.
Glenn Morris [Tue, 28 Feb 2012 04:01:56 +0000 (20:01 -0800)]
* doc/lispref/frames.texi (Mouse Position): Fix cross-ref.

12 years agoAuto-commit of generated files.
Glenn Morris [Mon, 27 Feb 2012 19:59:12 +0000 (14:59 -0500)]
Auto-commit of generated files.

12 years agoFix M-x in Viper mode.
Chong Yidong [Mon, 27 Feb 2012 13:14:36 +0000 (21:14 +0800)]
Fix M-x in Viper mode.

* lisp/emulation/viper-cmd.el (viper-intercept-ESC-key): Fix
key-binding lookup for ESC key.

Fixes: debbugs:9146

12 years agoMore updates for Buffers and Files chapters of Lisp manual.
Chong Yidong [Mon, 27 Feb 2012 07:26:13 +0000 (15:26 +0800)]
More updates for Buffers and Files chapters of Lisp manual.

* doc/emacs/buffers.texi (Creating Buffers): Clarify that
generate-new-buffer uses generate-new-buffer-names.
(Killing Buffers): Remove bogus example duplicating buffer-live-p.

* doc/emacs/files.texi (Directory Names): Index entry for file name abbreviations.
(Relative File Names, File Name Expansion): Refer to it.
(Locating Files): Move locate-user-emacs-file documentation to
Standard File Names.
(Standard File Names): Add locate-user-emacs-file; update examples.

12 years agoBump version to 24.0.94
Chong Yidong [Mon, 27 Feb 2012 03:20:00 +0000 (11:20 +0800)]
Bump version to 24.0.94

12 years ago* font-lock.el (font-lock-specified-p): Rename from font-lock-spec-present.
Chong Yidong [Mon, 27 Feb 2012 02:34:12 +0000 (10:34 +0800)]
* font-lock.el (font-lock-specified-p): Rename from font-lock-spec-present.
Callers changed.

12 years agoFix oversight in package-load-list handling.
Daniel Hackney [Mon, 27 Feb 2012 01:57:50 +0000 (09:57 +0800)]
Fix oversight in package-load-list handling.

* lisp/emacs-lisp/package.el (package-compute-transaction): Handle
holding a package version to t in package-load-list.

12 years ago* net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
Michael Albinus [Sun, 26 Feb 2012 19:36:59 +0000 (20:36 +0100)]
* net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
(tramp-get-inode, tramp-get-device): Use cached values.

12 years agoCheck there is a font-lock specification before initial fontification.
Alan Mackenzie [Sun, 26 Feb 2012 13:02:52 +0000 (13:02 +0000)]
Check there is a font-lock specification before initial fontification.

12 years agoAdd NEWS entry about update-directory-autoloads change.
David Engster [Sun, 26 Feb 2012 09:52:09 +0000 (17:52 +0800)]
Add NEWS entry about update-directory-autoloads change.

Fixes: debbugs:10396

12 years ago* files.texi (Magic File Names): Add files-equal-p and file-subdir-of-p.
Michael Albinus [Sun, 26 Feb 2012 09:41:13 +0000 (10:41 +0100)]
* files.texi (Magic File Names): Add files-equal-p and file-subdir-of-p.

12 years agoFix handling of commands containing double quotes in gdb-mi
Jim Blandy [Sun, 26 Feb 2012 09:38:45 +0000 (17:38 +0800)]
Fix handling of commands containing double quotes in gdb-mi

* lisp/progmodes/gdb-mi.el (gdb-mi-quote): New function.
(gdb-send): Apply it to the operand of the '-interpreter-exec
console' command, so that we can pass arguments with (say) quotes
in them.  Store exact string sent in gdb-debug-log (Bug#10765).

12 years ago* doc/misc/ediff.texi (Quick Help Commands): Add a couple of index entries.
Chong Yidong [Sun, 26 Feb 2012 09:29:50 +0000 (17:29 +0800)]
* doc/misc/ediff.texi (Quick Help Commands): Add a couple of index entries.

Fixes: debbugs:10834

12 years ago* help-fns.el (describe-function-1): Clarify description of remapping.
Chong Yidong [Sun, 26 Feb 2012 09:24:13 +0000 (17:24 +0800)]
* help-fns.el (describe-function-1): Clarify description of remapping.

Fixes: debbugs:10844

12 years agoAdd NEWS entry about change to drag and drop behavior on Mac OS.
Chong Yidong [Sun, 26 Feb 2012 09:17:07 +0000 (17:17 +0800)]
Add NEWS entry about change to drag and drop behavior on Mac OS.

12 years agoCode and doc fixes for file-subdir-of-p and files-equal-p.
Chong Yidong [Sun, 26 Feb 2012 09:08:19 +0000 (17:08 +0800)]
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.

12 years ago* doc/lispref/intro.texi (Acknowledgements): Small changes.
Glenn Morris [Sun, 26 Feb 2012 02:25:07 +0000 (18:25 -0800)]
* doc/lispref/intro.texi (Acknowledgements): Small changes.

12 years ago* alloc.c (mark_memory): Conditionalize recent fix on USE_USB_TAG.
Paul Eggert [Sun, 26 Feb 2012 01:09:59 +0000 (17:09 -0800)]
* alloc.c (mark_memory): Conditionalize recent fix on USE_USB_TAG.

12 years agolisp/bs.el: Fix bug#10882
Juanma Barranquero [Sat, 25 Feb 2012 23:26:40 +0000 (00:26 +0100)]
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.

12 years agoChecked errors.texi
Glenn Morris [Sat, 25 Feb 2012 20:59:46 +0000 (12:59 -0800)]
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.

12 years agoGeneralize fix for crash due to non-contiguous EMACS_INT (Bug#10780).
Paul Eggert [Sat, 25 Feb 2012 19:39:42 +0000 (11:39 -0800)]
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.

12 years ago* doc/lispref/files.texi: (files-equal-p, file-subdir-of-p): Add documentation.
thierry volpiatto [Sat, 25 Feb 2012 15:31:07 +0000 (16:31 +0100)]
* doc/lispref/files.texi: (files-equal-p, file-subdir-of-p): Add documentation.

12 years agoshr.el (shr-column-specs): Protect against TDs with "width: 0%".
Lars Magne Ingebrigtsen [Sat, 25 Feb 2012 13:20:57 +0000 (13:20 +0000)]
shr.el (shr-column-specs): Protect against TDs with "width: 0%".

12 years agolisp/ChangeLog: Fix typos.
Juanma Barranquero [Sat, 25 Feb 2012 12:09:19 +0000 (13:09 +0100)]
lisp/ChangeLog: Fix typos.

12 years agoMake drop on NS/OSX behave the same as other platforms (Bug 5855 and 10050).
Jan Djärv [Sat, 25 Feb 2012 10:04:30 +0000 (11:04 +0100)]
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).

12 years ago* calendar/parse-time.el (parse-time-string): Allow extractor to
Andreas Schwab [Sat, 25 Feb 2012 10:00:08 +0000 (11:00 +0100)]
* calendar/parse-time.el (parse-time-string): Allow extractor to
return nil.

12 years agoUpdate Backups chapter of Lisp manual.
Chong Yidong [Sat, 25 Feb 2012 09:32:33 +0000 (17:32 +0800)]
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.

12 years agoDocument SELinux support functions in Lisp manual.
Chong Yidong [Sat, 25 Feb 2012 09:07:23 +0000 (17:07 +0800)]
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.

12 years ago* net/tramp.el (tramp-file-name-for-operation): Add
Michael Albinus [Sat, 25 Feb 2012 08:51:32 +0000 (09:51 +0100)]
* 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.

12 years agoAdd custom groups for VC backends, for consistency with vc-bzr.
Chong Yidong [Sat, 25 Feb 2012 04:29:09 +0000 (12:29 +0800)]
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

12 years ago* doc/lispref/searching.texi (Regexp Backslash): Add index entry.
Chong Yidong [Sat, 25 Feb 2012 04:03:43 +0000 (12:03 +0800)]
* doc/lispref/searching.texi (Regexp Backslash): Add index entry.

Fixes: debbugs:10869

12 years agoAdd a clarification to Buffers chapter of Emacs manual.
Dani Moncayo [Sat, 25 Feb 2012 03:49:22 +0000 (11:49 +0800)]
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.

12 years ago* lisp/newcomment.el (comment-styles): Add autoload.
Chong Yidong [Sat, 25 Feb 2012 03:08:39 +0000 (11:08 +0800)]
* lisp/newcomment.el (comment-styles): Add autoload.

Fixes: debbugs:10868

12 years agoReduce x-selection-timeout to 5s, and add a message for clipboard manager saving.
Chong Yidong [Sat, 25 Feb 2012 03:01:11 +0000 (11:01 +0800)]
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

12 years agoAdd PROBLEMS entry for X clipboard managers slowing down exit
Glenn Morris [Sat, 25 Feb 2012 01:54:17 +0000 (20:54 -0500)]
Add PROBLEMS entry for X clipboard managers slowing down exit
See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8869#92

12 years agonntp.el (nntp-send-authinfo): Fix last change.
Katsumi Yamaoka [Sat, 25 Feb 2012 00:39:24 +0000 (00:39 +0000)]
nntp.el (nntp-send-authinfo): Fix last change.

12 years agolisp/ChangeLog: Fix typos.
Juanma Barranquero [Fri, 24 Feb 2012 22:14:05 +0000 (23:14 +0100)]
lisp/ChangeLog: Fix typos.

12 years ago* lisp/files.el (file-subdir-of-p): Fix typo.
thierry volpiatto [Fri, 24 Feb 2012 21:16:56 +0000 (22:16 +0100)]
* lisp/files.el (file-subdir-of-p): Fix typo.

12 years agoMore ChangeLog fixes
Glenn Morris [Fri, 24 Feb 2012 19:47:53 +0000 (14:47 -0500)]
More ChangeLog fixes

The configure.in bit is already in ../ChangeLog, where it should be.

12 years agoFix another ChangeLog entry
Glenn Morris [Fri, 24 Feb 2012 19:44:16 +0000 (14:44 -0500)]
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.

12 years agoChangeLog fixes
Glenn Morris [Fri, 24 Feb 2012 19:39:07 +0000 (14:39 -0500)]
ChangeLog fixes

12 years agoChangeLog fixes
Glenn Morris [Fri, 24 Feb 2012 19:32:46 +0000 (14:32 -0500)]
ChangeLog fixes

12 years agoFix previous change files.el change
Glenn Morris [Fri, 24 Feb 2012 19:25:38 +0000 (14:25 -0500)]
Fix previous change files.el change

12 years agoFix bug#10489: 24.0.92 `dired-do-copy' may create infinite directory hierarchy.
thierry volpiatto [Fri, 24 Feb 2012 18:04:03 +0000 (19:04 +0100)]
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.

12 years agoFix bug #10674 with infinite re-spawning of cmdproxy.exe.
Eli Zaretskii [Fri, 24 Feb 2012 10:13:20 +0000 (12:13 +0200)]
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.

12 years agoProcess multiple X selection requests in process_special_events.
Chong Yidong [Fri, 24 Feb 2012 08:34:09 +0000 (16:34 +0800)]
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

12 years agoSmall changes for lispref/errors.texi
Glenn Morris [Fri, 24 Feb 2012 08:28:42 +0000 (00:28 -0800)]
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.

12 years ago* net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines. (Bug#10874)
Michael Albinus [Fri, 24 Feb 2012 08:11:00 +0000 (09:11 +0100)]
* net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines. (Bug#10874)