Glenn Morris [Tue, 1 May 2012 00:56:47 +0000 (20:56 -0400)]
* configure.in: Combine adjacent $opsys case blocks.
Glenn Morris [Tue, 1 May 2012 00:50:55 +0000 (20:50 -0400)]
* configure.in (LIBS_TERMCAP): Remove unreachable branch for sol2.
Glenn Morris [Tue, 1 May 2012 00:46:02 +0000 (20:46 -0400)]
* configure.in: Invert the TERMINFO logic
(since "yes" is far more common than "no")
Glenn Morris [Tue, 1 May 2012 00:34:56 +0000 (20:34 -0400)]
Update comment in configure.in
Glenn Morris [Tue, 1 May 2012 00:30:11 +0000 (20:30 -0400)]
Remove HAVE_LIBNCURSES; it is required to be true
Also, it was a confusing name, since it does not necessarily mean that
we literally have libncurses; rather that we have tputs etc.
* configure.in (HAVE_LIBNCURSES): Remove; it is required to be true.
* src/dispnew.c: Remove HAVE_LIBNCURSES test;
it is always true on relevant platforms.
* nt/config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
Stefan Monnier [Tue, 1 May 2012 00:21:23 +0000 (20:21 -0400)]
* lisp/minibuffer.el (completion-table-with-quoting): Fix compatibility
all-completions code to not return a number in the last cdr.
Glenn Morris [Tue, 1 May 2012 00:16:02 +0000 (20:16 -0400)]
Rename autoconf output variable LD_SWITCH_X_SITE_AUX_RPATH
* configure.in (LD_SWITCH_X_SITE_RPATH):
Rename from LD_SWITCH_X_SITE_AUX_RPATH.
* src/Makefile.in (LD_SWITCH_X_SITE_RPATH):
Rename from LD_SWITCH_X_SITE_AUX_RPATH.
Glenn Morris [Tue, 1 May 2012 00:12:02 +0000 (20:12 -0400)]
Remove LD_SWITCH_X_SITE_AUX, which is no longer used
* configure.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used.
* src/Makefile.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used.
Andreas Schwab [Tue, 1 May 2012 00:07:23 +0000 (02:07 +0200)]
* .gdbinit (xpr): Remove checks for no longer existing misc types.
(xintfwd, xboolfwd, xobjfwd, xbufobjfwd, xkbobjfwd, xbuflocal):
Remove.
Leo Liu [Mon, 30 Apr 2012 11:57:47 +0000 (19:57 +0800)]
* lisp/ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
read-only error.
Andreas Schwab [Sun, 29 Apr 2012 20:05:44 +0000 (22:05 +0200)]
Fixes: debbugs:11380
* make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
byte-code forms.
Chong Yidong [Sun, 29 Apr 2012 01:48:23 +0000 (09:48 +0800)]
Fix Follow mode's calculation of window ends.
* lisp/follow.el (follow-calc-win-end): Rewrite to handle partial
screen lines correctly.
(follow-avoid-tail-recenter): Minor cleanup.
Fixes: debbugs:8390
Paul Eggert [Sat, 28 Apr 2012 22:17:27 +0000 (15:17 -0700)]
Do not avoid creating empty evaporating overlays (Bug#9642).
* buffer.c (Fmove_overlay): Revert the change of 2012-04-23.
That is, do not delete an evaporating overlay if it becomes
empty after its bounds are adjusted to fit within its buffer.
This fix caused other problems, and I'm reverting it until we get
to the bottom of them.
Stefan Monnier [Sat, 28 Apr 2012 21:59:08 +0000 (17:59 -0400)]
Avoid the obsolete `assoc' package.
* lisp/speedbar.el (speedbar-refresh): Avoid adelete.
(speedbar-file-lists): Simplify and avoid aput.
* lisp/man.el (Man--sections, Man--refpages): New vars, replacing
Man-sections-alist and Man-refpages-alist.
(Man-build-section-alist, Man-build-references-alist):
Use them; avoid aput.
(Man--last-section, Man--last-refpage): New vars.
(Man-follow-manual-reference): Use them.
Use the `default' arg of completing-read.
(Man-goto-section): Idem. Move prompt to the `interactive' spec.
* lisp/gnus/auth-source.el (auth-source--aput-1, auth-source--aput)
(auth-source--aget): New functions and macros.
Use them instead of aput/aget.
Stefan Monnier [Sat, 28 Apr 2012 20:04:34 +0000 (16:04 -0400)]
Add some shell indentation test cases.
* test/indent/shell.sh:
* test/indent/shell.rc: Add some test cases.
Chong Yidong [Fri, 27 Apr 2012 14:16:02 +0000 (22:16 +0800)]
* lisp/vc/diff.el (diff-sentinel): Go to bob.
Fixes: debbugs:10259
Glenn Morris [Fri, 27 Apr 2012 06:21:10 +0000 (23:21 -0700)]
Fix org-ctags.el change from trunk 2012-04-09T13:05:48Z!cyd@gnu.org
* lisp/org/org-ctags.el (org-ctags-new-topic-template):
Revert 2012-04-09 removal of * from defcustom value, not doc.
Glenn Morris [Fri, 27 Apr 2012 06:08:14 +0000 (23:08 -0700)]
Fix dates of some merged ChangeLog entries
Chong Yidong [Fri, 27 Apr 2012 05:40:46 +0000 (13:40 +0800)]
Fix application of menu-bar-mode etc. by X resources.
* lisp/startup.el (x-apply-session-resources): New function.
* lisp/term/ns-win.el (ns-initialize-window-system):
* lisp/term/w32-win.el (w32-initialize-window-system):
* lisp/term/x-win.el (x-initialize-window-system): Use it to properly
set menu-bar-mode and other vars from X resources, even if the initial
frame is not a window-system frame (Bug#2299).
Chong Yidong [Fri, 27 Apr 2012 03:10:38 +0000 (11:10 +0800)]
Merge changes from emacs-24 branch
Chong Yidong [Fri, 27 Apr 2012 02:48:38 +0000 (10:48 +0800)]
Fix missing prefix warning in pascal.el.
* progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
fix "missing prefix" warning. All callers changed.
Chong Yidong [Fri, 27 Apr 2012 02:24:38 +0000 (10:24 +0800)]
Fix for tool-bar confusion in read-key.
* lisp/subr.el (read-key): Avoid running filter function when setting
up temporary tool bar entries.
Fixes: debbugs:9922
Chong Yidong [Fri, 27 Apr 2012 02:15:51 +0000 (10:15 +0800)]
Add NEWS entry pointing to ORG-NEWS.
Delete non-Emacs-24 specific items from ORG-NEWS (since standalone Org
mode has its own NEWS, these are not necessary).
Stefan Monnier [Fri, 27 Apr 2012 00:30:56 +0000 (20:30 -0400)]
* emacs-lisp/assoc.el: Move to obsolete/.
Glenn Morris [Fri, 27 Apr 2012 00:23:54 +0000 (20:23 -0400)]
Fix previous change
Glenn Morris [Fri, 27 Apr 2012 00:20:02 +0000 (20:20 -0400)]
* doc/emacs/emacs.texi: Some fixes for detailed menu.
Daiki Ueno [Thu, 26 Apr 2012 22:07:59 +0000 (22:07 +0000)]
lisp/gnus/plstore.el: Fix buildbot failure with XEmacs
Bastien Guerry [Thu, 26 Apr 2012 20:46:10 +0000 (22:46 +0200)]
org-ctags.el (org-ctags-new-topic-template): Fix the option default value back again.
This option was changed by error in this commit:
http://git.savannah.gnu.org/cgit/emacs.git/diff/lisp/org/org-protocol.el?h=emacs-24&id=
0fc749f9
I first overwrote this change by error, then backported it
into Org git repo, then backported the error back into Emacs.
This is now fixed.
Glenn Morris [Thu, 26 Apr 2012 18:57:49 +0000 (14:57 -0400)]
ChangeLog fix
Stefan Monnier [Thu, 26 Apr 2012 18:21:03 +0000 (14:21 -0400)]
* lisp/emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue.
Fixes: debbugs:11352
Glenn Morris [Thu, 26 Apr 2012 18:10:02 +0000 (14:10 -0400)]
ChangeLog fix
Glenn Morris [Thu, 26 Apr 2012 17:56:38 +0000 (13:56 -0400)]
Some menu fixes for doc/lispref
* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
Some fixes for detailed menu.
* doc/lispref/modes.texi (Major Modes, Auto-Indentation):
* doc/lispref/buffers.texi (Buffers): Some fixes for menu descriptions.
Bastien Guerry [Thu, 26 Apr 2012 17:30:04 +0000 (19:30 +0200)]
Sync with Org git commit
374c56b.
Bastien Guerry [Thu, 26 Apr 2012 17:02:36 +0000 (19:02 +0200)]
etc/ORG-NEWS: New file documenting changes between Org 6.34 and current one.
Bastien Guerry [Thu, 26 Apr 2012 16:57:34 +0000 (18:57 +0200)]
lisp/org/ChangeLog: remove references to files that are not in the directory.
Stefan Monnier [Thu, 26 Apr 2012 12:43:28 +0000 (08:43 -0400)]
Replace lexical-let by lexical-binding (except Gnus, CEDET, ERT).
* lisp/term/ns-win.el (ns-define-service):
* lisp/progmodes/pascal.el (pascal-goto-defun):
* lisp/progmodes/js.el (js--read-tab):
* lisp/progmodes/etags.el (tags-lazy-completion-table):
* lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
* lisp/emacs-lisp/ewoc.el (ewoc--wrap):
* lisp/emacs-lisp/assoc.el (aput, adelete, amake):
* lisp/doc-view.el (doc-view-convert-current-doc):
* lisp/url/url.el (url-retrieve-synchronously):
* lisp/vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
Eli Zaretskii [Thu, 26 Apr 2012 10:49:29 +0000 (13:49 +0300)]
Allow word wrap together with whitespace-mode (bug #11341)
src/xdisp.c (IT_DISPLAYING_WHITESPACE): In addition to the loaded
display element, check also the underlying string or buffer
character.
Eli Zaretskii [Thu, 26 Apr 2012 10:07:35 +0000 (13:07 +0300)]
Don't disable Unicode menus on Windows NT and later due to random errors.
src/w32menu.c: Include w32heap.h.
(add_menu_item): If the call to AppendMenuW (via
unicode_append_menu) fails, disable Unicode menus only if we are
running on Windows 9X/Me.
Andreas Schwab [Thu, 26 Apr 2012 09:27:37 +0000 (11:27 +0200)]
Fixes: debbugs:11344
* vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
Chong Yidong [Thu, 26 Apr 2012 08:43:20 +0000 (16:43 +0800)]
* image.el (image-type-from-buffer): Only return supported image type.
Fixes: debbugs:9045
Chong Yidong [Thu, 26 Apr 2012 08:00:47 +0000 (16:00 +0800)]
Fixes for diff-hunk-kill.
* lisp/vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
value, for symmetry with diff-end-of-hunk.
(diff-split-hunk, diff-find-source-location)
(diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
(diff-bounds-of-hunk, diff-bounds-of-file): New functions.
(diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
compute the relevant hunk or file properly.
(diff-file-junk-re): Add bzr's "modified file" tag.
Fixes: debbugs:6041 debbugs:6005
Chong Yidong [Thu, 26 Apr 2012 03:43:32 +0000 (11:43 +0800)]
Allow undoing in read-only diff-mode buffers.
* lisp/vc/diff-mode.el (diff-undo): New command.
(diff-mode-shared-map): Bind it to / and [remap undo].
Fixes: debbugs:5302
Stefan Monnier [Thu, 26 Apr 2012 03:18:47 +0000 (23:18 -0400)]
* lisp/vc/vc-mtn.el:
* lisp/vc/vc-hg.el:
* lisp/vc/vc-git.el:
* lisp/vc/vc-dir.el:
* lisp/vc/vc-cvs.el:
* lisp/vc/vc-bzr.el:
* lisp/vc/vc-arch.el:
* lisp/vc/vc.el: Replace lexical-let by lexical-binding.
* lisp/minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
* lisp/emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
* lisp/emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
Stefan Monnier [Thu, 26 Apr 2012 03:06:36 +0000 (23:06 -0400)]
Deprecate the ((lambda ...) ...) form.
* doc/lispref/functions.texi (Simple Lambda, Argument List):
* doc/lispref/eval.texi (Function Indirection): Avoid deprecated form.
Chong Yidong [Thu, 26 Apr 2012 03:04:36 +0000 (11:04 +0800)]
Adapt ediff window handling to multi-tty.
* vc/ediff-init.el: Always define ediff-pixel-width/height.
* vc/ediff-wind.el (ediff-setup-windows-default): New function.
(ediff-window-setup-function): Use it as the default, to set up
windows based on whether the current frame is graphical.
(ediff-choose-window-setup-function-automatically): Make obsolete.
Fixes: debbugs:2138
Daiki Ueno [Thu, 26 Apr 2012 02:03:19 +0000 (11:03 +0900)]
Revive plstore editing mode previously reverted due to feature freeze.
Glenn Morris [Thu, 26 Apr 2012 01:51:41 +0000 (18:51 -0700)]
* doc/lispref/elisp-covers.texi: Remove file.
Nothing includes or refers to it, and it has not been updated since Emacs 19.
Glenn Morris [Thu, 26 Apr 2012 01:49:03 +0000 (18:49 -0700)]
* doc/lispref/front-cover-1.texi: Remove file.
Nothing includes or refers to it, and it has not been updated since Emacs 19.
Glenn Morris [Thu, 26 Apr 2012 01:47:05 +0000 (18:47 -0700)]
Remove doc/lispref/tindex.pl
I think it is not needed any more.
* doc/lispref/tindex.pl: Remove file.
* make-dist: No more doc/lispref/tindex.pl.
Glenn Morris [Thu, 26 Apr 2012 01:08:03 +0000 (21:08 -0400)]
* doc/lispref/Makefile.in (srcs): Remove back.texi (which is unused).
* doc/lispref/makefile.w32-in (srcs): Same.
Glenn Morris [Thu, 26 Apr 2012 00:48:08 +0000 (20:48 -0400)]
Add "et al." to authors for emacs and elisp manuals.
This seems only fair, since there have been a large number of
contributors since the original ones.
* doc/emacs/emacs.texi:
* doc/lispref/book-spine.texi, doc/lispref/elisp.texi, doc/lispref/vol1.texi:
* doc/lispref/vol2.texi:
Add "et al." to authors.
Glenn Morris [Thu, 26 Apr 2012 00:31:47 +0000 (20:31 -0400)]
Use Texinfo recommended convention for quotes+punctuation.
Stefan Monnier [Wed, 25 Apr 2012 19:00:18 +0000 (15:00 -0400)]
Add support for completion of quoted/escaped data.
Stefan Monnier [Wed, 25 Apr 2012 18:57:09 +0000 (14:57 -0400)]
Remove unnecessary use of minibuffer-completing-file-name.
* lisp/ffap.el: Remove old code for obsolete package.
(ffap-complete-as-file-p): Remove.
* lisp/mh-e/mh-utils.el (minibuffer-completing-file-name): Don't declare.
Stefan Monnier [Wed, 25 Apr 2012 18:53:57 +0000 (14:53 -0400)]
Use completion-table-with-quoting for comint and pcomplete.
* lisp/comint.el (comint--unquote&requote-argument)
(comint--unquote-argument, comint--requote-argument): New functions.
(comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
(comint-quote-filename): Use regexp-opt-charset.
(comint--common-suffix, comint--common-quoted-suffix)
(comint--table-subvert): Remove.
(comint-unquote-function, comint-requote-function): New vars.
(comint--complete-file-name-data): Use them with
completion-table-with-quoting.
* lisp/pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
* lisp/pcomplete.el (pcomplete-arg-quote-list)
(pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
(pcomplete-unquote-argument-function): Default to non-nil.
(pcomplete-unquote-argument): Simplify.
(pcomplete--common-quoted-suffix): Remove.
(pcomplete-requote-argument-function): New var.
(pcomplete--common-suffix): New function.
(pcomplete-completions-at-point): Use completion-table-with-quoting
and completion-table-subvert.
Stefan Monnier [Wed, 25 Apr 2012 18:42:15 +0000 (14:42 -0400)]
* lisp/minibuffer.el: Use completion-table-with-quoting for read-file-name.
(minibuffer--double-dollars): Preserve properties.
(completion--sifn-requote): New function.
(completion--file-name-table): Rewrite using it and c-t-with-quoting.
Stefan Monnier [Wed, 25 Apr 2012 18:40:42 +0000 (14:40 -0400)]
* lisp/minibuffer.el: Add support for completion of quoted/escaped data.
(completion-table-with-quoting, completion-table-subvert): New funs.
(completion--twq-try, completion--twq-all): New functions.
(completion--nth-completion): New function.
(completion-try-completion, completion-all-completions): Use it.
Leo Liu [Wed, 25 Apr 2012 16:46:01 +0000 (00:46 +0800)]
* lisp/progmodes/python.el (python-pdbtrack-get-source-buffer): Use
compilation-message if available to find real filename.
Leo Liu [Wed, 25 Apr 2012 15:23:19 +0000 (23:23 +0800)]
* progmodes/python.el (python-send-region): Add suffix .py
Chong Yidong [Wed, 25 Apr 2012 15:06:51 +0000 (23:06 +0800)]
Fix whitespace highlighting of context diffs.
* lisp/vc/diff-mode.el (diff-setup-whitespace): New function.
(diff-mode): Use it.
* lisp/vc/diff.el (diff-sentinel):
* lisp/vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
Whitespace mode variables based on diff style.
Fixes: debbugs:8612
Leo Liu [Wed, 25 Apr 2012 14:47:33 +0000 (22:47 +0800)]
* lisp/files.el (auto-mode-alist): Use javascript-mode instead.
Alex Harsanyi [Wed, 25 Apr 2012 10:28:29 +0000 (12:28 +0200)]
Sync with soap-client repository. Support SOAP simpleType. (Bug#10331)
* soap-client.el (soap-resolve-references-for-sequence-type)
(soap-resolve-references-for-array-type): hack to prevent self
references, see Bug#9.
(soap-parse-envelope): report the contents of the 'detail' node
when receiving a fault reply.
(soap-parse-envelope): report the contents of the entire 'detail' node.
* soap-inspect.el (soap-sample-value-for-simple-type)
(soap-inspect-simple-type): new function
* soap-client.el (soap-simple-type): new struct
(soap-default-xsd-types, soap-default-soapenc-types)
(soap-decode-basic-type, soap-encode-basic-type): support
unsignedInt and double basic types
(soap-resolve-references-for-simple-type)
(soap-parse-simple-type, soap-encode-simple-type): new function
(soap-parse-schema): parse xsd:simpleType declarations
* soap-client.el (soap-default-xsd-types)
(soap-default-soapenc-types): add integer, byte and anyURI types
(soap-parse-complex-type-complex-content): use `soap-wk2l' to find
the local name of "soapenc:Array"
(soap-decode-basic-type, soap-encode-basic-type): support encoding
decoding integer, byte and anyURI xsd types.
Chong Yidong [Wed, 25 Apr 2012 08:38:11 +0000 (16:38 +0800)]
* cus-edit.el (custom-buffer-create-internal): Update header text.
Eli Zaretskii [Wed, 25 Apr 2012 08:30:59 +0000 (11:30 +0300)]
Better indexing of "base direction" of paragraphs in the user manual.
doc/emacs/mule.texi (Bidirectional Editing): Improve indexing. Minor
wording tweaks.
Eli Zaretskii [Wed, 25 Apr 2012 08:07:57 +0000 (11:07 +0300)]
Force interactive-mode in GDB on MS-Windows.
lisp/progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
settings on 'system-type', not on 'window-system'. On MS-Windows,
set interactive-mode on in GDB.
Michael Albinus [Tue, 24 Apr 2012 21:52:37 +0000 (23:52 +0200)]
Add `notifications-get-capabilities' of notifications.el.
Michael Albinus [Tue, 24 Apr 2012 21:47:24 +0000 (23:47 +0200)]
* notifications.el (top): Remove unneeded declarations.
Michael Albinus [Tue, 24 Apr 2012 21:44:12 +0000 (23:44 +0200)]
* notifications.el (notifications-get-capabilities): Fix docstring.
Andreas Schwab [Tue, 24 Apr 2012 19:05:25 +0000 (21:05 +0200)]
* .gdbinit (xpr): Handle USE_2_TAGS_FOR_INTS.
(xgetint): Add missing shift for LSB tags.
Michael Albinus [Tue, 24 Apr 2012 17:56:30 +0000 (19:56 +0200)]
* notifications.el (notifications-specification-version): Change to "1.2".
(notifications-notify): Add :action-items, :resident and
:transient hints. Change "image_data" to "image-data" and
"image_path" to "image-path".
(notifications-get-capabilities): Return a list of keywords.
* os.texi (Notifications): Extend possible notification hints.
Stefan Monnier [Tue, 24 Apr 2012 17:08:55 +0000 (13:08 -0400)]
* ruby-mode.el: Handle general delimited literals.
Fixes: debbugs:6286
Stefan Monnier [Tue, 24 Apr 2012 17:06:12 +0000 (13:06 -0400)]
* lisp/progmodes/ruby-mode.el: Simplify last change, and cleanup code.
(ruby-syntax-propertize-regexp): Remove.
(ruby-syntax-propertize-function): Split regexp into chunks.
Match following code directly.
* test/indent/ruby.rb: New file, to test new syntax-propertize code.
Dmitry Gutov [Tue, 24 Apr 2012 16:00:08 +0000 (12:00 -0400)]
* lisp/progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
(ruby-syntax-propertize-regexp): New function.
(ruby-syntax-propertize-function): Use it to handle regexp not preceded
by a special keyword.
Dmitry Gutov [Tue, 24 Apr 2012 15:51:14 +0000 (11:51 -0400)]
* lisp/progmodes/ruby-mode.el: Handle general delimited literals.
(ruby-syntax-general-delimiters-goto-beg)
(ruby-syntax-propertize-general-delimiters): New functions.
(ruby-syntax-propertize-function): Use them to handle GDL.
(ruby-font-lock-keywords): Move old handling of GDL...
(ruby-font-lock-syntactic-keywords): .. to here.
(ruby-calculate-indent): Adjust indentation for GDL.
Fixes: debbugs:6286
Michael Albinus [Tue, 24 Apr 2012 15:19:07 +0000 (17:19 +0200)]
* notifications.el (notifications-interface)
(notifications-notify-method, notifications-notify)
(notifications-close-notification-method): Fix docstring.
(notifications-get-capabilities-method): New defconst.
(notifications-get-capabilities): New defun.
* os.texi: (Notifications): Add notifications-get-capabilities.
Leo Liu [Tue, 24 Apr 2012 14:58:29 +0000 (22:58 +0800)]
* lisp/progmodes/python.el: Move hideshow setup to the end.
Martin Rudalics [Tue, 24 Apr 2012 08:56:31 +0000 (10:56 +0200)]
Don't clear echo area prematurely when handling select window events (Bug#11304).
* keyboard.c (read_char): Don't wipe echo area for select window
events: These might get delayed via `mouse-autoselect-window'
(Bug#11304).
* window.el (handle-select-window): Clear echo area since this is
no more done by read_char (Bug#11304).
Juanma Barranquero [Tue, 24 Apr 2012 08:35:02 +0000 (10:35 +0200)]
src/gnutls.c: Fix previous change.
(init_gnutls_functions): Protect against (unlikely) manipulation
of :loaded-from data.
Michael Albinus [Tue, 24 Apr 2012 07:09:27 +0000 (09:09 +0200)]
Obsoleted argument list of `dbus-register-signal'.
Chong Yidong [Tue, 24 Apr 2012 05:34:50 +0000 (13:34 +0800)]
Ensure that X selection convertors properly encode returned strings.
Though not itself a regression, this bug was exposed by the support
for MULTIPLE selections, which is new to Emacs 24 (see Bug#11315).
* lisp/select.el (xselect--encode-string): New function, split from
xselect-convert-to-string.
(xselect-convert-to-string): Use it.
(xselect-convert-to-filename, xselect-convert-to-os)
(xselect-convert-to-host, xselect-convert-to-user): Ensure that
returned strings are properly encoded.
Stefan Monnier [Tue, 24 Apr 2012 03:40:57 +0000 (23:40 -0400)]
* lisp/ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
and `/ M' to filter-derived-mode.
* lisp/ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
(ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
(ibuffer-mark-by-mode): Use default rather than initial-input.
(ibuffer-filter-by-derived-mode): Autoload and require-match.
Chong Yidong [Tue, 24 Apr 2012 02:58:26 +0000 (10:58 +0800)]
* src/xselect.c (x_convert_selection): Initialize a pointer.
Fixes: debbugs:11315
Ivan Andrus [Tue, 24 Apr 2012 02:07:40 +0000 (22:07 -0400)]
* lisp/ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
(ibuffer-filter-by-derived-mode): New filter.
* lisp/ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
Juanma Barranquero [Mon, 23 Apr 2012 23:15:08 +0000 (01:15 +0200)]
src/gnutls.c (init_gnutls_functions): Fix bug#11311.
The value of :loaded-from is now a cons.
Paul Eggert [Mon, 23 Apr 2012 22:46:35 +0000 (15:46 -0700)]
Do not create empty overlays with the evaporate property (Bug#9642).
* buffer.c (Fmove_overlay): Delete an evaporating overlay
if it becomes empty after its bounds are adjusted to fit within
its buffer. Without this fix, in a nonempty buffer (let ((o
(make-overlay 1 2))) (overlay-put o 'evaporate t) (move-overlay o 0 1))
yields an empty overlay that has the evaporate property, which is
not supposed to happen.
Eli Zaretskii [Mon, 23 Apr 2012 16:22:23 +0000 (19:22 +0300)]
Avoid assertion violation when scrolling minibuffer windows.
src/xdisp.c (pos_visible_p): If the window start position is beyond
ZV, start the display from buffer beginning. Prevents assertion
violation in init_iterator when the minibuffer window is scrolled
via the scroll bar.
src/window.c (window_scroll_pixel_based): Likewise.
Chong Yidong [Mon, 23 Apr 2012 15:48:22 +0000 (23:48 +0800)]
* subr.el (accept-change-group): Fix arg usage.
Fixes: debbugs:6095
Chong Yidong [Mon, 23 Apr 2012 15:38:48 +0000 (23:38 +0800)]
Use proper faces in apropos.el.
* lisp/apropos.el (apropos-symbol, apropos-keybinding, apropos-label)
(apropos-property, apropos-function-button)
(apropos-variable-button, apropos-misc-button): New faces.
(apropos-symbol-face, apropos-keybinding-face)
(apropos-label-face, apropos-property-face, apropos-match-face):
Variables removed.
(apropos-library-button, apropos-format-plist, apropos-print)
(apropos-print-doc, apropos-describe-plist): Callers changed.
Fixes: debbugs:8396
Chong Yidong [Mon, 23 Apr 2012 12:44:54 +0000 (20:44 +0800)]
* apropos.el (apropos-read-pattern): Fix word list splitting.
Fixes: debbugs:11132
Chong Yidong [Mon, 23 Apr 2012 12:37:55 +0000 (20:37 +0800)]
Remove non-option variable handling from customize-apropos
and enable use of word lists for customize-apropos-options etc.
* lisp/apropos.el (apropos-read-pattern): Make prompt less cryptic.
* lisp/cus-edit.el (customize-apropos, customize-apropos-options):
Disable matching of non-option variables.
(customize-option, customize-option-other-window)
(customize-changed-options): Doc fix.
(customize-apropos-options, customize-apropos-faces)
(customize-apropos-groups): Use apropos-read-pattern.
Fixes: debbugs:11176
Michael Albinus [Mon, 23 Apr 2012 11:57:06 +0000 (13:57 +0200)]
* net/xesam.el (xesam-mode-map): Use let-bound map in
initialization. (Bug#11292)
Agustín Martín [Mon, 23 Apr 2012 10:33:25 +0000 (12:33 +0200)]
ispell.el,flyspell.el: Preserve session localwords when switching back buffers.
Once a word is declared valid for a session and a buffer it should
stay valid for that buffer regardless buffer switches unless ispell
process is explicitly killed or dictionary changed for that buffer.
However, it is currently lost when we switch to a different buffer
that triggers a new ispell process and then switch back to the
original buffer (triggering a new ispell restart).
These changes try to keep buffer session localwords accepted in above
case.
Glenn Morris [Mon, 23 Apr 2012 10:17:30 +0000 (06:17 -0400)]
Auto-commit of generated files.
Agustín Martín [Mon, 23 Apr 2012 10:03:33 +0000 (12:03 +0200)]
Remove obsolete usage of (ispell-insert-word)
`ispell-insert-word' is a plain `insert' together with word filtering
through `translation-table-for-input' for character code unification.
This was useful in Emacs 22, but is not needed for Emacs 23 and above
since unification is now direct.
Since XEmacs does not have `translation-table-for-input' there is no
need at all to keep this old code, but use (insert) directly.
Paul Eggert [Mon, 23 Apr 2012 07:34:29 +0000 (00:34 -0700)]
Fix minor GTK3 problems found by static checking.
* emacsgtkfixed.c (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed)
(EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed)
(struct _EmacsFixedClass, emacs_fixed_get_type):
Move decls here from emacsgtkfixed.h, since they needn't be public.
(emacs_fixed_get_type): Now static.
(emacs_fixed_class_init): Omit unused local.
(emacs_fixed_child_type): Remove; unused.
* emacsgtkfixed.h (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed)
(EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed)
(struct _EmacsFixedClass): Move to emacsgtkfixed.c.
(EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS)
(EMACS_FIXED_GET_CLASS): Remove; unused.
* gtkutil.c (xg_create_frame_widgets) [!HAVE_GTK3]: Omit unused local.
Paul Eggert [Mon, 23 Apr 2012 05:44:49 +0000 (22:44 -0700)]
Spelling fixes.
Paul Eggert [Mon, 23 Apr 2012 05:43:08 +0000 (22:43 -0700)]
* configure.in: Remove wrong part of comment.
Paul Eggert [Mon, 23 Apr 2012 04:08:51 +0000 (21:08 -0700)]
* keyboard.c (handle_async_input): Define only if SYNC_INPUT || SIGIO.
Problem reported by Juanma Barranquero for Windows -Wunused-function.
Chong Yidong [Mon, 23 Apr 2012 03:44:13 +0000 (11:44 +0800)]
Fix last fix.
Chong Yidong [Mon, 23 Apr 2012 03:11:28 +0000 (11:11 +0800)]
Doc fixes for where-is-internal.
* doc/lispref/keymaps.texi (Scanning Keymaps): Fix description of
NO-REMAP arg to where-is-internal.
* src/keymap.c (where_is_internal): Doc fix (Bug#10872).