GDB change for dynamically generated code (tiny change)
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00753.html
* lisp/progmodes/gdb-mi.el (gdb-invalidate-disassembly):
For dynamically generated code, follow $PC.
(gdb-disassembly-handler-custom): Handle no function name case.
David Engster [Mon, 12 Mar 2012 20:51:17 +0000 (21:51 +0100)]
* semantic/db-find.el
(semanticdb-find-translate-path-brutish-default): If we don't yet
have a proper table for PATH, use `semanticdb-current-database'
instead (bug #10343).
Stefan Monnier [Mon, 12 Mar 2012 20:07:45 +0000 (16:07 -0400)]
* lisp/dabbrev.el: Fix cycle completion order.
(dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
(dabbrev-completion): Don't use an obarray; provide
a cycle-sort-function.
Kenichi Handa [Mon, 12 Mar 2012 07:42:02 +0000 (16:42 +0900)]
international/quail.el (quail-insert-kbd-layout): Surround each row by LRO and PDF instead of inserting many LRMs. Pad the left and right of each non-spacing marks. Insert invisible space between lower and upper characters to prevent composition.
Stefan Monnier [Mon, 12 Mar 2012 04:10:59 +0000 (00:10 -0400)]
* lisp/minibuffer.el (minibuffer-complete): Don't get confused when the
function is run twice via different commands.
(complete-with-action): Fix docstring.
Chong Yidong [Mon, 12 Mar 2012 03:58:20 +0000 (11:58 +0800)]
Adapt nXML mode to Emacs 24 completion scheme.
* lisp/nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET.
(nxml-completion-at-point-function): New function.
(nxml-mode): Use it.
(nxml-bind-meta-tab-to-complete-flag): Default to t.
* lisp/server.el (server-msg-size): New constant.
(server-reply-print): New function.
(server-eval-and-print): Use it.
(server-eval-at): Use server-quote-arg and server-unquote-arg.
Handle -print-nonl.
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.
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.
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)
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.
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.
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.
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.
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.