]> code.delx.au - gnu-emacs/log
gnu-emacs
12 years agoMinor clarification in Lisp manual about pre/post-command-hook.
Chong Yidong [Fri, 27 Jan 2012 08:35:51 +0000 (16:35 +0800)]
Minor clarification in Lisp manual about pre/post-command-hook.

* doc/lispref/commands.texi (Command Overview): Minor clarification (Bug#10384).

12 years agoDoc fixes for buffers.texi and text.texi in Emacs manual.
Dani Moncayo [Fri, 27 Jan 2012 08:19:19 +0000 (16:19 +0800)]
Doc fixes for buffers.texi and text.texi in Emacs manual.

* doc/emacs/buffers.texi (Select Buffer): Clarify explanation of switching
to new buffers.  Fix description of next-buffer and
previous-buffer (Bug#10334).
(Misc Buffer): Add xref to View Mode.

* doc/emacs/text.texi (Fill Commands): Fix description of
sentence-end-double-space.

12 years agognus-sum.el (gnus-summary-mode): Fix last change.
Katsumi Yamaoka [Fri, 27 Jan 2012 03:36:45 +0000 (03:36 +0000)]
gnus-sum.el (gnus-summary-mode): Fix last change.

12 years agognus-sum.el (gnus-summary-mode): Comment fix.
Katsumi Yamaoka [Thu, 26 Jan 2012 23:24:06 +0000 (23:24 +0000)]
gnus-sum.el (gnus-summary-mode): Comment fix.

12 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 26 Jan 2012 23:03:28 +0000 (23:03 +0000)]
Merge changes made in Gnus trunk.

gnus-sum.el (gnus-summary-mode): Don't make bidi-paragraph-direction bound in old Emacsen and XEmacsen.
gnus.el (gnus-group-find-parameter): Check for liveness of the buffer, not of the string which is its name.
gnus-sum.el (gnus-summary-move-article): Don't propagate marks to non-server-marks groups.
 (gnus-group-make-articles-read): Ditto.
gnus-srvr.el (gnus-server-prepare): Use it to avoid showing ephemeral methods (bug#9676).
gnus.el (gnus-method-ephemeral-p): New function.

12 years agont/README.W32, nt/INSTALL: Update the URL for GnuTLS binaries.
Eli Zaretskii [Thu, 26 Jan 2012 21:37:32 +0000 (23:37 +0200)]
nt/README.W32, nt/INSTALL: Update the URL for GnuTLS binaries.

12 years ago* src/keyboard.c (Vecho_keystrokes): Document zero value.
Chong Yidong [Thu, 26 Jan 2012 16:09:35 +0000 (00:09 +0800)]
* src/keyboard.c (Vecho_keystrokes): Document zero value.

Fixes: debbugs:10503
12 years agoDocument negative repeat counts for search-forward and search-backward.
Chong Yidong [Thu, 26 Jan 2012 15:48:27 +0000 (23:48 +0800)]
Document negative repeat counts for search-forward and search-backward.

* doc/lispref/searching.texi (String Search): Document negative repeat count.

* src/search.c (Fsearch_forward, Fsearch_backward): Document negative
repeat counts (Bug#10507).

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Thu, 26 Jan 2012 11:18:28 +0000 (06:18 -0500)]
Auto-commit of loaddefs files.

12 years agoMerge changes made in Gnus trunk
Lars Ingebrigtsen [Thu, 26 Jan 2012 10:43:01 +0000 (10:43 +0000)]
Merge changes made in Gnus trunk

nnimap.el (nnir-search-thread): Autoload to avoid a compilation warning.
gnus-sum.el (gnus-summary-line-format-alist): Don't try to macroexpand the nnir things, since they haven't been defined yet, and nnir requires gnus-sum.

12 years agognus-sum.el (gnus-summary-mode): Force paragraph direction to be left-to-right.
Katsumi Yamaoka [Thu, 26 Jan 2012 10:38:22 +0000 (10:38 +0000)]
gnus-sum.el (gnus-summary-mode): Force paragraph direction to be left-to-right.

12 years agoDoc fix for lexical-binding being in line one.
Glenn Morris [Thu, 26 Jan 2012 06:30:49 +0000 (22:30 -0800)]
Doc fix for lexical-binding being in line one.

Ref http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00543.html

* doc/lispref/variables.texi (Using Lexical Binding):
Mention that lexical-binding should be set in the first line.

* src/lread.c (syms_of_lread): Doc fix.

* lisp/emacs-lisp/tabulated-list.el, lisp/progmodes/f90.el:
Move lexical-binding file-local to line one.

* etc/NEWS: lexical-binding should be ine the first line.

12 years agoUse ctl-x-map in place of C-x (bug#10566)
Glenn Morris [Thu, 26 Jan 2012 02:32:56 +0000 (21:32 -0500)]
Use ctl-x-map in place of C-x (bug#10566)

For an example of the problems NOT doing this might cause, see eg
http://lists.gnu.org/archive/html/bug-gnu-emacs/2006-07/msg00000.html
Eg after:
  (global-set-key (kbd "C-u") ctl-x-map)
  (global-set-key (kbd "C-x") 'universal-argument)
just loading dired-x.el or term.el would give an error.

* lisp/dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
* lisp/term.el (term-raw-escape-map): Use Control-X-prefix.
* lisp/vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.

12 years agoFurther `declare' clarifications
Lars Ingebrigtsen [Thu, 26 Jan 2012 00:02:02 +0000 (01:02 +0100)]
Further `declare' clarifications

* macros.texi (Defining Macros): Don't claim that `declare' only
affects Edebug and indentation.

12 years ago* macros.texi (Defining Macros): Slight `declare' fixup.
Lars Ingebrigtsen [Wed, 25 Jan 2012 23:55:44 +0000 (00:55 +0100)]
* macros.texi (Defining Macros): Slight `declare' fixup.

12 years ago* doc/lispref/makefile.w32-in (texinputdir): Copy previous Makefile.in change.
Glenn Morris [Wed, 25 Jan 2012 21:50:12 +0000 (16:50 -0500)]
* doc/lispref/makefile.w32-in (texinputdir): Copy previous Makefile.in change.

12 years ago* doc/lispref/Makefile.in (ENVADD): Add $emacsdir. (Bug#10603)
Glenn Morris [Wed, 25 Jan 2012 21:42:37 +0000 (16:42 -0500)]
* doc/lispref/Makefile.in (ENVADD): Add $emacsdir.  (Bug#10603)

12 years agoIgnore fixed-sizeness when getting a window's state.
Martin Rudalics [Wed, 25 Jan 2012 14:52:10 +0000 (15:52 +0100)]
Ignore fixed-sizeness when getting a window's state.

* window.el (window-state-get, window--state-get-1): Don't deal
with fixed-sizeness of windows.  Simplify code.

12 years agoIn window states don't deal with the mark.
Jérémy Compostella [Wed, 25 Jan 2012 14:28:01 +0000 (15:28 +0100)]
In window states don't deal with the mark.

* window.el (window--state-get-1, window--state-put-2): Don't
save and restore the mark.

12 years agodired-goto-file fix for some `ls -b' escapes.
Glenn Morris [Wed, 25 Jan 2012 08:20:24 +0000 (00:20 -0800)]
dired-goto-file fix for some `ls -b' escapes.

* lisp/dired.el (dired-goto-file):
Handle some of the more common characters that `ls -b' escapes.

Fixes: debbugs:10596
12 years agoUpdate TUTORIAL.sv.
Mats Lidell [Wed, 25 Jan 2012 06:12:10 +0000 (14:12 +0800)]
Update TUTORIAL.sv.

12 years agoMerge from emacs-23 branch
Chong Yidong [Wed, 25 Jan 2012 05:55:01 +0000 (13:55 +0800)]
Merge from emacs-23 branch

12 years agoTweak custom-variable-p and user-variable-p docs.
Chong Yidong [Wed, 25 Jan 2012 05:48:11 +0000 (13:48 +0800)]
Tweak custom-variable-p and user-variable-p docs.

* lisp/custom.el (custom-variable-p): Doc fix.

* src/eval.c (Fuser_variable_p): Doc fix; mention custom-variable-p.

12 years agocompile/grep fix for bug#10594
Glenn Morris [Wed, 25 Jan 2012 02:01:22 +0000 (21:01 -0500)]
compile/grep fix for bug#10594

* lisp/progmodes/compile.el (compilation-next-error-function):
Respect compilation-first-column in the "*compilation*" buffer.
* lisp/progmodes/grep.el (grep-first-column): New variable.

12 years ago* lisp/vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
Glenn Morris [Wed, 25 Jan 2012 00:07:04 +0000 (19:07 -0500)]
* lisp/vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)

12 years ago* lisp/pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
Glenn Morris [Tue, 24 Jan 2012 18:10:39 +0000 (13:10 -0500)]
* lisp/pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)

12 years agoUpdate Variables chapter of Lisp manual to handle lexical binding.
Chong Yidong [Tue, 24 Jan 2012 16:08:00 +0000 (00:08 +0800)]
Update Variables chapter of Lisp manual to handle lexical binding.

* doc/lispref/variables.texi (Variables, Local Variables, Void Variables):
Edit to make the descriptions less specific to dynamic binding.
(Local Variables): Default max-specpdl-size is now 1300.
(Defining Variables): Edits for lexical scoping.  Delete
information about starting docstrings with *.  De-document
user-variable-p.
(Tips for Defining): Remove an unimportant discussion of quitting
in the middle of a load.
(Accessing Variables, Setting Variables): Discuss lexical binding.
(Variable Scoping): Rewrite.
(Scope, Extent, Impl of Scope): Nodes deleted.
(Dynamic Binding): New node, with material from Scope, Extent, and
Impl of Scope nodes.
(Dynamic Binding Tips): Rename from Using Scoping.
(Lexical Binding): Rewrite.
(Using Lexical Binding): Rename from Converting to Lexical
Binding.  Convert to subsection.

* doc/lispref/customize.texi (Variable Definitions): Add custom-variable-p.
Move user-variable-p documentation here.

12 years agocolor.el: Add saturate, lighten functions.
Julien Danjou [Tue, 24 Jan 2012 12:06:51 +0000 (12:06 +0000)]
color.el: Add saturate, lighten functions.

12 years agoFix rcs and sccs create-tag commands.
Glenn Morris [Tue, 24 Jan 2012 08:22:50 +0000 (00:22 -0800)]
Fix rcs and sccs create-tag commands.

* lisp/vc/vc-rcs.el (vc-rcs-create-tag):
* lisp/vc/vc-sccs.el (vc-sccs-create-tag):
Fix argument spec to be what vc-create-tag expects.

Fixes: debbugs:10515
12 years agoSpelling fix.
Paul Eggert [Mon, 23 Jan 2012 19:44:28 +0000 (11:44 -0800)]
Spelling fix.

12 years agoReplace vc-dired references in comments with vc-dir.
Glenn Morris [Mon, 23 Jan 2012 08:45:59 +0000 (00:45 -0800)]
Replace vc-dired references in comments with vc-dir.

12 years ago* pcl-cvs.texi (About PCL-CVS): Refer to vc-dir rather than vc-dired.
Glenn Morris [Mon, 23 Jan 2012 08:38:22 +0000 (00:38 -0800)]
* pcl-cvs.texi (About PCL-CVS): Refer to vc-dir rather than vc-dired.

12 years ago* lisp/eshell/esh-util.el (pcomplete/ssh): Remove alias. (tiny change)
Mike Lamb [Mon, 23 Jan 2012 08:18:22 +0000 (00:18 -0800)]
* lisp/eshell/esh-util.el (pcomplete/ssh): Remove alias.  (tiny change)
There is a better pcomplete/ssh defined in pcmpl-unix.el.

Fixes: debbugs:10548
12 years agoHandle comments in eshell-read-hosts-file (tiny change)
Mike Lamb [Mon, 23 Jan 2012 08:12:10 +0000 (00:12 -0800)]
Handle comments in eshell-read-hosts-file (tiny change)

* lisp/eshell/esh-util.el (eshell-read-hosts-file): Skip comment lines.

Fixes: debbugs:10549
12 years agoFix last change.
Chong Yidong [Mon, 23 Jan 2012 06:54:20 +0000 (14:54 +0800)]
Fix last change.

12 years ago* doc/emacs/anti.texi (Antinews): Add Emacs 24 antinews.
Chong Yidong [Mon, 23 Jan 2012 06:52:18 +0000 (14:52 +0800)]
* doc/emacs/anti.texi (Antinews): Add Emacs 24 antinews.

12 years agoUpdate several Lisp manual chapters.
Chong Yidong [Mon, 23 Jan 2012 04:23:50 +0000 (12:23 +0800)]
Update several Lisp manual chapters.

* doc/lispref/eval.texi (Intro Eval, Symbol Forms): Minor tweaks for
correctness with lexical scoping.
(Eval): Copyedits.

* doc/lispref/sequences.texi (Sequence Functions): Don't repeat the
introduction already given in the parent.
(Vectors): Copyedits.
(Rings): Move from lists.texi.  Note that this is specific to the
ring package.

* doc/lispref/lists.texi (Cons Cells): Copyedits.
(List Elements): Mention push.
(List Variables): Mention pop.
(Rings): Move to sequences.texi.

* doc/lispref/strings.texi (Text Comparison): Minor qualification.

* doc/lispref/symbols.texi (Definitions, Symbol Components): Mention variable
scoping issues.
(Plists and Alists): Copyedits.

12 years agolisp/subr.el: Rework previous change.
Juanma Barranquero [Mon, 23 Jan 2012 02:10:36 +0000 (03:10 +0100)]
lisp/subr.el: Rework previous change.

* lisp/subr.el (display-delayed-warnings): Doc fix.
  (collapse-delayed-warnings): New function to collapse identical
  adjacent warnings.
  (delayed-warnings-hook): Add it.

12 years agolisp/subr.el (display-delayed-warnings): Collapse identical adjacent messages.
Juanma Barranquero [Mon, 23 Jan 2012 01:10:50 +0000 (02:10 +0100)]
lisp/subr.el (display-delayed-warnings): Collapse identical adjacent messages.

12 years ago* net/tramp.el (tramp-action-login): Set connection property "login-as".
Michael Albinus [Sun, 22 Jan 2012 12:55:36 +0000 (13:55 +0100)]
* net/tramp.el (tramp-action-login): Set connection property "login-as".

* net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
properties, when "login-as" is set.

* net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
(tramp-default-user-alist): Don't add "pscp".
(tramp-do-copy-or-rename-file-out-of-band): Use connection
property "login-as", if set.  (Bug#10530)

12 years agomm-decode.el (mm-interactively-view-part): Fix prompt.
Lars Magne Ingebrigtsen [Sun, 22 Jan 2012 00:54:58 +0000 (00:54 +0000)]
mm-decode.el (mm-interactively-view-part): Fix prompt.

12 years agoEmacs Lisp manual updates.
Chong Yidong [Sat, 21 Jan 2012 16:04:55 +0000 (00:04 +0800)]
Emacs Lisp manual updates.

* doc/lispref/intro.texi (A Sample Function Description): Special notation
used for macros too.

* doc/lispref/objects.texi (Ctl-Char Syntax, Other Char Bits): Copyedits.
(Symbol Type): Add xref for keyword symbols.
(Sequence Type): Clarify differences between sequence types.
(Cons Cell Type): Add "linked list" index entry.
(Non-ASCII in Strings): Copyedits.
(Equality Predicates): Symbols with same name need not be eq.

* doc/lispref/numbers.texi (Float Basics): Document isnan, copysign, frexp and
ldexp.  Move float-e and float-pi to Math Functions node.

12 years ago* net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
Michael Albinus [Sat, 21 Jan 2012 16:02:53 +0000 (17:02 +0100)]
* net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
"plink1" and "psftp".  (Bug#10530)

12 years agoMake second arg of copysign non-optional.
Chong Yidong [Sat, 21 Jan 2012 15:52:46 +0000 (23:52 +0800)]
Make second arg of copysign non-optional.

* src/floatfns.c (Fcopysign): Make the second argument non-optional,
since nil is not allowed anyway.

12 years agoUpdate TUTORIAL.bg.
Ognyan Kulev [Sat, 21 Jan 2012 14:58:38 +0000 (22:58 +0800)]
Update TUTORIAL.bg.

12 years agomerge trunk
Kenichi Handa [Sat, 21 Jan 2012 11:36:42 +0000 (20:36 +0900)]
merge trunk

12 years ago* process.c (read_process_output): Use p instead of XPROCESS (proc).
Andreas Schwab [Sat, 21 Jan 2012 10:54:19 +0000 (11:54 +0100)]
* process.c (read_process_output): Use p instead of XPROCESS (proc).
(send_process): Likewise.

12 years agoFix windmove-reference-loc miscalculation.
Jérémy Compostella [Sat, 21 Jan 2012 10:02:34 +0000 (11:02 +0100)]
Fix windmove-reference-loc miscalculation.

12 years agoDocument inhibit-local-variables-regexps in the lispref.
Glenn Morris [Sat, 21 Jan 2012 03:15:07 +0000 (19:15 -0800)]
Document inhibit-local-variables-regexps in the lispref.

* doc/lispref/modes.texi (Auto Major Mode):
* doc/lispref/variables.texi (File Local Variables):
Mention inhibit-local-variables-regexps.

* etc/NEWS: Markup.

12 years agocalc/calc-units.el (math-put-default-units): Don't use "1" as a
Jay Belanger [Sat, 21 Jan 2012 00:46:09 +0000 (18:46 -0600)]
calc/calc-units.el (math-put-default-units): Don't use "1" as a
default unit.

12 years ago* lisp/international/mule.el (auto-coding-alist): Add .tbz.
Glenn Morris [Sat, 21 Jan 2012 00:42:09 +0000 (16:42 -0800)]
* lisp/international/mule.el (auto-coding-alist): Add .tbz.

12 years agoFile-local variable fixes.
Glenn Morris [Sat, 21 Jan 2012 00:41:05 +0000 (16:41 -0800)]
File-local variable fixes.
* lisp/files.el (local-enable-local-variables): Doc fix.
(inhibit-local-variables-regexps): Rename from inhibit-first-line-modes-regexps.
Keep old name as obsolete alias.  Doc fix.
Add some extensions from auto-coding-alist.
(inhibit-local-variables-suffixes):
Rename from inhibit-first-line-modes-suffixes.  Doc fix.
(inhibit-local-variables-p): New function, extracted from set-auto-mode-1.
(set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
(set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
(hack-local-variables): Doc fix.
Make the mode-only case respect enable-local-variables and friends.
Respect inhibit-local-variables-regexps for file-locals,
but not for directory-locals.
(set-visited-file-name): Take account of inhibit-local-variables-regexps.
Whether it applies may change as the file name is changed.
* lisp/jka-cmpr-hook.el (jka-compr-install):
* lisp/jka-compr.el (jka-compr-uninstall):
Update for inhibit-first-line-modes-suffixes name change.

* etc/NEWS: Mention this change.

Fixes: debbugs:10506
12 years ago* etc/NEWS: Relocate MS Windows change to "non-free" section.
Glenn Morris [Sat, 21 Jan 2012 00:26:00 +0000 (16:26 -0800)]
* etc/NEWS: Relocate MS Windows change to "non-free" section.

12 years ago* tramp.texi (File): Tweak wording for the `scpc' option.
Eric Hanchrow [Fri, 20 Jan 2012 20:12:38 +0000 (21:12 +0100)]
* tramp.texi (File): Tweak wording for the `scpc' option.

12 years agoIn make-help-screen make original minor-mode-map-alist temporarily visible.
Martin Rudalics [Fri, 20 Jan 2012 08:12:35 +0000 (09:12 +0100)]
In make-help-screen make original minor-mode-map-alist temporarily visible.

* help-macro.el (make-help-screen): Temporarily restore original binding
for minor-mode-map-alist (Bug#10454).

12 years agocolor.el (color-name-to-rgb): Use the white color to find the max color component...
Julien Danjou [Thu, 19 Jan 2012 23:06:49 +0000 (23:06 +0000)]
color.el (color-name-to-rgb): Use the white color to find the max color component value and return correctly computed values.
 (color-name-to-rgb): Add missing float conversion for max value.

12 years agodoc/lispref/emacs-lisp-intro.texi (count-words-in-defun): Fix bug#10544.
Juanma Barranquero [Thu, 19 Jan 2012 15:04:24 +0000 (16:04 +0100)]
doc/lispref/emacs-lisp-intro.texi (count-words-in-defun): Fix bug#10544.

12 years agoFix handling of persistent window parameters.
Martin Rudalics [Thu, 19 Jan 2012 10:38:31 +0000 (11:38 +0100)]
Fix handling of persistent window parameters.

* window.c (save_window_save, Fcurrent_window_configuration)
(Vwindow_persistent_parameters): Do not use Qstate.  Rewrite
doc-strings.
* window.el (window--state-get-1, window-state-get): Do not use
special state value for window-persistent-parameters.  Rename
argument IGNORE to WRITABLE.  Rewrite doc-string.
(window--state-put-2): Reset all window parameters to nil before
assigning values of persistent parameters.
* windows.texi (Window Configurations): Rewrite references to
persistent window parameters.
(Window Parameters): Fix description of persistent window
parameters.

12 years agoMerge from emacs-23; up to 2012-01-19T07:15:48Z!rgm@gnu.org.
Glenn Morris [Thu, 19 Jan 2012 07:21:25 +0000 (23:21 -0800)]
Merge from emacs-23; up to 2012-01-19T07:15:48Z!rgm@gnu.org.

12 years agoCopy copyright fix from 2010-06-26T12:01:31Z!eliz@gnu.org to one more file.
Glenn Morris [Thu, 19 Jan 2012 07:15:48 +0000 (23:15 -0800)]
Copy copyright fix from 2010-06-26T12:01:31Z!eliz@gnu.org to one more file.

12 years agoRevert unintentional addition of 2012 to Ecma copyright years.
Glenn Morris [Thu, 19 Jan 2012 07:03:15 +0000 (23:03 -0800)]
Revert unintentional addition of 2012 to Ecma copyright years.
This was done by mistake in emacs-23 2010-06-25T08:19:11Z!agustin.martin@hispalinux.es, and then propagated
to one more file in 2010-06-26T12:01:31Z!eliz@gnu.org.

12 years agoSmall bzrmerge.el change.
Glenn Morris [Thu, 19 Jan 2012 06:42:57 +0000 (22:42 -0800)]
Small bzrmerge.el change.

* admin/bzrmerge.el (bzrmerge-missing): Allow a definitive "no" answer
to the "skip?" question, since there can be multiple such for any revision.

12 years agoFix python-wy.el copyright header.
Chong Yidong [Wed, 18 Jan 2012 15:11:11 +0000 (23:11 +0800)]
Fix python-wy.el copyright header.

12 years agoFix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)
Yoshiaki Kasahara [Wed, 18 Jan 2012 15:01:35 +0000 (23:01 +0800)]
Fix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)

* buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to
aliasing change.

12 years agoReorganize Emacs 23.4 NEWS.
Chong Yidong [Wed, 18 Jan 2012 14:58:01 +0000 (22:58 +0800)]
Reorganize Emacs 23.4 NEWS.

12 years agoUpdate ChangeLog.
Alan Mackenzie [Wed, 18 Jan 2012 13:39:32 +0000 (13:39 +0000)]
Update ChangeLog.

12 years agoEliminate sluggishness and hangs in fontification of "semicolon deserts".
Alan Mackenzie [Wed, 18 Jan 2012 13:19:31 +0000 (13:19 +0000)]
Eliminate sluggishness and hangs in fontification of "semicolon deserts".

cc-engine.el (c-state-nonlit-pos-interval): change value 10000 -> 3000.
(c-state-safe-place): Reformulate so it doesn't stack up an infinite
number of wrong entries in c-state-nonlit-pos-cache.
(c-determine-limit-get-base, c-determine-limit): New functions to
determine backward search limits disregarding literals.
(c-find-decl-spots): Amend commenting.
(c-cheap-inside-bracelist-p): New function which detects "={".

cc-fonts.el (c-make-font-lock-BO-decl-search-function): Give a limit to a
backward search.
(c-font-lock-declarations): Fix an occurrence of point being undefined.
Check additionally for point being in a bracelist or near a macro
invocation without a semicolon so as to avoid a fruitless time consuming
search for a declarator.  Give a more precise search limit for
declarators using the new c-determine-limit.

12 years agoMerge from trunk.
Alan Mackenzie [Wed, 18 Jan 2012 11:50:27 +0000 (11:50 +0000)]
Merge from trunk.

12 years ago* tutorial/TUTORIAL.de: Updated; synchronize with TUTORIAL.
Werner LEMBERG [Wed, 18 Jan 2012 10:33:30 +0000 (11:33 +0100)]
* tutorial/TUTORIAL.de: Updated; synchronize with TUTORIAL.
Minor typographical improvements.

12 years ago* etc/TODO: Add entry for writing tests.
Glenn Morris [Wed, 18 Jan 2012 03:38:59 +0000 (19:38 -0800)]
* etc/TODO: Add entry for writing tests.

12 years agofiles.el doc fixes.
Glenn Morris [Wed, 18 Jan 2012 01:33:19 +0000 (20:33 -0500)]
files.el doc fixes.

* lisp/files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
(set-auto-mode): Doc fixes.

12 years agointernational/mule-cmds.el (prefer-coding-system): Show a warning message if the...
Kenichi Handa [Wed, 18 Jan 2012 01:11:15 +0000 (10:11 +0900)]
international/mule-cmds.el (prefer-coding-system): Show a warning message if the default value of file-name-coding-system was not changed.

12 years ago* dired.el (dired-build-subdir-alist): Use string-match-p in previous change.
Glenn Morris [Wed, 18 Jan 2012 00:10:56 +0000 (19:10 -0500)]
* dired.el (dired-build-subdir-alist): Use string-match-p in previous change.

12 years ago* lisp/dired.el (dired-build-subdir-alist): Restrict previous change.
Glenn Morris [Wed, 18 Jan 2012 00:08:05 +0000 (19:08 -0500)]
* lisp/dired.el (dired-build-subdir-alist): Restrict previous change.
(to only file names containing "\"s)

12 years ago* lisp/isearch.el (search-nonincremental-instead): Fix doc typo.
Glenn Morris [Tue, 17 Jan 2012 22:33:05 +0000 (17:33 -0500)]
* lisp/isearch.el (search-nonincremental-instead): Fix doc typo.

12 years ago* doc/lispintro/emacs-lisp-intro.texi (re-search-forward): Fix typo.
Glenn Morris [Tue, 17 Jan 2012 22:31:07 +0000 (17:31 -0500)]
* doc/lispintro/emacs-lisp-intro.texi (re-search-forward): Fix typo.

12 years agoDired fixes for newlines in directory names.
Glenn Morris [Tue, 17 Jan 2012 22:27:46 +0000 (17:27 -0500)]
Dired fixes for newlines in directory names.

* lisp/dired.el (dired-insert-directory): Handle newlines in directory name.
(dired-build-subdir-alist): Unescape newlines in directory name.

12 years agoUpdate the ChangeLog.
Alan Mackenzie [Tue, 17 Jan 2012 18:46:02 +0000 (18:46 +0000)]
Update the ChangeLog.

12 years agoUpdate Slovenian tutorial.
Primoz PETERLIN [Tue, 17 Jan 2012 14:16:42 +0000 (22:16 +0800)]
Update Slovenian tutorial.

12 years ago* net/tramp.el (tramp-local-end-of-line): New defcustom.
Michael Albinus [Tue, 17 Jan 2012 10:29:52 +0000 (11:29 +0100)]
* net/tramp.el (tramp-local-end-of-line): New defcustom.
(tramp-action-login, tramp-action-yesno, tramp-action-yn)
(tramp-action-terminal): Use it.  (Bug#10530)

12 years ago.bzrignore: Ignore etc/__pycache__.
Juanma Barranquero [Mon, 16 Jan 2012 17:04:28 +0000 (18:04 +0100)]
.bzrignore: Ignore etc/__pycache__.

12 years agodoc/lispref/windows.texi (Window Parameters): Use @pxref.
Juanma Barranquero [Mon, 16 Jan 2012 17:00:33 +0000 (18:00 +0100)]
doc/lispref/windows.texi (Window Parameters): Use @pxref.

12 years ago* doc/emacs/programs.texi (Comment Commands): Typo.
Volker Sobek [Mon, 16 Jan 2012 16:00:08 +0000 (11:00 -0500)]
* doc/emacs/programs.texi (Comment Commands): Typo.

Fixes: debbugs:10514
12 years ago* lisp/minibuffer.el (completion--replace): Strip properties.
Stefan Monnier [Mon, 16 Jan 2012 15:50:28 +0000 (10:50 -0500)]
* lisp/minibuffer.el (completion--replace): Strip properties.

Fixes: debbugs:10062
12 years agoProvide persistent window parameters.
Martin Rudalics [Mon, 16 Jan 2012 09:34:41 +0000 (10:34 +0100)]
Provide persistent window parameters.

* window.c (Vwindow_persistent_parameters): New variable.
(Fset_window_configuration, save_window_save): Handle persistent
window parameters.

* window.el (window-state-ignored-parameters): Remove variable.
(window--state-get-1): Rename argument MARKERS to IGNORE.
Handle persistent window parameters.  Make copy of clone-of
parameter only if requested.  (Bug#10348)
(window--state-put-2): Install a window parameter only if it has
a non-nil value or an existing parameter shall be overwritten.

* windows.texi (Window Configurations, Window Parameters):
Describe persistent window parameters.

12 years agoMerge.
Alan Mackenzie [Sun, 15 Jan 2012 19:34:11 +0000 (19:34 +0000)]
Merge.

12 years ago* net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
Michael Albinus [Sun, 15 Jan 2012 16:03:30 +0000 (17:03 +0100)]
* net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.

12 years agoUpdate X Resources chapter of Emacs manual.
Chong Yidong [Sun, 15 Jan 2012 15:26:39 +0000 (23:26 +0800)]
Update X Resources chapter of Emacs manual.

* doc/emacs/xresources.texi (X Resources): Describe GTK+ case first.
(Resources): Don't use borderWidth as an example, since it doesn't
work with GTK+.
(Table of Resources): Clarify role of several resources, including
the Emacs 24 behavior of cursorBlink etc.
(Face Resources): Node deleted.  Recommend using Customize
instead.  Add paragraph to `Table of Resources' node summarizing
how to use X resources for changing faces.
(Lucid Resources): Rewrite, omitting description of font names,
referring to the Fonts node instead.
(LessTif Resources): Copyedits.
(GTK resources): Rewrite, describing the difference between gtk2
and gtk3.
(GTK Resource Basics): New node.
(GTK Widget Names, GTK Names in Emacs): Rewrite.
(GTK styles): Just refer to Fonts node for GTK font format.

* doc/emacs/display.texi (Faces): Document the cursor face.

12 years agoAdd entry for ede-project-directories to NEWS.
Chong Yidong [Sun, 15 Jan 2012 04:11:26 +0000 (12:11 +0800)]
Add entry for ede-project-directories to NEWS.

12 years ago* make-dist: Distribute the etc/grammars subdirectory. emacs-pretest-23.3.90
Chong Yidong [Sun, 15 Jan 2012 03:23:43 +0000 (11:23 +0800)]
* make-dist: Distribute the etc/grammars subdirectory.

12 years agoBump version to 23.3.90.
Chong Yidong [Sun, 15 Jan 2012 03:12:31 +0000 (11:12 +0800)]
Bump version to 23.3.90.
Regenerate ldefs-boot.el and AUTHORS.

12 years agoFix wrong font metrics for mouse highlight (backport 2011-12-15T02:12:08Z!handa@m17n...
YAMAMOTO Mitsuharu [Sun, 15 Jan 2012 02:55:52 +0000 (10:55 +0800)]
Fix wrong font metrics for mouse highlight (backport 2011-12-15T02:12:08Z!handa@m17n.org from trunk)

* src/xftfont.c (xftfont_draw): Use the font metrics of s->font to
fill background (Bug#8992).

12 years agoSome copyright header fixes for grammar files.
Chong Yidong [Sun, 15 Jan 2012 02:48:33 +0000 (10:48 +0800)]
Some copyright header fixes for grammar files.

* etc/grammars/wisent-grammar.el: Make the Python copyright the
literally required one.

* lisp/cedet/semantic/wisent/python-wy.el: Regenerate.

* lisp/cedet/semantic/wisent/js-wy.el: Add missing copyright header

Suggested by Glenn Morris.

12 years ago* etc/tutorials/TUTORIAL: Fix typo.
Chong Yidong [Sun, 15 Jan 2012 02:01:24 +0000 (10:01 +0800)]
* etc/tutorials/TUTORIAL: Fix typo.

12 years agoFix bug #9087 with crashes on MS-Windows under throw-on-input.
Eli Zaretskii [Sat, 14 Jan 2012 20:15:01 +0000 (22:15 +0200)]
Fix bug #9087 with crashes on MS-Windows under throw-on-input.

 src/w32fns.c (signal_user_input): Don't do a QUIT, to avoid
 thrashing the stack of the thread.

12 years agoAllow visiting Info files with no "Up" pointer, such as DIR files.
Eli Zaretskii [Sat, 14 Jan 2012 18:16:28 +0000 (20:16 +0200)]
Allow visiting Info files with no "Up" pointer, such as DIR files.

 lisp/info.el (Info-toc-build): If the Info file has no "Up" pointer,
 don't pass the (nil) value of `upnode' to string-match.

12 years agoEnsure PATH_DUMPLOADSEARCH will have correct value in MSDOS builds.
Eli Zaretskii [Sat, 14 Jan 2012 18:02:59 +0000 (20:02 +0200)]
Ensure PATH_DUMPLOADSEARCH will have correct value in MSDOS builds.

 msdos/sed4.inp (PATH_DUMPLOADSEARCH): Edit to "../lisp", for when the
 default in src/epaths.in will change, maybe.

12 years ago* startup.el (command-line): Fix values recognized by cursorBlink resource.
Chong Yidong [Sat, 14 Jan 2012 16:09:55 +0000 (00:09 +0800)]
* startup.el (command-line): Fix values recognized by cursorBlink resource.

12 years ago* startup.el (command-line): Fix X resource class for cursorColor.
Chong Yidong [Sat, 14 Jan 2012 13:52:14 +0000 (21:52 +0800)]
* startup.el (command-line): Fix X resource class for cursorColor.

12 years agoetc/tutorials/TUTORIAL: Fix a typo.
Eli Zaretskii [Sat, 14 Jan 2012 11:27:16 +0000 (13:27 +0200)]
etc/tutorials/TUTORIAL: Fix a typo.