1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00
Commit graph

54672 commits

Author SHA1 Message Date
Alan Mackenzie
52bedd3438 Increment c-version to 5.32.2. 2011-10-28 16:16:02 +00:00
Alan Mackenzie
7e43cfa5ec Add and entry to ChangeLog. 2011-10-28 15:24:05 +00:00
Alan Mackenzie
e376ea4f73 Merge. 2011-10-28 15:18:00 +00:00
Deniz Dogan
1a2ce9ee38 * net/rcirc.el (rcirc-mode): Use hard newlines. 2011-10-28 16:47:50 +02:00
Alan Mackenzie
93b5b3bdc8 Boring merge from savannah. 2011-10-28 14:35:39 +00:00
Alan Mackenzie
020716e178 DTRT for c-beginning/end-of-defun in nested declaration scopes. 2011-10-28 14:34:39 +00:00
Alan Mackenzie
bc97a826f8 Merge 2011-10-28 14:02:04 +00:00
Alan Mackenzie
c0f13227ab Merge in random stuff from savannah. 2011-10-28 13:56:09 +00:00
Stefan Monnier
7a6c094174 * lisp/vc/log-edit.el: Fill empty field rather than adding new one.
(log-edit-add-field): New function.
(log-edit-insert-changelog): Use it.
2011-10-27 22:50:05 -04:00
Mark Lillibridge
b0c4cdcf10 * lisp/mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum.
Fixes: debbugs:9802
2011-10-27 22:47:43 -04:00
Stefan Monnier
ee1f1da967 * lisp/progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
(gdb--check-interpreter): New function.
(gdb): Use it.
2011-10-27 22:22:38 -04:00
Alan Mackenzie
536610a433 Amend to indent and fontify macros "which include their own semicolon"
correctly, using the "virtual semicolon" mechanism.

cc-defs.el: Update "virtual semicolon" comments.

cc-engine.el (c-crosses-statement-barrier-p): Recoded to scan one line at
at time rather than having \n and \r explicitly in c-stmt-delim-chars
(for some modes, e.g. AWK).
(c-forward-label): Amend for virtual semicolons.
(c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions

cc-fonts.el (c-font-lock-declarations): Take account of the new C macros.

cc-langs.el (c-at-vsemi-p-fn, c-vsemi-status-unknown-p-fn): move to
earlier in the file.
(c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
(c-opt-cpp-macro-define): Make into a full language variable.
(c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
AWK Mode (including \n, \r) removed, no longer needed.

cc-mode.el (c-mode, c++-mode, objc-mode): Invoke
c-make-macro-with-semi-re.

cc-vars.el (c-macro-with-semi-re, c-macro-names-with-semicolon): New
variables.
(c-make-macro-with-semi-re): New function

cc-mode.texi (Indentation Commands): Mention "macros with semicolons".
(Other Special Indentations): Add an xref to "Macros with ;".
(Customizing Macros): Add stuff about syntax in macros.  Add an xref to
"Macros with ;".
(Macros with ;): New page.
2011-10-27 20:34:23 +00:00
Glenn Morris
44b0122fbb * lisp/emacs-lisp/cl.el (most-negative-float): Fix doc typo. 2011-10-27 15:38:35 -04:00
Glenn Morris
01db225d1c Auto-commit of loaddefs files. 2011-10-27 06:22:00 -04:00
Glenn Morris
416a2c45b3 Add doc-strings to some cl float parameters.
* lisp/emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
* lisp/emacs-lisp/cl.el (most-positive-float, most-negative-float)
(least-positive-float, least-negative-float)
(least-positive-normalized-float, least-negative-normalized-float)
(float-epsilon, float-negative-epsilon): Add doc-strings,
based on those in cl.texi.

* lisp/emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
(least-positive-float, least-negative-float)
(least-positive-normalized-float, least-negative-normalized-float)
(float-epsilon, float-negative-epsilon):
Remove unnecessary declarations.
2011-10-27 00:21:00 -07:00
Glenn Morris
51bc5f8b73 Make set-visited-file-name reload local variables if needed.
* lisp/files.el (set-visited-file-name):
If the major-mode changed, reload the local variables.

Fixes: debbugs:9796
2011-10-26 23:38:32 -07:00
Chong Yidong
15de15c66d Replace fundamental-mode-hook with change-major-mode-after-body-hook.
* lisp/simple.el (fundamental-mode):
* lisp/emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
change introducing fundamental-mode-hook.

* lisp/subr.el (change-major-mode-after-body-hook): New hook.
(run-mode-hooks): Run it.

* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Use
change-major-mode-before-body-hook.
2011-10-27 11:01:40 +08:00
Stefan Monnier
6e724ca2c2 * lisp/gnus/message.el: Don't insert TAB in headers with completion.
(message-completion-function): Don't fallback on message-tab-body-function
when message-completion-alist fails to find a completion.

Fixes: debbugs:9158
2011-10-26 13:27:51 -04:00
Juanma Barranquero
a7ef684b46 Fix typos. 2011-10-26 16:07:31 +02:00
Juanma Barranquero
5430d39930 * lisp/term/w32-win.el (w32-default-color-map): Declare obsolete.
* src/w32fns.c (w32_default_color_map): New function, extracted from
  Fw32_default_color_map.
  (Fw32_default_color_map, Fx_open_connection): Use it.
2011-10-26 15:42:33 +02:00
Daiki Ueno
49964155e2 mml.el: Support quoting <#secure> tag. 2011-10-26 09:25:34 +00:00
Michael Albinus
ad74a69e6b * ido.el (ido-file-name-all-completions-1): Do not require
tramp.el explicitely.  (Bug#7583)
2011-10-26 10:42:22 +02:00
Stefan Monnier
71d4c2a518 * lisp/progmodes/octave-*.el: Update maintainer. 2011-10-25 21:18:13 -04:00
Chong Yidong
b1f6fa2666 Document with-wrapper-hook.
* doc/emacs/modes.texi (Running Hooks): Document with-wrapper-hook.

* lisp/subr.el (with-wrapper-hook): Rewrite doc.
2011-10-26 08:44:06 +08:00
Michael Albinus
3f04efd64d * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
filenames "/method:foo:".
2011-10-25 14:50:03 +02:00
Stefan Monnier
81a0a2681d * comint.el (comint-get-old-input-default): Fix thinko in last change.
Fixes: debbugs:9865
2011-10-25 08:33:31 -04:00
Stefan Monnier
410488d3ae * lisp/comint.el (comint-get-old-input-default): Fix use-prompt-regexp case.
Fixes: debbugs:9865
2011-10-24 22:19:17 -04:00
Juanma Barranquero
958ad48682 lisp/facemenu.el: Slightly expand a comment in `list-colors-duplicates'. 2011-10-24 21:29:19 +02:00
Glenn Morris
c1ebb47e3d * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819) 2011-10-24 13:37:03 -04:00
Michael Albinus
7f5c46c780 * notifications.el: Add the requirement of a running D-Bus session
bus to the Commentary.
2011-10-24 10:02:02 +02:00
Juri Linkov
db2440b6cc * lisp/isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
`search-whitespace-regexp' only when `isearch-regexp' is non-nil.

Fixes: debbugs:9364
2011-10-24 08:56:04 +03:00
Juri Linkov
feecf43567 * lisp/info.el (Info-following-node-name-re): Add newline to the list
of allowed characters for leading space.

Fixes: debbugs:9824
2011-10-24 08:47:05 +03:00
Stefan Monnier
a3839de209 * lisp/progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
* lisp/progmodes/octave-mod.el (octave-help): Remove.
2011-10-23 22:56:59 -04:00
Stefan Monnier
08c7586636 * subr.el (apply-partially): Remove redundant comment. 2011-10-23 22:03:24 -04:00
Michael Albinus
09388e760d Sync with Tramp 2.2.3.
* net/tramp-cache.el (top): Pacify byte-compiler using
`init-file-user' and `site-run-file'.

* net/trampver.el: Update release number.
2011-10-23 17:59:54 +02:00
Chong Yidong
86c6068184 Make vc-toggle-read-only an alias for toggle-read-only.
It hasn't worked in a VC sense since 2008-05-02T07:12:59Z!esr@snark.thyrsus.com, though this was
not documented at the time (grr).

* lisp/vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
for toggle-read-only.  Note that this hasn't called vc-next-action
since 2008-05-02, though it wasn't documented at the time.

* lisp/files.el (toggle-read-only): Remove obsolete comment about
version control.

* doc/emacs/buffers.texi (Misc Buffer): Don't mention vc-toggle-read-only.

* lisp/cedet/ede.el (ede-maybe-checkout): Function deleted;
vc-toggle-read-only does not do version control now.

* lisp/cedet/ede/project-am.el (project-remove-file, project-add-file)
(project-new-target): Don't call ede-maybe-checkout.

* lisp/cedet/ede/util.el (ede-make-buffer-writable): Don't use
vc-toggle-read-only.

* lisp/vc/ediff-init.el (ediff-toggle-read-only-function): Use
toggle-read-only.
2011-10-23 11:38:23 +08:00
Martin Rudalics
53ebff1ff0 In mouse-drag-line correctly use window-in-direction. 2011-10-22 19:06:13 +02:00
Alan Mackenzie
cd5495ffba Fix bug #9560, sporadic wrong indentation; improve instrumentation of
c-parse-state.
cc-engine.el (c-append-lower-brace-pair-to-state-cache): correct faulty
logical expression.

(c-parse-state-state, c-record-parse-state-state):
(c-replay-parse-state-state): New defvar/defuns.
(c-debug-parse-state): Use new functions.
2011-10-22 10:17:25 +00:00
Martin Rudalics
42ee24ed38 Fix minibuffer resizing.
* mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
last change.
2011-10-22 11:43:09 +02:00
Chong Yidong
a7dee7e773 Fix for 2011-10-21T02:23:59Z!cyd@gnu.org.
* lisp/progmodes/idlwave.el (idlwave-mode):
* lisp/progmodes/vera-mode.el (vera-mode): No need to set
require-final-newline; that's done in prog-mode.  Suggested by
Stefan Monnier.
2011-10-21 22:48:39 +08:00
Martin Rudalics
e07b9a6d33 Fix and improve mouse-dragging of horizontal/vertical lines.
* mouse.el (mouse-drag-window-above)
(mouse-drag-move-window-bottom, mouse-drag-move-window-top)
(mouse-drag-mode-line-1, mouse-drag-header-line)
(mouse-drag-vertical-line-rightward-window): Remove.
(mouse-drag-line): New function.
(mouse-drag-mode-line, mouse-drag-header-line)
(mouse-drag-vertical-line): Call mouse-drag-line.
* window.el (window-at-side-p, windows-at-side): New functions.
2011-10-21 11:15:32 +02:00
Ulrich Mueller
7e1361d995 tar-grind-file-mode fix.
* lisp/tar-mode.el (tar-grind-file-mode):
Fix handling of setuid/setgid, handle sticky bit.

Fixes: debbugs:9817
2011-10-20 23:44:20 -07:00
Chong Yidong
30fcaf3a28 Use mode-require-final-newline for idlwave.el and vera-mode.el.
* progmodes/idlwave.el (idlwave-mode):
* progmodes/vera-mode.el (vera-mode): Use mode-require-final-newline.
2011-10-20 22:23:59 -04:00
Glenn Morris
516eddb051 * lisp/vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781) 2011-10-20 17:01:45 -04:00
Glenn Morris
07fc67afe3 Fix ChangeLog attribution.
This was clearly a tiny change, ref:
http://article.gmane.org/gmane.emacs.gnus.cvs/8206
2011-10-19 21:16:51 -07:00
Glenn Morris
d04b547af3 Fix ChangeLog attribution.
All 4 listed authors have assignments, so I am not going to bother
working out precisely who wrote which piece of this.
2011-10-19 21:09:12 -07:00
Glenn Morris
b25b4939c6 Fix ChangeLog attribution.
Ref: http://thread.gmane.org/gmane.emacs.gnus.general/56492/focus=57459

From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Subject: Re: display picons _and_ textual address
Newsgroups: gmane.emacs.gnus.general
Date: 2004-05-18 12:21:19 GMT
2011-10-19 21:05:36 -07:00
Glenn Morris
3d1b5d8ec4 Fix ChangeLog attribution.
Ref: http://thread.gmane.org/gmane.emacs.gnus.general/56861/focus=56907

From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: CRM114 Mailfilter and spam.el
Newsgroups: gmane.emacs.gnus.general
Date: 2004-05-20 18:39:25 GMT
2011-10-19 20:58:45 -07:00
Glenn Morris
6ac15d1bed Fix ChangeLog attribution, add bug ref. 2011-10-19 20:50:14 -07:00
Christoph Scholtes
10d5f51377 * emulation/cua-base.el (cua-set-mark): Fix case of string. 2011-10-19 19:40:32 -06:00