1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

96896 Commits

Author SHA1 Message Date
Glenn Morris
7dfc15df2f * lisp/textmodes/flyspell.el (flyspell-mode): If there was an error,
say what it was.

Otherwise someone is going to report the same meaningless bug for the
rest of time.

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5574
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5576
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7272
2010-10-23 14:58:18 -07:00
Glenn Morris
e1fd756bae * src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp. 2010-10-23 14:21:49 -07:00
Glenn Morris
a102db1ee5 * src/xdisp.c (syms_of_xdisp) <hourglass-delay>: Sync doc with Lisp. 2010-10-23 14:19:02 -07:00
Glenn Morris
6e82cf1a1d * src/xdisp.c (syms_of_xdisp) <display-hourglass>: Sync doc with Lisp. 2010-10-23 14:16:39 -07:00
Glenn Morris
66c6abf0d7 Sync docs of cursor-in-non-selected-windows between Lisp and C.
* lisp/frame.el (cursor-in-non-selected-windows): Sync doc with C version.
* src/buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>:
Sync doc with Lisp version.
2010-10-23 14:13:39 -07:00
Glenn Morris
f3d87560ba Sync docs of C and Lisp version of auto-hscroll-mode.
* lisp/frame.el (auto-hscroll-mode): Sync doc with C version.
* src/xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Sync doc with Lisp.
2010-10-23 14:02:44 -07:00
Glenn Morris
3193e969df Make all copies of xw-defined-colors have identical docs.
* lisp/term/ns-win.el (xw-defined-colors):
* lisp/term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2010-10-23 13:43:59 -07:00
Glenn Morris
6f748f70b6 Make all 3 copies of x-select-enable-clipboard have the same doc.
* lisp/term/pc-win.el (x-select-enable-clipboard):
* lisp/term/x-win.el (x-select-enable-clipboard):
* lisp/w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2010-10-23 13:40:46 -07:00
Glenn Morris
7aa93795cb * lisp/comint.el (comint-password-prompt-regexp): Make it less vague.
Bump custom version.

The initial regexp-opt was bracketed by \\( \\)?, so it might as well
have not been there at all.  This change makes it non-optional, and
adds back "^".  Hopefully the behaviour is now closer to that of emacs-23,
before it was re-written in http://debbugs.gnu.org/2817.
2010-10-23 12:56:57 -07:00
Glenn Morris
41f592d1b5 * test/comint-testsuite.el
(comint-testsuite--test-comint-password-prompt-regexp):
Add "Please enter the password".  (Bug#7224)
2010-10-23 12:51:14 -07:00
Eli Zaretskii
914f049bea src/ChangeLog: Revert inadvertent change of entry date. 2010-10-23 19:33:03 +02:00
Eli Zaretskii
d1d6801eb4 Implement mouse highlight for bidi-reordered lines.
xdisp.c (fast_find_string_pos): #ifdef away, not used anymore.
 (mouse_face_from_string_pos): New function, replaces
 fast_find_string_pos.
 (note_mouse_highlight): Call it instead of fast_find_string_pos.
 (note_mode_line_or_margin_highlight): Support bidi-reordered
 strings and R2L glyph rows.  Fix comments.
 (note_mouse_highlight): When bidi reordering is turned on in a
 buffer, call next-single-property-change and
 previous-single-property-change with last argument nil.  Clear
 mouse highlight when mouse pointer is in a R2L row on the stretch
 glyph that stands for no text beyond the line end.
 (row_containing_pos): Don't return too early when CHARPOS is in a
 bidi-reordered continued line.  Return immediately when the first
 hit is found in a line that is not continued, or when an exact
 match for CHARPOS is found.
 (rows_from_pos_range): New function.
 (mouse_face_from_buffer_pos): Use it instead of calling
 row_containing_pos for START_CHARPOS and END_CHARPOS.  Rewrite the
 function to support mouse highlight in bidi-reordered lines and
 not to assume that START_CHARPOS is always in mouse_face_beg_row.
 If necessary, swap mouse_face_beg_row and mouse_face_end_row so
 that the former is always above the latter or identical to it.
 (show_mouse_face): Support drawing highlighted R2L lines.
 (coords_in_mouse_face_p): New function, bidi-aware.
 (cursor_in_mouse_face_p, note_mouse_highlight, erase_phys_cursor):
 Call it instead of comparing with mouse-face members of dpyinfo.
 (note_mode_line_or_margin_highlight): Fix confusingly swapped
 usage of hpos and vpos.
2010-10-23 17:30:45 +02:00
Eli Zaretskii
a4041a7121 Fix support for R2L lines. Tested with reordered text.
xdisp.c (mouse_face_from_string_pos): Fix support for R2L lines.
2010-10-23 16:41:50 +02:00
Eli Zaretskii
03f46be29c The range [STARTPOS..ENDPOS] is inclusive in strings.
Tested with multiline display strings.

 xdisp.c (mouse_face_from_string_pos): Fix off-by-one error when
 testing against ENDPOS.
2010-10-23 14:58:12 +02:00
Eli Zaretskii
7b7e2c18a6 Tested with L2R rows and mouse highlight on a single line.
xdisp.c (mouse_face_from_string_pos): Initialize the `found'
 flag to zero, and exit the outer loop when it's non-zero.  Bail
 our early if no row in the window belongs to the highlighted
 string.  Always back up after exiting the second loop.
2010-10-23 14:28:28 +02:00
Jan Djärv
a6ac7fc4fd Mention faceName for Lucid menu/dialog fonts. 2010-10-23 11:18:19 +02:00
Glenn Morris
17284e3024 Replace digest-doc and sorted-doc C programs with Lisp commands.
* lib-src/digest-doc.c, lib-src/sorted-doc.c: Remove files.
* lib-src/Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
(digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
* lib-src/makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
(install): Don't install digest-doc.exe or sorted-doc.exe.

* lisp/help-fns.el (doc-file-to-man, doc-file-to-info): New commands.

* doc/lispref/help.texi (Documentation Basics): Remove mentions of
digest-doc and sorted-doc.

* INSTALL, nt/README, nt/README.W32: Do not mention digest-doc and sorted-doc.

* etc/NEWS: Mention this change.
2010-10-22 19:46:06 -07:00
Glenn Morris
aa02a29f61 * lisp/help.el (finder-by-keyword): Remove unnecessary autoload. 2010-10-22 19:36:28 -07:00
Gnus developers
280f417b7e Merge changes made in Gnus trunk.
gnus.texi (Subscription Commands): Mention that you can also subscribe to new groups via the Server buffer, which is probably more convenient when subscribing to many groups.
gnus-group.el (gnus-group-mark-group): Use gnus-group-position-point instead of the summary one.
shr.el (shr-tag-img): Don't bug out on images that don't have a SRC.
2010-10-23 00:01:49 +00:00
Glenn Morris
039c6cc33e Obscure an example DEFVAR_INT comment so as to evade make-docfile. 2010-10-22 01:02:31 -07:00
Jan D
dee186b61d Fix compilation with Motif (Bug#7263).
* src/xfns.c: Include Xm/TextF and Xm/List.
(file_dialog_cb, file_dialog_unmap_cb, clean_up_file_dialog): Make
ANSI prototypes.

* src/xmenu.c: Revert 2010-07-27 change: lwlib.h is needed for
MOTIF (Bug#7263).

* src/xrdb.c: Include keyboard.h for MOTIF.
2010-10-22 07:49:47 +02:00
Katsumi Yamaoka
48c9482c11 mml.el (mml-preview): Fix last change. 2010-10-22 04:30:27 +00:00
Katsumi Yamaoka
f9bbc77a40 mml.el (mml-preview): Work properly when editing article. 2010-10-22 04:15:14 +00:00
Glenn Morris
9a0dd02d20 Support for systems without floats was removed a decade ago.
* lisp/loadup.el: Unconditionally load float-sup.
* lisp/paren.el (show-paren-delay):
* lisp/emacs-lisp/float-sup.el:
* lisp/emulation/cua-base.el (cua-prefix-override-inhibit-delay):
* lisp/obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
(lazy-lock-stealth-verbose): Assume float support.
* lisp/ps-print.el: Assume float support on Emacs.
* lisp/emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
Remove non-float branch.

* lisp/obsolete/lazy-lock.el: Remove leading `*' from defcustom docs.
2010-10-21 21:03:55 -07:00
Glenn Morris
2f42e9a286 Fix format of old ChangeLog entry. 2010-10-21 20:38:52 -07:00
Glenn Morris
5fb59edbdd * src/Makefile.in (SOME_MACHINE_LISP): Add w32-vars.
Remove ccl and duplicate mouse.
2010-10-21 20:37:20 -07:00
Glenn Morris
e64ae4e80a Add bug ref to Changelog entry. 2010-10-21 20:34:22 -07:00
Glenn Morris
69b5513153 Small autoloads fix.
* lisp/emacs-lisp/autoload.el (batch-update-autoloads): Update for
src/Makefile no longer being pre-processed.
2010-10-21 20:32:46 -07:00
Glenn Morris
1a71dc4933 * admin/make-tarball.txt: Misc updates. 2010-10-21 20:28:21 -07:00
Glenn Morris
f3dd02ea54 * make-dist: Avoid listing .el files twice.
Don't try to run autoconf if --no-update.
2010-10-21 20:26:34 -07:00
Stefan Monnier
7c23d9e85b * lisp/emacs-lisp/find-func.el (find-library): Use test-completion. 2010-10-21 23:17:26 -04:00
Gnus developers
e0da801ae4 gnus-group.el (gnus-group-unsubscribe-group): Fix args passed to gnus-group-completing-read.
gnus-start.el (gnus-read-active-file-1): Don't add method to gnus-have-read-active-file if it's already been in.
2010-10-22 01:39:13 +00:00
Gnus developers
d806c87222 message.el (message-setup-1): Allow message-default-headers to be a function.
message.el (message-mode-map): Don't bind M-; to comment region, to allow the global comment-dwim to work.
2010-10-21 22:12:01 +00:00
Lars Magne Ingebrigtsen
23737b4aee * newcomment.el (comment-dwim): Fix the intentation in the doc string. 2010-10-21 22:12:38 +02:00
Chong Yidong
8b78d5e38f * insdel.c (prepare_to_modify_buffer): Don't set
saved-region-selection if modification hooks are disabled.
2010-10-21 13:27:32 -04:00
Michael Albinus
01d884cf2e * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
space in stat format string.
(tramp-send-command): Unset $PS1 when using here documents, in
order not to get several prompts.
(tramp-get-inline-coding): Return `nil' in case of errors.
2010-10-21 10:05:23 +02:00
Katsumi Yamaoka
3c06637349 shr.el (shr-tag-table): Simplify. 2010-10-21 05:36:36 +00:00
Lars Magne Ingebrigtsen
d815edf0e6 gnus-html.el (gnus-html-prefetch-images): Only prefetch http images to avoid trying to snarf invalid stuff. 2010-10-21 03:48:01 +00:00
Katsumi Yamaoka
1171414dae gnus-sum.el (gnus-summary-edit-article-done): Bind replace-result. 2010-10-21 02:52:45 +00:00
Lars Magne Ingebrigtsen
d99bf2d833 gnus.el (gnus-message-archive-group): Quote value.
gnus.el (gnus-message-archive-group): Mark as changed.
2010-10-21 02:44:47 +00:00
Daiki Ueno
08ffb13109 Tweak revert-buffer-function to inhibit auto-mode-alist.
* hexl.el (hexl-mode, hexl-mode-exit): Tweak
revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
(hexl-revert-buffer-function): New function.
(hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2010-10-21 11:38:46 +09:00
Lars Magne Ingebrigtsen
d5798f68cc gnus-news.texi: Mention new archive defaults. 2010-10-21 02:31:33 +00:00
Lars Magne Ingebrigtsen
6c85a14fb7 message.el (message-fix-before-sending): Change options when sending non-printable characters.
shr.el (shr-add-font): Don't put the font properties on the newline or the indentation.
2010-10-21 01:49:12 +00:00
Lars Magne Ingebrigtsen
514d91284a gnus.el (gnus-update-message-archive-method): Change the default to monthly outgoing groups. 2010-10-21 01:28:34 +00:00
Lars Magne Ingebrigtsen
728fd3b97f Allow nnimap article editing (sort of).
gnus-sum.el (gnus-summary-edit-article-done): Try to replace articles that have gotten new numbers.
nnimap.el (nnimap-request-replace-article): New function.
2010-10-21 01:23:34 +00:00
Katsumi Yamaoka
b79bbef7ad gnus.texi (RSS): Remove nnrss-wash-html-in-text-plain-parts. 2010-10-21 00:33:40 +00:00
Katsumi Yamaoka
ab388ec43c nnrss.el (nnrss-wash-html-in-text-plain-parts): Remove.
nnrss.el (nnrss-request-article): Don't use special html washing code.
2010-10-21 00:27:32 +00:00
Gnus developers
2526f42379 Merge changes made in Gnus trunk.
nnimap.el (nnimap-insert-partial-structure): Fix boundary detection.
spam.el (spam-list-of-processors): Mark as obsolete.
gnus-art.el (gnus-blocked-images): New function.  Allow the `gnus-blocked-images' to be a function.
gnus-art.el (gnus-article-wash-function): Remove it, and use `mm-text-html-renderer' instead.
mm-decode.el (mm-inline-text-html-renderer): Removed.
mm-decode.el (mm-inline-media-tests): Removed use.
mm-view.el (mm-inline-text-html): Removed use.
mm-view.el (mm-text-html-renderer-alist): Add the `shr' and `gnus-w3m' symbols.
gnus.texi (Article Washing): shr and gnus-w3m, not the direct function names.
gnus-art.el (article-wash-html): Simplify and remove the charset stuff.  Use the normal html rendering code instead of the special html washing code.
mm-view.el (mm-text-html-washer-alist): Removed.
gnus-news.texi: Mention that mm-text-html-renderer is the only HTML variable now.
shr.el (shr-tag-table): Remove useless nconc.
2010-10-20 22:29:38 +00:00
Katsumi Yamaoka
4bfb8dec36 shr.el (shr-tag-table): Fix last change. 2010-10-20 12:24:49 +00:00
Julien Danjou
9d1bf25d2d nnimap.el (nnimap-request-article): Fix BODYSTRUCTURE retrieval. 2010-10-20 10:34:58 +00:00