1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 15:52:00 -08:00
Commit graph

103028 commits

Author SHA1 Message Date
Chong Yidong
bfd779dd73 Update Files chapter of Emacs manual.
Plus miscellaneous minor speling fixes in other manual files.

* doc/emacs/files.texi (File Names, Visiting, Interlocking): Copyedits.
(Backup Copying): backup-by-copying-when-mismatch is now t.
(Customize Save): Fix description of require-final-newline.
(Reverting): Note that revert-buffer can't be undone.  Mention VC.
(Auto Save Control): Clarify.
(File Archives): Add 7z.
(Remote Files): ange-ftp-make-backup-files defaults to nil.

* doc/emacs/arevert-xtra.texi (Autorevert): Copyedits.
2011-10-21 22:45:34 +08:00
Eli Zaretskii
f988858079 etc/PROBLEMS: Mention crashes on MS-Windows when compiled with GCC 4.6.1. 2011-10-21 14:29:07 +02:00
Martin Rudalics
e07b9a6d33 Fix and improve mouse-dragging of horizontal/vertical lines.
* mouse.el (mouse-drag-window-above)
(mouse-drag-move-window-bottom, mouse-drag-move-window-top)
(mouse-drag-mode-line-1, mouse-drag-header-line)
(mouse-drag-vertical-line-rightward-window): Remove.
(mouse-drag-line): New function.
(mouse-drag-mode-line, mouse-drag-header-line)
(mouse-drag-vertical-line): Call mouse-drag-line.
* window.el (window-at-side-p, windows-at-side): New functions.
2011-10-21 11:15:32 +02:00
Ulrich Mueller
7e1361d995 tar-grind-file-mode fix.
* lisp/tar-mode.el (tar-grind-file-mode):
Fix handling of setuid/setgid, handle sticky bit.

Fixes: debbugs:9817
2011-10-20 23:44:20 -07:00
Chong Yidong
30fcaf3a28 Use mode-require-final-newline for idlwave.el and vera-mode.el.
* progmodes/idlwave.el (idlwave-mode):
* progmodes/vera-mode.el (vera-mode): Use mode-require-final-newline.
2011-10-20 22:23:59 -04:00
Glenn Morris
e195ae68f8 * test/automated/vc-bzr.el (vc-bzr-test-bug9781): New test. 2011-10-20 18:23:54 -04:00
Glenn Morris
516eddb051 * lisp/vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781) 2011-10-20 17:01:45 -04:00
Eli Zaretskii
55622b93c9 src/bidi.c: Fix a typo in a comment. 2011-10-20 18:37:10 +02:00
Eli Zaretskii
7b5d6677ec Improve the speedup of bidi display introduced in 2011-10-18T16:56:09Z!eliz@gnu.org for bug#9771.
src/dispextern.h (struct bidi_it): New member next_en_type.
 src/bidi.c (bidi_line_init): Initialize the next_en_type member.
 (bidi_resolve_explicit_1): When next_en_pos is valid for the
 current character, check also for next_en_type being WEAK_EN.
 (bidi_resolve_weak): Don't enter the expensive loop if the current
 position is before next_en_pos.  Record the bidi type of the first
 non-ET, non-BN character we find, in addition to its position.
 (bidi_level_of_next_char): Invalidate next_en_type when
 next_en_pos is over-stepped.
2011-10-20 14:39:52 +02:00
Glenn Morris
1ebc9c8726 Auto-commit of generated files. 2011-10-20 06:20:23 -04:00
Paul Eggert
7da0b018f2 Time zone name fixes for non-ASCII locales (Bug#641, Bug#9794)
* configure.in (AC_STRUCT_TM, AC_STRUCT_TIMEZONE, HAVE_TM_GMTOFF):
Remove; no longer needed, now that we defer to strftime for time
zone names.
* src/editfns.c: Rewrite current-time-zone so that it invokes
the equivalent of (format-time-string "%Z") to get the time zone name.
This fixes a bug when the time zone name contains characters that
need converting from the system time locale to Emacs internal format.
This fixes a shortcoming that I introduced in my 1999-10-19 patch:
that patch fixed format-time-string to do the conversion, but
I forgot to fix current-time-zone.
(format_time_string): New function, containing most of
what Fformat_time_string used to contain.
(Fformat_time_string): Rewrite in terms of format_time_string.
This doesn't change this function's behavior.
(current-time-zone): Rewrite to use format_time_string.
This fixes the bug reported by Michael Schierl in
<http://lists.gnu.org/archive/html/emacs-devel/2007-06/msg00334.html>.
Jason Rumney's 2007-06-07 change worked around this bug, but
didn't fix it.
* src/systime.h (tzname, timezone): Remove no-longer-used declarations.
2011-10-19 23:52:55 -07:00
Glenn Morris
07fc67afe3 Fix ChangeLog attribution.
This was clearly a tiny change, ref:
http://article.gmane.org/gmane.emacs.gnus.cvs/8206
2011-10-19 21:16:51 -07:00
Glenn Morris
d04b547af3 Fix ChangeLog attribution.
All 4 listed authors have assignments, so I am not going to bother
working out precisely who wrote which piece of this.
2011-10-19 21:09:12 -07:00
Glenn Morris
b25b4939c6 Fix ChangeLog attribution.
Ref: http://thread.gmane.org/gmane.emacs.gnus.general/56492/focus=57459

From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Subject: Re: display picons _and_ textual address
Newsgroups: gmane.emacs.gnus.general
Date: 2004-05-18 12:21:19 GMT
2011-10-19 21:05:36 -07:00
Glenn Morris
3d1b5d8ec4 Fix ChangeLog attribution.
Ref: http://thread.gmane.org/gmane.emacs.gnus.general/56861/focus=56907

From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: CRM114 Mailfilter and spam.el
Newsgroups: gmane.emacs.gnus.general
Date: 2004-05-20 18:39:25 GMT
2011-10-19 20:58:45 -07:00
Glenn Morris
6ac15d1bed Fix ChangeLog attribution, add bug ref. 2011-10-19 20:50:14 -07:00
Glenn Morris
6e0a9be7c9 * test/automated/vc-bzr.el: New file. 2011-10-19 20:39:45 -07:00
Christoph Scholtes
10d5f51377 * emulation/cua-base.el (cua-set-mark): Fix case of string. 2011-10-19 19:40:32 -06:00
Chong Yidong
6e317956b7 Adapt to new minor mode function behavior in manual examples.
* doc/emacs/custom.texi (Hooks, Init Examples):
* doc/emacs/display.texi (Font Lock):
* doc/emacs/fixit.texi (Spelling):
* doc/emacs/rmail.texi (Rmail Display): Minor mode function with no arg now
enables it.

* doc/emacs/fixit.texi (Spelling): Fix description of inline completion.
2011-10-19 20:41:15 -04:00
Chong Yidong
ac6c8639bd Fix more minor mode docstrings.
* lisp/emulation/cua-base.el (cua-mode):
* lisp/mail/footnote.el (footnote-mode):
* lisp/mail/mailabbrev.el (mail-abbrevs-mode):
* lisp/net/xesam.el (xesam-minor-mode):
* lisp/progmodes/bug-reference.el (bug-reference-mode):
* lisp/progmodes/cap-words.el (capitalized-words-mode):
* lisp/progmodes/compile.el (compilation-minor-mode)
(compilation-shell-minor-mode):
* lisp/progmodes/gud.el (gud-tooltip-mode):
* lisp/progmodes/hideif.el (hide-ifdef-mode):
* lisp/progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
* lisp/progmodes/subword.el (subword-mode):
* lisp/progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
* lisp/progmodes/which-func.el (which-function-mode):
* lisp/term/tvi970.el (tvi970-set-keypad-mode):
* lisp/term/vt100.el (vt100-wide-mode):
* lisp/textmodes/flyspell.el (flyspell-mode):
* lisp/textmodes/ispell.el (ispell-minor-mode):
* lisp/textmodes/nroff-mode.el (nroff-electric-mode):
* lisp/textmodes/paragraphs.el (use-hard-newlines):
* lisp/textmodes/refill.el (refill-mode):
* lisp/textmodes/reftex.el (reftex-mode):
* lisp/textmodes/rst.el (rst-minor-mode):
* lisp/textmodes/sgml-mode.el (html-autoview-mode)
(sgml-electric-tag-pair-mode):
* lisp/textmodes/tex-mode.el (latex-electric-env-pair-mode):
* lisp/vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
* lisp/emulation/crisp.el (crisp-mode):
* lisp/emacs-lisp/eldoc.el (eldoc-mode):
* lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
minor mode behavior.

* lisp/erc/erc-fill.el (erc-fill-mode):
* lisp/erc/erc-track.el (erc-track-minor-mode): Doc fix.

* lisp/erc/erc.el (define-erc-module): Fix autogenerated docstring to
reflect Emacs 24 minor mode changes.

* lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
calling a minor mode from Lisp with nil arg enables it, so we have to
make the working a bit ambiguous here).
2011-10-19 20:26:14 -04:00
Juri Linkov
aa42ab43f2 * lisp/descr-text.el (describe-char): Add #x2010 and #x2011 to
the list of hard-coded chars with escape-glyph face.
2011-10-20 01:35:48 +03:00
Stefan Monnier
89400f1da2 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers. 2011-10-19 17:43:41 -04:00
Michael Albinus
305c07f6ae * net/tramp.el (tramp-connectable-p): Make a stronger check on a
running process.
2011-10-19 22:21:35 +02:00
Glenn Morris
13754b5435 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status): Ignore ignored files.
Fixes: debbugs:9726
2011-10-19 09:42:20 -07:00
Jan Djärv
293cc56ee2 * INSTALL: Remove XCode part. 2011-10-19 17:42:29 +02:00
Chong Yidong
06e21633a4 Fix minor mode docstrings for the new meaning of a nil ARG.
* abbrev.el (abbrev-mode):
* allout.el (allout-mode):
* autoinsert.el (auto-insert-mode):
* autoarg.el (autoarg-mode, autoarg-kp-mode):
* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
(global-auto-revert-mode):
* battery.el (display-battery-mode):
* composite.el (global-auto-composition-mode)
(auto-composition-mode):
* delsel.el (delete-selection-mode):
* desktop.el (desktop-save-mode):
* dired-x.el (dired-omit-mode):
* dirtrack.el (dirtrack-mode):
* doc-view.el (doc-view-minor-mode):
* double.el (double-mode):
* electric.el (electric-indent-mode, electric-pair-mode):
* emacs-lock.el (emacs-lock-mode):
* epa-hook.el (auto-encryption-mode):
* follow.el (follow-mode):
* font-core.el (font-lock-mode):
* frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
* help.el (temp-buffer-resize-mode):
* hilit-chg.el (highlight-changes-mode)
(highlight-changes-visible-mode):
* hi-lock.el (hi-lock-mode):
* hl-line.el (hl-line-mode, global-hl-line-mode):
* icomplete.el (icomplete-mode):
* ido.el (ido-everywhere):
* image-file.el (auto-image-file-mode):
* image-mode.el (image-minor-mode):
* iswitchb.el (iswitchb-mode):
* jka-cmpr-hook.el (auto-compression-mode):
* linum.el (linum-mode):
* longlines.el (longlines-mode):
* master.el (master-mode):
* mb-depth.el (minibuffer-depth-indicate-mode):
* menu-bar.el (menu-bar-mode):
* minibuf-eldef.el (minibuffer-electric-default-mode):
* mouse-sel.el (mouse-sel-mode):
* msb.el (msb-mode):
* mwheel.el (mouse-wheel-mode):
* outline.el (outline-minor-mode):
* paren.el (show-paren-mode):
* recentf.el (recentf-mode):
* reveal.el (reveal-mode, global-reveal-mode):
* rfn-eshadow.el (file-name-shadow-mode):
* ruler-mode.el (ruler-mode):
* savehist.el (savehist-mode):
* scroll-all.el (scroll-all-mode):
* scroll-bar.el (scroll-bar-mode):
* server.el (server-mode):
* shell.el (shell-dirtrack-mode):
* simple.el (auto-fill-mode, transient-mark-mode)
(visual-line-mode, overwrite-mode, binary-overwrite-mode)
(line-number-mode, column-number-mode, size-indication-mode)
(auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
* strokes.el (strokes-mode):
* time.el (display-time-mode):
* t-mouse.el (gpm-mouse-mode):
* tool-bar.el (tool-bar-mode):
* tooltip.el (tooltip-mode):
* type-break.el (type-break-mode-line-message-mode)
(type-break-query-mode):
* view.el (view-mode):
* whitespace.el (whitespace-mode, whitespace-newline-mode)
(global-whitespace-mode, global-whitespace-newline-mode):
* xt-mouse.el (xterm-mouse-mode): Doc fix.

* emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
autogenerated docstring.
2011-10-19 08:54:24 -04:00
Eli Zaretskii
12b3296319 Followup to 2011-10-19T09:48:35Z!eliz@gnu.org.
src/xdisp.c (try_window_reusing_current_matrix): If a line ends in a display
 vector or the next line starts in a display vector, continue
 redrawing the window even though the character position of
 start_row was reached.

Fixes: debbugs:9771
2011-10-19 13:46:17 +02:00
Glenn Morris
ba9d54beb6 Auto-commit of generated files. 2011-10-19 06:18:49 -04:00
Eli Zaretskii
8547b010fa Fix part 2 of bug #9771 with lines that start with a display vector.
src/xdisp.c (start_display): If the character at POS is displayed
 via a display vector, reset IT->current.dpvec_index to zero.
2011-10-19 11:48:35 +02:00
Juri Linkov
5214e501a2 * lisp/net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
by checking environment variables "DESKTOP_SESSION" and
"XDG_CURRENT_DESKTOP".

Fixes: debbugs:9779
2011-10-19 12:10:10 +03:00
Juri Linkov
195f8db97d * lisp/net/browse-url.el (browse-url-browser-function): Add "Chromium".
(browse-url-chromium-program, browse-url-chromium-arguments):
New defcustoms.
(browse-url-default-browser): Check for `browse-url-chromium' and
call `browse-url-chromium-program'.
(browse-url-chromium): New command.

Fixes: debbugs:9779
2011-10-19 12:03:39 +03:00
Chong Yidong
5abc31ef18 Update Search chapter in Emacs manual.
* doc/emacs/search.texi (Repeat Isearch, Error in Isearch): Add kindex entries.
(Isearch Yank): Document isearch-yank-pop.
(Isearch Scroll): Refer to C-l instead of unbound `recenter'.
(Other Repeating Search): Document Occur Edit mode.
2011-10-19 00:21:52 -04:00
Chong Yidong
939db9ac78 More edits to Display chapter of Emacs manual.
* doc/emacs/display.texi (Fringes): Move overflow-newline-into-fringe here,
from Line Truncation node.
(Standard Faces): Note that only the background of the cursor face
has an effect.
(Cursor Display): Fix descriptions of cursor face
and bar cursor blinking.
(Text Display): Document nobreak-char-display more clearly.
(Line Truncation): Add xref to Split Window node.
(Display Custom): Don't bother documenting baud-rate or
no-redraw-on-reenter.

* doc/emacs/search.texi (Slow Isearch): Node removed.
2011-10-18 17:11:17 -04:00
Chong Yidong
4e948d153a Have nobreak-char-display handle U+2010 and U+2011.
See discussion at
http://lists.gnu.org/archive/html/emacs-devel/2011-10/msg00747.html

* src/xdisp.c (get_next_display_element): Handle U+2010 and U+2011
with nobreak-char-display too.
2011-10-18 17:07:56 -04:00
Jan Djärv
0ffe10653b * configure.in (GLIB_REQUIRED, GTK_REQUIRED): Set to 2.10.
Fixes: debbugs:9786
2011-10-18 20:12:53 +02:00
Eli Zaretskii
4787455fb7 Fix bug #9771 with slow redisplay in long lines full of control characters.
src/bidi.c (bidi_line_init): Initialize next_en_pos to zero, not -1.
 (bidi_resolve_neutral): Don't enter the expensive loop looking for
 non-neutral characters if the current character is a paragraph
 separator (a.k.a. Newline).  This avoids running the same
 expensive loop twice, once when we consume the preceding newline
 and the other time when the line actually needs to be displayed.
 Avoid the loop when we see neutrals on the base embedding level
 following a character whose directionality is the same as the
 paragraph's.  This avoids running the expensive loop when a line
 ends in a long sequence of neutrals, like control characters.
 Add assertion against STRONG_AL type.  Slightly rearrange code
 that determines the type of a neutral given the first non-neutral
 that follows it.
 (bidi_level_of_next_char): Set next_en_pos to zero when
 invalidating its info.
2011-10-18 18:56:09 +02:00
Paul Eggert
0a768890ba 2 GiB, not 4 GiB, for buffer sizes. 2011-10-18 08:55:20 -07:00
Paul Eggert
1987bb15c5 Mention buffer size limit --with-wide-int on 32-bit hosts. 2011-10-18 08:34:06 -07:00
Juanma Barranquero
343a34ff0b lisp/facemenu.el (list-colors-duplicates): Detect more duplicates on Windows.
Fixes: debbugs:9722
2011-10-18 16:31:27 +02:00
Teodor Zlatanov
97d0a92c79 Merge changes made in Gnus trunk.
gnus-util.el (gnus-bound-and-true-p): Macro for XEmacs compatibility.
nnir.el (nnir-mode): Use it.
nnmairix.el (nnmairix-determine-original-group-from-registry): Use it.
nnir.el (gnus-registry-enabled): Defvar to keep the compiler happy.
nnmairix.el (gnus-registry-enabled): Ditto.
2011-10-18 14:10:52 +00:00
Stefan Monnier
6978a1514a * lisp/vc/log-edit.el (log-edit): Add "Author:" header to encourage people
to distinguish the author from the committer.
2011-10-18 09:38:09 -04:00
Michael Albinus
6a80b297a1 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently. 2011-10-18 11:58:06 +02:00
Daiki Ueno
28ef7b4285 Fix changelog entry for the last mml2015-epg-find-usable-key change. 2011-10-18 08:12:19 +00:00
Jirka Kosek
b31a567723 * lisp/international/mule.el (sgml-html-meta-auto-coding-function):
Add support for detecting encoding in HTML5 specified only as
<meta charset="UTF-8">.  Implementation just makes http-equiv and
content-type parts from HTML4 encoding string optional.

Fixes: debbugs:9716
2011-10-18 11:02:47 +03:00
Glenn Morris
80c6d77f2d Doc fixes related to vc-initial-comment.
* doc/emacs/maintaining.texi (Registering): Remove vc-initial-comment. 

* lisp/vc/vc.el (vc-initial-comment): Mark as obsolete.

* lisp/ChangeLog.15: Fix old entry.

* etc/NEWS: Mention this.

Fixes: debbugs:9745
2011-10-17 23:52:32 -07:00
Glenn Morris
c9eb8bd155 Small updates for admin/notes/.
* admin/notes/changelogs: Copy some info here from copyright.
* admin/notes/copyright: Tiny update.
2011-10-17 23:24:57 -07:00
Chong Yidong
23769e49c7 * make-dist: Remove Cocoa/Emacs.xcodeproj from distribution. 2011-10-18 02:19:28 -04:00
Chong Yidong
08b0fee82a * lisp/faces.el (cursor): Doc fix.
Also, remove the :foreground attributes from cursor faces
in built-in themes, since that attribute is unmeaningful.
2011-10-18 02:17:05 -04:00
Jan Djärv
743d0817bc Removed nextstep/Cocoa/Emacs.xcodeproj. 2011-10-18 07:47:56 +02:00
Chong Yidong
d366bd532d Edits to Display chapter of Emacs manual.
* doc/emacs/display.texi (Faces): Simplify discussion.  Move documentation
of list-faces-display here, from Standard Faces node.  Note
special role of `default' background.
(Standard Faces): Note special role of `default' background.  Note
that region face may be taken fom GTK.  Add xref to Text Display.
(Text Scale): Rename from "Temporary Face Changes".  Callers
changed.  Don't bother documenting variable-pitch-mode.
(Font Lock): Copyedits.  Remove font-lock-maximum-size.
(Useless Whitespace): Simplify description of
delete-trailing-whitespace.  Note active region case.
(Text Display): Fix description of escape-glyph face assignment.
Remove unibye mode discussion.  Update some parts for Unicode.
Move glyphless chars documentation to Lisp manual.

* doc/emacs/frames.texi (Tooltips): Document x-gtk-use-system-tooltips.

* doc/lispref/display.texi (Glyphless Chars): New node.
2011-10-17 21:42:28 -04:00