1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-21 10:24:55 +00:00
Commit Graph

103984 Commits

Author SHA1 Message Date
Paul Eggert
27e428e758 Spelling fixes. 2012-01-09 22:20:22 -08:00
Glenn Morris
5b43da69cb 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.
2012-01-09 22:00:28 -05:00
Glenn Morris
b09a806e0f * lisp/mail/unrmail.el (unrmail): Tweak previous change.
(for trailing whitespace in otherwise empty BABYL files).
2012-01-09 21:22:13 -05:00
Eli Zaretskii
a0db8d43d7 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.
2012-01-09 22:45:49 +02:00
Eli Zaretskii
ed516deec4 Fix uninitialized variable in note_mouse_highlight (backport from trunk).
* xdisp.c (note_mouse_highlight): Initialize `area'.  (Bug#9947)
2012-01-09 17:49:08 +08:00
Johan Bockgård
1ba9434183 Avoid crash on composition (backport from trunk).
* xdisp.c (fill_composite_glyph_string): Always set s->face, to
avoid a crash (bug#9496).
2012-01-09 17:44:18 +08:00
Chong Yidong
3f235eece0 Fix last commit. 2012-01-09 17:40:11 +08:00
Chong Yidong
d12815f826 Fix use of uninitialized var (backport from trunk).
* xdisp.c (note_mouse_highlight): Fix use of uninitialized var.
2012-01-09 17:35:21 +08:00
Eli Zaretskii
0c5b9eef72 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.
2012-01-09 17:27:02 +08:00
YAMAMOTO Mitsuharu
de92a50b9e 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.
2012-01-09 17:23:36 +08:00
Eli Zaretskii
d58cba7539 Backport Bug#9990 fix from trunk
* src/dispnew.c (scrolling_window): Fix incorrect indices in accessing
current_matrix and desired_matrix.  (Bug#9990)
2012-01-09 17:13:27 +08:00
Chong Yidong
7655cb66d8 Add missing ChangeLog entry for last change. 2012-01-09 15:58:46 +08:00
Chong Yidong
1de76afef2 * 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.
2012-01-09 15:48:51 +08:00
Eric M. Ludlam
a62d5ee188 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.
2012-01-09 14:12:11 +08:00
Chong Yidong
866b58d61a Add CEDET grammar files to emacs-23 branch. 2012-01-09 13:42:57 +08:00
Chong Yidong
6a43ef8e85 Merge changes from emacs-23 branch 2012-01-09 13:29:45 +08:00
Alan Mackenzie
9d5a8f0b3c Optimise font locking in long enum definitions. 2012-01-08 12:49:44 +00:00
Paul Eggert
1355012ad7 Fix ChangeLog typo. 2012-01-07 12:00:56 -08:00
Paul Eggert
cd0cf8aa18 Undo patch for bug#10403; still being reviewed. 2012-01-07 11:58:55 -08:00
Paul Eggert
9a0115abd1 Merge from trunk. 2012-01-07 11:51:13 -08:00
Eli Zaretskii
6c1bd3f369 Fix bug #6540 with a crash while inserting non-ASCII text under cache-long-line-scans.
src/search.c (scan_buffer): Pass character positions to
 know_region_cache, not byte positions.  (Bug#6540)
2012-01-07 13:57:48 +02:00
Lars Magne Ingebrigtsen
edd9679c37 shr.el (shr-visit-file): Move point to the beginning of the buffer after rendering. 2012-01-07 11:46:47 +00:00
LynX
069d2b5070 Fix bug #10284 with renaming a directory on MS-Windows.
src/w32.c (sys_rename): Report EXDEV when rename of a directory
 fails because the target is on another logical disk.  (Bug#10284)
2012-01-07 11:50:57 +02:00
Chong Yidong
e490b28922 Document Whitespace mode in manual, plus its use in Diff mode.
* doc/emacs/display.texi (Useless Whitespace): Add Whitespace mode.

* doc/emacs/files.texi (Diff Mode): Discuss use of Whitespace mode.

Fixes: debbugs:10300
2012-01-07 16:55:43 +08:00
Chong Yidong
9858c69b83 Fix last change. 2012-01-07 16:14:45 +08:00
Chong Yidong
1de77c4c09 * doc/emacs/files.texi (Diff Mode): Discuss diff-auto-refine-mode.
* doc/emacs/custom.texi (Hooks): Discuss how to disable minor modes.

Fixes: debbugs:10309
2012-01-07 16:12:27 +08:00
David Benjamin
75bf0d3339 Fix focus handling for embedded frames.
* xfns.c (Fx_focus_frame): Use it for embedded frames.

* xterm.c (x_embed_request_focus): New function.

* xterm.h: Add prototype.

Fixes: debbugs:9977
2012-01-07 15:02:06 +08:00
Lars Magne Ingebrigtsen
29232a68e0 * faces.el (set-face-attribute): Clarify the meaning of the nil frame.
Fixes: debbugs:10294
2012-01-07 07:00:56 +01:00
Lars Magne Ingebrigtsen
4e5d086de6 (with-selected-frame): Mention that the selected frame is restored.
Fixes: debbugs:9980
2012-01-07 06:57:57 +01:00
Lars Magne Ingebrigtsen
8e66aebec2 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map.
Fixes: debbugs:9759
2012-01-07 06:50:58 +01:00
Lars Magne Ingebrigtsen
d027f83d9c * macros.texi (Defining Macros): Document `doc-string'.
Fixes: debbugs:9668
2012-01-07 06:48:06 +01:00
Lars Magne Ingebrigtsen
f186bb958a Remove some unused password-related autoloads
* mail/smtpmail.el (password-cache-add): Removed unused declaration.
(password-read): Don't autoload unused function.
2012-01-07 06:34:30 +01:00
Lars Magne Ingebrigtsen
a363cbed1d Fix bug#9693 and bug#9697. 2012-01-07 04:52:56 +00:00
Chong Yidong
c61ab18c89 Update Lossage chapter of Emacs manual.
* doc/emacs/trouble.texi (Lossage): Refer to Bugs node for problems.
(DEL Does Not Delete): Don't use "usual erasure key" teminology.
(Screen Garbled): Don't refer to terminal "manufacturers".
(Total Frustration): Node deleted.  Eliza is documented in
Amusements now.
(Known Problems): More info about using the bug tracker.  Mention
debbugs package.
(Bug Criteria): Copyedits.
(Understanding Bug Reporting): Mention emacs -Q.
2012-01-07 11:15:48 +08:00
Gnus developers
e7719ea1b2 Merge changes made in Gnus trunk.
2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  * gnus.texi (Group Parameters): Really note precedence.
2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  * mm-decode.el (mm-interactively-view-part): Use `completing-read',
  since ido doesn't work on symbols (bug#9632).
  * gnus.el (gnus-group-fast-parameter): Use the same precedence rules
  when getting a single value as when getting all the values.  This means
  that atoms like `gcc-self' work cumulatively, like variable settings,
  instead of getting the value from the last matching clause.
  (gnus-group-find-parameter): Protect against the group buffer not
  existing (bug#9585).
2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  * gnus-start.el (gnus-activate-group): Document more parameters
  (bug#9694).
  * gnus-group.el (gnus-group-read-ephemeral-group): Doc clarification
  (bug#9692).
  * gnus-agent.el (gnus-agent-store-article): Tell the Agent when the
  article was fetched, so that it can be expired later (bug#9958).
  (gnus-agent-summary-fetch-series): Add doc string.
  (gnus-agent-summary-fetch-group): Don't remove tick and dormant marks
  (bug#9517).
  * nntp.el (nntp-retrieve-groups): Refuse to do retrieval when an async
  retrieval is happening.
  * gnus.el (gnus-parameters): Doc fix.
2012-01-06  Dave Abrahams  <dave@boostpro.com>  (tiny change)
  * gnus-sum.el (gnus-summary-refer-thread): If the subtree is hidden,
  show the thread after expansion.
2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  * gnus-art.el (article-narrow-to-head): If the head is completely
  empty, narrow to the empty region (bug#9764).
  * gnus-sum.el (gnus-summary-mark-article-as-unread): Mark articles as
  read, and then mark them as unread only when the unread mark is used.
  This makes `C-- T k' actually work, even though it's confusing.
  * gnus-win.el (gnus-all-windows-visible-p): Ensure that the buffer is
  alive before we try to find its window.
2012-01-06  Brian Sniffen  <bsniffen@akamai.com>  (tiny change)
  * mm-decode.el (mm-display-external): Use a longer timeout for the
  deletion to allow slow programs to display the file.
2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  * gnus-art.el (gnus-article-browse-delete-temp-files): Fix up the
  prompt to be less confusing.
2012-01-07 01:13:52 +00:00
Juanma Barranquero
adf4e76281 lisp/progmodes/which-func.el (which-func-mode): Fix bug#10428.
Turn into a non-interactive function and mark as obsolete.
2012-01-07 01:26:10 +01:00
Chong Yidong
89bd9ccd5b More customization-related documentation updates.
* doc/emacs/custom.texi (Specifying File Variables): The mode: keyword
doesn't have to be first anymore.  Add example of specifying minor
modes.
(Directory Variables): Simplify example.  Mention application to
non-file buffers.
(Disabling): Use "initialization file" terminology.
(Init Examples): Fix hook example.

* doc/lispref/variables.texi (Directory Local Variables): Document
hack-dir-local-variables-non-file-buffer.

* lisp/files.el (hack-dir-local-variables-non-file-buffer): Add doc.
(hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
functions, along with 1 and -1.
2012-01-06 18:53:41 +08:00
Eli Zaretskii
8034735f6f Fix bug #10422 with Registry-related index entries.
doc/emacs/cmdargs.texi (MS-Windows Registry): Shorten the index entry.
 Move the stuff about resources to xresources.texi.
 doc/emacs/xresources.texi (Resources): Move information about setting X
 resources in the Registry from cmdargs.texi.  Make the index entry
 be similar to the one in cmdargs.texi.
2012-01-06 12:17:23 +02:00
Eli Zaretskii
4afee9d5fd Fix doc strings of 2 time.el variables.
lisp/time.el (display-time-load-average)
 (display-time-default-load-average): Doc fixes.  See the thread starting at
 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
 for the details.
2012-01-06 11:43:59 +02:00
Eli Zaretskii
24ea72d3eb Mention in NEWS the change in 2012-01-06T08:10:22Z!rgm@gnu.org with `e' binding in Info.
Fixes: debbugs:10385
2012-01-06 11:33:08 +02:00
Eli Zaretskii
d59e75c817 Commit of auto-generated files. 2012-01-06 11:32:18 +02:00
Glenn Morris
665ae8654b Trivial unrmail fix for empty input files.
* lisp/mail/unrmail.el (unrmail): Give an explicit error if the input
file has no messages.

Fixes: debbugs:10377
2012-01-06 00:34:47 -08:00
Glenn Morris
c869783d91 Change the binding of "e" in info-mode.
* doc/lispref/maps.texi (Standard Keymaps): Refer to Info-edit by name
rather than by keybinding.

* lisp/info.el (Info-mode-map): Bind e to end-of-buffer, rather
than Info-edit.

Fixes: debbugs:10385
2012-01-06 00:10:22 -08:00
Glenn Morris
5063dddc11 * lisp/erc/erc.el (erc-tls): Add autoload cookie.
Fixes: debbugs:10333
2012-01-05 23:48:47 -08:00
Glenn Morris
2bb4227ed1 time.el minor doc fixes.
* lisp/time.el (display-time-load-average, display-time-next-load-average):
Doc fixes.
2012-01-05 23:45:55 -08:00
Glenn Morris
7d5944b986 Trivial bytecomp.el fix for file-local buffer-read-only.
* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a
file local setting of buffer-read-only to the input buffer.

Fixes: debbugs:10419
2012-01-05 23:37:01 -08:00
Lars Magne Ingebrigtsen
98cc61deb6 gnus-msg.el (gnus-summary-reply): Do not give a switch-to-buffer' argument to message-reply'. This broke `special-display-*' frame pop-uping (bug#10238). 2012-01-06 05:48:48 +00:00
Glenn Morris
536aea70db * lisp/calendar/calendar.el (calendar-mode): Locally set scroll-margin to 0. 2012-01-05 20:03:40 -05:00
Ulrich Mueller
7dccca16f0 * lisp/play/doctor.el (doctor-death): Escape "," characters.
Fixes: debbugs:10370
2012-01-05 19:12:46 -05:00
Glenn Morris
afbb793039 eshell fix for change in return value of `diff' command (bug#10420)
* lisp/eshell/em-unix.el (diff-no-select): Autoload it.
(eshell/diff): Use diff-no-select.
2012-01-05 18:36:41 -05:00