1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00
Commit graph

105162 commits

Author SHA1 Message Date
Andreas Schwab
74dd3a6bbb * .gdbinit (xpr): Remove checks for no longer existing misc types.
(xintfwd, xboolfwd, xobjfwd, xbufobjfwd, xkbobjfwd, xbuflocal):
Remove.
2012-05-01 02:07:23 +02:00
Leo Liu
9cc7819c61 * lisp/ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
read-only error.
2012-04-30 19:57:47 +08:00
Andreas Schwab
a706a3bca4 Fixes: debbugs:11380
* make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
byte-code forms.
2012-04-29 22:05:44 +02:00
Chong Yidong
c93b886f95 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
2012-04-29 09:48:23 +08:00
Paul Eggert
13c379eed0 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.
2012-04-28 15:17:27 -07:00
Stefan Monnier
8b6c19f4c2 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.
2012-04-28 17:59:08 -04:00
Stefan Monnier
461ef3c518 Add some shell indentation test cases.
* test/indent/shell.sh:
* test/indent/shell.rc: Add some test cases.
2012-04-28 16:04:34 -04:00
Chong Yidong
d1d2e2e86b * lisp/vc/diff.el (diff-sentinel): Go to bob.
Fixes: debbugs:10259
2012-04-27 22:16:02 +08:00
Glenn Morris
0cd38783c0 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.
2012-04-26 23:21:10 -07:00
Glenn Morris
578c1d4bf1 Fix dates of some merged ChangeLog entries 2012-04-26 23:08:14 -07:00
Chong Yidong
15cd8efd04 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).
2012-04-27 13:40:46 +08:00
Chong Yidong
a8e7d6d783 Merge changes from emacs-24 branch 2012-04-27 11:10:38 +08:00
Chong Yidong
b360839071 Fix missing prefix warning in pascal.el.
* progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
fix "missing prefix" warning.  All callers changed.
2012-04-27 10:48:38 +08:00
Chong Yidong
c5bb756916 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
2012-04-27 10:24:38 +08:00
Chong Yidong
f2c3a9eb85 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).
2012-04-27 10:15:51 +08:00
Stefan Monnier
797e6e88e9 * emacs-lisp/assoc.el: Move to obsolete/. 2012-04-26 20:30:56 -04:00
Glenn Morris
8da2b7872c Fix previous change 2012-04-26 20:23:54 -04:00
Glenn Morris
a4289d0ee1 * doc/emacs/emacs.texi: Some fixes for detailed menu. 2012-04-26 20:20:02 -04:00
Daiki Ueno
36d55cd479 lisp/gnus/plstore.el: Fix buildbot failure with XEmacs 2012-04-26 22:07:59 +00:00
Bastien Guerry
5e0e5e3676 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.
2012-04-26 22:46:10 +02:00
Glenn Morris
cdb45185ee ChangeLog fix 2012-04-26 14:57:49 -04:00
Stefan Monnier
657c21e46b * lisp/emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue.
Fixes: debbugs:11352
2012-04-26 14:21:03 -04:00
Glenn Morris
6bd40061bf ChangeLog fix 2012-04-26 14:10:02 -04:00
Glenn Morris
cf98857824 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.
2012-04-26 13:56:38 -04:00
Bastien Guerry
2f885dcacb Sync with Org git commit 374c56b. 2012-04-26 19:30:04 +02:00
Bastien Guerry
2a12997ca9 etc/ORG-NEWS: New file documenting changes between Org 6.34 and current one. 2012-04-26 19:02:36 +02:00
Bastien Guerry
3959f36938 lisp/org/ChangeLog: remove references to files that are not in the directory. 2012-04-26 18:57:34 +02:00
Stefan Monnier
e95a67dc75 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.
2012-04-26 08:43:28 -04:00
Eli Zaretskii
4c3fa1d9ad 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.
2012-04-26 13:49:29 +03:00
Eli Zaretskii
1c6900d923 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.
2012-04-26 13:07:35 +03:00
Andreas Schwab
c4347ab9e5 Fixes: debbugs:11344
* vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2012-04-26 11:27:37 +02:00
Chong Yidong
dce04f7f90 * image.el (image-type-from-buffer): Only return supported image type.
Fixes: debbugs:9045
2012-04-26 16:43:20 +08:00
Chong Yidong
cb3e7ae07a 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
2012-04-26 16:00:47 +08:00
Chong Yidong
8b71081d30 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
2012-04-26 11:43:32 +08:00
Stefan Monnier
0d42eb3e96 * 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 ((λ ...) ...).
2012-04-25 23:18:47 -04:00
Stefan Monnier
88ed9e87e5 Deprecate the ((lambda ...) ...) form.
* doc/lispref/functions.texi (Simple Lambda, Argument List):
* doc/lispref/eval.texi (Function Indirection): Avoid deprecated form.
2012-04-25 23:06:36 -04:00
Chong Yidong
f08ae1c9b5 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
2012-04-26 11:04:36 +08:00
Daiki Ueno
823ad1d7e8 Revive plstore editing mode previously reverted due to feature freeze. 2012-04-26 11:03:19 +09:00
Glenn Morris
8a4ca8e339 * doc/lispref/elisp-covers.texi: Remove file.
Nothing includes or refers to it, and it has not been updated since Emacs 19.
2012-04-25 18:51:41 -07:00
Glenn Morris
8191c3bda8 * doc/lispref/front-cover-1.texi: Remove file.
Nothing includes or refers to it, and it has not been updated since Emacs 19.
2012-04-25 18:49:03 -07:00
Glenn Morris
562e638f78 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.
2012-04-25 18:47:05 -07:00
Glenn Morris
674ea9c6e4 * doc/lispref/Makefile.in (srcs): Remove back.texi (which is unused).
* doc/lispref/makefile.w32-in (srcs): Same.
2012-04-25 21:08:03 -04:00
Glenn Morris
1a72be4624 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.
2012-04-25 20:48:08 -04:00
Glenn Morris
16152b76a4 Use Texinfo recommended convention for quotes+punctuation. 2012-04-25 20:31:47 -04:00
Stefan Monnier
dd2ac746d4 Add support for completion of quoted/escaped data. 2012-04-25 15:00:18 -04:00
Stefan Monnier
cc356a5d47 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.
2012-04-25 14:57:09 -04:00
Stefan Monnier
b4ff4f1fcb 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.
2012-04-25 14:53:57 -04:00
Stefan Monnier
79c4eeb450 * 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.
2012-04-25 14:42:15 -04:00
Stefan Monnier
ef24141c36 * 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.
2012-04-25 14:40:42 -04:00
Leo Liu
784e7d6eeb * lisp/progmodes/python.el (python-pdbtrack-get-source-buffer): Use
compilation-message if available to find real filename.
2012-04-26 00:46:01 +08:00