1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-26 10:49:33 +00:00
Commit Graph

96933 Commits

Author SHA1 Message Date
Chong Yidong
7fd8732d2e Revert 2010-10-18 change; use safe-functions instead.
* cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
Don't mark as safe.

* custom.el (custom-theme-set-variables): Likewise.
(load-theme): Add custom-theme-set-faces and
custom-theme-set-variables to safe-functions while loading.
(custom-enabled-themes): Mark as risky.
2010-10-19 15:22:40 -04:00
Julien Danjou
3f12b18cb5 Remove mode-line end dashes on graphical terminals.
* tutorials/TUTORIAL: Don't mention mode-line end dashes.
* bindings.el: Remove end dashes in default mode-line-format.
2010-10-19 15:20:33 -04:00
Chong Yidong
b8a47412d3 Decouple C-d and delete, so that the former does not delete the region.
* lisp/bindings.el (global-map): Bind C-d to delete-char and deletechar
to delete-forward-char.

* lisp/simple.el (normal-erase-is-backspace-mode): Remap delete to
deletechar, and hence delete-forward-char.

* src/cmds.c (Fdelete_char): Doc fix.
2010-10-19 11:43:27 -04:00
Juanma Barranquero
7c3f6228ff lisp/ChangeLog: Add missing entry. 2010-10-19 13:52:29 +02:00
Juanma Barranquero
ca3fa30248 Merge changes from emacs-23 branch. 2010-10-19 13:44:07 +02:00
Michael Albinus
3224b54d5c * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
(tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
order to make stat results a float.  Patch by Andreas Schwab
<schwab@linux-m68k.org>.
2010-10-19 11:50:07 +02:00
Michael Albinus
bca0f839a5 * net/tramp.el (tramp-do-file-attributes-with-stat)
(tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
order to make stat results a float.  Patch by Andreas Schwab
<schwab@linux-m68k.org>.
2010-10-19 11:26:21 +02:00
Katsumi Yamaoka
2fe10446ee shr.el: Fix last change. 2010-10-19 08:19:45 +00:00
Katsumi Yamaoka
83ffd5713d shr.el: Improve kinsoku and table rendering. 2010-10-19 07:57:50 +00:00
Stefan Monnier
a04f9e264c * lisp/gnus/nnimap.el (nnimap-request-move-article, nnimap-parse-line)
(nnimap-process-expiry-targets): Use unibyte for buffers that hold
undecoded network data.
2010-10-18 20:13:27 -04:00
Lars Magne Ingebrigtsen
2755ee7829 message.el (message-get-reply-headers): If we're fed `to-address', then always use that.
gnus-agent.el (gnus-agent-toggle-plugged): Use the right minor mode name in the mode line spec so that the mode line menu works (bug #2431).
2010-10-18 23:41:03 +00:00
Gnus developers
7cad71ad21 Merge changes made in Gnus trunk.
gnus-art.el: Make the "dumbquotes" translation work again.
gnus-registry.el (gnus-registry-split-fancy-with-parent): Splitting according to references/in-reply-to obeys the ignore-groups variable, while splitting by sender and subject do not.
nnimap.el (nnimap-request-group): Don't SELECT the group twice on `M-g'.
nnimap.el (nnimap-update-info): Update flags/read marks even if \* isn't part of the permanent marks.
gnus-coding.texi (Gnus Maintainance Guide): Update to mention Emacs bzr/Gnus git sync.
gnus-delay.el (gnus-delay-article): Remove superfluous `group' binding.
gnus-art.el (gnus-article-make-menu-bar): The article/group menus aren't so wide as to need to switch off the edit menu.
2010-10-18 22:09:28 +00:00
Julien Danjou
36ba6f0730 * lisp/avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
hidden by `make-pointer-invisible'.
2010-10-18 17:10:38 -04:00
Julien Danjou
c978536f74 * src/frame.c (Fframe_pointer_visible_p):
Add `frame-pointer-visible-p' to get the pointer visibility.
2010-10-18 17:07:31 -04:00
Stefan Monnier
43f964fcf0 * lisp/files.el (locate-file-completion-table): Strip non-matching elements
before checking length of list.

Fixes: debbugs:7238
2010-10-18 17:02:00 -04:00
Lars Magne Ingebrigtsen
4b2d9ec263 (emacs_gnutls_read): Return 0 if we get a non-"EAGAIN"-like error to signal to Emacs that the socket should be closed. 2010-10-18 22:32:54 +02:00
Stefan Monnier
e8b69dc286 * lisp/repeat.el (repeat): Use read-key to ignore mouse-down events.
Fixes: debbugs:6256
2010-10-18 14:38:11 -04:00
Chong Yidong
a8c41b4c0d Don't allow functions that display messages in unsafep.
* emacs-lisp/unsafep.el: Don't mark functions that display
messages as safe.  Suggested by Johan Bockgård.
2010-10-18 13:28:20 -04:00
Chong Yidong
e48eb34332 Use unsafep to check for theme safety.
* cus-face.el (custom-theme-set-faces): Mark as a safe function.

* custom.el (custom-theme-set-variables): Mark as a safe function.
(load-theme): Check forms using unsafep.
2010-10-18 13:26:25 -04:00
Agustín Martín
df987d70a3 ispell.el (ispell-aspell-find-dictionary): Fix aspell data file search (bug#7230). 2010-10-18 18:01:43 +02:00
Ken Brown
5419963b85 * src/s/cygwin.h (SIGNALS_VIA_CHARACTERS): New define (bug#7225). 2010-10-18 08:23:41 -04:00
Katsumi Yamaoka
b41c2f6580 shr.el (shr-insert): Comment fix. 2010-10-18 05:45:06 +00:00
Katsumi Yamaoka
73db8b08c9 shr.el (shr-insert): Don't insert space behind a wide character categorized as kinsoku-bol, or between characters both categorized as nospace. 2010-10-18 05:21:26 +00:00
Stefan Monnier
a7769c3060 (regexp-opt-group, regexp-opt-charset): Turn comments into docstrings 2010-10-17 14:59:58 -04:00
Stefan Monnier
8348910a63 * lisp/minibuffer.el (completion--replace): Move point where it belongs
when there's a common suffix.

Fixes: debbugs:7215
2010-10-17 13:30:22 -04:00
Chong Yidong
392f875a3b Fix a misleading widget message in the last checkin. 2010-10-16 20:05:20 -04:00
Gnus developers
b57a665db1 shr.el (shr-tag-img): Don't align images -- since we're not rescaling, this often leads to ugly displays.
gnus-sum.el (gnus-summary-refer-thread): Bug fix. Add the thread headers to gnus-newsgroup-headers.
2010-10-17 00:04:06 +00:00
Chong Yidong
29a4c45b98 Allow Custom settings to be migrated into a custom theme.
* cus-theme.el (custom-theme--migrate-settings): New var.
(customize-create-theme): Allow editing the `user' theme.
(custom-theme-add-variable, custom-theme-add-var-1)
(custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
to the front of each variable or face widget.
(custom-theme-write): Save theme settings in the correct order.
Optionally, remove saved settings from user customizations.
(custom-theme-write-variables, custom-theme-write-faces): Saved
only the checked widgets.
(customize-themes): Add a link for migrating custom settings.

* custom.el (custom-declare-theme, provide-theme): Use
custom-theme-name-valid-p.
(custom-theme-name-valid-p): Remove checks that are now
unnecessary since themes no longer obey load-path.

* cus-edit.el (custom-variable-value-create): For the simple
style, hide documentation string when hidden.
2010-10-16 20:00:34 -04:00
Chong Yidong
647bc5022f Allow hiding of modified custom widgets.
* cus-edit.el (custom-variable, custom-face): Combine the
:inhibit-magic and :display-style properties into a single
:custom-style property.
(custom-toggle-hide-variable, custom-toggle-hide-face): New
functions.  If hiding an edited value, save it to :shown-value.
(custom-variable-value-create, custom-face-value-create): Use
them.
(custom-magic-reset): Allow magic property to be unset.

* cus-theme.el (custom-theme-add-var-1)
(custom-theme-add-face-1): Use the :custom-style property.

* custom.el: (custom-theme-load-path): Doc fix.
2010-10-16 16:36:20 -04:00
Chong Yidong
782b5e8d92 Move built-in theme directory to etc/.
* custom.el: Custom themes no longer use load-path.
(custom-theme-load-path): New option.  Change built-in theme
directory to etc/.
(custom-enabled-themes): Add custom-theme-load-path dependency.
(custom-theme--load-path): New function.
(load-theme, custom-available-themes): Use it.

* cus-theme.el (describe-theme-1): Use custom-theme--load-path.
(customize-themes): Link to custom-theme-load-path variable.
2010-10-16 14:27:08 -04:00
Eli Zaretskii
d0010be502 Finished work on mouse highlight that comes from display strings.
Not tested yet.

 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.
2010-10-16 18:14:16 +02:00
Ralf Angeli
99f65cface Fix searching for bibitem entries. 2010-10-16 17:08:47 +02:00
Eli Zaretskii
d2038a6126 Support bidi-reordered text in mouse-highlighted mode- and header-lines.
Note: Not tested with actually bidi-reordered strings.

 xdisp.c (note_mode_line_or_margin_highlight): Support
 bidi-reordered strings and R2L glyph rows.  Fix more comments.
2010-10-16 14:52:54 +02:00
Eli Zaretskii
9a3d704fa9 Start working on mouse highlight of mode- and header-lines.
xdisp.c (rows_from_pos_range, mouse_face_from_buffer_pos)
 (note_mode_line_or_margin_highlight): Fix comments.
2010-10-16 12:04:03 +02:00
Gnus developers
283f7b939e Merge changes made in Gnus trunk.
nnimap.el: Use nnheader-message throughout.
gnus.el: Autoload gnus-html-show-images.
mml.el (mml-generate-mime-1): Add `mml-enable-flow' variable to add a possibility to disable format=flow encoding when using hard newlines.
gnus-diary.el (gnus-diary-check-message): Fix gnus-completing-read call.
gnus-sum.el (gnus-summary-refer-thread): unconditionally ignore duplicates.
2010-10-16 01:55:08 +00:00
Chong Yidong
da16abfc7e Bugfixes for `customize-create-theme'.
* cus-theme.el (customize-create-theme): Delete overlays after
erasing.  If given a THEME arg, display only the faces of that arg
instead of custom-theme--listed-faces.
(custom-theme-variable-menu, custom-theme-variable-action)
(custom-variable-reset-theme, custom-theme-delete-variable): Deleted.
(custom-theme-add-variable, custom-theme-add-face): Apply value
from the theme settings, instead of the current value.
(custom-theme-add-var-1, custom-theme-add-face-1): New functions.
(custom-theme-visit-theme): Allow calling outside theme buffers.
(custom-theme-merge-theme): Don't enable the theme when merging.
(custom-theme-write-variables, custom-theme-write-faces): Use the
:shown-value properties to save buffer values, not global ones.
(customize-themes): Display a warning about user customizations.

* cus-edit.el (custom-variable-value-create)
(custom-face-value-create): Obey new special properties
:shown-value and :inhibit-magic.
2010-10-15 20:16:34 -04:00
Eli Zaretskii
e3fc5b1907 Fix the MSDOS build broken by last revisions.
msdos/sed1v2.inp: Use $(..) instead of ${..} in all edit commands.
 Needed because of changes in 2010-10-10T14:43:05Z!dann@ics.uci.edu.
 msdos/sed6.inp (mkinfodir): Edit to avoid Unix shell-isms.  Needed
 because of changes in 2010-10-09T18:31:12Z!rgm@gnu.org.
 src/unexcoff.c (make_hdr): Fix prototype according to changes in
 2010-10-03T13:59:56Z!dann@ics.uci.edu.
2010-10-15 20:45:12 +02:00
Eli Zaretskii
c3911ead5d Fix the MSDOS build broken by latest revisions.
src/unexcoff.c (make_hdr): Fix prototype according to changes in
 2010-10-03T13:59:56Z!dann@ics.uci.edu.
 msdos/sed1v2.inp: Use $(..) instead of ${..} in all edit commands.
 Needed because of changes in 2010-10-10T14:43:05Z!dann@ics.uci.edu.
 msdos/sed6.inp (mkinfodir): Edit to avoid Unix shell-isms.  Needed
 because of changes in 2010-10-09T18:31:12Z!rgm@gnu.org.
2010-10-15 20:42:54 +02:00
Eli Zaretskii
4c0f50c956 Fix last change in etc/NEWS. 2010-10-15 18:44:01 +02:00
Michael Albinus
e499c64d97 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
Suppress expansion of tabs to spaces.
2010-10-15 14:15:43 +02:00
Michael Albinus
aa095b2db9 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Suppress expansion of tabs to spaces.
2010-10-15 14:07:38 +02:00
Eli Zaretskii
7c9b11be16 Fix bug #7196.
NEWS: Expand the entry about "Selection changes".
2010-10-15 13:33:17 +02:00
Eli Zaretskii
d1b08c883f Fix bug #7195 with NEWS entry for of select-active-region'. 2010-10-15 13:00:57 +02:00
Juanma Barranquero
00f113eb56 Document changes made in 2010-10-13T14:50:06Z!lekktu@gmail.com.
os.texi (Dynamic Libraries): New node, with slightly modified
 text deleted from "Image Formats".
 (System Interface): Add @menu entry for "Dynamic Libraries".
 display.texi (Image Formats): Remove description of
 image-library-alist.  (Renamed in 2010-10-13T14:50:06Z!lekktu@gmail.com.)
2010-10-15 12:49:07 +02:00
Katsumi Yamaoka
68f6bd17e5 shr.el (shr-tag-img): Ignore images with no data. 2010-10-15 10:24:10 +00:00
Eli Zaretskii
c56dfd3651 auth.texi (GnuPG and EasyPG Assistant Configuration): Fix markup. 2010-10-15 12:21:03 +02:00
Eli Zaretskii
9cf66cf2ea image.c (tiff_load): Cast 3rd argument to avoid compiler warning. 2010-10-15 12:10:20 +02:00
Katsumi Yamaoka
204380176c shr.el (shr-insert): Remove space inserted before or after a breakable character or at the beginning or the end of a line.
shr.el (shr-find-fill-point): Do kinsoku; find the second best point or give it up if there's no breakable point.
2010-10-15 08:10:56 +00:00
Kenichi Handa
31daa5e17c Fix incorrect font metrics when the same font is opened with different pixelsizes. 2010-10-15 16:49:11 +09:00
Tassilo Horn
cc98b2563e Again, fix a typo in really-oldXMenu target 2010-10-15 09:46:47 +02:00