bpt/emacs.git
13 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.

13 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.

13 years agoBump version to 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.

13 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'.

13 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.

13 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

13 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.

13 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.

13 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.)

13 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.

13 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

13 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

13 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.

13 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.

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

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

13 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.

13 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.

13 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

13 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.

13 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).

13 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).

13 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).

13 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).

13 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.

13 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.

13 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

13 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).

13 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).

13 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).

13 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).

13 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).

13 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).

13 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.

13 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.

13 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).

13 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.

13 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.

13 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.

13 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.

13 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.

13 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".

13 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.

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

13 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.

13 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.

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

13 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.

13 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

13 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.

13 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).

13 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.

13 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.

13 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'.

13 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.

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

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

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

13 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.

13 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.

13 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)

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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).

13 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).

13 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.

13 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.

13 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.

13 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).

13 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).

13 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.

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

13 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.

13 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.

13 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".

13 years agoFix bug 7425.
Jan Djärv [Sat, 20 Nov 2010 13:50:55 +0000 (14:50 +0100)]
Fix bug 7425.

NOTE: When merging to trunk: xg_height_changed is xg_height_or_width_changed
      in trunk.

* src/gtkutil.c (menubar_map_cb): New function.
(xg_update_frame_menubar): Connect signal map to menubar_map_cb.
Use 23 as menubar height if 0. (Bug#7425).

13 years ago* pop3.el (pop3-open-server): Read server greeting before starting TLS negotiation.
Yuri Karaban [Fri, 19 Nov 2010 16:25:09 +0000 (11:25 -0500)]
* pop3.el (pop3-open-server): Read server greeting before starting TLS negotiation.

13 years ago* comint.el (comint-kill-region): Fix last change.
Stefan Monnier [Thu, 18 Nov 2010 03:44:35 +0000 (22:44 -0500)]
* comint.el (comint-kill-region): Fix last change.

13 years agoMake the yank-handler argument obsolete.
Stefan Monnier [Thu, 18 Nov 2010 02:09:41 +0000 (21:09 -0500)]
Make the yank-handler argument obsolete.
* simple.el (kill-new, kill-append, kill-region):
* comint.el (comint-kill-region): Make the yank-handler argument obsolete.

13 years ago* emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
Stefan Monnier [Wed, 17 Nov 2010 19:59:16 +0000 (14:59 -0500)]
* emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
that are both openers (resp. closers) and something else.
(smie-grammar): Loosen definition of valid values.
(smie-next-sexp, smie-down-list, smie-blink-matching-open)
(smie-indent--parent, smie-rule-parent, smie-indent-keyword)
(smie-indent-after-keyword): Adjust users.
(smie-indent-keyword): Don't indent empty lines.

13 years ago* vc-hg.el (vc-hg-program): New var.
Stefan Monnier [Wed, 17 Nov 2010 14:34:28 +0000 (09:34 -0500)]
* vc-hg.el (vc-hg-program): New var.
Suggested by Norman Gray <norman@astro.gla.ac.uk>.
(vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.

13 years agoautoload.el fix for bug#7414.
Glenn Morris [Wed, 17 Nov 2010 03:47:16 +0000 (19:47 -0800)]
autoload.el fix for bug#7414.

* lisp/emacs-lisp/autoload.el (autoload-find-destination): The
function coding-system-eol-type may return non-numeric values.

13 years ago* lisp/server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
Ulrich Mueller [Tue, 16 Nov 2010 20:09:47 +0000 (15:09 -0500)]
* lisp/server.el (server-force-stop): Ensure the server is stopped (Bug#7409).

13 years agoFix link error on Fedora 14: newer GConf don't use g_type_*.
Jan D [Sun, 14 Nov 2010 11:47:31 +0000 (12:47 +0100)]
Fix link error on Fedora 14: newer GConf don't use g_type_*.

Forgot to save ChangeLog for previous change.

13 years agoFix link error on Fedora 14: newer GConf don't use g_type_*.
Jan D [Sun, 14 Nov 2010 11:46:00 +0000 (12:46 +0100)]
Fix link error on Fedora 14: newer GConf don't use g_type_*.

* configure.in (HAVE_GCONF): Check for g_type_init if GConf is found.

* src/config.in (HAVE_G_TYPE_INIT): New symbol.

* src/xsettings.c (init_gconf): Check HAVE_G_TYPE_INIT.

13 years agoDocument 2010-05-10T02:20:00Z!rgm@gnu.org as an incompatible change in posn-col-row.
Eli Zaretskii [Sat, 13 Nov 2010 21:59:28 +0000 (23:59 +0200)]
Document 2010-05-10T02:20:00Z!rgm@gnu.org as an incompatible change in posn-col-row.

13 years agosubr.el (posn-col-row): Pay attention to header line. (Bug#7390)
Eli Zaretskii [Sat, 13 Nov 2010 21:07:58 +0000 (23:07 +0200)]
subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)

13 years agoFix picture-mouse-set-point calculation (Bug#7390).
Chong Yidong [Sat, 13 Nov 2010 21:01:10 +0000 (16:01 -0500)]
Fix picture-mouse-set-point calculation (Bug#7390).
* lisp/textmodes/picture.el (picture-mouse-set-point): Don't use
posn-col-row; explicitly compute the motion based on the posn at
the window-start (Bug#7390).

13 years agoBackport fix for Bug#6170 from trunk.
Dan Nicolaescu [Sat, 13 Nov 2010 17:22:52 +0000 (12:22 -0500)]
Backport fix for Bug#6170 from trunk.
Fix alloca definition when using gcc on non-gnu systems.
* configure.in: Use the code sequence indicated by "info autoconf"
for alloca (bug#6170).

13 years ago* net/tramp.el (tramp-remote-coding-commands): Add an alternative
Michael Albinus [Sat, 13 Nov 2010 10:08:21 +0000 (11:08 +0100)]
* net/tramp.el (tramp-remote-coding-commands): Add an alternative
using "base64 -d -i".  This is needed for older base64 versions
from GNU coreutils.  Reported by Klaus Reichl
<Klaus.Reichl@thalesgroup.com>.

This must not be merged with the trunk.

13 years ago* lisp/novice.el (disabled-command-function): Fix 2009-11-15 change. (Bug#7384)
Glenn Morris [Sat, 13 Nov 2010 09:16:18 +0000 (01:16 -0800)]
* lisp/novice.el (disabled-command-function): Fix 2009-11-15 change.  (Bug#7384)

13 years agocustomize.texi (Composite Types): Lower-case index entry.
Eli Zaretskii [Fri, 12 Nov 2010 17:03:57 +0000 (19:03 +0200)]
customize.texi (Composite Types): Lower-case index entry.

13 years agoThe `fixes' attribute does show in `bzr log'.
Eli Zaretskii [Fri, 12 Nov 2010 16:42:12 +0000 (18:42 +0200)]
The `fixes' attribute does show in `bzr log'.

13 years agoFix bug #7346: document load-file-name.
Eli Zaretskii [Fri, 12 Nov 2010 16:35:35 +0000 (18:35 +0200)]
Fix bug #7346: document load-file-name.

 src/lread.c (Fload): Mention `load-in-progress' and `load-file-name'.
 doc/lispref/loading.texi (How Programs Do Loading): Document `load-file-name'.

13 years agoExpand and clarify the description of bugtracker setting for bzr.
Eli Zaretskii [Fri, 12 Nov 2010 08:37:27 +0000 (10:37 +0200)]
Expand and clarify the description of bugtracker setting for bzr.

13 years agodiary-iso-date-forms fix for bug#7377.
Glenn Morris [Fri, 12 Nov 2010 03:16:20 +0000 (19:16 -0800)]
diary-iso-date-forms fix for bug#7377.

* lisp/calendar/calendar.el (diary-iso-date-forms): Make elements
mutually exclusive.