]> code.delx.au - gnu-emacs/log
gnu-emacs
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.

12 years agoUpdate the Hebrew tutorial.
Eli Zaretskii [Sat, 14 Jan 2012 11:23:45 +0000 (13:23 +0200)]
Update the Hebrew tutorial.

 etc/tutorials/TUTORIAL.he: Update to follow changes to TUTORIAL in
 2012-01-10T08:27:22Z!cyd@gnu.org.
 admin/FOR-RELEASE (Check the Emacs Tutorial): Mark TUTORIAL.he as
 updated and checked.

12 years agoUpdate Emacs Invocation chapter of Emacs manual.
Chong Yidong [Sat, 14 Jan 2012 09:17:25 +0000 (17:17 +0800)]
Update Emacs Invocation chapter of Emacs manual.

* doc/emacs/cmdargs.texi (Action Arguments): No need to mention
EMACSLOADPATH.
(General Variables): Add xref to Lisp Libraries.
(Initial Options): Copyedits.
(Resume Arguments): Node deleted; emacs.bash/csh are obsolete.
(Environment): Clarify what getenv does.
(General Variables): Clarify EMACSPATH etc.  Emacs does not assume
light backgrounds on xterms.
(Misc Variables): TEMP and TMP are not Windows-specific.
(Display X): Copyedits.
(Colors X): -bd does nothing for GTK.
(Icons X): Gnome 3 doesn't use taskbars.

* doc/emacs/misc.texi (Shell): Document exec-path here.

* doc/emacs/rmail.texi (Movemail): Add xref for exec-path.

12 years agoFix race condition in epg.el compat code.
Paul Eggert [Sat, 14 Jan 2012 07:09:15 +0000 (15:09 +0800)]
Fix race condition in epg.el compat code.

* lisp/epg.el (epg--make-temp-file): Avoid permission race condition
when running on old Emacs versions.

Fixes: debbugs:10403
12 years ago* lisp/dired.el (dired-get-filename): Fix 'verbatim case of previous change.
Glenn Morris [Sat, 14 Jan 2012 02:07:49 +0000 (21:07 -0500)]
* lisp/dired.el (dired-get-filename): Fix 'verbatim case of previous change.

12 years agodired fix for `ls -b' quoting of spaces (bug#10469)
Glenn Morris [Fri, 13 Jan 2012 23:09:28 +0000 (18:09 -0500)]
dired fix for `ls -b' quoting of spaces (bug#10469)

* lisp/dired.el (dired-switches-escape-p): New function.
(dired-insert-directory): Use dired-switches-escape-p.
(dired-get-filename): Undo "\ " quoting if needed.

12 years agoFix previous ChangeLog date fix (no need to merge to trunk)
Glenn Morris [Fri, 13 Jan 2012 19:15:24 +0000 (11:15 -0800)]
Fix previous ChangeLog date fix (no need to merge to trunk)

12 years agoChangeLog date fix (no need to merge to trunk)
Glenn Morris [Fri, 13 Jan 2012 17:26:05 +0000 (09:26 -0800)]
ChangeLog date fix (no need to merge to trunk)

12 years agoFix EDE security flaw involving loading arbitrary Lisp from Project.ede.
Eric M. Ludlam [Fri, 13 Jan 2012 13:19:25 +0000 (21:19 +0800)]
Fix EDE security flaw involving loading arbitrary Lisp from Project.ede.

* lisp/ede.el (ede-project-directories): New option.
(ede-directory-safe-p): Check it.
(ede-initialize-state-current-buffer, ede, ede-new)
(ede-check-project-directory, ede-rescan-toplevel)
(ede-load-project-file, ede-parent-project, ede-current-project):
(ede-target-parent): Avoid loading in a project unless it is safe,
since it may involve malicious code.  This security flaw was
pointed out by Hiroshi Oota.

* lisp/ede/auto.el (ede-project-autoload): Add safe-p slot.
(ede-project-class-files): Projects using Project.ede are unsafe.
(ede-auto-load-project): New method.

* lisp/ede/simple.el (ede-project-class-files): Mark as unsafe.

12 years agoFix filling for when filladapt mode is enabled.
Alan Mackenzie [Fri, 13 Jan 2012 10:59:27 +0000 (10:59 +0000)]
Fix filling for when filladapt mode is enabled.

12 years agoTake display-table into account on calculating character/string width (#Bug#9496).
Kenichi Handa [Fri, 13 Jan 2012 05:47:28 +0000 (14:47 +0900)]
Take display-table into account on calculating character/string width (#Bug#9496).

12 years agofind-ls-option doc fixes (bug#10262)
Glenn Morris [Fri, 13 Jan 2012 02:32:07 +0000 (21:32 -0500)]
find-ls-option doc fixes (bug#10262)

* doc/emacs/dired.texi (Dired and Find): Clarify find-ls-options.
* lisp/find-dired.el (find-ls-option): Doc fix.

12 years agoDoc punctuation fixes.
Paul Eggert [Thu, 12 Jan 2012 21:52:31 +0000 (13:52 -0800)]
Doc punctuation fixes.

12 years ago* xdisp.c (rows_from_pos_range): Add parens as per gcc -Wparentheses.
Paul Eggert [Thu, 12 Jan 2012 21:33:25 +0000 (13:33 -0800)]
* xdisp.c (rows_from_pos_range): Add parens as per gcc -Wparentheses.

12 years ago* src/s/gnu-linux.h: Use CRT_DIR.
Sven Joachim [Thu, 12 Jan 2012 10:41:16 +0000 (18:41 +0800)]
* src/s/gnu-linux.h: Use CRT_DIR.

12 years ago* configure.in: Add i386 to cpp_undefs (Bug#8497).
Glenn Morris [Thu, 12 Jan 2012 10:11:38 +0000 (18:11 +0800)]
* configure.in: Add i386 to cpp_undefs (Bug#8497).

12 years ago* url-auth.el (url-digest-auth): Copy previous url-basic-auth change.
Glenn Morris [Thu, 12 Jan 2012 08:14:41 +0000 (00:14 -0800)]
* url-auth.el (url-digest-auth): Copy previous url-basic-auth change.

12 years agourl-auth fix for password-protected urls in url-handler-mode.
Glenn Morris [Thu, 12 Jan 2012 08:11:24 +0000 (00:11 -0800)]
url-auth fix for password-protected urls in url-handler-mode.

* lisp/usr/url-auth.el (url-basic-auth): Allow reading usernames etc
when the minibuffer is already in use, eg in url-handler-mode.

Fixes: debbugs:10298
12 years agoComments.
Glenn Morris [Thu, 12 Jan 2012 07:34:46 +0000 (23:34 -0800)]
Comments.

12 years agoTweak comment from previous change.
Glenn Morris [Thu, 12 Jan 2012 02:13:05 +0000 (21:13 -0500)]
Tweak comment from previous change.

12 years agomail-mode paragraph-separate fix for bug#10276
Glenn Morris [Thu, 12 Jan 2012 02:05:15 +0000 (21:05 -0500)]
mail-mode paragraph-separate fix for bug#10276

* lisp/mail/sendmail.el (mail-mode):
Update paragraph-separate for changes in adaptive-fill-regexp.

12 years agoFix Emacs bug #10463 - put `widen's around the critical spots.
Alan Mackenzie [Wed, 11 Jan 2012 22:21:44 +0000 (22:21 +0000)]
Fix Emacs bug #10463 - put `widen's around the critical spots.

12 years agoFix the last part of bug #10464 with mouse highlight at end of line.
Eli Zaretskii [Wed, 11 Jan 2012 19:45:42 +0000 (21:45 +0200)]
Fix the last part of bug #10464 with mouse highlight at end of line.

 src/xdisp.c (rows_from_pos_range): Handle the case where the
 highlight ends on a newline.
 (mouse_face_from_buffer_pos): Fix off-by-one error in calculating
 he end column for display of highlight that ends on a newline
 before a R2L line.

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