bpt/emacs.git
12 years ago* src/editfns.c (Fconstrain_to_field): Doc fix.
Chong Yidong [Sun, 11 Mar 2012 16:27:36 +0000 (00:27 +0800)]
* src/editfns.c (Fconstrain_to_field): Doc fix.

* doc/lispref/text.texi (Fields): Minor copyedit.

Fixes: debbugs:9452

12 years agoFurther doc fix for save-window-excursion.
Chong Yidong [Sun, 11 Mar 2012 16:16:50 +0000 (00:16 +0800)]
Further doc fix for save-window-excursion.

12 years agoDoc fixes for save-window-excursion.
Chong Yidong [Sun, 11 Mar 2012 16:10:07 +0000 (00:10 +0800)]
Doc fixes for save-window-excursion.

* lisp/subr.el (save-window-excursion): Doc fix.

* doc/lispref/windows.texi (Window Configurations): save-window-excursion is
now a macro.

* doc/lispref/display.texi (Temporary Displays): with-output-to-temp-buffer is
now a macro.

Fixes: debbugs:9979

12 years ago* dabbrev.el (dabbrev--find-expansion): Update progress reporter.
Chong Yidong [Sun, 11 Mar 2012 15:45:44 +0000 (23:45 +0800)]
* dabbrev.el (dabbrev--find-expansion): Update progress reporter.

12 years agoAllow url-http to handle expired keepalive connections.
Chong Yidong [Sun, 11 Mar 2012 15:12:26 +0000 (23:12 +0800)]
Allow url-http to handle expired keepalive connections.

* lisp/url/url-http.el (url-http-end-of-document-sentinel): Handle
keepalive expiry by calling url-http again.
(url-http): New arg, for the above.

Fixes: debbugs:10223

12 years agoIn split-window-below fix handling of split-window-keep-point (Bug#10971).
Martin Rudalics [Sun, 11 Mar 2012 13:30:30 +0000 (14:30 +0100)]
In split-window-below fix handling of split-window-keep-point (Bug#10971).

* window.el (split-window-below): Fix bug in case where
split-window-keep-point is nil (Bug#10971).

12 years ago* emacsclient.c (main): Handle multiple messages in a single
Andreas Schwab [Sun, 11 Mar 2012 11:49:59 +0000 (12:49 +0100)]
* emacsclient.c (main): Handle multiple messages in a single
datagram.

12 years agoDon't access freed memory in emacsclient
Andreas Schwab [Sun, 11 Mar 2012 11:15:25 +0000 (12:15 +0100)]
Don't access freed memory in emacsclient

* emacsclient.c (socket_name): Add const.
(get_server_config): Add parameter config_file, use it instead of
global server_file.
(set_tcp_socket): Add parameter local_server_file, pass it down to
get_server_config.
(set_local_socket): Add parameter local_socket_name, use it
instead of global socket_name.
(set_socket): Adjust calls to set_local_socket and set_tcp_socket.
Don't clobber global server_file or socket_name.
(main): No longer reset server_file or socket_name.

12 years ago* lisp/replace.el (replace-highlight): Set isearch-word to nil unconditionally.
Juri Linkov [Sun, 11 Mar 2012 10:27:53 +0000 (12:27 +0200)]
* lisp/replace.el (replace-highlight): Set isearch-word to nil unconditionally.

Fixes: debbugs:10887

12 years agoBugfix for url-http-find-free-connection.
Devon Sean McCullough [Sun, 11 Mar 2012 09:43:01 +0000 (17:43 +0800)]
Bugfix for url-http-find-free-connection.

* lisp/url/url-http.el (url-http-find-free-connection): Don't pass a nil
argument to url-http-mark-connection-as-busy.

Fixes: debbugs:10891

12 years agoAllow ^substr, substr=, ~word in mairix searches via the form widget.
Eli Zaretskii [Sat, 10 Mar 2012 14:36:42 +0000 (16:36 +0200)]
Allow ^substr, substr=, ~word in mairix searches via the form widget.

 lisp/net/mairix.el (mairix-replace-invalid-chars): Rename from
 mairix-replace-illegal-chars; all callers changed.  Don't remove
 ^, ~, and = characters: they are meaningful in mairix search
 specs.
 (mairix-widget-create-query): Add usage information about mairix
 search forms: negating words, searching for substrings, etc.

12 years agoWarn against using `length' to compute display width of a string.
Eli Zaretskii [Sat, 10 Mar 2012 09:55:54 +0000 (11:55 +0200)]
Warn against using `length' to compute display width of a string.

 doc/lispref/strings.texi (String Basics):
 doc/lispref/sequences.texi (Sequence Functions): Mention that `length' is
 not appropriate for computing the string width on display; add a
 cross-reference to the description of `string-width'.  (Bug#10978)

12 years ago* international/fontset.el (font-encoding-alist): Add an entry for ksx1001.
Jae-hyeon Park [Sat, 10 Mar 2012 09:45:06 +0000 (17:45 +0800)]
* international/fontset.el (font-encoding-alist): Add an entry for ksx1001.

Fixes: debbugs:5667

12 years agoFix the change in 2012-03-10T02:20:41Z!cyd@gnu.org, for bug #10450.
Eli Zaretskii [Sat, 10 Mar 2012 09:40:05 +0000 (11:40 +0200)]
Fix the change in 2012-03-10T02:20:41Z!cyd@gnu.org, for bug #10450.

 doc/misc/info.texi (Expert Info): Move the index entry for "Texinfo" from
 "Getting Started" to this node.

12 years agoMinor change of wording in ELisp manual's "Autoloading" node.
Eli Zaretskii [Sat, 10 Mar 2012 09:30:21 +0000 (11:30 +0200)]
Minor change of wording in ELisp manual's "Autoloading" node.

 doc/lispref/eval.texi (Autoloading): Minor change of wording.

12 years agosendmail mode quoting bug fix.
Richard M. Stallman [Sat, 10 Mar 2012 09:11:22 +0000 (04:11 -0500)]
sendmail mode quoting bug fix.

12 years agomail-utils.el: multibyte chars should be quoted.
Richard M. Stallman [Sat, 10 Mar 2012 09:02:06 +0000 (04:02 -0500)]
mail-utils.el: multibyte chars should be quoted.

12 years agormail.el: If view buffer gets lost with the real text, don't save
Richard M. Stallman [Sat, 10 Mar 2012 08:54:24 +0000 (03:54 -0500)]
rmail.el: If view buffer gets lost with the real text, don't save
the Rmail file as just one message.

12 years agoMake epa-mail-encrypt cope with read-only text.
Richard M. Stallman [Sat, 10 Mar 2012 08:43:27 +0000 (03:43 -0500)]
Make epa-mail-encrypt cope with read-only text.

12 years agoAdd delete-forward-char to CUA remappings.
Chong Yidong [Sat, 10 Mar 2012 08:26:45 +0000 (16:26 +0800)]
Add delete-forward-char to CUA remappings.

* lisp/emulation/cua-rect.el (cua--init-rectangles):
* lisp/emulation/cua-base.el (cua--init-keymaps): Add delete-forward-char to remappings.

Fixes: debbugs:9666

12 years agoFix speedbar highlighting bug.
Martin Rudalics [Sat, 10 Mar 2012 07:58:54 +0000 (15:58 +0800)]
Fix speedbar highlighting bug.

* lisp/speedbar.el (speedbar-unhighlight-one-tag-line): Avoid
unhighlighting due to frame switching.

Fixes: debbugs:10275

12 years ago* frame.c (other_visible_frames): Don't assume selected frame is visible.
Chong Yidong [Sat, 10 Mar 2012 07:46:07 +0000 (15:46 +0800)]
* frame.c (other_visible_frames): Don't assume selected frame is visible.

Fixes: debbugs:10955

12 years agoGive completion field overlays high priority.
Chong Yidong [Sat, 10 Mar 2012 07:08:51 +0000 (15:08 +0800)]
Give completion field overlays high priority.

* lisp/minibuffer.el (completion-in-region, completion-help-at-point):
Give the completion field overlay a high priority.

Fixes: debbugs:6830

12 years ago* dired.el (dired-goto-file): Recognize absolute file name listings.
Chong Yidong [Sat, 10 Mar 2012 05:20:58 +0000 (13:20 +0800)]
* dired.el (dired-goto-file): Recognize absolute file name listings.
(dired-goto-file-1): New helper function.
(dired-toggle-read-only): Inhibit warnings.

Fixes: debbugs:7126

12 years ago* doc/misc/flymake.texi: Mention the Automake COMPILE variable.
Chong Yidong [Sat, 10 Mar 2012 04:10:21 +0000 (12:10 +0800)]
* doc/misc/flymake.texi: Mention the Automake COMPILE variable.

Fixes: debbugs:8715

12 years ago* loading.texi (Autoload): Explicitly state which forms are processed specially.
Chong Yidong [Sat, 10 Mar 2012 04:00:13 +0000 (12:00 +0800)]
* loading.texi (Autoload): Explicitly state which forms are processed specially.

Fixes: debbugs:7783

12 years agoFixes for Mouse Menu node.
Chong Yidong [Sat, 10 Mar 2012 03:27:10 +0000 (11:27 +0800)]
Fixes for Mouse Menu node.

* doc/lispref/keymaps.texi (Mouse Menus): Describe non-toolkit behavior as the
non-default situation.  Describe one-submenu exception.

* doc/lispref/nonascii.texi (Character Properties): Copyedits.

Fixes: debbugs:7695

12 years ago* doc/misc/info.texi (Getting Started): Add an index entry.
Chong Yidong [Sat, 10 Mar 2012 02:20:41 +0000 (10:20 +0800)]
* doc/misc/info.texi (Getting Started): Add an index entry.

Fixes: debbugs:10450

12 years agomm-uu.el (mm-uu-forward-extract): Be more liberal when extracting forwards as MIME
David Edmondson [Sat, 10 Mar 2012 02:02:24 +0000 (02:02 +0000)]
mm-uu.el (mm-uu-forward-extract): Be more liberal when extracting forwards as MIME

12 years ago* net/dbus.el: (dbus-property-handler): Return empty array if
Michael Albinus [Fri, 9 Mar 2012 22:06:09 +0000 (23:06 +0100)]
* net/dbus.el: (dbus-property-handler): Return empty array if
there are no properties.

12 years agoStricter check for string value in savehist-printable
Leo Liu [Fri, 9 Mar 2012 18:09:46 +0000 (02:09 +0800)]
Stricter check for string value in savehist-printable

Fixes: debbugs:10937

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.