Stefan Monnier
b1816a74de
* diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
...
empty lines without a leading space.
2010-12-07 14:48:15 -05:00
Stefan Monnier
5dcb4c4e5d
* doc/lispref/modes.texi (Auto-Indentation): New section to document SMIE.
...
(Major Mode Conventions):
* doc/lispref/text.texi (Mode-Specific Indent): Refer to it.
2010-12-07 14:44:38 -05:00
Jan Djärv
2b815743b2
* xsmfns.c (smc_die_CB): Call Fkill_emacs.
...
Fixes: debbugs:7552
2010-12-07 07:36:25 +01:00
Chong Yidong
e49fb298b8
Fix Lawrence Mitchell's email address in lisp/ChangeLog.
2010-12-06 15:07:48 -05:00
Leo Liu
86a6e8e02c
* dired-aux.el (dired-do-redisplay): Postphone dired-after-readin-hook while mapping over marks (Bug#6810).
2010-12-06 14:55:21 -05:00
Chong Yidong
bc60f4de59
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).
2010-12-06 14:45:31 -05:00
Lawrence Mitchell
3ecba0495e
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).
2010-12-06 14:35:54 -05:00
Chong Yidong
d8b2a96214
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).
2010-12-06 01:54:52 -05:00
Jan Djärv
0afb6242c7
* frame.el (blink-cursor-mode): Make default t for ns.
2010-12-06 07:51:06 +01:00
Jan Djärv
a56d164e67
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.
2010-12-05 11:33:48 +01:00
Daiki Ueno
f9fe1af937
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
2010-12-05 10:30:58 +09:00
Chong Yidong
2931c841a3
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).
2010-12-04 20:16:01 -05:00
Bob Rogers
5eae900ed6
* vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2010-12-04 19:59:37 -05:00
Chong Yidong
637c2c4396
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).
2010-12-04 19:55:00 -05:00
Chong Yidong
74194465d7
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).
2010-12-04 19:43:18 -05:00
Chong Yidong
77f1ed6cb6
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).
2010-12-04 19:32:32 -05:00
Martin Rudalics
6ed96c33f0
* dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil (Bug#7533).
2010-12-04 17:43:51 -05:00
Chong Yidong
37bf6ce2b4
* url-cookie.el (url-cookie-retrieve): Handle null LOCALPART (Bug#7543).
...
Suggested by Lennart Borgman.
2010-12-04 17:41:41 -05:00
W. Martin Borgert
11cb1e35ff
* lisp/files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
...
* etc/schema/schemas.xml: Handle *.dbk as DocBook.
2010-12-04 16:45:17 -05:00
Chong Yidong
e408289fa8
* simple.el (transient-mark-mode): Doc fix (Bug#7465).
2010-12-04 16:15:17 -05:00
Eli Zaretskii
bdef6a7740
display.texi (Other Display Specs): Document left-fringe and right-fringe
...
display specs.
2010-12-04 18:01:30 +02:00
Eli Zaretskii
2472c214a6
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.
2010-12-04 14:52:04 +02:00
Eli Zaretskii
4f1948eb4c
display.texi (Optional Mode Line): Make the description of load-average
...
more accurate.
2010-12-04 13:45:59 +02:00
Eli Zaretskii
62d72a4a69
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.
2010-12-04 13:25:09 +02:00
Eli Zaretskii
b8a9e13683
msdog.texi (Windows HOME): Mention that HOME can also be set in the registry,
...
with a cross-reference.
2010-12-04 12:22:45 +02:00
Glenn Morris
0fdd1db7fd
That's not how you spell "initialization".
2010-12-01 23:40:32 -08:00
Jan Djärv
2a91a0b5c0
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.
2010-12-02 08:12:54 +01:00
Glenn Morris
9e0ecdabca
ChangeLog fixes.
2010-12-01 20:56:54 -08:00
Glenn Morris
7dde1a8619
* doc/misc/cl.texi (For Clauses): Small fixes for frames and windows.
2010-12-01 20:09:20 -08:00
Glenn Morris
ff80efe730
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.
2010-12-01 20:06:52 -08:00
Kenichi Handa
423a637bdb
merge emacs-23
2010-12-02 09:44:25 +09:00
Stefan Monnier
769741e3d1
* 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.
2010-12-01 17:42:36 -05:00
Leo Liu
bd79445072
* lisp/ido.el (ido-common-initilization): New function.
...
(ido-mode): Use it.
(ido-completing-read): Call it.
Fixes: debbugs:3274
2010-12-01 17:34:09 -05:00
Kenichi Handa
7e116860bb
Implement rmail-search-mime-message-function.
2010-11-29 21:22:39 +09:00
Chong Yidong
402c8a4957
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).
2010-11-27 14:41:49 -05:00
Eduard Wiebe
d1882ac7c9
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.
2010-11-27 11:56:49 +02:00
Joe Matarazzo
da2b5401e8
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.
2010-11-27 11:29:22 +02:00
Stefan Monnier
09ffa822f8
* 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'.
2010-11-26 16:33:21 -05:00
Kenichi Handa
afde451abe
mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported multipart subtypes, insert all as usual.
2010-11-26 21:58:41 +09:00
Kenichi Handa
3d9ee611b8
mail/rmail.el: Require rfc2047.
2010-11-26 16:58:35 +09:00
Kenichi Handa
d1be4ec274
Improve rmail's MIME handling.
2010-11-26 13:06:59 +09:00
Kenichi Handa
e957f9ae90
merge emacs-23
2010-11-25 12:56:41 +09:00
Kenichi Handa
b84ae58433
Fix decoding of emacs-mule coding system.
2010-11-25 12:55:14 +09:00
Stefan Monnier
33aeea0eb6
* 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.
2010-11-23 21:21:55 -05:00
Michael Albinus
e40fc74517
* net/tramp.el (tramp-default-method-alist)
...
(tramp-default-user-alist, tramp-default-proxies-alist): Adapt
custom options type. (Bug#7445)
2010-11-23 20:52:25 +01:00
Glenn Morris
4d47208a22
Tweak previous nxml doc change.
2010-11-23 10:16:21 -08:00
Glenn Morris
d3dfb185ae
* 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.
2010-11-23 01:19:57 -08:00
Glenn Morris
f98a3c9483
ChangeLog fix for initial nxml import.
2010-11-23 01:16:40 -08:00
Bob Rogers
17a6e2788d
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.
2010-11-23 00:18:26 -08:00
Eli Zaretskii
b8e5cf1da0
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.
2010-11-22 20:09:29 +02:00