]> code.delx.au - gnu-emacs/log
gnu-emacs
12 years agomerge trunk
Kenichi Handa [Mon, 19 Mar 2012 04:17:50 +0000 (13:17 +0900)]
merge trunk

12 years agoftfont.c (ftfont_drive_otf): Mask bits of character code to make it fit in a valid...
Kenichi Handa [Mon, 19 Mar 2012 04:08:07 +0000 (13:08 +0900)]
ftfont.c (ftfont_drive_otf): Mask bits of character code to make it fit in a valid range (Bug#11003).

12 years agoFix bug #11035 with cursor positioning on overlay strings with newlines.
Eli Zaretskii [Sun, 18 Mar 2012 16:57:39 +0000 (18:57 +0200)]
Fix bug #11035 with cursor positioning on overlay strings with newlines.

 src/xdisp.c (cursor_row_p): Even if the glyph row ends in a string
 that is not from display property, accept the row as a "cursor
 row" if one of the string's character has a non-nil `cursor'
 property.  Fixes cursor positioning when there are newlines in
 overlay strings, e.g. in icomplete.el.

12 years agoCopyedits for Internals and OS chapters of Lisp manual.
Chong Yidong [Sun, 18 Mar 2012 15:02:12 +0000 (23:02 +0800)]
Copyedits for Internals and OS chapters of Lisp manual.

* doc/lispref/internals.texi (Building Emacs, Garbage Collection): Copyedits.
(Writing Emacs Primitives): Re-organize discussion of functions
with variable Lisp arguments are handled.  Delete an obsolete
remark, previously tagged as FIXME.

* doc/lispref/os.texi (Idle Timers): Minor clarification.
(Idle Timers): Link to Time of Day for description of time list.

12 years ago* faces.el (face-spec-reset-face): Don't run display-graphic-p if undefined.
Chong Yidong [Sun, 18 Mar 2012 14:18:01 +0000 (22:18 +0800)]
* faces.el (face-spec-reset-face): Don't run display-graphic-p if undefined.

12 years ago* lisp/net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with
Leo Liu [Sun, 18 Mar 2012 03:27:28 +0000 (11:27 +0800)]
* lisp/net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with
prefix.

12 years agolispref/os.texi edits
Glenn Morris [Sun, 18 Mar 2012 00:23:20 +0000 (17:23 -0700)]
lispref/os.texi edits

* doc/lispref/os.texi (System Interface): Flow control was removed.
(Startup Summary): General update.
(Init File): Don't mention compiling it.

12 years agoFix doc strings in ispell.el/.
Eli Zaretskii [Sat, 17 Mar 2012 19:46:52 +0000 (21:46 +0200)]
Fix doc strings in ispell.el/.

 lisp/textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
 (ispell-choices-win-default-height, ispell-silently-savep)
 (ispell-dictionary-alist, ispell-encoding8-command)
 (ispell-check-version, ispell-aspell-find-dictionary)
 (ispell-valid-dictionary-list, ispell-words-keyword)
 (ispell-get-word, ispell-internal-change-dictionary)
 (ispell-region, ispell-skip-region-list)
 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
 (ispell-message-text-end, ispell-message)
 (ispell-buffer-local-parsing): Doc fix.

12 years ago* htmlfontify.el: Add support for code block fontification
Jambunathan K [Sat, 17 Mar 2012 14:03:54 +0000 (22:03 +0800)]
* htmlfontify.el: Add support for code block fontification
for ODT export.
(hfy-optimisations): Define new option
`body-text-only'
(hfy-fontify-buffer): Honor above setting.
(hfy-begin-span, hfy-end-span): New routines factored out form
`hfy-fontify-buffer'.
(hfy-begin-span-handler, hfy-end-span-handler): New variables
that permit insertion of custom tags.
(hfy-fontify-buffer): Use above handlers.
(hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
(hfy-face-to-css): Re-defined to be a variable.
(hfy-compile-stylesheet): Modified.  Allow stylesheet to be built
over multiple runs. This is made possible by having the caller let
bind a special variable `hfy-user-sheet-assoc'.
(htmlfontify-string): New defun.
(hfy-compile-face-map): Make sure that the last char in the
buffer is correctly fontified.
(hfy-face-resolve-face): Whitespace only change.

Fixes: debbugs:9914
12 years agoMisc manual updates.
Chong Yidong [Sat, 17 Mar 2012 11:11:08 +0000 (19:11 +0800)]
Misc manual updates.

* doc/emacs/package.texi (Package Installation): Document use of
package-initialize in init file.

* doc/lispref/os.texi (Startup Summary): Mention package loading.
(Init File): Don't refer to .emacs in section title.  Copyedits.
(Terminal-Specific): Give a realistic example.
(Command-Line Arguments): Reference Entering Emacs instead of
repeating the spiel about not restarting Emacs.
(Time of Day): Discuss time representation at beginning of node.
(Sound Output): Copyedits.

* doc/lispref/package.texi (Packaging Basics): Document package-initialize.

12 years agoAdd an index entry for "minibuffer-only frame".
Eli Zaretskii [Sat, 17 Mar 2012 09:19:02 +0000 (11:19 +0200)]
Add an index entry for "minibuffer-only frame".

 doc/lispref/frames.texi (Initial Parameters): Add an index entry for
 minibuffer-only frame.

12 years agoImprove error message in ispell-get-decoded-string.
Eli Zaretskii [Sat, 17 Mar 2012 09:13:19 +0000 (11:13 +0200)]
Improve error message in ispell-get-decoded-string.

 lisp/textmodes/ispell.el (ispell-get-decoded-string): Make the error
 message mention the alists that need to be fixed.

12 years agoSmall fixes related to etc/HELLO
Glenn Morris [Fri, 16 Mar 2012 23:20:37 +0000 (19:20 -0400)]
Small fixes related to etc/HELLO

* doc/emacs/help.texi (Language Help):
* doc/emacs/mule.texi (International Chars):
etc/HELLO is for character demonstration.

* etc/HELLO: Say that this is not a comprehensive list.
Remove "duplicate" entry.  (Bug#11024)

12 years ago* etc/HELLO: Typo fix (bug#11027)
Glenn Morris [Fri, 16 Mar 2012 22:40:10 +0000 (18:40 -0400)]
* etc/HELLO: Typo fix (bug#11027)

12 years ago* lisp/emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
Leo Liu [Fri, 16 Mar 2012 16:36:27 +0000 (00:36 +0800)]
* lisp/emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.

12 years agoFurther optimise the handling of large macros.
Alan Mackenzie [Fri, 16 Mar 2012 14:10:54 +0000 (14:10 +0000)]
Further optimise the handling of large macros.

12 years ago* lisp/font-lock.el (lisp-font-lock-keywords-2): Add letrec.
Leo Liu [Fri, 16 Mar 2012 12:26:22 +0000 (20:26 +0800)]
* lisp/font-lock.el (lisp-font-lock-keywords-2): Add letrec.

12 years agotar-mode buffer-read-only fix
Aaron S. Hawley [Fri, 16 Mar 2012 07:21:23 +0000 (00:21 -0700)]
tar-mode buffer-read-only fix

* lisp/tar-mode.el (tar-mode): Fix saving by conditionally undoing
`special-mode' setting of `buffer-read-only'.

Fixes: debbugs:11010
12 years ago* leim/quail/indian.el (telugu-inscript): Fix typo.
Kenichi Handa [Fri, 16 Mar 2012 01:45:29 +0000 (21:45 -0400)]
* leim/quail/indian.el (telugu-inscript): Fix typo.

Fixes: debbugs:10936
12 years agoDoc fixes for view-mode and special major-modes
Glenn Morris [Fri, 16 Mar 2012 01:40:20 +0000 (21:40 -0400)]
Doc fixes for view-mode and special major-modes

Ref: http://debbugs.gnu.org/10650

* doc/lispref/modes.texi (Major Mode Conventions):
Mention the strange (IMO) relationship between View mode and special modes.

* lisp/view.el (view-buffer, view-buffer-other-window)
(view-buffer-other-frame): Doc fixes re special mode-class.

12 years agoeval-after-load fix for bug#10946
Glenn Morris [Fri, 16 Mar 2012 01:27:23 +0000 (21:27 -0400)]
eval-after-load fix for bug#10946

* lisp/subr.el (eval-after-load): If named feature is provided not
from a file, run after-load forms.

12 years agocalendar-insert-at-column small fix for bug#10978
Glenn Morris [Fri, 16 Mar 2012 01:10:46 +0000 (21:10 -0400)]
calendar-insert-at-column small fix for bug#10978

* lisp/calendar/calendar.el (calendar-insert-at-column):
Handle non-unit-width characters a bit better.

12 years agoNEWS
Glenn Morris [Fri, 16 Mar 2012 00:57:00 +0000 (20:57 -0400)]
NEWS

12 years ago* doc/emacs/dired.texi (Shell Commands in Dired): Fix typo.
Dani Moncayo [Thu, 15 Mar 2012 08:33:42 +0000 (16:33 +0800)]
* doc/emacs/dired.texi (Shell Commands in Dired): Fix typo.

12 years agoFix ring extension code in ring.el, and tweak comint-input-ring handling.
Chong Yidong [Thu, 15 Mar 2012 08:00:43 +0000 (16:00 +0800)]
Fix ring extension code in ring.el, and tweak comint-input-ring handling.

* lisp/emacs-lisp/ring.el (ring-extend): New function.
(ring-insert+extend): Extend the ring correctly.

* lisp/comint.el (comint-read-input-ring)
(comint-add-to-input-history): Grow comint-input-ring lazily.

Fixes: debbugs:11019
12 years ago* lisp/progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
Stefan Monnier [Thu, 15 Mar 2012 03:09:26 +0000 (23:09 -0400)]
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
Fix up parsing of multiline twoarg non-paired elements.

Fixes: debbugs:11014
12 years ago* lisp/imenu.el: Fix multiple inheritance breakage.
Stefan Monnier [Thu, 15 Mar 2012 01:38:40 +0000 (21:38 -0400)]
* lisp/imenu.el: Fix multiple inheritance breakage.
(imenu-add-to-menubar): Don't add a redundant index.
(imenu-update-menubar): Handle a dynamically composed keymap.

Fixes: debbugs:9199
12 years agoMerge changes made in No Gnus
Lars Magne Ingebrigtsen [Wed, 14 Mar 2012 22:15:04 +0000 (22:15 +0000)]
Merge changes made in No Gnus

12 years agoAlways call the callback when timing out url-queue jobs
Lars Magne Ingebrigtsen [Wed, 14 Mar 2012 02:44:09 +0000 (03:44 +0100)]
Always call the callback when timing out url-queue jobs

* url-queue.el (url-queue-kill-job): Make sure that the callback
is always called, even if we have a timeout.

12 years agomail/sendmail.el (mail-encode-header): Bind rfc2047-encode-encoded-words to nil.
Katsumi Yamaoka [Tue, 13 Mar 2012 23:27:56 +0000 (23:27 +0000)]
mail/sendmail.el (mail-encode-header): Bind rfc2047-encode-encoded-words to nil.

12 years agoSmall calendar-string-spread fix for bug#10978
Glenn Morris [Tue, 13 Mar 2012 17:56:31 +0000 (13:56 -0400)]
Small calendar-string-spread fix for bug#10978

* lisp/calendar/calendar.el (calendar-string-spread):
Handle non-unit-width characters a bit better.

12 years agoAdjust NEWS entry for recent change
Glenn Morris [Tue, 13 Mar 2012 16:15:51 +0000 (09:15 -0700)]
Adjust NEWS entry for recent change

12 years ago* lisp/vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
Leo Liu [Tue, 13 Mar 2012 10:40:29 +0000 (18:40 +0800)]
* lisp/vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
directory and file as argument.

Fixes: debbugs:10822
12 years agoMention bulgarian-alt-phonetic in NEWS
Glenn Morris [Tue, 13 Mar 2012 07:22:12 +0000 (00:22 -0700)]
Mention bulgarian-alt-phonetic in NEWS

12 years ago* cyrillic.el (bulgarian-alt-phonetic): New input method. (tiny change)
Йордан Миладинов [Tue, 13 Mar 2012 07:21:15 +0000 (00:21 -0700)]
* cyrillic.el (bulgarian-alt-phonetic): New input method.  (tiny change)

Fixes: debbugs:10893
12 years agoGDB change for dynamically generated code (tiny change)
Kaushik Srenevasan [Tue, 13 Mar 2012 07:07:10 +0000 (00:07 -0700)]
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.

Fixes: debbugs:10597
12 years agoFix some missing trailing whitespace (tiny change)
Tim Landscheidt [Tue, 13 Mar 2012 06:54:37 +0000 (23:54 -0700)]
Fix some missing trailing whitespace (tiny change)

* lisp/calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
* lisp/emulation/ws-mode.el (ws-query-replace):
* lisp/sort.el (sort-regexp-fields):
Fix missing trailing whitespace in interactive prompts.

Fixes: debbugs:11002
12 years agoSpelling fixes.
Paul Eggert [Mon, 12 Mar 2012 22:35:55 +0000 (15:35 -0700)]
Spelling fixes.

12 years ago* semantic/db-find.el
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).

12 years ago* lisp/dabbrev.el: Fix cycle completion order.
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.

Fixes: debbugs:10963
12 years ago* lisp/simple.el (kill-new): Use equal-including-properties for
Leo Liu [Mon, 12 Mar 2012 18:21:35 +0000 (02:21 +0800)]
* lisp/simple.el (kill-new): Use equal-including-properties for
comparison.
(kill-do-not-save-duplicates): Doc fix.

12 years ago* lisp/dabbrev.el: Fix cycle completion.
Stefan Monnier [Mon, 12 Mar 2012 13:03:10 +0000 (09:03 -0400)]
* lisp/dabbrev.el: Fix cycle completion.
Use lexical binding and wrap to 80 columns.
(dabbrev-completion): Delay computing the list of completions.

Fixes: debbugs:10963
12 years agognus-int.el (gnus-backend-trace): Flip default to nil before Emacs 24.1 release.
Lars Magne Ingebrigtsen [Mon, 12 Mar 2012 11:48:55 +0000 (11:48 +0000)]
gnus-int.el (gnus-backend-trace): Flip default to nil before Emacs 24.1 release.

12 years agoetc/PROBLEMS: Document keyboard ghosting with M-| (Bug#10740).
Chong Yidong [Mon, 12 Mar 2012 09:55:35 +0000 (17:55 +0800)]
etc/PROBLEMS: Document keyboard ghosting with M-| (Bug#10740).

12 years ago* buffer.c (compare_overlays): Don't assume args differ (Bug#6830).
Paul Eggert [Mon, 12 Mar 2012 08:27:25 +0000 (01:27 -0700)]
* buffer.c (compare_overlays): Don't assume args differ (Bug#6830).

12 years agointernational/quail.el (quail-insert-kbd-layout): Surround each row by LRO and PDF...
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.

12 years agoRename inhibit_window_configuration_change_hook to inhibit_lisp_code.
Chong Yidong [Mon, 12 Mar 2012 06:34:32 +0000 (14:34 +0800)]
Rename inhibit_window_configuration_change_hook to inhibit_lisp_code.
This is a tweak to 2012-02-23T07:28:21Z!cyd@gnu.org, suggested by Stefan.

* eval.c (inhibit_lisp_code): Rename from
inhibit_window_configuration_change_hook; move from window.c.

* xfns.c (unwind_create_frame_1, Fx_create_frame):
* window.c (run_window_configuration_change_hook)
(syms_of_window): Callers changed.

12 years ago* lisp/minibuffer.el (minibuffer-complete): Don't get confused when the
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.

Fixes: debbugs:10958
12 years agoAdapt nXML mode to Emacs 24 completion scheme.
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.

Fixes: debbugs:6776
12 years agoLoad a package's generated autoloads file before byte compiling it.
Chong Yidong [Mon, 12 Mar 2012 03:03:16 +0000 (11:03 +0800)]
Load a package's generated autoloads file before byte compiling it.

* lisp/emacs-lisp/package.el (package-unpack, package-unpack-single):
Load generated autoloads file before byte compiling.
(package--make-autoloads-and-compile): New helper fun.

Fixes: debbugs:10970
12 years ago* ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
Christopher Schmidt [Mon, 12 Mar 2012 02:41:22 +0000 (10:41 +0800)]
* ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.

12 years ago* semantic/wisent/javascript.el (js-mode): Define `js-mode' as
David Engster [Sun, 11 Mar 2012 20:29:14 +0000 (21:29 +0100)]
* semantic/wisent/javascript.el (js-mode): Define `js-mode' as
  child-mode of `javascript-mode' (bug #8445).

12 years agoFix previous patch.
Michael Albinus [Sun, 11 Mar 2012 18:02:48 +0000 (19:02 +0100)]
Fix previous patch.

12 years ago* autorevert.el (auto-revert-handler): Ensure, that
Michael Albinus [Sun, 11 Mar 2012 17:58:16 +0000 (18:58 +0100)]
* autorevert.el (auto-revert-handler): Ensure, that
file-readable-p is applied only for local files or in
auto-revert-tail-mode.

12 years ago* server.el (server-eval-at): Handle non-tcp connections. Decode
Andreas Schwab [Sun, 11 Mar 2012 17:54:16 +0000 (18:54 +0100)]
* server.el (server-eval-at): Handle non-tcp connections.  Decode
result string.

12 years agoDefine -print-nonl client command
Andreas Schwab [Sun, 11 Mar 2012 17:53:07 +0000 (18:53 +0100)]
Define -print-nonl client command

* lib-src/emacsclient.c (main): Handle -print-nonl command.

* 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.

12 years ago* ibuffer.el (ibuffer-redisplay): Remove gratuitous error.
Christopher Schmidt [Sun, 11 Mar 2012 17:31:44 +0000 (01:31 +0800)]
* ibuffer.el (ibuffer-redisplay): Remove gratuitous error.

Fixes: debbugs:10987
12 years ago* keymap.c (Fkey_description): Doc fix.
Chong Yidong [Sun, 11 Mar 2012 17:08:10 +0000 (01:08 +0800)]
* keymap.c (Fkey_description): Doc fix.

Fixes: debbugs:9700
12 years ago* simple.el (goto-line): Doc fix.
Chong Yidong [Sun, 11 Mar 2012 16:57:04 +0000 (00:57 +0800)]
* simple.el (goto-line): Doc fix.

Fixes: debbugs:9938
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.