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

12 years agoAdd 2012 to FSF copyright years for Emacs files (do not merge to trunk)
Glenn Morris [Wed, 11 Jan 2012 07:52:35 +0000 (23:52 -0800)]
Add 2012 to FSF copyright years for Emacs files (do not merge to trunk)

12 years agoFix name of FSF in copyright headers.
Glenn Morris [Wed, 11 Jan 2012 07:51:05 +0000 (23:51 -0800)]
Fix name of FSF in copyright headers.

12 years agoDuplicate-word and spelling fixes.
Paul Eggert [Wed, 11 Jan 2012 06:53:12 +0000 (22:53 -0800)]
Duplicate-word and spelling fixes.

12 years ago* lisp/dired-aux.el (dired-do-shell-command): Doc fix.
Glenn Morris [Wed, 11 Jan 2012 02:37:31 +0000 (21:37 -0500)]
* lisp/dired-aux.el (dired-do-shell-command): Doc fix.
(Inspired by the Emacs manual.)

12 years ago* lisp/dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
Glenn Morris [Wed, 11 Jan 2012 02:24:02 +0000 (21:24 -0500)]
* lisp/dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)

12 years agoinit_lread fix for bug#10208.
Glenn Morris [Wed, 11 Jan 2012 00:56:25 +0000 (19:56 -0500)]
init_lread fix for bug#10208.

* src/lread.c (init_lread): If no-site-lisp, remove site-lisp dirs
from load-path also when installation-directory is nil.

12 years agoPartial sync of TUTORIAL.fr with TUTORIAL.
Bastien Guerry [Tue, 10 Jan 2012 23:18:43 +0000 (00:18 +0100)]
Partial sync of TUTORIAL.fr with TUTORIAL.

12 years agoFix french translation of TUTORIAL.
Bastien Guerry [Tue, 10 Jan 2012 23:10:07 +0000 (00:10 +0100)]
Fix french translation of TUTORIAL.

This fix is only about the use of the wheel for a mouse.

See the corresponding change in this diff:
http://lists.gnu.org/archive/html/emacs-diffs/2012-01/msg00086.html

12 years agoComments on init_lread.
Glenn Morris [Tue, 10 Jan 2012 22:41:09 +0000 (17:41 -0500)]
Comments on init_lread.

12 years agonntp.el (nntp-send-authinfo): Query `auth-source-search' with the logical server...
Teodor Zlatanov [Tue, 10 Jan 2012 22:04:51 +0000 (22:04 +0000)]
nntp.el (nntp-send-authinfo): Query `auth-source-search' with the logical server name in addition to the actual machine address.
auth-source.el (auth-source-user-and-password): Add convenience wrapper to search by just host and optionally user.

12 years agoTweak previous doc fix.
Glenn Morris [Tue, 10 Jan 2012 20:41:53 +0000 (15:41 -0500)]
Tweak previous doc fix.

For some reason, invocation-directory is also a function.

12 years ago* src/emacs.c (syms_of_emacs) <installation-directory>: Doc fix.
Glenn Morris [Tue, 10 Jan 2012 20:37:10 +0000 (15:37 -0500)]
* src/emacs.c (syms_of_emacs) <installation-directory>: Doc fix.

This confusingly-named variable is typically nil in an installed Emacs,
and in an uninstalled Emacs points to the build directory, rather
than eg the target installation directory.  Yay.

12 years agoChangeLog fixes.
Juanma Barranquero [Tue, 10 Jan 2012 17:32:19 +0000 (18:32 +0100)]
ChangeLog fixes.

12 years agoFix an error message glitch in network-stream.el.
Chong Yidong [Tue, 10 Jan 2012 10:24:42 +0000 (18:24 +0800)]
Fix an error message glitch in network-stream.el.

* net/network-stream.el (network-stream-open-starttls): Avoid
emitting a confusing error message when the server gives a bad
response to the capability command.

12 years ago* src/epaths.in (PATH_DUMPLOADSEARCH): Revert previous change.
Glenn Morris [Tue, 10 Jan 2012 08:54:46 +0000 (00:54 -0800)]
* src/epaths.in (PATH_DUMPLOADSEARCH): Revert previous change.
Makes life microscopically harder for the c. zero people configuring
by hand as per INSTALL.

12 years agoUpdate short copyright year to 2012 (do not merge to trunk)
Glenn Morris [Tue, 10 Jan 2012 08:32:46 +0000 (00:32 -0800)]
Update short copyright year to 2012 (do not merge to trunk)

* etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
* etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
* etc/refcards/fr-survival.tex, etc/refcards/orgcard.tex:
* etc/refcards/pl-refcard.tex, etc/refcards/pt-br-refcard.tex:
* etc/refcards/refcard.tex, etc/refcards/ru-refcard.tex:
* etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
* etc/refcards/sk-survival.tex, etc/refcards/survival.tex:
* etc/refcards/vipcard.tex, etc/refcards/viperCard.tex:
* lib-src/ebrowse.c (version) <emacs_copyright>:
* lib-src/etags.c (print_version) <emacs_copyright>:
* lib-src/rcs2log (Copyright):
* lisp/version.el (emacs-copyright):
* nextstep/Cocoa/Emacs.base/Contents/Info.plist:
* nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Update short copyright year to 2012.

12 years agoUpdate English tutorial.
Chong Yidong [Tue, 10 Jan 2012 08:27:22 +0000 (16:27 +0800)]
Update English tutorial.

* etc/tutorials/TUTORIAL: Don't give instructions for old-style X
scrollbars.  Use DEL terminology instead of DelBack.  Improve
description of graphical continuation lines and mode-line.
Promote use of C-/ and C-SPC.  Remove discussion of flow control.

12 years agoSpelling fixes.
Paul Eggert [Tue, 10 Jan 2012 06:20:22 +0000 (22:20 -0800)]
Spelling fixes.

12 years agoMainly comment fixes related to PATH_LOADSEARCH etc.
Glenn Morris [Tue, 10 Jan 2012 03:00:28 +0000 (22:00 -0500)]
Mainly comment fixes related to PATH_LOADSEARCH etc.

* src/epaths.in (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH, PATH_EXEC)
(PATH_DATA, PATH_DOC): Update the template values to be closer to
their typical values these days.

* Makefile.in, src/epaths.in: Comments.

12 years ago* lisp/mail/unrmail.el (unrmail): Tweak previous change.
Glenn Morris [Tue, 10 Jan 2012 02:22:13 +0000 (21:22 -0500)]
* lisp/mail/unrmail.el (unrmail): Tweak previous change.
(for trailing whitespace in otherwise empty BABYL files).

12 years agoFix bug #10464 with mouse highlight of display strings.
Eli Zaretskii [Mon, 9 Jan 2012 20:45:49 +0000 (22:45 +0200)]
Fix bug #10464 with mouse highlight of display strings.

 src/xdisp.c (rows_from_pos_range): Accept additional argument
 DISP_STRING, and accept any glyph in a row whose object is that
 string as eligible for mouse highlight.  Fixes mouse highlight of
 display strings from overlays.

12 years agoFix uninitialized variable in note_mouse_highlight (backport from trunk).
Eli Zaretskii [Mon, 9 Jan 2012 09:49:08 +0000 (17:49 +0800)]
Fix uninitialized variable in note_mouse_highlight (backport from trunk).

* xdisp.c (note_mouse_highlight): Initialize `area'.  (Bug#9947)

12 years agoAvoid crash on composition (backport from trunk).
Johan Bockgård [Mon, 9 Jan 2012 09:44:18 +0000 (17:44 +0800)]
Avoid crash on composition (backport from trunk).

* xdisp.c (fill_composite_glyph_string): Always set s->face, to
avoid a crash (bug#9496).

12 years agoFix last commit.
Chong Yidong [Mon, 9 Jan 2012 09:40:11 +0000 (17:40 +0800)]
Fix last commit.

12 years agoFix use of uninitialized var (backport from trunk).
Chong Yidong [Mon, 9 Jan 2012 09:35:21 +0000 (17:35 +0800)]
Fix use of uninitialized var (backport from trunk).

* xdisp.c (note_mouse_highlight): Fix use of uninitialized var.

12 years agoFix use of uninitialized variable (backport from trunk).
Eli Zaretskii [Mon, 9 Jan 2012 09:27:02 +0000 (17:27 +0800)]
Fix use of uninitialized variable (backport from trunk).

* xdisp.c (note_mouse_highlight): Initialize `part', to avoid a
possible random value that matches one of those tested as
condition to clear the mouse face.

12 years agoFix glitch in scrolling_window (backport from trunk).
YAMAMOTO Mitsuharu [Mon, 9 Jan 2012 09:23:36 +0000 (17:23 +0800)]
Fix glitch in scrolling_window (backport from trunk).

* dispnew.c (scrolling_window): Truncate overlaps in copy
destination of scroll runs so as to avoid assigning disabled bogus
rows and unnecessary graphics copy operations.

12 years agoBackport Bug#9990 fix from trunk
Eli Zaretskii [Mon, 9 Jan 2012 09:13:27 +0000 (17:13 +0800)]
Backport Bug#9990 fix from trunk

* src/dispnew.c (scrolling_window): Fix incorrect indices in accessing
current_matrix and desired_matrix.  (Bug#9990)

12 years agoAdd missing ChangeLog entry for last change.
Chong Yidong [Mon, 9 Jan 2012 07:58:46 +0000 (15:58 +0800)]
Add missing ChangeLog entry for last change.

12 years ago* lisp/custom.el (custom-safe-themes): Use SHA-256 for hashing.
Chong Yidong [Mon, 9 Jan 2012 07:48:51 +0000 (15:48 +0800)]
* lisp/custom.el (custom-safe-themes): Use SHA-256 for hashing.

* doc/emacs/custom.texi (Custom Themes): Switched custom-safe-themes
to use SHA-256.

12 years agoFix EDE security flaw involving loading arbitrary Lisp from Project.ede.
Eric M. Ludlam [Mon, 9 Jan 2012 06:12:11 +0000 (14:12 +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 agoAdd CEDET grammar files to emacs-23 branch.
Chong Yidong [Mon, 9 Jan 2012 05:42:57 +0000 (13:42 +0800)]
Add CEDET grammar files to emacs-23 branch.

12 years agoMerge changes from emacs-23 branch
Chong Yidong [Mon, 9 Jan 2012 05:29:45 +0000 (13:29 +0800)]
Merge changes from emacs-23 branch

12 years agoOptimise font locking in long enum definitions.
Alan Mackenzie [Sun, 8 Jan 2012 12:49:44 +0000 (12:49 +0000)]
Optimise font locking in long enum definitions.

12 years agoFix ChangeLog typo.
Paul Eggert [Sat, 7 Jan 2012 20:00:56 +0000 (12:00 -0800)]
Fix ChangeLog typo.

12 years agoUndo patch for bug#10403; still being reviewed.
Paul Eggert [Sat, 7 Jan 2012 19:58:55 +0000 (11:58 -0800)]
Undo patch for bug#10403; still being reviewed.