]> git.eshelyaron.com Git - emacs.git/log
emacs.git
14 years agoFallout from fixing bug #7587.
Eli Zaretskii [Sat, 18 Dec 2010 08:53:28 +0000 (10:53 +0200)]
Fallout from fixing bug #7587.

 doc/lispref/modes.texi (Emulating Mode Line): Update documentation of
 format-mode-line according to changes that fixed bug #7587.

 etc/NEWS: Mention the incompatible change in format-mode-line wrt its
 FACE argument.

14 years agoFix change that fixed bug #7587.
Eli Zaretskii [Fri, 17 Dec 2010 15:38:37 +0000 (17:38 +0200)]
Fix change that fixed bug #7587.

 xdisp.c (Fformat_mode_line): Fix last change.

14 years ago* lisp/help-fns.el (describe-variable): Don't emit trailing whitespace (Bug#7511).
Chong Yidong [Fri, 17 Dec 2010 11:38:22 +0000 (19:38 +0800)]
* lisp/help-fns.el (describe-variable): Don't emit trailing whitespace (Bug#7511).

14 years ago* lisp/mail/binhex.el: Improve commentary (Bug#7482).
Chong Yidong [Fri, 17 Dec 2010 11:16:10 +0000 (19:16 +0800)]
* lisp/mail/binhex.el: Improve commentary (Bug#7482).

14 years agoMinor fix for eshell-previous-matching-input (Bug#7585).
Leo Liu [Fri, 17 Dec 2010 11:04:40 +0000 (19:04 +0800)]
Minor fix for eshell-previous-matching-input (Bug#7585).

* lisp/eshell/em-hist.el (eshell-previous-matching-input): Signal error
if point is not behind eshell-last-output-end (Bug#7585).

14 years ago* xdisp.c (Fformat_mode_line): Restrict the FACE argument to basic faces (Bug#7587).
Chong Yidong [Thu, 16 Dec 2010 02:13:28 +0000 (10:13 +0800)]
* xdisp.c (Fformat_mode_line): Restrict the FACE argument to basic faces (Bug#7587).

14 years agoUse make-temp-file in rst.el (Bug#7646).
Chong Yidong [Thu, 16 Dec 2010 01:11:21 +0000 (09:11 +0800)]
Use make-temp-file in rst.el (Bug#7646).

* textmodes/rst.el (rst-compile-pdf-preview)
(rst-compile-slides-preview): Use make-temp-file.

14 years agoFix error in last commit.
Chong Yidong [Wed, 15 Dec 2010 01:33:11 +0000 (09:33 +0800)]
Fix error in last commit.

14 years ago* emulation/edt-mapper.el: Override mapping of function keys
Kevin Gallagher [Wed, 15 Dec 2010 01:26:56 +0000 (09:26 +0800)]
* emulation/edt-mapper.el: Override mapping of function keys
so that the later call to read-key-sequence works.

14 years ago* doc/emacs/trouble.texi (Checklist): Mention not replying via news either.
Glenn Morris [Tue, 14 Dec 2010 04:22:49 +0000 (20:22 -0800)]
* doc/emacs/trouble.texi (Checklist): Mention not replying via news either.

14 years agoFix bug #7617 with documentation of expand-file-name.
Eli Zaretskii [Mon, 13 Dec 2010 16:13:29 +0000 (18:13 +0200)]
Fix bug #7617 with documentation of expand-file-name.

 fileio.c (Fexpand_file_name): One more doc fix.

14 years agoFix bug #7589 with EOL format in smtpmail's queued mail.
Eli Zaretskii [Mon, 13 Dec 2010 15:12:01 +0000 (17:12 +0200)]
Fix bug #7589 with EOL format in smtpmail's queued mail.

 mail/smtpmail.el (smtpmail-send-it): Write queued mail body with Unix EOLs.

14 years agosubr.el (posn-col-row): Evaluate header-line-format in the context of
Eli Zaretskii [Sun, 12 Dec 2010 20:45:57 +0000 (22:45 +0200)]
subr.el (posn-col-row): Evaluate header-line-format in the context of
 the POSITION window's buffer.

14 years agoDocument that expand-file-name collapses multiple slashes. (Bug#7617)
Eli Zaretskii [Sun, 12 Dec 2010 20:37:54 +0000 (22:37 +0200)]
Document that expand-file-name collapses multiple slashes.  (Bug#7617)

 fileio.c (Fexpand_file_name): Doc fix.

14 years agoFallout from bug #7563.
Eli Zaretskii [Sat, 11 Dec 2010 18:45:53 +0000 (20:45 +0200)]
Fallout from bug #7563.

 processes.texi (Shell Arguments):
 strings.texi (Creating Strings): Don't mention "shell commands";
 make it explicit that `split-string-and-unquote' and
 `combine-and-quote-strings' are mainly for working with arguments
 to call-process and start-process.

14 years agoFix bug #7398 with truncated glyphs in tooltip display on w32.
Eli Zaretskii [Sat, 11 Dec 2010 15:20:11 +0000 (17:20 +0200)]
Fix bug #7398 with truncated glyphs in tooltip display on w32.

 w32fns.c (Fx_show_tip): Call try_window with last argument
 TRY_WINDOW_IGNORE_FONTS_CHANGE.  Delete the TODO ifdef: problem
 solved.  Round up the tip height to an integral multiple of the
 frame's line height.  Add FRAME_COLUMN_WIDTH to the tip width.

14 years agoCode cleanup in xdisp.c regarding string_char_and_length.
Eli Zaretskii [Sat, 11 Dec 2010 12:27:13 +0000 (14:27 +0200)]
Code cleanup in xdisp.c regarding string_char_and_length.

 xdisp.c (string_pos_nchars_ahead, c_string_pos)
 (face_before_or_after_it_pos, next_element_from_string)
 (next_element_from_c_string, produce_stretch_glyph): Remove unused
 calculations of maximum string length before calling
 string_char_and_length and STRING_CHAR_AND_LENGTH.
 (string_char_and_length): Update commentary: MAXLEN is no longer
 needed.

14 years agoFix bug #7563 with docs of split-string-and-unquote.
Eli Zaretskii [Sat, 11 Dec 2010 09:41:45 +0000 (11:41 +0200)]
Fix bug #7563 with docs of split-string-and-unquote.

 processes.texi (Shell Arguments): Fix documentation of
 `split-string-and-unquote'.  Add indexing.

14 years agoFix bug #7576 with lack of index entries for character syntax.
Eli Zaretskii [Sat, 11 Dec 2010 09:11:32 +0000 (11:11 +0200)]
Fix bug #7576 with lack of index entries for character syntax.

 custom.texi (Init Syntax): Add index entries for "character syntax".

14 years ago* doc/emacs/text.texi (HTML Mode): Small fixes.
Karel Klíc [Sat, 11 Dec 2010 02:37:16 +0000 (18:37 -0800)]
* doc/emacs/text.texi (HTML Mode): Small fixes.

Fixes: debbugs:7607
14 years agoDoc fixes.
Glenn Morris [Sat, 11 Dec 2010 02:34:55 +0000 (18:34 -0800)]
Doc fixes.
* lisp/subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
(with-silent-modifications): Doc fixes.

14 years ago[Backport from trunk]: * make-dist: Exclude etc/*.pyc.
Glenn Morris [Sat, 11 Dec 2010 02:32:10 +0000 (18:32 -0800)]
[Backport from trunk]: * make-dist: Exclude etc/*.pyc.

14 years agoMove call to Fkill_emacs from signal handler (session event) (Bug#7552).
Jan Djärv [Fri, 10 Dec 2010 18:23:43 +0000 (19:23 +0100)]
Move call to Fkill_emacs from signal handler (session event) (Bug#7552).

* keyboard.c (kbd_buffer_get_event): Construct SAVE_SESSION_EVENT
as (Qsave_session arg).

* xsmfns.c (smc_interact_CB): Set arg to Qnil.
(smc_die_CB): Make an event with arg Qt.
(Fhandle_save_session): If event has Qt as argument,
call Fkill_emacs.

14 years agoBump version to 23.2.91. emacs-pretest-23.2.91
Chong Yidong [Fri, 10 Dec 2010 17:46:40 +0000 (12:46 -0500)]
Bump version to 23.2.91.
Regenerate configure and ldefs-boot.el.

14 years ago* net/tramp.el (tramp-action-password, tramp-process-actions):
Michael Albinus [Fri, 10 Dec 2010 04:14:57 +0000 (05:14 +0100)]
* net/tramp.el (tramp-action-password, tramp-process-actions):
Revert patch from 2010-12-08.  Use `save-restriction'.

14 years ago* doc/emacs/trouble.texi (Checklist): Fix typo in newsgroup name.
Glenn Morris [Fri, 10 Dec 2010 03:33:51 +0000 (19:33 -0800)]
* doc/emacs/trouble.texi (Checklist): Fix typo in newsgroup name.

14 years agoCommit missing file from 2010-05-15T00:48:53Z!rgm@gnu.org.
Jan Moringen [Fri, 10 Dec 2010 03:31:52 +0000 (19:31 -0800)]
Commit missing file from 2010-05-15T00:48:53Z!rgm@gnu.org.

Fixes: debbugs:7505
14 years agoFix bug #1077 with popping new frames from a minibuffer-only frame.
Eli Zaretskii [Thu, 9 Dec 2010 18:53:17 +0000 (20:53 +0200)]
Fix bug #1077 with popping new frames from a minibuffer-only frame.

Do NOT merge with trunk!

 menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p): New functions.
 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>: Use
 them instead of `nil' and `>', respectively.

14 years agodiary-lib fix for bug#7536.
Stephen Berman [Thu, 9 Dec 2010 01:50:08 +0000 (17:50 -0800)]
diary-lib fix for bug#7536.
* lisp/calendar/diary-lib.el (diary-list-sexp-entries):
Handle case of no newline at end of file.

14 years ago* lisp/mail/smtpmail.el (smtpmail-send-it): Revert previous change.
Glenn Morris [Thu, 9 Dec 2010 01:46:03 +0000 (17:46 -0800)]
* lisp/mail/smtpmail.el (smtpmail-send-it): Revert previous change.
(convert-standard-filename means it was bogus.)

14 years ago* net/tramp.el (tramp-handle-start-file-process): Protect
Michael Albinus [Wed, 8 Dec 2010 20:07:25 +0000 (21:07 +0100)]
* net/tramp.el (tramp-handle-start-file-process): Protect
buffer-modified value.  (Bug#7557)
(tramp-action-password): Delete region, do not narrow.
(tramp-process-actions): Do not widen.

14 years ago* lisp/log-edit.el (log-edit-changelog-entries): Regexp quote filename.
Jan Moringen [Wed, 8 Dec 2010 03:42:00 +0000 (19:42 -0800)]
* lisp/log-edit.el (log-edit-changelog-entries): Regexp quote filename.

Fixes: debbugs:7505
14 years ago* lisp/cus-edit.el (custom-save-all): Bind print-length and print-level to nil.
Tom Breton [Wed, 8 Dec 2010 03:36:01 +0000 (19:36 -0800)]
* lisp/cus-edit.el (custom-save-all): Bind print-length and print-level to nil.

Fixes: debbugs:7581
14 years agomouse.el fix for bug#7586.
Glenn Morris [Wed, 8 Dec 2010 03:32:31 +0000 (19:32 -0800)]
mouse.el fix for bug#7586.
* lisp/mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
Run hooks to update menu contents.

14 years agoSmall smtpmail fix for bug#7588.
Glenn Morris [Wed, 8 Dec 2010 03:29:41 +0000 (19:29 -0800)]
Small smtpmail fix for bug#7588.
* lisp/mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
file names, for the sake of MS Windows.

14 years agoFix ChangeLog whitespace.
Glenn Morris [Wed, 8 Dec 2010 03:25:57 +0000 (19:25 -0800)]
Fix ChangeLog whitespace.

14 years agoFix ChangeLog typo.
Glenn Morris [Wed, 8 Dec 2010 03:23:49 +0000 (19:23 -0800)]
Fix ChangeLog typo.

14 years ago* diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
Stefan Monnier [Tue, 7 Dec 2010 19:48:15 +0000 (14:48 -0500)]
* diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
empty lines without a leading space.

14 years ago* doc/lispref/modes.texi (Auto-Indentation): New section to document SMIE.
Stefan Monnier [Tue, 7 Dec 2010 19:44:38 +0000 (14:44 -0500)]
* doc/lispref/modes.texi (Auto-Indentation): New section to document SMIE.
(Major Mode Conventions):
* doc/lispref/text.texi (Mode-Specific Indent): Refer to it.

14 years ago* xsmfns.c (smc_die_CB): Call Fkill_emacs.
Jan Djärv [Tue, 7 Dec 2010 06:36:25 +0000 (07:36 +0100)]
* xsmfns.c (smc_die_CB): Call Fkill_emacs.

Fixes: debbugs:7552
14 years agoFix Lawrence Mitchell's email address in lisp/ChangeLog.
Chong Yidong [Mon, 6 Dec 2010 20:07:48 +0000 (15:07 -0500)]
Fix Lawrence Mitchell's email address in lisp/ChangeLog.

14 years ago* dired-aux.el (dired-do-redisplay): Postphone dired-after-readin-hook while mapping...
Leo Liu [Mon, 6 Dec 2010 19:55:21 +0000 (14:55 -0500)]
* dired-aux.el (dired-do-redisplay): Postphone dired-after-readin-hook while mapping over marks (Bug#6810).

14 years agoInitialize image-dired auxilliary filenames relative to image-dired-dirs (Bug#7518).
Chong Yidong [Mon, 6 Dec 2010 19:45:31 +0000 (14:45 -0500)]
Initialize image-dired auxilliary filenames relative to image-dired-dirs (Bug#7518).

* image-dired.el (image-dired-db-file)
(image-dired-temp-image-file, image-dired-gallery-dir)
(image-dired-temp-rotate-image-file): Set default values relative
to image-dired-dir (Bug#7518).

14 years agoFix arg usage of format-decode-run-method (Bug#7488).
Lawrence Mitchell [Mon, 6 Dec 2010 19:35:54 +0000 (14:35 -0500)]
Fix arg usage of format-decode-run-method (Bug#7488).

* lisp/format.el (format-decode-run-method): Pass args FROM and TO, not
point-min and point-max, to shell-command-on-region (Bug#7488).

14 years agoFix crash with invisible text and overlays (Bug#7016).
Chong Yidong [Mon, 6 Dec 2010 06:54:52 +0000 (01:54 -0500)]
Fix crash with invisible text and overlays (Bug#7016).

* src/dispextern.h (struct it): New member overlay_strings_charpos.

* src/xdisp.c (next_overlay_string, load_overlay_strings): Record the
charpos where we computed n_overlay_strings.
(next_overlay_string): Load overlay strings at recorded position,
which may not be the same as the iterator's charpos (Bug#7016).

14 years ago* frame.el (blink-cursor-mode): Make default t for ns.
Jan Djärv [Mon, 6 Dec 2010 06:51:06 +0000 (07:51 +0100)]
* frame.el (blink-cursor-mode): Make default t for ns.

14 years agoFix for 7412 (no cursor on image) backported from trunk.
Jan Djärv [Sun, 5 Dec 2010 10:33:48 +0000 (11:33 +0100)]
Fix for 7412 (no cursor on image) backported from trunk.

* nsterm.m (ns_dumpglyphs_image): If drawing cursor, fill background
with cursor color and draw a rectangle around the image.

14 years agoTrivial fixes for epg.el.
Daiki Ueno [Sun, 5 Dec 2010 01:30:58 +0000 (10:30 +0900)]
Trivial fixes for epg.el.

* epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
"RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
(epg-context-set-passphrase-callback): Mention that the callback
is not called when used with GnuPG 2.x.

modified:
  lisp/ChangeLog
  lisp/epg.elk

14 years agoDocument behavior of lazy highlight in word search (Bug#7470).
Chong Yidong [Sun, 5 Dec 2010 01:16:01 +0000 (20:16 -0500)]
Document behavior of lazy highlight in word search (Bug#7470).

* doc/emacs/search.texi (Word Search): Note that the lazy highlight
always matches to whole words (Bug#7470).

14 years ago* vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
Bob Rogers [Sun, 5 Dec 2010 00:59:37 +0000 (19:59 -0500)]
* vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).

14 years agoDoc fixes for comint functions (Bug#7499).
Chong Yidong [Sun, 5 Dec 2010 00:55:00 +0000 (19:55 -0500)]
Doc fixes for comint functions (Bug#7499).

* lisp/comint.el (comint-dynamic-list-input-ring)
(comint-dynamic-complete-filename)
(comint-replace-by-expanded-filename)
(comint-dynamic-simple-complete)
(comint-dynamic-list-filename-completions)
(comint-dynamic-list-completions): Doc fix (Bug#7499).

14 years agoDoc fix for posn-* functions (Bug#7471).
Chong Yidong [Sun, 5 Dec 2010 00:43:18 +0000 (19:43 -0500)]
Doc fix for posn-* functions (Bug#7471).

* lisp/subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
Doc fix (Bug#7471).

14 years agoAvoid infloop when scrolling conservatively (Bug#7537).
Chong Yidong [Sun, 5 Dec 2010 00:32:32 +0000 (19:32 -0500)]
Avoid infloop when scrolling conservatively (Bug#7537).

* src/xdisp.c (try_scrolling): Avoid infloop if the first line is obscured
due to a vscroll (Bug#7537).

14 years ago* dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil (Bug#7533).
Martin Rudalics [Sat, 4 Dec 2010 22:43:51 +0000 (17:43 -0500)]
* dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil (Bug#7533).

14 years ago* url-cookie.el (url-cookie-retrieve): Handle null LOCALPART (Bug#7543).
Chong Yidong [Sat, 4 Dec 2010 22:41:41 +0000 (17:41 -0500)]
* url-cookie.el (url-cookie-retrieve): Handle null LOCALPART (Bug#7543).
Suggested by Lennart Borgman.

14 years ago* lisp/files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
W. Martin Borgert [Sat, 4 Dec 2010 21:45:17 +0000 (16:45 -0500)]
* lisp/files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
* etc/schema/schemas.xml: Handle *.dbk as DocBook.

14 years ago* simple.el (transient-mark-mode): Doc fix (Bug#7465).
Chong Yidong [Sat, 4 Dec 2010 21:15:17 +0000 (16:15 -0500)]
* simple.el (transient-mark-mode): Doc fix (Bug#7465).

14 years agodisplay.texi (Other Display Specs): Document left-fringe and right-fringe
Eli Zaretskii [Sat, 4 Dec 2010 16:01:30 +0000 (18:01 +0200)]
display.texi (Other Display Specs): Document left-fringe and right-fringe
 display specs.

14 years agoFix bug #4674 with UNCs in file-relative-name.
Eli Zaretskii [Sat, 4 Dec 2010 12:52:04 +0000 (14:52 +0200)]
Fix bug #4674 with UNCs in file-relative-name.

 files.el (file-relative-name): Handle UNC file names on DOS/Windows.
 Also fixes bug#4673.

14 years agodisplay.texi (Optional Mode Line): Make the description of load-average
Eli Zaretskii [Sat, 4 Dec 2010 11:45:59 +0000 (13:45 +0200)]
display.texi (Optional Mode Line): Make the description of load-average
 more accurate.

14 years agoDescribe MS-Windows specific startup issues, incl. emacsclientw.exe
Eli Zaretskii [Sat, 4 Dec 2010 11:25:09 +0000 (13:25 +0200)]
Describe MS-Windows specific startup issues, incl. emacsclientw.exe

 msdog.texi (Windows Startup): New node.  Move the stuff about the current
 directory from "Windows HOME", and explain all possible ways of invoking
 Emacs on Windows.

14 years agomsdog.texi (Windows HOME): Mention that HOME can also be set in the registry,
Eli Zaretskii [Sat, 4 Dec 2010 10:22:45 +0000 (12:22 +0200)]
msdog.texi (Windows HOME): Mention that HOME can also be set in the registry,
 with a cross-reference.

14 years agoThat's not how you spell "initialization".
Glenn Morris [Thu, 2 Dec 2010 07:40:32 +0000 (23:40 -0800)]
That's not how you spell "initialization".

14 years agoHandle negative top/left in frame parameters (Bug#7510).
Jan Djärv [Thu, 2 Dec 2010 07:12:54 +0000 (08:12 +0100)]
Handle negative top/left in frame parameters (Bug#7510).

* src/nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGHT.

* src/nsterm.m (x_set_window_size, windowWillResize, initFrameFromEmacs):
Use FRAME_TOOLBAR_HEIGHT.
(x_set_offset): Handle XNegative and YNegative in
f->size_hint_flags.

14 years agoChangeLog fixes.
Glenn Morris [Thu, 2 Dec 2010 04:56:54 +0000 (20:56 -0800)]
ChangeLog fixes.

14 years ago* doc/misc/cl.texi (For Clauses): Small fixes for frames and windows.
Glenn Morris [Thu, 2 Dec 2010 04:09:20 +0000 (20:09 -0800)]
* doc/misc/cl.texi (For Clauses): Small fixes for frames and windows.

14 years agoSmall ps-print fixes.
Glenn Morris [Thu, 2 Dec 2010 04:06:52 +0000 (20:06 -0800)]
Small ps-print fixes.
* lisp/ps-print.el (ps-line-lengths-internal, ps-nb-pages):
Ensure ps-footer-font-size-internal is initialized.
Call ps-get-page-dimensions before trying to use ps-font-for-text.

14 years agomerge emacs-23
Kenichi Handa [Thu, 2 Dec 2010 00:44:25 +0000 (09:44 +0900)]
merge emacs-23

14 years ago* doc/lispref/backups.texi (Making Backups):
Stefan Monnier [Wed, 1 Dec 2010 22:42:36 +0000 (17:42 -0500)]
* doc/lispref/backups.texi (Making Backups):
* doc/lispref/modes.texi (Example Major Modes): Use recommended coding style.
(Major Mode Basics, Derived Modes): Encourge more strongly use of
define-derived-mode.  Mention completion-at-point-functions.

14 years ago* lisp/ido.el (ido-common-initilization): New function.
Leo Liu [Wed, 1 Dec 2010 22:34:09 +0000 (17:34 -0500)]
* lisp/ido.el (ido-common-initilization): New function.
(ido-mode): Use it.
(ido-completing-read): Call it.

Fixes: debbugs:3274
14 years agoImplement rmail-search-mime-message-function.
Kenichi Handa [Mon, 29 Nov 2010 12:22:39 +0000 (21:22 +0900)]
Implement rmail-search-mime-message-function.

14 years agoFix log-edit-font-lock-keywords (Bug#6465).
Chong Yidong [Sat, 27 Nov 2010 19:41:49 +0000 (14:41 -0500)]
Fix log-edit-font-lock-keywords (Bug#6465).
* log-edit.el (log-edit-font-lock-keywords): Don't try matching
stand-alone lines, since that is handled by log-edit-match-to-eoh
(Bug#6465).

14 years agoFix bug #7308 with `locate' on MS-Windows.
Eduard Wiebe [Sat, 27 Nov 2010 09:56:49 +0000 (11:56 +0200)]
Fix bug #7308 with `locate' on MS-Windows.

 dired.el (dired-get-filename): Replace backslashes with slashes
 in file names on MS-Windows, needed by `locate'.
 locate.el (locate-default-make-command-line): Don't consider
 drive letter and root directory part of
 `directory-listing-before-filename-regexp'.
 (locate-post-command-hook, locate-post-command-hook): New defcustoms.

14 years agoFix bug #7446 with overrunning input buffer in ebrowse.
Joe Matarazzo [Sat, 27 Nov 2010 09:29:22 +0000 (11:29 +0200)]
Fix bug #7446 with overrunning input buffer in ebrowse.

 ebrowse.c (yylex): If end of input buffer encountered while
 searching for a newline after "//", return YYEOF.

14 years ago* emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
Stefan Monnier [Fri, 26 Nov 2010 21:33:21 +0000 (16:33 -0500)]
* emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
of :smie-open/close-alist.
(smie-next-sexp): Make it accept a "start token" as argument.
(smie-indent-keyword): Be careful not to misidentify tokens that span
more than one line, as empty lines.  Add argument `token'.

14 years agomail/rmailmm.el (rmail-mime-insert-multipart): For unsupported multipart subtypes...
Kenichi Handa [Fri, 26 Nov 2010 12:58:41 +0000 (21:58 +0900)]
mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported multipart subtypes, insert all as usual.

14 years agomail/rmail.el: Require rfc2047.
Kenichi Handa [Fri, 26 Nov 2010 07:58:35 +0000 (16:58 +0900)]
mail/rmail.el: Require rfc2047.

14 years agoImprove rmail's MIME handling.
Kenichi Handa [Fri, 26 Nov 2010 04:06:59 +0000 (13:06 +0900)]
Improve rmail's MIME handling.

14 years agomerge emacs-23
Kenichi Handa [Thu, 25 Nov 2010 03:56:41 +0000 (12:56 +0900)]
merge emacs-23

14 years agoFix decoding of emacs-mule coding system.
Kenichi Handa [Thu, 25 Nov 2010 03:55:14 +0000 (12:55 +0900)]
Fix decoding of emacs-mule coding system.

14 years ago* progmodes/which-func.el (which-func-imenu-joiner-function):
Stefan Monnier [Wed, 24 Nov 2010 02:21:55 +0000 (21:21 -0500)]
* progmodes/which-func.el (which-func-imenu-joiner-function):
Return a string, as expected.
(which-function-mode): Make sure we stop any previous timer before
starting a new one.

14 years ago* net/tramp.el (tramp-default-method-alist)
Michael Albinus [Tue, 23 Nov 2010 19:52:25 +0000 (20:52 +0100)]
* net/tramp.el (tramp-default-method-alist)
(tramp-default-user-alist, tramp-default-proxies-alist): Adapt
custom options type.  (Bug#7445)

14 years agoTweak previous nxml doc change.
Glenn Morris [Tue, 23 Nov 2010 18:16:21 +0000 (10:16 -0800)]
Tweak previous nxml doc change.

14 years ago* doc/misc/nxml-mode.texi (Introduction): New section.
Glenn Morris [Tue, 23 Nov 2010 09:19:57 +0000 (01:19 -0800)]
* doc/misc/nxml-mode.texi (Introduction): New section.

This summarizes the still-relevant information from the standalone
nxml README fle, mistakenly removed in the initial import of nxml-mode.

See http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01716.html
and associated thread, also bug#7456.

14 years agoChangeLog fix for initial nxml import.
Glenn Morris [Tue, 23 Nov 2010 09:16:40 +0000 (01:16 -0800)]
ChangeLog fix for initial nxml import.

14 years agoSmall VC fixes for doc/emacs.
Bob Rogers [Tue, 23 Nov 2010 08:18:26 +0000 (00:18 -0800)]
Small VC fixes for doc/emacs.

* doc/emacs/maintaining.texi (VC With A Locking VCS, VC Directory Commands):
* doc/emacs/vc1-xtra.texi (Customizing VC, General VC Options): Small fixes.

14 years agoBack-port 2010-09-17T21:34:45Z!eliz@gnu.org from the trunk, to resolve bug #7452.
Eli Zaretskii [Mon, 22 Nov 2010 18:09:29 +0000 (20:09 +0200)]
Back-port 2010-09-17T21:34:45Z!eliz@gnu.org from the trunk, to resolve bug #7452.

 w32.c (_PROCESS_MEMORY_COUNTERS_EX): Don't define with versions
 of w32api >= 3.15.

14 years agobugtracker: REALLY correct locations of bzr *.conf files.
Eli Zaretskii [Mon, 22 Nov 2010 03:52:49 +0000 (05:52 +0200)]
bugtracker: REALLY correct locations of bzr *.conf files.

14 years agoFix image cache marking bug (Bug#6301).
YAMAMOTO Mitsuharu [Mon, 22 Nov 2010 00:39:42 +0000 (19:39 -0500)]
Fix image cache marking bug (Bug#6301).
* src/alloc.c (mark_terminals): Ensure that the image cache is marked
even if the terminal object was marked earlier (Bug#6301).

14 years ago* etc/HELLO: Add ancient Greek (Bug#7418).
Ulrich Mueller [Sun, 21 Nov 2010 19:03:51 +0000 (14:03 -0500)]
* etc/HELLO: Add ancient Greek (Bug#7418).

14 years ago* editfns.c (Fbyte_to_string): Signal an error if arg is not a byte.
Chong Yidong [Sun, 21 Nov 2010 18:16:19 +0000 (13:16 -0500)]
* editfns.c (Fbyte_to_string): Signal an error if arg is not a byte.

14 years agoDocument byte-to-string in Lisp manual.
Chong Yidong [Sun, 21 Nov 2010 18:07:47 +0000 (13:07 -0500)]
Document byte-to-string in Lisp manual.

* objects.texi (Symbol Type):
* text.texi (Near Point):
* help.texi (Help Functions):
* functions.texi (Mapping Functions): Use string instead of
char-to-string in examples.

* nonascii.texi (Converting Representations): Document
byte-to-string.

* strings.texi (Creating Strings): Don't mention semi-obsolete
function char-to-string.
(String Conversion): Shorten discussion of semi-obsolete function
string-to-char.  Link to Converting Representations.

14 years agobugtracker: Correct locations of bzr *.conf files.
Eli Zaretskii [Sun, 21 Nov 2010 17:59:08 +0000 (19:59 +0200)]
bugtracker: Correct locations of bzr *.conf files.

14 years agoBackport fixes for Bug#5390 and Bug#5694 from trunk.
Chong Yidong [Sun, 21 Nov 2010 17:04:43 +0000 (12:04 -0500)]
Backport fixes for Bug#5390 and Bug#5694 from trunk.

* progmodes/python.el: Add Ipython support (Bug#5390).
(python-shell-prompt-alist)
(python-shell-continuation-prompt-alist): New options.
(python--set-prompt-regexp): New function.
(inferior-python-mode, run-python, python-shell): Require
ansi-color.  Use python--set-prompt-regexp to set the comint
prompt based on the Python interpreter.
(python--prompt-regexp): New var.
(python-check-comint-prompt)
(python-comint-output-filter-function): Use it.
(run-python): Use a pipe (Bug#5694).

14 years agoMake the sys.path remove in Python mode customizable (Bug#7454).
Chong Yidong [Sun, 21 Nov 2010 16:52:05 +0000 (11:52 -0500)]
Make the sys.path remove in Python mode customizable (Bug#7454).
* progmodes/python.el (run-python): Doc fix.
(python-keep-current-directory-in-path): New var (Bug#7454).

14 years ago* maintaining.texi (Version Control Systems): Fix repeated sentence.
Chong Yidong [Sun, 21 Nov 2010 16:05:27 +0000 (11:05 -0500)]
* maintaining.texi (Version Control Systems): Fix repeated sentence.
Suggested by Štěpán Němec.

14 years agopython.el comment.
Glenn Morris [Sun, 21 Nov 2010 02:19:39 +0000 (18:19 -0800)]
python.el comment.

14 years agoDocument VC headers and other VC changes.
Chong Yidong [Sat, 20 Nov 2010 23:16:10 +0000 (18:16 -0500)]
Document VC headers and other VC changes.

* maintaining.texi (Version Control): Say "commit", not "check in".
(Version Control Systems): Simplify descriptions.
(VCS Merging, VCS Changesets, VCS Repositories): New nodes, split from
VCS Concepts.
(VC Mode Line): Update example.
(Old Revisions): Document revert-buffer for vc-diff.
(Log Buffer): Promote to a subsection.  Document header lines.

* emacs.texi (Top): Update node listing.

14 years agoPrompt before running print commands.
Chong Yidong [Sat, 20 Nov 2010 20:23:26 +0000 (15:23 -0500)]
Prompt before running print commands.
* lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
Prompt user before actually printing.

14 years agoDocument some Emacs 23.3 changes in manuals.
Chong Yidong [Sat, 20 Nov 2010 19:52:20 +0000 (14:52 -0500)]
Document some Emacs 23.3 changes in manuals.

* doc/emacs/macos.texi (Mac / GNUstep Basics): Document
ns-right-alternate-modifier.

* doc/lispref/numbers.texi (Float Basics): Document float-e and float-pi.

* doc/lispref/symbols.texi (Creating Symbols): Using unintern without an
obarray arg is now obsolete.

* doc/lispref/text.texi (Kill Functions, Kill Functions)
(Low-Level Kill Ring, Low-Level Kill Ring): Remove obsolete
YANK-HANDLER args.

* doc/lispref/variables.texi (Defining Variables): Change "pi" example to
"float-pi".