Daiki Ueno
3ec6ca720b
Try to use "gpg2" if "gpg" isn't available.
...
* epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
executable is not available on the system (Bug#7268).
2010-10-24 12:12:17 +09:00
Glenn Morris
f5f2561564
Sync docs of selection-coding-system between C and Lisp.
...
* src/w16select.c (syms_of_win16select) <selection-coding-system>:
* src/w32select.c (syms_of_w32select) <selection-coding-system>:
Sync docs with select.el.
* lisp/select.el (selection-coding-system): Sync doc with C versions.
2010-10-23 19:22:43 -07:00
Glenn Morris
3646b86d0e
Sync Lisp and C docs of next-selection-coding-system.
...
* src/w16select.c (syms_of_win16select) <next-selection-coding-system>:
* src/w32select.c (syms_of_w32select) <next-selection-coding-system>:
Sync docs with select.el.
* lisp/select.el (next-selection-coding-system): Sync doc with C versions.
2010-10-23 19:13:37 -07:00
Glenn Morris
8aa0f26343
Reduce duplicate definitions of x-select-enable-clipboard from 3 to 2.
...
* lisp/w32-vars.el (x-select-enable-clipboard):
* lisp/term/x-win.el (x-select-enable-clipboard): Move to common-win.
* lisp/term/common-win.el (x-select-enable-clipboard): Move here.
2010-10-23 18:57:21 -07:00
Glenn Morris
46710489c8
Remove duplicate definition of tty-defined-color-alist.
...
* src/xfaces.c (syms_of_xfaces) <tty-defined-color-alist>: Sync doc with
Lisp version.
* lisp/term/tty-colors.el (tty-defined-color-alist): Remove duplicate
definition of C variable.
2010-10-23 18:48:39 -07:00
Glenn Morris
ea88388346
Sync X and MS-Windows docs for x-use-underline-position-properties.
...
* src/w32term.c (syms_of_w32term) <x-use-underline-position-properties>:
Sync doc with the xterm.c version.
2010-10-23 18:22:37 -07:00
Glenn Morris
65807d7334
Sync X and MS-Windows docs of x-toolkit-scroll-bars.
...
* src/w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
* src/xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Sync docs.
2010-10-23 18:15:43 -07:00
Glenn Morris
ec51400782
Avoid redefining some C defcustoms.
...
* lisp/frame.el (show-trailing-whitespace, auto-hscroll-mode)
(display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
Don't redefine things that are defined in C.
* lisp/cus-start.el: Also handle :risky, :safe, :set, and :tag.
(show-trailing-whitespace, auto-hscroll-mode)
(display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
Set up the appropriate custom properties.
2010-10-23 17:58:22 -07:00
Lars Magne Ingebrigtsen
530f7b6727
gnus-group.el (gnus-group-completing-read): Remove all newlines from group names. They mess up the group buffer badly.
...
shr.el (shr-tag-strong): Added.
2010-10-24 00:29:21 +00:00
Chong Yidong
8a79905db4
Bind "C-c ]" to block-closing commands in several modes.
...
Bind "C-c ]" to ...
* progmodes/f90.el (f90-mode-map): ... f90-insert-end.
* nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
* textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
* textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2010-10-23 20:21:59 -04:00
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