bpt/emacs.git
12 years ago* src/buffer.c (compare_overlays): Avoid qsort's instability.
Stefan Monnier [Fri, 9 Mar 2012 16:46:25 +0000 (11:46 -0500)]
* src/buffer.c (compare_overlays): Avoid qsort's instability.

Fixes: debbugs:6830

12 years agoUpdate the Persian input methods.
Mohsen BANAN [Fri, 9 Mar 2012 12:18:25 +0000 (14:18 +0200)]
Update the Persian input methods.

 leim/quail/persian.el: Update which includes: (1) full compliance to
 ISIRI-6219, forbiden characters were eliminated and missing
 characters were added; (2) layer 3 of ISIRI-9147 is now
 implemented with a '\' prefix; (3) double entry of characters
 which were postfixed with 'h' is now supported; (4) lots of
 comment and additional pointers have been added.

12 years agoMake sure smtpmail produces valid mbox files with Unix EOLs for FCC.
Eli Zaretskii [Fri, 9 Mar 2012 11:06:44 +0000 (13:06 +0200)]
Make sure smtpmail produces valid mbox files with Unix EOLs for FCC.

 lisp/mail/smtpmail.el (smtpmail-send-it): Bind
 coding-system-for-write to *-unix, so that FCC files are kept in
 valid mbox format.

12 years agoAnother dir-locals iteration
Glenn Morris [Fri, 9 Mar 2012 03:21:49 +0000 (22:21 -0500)]
Another dir-locals iteration

* lisp/files.el (dir-locals-find-file):
Don't check result is regular, readable.
(dir-locals-read-from-file): Demote errors.

12 years ago* gtkutil.c (x_wm_set_size_hint): Use one row in call to
Jan Djärv [Thu, 8 Mar 2012 18:49:13 +0000 (19:49 +0100)]
* gtkutil.c (x_wm_set_size_hint): Use one row in call to
FRAME_TEXT_LINES_TO_PIXEL_HEIGHT so base_height is greater than
zero.

Fixes: debbugs:10954

12 years agoPrevent bidi reordering of rows and keys in the quail layout display.
Eli Zaretskii [Thu, 8 Mar 2012 18:21:07 +0000 (20:21 +0200)]
Prevent bidi reordering of rows and keys in the quail layout display.

 lisp/international/quail.el (quail-insert-kbd-layout): Insert
 invisible LRM characters before each character in a keyboard
 layout cell, to prevent their reordering by bidi display engine.
 For details, see the discussion in
 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.

12 years agoMake c-mark-defun extend region when repeated, and leave a mark.
Alan Mackenzie [Thu, 8 Mar 2012 11:32:57 +0000 (11:32 +0000)]
Make c-mark-defun extend region when repeated, and leave a mark.
Fixes bugs #5525, #10906.

12 years agoFix my email address.
Michael Albinus [Thu, 8 Mar 2012 08:22:16 +0000 (09:22 +0100)]
Fix my email address.

12 years agoUndo 2012-03-06T08:22:42Z!rgm@gnu.org
Glenn Morris [Thu, 8 Mar 2012 06:06:28 +0000 (22:06 -0800)]
Undo 2012-03-06T08:22:42Z!rgm@gnu.org

* lisp/files.el (locate-dominating-file, dir-locals-find-file):
Undo 2012-03-06 change.

12 years agoMore updates to Text chapter of Lisp manual.
Chong Yidong [Thu, 8 Mar 2012 05:27:03 +0000 (13:27 +0800)]
More updates to Text chapter of Lisp manual.

* doc/lispref/text.texi (Mode-Specific Indent): Document new behavior of
indent-for-tab-command.  Document tab-always-indent.
(Special Properties): Copyedits.
(Checksum/Hash): Improve secure-hash doc.  Do not recommend MD5.
(Parsing HTML/XML): Rename from Parsing HTML.  Update doc of
libxml-parse-html-region.

12 years agomm-uu.el (mm-uu-type-alist): Comment fix by Frank Haun <fh@fhaun.de>
Katsumi Yamaoka [Thu, 8 Mar 2012 02:34:26 +0000 (02:34 +0000)]
mm-uu.el (mm-uu-type-alist): Comment fix by Frank Haun <fh@fhaun.de>

12 years agoFix direction of keyboard layout display for Arabic input method.
Eli Zaretskii [Wed, 7 Mar 2012 18:48:07 +0000 (20:48 +0200)]
Fix direction of keyboard layout display for Arabic input method.

 lisp/international/quail.el (quail-help): Force
 bidi-paragraph-direction be left-to-right.  See discussion in
 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
 for the reason.

12 years agoFOR-RELEASE markup
Glenn Morris [Wed, 7 Mar 2012 08:38:05 +0000 (00:38 -0800)]
FOR-RELEASE markup

12 years agoTiny clarification for markers.texi
Glenn Morris [Wed, 7 Mar 2012 08:33:11 +0000 (00:33 -0800)]
Tiny clarification for markers.texi

* doc/lispref/markers.texi (The Mark):
Tiny clarification re command loop and activate-mark-hook.

12 years agoAvoid superfluous registering of signals. (Bug#10807)
Michael Albinus [Wed, 7 Mar 2012 07:48:16 +0000 (08:48 +0100)]
Avoid superfluous registering of signals.  (Bug#10807)

* notifications.el (notifications-on-action-object)
(notifications-on-close-object): New defvars.
(notifications-on-action-signal, notifications-on-closed-signal):
Unregister the signal if not needed any longer.
(notifications-notify): Register `notifications-action-signal' or
`notifications-closed-signal', if :on-action or :on-close has been
passed as argument.

12 years agolispref/markers.texi small change
Glenn Morris [Wed, 7 Mar 2012 07:43:14 +0000 (23:43 -0800)]
lispref/markers.texi small change

* doc/lispref/markers.texi (Overview of Markers):
Reword garbage collection, add cross-ref.

12 years agolispref/markers.texi small addition
Glenn Morris [Wed, 7 Mar 2012 07:37:36 +0000 (23:37 -0800)]
lispref/markers.texi small addition

* doc/lispref/markers.texi (The Region):
Briefly mention use-empty-active-region and region-active-p.

12 years ago* cus-start.el: Avoid x-select-enable-clipboard-manager warning on non-X platforms.
Chong Yidong [Wed, 7 Mar 2012 05:53:51 +0000 (13:53 +0800)]
* cus-start.el: Avoid x-select-enable-clipboard-manager warning on non-X platforms.

12 years agoMinor updates to Markers and Text chapters of Lisp manual.
Chong Yidong [Wed, 7 Mar 2012 05:36:33 +0000 (13:36 +0800)]
Minor updates to Markers and Text chapters of Lisp manual.

* doc/lispref/markers.texi (The Mark): Fix typo.
(The Region): Copyedits.

* doc/lispref/text.texi (Buffer Contents): Don't duplicate explanation of
region arguments from Text node.  Put doc of obsolete var
buffer-substring-filters back, since it is referred to.
(Low-Level Kill Ring): Yank now uses clipboard instead of primary
selection by default.

12 years agoSmall lispref/markers.texi edits
Glenn Morris [Wed, 7 Mar 2012 02:51:40 +0000 (21:51 -0500)]
Small lispref/markers.texi edits

* doc/lispref/markers.texi (Overview of Markers): Copyedits.
(Creating Markers): Update approximate example buffer size.
(The Mark): Don't mention uninteresting return values.

12 years agoFOR-RELEASE markup
Glenn Morris [Wed, 7 Mar 2012 01:58:30 +0000 (20:58 -0500)]
FOR-RELEASE markup

12 years agopc-win.el doc fix for bug#10783
Glenn Morris [Tue, 6 Mar 2012 19:48:46 +0000 (14:48 -0500)]
pc-win.el doc fix for bug#10783

* lisp/term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
(x-disown-selection-internal, x-get-selection-internal):
Doc fix (add arglist signatures).

12 years agoSmall gdb-breakpoints fix (tiny change)
Kaushik Srenevasan [Tue, 6 Mar 2012 08:37:38 +0000 (00:37 -0800)]
Small gdb-breakpoints fix (tiny change)
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00753.html

* lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
Handle breakpoints with no "type".

12 years agoTweak previous dir-locals-find-file change
Glenn Morris [Tue, 6 Mar 2012 08:22:42 +0000 (00:22 -0800)]
Tweak previous dir-locals-find-file change

* lisp/files.el (locate-dominating-file): Add optional predicate argument.
(dir-locals-find-file): Make use of above change.

12 years agoComment.
Glenn Morris [Tue, 6 Mar 2012 03:02:44 +0000 (22:02 -0500)]
Comment.

12 years ago* lisp/info.el (Info-insert-dir): Also try "dir.gz".
Thien-Thi Nguyen [Tue, 6 Mar 2012 03:00:52 +0000 (22:00 -0500)]
* lisp/info.el (Info-insert-dir): Also try "dir.gz".
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00005.html

12 years agodir-locals-find-file tweak for "odd" .dir-locals.el (bug#10928)
Glenn Morris [Tue, 6 Mar 2012 02:50:28 +0000 (21:50 -0500)]
dir-locals-find-file tweak for "odd" .dir-locals.el (bug#10928)

* lisp/files.el (dir-locals-find-file):
Ignore non-readable or non-regular files.

12 years ago* lisp/files.el (locate-dominating-file): Doc fix.
Glenn Morris [Tue, 6 Mar 2012 02:31:32 +0000 (21:31 -0500)]
* lisp/files.el (locate-dominating-file): Doc fix.

12 years agocalendar-set-mode-line fix (tiny change)
Adam Spiers [Tue, 6 Mar 2012 02:18:29 +0000 (21:18 -0500)]
calendar-set-mode-line fix (tiny change)

* lisp/calendar/calendar.el (calendar-set-mode-line):
`getenv' returns a string.

Fixes: debbugs:10951

12 years ago* lisp/simple.el (backward-delete-char-untabify): Constrain point to
Leo Liu [Mon, 5 Mar 2012 15:53:34 +0000 (23:53 +0800)]
* lisp/simple.el (backward-delete-char-untabify): Constrain point to
field.

Fixes: debbugs:10939

12 years agoAuto-commit of generated files.
Glenn Morris [Mon, 5 Mar 2012 11:17:41 +0000 (06:17 -0500)]
Auto-commit of generated files.

12 years ago* lisp/eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
Leo Liu [Mon, 5 Mar 2012 10:44:31 +0000 (18:44 +0800)]
* lisp/eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.

12 years ago* doc/lispref/positions.texi (Text Lines): Document count-words.
Chong Yidong [Mon, 5 Mar 2012 06:12:17 +0000 (14:12 +0800)]
* doc/lispref/positions.texi (Text Lines): Document count-words.

12 years agoTweaks to count-words and count-words-region behavior.
Chong Yidong [Mon, 5 Mar 2012 06:10:11 +0000 (14:10 +0800)]
Tweaks to count-words and count-words-region behavior.
In particular, make count-words more analogous to the existing
count-lines function.

* lisp/simple.el (count-words): If called from Lisp, return the word
count, for symmetry with `count-lines'.  Arglist changed.
(count-words--message): Args changed.  Consolidate counting code
from count-words and count-words-region.
(count-words-region): Caller changed.
(count-lines-region): Make it an obsolete alias.

12 years agoetc/NEWS: Mention impact of old-style backquotes on key sequences.
Chong Yidong [Mon, 5 Mar 2012 03:13:46 +0000 (11:13 +0800)]
etc/NEWS: Mention impact of old-style backquotes on key sequences.

12 years agognus-msg.el (gnus-msg-mail): Call `message-mail' correctly when Gnus isn't running...
Thierry Volpiatto [Sun, 4 Mar 2012 22:19:10 +0000 (22:19 +0000)]
gnus-msg.el (gnus-msg-mail): Call `message-mail' correctly when Gnus isn't running (bug#10897).

12 years agoconfigure: fix ncurses 'configure' issue on Solaris 10 (Bug#10677)
Paul Eggert [Sun, 4 Mar 2012 18:07:33 +0000 (10:07 -0800)]
configure: fix ncurses 'configure' issue on Solaris 10 (Bug#10677)

* configure.in (LIBS_TERMCAP): Default this to the result of
the tputs library search.  Do a run-time test for the linkability
of tputs unless cross-compiling, as that's more reliable if the
link flags and libraries are messed up.  Don't change LIBS as
a result of the test, as that may mess up later tests.

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.