* imenu.el (imenu-default-create-index-function): Remove useless
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ddc62155
FEG
12013-01-23 Fabián Ezequiel Gallina <fgallina@cuca>
2
3 * imenu.el (imenu-default-create-index-function): Remove useless
4 infinite loop check. (Bug#13438)
5
267eacb5
AM
62013-01-23 Alan Mackenzie <acm@muc.de>
7
8 Fix a bug in the state cache mechanism. Refactor this a bit.
9
10 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
11 `cache-pos' element from the return value.
12 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
13 buffer to enable proper searching from beyond HERE. Amend the
14 test for detecting the sought brace pair. Amend the value written
15 to the "brace desert cache" when the brace isn't found.
16 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
17 and several other variables analogously.
18 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
19 parameter to a locally calculated variable.
20 (c-parse-state-1): Change the calling conventions to the two
21 defuns involving `cache-pos'.
22
4d4ddaa7
CY
232013-01-23 Chong Yidong <cyd@gnu.org>
24
25 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
26
2fc71e3c
LL
272013-01-18 Leo Liu <sdl.web@gmail.com>
28
29 * dired.el (dired-get-marked-files): Prune erroneous values due to
30 last change. (Bug#13152)
31
19503d5a
GM
322013-01-17 Glenn Morris <rgm@gnu.org>
33
34 * progmodes/etags.el (tags-table-check-computed-list):
35 Preserve point in tags buffer. (Bug#13412)
36
41b057ad
GM
372013-01-16 Glenn Morris <rgm@gnu.org>
38
f8a42ad6
GM
39 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
40
41b057ad
GM
41 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
42 Revert 2012-12-29 change. Ref:
43 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00360.html>
44
50620051
FEG
452013-01-10 Fabián Ezequiel Gallina <fgallina@cuca>
46
47 * progmodes/python.el (python-nav-end-of-statement): Fix
48 cornercase when handling multiline strings.
49
3c855b96
GM
502013-01-10 Glenn Morris <rgm@gnu.org>
51
52 * emacs-lisp/authors.el (authors-ignored-files)
53 (authors-valid-file-names, authors-renamed-files-alist):
54 Add some more entries.
55
08ce64e6
SM
562013-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
57
58 * image-mode.el (image-mode-winprops): Don't throw away the fallback
59 `t' pseudo-window entry.
60
8cff5feb
AM
612013-01-09 Alan Mackenzie <acm@muc.de>
62
63 Fix bugs in the c-parse-state mechanism. Reuse some markers
64 instead of continually generating new ones.
65
66 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
67 (c-state-old-cpp-end-marker): New variables.
68 (c-append-lower-brace-pair-to-state-cache): Start a backward
69 search for "}" definitively outside CPP constructs.
70 (c-remove-stale-state-cache): Inform the caller of a need to
71 search back for a brace pair in certain circumstances.
72 (c-state-maybe-marker): New macro.
73 (c-parse-state): Reuse markers when appropriate.
74
89c0dda8
GM
752013-01-09 Glenn Morris <rgm@gnu.org>
76
77 * simple.el (execute-extended-command): Doc fix.
78 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
79
5b64ccd7
CY
802013-01-09 Chong Yidong <cyd@gnu.org>
81
82 * faces.el (read-face-name): Doc fix.
83
c5ad92de
GM
842013-01-09 Glenn Morris <rgm@gnu.org>
85
86 * emacs-lisp/trace.el (trace-function, trace-function-background):
87 Doc fix.
88
39a0786e
JL
892013-01-09 Juri Linkov <juri@jurta.org>
90
91 * international/mule-cmds.el (read-char-by-name): Move let-binding
92 of completion-ignore-case around completing-read to fix regression
93 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
94 `string-match-p' using the nil value of `case-fold-search' and
95 `completion-ignore-case' in `completion-pcm--all-completions'.
96 (Bug#12615).
97
06364e64
GM
982013-01-07 Glenn Morris <rgm@gnu.org>
99
100 * progmodes/compile.el (compilation-parse-errors):
101 Fix typo. (Bug#13369)
102
236a8f0c
VS
1032013-01-07 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
104
105 * comint.el (comint-send-input): Check size of buffer before
106 waiting for process output, in case already accepted. (Bug#13290)
107
f99ced35
MA
1082013-01-04 Michael Albinus <michael.albinus@gmx.de>
109
110 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
111 non-negative integers. Otherwise, the default values are used.
112 (tramp-convert-file-attributes): Convert uid and gid to integers.
113
ad235a8b
GM
1142013-01-03 Glenn Morris <rgm@gnu.org>
115
d2be4dcc
GM
116 * term.el (term-handle-colors-array): Ensure face attributes
117 are fully specified, not nil. (Bug#13337)
118
5b00b749
GM
119 * term.el (term-default-fg-color, term-default-bg-color):
120 Fix custom type.
121
220740a3
GM
122 * progmodes/etags.el (tags-compression-info-list): Doc fix.
123 (tag-find-file-of-tag-noselect): Check auto-compression-mode
124 rather than 'jka-compr being loaded. (Bug#13338)
125
ed5bdeb9
GM
126 * subr.el (eval-after-load): Don't purecopy the form, so that it
127 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
128
ad235a8b
GM
129 * emacs-lisp/byte-run.el (defun): Place cl declarations
130 after any interactive spec. (Bug#13265)
131
5cebef2d
AS
1322012-12-31 Andreas Schwab <schwab@linux-m68k.org>
133
134 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
135 defun. Don't check for DECL if DOCSTRING isn't a string.
136 (defun): Likewise.
137
4cddca30
GM
1382012-12-31 Glenn Morris <rgm@gnu.org>
139
5ee1772e
GM
140 * eshell/em-cmpl.el (eshell-pcomplete):
141 More thoroughly imitate pcomplete. (Bug#13293)
142
4cddca30
GM
143 * files.el (parse-colon-path): Doc fix. (Bug#12351)
144 Return nil for empty path elements. (Bug#13296)
145
6861432e
FEG
1462012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
147
148 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
149 order to improve efficiency (Based on Daniel Colascione's
150 <dancol@dancol.org> patch). (Bug#13182)
151
b83a2ddd
GM
1522012-12-31 Glenn Morris <rgm@gnu.org>
153
154 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
155
df4758b8
FEG
1562012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
157
158 * progmodes/python.el: Support other commands triggering
159 python-indent-line so indentation cycling continues to work.
160 (python-indent-trigger-commands): New defcustom.
161 (python-indent-line): Use it.
162
1632012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
164
165 * progmodes/python.el (python-shell-send-region): Add blank lines
166 for non sent code so backtraces remain correct.
167
bdcad781
AS
1682012-12-31 Andreas Schwab <schwab@linux-m68k.org>
169
170 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
171 neither DOCSTRING nor DECL was given. (Bug#13316)
172
8db39aeb
GM
1732012-12-30 Glenn Morris <rgm@gnu.org>
174
175 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
176 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
177 (rmail-summary-displayed, rmail-summary): Declare.
178 (mairix-rmail-display): Just require rmail.
179
3c94d7a6
CY
1802012-12-29 Chong Yidong <cyd@gnu.org>
181
182 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
183 check for the tarball contents.
184
af39894a
MF
1852012-12-29 Matt Fidler <matt.fidler@alcon.com> (tiny change)
186
187 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
188 tarfile content listings (Bug#13136).
189
bb709253
ML
1902012-12-29 Mark Lillibridge <mark.lillibridge@hp.com>
191
192 * mail/rmailmm.el (rmail-insert-mime-forwarded-message): Insert
193 the undecoded text of the message being forwarded. (Bug#9521)
194
3ee24a3b
MA
1952012-12-28 Michael Albinus <michael.albinus@gmx.de>
196
197 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
198 integers, if they are real numbers. (Bug#13282)
199
db590ef6
DG
2002012-12-26 Dmitry Gutov <dgutov@yandex.ru>
201
202 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
203 "module" and "def" to have indentation before them. Regression
204 from 109911 (see the new test).
205
ea0857a1
DG
2062012-12-24 Dmitry Gutov <dgutov@yandex.ru>
207
208 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
209
3f6b93cd
AM
2102012-12-23 Alan Mackenzie <acm@muc.de>
211
212 Speed up fontification where there's large brace blocks.
213 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
214 to a call of c-beginning-of-decl-1.
215
594f37aa
CY
2162012-12-21 Chong Yidong <cyd@gnu.org>
217
218 * sort.el (sort-subr): Doc fix (Bug#13056).
219
acc650b8
BG
2202012-12-20 Bastien Guerry <bzg@gnu.org>
221
acc650b8
BG
222 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
223
14b8c3d9
AM
2242012-12-11 Alan Mackenzie <acm@muc.de>
225
226 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
227 * progmodes/cc-engine.el (c-backward-comments): Add code to work
228 around `forward-comment' not recognizing ^M as whitespace.
229
2c43a9ad
FEG
2302012-12-11 Fabián Ezequiel Gallina <fgallina@cuca>
231
232 * progmodes/python.el (python-skeleton-class)
233 (python-skeleton-def): Do not add space after defun name.
234
2c066ad3
CY
2352012-12-09 Chong Yidong <cyd@gnu.org>
236
237 * simple.el (set-mark-default-inactive): Mark as obsolete, for
238 removal after 24.3.
239
6ce49f24
DM
2402012-12-08 Dani Moncayo <dmoncayo@gmail.com>
241
242 * simple.el (just-one-space): Doc fix.
243
8d43bd30
EZ
2442012-12-07 Eli Zaretskii <eliz@gnu.org>
245
246 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add
247 "smallexample".
248
3a21537c
LW
2492012-12-07 Le Wang <l26wang@gmail.com>
250
251 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
252 narrowed buffer (bug#12361).
253
61025111
MH
2542012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
255
256 * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
257 Virtually backported from trunk.
258
bf741d33
JB
2592012-12-07 Juanma Barranquero <lekktu@gmail.com>
260
261 * vc/vc-hooks.el (vc-state): Doc fix.
262
07026166
GM
2632012-12-06 Glenn Morris <rgm@gnu.org>
264
265 * mail/rmail.el (rmail-maybe-display-summary):
266 Preserve buffer, in case select-window changes it. (Bug#13066)
267
82e1f390
SM
2682012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
269
270 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
271 cl-load-hook where they belong.
272
e1d51545
CY
2732012-12-06 Chong Yidong <cyd@gnu.org>
274
275 * ffap.el (ffap-replace-file-component): Fix typo.
276
ef54d315
SM
2772012-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
278
279 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
280 fix open-paren-like token test (bug#12785).
281
52d129cd
GM
2822012-12-04 Glenn Morris <rgm@gnu.org>
283
284 * mail/rmailsum.el (rmail-new-summary): Tweak for
285 rmail-maybe-display-summary changing buffer. (Bug#13066)
286
68bf4e09
JL
2872012-12-03 Juri Linkov <juri@jurta.org>
288
289 * info.el (Info-fontify-node): Don't hide the last newline.
290 (Bug#12272)
291
ff3d86d0
LL
2922012-12-01 Leo Liu <sdl.web@gmail.com>
293
294 * files.el (dir-locals-read-from-file): Check file non-empty
295 before reading. (Bug#13038)
296
6247eff5
GM
2972012-11-28 Glenn Morris <rgm@gnu.org>
298
299 * jka-cmpr-hook.el (jka-compr-get-compression-info):
300 Remove any version extension before checking filename. (Bug#13006)
301 (jka-compr-compression-info-list): Belated :version bump.
302
a5bf43ba
CY
3032012-11-28 Chong Yidong <cyd@gnu.org>
304
8ecba97d
CY
305 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
306
a5bf43ba
CY
307 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
308 (buffer-menu): Doc fix (Bug#12294).
309
34755291
RW
3102012-11-27 Roland Winkler <winkler@gnu.org>
311
312 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
313 of diary-show-all-entries in the diary buffer (Bug#12994).
314
c2f5b60a
MA
3152012-11-27 Michael Albinus <michael.albinus@gmx.de>
316
317 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
318 "<STDIN>". This is binary safe.
319
369f945d
SM
3202012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * textmodes/table.el (table-insert): Don't use `symbol-name' on
323 lexically scoped variables (bug#13005).
324
999e745e 3252012-11-26 Glenn Morris <rgm@gnu.org>
98f99594 326
999e745e
GM
327 * vc/vc-hooks.el (vc-mistrust-permissions):
328 Default to t, to avoid data-loss. (Bug#11490)
98f99594 329
207cb73c
FEG
3302012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
331
999e745e
GM
332 * progmodes/python.el (python-indent-guess-indent-offset):
333 If indentation is guessed make python-indent-offset buffer-local.
334
207cb73c 335 Fix Imenu regression.
999e745e
GM
336 * progmodes/python.el (python-nav-beginning-of-defun):
337 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
338 (python-imenu-prev-index-position): New function.
339
33a488e4
EZ
3402012-11-26 Eli Zaretskii <eliz@gnu.org>
341
342 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
343
344 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 345 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 346
50207191
GM
3472012-11-26 Glenn Morris <rgm@gnu.org>
348
349 * hippie-exp.el (hippie-expand-try-functions-list):
350 Re-autoload it. (Bug#12982)
351
2147c6ab
EZ
3522012-11-25 Eli Zaretskii <eliz@gnu.org>
353
369f945d
SM
354 * descr-text.el (describe-char-padded-string):
355 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 356
58b1ae1e
AS
3572012-11-24 Andreas Schwab <schwab@linux-m68k.org>
358
359 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
360 and obsoletion message.
361
35a10516
SM
3622012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
363
364 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
365 the constructs to keep outside of the `cl-block' (bug#12977).
366
0c5ef133
CY
3672012-11-24 Chong Yidong <cyd@gnu.org>
368
369 * mouse.el (mouse-drag-line): Even if the line is not draggable,
370 keep reading until we get the up-event anyway, in order to process
371 the up-event for mouse-1-click-follows-link (Bug#12971).
372
002c019c
SM
3732012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
376 lexical-binding (bug#12938).
377
977f9325
WJ
3782012-11-23 Wolfgang Jenkner <wjenkner@inode.at>
379
380 * image-mode.el (image-transform-check-size): Use assertions only
381 for images of type imagemagick.
382
383 Otherwise no error, image-transform-fit-to-{width,height} is
384 silently ignored, as before. Doc fix.
385
bccffa83
CY
3862012-11-23 Chong Yidong <cyd@gnu.org>
387
388 * faces.el (color-defined-p): Doc fix (Bug#12853).
389
61a2a122
JL
3902012-11-23 Juri Linkov <juri@jurta.org>
391
392 * dired.el (dired-mark): Add optional arg `interactive'.
393 Check for `use-region-p' if `interactive' is non-nil.
394 (dired-unmark, dired-flag-file-deletion): Add optional arg
395 `interactive'. Call `dired-mark' with the arg `interactive'.
396 (Bug#10624)
397
cc4c01bd
JL
3982012-11-23 Juri Linkov <juri@jurta.org>
399
400 * wdired.el: Revert 2012-10-17 change partly and replace it with
401 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
402 (wdired-finish-edit): Add marks for new file names to
403 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
404 after `revert-buffer'.
405 (wdired-do-renames): Remove calls to `dired-remove-file',
406 `dired-add-file', `dired-add-entry'. (Bug#11795)
407
b03aabda
AM
4082012-11-21 Alan Mackenzie <acm@muc.de>
409
dc310ed0
AM
410 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
411
b03aabda
AM
412 Fix bugs in the state cache. Enhance a debugging mechanism.
413 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
414 "brace at column zero" strategy for C++.
415 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
416 (c-parse-state-point): New variable.
417 (c-record-parse-state-state): Record old parse state with
418 `copy-tree'. Record previous value of point.
419 (c-debug-parse-state-double-cons): New debugging function.
420 (c-debug-parse-state): Call the above new function.
421 (c-toggle-parse-state-debug): Output a confirmatory message.
422
002c019c
SM
423 * progmodes/cc-mode.el (c-before-change, c-after-change):
424 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
425 `c-after-change'.
426
a16ac13f
DC
4272012-11-20 Daniel Colascione <dancol@dancol.org>
428
002c019c
SM
429 * term/w32-win.el (cygwin-convert-path-from-windows):
430 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
a16ac13f
DC
431 This change is a backport from trunk.
432
7cf95797
EZ
4332012-11-20 Eli Zaretskii <eliz@gnu.org>
434
435 * simple.el (line-move): Don't call line-move-partial if
436 scroll-conservatively is in effect. (Bug#12927)
437
555ccdc2
MA
4382012-11-20 Michael Albinus <michael.albinus@gmx.de>
439
440 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
441 order to distinguish from trunk.
442
bc715d67
SM
4432012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
444
63f25172
SM
445 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
446 non-symbols for compiler macros (yet).
447
93b05041
SM
448 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
449 Fallback on completion-at-point rather than
450 pcomplete-expand-and-complete, and only if pcomplete actually failed.
451 (eshell-cmpl-initialize): Setup completion-at-point.
452
453 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
454
bc715d67
SM
455 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
456
d7f2a65c
MA
4572012-11-19 Michael Albinus <michael.albinus@gmx.de>
458
459 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
460 are remote, check out-of-band property for both.
461
d1c0cddf
SM
4622012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * window.el (switch-to-buffer): Re-add the warning that was lost in the
465 code rewrite.
466
0c93aa38
PE
4672012-11-18 Paul Eggert <eggert@cs.ucla.edu>
468
535efd4a
PE
469 More minor time fixes.
470 * calendar/time-date.el: Commentary fix.
471 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
472 too much other code depends on (0 0) time stamps.
473 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
474 Add a couple of FIXME comments.
475
0c93aa38
PE
476 Minor cleanup for times as lists of four integers.
477 * files.el (dir-locals-directory-cache):
478 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
479 Doc fixes.
480 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
481 * ps-bdf.el (bdf-file-newer-than-time):
482 Process four-integers time stamps, not two. Doc fixes.
483
913c8291
GM
4842012-11-18 Glenn Morris <rgm@gnu.org>
485
486 * image.el (insert-image, insert-sliced-image): Doc fix.
487
ec6f8ce6
CY
4882012-11-17 Chong Yidong <cyd@gnu.org>
489
490 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
491 (Bug#12810).
492
c2d07557
CY
4932012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
494
495 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
496 response when the target file is in a subdirectory (Bug#12757).
497
33f8917c
CY
4982012-11-17 Chong Yidong <cyd@gnu.org>
499
500 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
501
65463c40
GM
5022012-11-17 Glenn Morris <rgm@gnu.org>
503
9a5e2ee3
GM
504 * woman.el (woman-non-underline-faces):
505 * emacs-lisp/cl-lib.el (face-underline-p):
506 Use set-face-underline rather than the alias set-face-underline-p.
507
65463c40 508 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
509 * subr.el (with-output-to-temp-buffer):
510 Add doc xref to with-temp-buffer-window.
65463c40 511
cdc5d88c
SM
5122012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
513
514 * emacs-lisp/cl-lib.el: Set more meaningful version number.
515
0ff7851c
MR
5162012-11-16 Martin Rudalics <rudalics@gmx.at>
517
518 * window.el (enlarge-window, shrink-window): Don't mention return
519 value in doc-string (Bug#12896).
520 (window--display-buffer): Don't resize frames - it won't work
521 with all window managers and defeat pop-up-frame-alist.
522 (display-buffer-alist): In doc-string explain that CONDITION can
523 be a function and which arguments are passed to it (Bug#12854).
524 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
525 expressions (Bug#12854).
526 (display-buffer): Pass ACTION argument to
527 display-buffer-assq-regexp.
528
dedd1884
GM
5292012-11-16 Glenn Morris <rgm@gnu.org>
530
7c82753d
GM
531 * window.el (fit-frame-to-buffer-bottom-margin)
532 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
533
dedd1884
GM
534 * faces.el (face-underline-p): Use face-attribute-specified-or.
535
662b0ee6
JB
5362012-11-15 Juanma Barranquero <lekktu@gmail.com>
537
538 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
539
eb31fa40
SM
5402012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
541
542 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
543
e2e13f18
GM
5442012-11-15 Glenn Morris <rgm@gnu.org>
545
17c083ac
GM
546 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
547 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
548
bde3c6c0
GM
549 * faces.el (face-underline-p): Doc fix. Handle :underline being
550 things other than `t' (a string, a list).
551 (face-inverse-video-p): Doc fix.
552 (set-face-underline): Rename it back from set-face-underline-p.
553 Doc fix. Allow interactive input of values other than t.
554 (read-face-attribute): Apply formatting to :underline,
555 since like :box and :stipple it can take list values.
556
e2e13f18
GM
557 * term.el (ansi-term): Don't let C-x escape-char binding
558 clobber the more standard C-c binding. (Bug#12842)
559
3a514ab0
SM
5602012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
563 (bug#12879).
564
e0ea8060
GM
5652012-11-14 Glenn Morris <rgm@gnu.org>
566
567 * subr.el (set-temporary-overlay-map): Doc fix.
568
92346275
MR
5692012-11-13 Martin Rudalics <rudalics@gmx.at>
570
571 * window.el (record-window-buffer)
572 (display-buffer-record-window): When copying the markers to
573 window-point preserve window-point-insertion-type. (Bug#12588)
574
7b1bf173
GM
5752012-11-13 Glenn Morris <rgm@gnu.org>
576
577 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
578 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
579 Use new names for hooks rather than obsolete aliases.
580
f8705f6e
SM
5812012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
582
583 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
584
9db94175
WJ
5852012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
586
587 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
588 39 and 49. This fixes bug#12792. Also, treat unimplemented
589 parameters as 0, thereby restoring the behavior of revisions prior
590 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
591
2e6625b5
FEG
5922012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
593
594 Fix end-of-defun misbehavior.
595 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
596 python-beginning-of-defun-function. Handle nested defuns
597 correctly.
598 (python-nav-end-of-defun): Rename from
599 python-end-of-defun-function. Ensure forward movement.
f8705f6e 600 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
601 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
602 parent defuns as soon as possible.
603
24c38527
GM
6042012-11-12 Glenn Morris <rgm@gnu.org>
605
606 * progmodes/flymake.el (flymake-error-bitmap)
607 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
608 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
609
d1e1e53d
DG
6102012-11-12 Dmitry Gutov <dgutov@yandex.ru>
611
612 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
613 backward, always stop at indentation. Reverts the change from
614 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
615
68146aa5
GM
6162012-11-11 Glenn Morris <rgm@gnu.org>
617
a1d3e07e
GM
618 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
619 Add ibuffer-filter-by-derived-mode.
620
84acf328
GM
621 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
622 the same name shadowing each other.
623
38785e75
GM
624 * window.el (with-temp-buffer-window): Doc tweak.
625
57fc0fee
GM
626 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
627
6ba6a3e5
GM
628 * help.el (temp-buffer-max-height):
629 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
630 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
631
e4e46889
LL
6322012-11-10 Leo Liu <sdl.web@gmail.com>
633
634 * ido.el (ido-set-matches-1): Fix split-string args to avoid
635 performance issue. (Bug#12796)
636
19e09879
GM
6372012-11-10 Glenn Morris <rgm@gnu.org>
638
bf67dafa
GM
639 * term.el (term-default-fg-color, term-default-bg-color):
640 Make obsolete, rather than just saying "deprecated" in the doc.
641
19e09879
GM
642 * term.el (term): Rename from `term-face'.
643 (term-current-face, ansi-term-color-vector)
644 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
645 Update all users.
646
d743088d
JD
6472012-11-09 Jan Djärv <jan.h.d@swipnet.se>
648
f8705f6e 649 * server.el (server-create-window-system-frame): Improve comment.
d743088d 650
531bdce6
JD
6512012-11-08 Jan Djärv <jan.h.d@swipnet.se>
652
653 * server.el (server-create-window-system-frame): Handle Nextstep
654 specially (Bug#12780).
655
fedb154e
GM
6562012-11-08 Glenn Morris <rgm@gnu.org>
657
658 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
659 Unautoload, and make obsolete. (Bug#7449)
660
9d9e48d9
CY
6612012-11-08 Chong Yidong <cyd@gnu.org>
662
663 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
664 rename from diff-remove-trailing-whitespace (Bug#12831).
665
32170f7f
SM
6662012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
667
668 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
669 miscompilation of trace.el.
670
26f59676
GM
6712012-11-08 Glenn Morris <rgm@gnu.org>
672
673 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
674
41626722
SM
6752012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
678 (bug#12812).
679
7d806bfe
CY
6802012-11-07 Chong Yidong <cyd@gnu.org>
681
682 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
683 a defcustom with an appropriate :set function.
684 (minibuffer-default--in-prompt-regexps): New function.
685
2ee1d59f
GM
6862012-11-07 Glenn Morris <rgm@gnu.org>
687
031b2ea7
GM
688 * emacs-lisp/cl.el (define-setf-expander, defsetf)
689 (define-modify-macro): Doc fixes.
690
2ee1d59f
GM
691 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
692 (gv-define-simple-setter): Update doc of `fix-return'.
693
d57c286e
SM
6942012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
695
b715ed44
SM
696 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
697 twice when `fix-return' is set (bug#12813).
698
d57c286e
SM
699 * emacs-lisp/cl.el (defsetf): Pass the third arg to
700 gv-define-simple-setter (bug#12812).
701
c9cac599
SM
7022012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
705 (bug#12756).
706
6b3770fb
GM
7072012-11-06 Glenn Morris <rgm@gnu.org>
708
709 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
710
5593ed90
GM
7112012-11-05 Glenn Morris <rgm@gnu.org>
712
713 * emacs-lisp/cl-extra.el (cl-prettyexpand):
714 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
715 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
716 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
717
718 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
719
5c677d44
GM
7202012-11-03 Glenn Morris <rgm@gnu.org>
721
49138400
GM
722 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
723 Rename handler properties back from cl-- to cl-. (Bug#12788)
724
5c677d44
GM
725 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
726
1d4341f9
EZ
7272012-11-03 Eli Zaretskii <eliz@gnu.org>
728
729 * term/pc-win.el: Don't load term/internal from here.
730
731 * loadup.el: Load term/internal from here.
732
12fd5ee1
FEG
7332012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
734
735 * progmodes/python.el (inferior-python-mode): Fix hang in
736 jit-lock (Bug#12645).
737
43bcfda6
MR
7382012-11-03 Martin Rudalics <rudalics@gmx.at>
739
740 * window.el (switch-to-visible-buffer)
741 (switch-to-buffer-preserve-window-point): Fix doc-strings.
742
b4b096e4
SB
7432012-11-01 Stephen Berman <stephen.berman@gmx.net>
744
745 * play/gomoku.el (gomoku-display-statistics): Update mode line
746 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
747
218e997a
MR
7482012-10-31 Martin Rudalics <rudalics@gmx.at>
749
750 * window.el (quit-restore-window): If the window has been
751 created on an existing frame and ended up as the sole window on
752 that frame, do not delete it (Bug#12764).
753
b08b6da7
SM
7542012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
755
3618df45
SM
756 * progmodes/sh-script.el (sh--inside-noncommand-expression):
757 Rename from sh--inside-arithmetic-expression, handle more cases
758 (bug#11263).
759
b08b6da7
SM
760 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
761 (sh-font-lock-open-heredoc): Use it (bug#12770).
762
4ddedf94
GM
7632012-10-30 Glenn Morris <rgm@gnu.org>
764
f43a5263
GM
765 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
766
4ddedf94
GM
767 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
768
748b0d84
CY
7692012-10-29 Chong Yidong <cyd@gnu.org>
770
b5dd9a77
CY
771 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
772 function key is stored in a keyboard macro (Bug#4894).
773
748b0d84
CY
774 * thingatpt.el (number-at-point): Apply a thing-at-point property.
775
e07fcbdc
SM
7762012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
777
d7f9cc85
SM
778 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
779 header comments".
780 (diff-unified->context, diff-context->unified)
781 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
782
c606253c
SM
783 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
784
e07fcbdc
SM
785 * files.el (find-alternate-file): Only ask one question (bug#12487).
786
894b9dd9
CY
7872012-10-29 Chong Yidong <cyd@gnu.org>
788
1dc2755a
CY
789 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
790 Suggested by Dan Nicolaescu (Bug#6326).
791
329c48d8
CY
792 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
793
2230fa5b 794 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 795
e84cad57
CY
796 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
797
1913c5f5
CY
798 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
799
894b9dd9
CY
800 * face-remap.el (face-remap-add-relative): Handle the case where a
801 face-remapping-alist entry is a cons cell (Bug#12762).
802
329c48d8
CY
8032012-10-29 Kevin Ryde <user42@zip.com.au>
804
805 * woman.el (woman-parse-numeric-value): Handle picas correctly
806 (Bug#12639).
807
a0ccbcbd
GM
8082012-10-29 Glenn Morris <rgm@gnu.org>
809
810 * emacs-lisp/cl.el (defsetf): Doc fix.
811
b3871e59
SM
8122012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
813
814 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
815 syntax to the matching opener, if any (bug#12547).
816 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
817 matching open as a "case-(".
818 (sh-smie-rc-grammar): Add a corresponding rule for it.
819
cd44022c
DH
8202012-10-28 Daniel Hackney <dan@haxney.org>
821
822 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
823 "PKGNAME-autoloads.el" in case we created it.
824
70edffb1
SM
8252012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
826
86957a0c
SM
827 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
828 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 829 (completion--twq-all): Disable too-strict assertions.
86957a0c 830
70edffb1
SM
831 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
832
d069271c
EZ
8332012-10-27 Eli Zaretskii <eliz@gnu.org>
834
835 * profiler.el (profiler-report-make-entry-part): Fix help-echo
836 text to match the real keybindings.
837
e2f022a3
JL
8382012-10-27 Juri Linkov <juri@jurta.org>
839
840 * wdired.el (wdired-keep-marker-rename): New defcustom.
841 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
842 (Bug#11795)
843
844 * dired.el (dired-keep-marker-rename): Add reference to
845 `wdired-keep-marker-rename' in the docstring.
846 Add default character value ?R to display initially in
847 Customization UI instead of ?@.
848
df171c23
MR
8492012-10-27 Martin Rudalics <rudalics@gmx.at>
850
851 * window.el (display-buffer): In doc-string describe
852 window-height and window-width alist entries.
853
854 * time.el (display-time-world): Restore fit-window-to-buffer
855 behavior.
856
05b621a6
CY
8572012-10-27 Chong Yidong <cyd@gnu.org>
858
859 * subr.el (insert-buffer-substring-as-yank): Doc fix.
860
55f197b2
J
8612012-10-26 Jambunathan K <kjambunathan@gmail.com>
862
863 * minibuffer.el (completion-category-overrides): New completion
864 category `bookmark' (bug#11131).
865
372212df
SM
8662012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
867
150f809c
SM
868 * emacs-lisp/advice.el (ad-assemble-advised-definition):
869 Silence bogus compiler warnings for ad-do-it.
870
372212df
SM
871 * bookmark.el (bookmark-completing-read): Set the completion category
872 to `bookmark' (bug#11131).
873
c5772569
B
8742012-10-26 Bastien <bzg@altern.org>
875 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * face-remap.el: Use lexical-binding.
878 (text-scale-adjust): Improve docstring. Use itself for the temporary
879 overlay-map bindings, so as to repeat the "Use..." message each time.
880
a2be0357
SM
8812012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
882
63314e57
SM
883 * emacs-lisp/macroexp.el (macroexp--expand-all):
884 Obey byte-compile-warning-enabled-p (bug#12486).
885
a2be0357
SM
886 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
887 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
888
8c7727c3
MR
8892012-10-26 Martin Rudalics <rudalics@gmx.at>
890
891 * mouse.el (mouse-drag-line): Move last form into preceding when
892 clause (Bug#12731).
893
894 * help.el (resize-temp-buffer-window): Fix doc-string.
895
3f2a848d
DE
8962012-10-25 David Engster <deng@randomsample.de>
897
898 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 899 Remove. This feature is already integrated in imenu.
3f2a848d
DE
900
901 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
902 always loaded. Require `speedbar' unconditionally.
903
a7723be6
SM
9042012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
905
aaabfc8b
SM
906 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
907
414a8595
SM
908 * minibuffer.el (minibuffer-force-complete): Fix thinko.
909
fb5b9475
SM
910 * net/ldap.el (ldap-search-internal): The official ldif format starts
911 with a "version: 1" header (bug#12724).
912
a7723be6
SM
913 * emacs-lisp/package.el (package-installed-p): Warn if not ready
914 (bug#12721).
915
a05cb6e3
GM
9162012-10-25 Glenn Morris <rgm@gnu.org>
917
918 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
919
3c92de70
SM
9202012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
921
922 * minibuffer.el (minibuffer-force-complete): Use one more marker
923 for the temporary-overlay-map command (bug#12619).
924
a4b6d7c6
CY
9252012-10-24 Chong Yidong <cyd@gnu.org>
926
927 * time.el (display-time-world-mode): Derive from special-mode.
928 (display-time-world): Use display-buffer (Bug#12708).
929 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
930 (display-time-world-display): Wrap the final delete-char inside
931 inhibit-read-only.
a4b6d7c6 932
75e8f9d2
CY
9332012-10-24 Chong Yidong <cyd@gnu.org>
934
cd996018
CY
935 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
936 Doc fix.
937
75e8f9d2
CY
938 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
939
d92df117
SM
9402012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
941
942 * minibuffer.el (completion--all-sorted-completions-location): New var.
943 (completion--cache-all-sorted-completions)
944 (completion--flush-all-sorted-completions): Use it.
945 (completion-in-region, completion-in-region--postch)
946 (completion-at-point, completion-help-at-point): Use markers in
947 completion-in-region--data (bug#12619).
948
9c3e39f3
SM
9492012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
950
c79825bd
SM
951 * progmodes/compile.el (compilation-start): Try to handle common
952 quoting of `cd' argument (bug#12640).
953
9c3e39f3
SM
954 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
955 (bug#12671).
956
a6709bc7
GM
9572012-10-23 Glenn Morris <rgm@gnu.org>
958
959 * progmodes/gud.el (gud-menu-map):
960 Check gdb-active-process is bound. (Bug#12358)
961
d1069532
SM
9622012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
963
d20d69c0
SM
964 * repeat.el (repeat): Set real-this-command (bug#12232).
965
d1069532
SM
966 * htmlfontify.el (hfy-post-html-hook):
967 * filesets.el (filesets-cache-fill-content-hook):
968 * arc-mode.el (archive-extract-hook):
969 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
970 * net/rcirc.el (rcirc-sentinel-functions)
971 (rcirc-receive-message-functions, rcirc-activity-functions)
972 (rcirc-print-functions):
973 * net/dbus.el (dbus-event-error-functions):
974 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
975 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
976 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
977 * term/sun.el (sun-raw-prefix-hooks):
978 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
979
f7eac6d8
MA
9802012-10-23 Michael Albinus <michael.albinus@gmx.de>
981
d1069532
SM
982 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
983 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
984 (tramp-smb-wait-for-output): Add timeout to
985 `tramp-accept-process-output' calls.
986
608d9d7c
CY
9872012-10-23 Chong Yidong <cyd@gnu.org>
988
49238e7f
CY
989 * faces.el (font-list-limit): Define as an obsolete variable.
990
991 * startup.el (command-line):
992 * cus-start.el: Don't refer to font-list-limit.
993
608d9d7c
CY
994 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
995
4ff5b1b2
SM
9962012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * subr.el (internal-temp-output-buffer-show): Rename from
999 temp-output-buffer-show, since previously compiled files expect this name.
1000
ea1d4aac
GM
10012012-10-23 Glenn Morris <rgm@gnu.org>
1002
1003 * image.el (image-type-from-file-name): If multiple types match,
1004 return the first one that is supported. (Bug#9045)
1005
eda82a31
GM
10062012-10-22 Glenn Morris <rgm@gnu.org>
1007
1008 * image.el (imagemagick-enabled-types): Doc fix.
1009
4f020bec
TA
10102012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1011
1012 * progmodes/which-func.el (which-func-current): The hash-table may have
1013 an explicit nil (bug#12338).
1014
c77d37e2
SM
10152012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1016
1017 * electric.el (electric-pair-delete-selection-self-insert-function):
1018 Rename to electric-pair-will-use-region, return a boolean.
1019 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1020
1021 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1022 (delete-selection-pre-hook): Use use-region-p.
1023 (delete-selection-self-insert-function): Remove.
1024 (self-insert-command): Obey self-insert-uses-region-functions.
1025 (self-insert-iso): Revert to previous setting, since we don't actually
1026 know what that command does.
1027 (delete-selection-self-insert-hooks): Remove.
1028
b1d39ccc
SL
10292012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1030
1031 * delsel.el (delete-selection-helper): New function, extracted from
1032 delete-selection-pre-hook.
1033 (delete-selection-pre-hook): Use it.
1034 (delete-selection-self-insert-function): New function.
1035 (delete-selection-self-insert-hooks): New hook.
1036 (self-insert-command, self-insert-iso): Use it.
1037 * electric.el (electric-pair-syntax): New function, extracted from
1038 electric-pair-post-self-insert-function.
1039 (electric-pair-post-self-insert-function): Use it.
1040 (electric-pair-delete-selection-self-insert-function): New function.
1041 (electric-pair-mode): Require delsel and setup
1042 delete-selection-self-insert-hooks (bug#11520).
1043
045ef729
CY
10442012-10-20 Chong Yidong <cyd@gnu.org>
1045
4c5d08a8
CY
1046 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1047 no changes to show (Bug#12586).
1048
045ef729
CY
1049 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1050 list explicitly (Bug#12571).
1051
3503c798 10522012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1053
b1d39ccc
SL
1054 * progmodes/flymake.el (flymake-create-temp-inplace):
1055 Use file-truename.
79e1997a 1056
2068905b
EZ
10572012-10-20 Eli Zaretskii <eliz@gnu.org>
1058
1059 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1060
4c9e9550
JB
10612012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1062
1063 * calc/calc-units.el (math-extract-units): Properly extract powers
1064 of units.
1065
1a6e7e38
DC
10662012-10-20 Daniel Colascione <dancol@dancol.org>
1067
1068 * frame.el (make-frame): Set x-display-name as we used to in order
1069 to unbreak creating an X11 frame from an Emacs daemon started
1070 without a display.
1071
8e808318
SM
10722012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1073
1074 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1075 the same completion-field (bug@12221).
1076
fb0104da
MR
10772012-10-19 Martin Rudalics <rudalics@gmx.at>
1078
1079 * emacs-lisp/debug.el (debug): Record height of debugger window
1080 also when debugger will be back (Bug#8789).
1081
8c27235e
CY
10822012-10-18 Chong Yidong <cyd@gnu.org>
1083
1084 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1085 Convert to defcustom.
1086 (gdb-get-source-file): Don't bind pop-up-windows.
1087
1088 * progmodes/gud.el (gud-display-line): Don't specially re-use
1089 other frames for the gdb-mi case (Bug#12648).
1090
90eacf99
SM
10912012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1092
aaf0c300
SM
1093 * emacs-lisp/advice.el: Clean up commentary a bit.
1094 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1095 (byte-code-function-p): Never redefine.
1096
90eacf99
SM
1097 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1098
281c9d2b
GM
10992012-10-18 Glenn Morris <rgm@gnu.org>
1100
40714e3d
GM
1101 * dired.el (dired-sort-toggle): Some ls implementations only allow
1102 a single option string. (Bug#12666)
1103
281c9d2b
GM
1104 * minibuffer.el (completion-cycle-threshold): Doc fix.
1105
b278604e
KH
11062012-10-17 Kenichi Handa <handa@gnu.org>
1107
90eacf99
SM
1108 * international/mule.el (set-keyboard-coding-system):
1109 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1110 Supply TERMINAL arg to set-input-meta-mode.
1111
df171c23 11122012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1113
1114 * wdired.el (wdired-old-marks): New variable.
1115 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1116 (wdired-do-renames): Move point with renamed file and don't lose
1117 mark status (Bug#11795).
1118
e5a94ec4
JL
11192012-10-16 Juri Linkov <juri@jurta.org>
1120
1121 * replace.el (query-replace-help): Mention multi-buffer replacement
1122 keys in the Help message. (Bug#12655)
1123
d18a0d24
CY
11242012-10-15 Chong Yidong <cyd@gnu.org>
1125
1126 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1127
8111f5e6
EZ
11282012-10-14 Eli Zaretskii <eliz@gnu.org>
1129
7b9abf24
EZ
1130 * window.el (display-buffer): Doc fix.
1131
8111f5e6
EZ
1132 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1133 Adjust the msft regexp to the output of Studio 2010, and move msft
1134 before edg-1. See the discussion on emacs-devel,
1135 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1136 for the details.
1137
5046ef67
SM
11382012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1139
9760c73c
SM
1140 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1141 (oset): Move uses of object-class-fast macro after its definition.
1142
5046ef67
SM
1143 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1144
0d11ff1c
CY
11452012-10-13 Chong Yidong <cyd@gnu.org>
1146
1147 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1148 enabled, re-enable it (Bug#11963).
1149
88ded8ac
MR
11502012-10-13 Martin Rudalics <rudalics@gmx.at>
1151
1152 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1153 non-nil, restore window configuration (Bug#12623).
1154
bd0ffffd
SM
11552012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1156
06485aa8
SM
1157 * help-fns.el (describe-variable, describe-function-1):
1158 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1159
bd0ffffd
SM
1160 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1161
3a989246
GM
11622012-10-12 Glenn Morris <rgm@gnu.org>
1163
1164 * mail/rmailsum.el (rmail-header-summary):
1165 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1166
55cd00c8
FEG
11672012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1168
bd0ffffd
SM
1169 * progmodes/python.el (python-mode-map):
1170 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1171 (python-nav--up-list): Fix behavior for blocks on the same level.
1172
ac9fc2c7
SM
11732012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1174
d8cc4c00 1175 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1176
5253a5fd
SM
1177 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1178 changes to the format of load-history.
1179
ac9fc2c7
SM
1180 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1181 completion-ignore-case in case that var is buffer-local (bug#12615).
1182
cde44a77
KH
11832012-10-11 Kenichi Handa <handa@gnu.org>
1184
1185 * international/eucjp-ms.el: Re-generated.
1186
4ef4a10d
KH
11872012-10-10 Kenichi Handa <handa@gnu.org>
1188
1189 * select.el (xselect--encode-string): If a coding is specified for
1190 selection, and that is compatible with COMPOUND_TEXT, use it.
1191
9d7f027b
MR
11922012-10-10 Martin Rudalics <rudalics@gmx.at>
1193
1194 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1195 (switch-to-buffer):
1196 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1197
238f3a58
SM
11982012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1201 Don't document nil as a useful value (bug#12583).
1202
1d51f99c
MA
12032012-10-09 Michael Albinus <michael.albinus@gmx.de>
1204
238f3a58
SM
1205 * net/tramp.el (tramp-debug-message):
1206 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1207 (with-tramp-progress-reporter): Rename from
1208 `tramp-with-progress-reporter'.
238f3a58
SM
1209 (with-tramp-file-property, with-tramp-connection-property):
1210 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1211 `with-connection-property', respectively.
1212
1213 * net/tramp-cache.el: Remove `with-file-property' and
1214 `with-connection-property'.
1215
1216 * net/tramp.el:
1217 * net/tramp-gvfs.el:
1218 * net/tramp-sh.el:
1219 * net/tramp-smb.el: Adapt callees.
1220
1221 * net/trampver.el: Update release number.
1222
26b77251
GM
12232012-10-09 Glenn Morris <rgm@gnu.org>
1224
9a5f296f
GM
1225 * w32-fns.el (set-message-beep):
1226 * term/w32-win.el (set-message-beep): Update declarations.
1227
94c66ce5
SM
12282012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1229
10766e9e
SM
1230 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1231 (mode-line-widen, mode-line-input-method-map)
1232 (mode-line-coding-system-map, mode-line-remote)
1233 (mode-line-unbury-buffer, mode-line-bury-buffer)
1234 (mode-line-next-buffer, mode-line-previous-buffer):
1235 Replace save-selected-window+select-window => with-selected-window.
1236
f754db08
SM
1237 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1238 * progmodes/cc-vars.el (bq-process): Remove, unused.
1239
94c66ce5
SM
1240 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1241
a4ff7fe1
FEG
12422012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1243
1244 Implemented `backward-up-list'-like navigation.
1245 * progmodes/python.el (python-nav-up-list)
1246 (python-nav-backward-up-list): New functions.
1247 (python-mode-map): Define substitute key for backward-up-list to
1248 python-nav-backward-up-list.
1249
24517d82
FEG
12502012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1251
1252 * progmodes/python.el (python-fill-paragraph): Rename from
1253 python-fill-paragraph-function. Fixed fill-paragraph for
1254 decorators (Bug#12605).
1255
51867ae2
FEG
12562012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1257
1258 * progmodes/python.el (python-shell-output-filter): Handle extra
1259 carriage return in OSX (Bug#12409).
1260
a5b773c4
FEG
12612012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1262
1263 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1264 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1265 (python-syntax-propertize-function): Use it.
1266 (python-shell-output-syntax-table): New var.
1267 (inferior-python-mode): Prevent unbalanced parens/quotes from
1268 previous output mess with current input context.
1269
13373538
JB
12702012-10-08 Juanma Barranquero <lekktu@gmail.com>
1271
1272 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1273 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1274
775a132d
MA
12752012-10-08 Michael Albinus <michael.albinus@gmx.de>
1276
1277 * ffap.el (ffap-replace-file-component): Support Tramp file name
1278 syntax, not only ange-ftp's one.
1279
3ab44929
GM
12802012-10-08 Glenn Morris <rgm@gnu.org>
1281
57f1dee4
GM
1282 * cus-start.el (message-log-max): Set :version.
1283
3ab44929
GM
1284 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1285
6a088630
MR
12862012-10-08 Martin Rudalics <rudalics@gmx.at>
1287
1288 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1289 the minibuffer window (Bug#10851).
1290
8dbce54c
FEG
12912012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1292
1293 Enhancements on forward-sexp movement.
1294 * progmodes/python.el (python-nav-beginning-of-statement)
1295 (python-nav-end-of-statement): Return point-marker.
1296 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1297 (python-info-current-symbol)
1298 (python-info-statement-starts-block-p): Rename from
1299 python-info-beginning-of-block-p.
1300 (python-info-statement-ends-block-p): Rename from
1301 python-info-end-of-block-p.
1302 (python-info-beginning-of-statement-p)
1303 (python-info-end-of-statement-p)
1304 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1305 New functions.
1306
5acd2b3e
SM
13072012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1308
1309 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1310 frame-selected-windows.
1311
e08348a0
DC
13122012-10-08 Daniel Colascione <dancol@dancol.org>
1313
1314 * battery.el (battery-status-function): Check for
1315 w32-battery-status itself, not system-time windows-nt.
1316
1317 * frame.el: Require cl-lib.
1318 (display-format-alist): New variable mapping frame types to
1319 functions that initialize them.
1320 (window-system-for-display): New function: interprets
1321 display-format-alist.
1322 (make-frame-on-display): Remove existing display-selection logic
1323 and just forward to make-frame, which will now DTRT.
1324 (make-frame): Restructure to use window-system-for-display to
1325 figure out how to create a frame on a given display.
1326 (display-mouse-p): Look for frame-type w32, not a particular
1327 system-type.
1328
1329 * loadup.el: Load w32 lisp code when we have the w32 feature.
1330
1331 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1332 system-type windows-nt.
1333
1334 * server.el (server-create-window-system-frame): Look for window
1335 type.
1336 (server-proces-filter): Only force a window system when windows-nt
1337 _and_ w32. Explain why.
1338
1339 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1340 of window systems we configure for the mode.
1341
1342 * startup.el (command-line): Mark window system is initialized
1343 after we've done it.
1344
1345 * common-win.el (x-select-text): Look for w32, not windows-nt.
1346
1347 * ns-win.el: Require cl-lib. Add ourselves to
1348 display-format-alist.
1349 (ns-initialize-window-system): Assert we're not initialized twice.
1350
1351 * w32-win.el: Enable lexical binding; require cl-lib; add
1352 ourselves to display-format-alist.
1353 (w32-handle-dropped-file): Convert incoming dropped files from
1354 Windows paths to Cygwin ones before passing them on to the rest of
1355 Emacs.
1356 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1357 (w32-initialize-window-system): Assert we're not initialized twice.
1358
1359 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1360 (x-initialize-window-system): Assert we're not initialized twice.
1361
1362 * w32-common-fns.el: New File.
1363 (w32-version, w32-using-nt, w32-get-clipboard-data)
1364 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1365 (w32-charset-info-alist, x-last-selected, text)
1366 (x-get-selection-value, x-selection-value): Move here.
1367
1368 * w32-fns.el: Require w32-common-fns.
1369 (w32-version, w32-using-nt, w32-get-clipboard-data)
1370 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1371 (w32-charset-info-alist, x-last-selected, text)
1372 (x-get-selection-value, x-selection-value): Move to
1373 w32-common-fns.
1374
1375 * w32-vars.el:
1376 (w32-allow-system-shell, w32-system-shells): Define only in
1377 non-cygwin case.
1378
795b1482
SM
13792012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1380
1381 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1382 (read-passwd): Remove a few more potential sources of leaks.
1383
f27c99dc
FEG
13842012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1385
1386 * progmodes/python.el (inferior-python-mode)
795b1482 1387 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1388 variables copied from parent buffer.
1389
fcacb558
JD
13902012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1391
1392 * term/ns-win.el (ns-read-file-name): Update declaration to match
1393 nsfns.m.
1394 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1395 it is set when font is acted upon.
1396
be0d5bae
FEG
13972012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1398
1399 Enhancements to indentation.
1400 * progmodes/python.el (python-indent-context): Give priority to
1401 inside-string context. Make comments indentation markers.
1402 (python-indent-region): Do not mess with strings, unless it's the
1403 enclosing set of quotes.
1404
13af0d10
SM
14052012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1406
662a9d0e
SM
1407 * window.el (internal--before-save-selected-window)
1408 (internal--after-save-selected-window): New functions extracted from
1409 save-selected-window. Make sure we return the `alist' we construct.
1410 (save-selected-window): Use them.
1411
1412 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1413 Use with-selected-window.
1414
13af0d10
SM
1415 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1416 forms that define macros (bug#12593).
1417
6aa75fb6
KH
14182012-10-07 Kenichi Handa <handa@gnu.org>
1419
13af0d10
SM
1420 * international/mule-conf.el (compound-text-with-extensions):
1421 Add :mime-charset property as x-ctext.
6aa75fb6 1422
78d876b9
SM
14232012-10-07 Stefan Merten <smerten@oekonux.de>
1424
1425 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1426 (rst-indent-literal-normal, rst-indent-literal-minimized)
1427 (rst-indent-comment): Correct :version tag.
557337e9 1428 (rst-official-cvs-rev): Correct version string.
78d876b9 1429
99a1e701
GM
14302012-10-07 Glenn Morris <rgm@gnu.org>
1431
1432 * mail/rmailmm.el (rmail-mime-process-multipart):
1433 Do not confuse a multipart message with an epilogue
1434 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1435
08f18c3d
FEG
14362012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1437
1438 Fix shell output retrieval and comint-prompt-regexp init.
1439 * progmodes/python.el (inferior-python-mode):
1440 (python-shell-make-comint): Fix initialization of
1441 comint-prompt-regexp from copied file local variables.
1442 (python-shell-fetched-lines): Remove var.
1443 (python-shell-output-filter-in-progress): Rename from
1444 python-shell-fetch-lines-in-progress.
1445 (python-shell-output-filter-buffer): Rename from
1446 python-shell-fetch-lines-string.
1447 (python-shell-fetch-lines-filter): Delete function.
1448 (python-shell-output-filter): New function.
1449 (python-shell-send-string-no-output): Use them.
1450
82ed3ab4
GM
14512012-10-07 Glenn Morris <rgm@gnu.org>
1452
1595ecfa
GM
1453 * hi-lock.el (hi-lock-process-phrase):
1454 Try to make it less fragile. (Bug#7161)
1455
82ed3ab4
GM
1456 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1457
f1f4dba0
GM
14582012-10-06 Glenn Morris <rgm@gnu.org>
1459
addc11ed 1460 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1461 non-existent mode `help'.
1462 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1463
460042b8
GM
1464 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1465 (reftex-create-bibtex-footer): Fix custom types.
1466
67667c70
GM
1467 * progmodes/sh-script.el (sh-indent-after-continuation):
1468 Add explicit :group.
1469
18dec750
GM
1470 * textmodes/rst.el (rst-preferred-decorations)
1471 (rst-shift-basic-offset): Clarify obsolescence versions.
1472
d1a1c7e6
GM
1473 * profiler.el (profiler): Add missing group :version tag.
1474 * avoid.el (mouse-avoidance-banish-position):
1475 * proced.el (proced-renice-command):
1476 * calc/calc.el (calc-ensure-consistent-units):
1477 * calendar/icalendar.el (icalendar-import-format-uid):
1478 * net/tramp.el (tramp-save-ad-hoc-proxies):
1479 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1480 * progmodes/flymake.el (flymake-error-bitmap)
1481 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1482 * progmodes/sh-script.el (sh-indent-after-continuation):
1483 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1484 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1485 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1486 (vhdl-array-index-record-field-in-sensitivity-list)
1487 (vhdl-indent-comment-like-next-code-line):
1488 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1489 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1490 (reftex-cite-key-separator, reftex-create-bibtex-header)
1491 (reftex-create-bibtex-footer):
1492 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1493 (rst-indent-literal-normal, rst-indent-literal-minimized)
1494 (rst-indent-comment): Add missing custom :version tags.
1495
ef35abb4
GM
1496 * calendar/timeclock.el (timeclock-modeline-display):
1497 Add missing obsolete alias for renamed user option.
1498
d1aae614
GM
1499 * strokes.el (strokes-modeline-string):
1500 * emulation/crisp.el (crisp-mode-modeline-string):
1501 * eshell/esh-mode.el (eshell-status-in-modeline):
1502 Aliases to defcustoms must come before the defcustom.
1503
f1f4dba0
GM
1504 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1505 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1506 (cal-tex-cursor-week-monday): Doc fixes.
1507 (cal-tex-cursor-week2-summary): Doc fix.
1508 Rename from cal-tex-cursor-week-at-a-glance.
1509
1510 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1511 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1512
1513 * calendar/calendar.el (calendar-mode-map):
1514 Add cal-tex-cursor-week2-summary.
1515
d39109c3
SM
15162012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1517
685f87b0
SM
1518 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1519
d39109c3
SM
1520 * subr.el (read-passwd-map): New var.
1521 (read-passwd): Use `read-string' again.
1522 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1523
5694896d
J
15242012-10-06 Jambunathan K <kjambunathan@gmail.com>
1525
1526 * register.el (append-to-register, prepend-to-register):
1527 Deactivate mark, as does `copy-to-register' (bug#12389).
1528
9414dd8d
CY
15292012-10-06 Chong Yidong <cyd@gnu.org>
1530
1531 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1532
2b89bca4
KH
15332012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1534
1535 * international/characters.el: Fix simple mistake ((car chars) ->
1536 elt), delete duplicated code.
1537
d5acb99a
GM
15382012-10-06 Glenn Morris <rgm@gnu.org>
1539
1540 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1541
123ec157
JS
15422012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1543
1544 * color.el (color-hsl-to-rgb): Fix incorrect results for
1545 small and large hue values. (Bug#12559)
1546
7fa36ccb
FEG
15472012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1548
1549 Enhancements to docstring formatting when filling paragraphs.
1550 * progmodes/python.el (python-fill-docstring-style): Rename from
1551 python-fill-string-style. Added new style.
1552 (python-fill-string): Use new style. Better checks for
1553 docstrings.
1554
d8788e1e
GM
15552012-10-05 Glenn Morris <rgm@gnu.org>
1556
204f3953
GM
1557 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1558
d8788e1e
GM
1559 * color.el (color-name-to-rgb, color-rgb-to-hex)
1560 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1561 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1562 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1563 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1564
8d956cef
GM
1565 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1566
e8757f09 15672012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1568
1569 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1570 to get the correct size across symlinks.
1571
e8757f09
GM
1572 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1573
0e2ae83d
JL
15742012-10-04 Juri Linkov <juri@jurta.org>
1575
1576 * replace.el (query-replace-interactive): Declare obsolete.
1577 (query-replace-read-from): Add the last incremental search string
1578 to the list of default values accessible via M-n.
1579 (map-query-replace-regexp): Use `read-regexp'.
1580 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1581 (map-query-replace-regexp, replace-string, replace-regexp):
1582 Fix docstrings to replace mentions of `query-replace-interactive'
1583 with alternatives. (Bug#12526)
1584
93cacb6d
JL
15852012-10-04 Juri Linkov <juri@jurta.org>
1586
1587 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1588 (dired-pop-to-buffer): Declare obsolete.
1589 (dired-mark-pop-up): Doc fix.
1590
fc345011
FEG
15912012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1592
1593 Allow user to set docstring style for fill-paragraph.
1594 * progmodes/python.el
1595 (python-fill-comment-function, python-fill-string-function)
1596 (python-fill-decorator-function, python-fill-paren-function):
1597 Remove :safe for defcustoms.
1598 (python-fill-string-style): New defcustom
5694896d 1599 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1600 (python-fill-string): Honor python-fill-string-style settings.
1601
6bab5d8b
MR
16022012-10-04 Martin Rudalics <rudalics@gmx.at>
1603
1604 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1605 after setting its buffer (Bug#10805).
1606
a1a9f411
FEG
16072012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1608
1609 Fix cornercase for string syntax.
1610 * progmodes/python.el (python-syntax-propertize-function):
1611 Simplify and enhance the regexp for unescaped quotes. Now it also
1612 matches quotes in weird situations like the single quote in
1613 "something\"'".
1614 (python-syntax-stringify): Simplify num-quotes detecting code.
1615
05e153a6
GM
16162012-10-03 Glenn Morris <rgm@gnu.org>
1617
1618 * help-macro.el (three-step-help):
1619 Revert 2012-09-29 change. (Bug#12567)
1620
2e566ecb
MR
16212012-10-03 Martin Rudalics <rudalics@gmx.at>
1622
96ef9ccd
MR
1623 * menu-bar.el (kill-this-buffer): Don't do anything when
1624 `menu-frame' is not alive or visible (Bug#8184).
1625
2e566ecb
MR
1626 * emacs-lisp/debug.el (debug): When quitting the debugger window
1627 restore current buffer (Bug#12502).
1628
a96e1cb7
CY
16292012-10-02 Chong Yidong <cyd@gnu.org>
1630
5694896d
J
1631 * progmodes/hideif.el (hif-lookup, hif-defined):
1632 Handle semantic-c-takeover-hideif.
a96e1cb7 1633
b3ecad33
PE
16342012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1635
1636 Change sampling interval units from ms to ns.
1637 * profiler.el (profiler-sampling-interval): Change units
1638 from ms to ns, multiplying the default by 1000000 so that
1639 it remains 1 ms.
1640 (profiler-report-cpu-line-format): Give enough room for
1641 the maximum counters on 64-bit hosts.
1642 (profiler-report-render-calltree-1): Call them "CPU samples",
1643 not "Time (ms)", since they are not milliseconds now (and
1644 never really were).
1645
8cb51b66 16462012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1647
5694896d
J
1648 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1649 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1650
fd795bf4
CY
16512012-10-02 Chong Yidong <cyd@gnu.org>
1652
1653 * emacs-lisp/eieio.el: Restore Version header.
1654
fe0a74f9
SM
16552012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1656
6be9197e
SM
1657 * vc/diff-mode.el (diff--auto-refine-data): New var.
1658 (diff-hunk): Use it to delay refinement.
1659 (diff-mode): Remove overlays when we turn off font-lock.
1660
18486139
SM
1661 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1662 (table-initialize-table-fixed-width-mode)
1663 (table-set-table-fixed-width-mode): Remove functions.
1664 (table-command-list): Move initialization into declaration.
1665 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1666 (table-with-cache-buffer): Use `declare'.
1667 (table-span-cell): Simplify via CSE.
1668 (table-fixed-width-mode): Use define-minor-mode.
1669 (table-call-interactively, table-funcall, table-apply): Remove.
1670 (table-function): New function, to replace them.
1671
d83ef976
SM
1672 * bookmark.el (bookmark-search-pattern): Remove var.
1673 (bookmark-read-search-input): Remove function.
1674 (bookmark-bmenu-search): Reimplement using a minibuffer.
1675
cd386662
SM
1676 * faces.el (modeline): Remove obsolete face name.
1677
fe0a74f9
SM
1678 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1679 and give a non-nil default value.
1680 (add-change-log-entry): Simplify accordingly.
1681
9f7b98f8
DG
16822012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1683
1684 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1685 (vc-git-log-edit-toggle-amend): New function.
1686 (vc-git-log-edit-toggle-signoff): New function.
1687 (vc-git-log-edit-mode): New major mode.
1688 (vc-git-log-edit-mode-map): Keymap for it.
1689 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1690
1691 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1692 header names.
1693 (log-edit-toggle-header): New function.
1694 (log-edit-extract-headers): Accept function values in HEADERS alist.
1695
62a81506
CY
16962012-10-01 David Engster <deng@randomsample.de>
1697
1698 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1699 from symbol property and change message to be more consistent with
1700 Emacs proper.
1701 (eieio-describe-generic): Add filename for each implementation.
1702 Fix indices for generic and normal methods.
1703 (eieio-method-def, eieio-class-def): New buttons.
1704 (eieio-help-find-method-definition)
1705 (eieio-help-find-class-definition): New functions.
1706 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1707 class, constructor and method definitions.
1708
1709 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1710 information in symbol property.
1711 (scoped-class): Remove.
1712 (eieio-slot-name-index, call-next-method): Check if it is bound.
1713
17142012-10-01 Leo P. White <lpw25@cam.ac.uk>
1715
1716 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1717 (eieio-custom-mode): New major mode.
1718 (eieio-customize-object): Use it.
1719
17202012-10-01 Eric Ludlam <zappo@gnu.org>
1721
1722 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1723 specifying the expected class, and whether subclassing is allowed.
1724 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1725 (eieio-persistent-validate/fix-slot-value)
1726 (eieio-persistent-slot-type-is-class-p): New functions.
1727 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1728
1729 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1730 Stop using unused publd variable.
1731
1732 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1733 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1734 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1735 (eieio-speedbar-handle-click): Do not specify a class for the
1736 method. Fixes method invocation order problems with EDE.
1737
375e49d4
SM
17382012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1741 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1742
16ce6ccd
KF
17432012-10-01 Karl Fogel <kfogel@red-bean.com>
1744
1745 * bookmark.el (bookmark-version-control): Give tags in the
1746 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1747 (bookmark-write-file): Bind `print-circle' to `t' to allow
1748 circular custom bookmark types. (Bug#12503)
16ce6ccd 1749
19e54a4d
PE
17502012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1751
86ec63ba
PE
1752 Revert the FOLLOW-SYMLINKS change for file-attributes.
1753 * files.el (remote-file-name-inhibit-cache, after-find-file):
1754 * time.el (display-time-file-nonempty-p): Undo last change.
1755
19e54a4d
PE
1756 * profiler.el (profiler-sampling-interval): Change default back to 1.
1757 See Stefan Monnier in
1758 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1759
0478776b
FEG
17602012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1761
1762 Shell output catching a la gud-gdb.
1763 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1764 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1765 New Vars.
0478776b
FEG
1766 (python-shell-fetch-lines-filter): New function.
1767 (python-shell-send-string-no-output): Use them.
1768
c22bac2c
TM
17692012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1770
1771 * profiler.el (profiler-sampling-interval): Rename from
1772 profiler-sample-interval.
1773 (profiler-sampling-interval): Default to 10.
1774 (profiler-find-profile): New command (was profiler-find-log).
1775 (profiler-find-profile-other-window): New command.
1776 (profiler-find-profile-other-frame): New command.
1777 (profiler-profile): Introduce API-level data structure.
1778
e7a2937b
PE
17792012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1780
1781 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1782 * files.el (remote-file-name-inhibit-cache):
1783 * time.el (display-time-file-nonempty-p): Use it.
1784 * files.el (after-find-file): Don't chase links before calling
1785 file-exists-p, as file-exists-p already does the right thing.
1786
4f595e15
RA
17872012-09-30 Ralf Angeli <angeli@caeruleus.net>
1788
1789 Merge from standalone RefTeX repository.
1790
1791 The following ChangeLog entries are shortened versions of the
1792 original ones with file paths adapted. A not so strongly edited
1793 version of the original ChangeLog can be found in the commit log.
1794
1795 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1796 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1797 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1798
1799 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1800 that entries with whitespace at various places are found.
1801 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1802 Include @String definitions in the resulting bib file. Add header
1803 and footer defined in `reftex-create-bibtex-header' and
1804 `reftex-create-bibtex-footer'.
1805 (reftex-do-citation): Make it possible again to insert
1806 non-existent entries. Save match data when asking for optional
1807 arguments. Return all keys, not just the first one.
1808 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1809 all citations in the same line.
1810 (reftex-parse-bibtex-entry): Accept additional optional argument
1811 `raw' and keep quotes or braces if it is non-nil. Match fields
1812 containing hyphens besides word constituents.
1813 (reftex-get-string-refs): New function.
1814 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1815 and ask if it should be reread in case it did.
1816 (reftex-pop-to-bibtex-entry)
1817 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1818 entries with spaces or tabs in front of arguments.
1819 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1820 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1821 Match entries containing numbers and symbol constituents.
1822 (reftex-do-citation, reftex-figure-out-cite-format):
1823 Use `reftex-cite-key-separator'.
4f595e15
RA
1824
1825 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1826 (reftex-mouse-view-crossref): Explain why point is set.
1827
1828 * textmodes/reftex-global.el: Whitespace changes.
1829
1830 * textmodes/reftex-index.el: Move provide statement to end of
1831 file.
1832 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1833 (reftex-index-visit-phrases-buffer): Set marker when visiting
1834 buffer. This allows for returning from the phrases file to the
1835 file one was just editing instead of the file where the last
1836 phrases was added from.
1837 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1838 punctuation syntax as it usually is not used as string quote in
1839 TeX-related modes and may occur unmatched. The change also
1840 prevents fontification of quoted content.
1841 (reftex-index-phrases-mode): Use it.
1842
375e49d4
SM
1843 * textmodes/reftex-parse.el (reftex-parse-from-file):
1844 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1845 (reftex-parse-from-file): Use beginning of match instead of end as
1846 bound.
1847
1848 * textmodes/reftex-ref.el: Adapt creation of
1849 `reftex-<package>-<macro>' functions to new structure of
1850 `reftex-ref-style-alist'.
375e49d4
SM
1851 (reftex-reference): Use `reftex-ref-style-list' function.
1852 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1853 reference macro if `reftex-ref-macro-prompt' is non-nil.
1854 (reftex-reference): Pass refstyle to `reftex-format-special'.
1855 Determine reference macro by looking at
375e49d4
SM
1856 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1857 Use only one special format function.
4f595e15
RA
1858 (reftex-varioref-vref, reftex-fancyref-fref)
1859 (reftex-fancyref-Fref): Remove definitions. The functions are now
1860 generated from `reftex-ref-style-alist'.
1861 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1862 Remove.
1863 (reftex-format-special): New function.
1864
1865 * textmodes/reftex-sel.el
1866 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1867 of `reftex-ref-style-alist'. Remove code for testing macro type.
1868 (reftex-select-toggle-varioref)
1869 (reftex-select-toggle-fancyref): Remove.
1870 (reftex-select-cycle-ref-style-internal)
1871 (reftex-select-cycle-ref-style-forward)
1872 (reftex-select-cycle-ref-style-backward): New functions.
1873 (reftex-select-label-map): Use `v' and `V' for general cycling
1874 through reference styles. Add `p' for switching between number
1875 and page reference types.
1876
375e49d4
SM
1877 * textmodes/reftex-toc.el (reftex-re-enlarge):
1878 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1879 the horizontal version throws an error even if the parameter is 0.
1880
1881 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1882 (reftex-plug-into-AUCTeX): Doc fix.
1883 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1884 string. Adapt to new name.
1885 (reftex-ref-style-alist): Change structure so that it is not
1886 possible to use multiple different package names within a style.
375e49d4
SM
1887 Remove the symbols for symbols for macro type distinction.
1888 Add characters for macro selection.
4f595e15
RA
1889 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1890 (reftex-create-bibtex-footer): New variables.
1891 (reftex-format-ref-function): Mention third argument of special
1892 format function.
375e49d4
SM
1893 (reftex-ref-style-alist, reftex-ref-style-default-list):
1894 New variables.
4f595e15
RA
1895 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1896 to new implementation. Mark as obsolete. Add compatibility code
1897 for honoring the variable values in case they are set.
375e49d4
SM
1898 (reftex-cite-format-builtin, reftex-bibliography-commands):
1899 Add support for ConTeXt.
1900 (reftex-format-ref-function, reftex-format-cite-function):
1901 Fix custom type.
4f595e15
RA
1902 (reftex-cite-key-separator): New variable.
1903
1904 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1905 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1906 `reftex-syntax-table' because parens have to retain their paren
1907 syntax in order for parsing of BibTeX entries like @book(...) to
1908 work.
1909 (reftex-in-comment): Do not error out if `comment-start-skip' is
1910 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1911 (reftex-tie-multifile-symbols): Add doc string.
1912 Initialize `reftex-ref-style-list'.
4f595e15
RA
1913 (reftex-untie-multifile-symbols): Add doc string.
1914 (reftex-add-index-macros): Doc fix.
1915 (reftex-ref-style-activate, reftex-ref-style-toggle)
1916 (reftex-ref-style-list): New functions.
1917 (reftex-mode-menu): Use them. Adapt to new structure of
1918 `reftex-ref-style-alist'.
1919 (reftex-select-with-char): Kill the RefTeX Select buffer when
1920 done.
1921 (reftex-remove-if): New function.
1922 (reftex-erase-all-selection-and-index-buffers)
1923 (reftex-mode-menu): Reference styles are now computed from
1924 `reftex-ref-style-alist'. Fix typo.
1925 (reftex-report-bug): New function.
1926 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1927 algorithms with O(n log n). Introduce optional argument SORT (not
1928 yet used).
1929
440ba395
FEG
19302012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1931
1932 Enhancements for triple-quote string syntax.
375e49d4
SM
1933 * progmodes/python.el (python-syntax-propertize-function):
1934 Match both quote cases in one regexp.
440ba395
FEG
1935 (python-syntax-stringify): Handle matches properly.
1936
4c478e6b
JL
19372012-09-30 Juri Linkov <juri@jurta.org>
1938
1939 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1940 to nil around the call to `insert' to prevent
4c478e6b
JL
1941 directory time modification by lock_file. (Bug#2295)
1942 * tar-mode.el (tar-summarize-buffer): Idem.
1943
d80d54b2
JL
19442012-09-30 Juri Linkov <juri@jurta.org>
1945
1946 * facemenu.el (list-colors-sort): Add option "Luminance".
1947 (list-colors-sort-key): Implement it.
1948
1949 * vc/diff-mode.el (diff-refine-removed):
1950 * vc/ediff-init.el (ediff-fine-diff-A):
1951 * vc/smerge-mode.el (smerge-refined-removed):
1952 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1953
d7e642cc
JD
19542012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1955
1956 * term/ns-win.el (x-file-dialog): New function.
1957
ee41332b
JB
19582012-09-30 Juanma Barranquero <lekktu@gmail.com>
1959
1960 * ido.el (ido-max-directory-size): Default to nil; the current
1961 default is small for POSIX systems, and impractical on Windows 7
1962 now that lstat returns directory sizes for NTFS.
1963
5938d519
MR
19642012-09-30 Martin Rudalics <rudalics@gmx.at>
1965
1966 In buffer display functions handle window-height/window-width
1967 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1968 * window.el (window--display-buffer): New argument ALIST.
1969 Obey window-height and window-width alist entries.
1970 (window--try-to-split-window): New argument ALIST.
1971 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1972 changed and window-combination-limit equals `window-size'.
1973 (display-buffer-in-atom-window)
1974 (display-buffer-in-major-side-window)
1975 (display-buffer-in-side-window, display-buffer-same-window)
1976 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1977 (display-buffer-pop-up-window, display-buffer-below-selected)
1978 (display-buffer-at-bottom, display-buffer-in-previous-window)
1979 (display-buffer-use-some-window): Adjust all callers of
1980 window--display-buffer and window--try-to-split-window.
1981 (fit-frame-to-buffer): New option.
1982 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1983 is non-nil.
1984 (display-buffer-in-major-side-window): Evaluate window-height /
1985 window-width alist entries.
1986
1987 * help.el (temp-buffer-resize-frames)
1988 (temp-buffer-resize-regexps): Remove options.
1989 (temp-buffer-resize-mode): Adjust doc-string.
1990 (resize-temp-buffer-window): Don't consult
1991 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1992 temp-buffer-resize-frames.
1993
375e49d4
SM
1994 * dired.el (dired-mark-pop-up):
1995 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1996 entry.
1997
c4c0c2df
CY
19982012-09-30 Chong Yidong <cyd@gnu.org>
1999
48de8b12
CY
2000 * server.el (server-host): Document the security implications.
2001 (server-auth-key): Doc fix.
2002
2003 * startup.el (initial-buffer-choice): Doc fix.
2004
2005 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2006
a97dc380
CY
2007 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2008 restriction change.
2009
d39d3c8e
CY
2010 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2011
c4c0c2df
CY
2012 * help-fns.el (help-fns--obsolete): Fix last change.
2013
98a5e33b
SM
20142012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2015
34cf6f39
SM
2016 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2017 (minor-mode-map-alist): Remove redundant code.
2018
e01c13fe
SM
2019 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2020 visited in a buffer.
2021 (cvs-insert-visited-file): New function.
2022 (find-file-hook): Use it.
2023
2024 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2025
02661b3a
SM
2026 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2027 chose face.
2028 (log-edit-empty-buffer-p): Don't require a space after a header.
2029
43711d4b
SM
2030 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2031
38a30d64
SM
2032 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2033
4ffb41a9
SM
2034 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2035 a proper minor-mode.
2036
98a5e33b
SM
2037 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2038
de82e29b
GM
20392012-09-29 Glenn Morris <rgm@gnu.org>
2040
5cc2e639
GM
2041 * winner.el (winner-mode): Remove variable (let define-minor-mode
2042 handle it).
2043 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2044 Doc fixes.
2045 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2046 (winner-mode): Use define-minor-mode.
2047
7bd302eb
GM
2048 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2049 the full definition in loaddefs, rather than duplicating it.
2050
2923922f 2051 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2052
0e3e4156
GM
2053 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2054 (inferior-lisp-program, inferior-lisp-load-command)
2055 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2056 No need to autoload defcustoms.
0e3e4156 2057
de82e29b
GM
2058 * hippie-exp.el (hippie-expand-try-functions-list)
2059 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2060 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2061 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2062 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2063 * progmodes/vhdl-mode.el (vhdl-line-expand):
2064 Explicitly load hippie-exp, so it does not get autoloaded
2065 while hippie-expand-try-functions-list is let-bound.
2066
e60b51ab
GM
20672012-09-28 Glenn Morris <rgm@gnu.org>
2068
277f0cfa
GM
2069 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2070
e60b51ab
GM
2071 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2072 Only "cl.el" counts as cl these days.
2073
53baf48a
JL
20742012-09-28 Juri Linkov <juri@jurta.org>
2075
2076 Display archive errors in the echo area instead of inserting
2077 to the file buffer.
2078
2079 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2080 to STDERR-TEST that can be a regexp matching a successful output.
2081 Create a temporary file and redirect stderr to it. Search for
2082 STDERR-TEST in the stderr output and display it in the echo area
2083 if no match is found.
2084 (archive-extract-by-file): New function like
2085 `archive-extract-by-stdout' but extracting archives to files
2086 and looking for successful matches in stdout. Function body is
2087 mostly copied from `archive-rar-extract'.
2088 (archive-rar-extract): Use `archive-extract-by-file'.
2089 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2090
9c1228c3
LL
20912012-09-28 Leo Liu <sdl.web@gmail.com>
2092
375e49d4
SM
2093 * pcomplete.el (pcomplete-show-completions):
2094 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2095
9c1228c3
LL
2096 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2097
7f457c06
SM
20982012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2099
3df749b0
SM
2100 * type-break.el: Use lexical-binding.
2101 (type-break-mode): Use define-minor-mode.
2102
7f457c06
SM
2103 * emacs-lisp/pcase.el (pcase--mark-used): New.
2104 (pcase--u1): Use it (bug#12512).
2105
2106 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2107 in load-history with the right file name.
2108
c00ebc98
TH
21092012-09-28 Tassilo Horn <tsdh@gnu.org>
2110
2111 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2112 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2113 (doc-view-get-bounding-box): Make bounding box slicing work for
2114 ODF and DVI documents.
2115
96fb7170
GM
21162012-09-28 Glenn Morris <rgm@gnu.org>
2117
2118 * type-break.el (type-break-mode, type-break-interval)
2119 (type-break-good-rest-interval, type-break-keystroke-threshold):
2120 No need to autoload.
2121 (type-break-good-rest-interval, type-break-keystroke-threshold):
2122 Add :set-after.
2123
5bc93c67
CY
21242012-09-28 Chong Yidong <cyd@gnu.org>
2125
2126 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2127 Add :version tag.
2128
9cad61d6
SM
21292012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2130
e28e67b3 2131 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2132
daee954c
GM
21332012-09-27 Glenn Morris <rgm@gnu.org>
2134
a88324d4
GM
2135 * faces.el (x-display-name): Declare (for without-x builds).
2136
8e5064e5
GM
2137 * linum.el (linum-format): Don't autoload it. Improve :type.
2138
cc1783c2
GM
2139 * progmodes/tcl.el: Don't require outline when compiling.
2140 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2141 * textmodes/sgml-mode.el: Don't require outline when compiling.
2142 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2143
48c339f2
GM
2144 * term.el (term-ansi-reset):
2145 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2146
daee954c
GM
2147 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2148 files for RCS and SCCS. (Bug#9781)
2149
b7f42161
CY
21502012-09-27 Chong Yidong <cyd@gnu.org>
2151
2152 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2153 change; value should be t.
2154
a2e770db
SM
21552012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2156
83600dc8
SM
2157 * image-mode.el: Use lexical-binding.
2158 (image-mode-winprops): Use t to stand for the window of
2159 a buffer that's not displayed.
2160 * doc-view.el (doc-view-new-window-function): Handle the new
2161 t in winprops.
2162 (doc-view-enlarge): Make it a real nop if the size is not changed.
2163 (doc-view-display): Handle the case where the buffer is not (yet?)
2164 displayed in any window.
2165 (doc-view-saved-settings): New var.
2166 (doc-view-mode): Use it.
2167 (doc-view-fallback-mode): Set it.
2168
a2e770db
SM
2169 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2170 Set lexical-binding.
2171 (minibuffer-eldef-shorten-default): New var.
2172 (minibuffer-default-in-prompt-regexps): Use it for new default.
2173 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2174
e3b60857
JB
21752012-09-26 Juanma Barranquero <lekktu@gmail.com>
2176
2177 * international/uni-bidi.el:
2178 * international/uni-category.el:
2179 * international/uni-name.el:
2180 * international/uni-numeric.el: Regenerate.
2181
3a880af4
SM
21822012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2183 Stefan Monnier <monnier@iro.umontreal.ca>
2184
2185 * profiler.el: New file.
2186
07b1a5fb
SM
21872012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2190 (testcover-reinstrument): Simplify with CSE.
2191
42019c2e
JB
21922012-09-26 Juanma Barranquero <lekktu@gmail.com>
2193
2194 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2195
179f044b
WS
21962012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2197
2198 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2199 (verilog-auto-input, verilog-auto-insert-lisp)
2200 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2201 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2202 (verilog-auto-unused, verilog-auto-wire)
2203 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2204 newline. Reported by Andrew Jones.
2205 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2206 Reported by Brad Dobbie.
07b1a5fb
SM
2207 (verilog-batch-delete-trailing-whitespace):
2208 Create verilog-batch-delete-trailing-whitespace.
2209 Reported by Brad Dobbie.
179f044b
WS
2210 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2211 parameters from another module. Reported by Dan Katz.
2212 (verilog-auto, verilog-auto-assign-modport)
2213 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2214 AUTOINOUTMODPORT for UVM interface module shell generation.
2215 Reported by Brad Dobbie.
2216 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2217 standard behavior.
2218 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2219 Reported by Matt Martin.
2220
9c52dd5a
MR
22212012-09-25 Martin Rudalics <rudalics@gmx.at>
2222
2223 * window.el (window--resize-child-windows): When resizing child
2224 windows proportionally, process them in reverse order to
2225 preserve the "when splitting a window the new one gets the odd
2226 line" behavior.
2227 (window--resize-root-window-vertically): When resizing the
2228 minibuffer window try to affect only windows at the bottom of the
2229 frame. (Bug#12419)
2230
863666eb
CY
22312012-09-25 Chong Yidong <cyd@gnu.org>
2232
2233 * subr.el (declare): Doc fix.
2234
2235 * help-fns.el (help-fns--obsolete): Handle macros properly.
2236
59f7af81
CY
22372012-09-25 Chong Yidong <cyd@gnu.org>
2238
2239 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2240 this function obsolete.
2241
2242 * calendar/cal-x.el (calendar-two-frame-setup)
2243 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2244 * calendar/calendar.el (american-calendar, european-calendar)
2245 (calendar-for-loop):
2246 * comint.el (comint-dynamic-simple-complete)
2247 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2248 * desktop.el (desktop-load-default):
2249 * dired-x.el (dired-omit-here-always)
2250 (dired-hack-local-variables, dired-default-directory):
2251 * emacs-lisp/derived.el (derived-mode-class):
2252 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2253 * emacs-lock.el (toggle-emacs-lock):
2254 * epa.el (epa-display-verify-result):
2255 * epg.el (epg-sign-keys, epg-start-sign-keys)
2256 (epg-passphrase-callback-function):
2257 * eshell/esh-util.el (eshell-for):
2258 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2259 (eshell-add-to-window-buffer-names):
2260 * files.el (locate-file-completion):
2261 * imenu.el (imenu-example--create-c-index)
2262 (imenu-example--create-lisp-index)
2263 (imenu-example--lisp-extract-index-name)
2264 (imenu-example--name-and-position):
2265 * international/mule-cmds.el (princ-list):
2266 * international/mule-diag.el (decode-codepage-char):
2267 * international/mule-util.el (detect-coding-with-priority):
2268 * iswitchb.el (iswitchb-read-buffer):
2269 * mail/mailalias.el (mail-complete):
2270 * mail/sendmail.el (mail-sent-via):
2271 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2272 (mouse-major-mode-menu):
2273 * password-cache.el (password-read-and-add):
2274 * pcomplete.el (pcomplete-parse-comint-arguments):
2275 * progmodes/sh-script.el (sh-maybe-here-document):
2276 * replace.el (query-replace-regexp-eval):
2277 * savehist.el (savehist-load):
2278 * simple.el (choose-completion-delete-max-match):
2279 * term.el (term-dynamic-simple-complete):
2280 * vc/ediff-init.el (ediff-check-version):
2281 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2282 * vc/vc.el (vc-diff-switches-list):
2283 * view.el (view-return-to-alist-update): Likewise.
2284
2285 * subr.el (eval-next-after-load, makehash, insert-string)
2286 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2287 mark obsolete.
2288 (mode-line-inverse-video): Variable deleted.
2289
2290 * international/mule-util.el (string-to-sequence): Remove.
2291
2292 * calendar/calendar.el (calendar-version):
2293 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2294 (icalendar-convert-diary-to-ical):
2295 * cus-edit.el (custom-mode):
2296 * ansi-color.el (ansi-color-unfontify-region):
2297 * international/latin1-disp.el (latin1-char-displayable-p):
2298 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2299 * progmodes/which-func.el (which-func-update-1):
2300 Use define-obsolete-function-alias.
59f7af81
CY
2301
2302 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2303 * net/newst-treeview.el (newsticker-groups-filename):
2304 Fix incorrect obsolescence declaration.
59f7af81
CY
2305
2306 * allout.el (allout-passphrase-hint-string): Likewise.
2307 (allout-init): Use a declare form to mark obsolete.
2308
2309 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2310 this applies to functions.
2311
2312 * iswitchb.el (iswitchb-read-buffer): Move code of
2313 iswitchb-define-mode-map here, and delete that obsolete function.
2314
2315 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2316 font-lock-reference-face.
2317
cca96c97
GM
23182012-09-25 Glenn Morris <rgm@gnu.org>
2319
b06eeda8
GM
2320 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2321 Doc fixes.
2322
cca96c97
GM
2323 * eshell/em-term.el (eshell-term-name):
2324 Default to term-term-name. (Bug#12485)
2325
dc4f818b
FEG
23262012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2327
cca96c97
GM
2328 * progmodes/python.el (python-shell-send-buffer): Better handling
2329 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2330
289c24bd
GM
23312012-09-24 Glenn Morris <rgm@gnu.org>
2332
2333 * eshell/esh-cmd.el (eshell-find-alias-function):
2334 Tighten up file-name regexp. (Bug#12499)
2335
8fb8b88f
FEG
23362012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2337
2338 Enhancements for triple-quote string syntax.
2339 * progmodes/python.el (python-quote-syntax): Remove.
2340 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2341 (python-syntax-count-quotes, python-syntax-stringify):
2342 New functions.
8fb8b88f 2343
6c27f0f8
CY
23442012-09-24 Chong Yidong <cyd@gnu.org>
2345
a5f2b6ec
CY
2346 * mail/supercite.el (sc-version): Remove obsolete function.
2347 (sc-describe): Don't mark as obsolete, since it is bound.
2348 (sc-submit-bug-report): Remove.
2349
2350 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2351 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2352 (log-edit-require-final-newline)
2353 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2354
2355 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2356 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2357 * vc/vc.el (vc-checkout-carefully): Likewise.
2358
2359 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2360 (emerge-version): Remove.
2361
2362 * progmodes/compile.el (compile-internal): Remove.
2363 (compilation-parse-errors-function): Fix typo.
2364
2365 * international/mule.el (set-char-table-default): Remove.
2366 (set-coding-priority, make-coding-system, generic-char-p)
2367 (charset-list, charset-bytes, charset-id): Use declare to mark
2368 functions as obsolete.
2369
2370 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2371 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2372 * vc/vc-hooks.el (vc-default-registered): Don't use
2373 vc-master-templates.
2374
07b1a5fb
SM
2375 * font-lock.el (font-lock-reference-face):
2376 Use define-obsolete-variable-alias.
6c27f0f8
CY
2377
2378 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2379 * calendar/calendar.el (calendar-font-lock-keywords):
2380 * calendar/diary-lib.el (diary-font-lock-keywords)
2381 (diary-fancy-font-lock-keywords):
2382 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2383 * textmodes/reftex-index.el (reftex-insert-index):
2384 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2385 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2386 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2387 * progmodes/prolog.el (prolog-font-lock-keywords):
2388 * progmodes/idlwave.el (idlwave-idl-keywords):
2389 * progmodes/ada-mode.el (ada-font-lock-keywords):
2390 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2391
bcc0adbf
GM
23922012-09-24 Glenn Morris <rgm@gnu.org>
2393
2394 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2395
095bb823
FEG
23962012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2397
2398 * progmodes/python.el (python-indent-line): More consistent cursor
2399 movement behavior.
2400
70efc5c9
SM
24012012-09-23 Stefan Merten <smerten@oekonux.de>
2402
2403 * textmodes/rst.el: Fix compiler warning.
2404
2f438239
RW
24052012-09-23 Roland Winkler <winkler@gnu.org>
2406
07b1a5fb
SM
2407 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2408 Transcribe also LaTeX hyphenation.
2f438239
RW
2409 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2410 bibtex-reformat-previous-options.
2411
936ad041
RW
24122012-09-23 Roland Winkler <winkler@gnu.org>
2413
2414 * proced.el (proced-renice-command): New variable.
2415 (proced-marked-processes): New function.
2416 (proced-with-processes-buffer): New macro.
2417 (proced-send-signal): Use them.
2418 (proced-renice): New command bound to r.
2419
6fab0274
RW
24202012-09-23 Roland Winkler <winkler@gnu.org>
2421
2422 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2423 ibuffer-saved-filter-groups has one element, shortcut the call of
2424 completing-read. (Bug#12331)
2425
9a930676
CY
24262012-09-23 Chong Yidong <cyd@gnu.org>
2427
2428 * bindings.el (mode-line-toggle-read-only):
2429 * bs.el (bs-toggle-readonly):
2430 * buff-menu.el (Buffer-menu-toggle-read-only):
2431 * dired.el (dired-toggle-read-only):
2432 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2433
d07ff9db
CY
24342012-09-23 Chong Yidong <cyd@gnu.org>
2435
2436 * image.el (image-type-available-p): Adapt to init-image-library
2437 argument changes.
2438
51c4474e
JL
24392012-09-22 Juri Linkov <juri@jurta.org>
2440
2441 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2442 `dired-toggle-read-only'. (Bug#12462)
2443
43bf5e8e
MR
24442012-09-22 Martin Rudalics <rudalics@gmx.at>
2445
2446 * subr.el (temp-output-buffer-show): New function.
2447 (with-output-to-temp-buffer): Call temp-output-buffer-show
2448 instead of internal-temp-output-buffer-show.
2449
c88b867f
CY
24502012-09-22 Chong Yidong <cyd@gnu.org>
2451
3df47cd5
CY
2452 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2453 (Bug#12462).
2454
c88b867f
CY
2455 * repeat.el (repeat): Doc fix (Bug#12348).
2456
2457 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2458 (Bug#10909).
2459
2460 * simple.el (shell-command-on-region): Doc fix.
3171e303 2461 (read-only-mode): Doc fix.
c88b867f 2462
df9685f3
EZ
24632012-09-22 Eli Zaretskii <eliz@gnu.org>
2464
2465 * emacs-lisp/timer.el (run-with-idle-timer)
2466 (timer-activate-when-idle): Warn against reinvoking an idle timer
2467 from within its own timer action. (Bug#12447)
2468
8e17c9ba
MR
24692012-09-22 Martin Rudalics <rudalics@gmx.at>
2470
2471 * cus-start.el (window-combination-limit): Add new optional
2472 values.
2473 * window.el (temp-buffer-window-show)
2474 (window--try-to-split-window): Handle new values of
2475 window-combination-limit (Bug#1806).
2476 (split-window): Test window-combination-limit for t instead of
2477 non-nil.
2478 (display-buffer-at-bottom): New buffer display action function.
2479 * help.el (temp-buffer-resize-regexps): New option.
2480 (temp-buffer-resize-mode): Rewrite doc-string.
2481 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2482 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2483
48a24920
SM
24842012-09-22 Stefan Merten <smerten@oekonux.de>
2485
70efc5c9 2486 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2487 (rst-official-version)
2488 (rst-package-emacs-version-alist): Sync with official version
2489 V1.4.0.
2490 (rst-faces-defaults, rst-set-level-default)
2491 (rst-level-face-max, rst-level-face-base-color)
2492 (rst-level-face-base-light, rst-level-face-format-light)
2493 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2494 (rst-adornment-faces-alist): Match new setup.
2495 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2496 (rst-level-5, rst-level-6): New faces.
2497
82f8cd94
CY
24982012-09-22 Chong Yidong <cyd@gnu.org>
2499
2500 * simple.el (undo): Handle indirect buffers (Bug#8207).
2501
acfa068f 25022012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2503
2504 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2505 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2506 (ido-set-matches-1): Use it. (Bug#2042)
2507
acfa068f 25082012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2509
2510 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2511 Fix 2011-05-17 change. (Bug#12418)
2512
acfa068f 25132012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2514
2515 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2516
acfa068f 25172012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2518
2519 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2520 Be more robust about locating simple.el.
2521
acfa068f 25222012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2523
2524 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2525
acfa068f
CY
25262012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2527
2528 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2529
41a97e6f
JL
25302012-09-20 Juri Linkov <juri@jurta.org>
2531
eb2deaff
JL
2532 * replace.el (query-replace-read-from): Use `read-regexp' instead
2533 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2534 (occur-read-primary-args): Use `read-regexp' instead of
2535 `read-string'.
2536 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2537 `read-from-minibuffer'.
2538 * isearch.el (isearch-occur): Use `read-regexp' instead of
2539 `read-string'.
2540 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2541 `read-from-minibuffer'.
2542 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2543 of `read-string'. (Bug#7567)
2544
5825610b
JL
2545 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2546 and allow accepting a list of strings prepended to a list of
2547 standard default values. Doc fix. (Bug#12321)
2548
eebbf404
JL
2549 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2550
41a97e6f
JL
2551 * replace.el (read-regexp): Don't add ": " when PROMPT already
2552 ends with a colon and space. (Bug#12321)
2553
c9e452d3
TH
25542012-09-20 Tassilo Horn <tsdh@gnu.org>
2555
2556 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2557 error.
2558
ee97deee
SM
25592012-09-20 Stefan Merten <smerten@oekonux.de>
2560
70efc5c9 2561 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2562 Fixes feature request bug#11711.
2563 (rst-mode): Create `imenu-create-index-function'.
2564 (rst-get-stripped-line): Delete after refactoring.
2565 (rst-section-tree, rst-section-tree-rec)
2566 (rst-section-tree-point): Refactor and document properly.
2567 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2568 (rst-imenu-convert-cell, rst-imenu-create-index):
2569 New function.
ee97deee 2570
f490dab9
SM
25712012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2572
95b9712e
SM
2573 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2574 (macroexp--expand-all): Use it.
2575 (macroexp--funcall-and-return): Remove by folding it into its sole
2576 caller (macroexp--warn-and-return).
2577 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2578 Use macroexp--obsolete-warning.
2579
f490dab9
SM
2580 * calc/calc.el: Fix last change by removing the whole chunk, since it
2581 was only needed back when Calc was not bundled.
2582
96e8d411
MR
25832012-09-20 Martin Rudalics <rudalics@gmx.at>
2584
2585 * emacs-lisp/debug.el (debug): Restore assignment to
2586 debugger-old-buffer removed on 2012-09-08.
2587
0876a82d
JL
25882012-09-20 Juri Linkov <juri@jurta.org>
2589
2590 * dired-aux.el (dired-diff): Remove (require 'diff) since
2591 `diff-latest-backup-file' is now autoloaded.
2592
9f7c28f0
CY
25932012-09-20 Chong Yidong <cyd@gnu.org>
2594
2595 * vc/diff.el (diff-latest-backup-file): Autoload.
2596
7a04bee9
SM
25972012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2598
e6f0a80d
SM
2599 * calc/calc.el: Remove redundant autoload shape check.
2600 (sel-mode): Don't defvar.
2601 (calc-get-stack-element): Add `sel-mode' arg instead.
2602 (calc-top, calc-top-list): Pass it this additional argument.
2603 * calc/calc-store.el (calc-store-map):
2604 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2605 (calc-map-equation, calc-outer-product, calc-inner-product):
2606 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2607
7a04bee9
SM
2608 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2609
12734222
JL
26102012-09-19 Juri Linkov <juri@jurta.org>
2611
2612 * dired-aux.el (dired-diff): Add (require 'diff) because
2613 `diff-latest-backup-file' is not autoloaded.
2614 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2615 of `dired-get-filename' to t to not report error when there is
2616 no default file on the current line.
2617
46624b4f
SM
26182012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2619
ce97595b
SM
2620 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2621 macroexp--eval-if-compile.
2622 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2623 (macroexp--expand-all): Use them (bug#12371).
2624
46624b4f
SM
2625 * doc-view.el (doc-view-guess-paper-size)
2626 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2627
db8a5a18
TH
26282012-09-19 Tassilo Horn <tsdh@gnu.org>
2629
2630 New feature: set optimal slice from BoundingBox information.
2631 * doc-view.el (doc-view-mode-map): Add keybinding.
2632 (doc-view-menu): Add menu entry.
2633 (doc-view-set-slice): Adapt docstring.
2634 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2635 (doc-view-scale-bounding-box)
2636 (doc-view-set-slice-from-bounding-box): New functions.
2637 (doc-view-paper-sizes): New defvar.
2638
69f6644c
GM
26392012-09-19 Glenn Morris <rgm@gnu.org>
2640
35f5b19d
GM
2641 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2642 (byte-compile-log-warning): Autoload. (Bug#12371)
2643
69f6644c
GM
2644 * calendar/calendar.el (calendar-american-month-header)
2645 (calendar-european-month-header, calendar-iso-month-header)
2646 (calendar-month-header): New options.
2647 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2648 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2649
e543ae91
JD
26502012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2651
2652 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2653
2fd5e67d
JL
26542012-09-18 Juri Linkov <juri@jurta.org>
2655
2656 * dired-aux.el (dired-diff): Restore original functionality of
2657 getting the default value, but keep new feature of using the
2658 latest existing backup file (`diff-latest-backup-file').
2659
42917e79
JL
26602012-09-18 Juri Linkov <juri@jurta.org>
2661
2662 * dired.el (dired-mark): If the region is active in Transient Mark
2663 mode, mark all files in the active region. Doc fix.
2664 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2665 Doc fix. (Bug#10624)
2666
20f70ede
JL
26672012-09-18 Juri Linkov <juri@jurta.org>
2668
2669 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2670 attributes for M-n are pulled from the file at point.
2671 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2672 Suggested by Drew Adams. (Bug#10624)
2673
32fb8162
DG
26742012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2675
2676 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2677 whitespace after "end".
2678 (ruby-do-end-to-brace): Collapse block to one line if it fits
2679 within fill-column.
2680
37ab5092
MR
26812012-09-18 Martin Rudalics <rudalics@gmx.at>
2682
2683 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2684 value.
2685 (debug): Don't remove debugger window when debugger is expected
2686 to be back.
2687
ed1f0bd3
CY
26882012-09-18 Chong Yidong <cyd@gnu.org>
2689
2690 * custom.el (defface): Doc fix.
2691
2692 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2693
a11035b8
MB
26942012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2695
2696 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2697 to initialize query-on-exit; then test that instead (bug#12288).
2698
64f6a736
SM
26992012-09-17 Stefan Merten <smerten@oekonux.de>
2700
70efc5c9 2701 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2702 (rst-defcustom-testcover, rst-testcover-add-compose)
2703 (rst-testcover-add-1value): New functions.
2704 (rst-portable-mark-active-p): Replace by `use-region-p'.
2705 (rst-update-section, rst-classify-adornment)
2706 (rst-find-title-line): Mark `1value' forms.
2707 (rst-classify-adornment): Remove superfluous form.
2708 (rst-update-section, rst-get-adornments-around)
2709 (rst-adornment-complete-p, rst-get-next-adornment)
2710 (rst-adjust, rst-promote-region)
2711 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2712 (rst-find-pfx-in-region, rst-section-tree-rec)
2713 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2714 (rst-toc-node, rst-toc, rst-forward-section)
2715 (rst-iterate-leftmost-paragraphs)
2716 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2717 (rst-bullet-list-region)
2718 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2719 (rst-compile-find-conf, rst-compile)
2720 (rst-repeat-last-character): Fix style.
2721
580bd868
CY
27222012-09-17 Chong Yidong <cyd@gnu.org>
2723
2724 * comint.el (comint--complete-file-name-data): Don't add a space
2725 if the status is `sole'; that adds a gratuitous space in the
2726 completion-cycling case (Bug#12092).
2727
2728 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2729
69de3ec6
RS
27302012-09-17 Richard Stallman <rms@gnu.org>
2731
0dee970c
RS
2732 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2733 only in the mime-shown mode, not in raw mode.
2734 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2735 mime processing. (Bug#12305)
0dee970c 2736
6b250df6
GM
2737 * mail/rmail.el (rmail-retry-failure):
2738 Turn off mime processing first. (Bug#12037)
acb1c47b 2739
69de3ec6
RS
2740 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2741
d079ee5f
CY
27422012-09-17 Chong Yidong <cyd@gnu.org>
2743
2744 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2745 (shell-dynamic-complete-functions): Convert to defcustom.
2746 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2747
865fe16f
CY
2748 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2749 * comint.el (comint-prompt-read-only):
2750 * custom.el (defcustom):
2751 * hi-lock.el (hi-lock-mode):
2752 * ibuffer.el (ibuffer-formats):
2753 * ielm.el (ielm-prompt-read-only):
2754 * novice.el (disable-command):
2755 * saveplace.el (toggle-save-place):
2756 * speedbar.el (speedbar-supported-extension-expressions):
2757 * startup.el (auto-save-list-file-prefix, init-file-user)
2758 (after-init-hook, inhibit-startup-echo-area-message):
2759 * strokes.el (strokes-help):
2760 * time-stamp.el (time-stamp):
2761 * calendar/calendar.el (calendar, diary-file):
2762 * calendar/diary-lib.el (diary-mail-entries, diary)
2763 (diary-list-entries-hook):
2764 * calendar/holidays.el (holidays, calendar-holidays):
2765 * calendar/lunar.el (lunar-phases):
2766 * calendar/solar.el (sunrise-sunset):
2767 * emulation/edt.el (edt-load-keys):
2768 * emulation/viper.el (viper-mode):
2769 * eshell/em-alias.el (eshell-command-aliases-list):
2770 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2771 * international/ogonek.el (ogonek-information):
2772 * net/tramp-cmds.el (tramp-bug):
2773 * net/quickurl.el (quickurl-reread-hook-postfix):
2774 * play/decipher.el (decipher-font-lock-keywords):
2775 * progmodes/cc-styles.el (c-set-style):
2776 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2777 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2778 * progmodes/octave-mod.el (octave-mode):
2779 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2780 * progmodes/verilog-mode.el (verilog-read-defines):
2781 * textmodes/two-column.el (2C-mode): Likewise.
2782
48093eb9
KY
27832012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2784
2785 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2786 that holds many addresses.
2787
c584eaf9
CY
27882012-09-16 Chong Yidong <cyd@gnu.org>
2789
40d70ecb
CY
2790 * align.el (align-areas): Call the indication function with
2791 positions instead of markers for arguments (Bug#12343).
2792
1667e065
CY
2793 * files.el (parse-colon-path): Use split-string (Bug#12351).
2794
fdc2806d 2795 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2796 (display-buffer-function): Mark as obsolete.
fdc2806d 2797
f1be615c 2798 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2799 values similar to font-lock-keywords (Bug#12136).
2800 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2801 (compilation-error-regexp-alist): Doc fix.
2802
f40a9709
GM
28032012-09-15 Glenn Morris <rgm@gnu.org>
2804
72aa16e1
GM
2805 * version.el (emacs-bzr-version-bzr): New function.
2806 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2807
82375160
GM
2808 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2809 checkouts, check the parent dirstate matches the branch.
2810 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2811 empty string.
2812
f40a9709
GM
2813 * version.el (emacs-bzr-version): Doc fix.
2814 (emacs-bzr-version-dirstate): New function.
2815 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2816 is local try and check that it matches the branch. If not, just
2817 use dirstate information. (Bug#12441)
2818
cb26b7f5
JL
28192012-09-14 Juri Linkov <juri@jurta.org>
2820
2821 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2822 (Bug#12399)
2823
2de39f08
SM
28242012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2825
0fb3cb7c
SM
2826 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2827
2de39f08
SM
2828 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2829 Remove obsolete byte-compiler hack that tried to silence some warnings.
2830 (edebug-submit-bug-report): Remove.
2831 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2832 Remove aliases, use the un-prefixed name instead.
2833 (edebug-pop-to-buffer): Consider other frames.
2834 (edebug-original-read):: Make it more obvious that it's always defined.
2835 (edebug--make-form-data-entry, edebug--form-data-name)
2836 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2837 single-dashed name, and implement with cl-defstruct.
2838 (edebug-set-form-data-entry): Use the standard accessors.
2839 (edebug-make-top-form-data-entry): Use push.
2840 (edebug-no-match): Drop useless `funcall'.
2841 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2842 to functions.
2843 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2844 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2845 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2846 (easy-menu-define, with-custom-print): Remove redundant specs.
2847 (edebug-outside-overriding-local-map)
2848 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2849 (edebug--display): Bind unread-command-events directly to nil rather
2850 than binding it to unread-command-events and later setting it to nil.
2851 (edebug--display): Kill edebug-eval-buffer here...
2852 (edebug--recursive-edit): ...rather than here.
2853 Bind standard-output and standard-input.
2854 (edebug-eval): Check cl-macroexpand-all is fboundp.
2855 (edebug-temp-display-freq-count): Fix last change.
2856
2857 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2858 * subr.el (noreturn, 1value): Add `debug' spec.
2859 * emacs-lisp/advice.el: Require cl-lib.
2860 (ad-copy-tree): Remove, use copy-tree instead.
2861 (ad-dolist): Remove use dolist or cl-dolist instead.
2862 (ad-do-return): Remove, use cl-return instead.
2863 (defadvice): Add `debug' spec.
2864
5b68b333
JL
28652012-09-13 Juri Linkov <juri@jurta.org>
2866
2867 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2868 (Bug#12399)
2869
b9800ec4
GM
28702012-09-13 Glenn Morris <rgm@gnu.org>
2871
6a2e6868
GM
2872 * calc/calc.el (math-compose-expr):
2873 * calc/calc-ext.el (math-compose-expr):
2874 * progmodes/cc-defs.el (cl-macroexpand-all):
2875 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2876 (cl-macroexpand-all): Update declarations.
2877
b9800ec4
GM
2878 * vc/vc.el: No need to require ediff.
2879 (ediff-load-version-control): Declare.
2880 (ediff-vc-internal): Fix declaration.
2881 (vc-version-ediff): Require ediff.
2882
c18e885b
PE
28832012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2884
2885 Use a more backwards-compatible timer format (Bug#12430).
2886 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2887 being right after USECS, as that better supports old code that
2888 inadvisedly looked directly at the timer vector.
2889
d607d303
KH
28902012-09-13 Kenichi Handa <handa@gnu.org>
2891
2892 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2893 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2894 `coding-priority' property of these language environment.
2895
72eac303
PE
28962012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2897
2898 Fix glitches caused by addition of psec to timers (Bug#12430).
2899 * image.el (image-animate-timer):
2900 * time.el (display-time-world-timer):
2901 Use timer--function and timer--args rather than raw access to
2902 timer vector.
2903
2168fe4f
GM
29042012-09-13 Glenn Morris <rgm@gnu.org>
2905
2906 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2907 If not compiling a file, try using load-file-name.
2908
bd8d6108
SM
29092012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2910
c0c54fbd
SM
2911 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2912 Fix last change.
2913 (edebug-update-eval-list): Use `push'.
2914
bd8d6108
SM
2915 * emacs-lisp/edebug.el: Use lexical-binding.
2916 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2917 Mark unused args with underscore.
2918 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2919 (edebug-form-data): Use defvar-local.
2920 (edebug-make-before-and-after-form, edebug-make-after-form):
2921 Use backquote.
2922 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2923 Not dynamically scoped any more.
2924 (edebug--enter-trace): Add arguments `function' and `args'.
2925 Rename from edebug-enter-trace.
2926 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2927 (edebug--update-coverage): Add `after-index' and `value' args.
2928 Rename from edebug-update-coverage.
2929 (edebug-slow-after): Call it accordingly.
2930 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2931 edebug-recursive-edit.
2932 (edebug--display): Call it accordingly. Add args `value',
2933 `offset-index', and `arg-mode'. Rename from edebug-display.
2934 (edebug-debugger, edebug): Call it accordingly.
2935 (edebug-eval-display-list): Use dolist.
2936
a9f9d9de
JL
29372012-09-12 Juri Linkov <juri@jurta.org>
2938
2939 * info.el (Info-search): Don't check for isearch-mode and
2940 isearch-regexp before let-binding search-spaces-regexp to
2941 Info-search-whitespace-regexp.
2942 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2943 search-whitespace-regexp if isearch-lax-whitespace or
2944 isearch-regexp-lax-whitespace is non-nil.
2945 (Info-mode): Don't set local variable search-whitespace-regexp.
2946 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2947
bfeae2cf
SM
29482012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2951 (debugger-env-macro): Remove support for unread-command-char.
2952
2953 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2954 the temporary map re-appearing on emulation-mode-map-alists.
2955
2956 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2957 since 22.1.
2958
2959 * ehelp.el (with-electric-help): Accept functions in
2960 electric-help-form-to-execute.
2961 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2962 And replace unread-command-char -> unread-command-events.
2963
fbbcaf1b
MA
29642012-09-12 Michael Albinus <michael.albinus@gmx.de>
2965
2966 Sync with Tramp 2.2.6.
2967
2968 * net/tramp.el (tramp-accept-process-output): Don't use
2969 JUST-THIS-ONE in the XEmacs case.
2970
2971 * net/trampver.el: Update release number.
2972
4dece104
MR
29732012-09-12 Martin Rudalics <rudalics@gmx.at>
2974
bfeae2cf
SM
2975 * emacs-lisp/debug.el (debugger-previous-window-height):
2976 New variable.
4dece104
MR
2977 (debug): When debugger-jumping-flag is non-nil try to restore
2978 height of debugger window. (Bug#8789)
2979
45b82ad0
SM
29802012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2981
60c49c0f
SM
2982 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2983 overriding-local-map and pre/post-command-hook here.
2984 (edebug-recursive-edit): Do it here instead (bug#12345).
2985 (edebug-outside-unread-command-char): Remove all uses of
2986 unread-command-char.
2987
45b82ad0
SM
2988 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2989 inhibit-debugger is bound instead.
2990
baa26ea0
BG
29912012-09-11 Bastien Guerry <bzg@gnu.org>
2992
2993 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2994 (Bug#12346)
baa26ea0 2995
04e8abfa
BG
29962012-09-11 Bastien Guerry <bzg@gnu.org>
2997
96d03571 2998 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2999 (Bug#12347)
96d03571
BG
3000
30012012-09-11 Bastien Guerry <bzg@gnu.org>
3002
fc0c31f8 3003 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3004
04e082b0
MM
30052012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3006
3007 * progmodes/sql.el: Version 3.1
3008 (sql-db2-escape-newlines): New variable.
3009 (sql-escape-newlines-filter): Use it.
3010
399a361b
JB
30112012-09-10 Juanma Barranquero <lekktu@gmail.com>
3012
3013 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3014
0780c517
DN
30152012-09-10 Dan Nicolaescu <dann@gnu.org>
3016
45b82ad0
SM
3017 * vc/diff-mode.el (diff-mode-menu):
3018 Bind diff-remove-trailing-whitespace.
0780c517 3019
9b851e25
SM
30202012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3021
3022 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3023 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3024 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3025 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3026 (eval-defun-2): Remove bogus interactive spec.
3027 (lisp-indent-line): Remove redundant whole-exp code, now done in
3028 indent-according-to-mode.
3029 (save-match-data): Remove redundant indent data.
3030
3031 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3032 Use `declare'.
3033
3231d532
JL
30342012-09-09 Juri Linkov <juri@jurta.org>
3035
3036 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3037 (replace-lax-whitespace, query-replace-regexp)
3038 (query-replace-regexp-eval, replace-regexp): Doc fix.
3039 (perform-replace, replace-highlight): Let-bind
3040 isearch-lax-whitespace to replace-lax-whitespace and
3041 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3042
3043 * isearch.el (isearch-query-replace): Let-bind
3044 replace-lax-whitespace to isearch-lax-whitespace and
3045 replace-regexp-lax-whitespace to
3046 isearch-regexp-lax-whitespace. (Bug#10885)
3047
70fe8236
SM
30482012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3051
8ed43f15
AM
30522012-09-09 Alan Mackenzie <acm@muc.de>
3053
70fe8236
SM
3054 * progmodes/cc-engine.el (c-state-cache-init):
3055 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3056 (c-record-parse-state-state):
3057 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3058
bfabf70a
AS
30592012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3060
3061 * register.el (register-separator): Rename from
3062 separator-register. All uses changed. Doc fix.
3063 (register): Fix version.
3064
011474aa
CY
30652012-09-09 Chong Yidong <cyd@gnu.org>
3066
3067 * replace.el (query-replace-map): Bind four new symbols for
3068 requesting window scrolling.
3069
3070 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3071 query-replace-map (Bug#8948).
3072
3073 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3074
3075 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3076 since they are now in query-replace-map.
3077
3078 * window.el (scroll-other-window-down): Make the arg optional.
3079
a8b7cd8d
CY
30802012-09-09 Chong Yidong <cyd@gnu.org>
3081
3082 * files.el (hack-local-variables-confirm): Use quit-window to kill
3083 the *Local Variables* buffer.
3084
c3268831
DG
30852012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3086
3087 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3088 not just expect to be at its beginning. Adjust callees.
3089 Succeed when do-end block has no space before the pipe character.
3090 (ruby-brace-to-do-end): When the original block is one-liner,
3091 convert to multiline. Reindent the result.
3092
0979429b
J
30932012-09-08 Jambunathan K <kjambunathan@gmail.com>
3094
3095 * register.el (register): New group.
27359e99 3096 (separator-register): New user option.
0979429b
J
3097 (increment-register): Route it to `append-to-register', if
3098 register contains text. Implication is that `C-x r +' can now be
3099 used for appending to a text register (bug#12217).
3100 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3101 `separator-register'.
0979429b 3102
ace2989a
AM
31032012-09-08 Alan Mackenzie <acm@muc.de>
3104
3105 AWK Mode: make auto-newline work when there's "==" in the pattern.
3106 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3107 correctly.
0979429b
J
3108 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3109 Test more rigorously for "=" token.
ace2989a 3110
616c6c36
DG
31112012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3112
0979429b
J
3113 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3114 Only fail when reached LIMIT.
616c6c36 3115
35d98877
CY
31162012-09-08 Chong Yidong <cyd@gnu.org>
3117
3118 * dired.el (dired-mode-map): Don't bind M-=.
3119
3120 * dired-aux.el (dired-diff): Use backup file as default.
3121
1715f2db
DA
31222012-09-08 Drew Adams <drew.adams@oracle.com>
3123
3124 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3125
6dcef6ec
CY
31262012-09-08 Chong Yidong <cyd@gnu.org>
3127
3128 * subr.el (syntax-after, syntax-class): Doc fix.
3129
fa2bcf43
MR
31302012-09-08 Martin Rudalics <rudalics@gmx.at>
3131
3132 * window.el (display-buffer-in-previous-window): New buffer
3133 display action function.
3134
3135 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3136 (debugger-previous-window): New variable.
3137 (debug): Rewrite using display-buffer-in-previous-window,
3138 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3139
daac280a
SM
31402012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3143
9dd40b00
MM
31442012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3145
daac280a
SM
3146 * progmodes/python.el (python-shell-send-string):
3147 When default-directory is remote, create temp file on remote
9dd40b00
MM
3148 filesystem.
3149 (python-shell-send-file): When file is remote, pass local view of
3150 file paths to remote Python interpreter. (Bug#12340)
3151
145823ec
CY
31522012-09-07 Chong Yidong <cyd@gnu.org>
3153
cee2e90d
CY
3154 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3155
0d7eb2ea
CY
3156 * files.el (after-find-file): Don't fail on a read-only buffer if
3157 require-final-newline is `visit' or `visit-save' (Bug#11156).
3158
145823ec
CY
3159 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3160
daac280a
SM
3161 * userlock.el (ask-user-about-supersession-threat):
3162 Use read-char-choice (Bug#12093).
145823ec 3163
74c582e6
CY
31642012-09-07 Chong Yidong <cyd@gnu.org>
3165
e5c2edf7
CY
3166 * subr.el (buffer-narrowed-p): New function.
3167
3168 * ses.el (ses-widen):
3169 * simple.el (count-words--buffer-message):
1f9f395d 3170 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3171
3172 * simple.el (count-words-region): Don't signal an error if there
3173 is a non-nil prefix arg and the mark is not set.
c640e87d 3174
74c582e6
CY
3175 * help.el (describe-key-briefly): Allow the message to be seen
3176 when invoked from the minibuffer (Bug#7014).
3177
d81ceaaf
DG
31782012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3179
3180 * progmodes/ruby-mode.el (ruby-end-of-defun)
3181 (ruby-beginning-of-defun): Simplify, allow indentation before
3182 block beginning and end keywords.
8f06acce
DG
3183 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3184 (ruby-end-of-defun): Expect that the point is at the beginning of
3185 the defun.
d81ceaaf 3186
d458ef98
SM
31872012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3188
3189 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3190 (bug#12367).
3191 (cl--make-usage-args): Strip _ from argument names.
3192
20367d28
RS
31932012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3194
3195 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3196 obsolete alias speedbar-key-map.
3197 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3198 (vhdl-index-menu-init): Don't use obsolete variable
3199 font-lock-maximum-size.
3200
3424a4f6
CY
32012012-09-06 Chong Yidong <cyd@gnu.org>
3202
3203 * frame.el (window-system-version): Mark as obsolete.
3204
fcbfbdea
CY
3205 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3206 of obsolete variable speedbar-key-map.
3207
826b3235
JL
32082012-09-06 Juri Linkov <juri@jurta.org>
3209
3210 * replace.el (replace-lax-whitespace): New defcustom.
3211 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3212 (replace-string, replace-regexp): Mention it in docstrings.
3213 (perform-replace, replace-highlight): Let-bind
3214 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3215 to the values of replace-lax-whitespace and regexp-flag.
3216 Don't let-bind search-whitespace-regexp. (Bug#10885)
3217
3218 * isearch.el (isearch-query-replace): Let-bind
3219 replace-lax-whitespace instead of let-binding
3220 replace-search-function and replace-re-search-function.
3221 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3222 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3223 (isearch-toggle-symbol): Set isearch-regexp to nil
3224 in isearch-word mode (like in isearch-toggle-word).
3225
1ec5e41d
JL
32262012-09-06 Juri Linkov <juri@jurta.org>
3227
3228 * replace.el (replace-search-function)
3229 (replace-re-search-function): Set default values to nil.
3230 (perform-replace): Let-bind isearch-related variables based on
3231 replace-related values, call `isearch-search-fun' and let-bind
3232 the result to `search-function'. Remove code that sets
3233 `search-function' and `search-string' separately for
3234 `delimited-flag'.
3235 (replace-highlight): Add new argument `delimited-flag' and
3236 rename other arguments to the names used in `perform-replace'.
3237 Let-bind `isearch-word' to the argument `delimited-flag'.
3238 (Bug#10885, bug#10887)
3239
0ba2d4b6
DG
32402012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3241
3242 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3243 ruby-beginning-of-indent, simplify, allow all keywords to have
3244 indentation before them.
3245 (ruby-beginning-of-indent): Adjust for above. Search until the
3246 found point is not inside a string or comment.
3247 (ruby-font-lock-keywords): Allow symbols to start with "@"
3248 character, give them higher priority than variables.
3249 (ruby-syntax-propertize-function)
3250 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3251 matchers. Expression expansions are not comments when inside a
3252 string, and there comment syntax status is irrelevant.
3253 (ruby-match-expression-expansion): New function. Check that
3254 expression expansion is inside a string, and it's not escaped.
3255 (ruby-font-lock-keywords): Use it.
3256
ef654460
MR
32572012-09-05 Martin Rudalics <rudalics@gmx.at>
3258
3259 * help.el (temp-buffer-max-height): New default value.
3260 (temp-buffer-resize-frames): New option.
3261 (resize-temp-buffer-window): Optionally resize frame.
3262
3263 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3264 (fit-frame-to-buffer): New function.
3265
7e570fbf 32662012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3267
3268 * emulation/cua-rect.el (cua--init-rectangles):
3269 * textmodes/picture.el (picture-mode-map):
3270 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3271 like forward-char and backward-char. (Bug#12317)
3272
7e570fbf 32732012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3274
3275 * progmodes/flymake.el (flymake-warning-re): New variable.
3276 (flymake-parse-line): Use it.
3277
7e570fbf 32782012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3279
3280 * calendar/holidays.el (holiday-christian-holidays):
3281 Rename an entry. (Bug#12289)
3282
7e570fbf 32832012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3284
3285 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3286 (bug#12222).
3287
972debf2
SM
32882012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * loadup.el: Load macroexp. Remove hack.
3291 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3292 (macroexp--expand-all): Use it to get better warnings.
3293 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3294 (internal-macroexpand-for-load): New functions.
3295 (macroexp--pending-eager-loads): New var.
3296 (emacs-startup-hook): New hack to replace one in loadup.el.
3297 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3298 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3299 (cl-psetf): Simplify.
3300 (cl-defstruct): Add indent rule.
3301
8ce192e3
LI
33022012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3303
3304 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3305 over `user-mail-address' for the SMTP MAIL FROM envelope.
3306 (smtpmail-via-smtp): Ditto.
3307
6578b4d8
DG
33082012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3309
3310 * progmodes/ruby-mode.el: Clean up keybindings.
3311 (ruby-mode-map): Don't bind ruby-electric-brace,
3312 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3313 backward-kill-word, reindent-then-newline-and-indent.
3314 (ruby-mark-defun): Remove.
3315 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3316 (ruby-mode): Set local beginning-of-defun-function and
3317 end-of-defun-function values.
3318
c5e28e39
MR
33192012-09-03 Martin Rudalics <rudalics@gmx.at>
3320
3321 * window.el (temp-buffer-window-setup-hook)
3322 (temp-buffer-window-show-hook): New hooks.
3323 (temp-buffer-window-setup, temp-buffer-window-show)
3324 (with-temp-buffer-window): New functions.
972debf2
SM
3325 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3326 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3327
3328 * help.el (temp-buffer-resize-mode): Fix doc-string.
3329 (resize-temp-buffer-window): New optional argument WINDOW.
3330
3331 * files.el (recover-file, save-buffers-kill-emacs):
3332 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3333
73406194
MA
33342012-09-02 Michael Albinus <michael.albinus@gmx.de>
3335
3336 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3337 remote definition of `default-directory', ensure we can connect.
3338
63dd1c6f
JL
33392012-09-02 Juri Linkov <juri@jurta.org>
3340
3341 Toggle whitespace matching mode with M-s SPC.
3342 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3343
3344 * isearch.el (search-whitespace-regexp): Doc fix.
3345 Remove cons cell customization.
3346 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3347 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3348 New variables.
3349 (isearch-forward, isearch-forward-regexp): Doc fix.
3350 (isearch-toggle-lax-whitespace): New command.
3351 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3352 (re-search-forward-lax-whitespace)
3353 (re-search-backward-lax-whitespace): New functions.
3354 (isearch-whitespace-regexp): Remove function.
3355 (isearch-query-replace): Let-bind replace-search-function and
3356 replace-re-search-function.
3357 (isearch-occur): Let-bind search-spaces-regexp according to the
3358 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3359 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3360 condition for C-q SPC.
3361 (isearch-search-fun-default): Use new functions mentioned above.
3362 (isearch-search-forward, isearch-search-backward): Remove functions.
3363 (isearch-search): Don't let-bind search-spaces-regexp.
3364 (isearch-lazy-highlight-space-regexp): Remove variable.
3365 (isearch-lazy-highlight-lax-whitespace)
3366 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3367 (isearch-lazy-highlight-new-loop): Use them.
3368 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3369
af7dda05
CY
33702012-09-02 Chong Yidong <cyd@gnu.org>
3371
3372 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3373
d67d3afd
GM
33742012-09-02 Glenn Morris <rgm@gnu.org>
3375
3376 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3377
69678719
GM
33782012-09-01 Glenn Morris <rgm@gnu.org>
3379
3380 * term.el: Tidy up menu definitions.
3381 (term-mode-map): Use easymenu for In/Out, Complete menus.
3382 (term-pager-break-map): Initialize in the defvar.
3383 (term-terminal-menu, term-signals-menu): Define with easymenu.
3384 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3385 (term-pager-menu): New, extracted from term-process-pager.
3386 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3387 (term-update-mode-line): Propertize line/char and page items.
3388 (term-process-pager): Move keymap initialization elsewhere.
3389
78dd6ab1
MR
33902012-09-01 Martin Rudalics <rudalics@gmx.at>
3391
3392 * window.el (switch-to-prev-buffer): Handle additional values of
3393 BURY-OR-KILL argument. Don't switch in minibuffer window.
3394 (switch-to-next-buffer): Don't switch in minibuffer window.
3395 (quit-restore-window): New function based on quit-window.
3396 Handle additional values of former KILL argument.
3397 (quit-window): Call quit-restore-window with appropriate
3398 interpretation of KILL argument.
3399 (display-buffer-below-selected): New buffer display action
3400 function.
3401
3d10e134
SM
34022012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * minibuffer.el (completion-at-point-functions): Complete docstring
3405 (bug#12254).
3406
0e23ef9d
PE
34072012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3408
3409 Better seed support for (random).
3410 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3411 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3412 * play/mpuz.el, play/tetris.el, play/zone.el:
3413 * calc/calc-comb.el (math-init-random-base):
3414 * play/blackbox.el (bb-init-board):
3415 * play/life.el (life):
3416 * server.el (server-use-tcp):
3417 * type-break.el (type-break):
3418 Remove unnecessary call to (random t).
3419 * net/sasl.el (sasl-unique-id-function):
3420 Change (random t) to (random), now that the latter is more random.
3421 * play/life.el (life-initialized): Remove no-longer-needed var.
3422
862382df
MR
34232012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3424
3425 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3426 Consider frame's buffer predicate when choosing the buffer.
3427 (Bug#12081)
3428
262a66e1
RS
34292012-08-30 Richard Stallman <rms@gnu.org>
3430
3431 * simple.el (special-mode-map): Delete binding for `z'.
3432
f17e1d00
AS
34332012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3434
3435 * progmodes/compile.el (compilation-always-kill): Doc fix.
3436
24777832
CY
34372012-08-30 Chong Yidong <cyd@gnu.org>
3438
3439 * window.el (display-buffer-reuse-frames): Make the obsolescence
3440 message more informative.
3441
69ba1f04
GM
34422012-08-30 Glenn Morris <rgm@gnu.org>
3443
3444 * paren.el (show-paren-delay):
3445 Add a :set function. Doc fix. (Bug#12297)
3446
f0019ede
MB
34472012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3448
3449 * progmodes/compile.el (compilation-always-kill): New var.
3450 (compilation-start): Use it.
3451
35e62fc9
SM
34522012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3453
af070a1c
SM
3454 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3455 * files.el (read-only-mode): Move to simple.el.
3456
35e62fc9
SM
3457 * files.el (read-only-mode): New minor mode.
3458 (toggle-read-only): Use it and mark obsolete.
3459 (find-file--read-only):
3460 * vc/vc.el (vc-next-action, vc-checkout):
3461 * vc/vc-cvs.el (vc-cvs-checkout):
3462 * obsolete/vc-mcvs.el (vc-mcvs-update):
3463 * ffap.el (ffap--toggle-read-only): Update callers.
3464
c2c43c23
MA
34652012-08-29 Michael Albinus <michael.albinus@gmx.de>
3466
3467 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3468 remote shell scripts.
3469 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3470
3471 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3472 "/usr/local/sbin".
3473
9fba804b
SM
34742012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3475
3476 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3477
eada0861 34782012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3479
806f0cc7
LL
3480 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3481 completion-at-point. (Bug#12220)
3482
3bb213b9
LL
3483 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3484
22ab32ef
LL
3485 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3486
eada0861 34872012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3488
19c17fc1
CY
3489 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3490 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3491
eada0861 34922012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3493
3494 * progmodes/hideif.el (hif-compress-define-list):
3495 Fix typo. (Bug#11951)
3496
eada0861 34972012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3498
3499 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3500 buffer local setting.
3501
27d6c5a8
LL
3502 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3503 rcirc-encode-coding-system.
3504
eada0861 35052012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3506
3507 * net/rcirc.el (rcirc-split-message): New function.
3508 (rcirc-send-message): Use it. (Bug#12051)
3509
d44688e4
JL
35102012-08-28 Juri Linkov <juri@jurta.org>
3511
3512 * info.el (Info-fontify-node): Hide empty lines at the end of
3513 the node. (Bug#12272)
3514
34f10d41
MR
35152012-08-27 Drew Adams <drew.adams@oracle.com>
3516
3517 * dired.el (dired-pop-to-buffer): Make window start at beginning
3518 of buffer (Bug#12281).
3519
77f1f99c
CY
35202012-08-26 Chong Yidong <cyd@gnu.org>
3521
3522 * window.el (special-display-regexps, special-display-frame-alist)
3523 (special-display-buffer-names, special-display-function)
3524 (display-buffer-reuse-frames): Mark as obsolete.
3525
3526 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3527
3528 * help.el (help-print-return-message): Don't treat
3529 display-buffer-reuse-frames specially.
3530
d97af5a0
CY
35312012-08-26 Chong Yidong <cyd@gnu.org>
3532
9fba804b
SM
3533 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3534 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3535 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3536 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3537 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3538 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3539 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3540 the functions directly with gdb-display-buffer-other-frame-action.
3541 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3542 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3543 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3544 (gdb-display-registers-buffer): Define directly.
3545 (def-gdb-display-buffer): Macro deleted.
3546 (gdb-display-buffer): Remove second and third args, callers don't
3547 use them. Defer to the default display-buffer behavior, apart
3548 from making windows dedicated.
3549 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3550
3551 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3552
3553 * window.el (display-buffer-pop-up-frame): Handle a
3554 pop-up-frame-parameters alist entry.
3555 (display-buffer): Document it.
3556
dd7ffad6
CY
35572012-08-26 Chong Yidong <cyd@gnu.org>
3558
3559 * isearch.el (search-whitespace-regexp): Make string and nil
3560 values apply to both ordinary and regexp search. Allow a cons
3561 cell value to distinguish between the two.
3562 (isearch-whitespace-regexp, isearch-search-forward)
3563 (isearch-search-backward): New functions.
3564 (isearch-occur, isearch-search-fun-default, isearch-search)
3565 (isearch-lazy-highlight-new-loop): Use them.
3566 (isearch-forward, isearch-forward-regexp): Doc fix.
3567
4c47bd1e
CY
35682012-08-26 Chong Yidong <cyd@gnu.org>
3569
3570 * faces.el (help-argument-name): Always inherit from italic
3571 (Bug#12213).
3572
9aba119d
MR
35732012-08-25 Martin Rudalics <rudalics@gmx.at>
3574
3575 * window.el (window--even-window-heights): Even heights when
3576 WINDOW and the selected window form a vertical combination.
3577 (display-buffer-use-some-window): Provide that window used gets
3578 sized back by quit-window. (Bug#11880) and (Bug#12091)
3579
ca5256ad
PE
35802012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3581
3582 Fix file time stamp problem with bzr and CVS (Bug#12001).
3583 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3584 in the file's time stamp, since the version control system loses
3585 that information.
3586
d1c0d176
JL
35872012-08-22 Juri Linkov <juri@jurta.org>
3588
3589 * info.el (Info-fontify-node): Hide the suffix of the
3590 Info file name in the header line. (Bug#12187)
3591
141562ff
GM
35922012-08-22 Glenn Morris <rgm@gnu.org>
3593
3594 * calendar/cal-tex.el (cal-tex-weekly-common):
3595 Restore leading blank page.
3596
3a21537c 35972012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
3598
3599 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3600 the region under `shift-select-mode'. (Bug#12231)
3601
36022012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3603
3604 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3605 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3606 gives details on why the space is never needed.
3607
ea95074e
MR
36082012-08-22 Martin Rudalics <rudalics@gmx.at>
3609
9fba804b
SM
3610 * window.el (walk-window-tree, window-with-parameter):
3611 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3612 should run on the minibuffer window.
3613 (window-at-side-list): Don't operate on minibuffer window.
3614 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3615 (window--size-ignore): Rename to window--size-ignore-p.
3616 Update callers.
caceae25
MR
3617 (display-buffer-in-atom-window, window--major-non-side-window)
3618 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3619 (delete-side-window, display-buffer-in-side-window):
3620 New functions.
caceae25
MR
3621 (window--side-check, window-deletable-p, delete-window)
3622 (delete-other-windows, split-window): Handle side windows and
3623 atomic windows appropriately.
3624 (window--display-buffer): Call display-buffer-record-window also
3625 when the window buffer did not change.
ea95074e 3626
80a51fa0
CS
36272012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3628
3629 * help-fns.el (help-fns--key-bindings):
3630 Abbreviate non-symbol remap targets. (Bug#12174)
3631
fbb6300b
MR
36322012-08-22 Martin Rudalics <rudalics@gmx.at>
3633
3634 * dired.el (dired-mark-remembered): Don't clobber point.
3635 (Bug#11795)
3636
2b2c0794
GM
36372012-08-22 Glenn Morris <rgm@gnu.org>
3638
3639 * progmodes/bug-reference.el (bug-reference): New custom group.
3640 (bug-reference-bug-regexp): Make it a defcustom.
3641
37219830
DU
36422012-08-22 Daiki Ueno <ueno@unixuser.org>
3643
3644 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3645 (js-paren-indent-offset, js-square-indent-offset)
3646 (js-curly-indent-offset): Add :safe (Bug#12257).
3647
94e0e559
EC
36482012-08-22 Edward O'Connor <hober0@gmail.com>
3649
3650 * json.el (json-key-format): Add error properties.
3651 (json-encode-key): New function.
3652 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3653 Use json-encode-key.
3654
da485f5e
GM
36552012-08-22 Glenn Morris <rgm@gnu.org>
3656
3657 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3658 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3659 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3660 Update for above change.
3661
c6cc78b8
AS
36622012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3663
3664 * cus-face.el (custom-face-attributes): Fix customize type for the
3665 :underline attribute. (Bug#11805)
3666
5481664a
MR
36672012-08-21 Martin Rudalics <rudalics@gmx.at>
3668
3669 * window.el (window-point-1, set-window-point-1): Remove.
3670 (window-in-direction, record-window-buffer)
3671 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3672 (window--state-get-1, display-buffer-record-window):
3673 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3674 window-point and set-window-point respectively.
3675
6d74698e
GM
36762012-08-21 Glenn Morris <rgm@gnu.org>
3677
b7fa2691
GM
3678 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3679 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3680 Use it.
3681
52f56d5a
GM
3682 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3683 (cal-tex-shortday): New function.
3684 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3685 (cal-tex-cursor-filofax-daily): Use the above.
3686
9f1ee09e
GM
3687 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3688 New functions.
3689 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3690 (cal-tex-cursor-filofax-week): Use them.
3691
79858159
GM
3692 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3693 New constants.
3694 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3695 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3696
d346b2b4
GM
3697 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3698 (cal-tex-end-document): Don't rely on buffer name.
3699
b2403709
GM
3700 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3701 Use cal-tex-vspace.
3702 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3703 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3704 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3705 Use cal-tex-arg.
b2403709 3706
1cebb5c0
GM
3707 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3708 (cal-tex-cursor-week, cal-tex-cursor-week2)
3709 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3710 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3711 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3712 (cal-tex-insert-preamble, cal-tex-b-document)
3713 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3714 Improve cal-tex-cmd usage.
3715
c68cd5d4
GM
3716 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3717 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3718 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3719 (cal-tex-weekly-paper): New function.
3720 (cal-tex-cursor-week, cal-tex-cursor-week2)
3721 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3722 (cal-tex-cursor-day): Use it.
3723
9dca4801
GM
3724 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3725 (cal-tex-cursor-filofax-week): Remove leading blank page.
3726
1941e134
GM
3727 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3728 Add autoload cookie. For now at least, don't use color, since
3729 no other cal-tex function does.
3730
6d74698e
GM
3731 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3732 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3733 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3734
64cde199
JL
37352012-08-21 Juri Linkov <juri@jurta.org>
3736
3737 * info.el (Info-file-attributes): New variable.
3738 (info-insert-file-contents): Add file attributes to
3739 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3740 `Info-toc-nodes' when previous modtime of the Info file is less
3741 than new modtime.
3742 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3743 of info.el. (Bug#12230)
3744
32757648
GM
37452012-08-20 Glenn Morris <rgm@gnu.org>
3746
3747 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3748 * calendar/holidays.el (calendar-holiday-list):
3749 Report errors with display-warning rather than beep'n'sleep.
3750
a32fbbcf
MA
37512012-08-20 Michael Albinus <michael.albinus@gmx.de>
3752
3753 * net/tramp.el (tramp-accept-process-output): Accept only output
3754 from PROC. Otherwise, process filters and sentinels might be
3755 confused. (Bug#12145)
3756
a05731a0
CY
37572012-08-20 Chong Yidong <cyd@gnu.org>
3758
3759 * descr-text.el (describe-text-properties-1): Use overlays-in to
3760 report on empty overlays (Bug#3322).
3761
36e8d1eb
GM
37622012-08-20 Glenn Morris <rgm@gnu.org>
3763
3d300447
GM
3764 * mail/rmailout.el (rmail-output-read-file-name):
3765 Trap and report errors in rmail-output-file-alist elements.
3766
36e8d1eb
GM
3767 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3768 since most non-font-lock faces are not also variables).
3769
b96e5814
ER
37702012-08-20 Edward Reingold <reingold@iit.edu>
3771
3772 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3773 New function. (Bug12160)
3774
7cef3569
GM
37752012-08-19 Glenn Morris <rgm@gnu.org>
3776
3777 * mail/rmailout.el (rmail-output-read-file-name):
3778 Fix previous change (when the alist is nil or does not match).
3779
17975d7f
CY
37802012-08-19 Chong Yidong <cyd@gnu.org>
3781
3782 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3783 (Bug#12228).
3784
2170b1bd
CY
37852012-08-18 Chong Yidong <cyd@gnu.org>
3786
3787 * simple.el (yank-handled-properties): New defcustom.
3788 (yank-excluded-properties): Add font-lock-face and category.
3789 (yank): Doc fix.
3790
9fba804b
SM
3791 * subr.el (remove-yank-excluded-properties):
3792 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3793 and category is now done this way, instead of being hard-coded.
3794 (insert-for-yank-1): Remove font-lock-face handling.
3795 (yank-handle-font-lock-face-property)
3796 (yank-handle-category-property): New function.
3797
ee218151
GM
37982012-08-17 Glenn Morris <rgm@gnu.org>
3799
3800 * mail/rmailout.el (rmail-output-read-file-name):
3801 Check rmail-output-file-alist against the full message body
3802 in the correct rmail buffer. (Bug#12214)
3803
4a6bc3fd
MA
38042012-08-17 Michael Albinus <michael.albinus@gmx.de>
3805
9fba804b
SM
3806 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3807 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3808
383dcbf9
CY
38092012-08-17 Chong Yidong <cyd@gnu.org>
3810
3811 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3812 font spec, set the font directly (Bug#3228).
3813
998c4a6a
MR
38142012-08-17 Martin Rudalics <rudalics@gmx.at>
3815
3816 * window.el (delete-window): Fix last fix.
3817
52162052
MR
38182012-08-16 Martin Rudalics <rudalics@gmx.at>
3819
3820 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3821 (window-child, window-child-count, window-last-child)
3822 (window-normalize-window, window-combined-p)
3823 (window-combinations, window-atom-root, window-min-size)
3824 (window-sizable, window-sizable-p, window-size-fixed-p)
3825 (window-min-delta, window-max-delta, window--resizable)
3826 (window--resizable-p, window-resizable, window-total-size)
3827 (window-full-height-p, window-full-width-p, window-body-size)
3828 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3829 (minimize-window, window-deletable-p, delete-window)
3830 (delete-other-windows, set-window-buffer-start-and-point)
3831 (next-buffer, previous-buffer, split-window, balance-windows-2)
3832 (set-window-text-height, window-buffer-height)
3833 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3834 (truncated-partial-width-window-p): Minor code adjustments.
3835 In doc-strings state whether the argument window has to denote a
85c2386b 3836 live, valid or any window.
52162052 3837
1c308380
PS
38382012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3839
3840 * progmodes/subword.el (subword-forward-function)
3841 (subword-backward-function, subword-forward-regexp)
3842 (subword-backward-regexp): New variables.
3843 (subword-forward, subword-forward-internal, subword-backward-internal):
3844 Use new variables, eg so that different "word" definitions
3845 can be easily used. (Bug#11411)
3846
94c9ece1
SM
38472012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3850 for composite selectors.
3851 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3852 operation just because we can't find a previous revision.
3853
f2045622
CY
38542012-08-15 Chong Yidong <cyd@gnu.org>
3855
3856 * frame.el (set-frame-font): Accept font objects.
3857
582db660
SM
38582012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3861
2f29c200
WJ
38622012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3863
456e62c2
WJ
3864 * man.el (Man-overstrike-face, Man-underline-face)
3865 (Man-reverse-face): Remove variables.
3866 (Man-overstrike, Man-underline, Man-reverse): New faces.
3867 (Man-fontify-manpage): Use them instead of the variables.
3868 (Man-cleanup-manpage): Comment change.
3869 (Man-ansi-color-map): New variable.
3870 (Man-fontify-manpage): Use it.
3871 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3872
2f29c200
WJ
3873 Implement ANSI SGR parameters 22-27 (bug#12146).
3874 * ansi-color.el (ansi-colors): Doc fix.
3875 (ansi-color-context, ansi-color-context-region): Doc fix.
3876 (ansi-color--find-face): New function.
3877 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3878 Rename the local variable `face' to `codes' since it is now a list of
3879 ansi codes. Doc fix.
3880 (ansi-color-get-face): Remove.
3881 (ansi-color-parse-sequence): New function, derived from
3882 ansi-color-get-face.
3883 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3884 codes 22-27.
3885
b4f5e9df
SM
38862012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3887
3888 * subr.el (read-passwd): Allow use from a minibuffer.
3889
ba025fbd
EZ
38902012-08-14 Eli Zaretskii <eliz@gnu.org>
3891
3892 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3893 inside comments and strings as identifiers.
3894
3895 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3896 expression to evaluate. This allows to evaluate expressions with
3897 embedded whitespace.
3898 (gud-tooltip-tips): Add a blank before the newline in the
3899 message-box text, for the benefit of message-box emulation on
3900 MS-Windows.
3901
3902 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3903 messages from GDB, pop them up in a tooltip to give feedback to
3904 user.
b4f5e9df
SM
3905 (gdb-tooltip-print-1): Quote the expression to evaluate.
3906 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3907 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3908 if the TTY name is nil or empty (which happens when communicating
3909 with the inferior via pipes, e.g. on MS-Windows).
3910 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3911 don't send that to the GUD buffer.
3912
c548f821
GM
39132012-08-14 Glenn Morris <rgm@gnu.org>
3914
3915 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3916 Optimize away setq-default with no args, as for setq. (Bug#12195)
3917
55802e4a
CY
39182012-08-14 Chong Yidong <cyd@gnu.org>
3919
4abcdac8
CY
3920 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3921
55802e4a
CY
3922 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3923 (Bug#12085).
3924
3c3cda1a
GM
39252012-08-14 Glenn Morris <rgm@gnu.org>
3926
3927 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3928
e1873bd0
MA
39292012-08-14 Michael Albinus <michael.albinus@gmx.de>
3930
3931 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3932 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3933 Use cached shell name.
3934
925411b4
FEG
39352012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3936
3937 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3938 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3939
e636fafe
DG
39402012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3941
3942 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3943 (ruby-percent-literal-beg-re): New constant.
3944 (ruby-syntax-general-delimiters-goto-beg): Rename to
3945 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3946 (ruby-syntax-propertize-general-delimiters): Rename to
3947 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3948 popular term. Adjust comments everywhere.
3949 (ruby-syntax-propertize-percent-literal): Only propertize when not
3950 inside a simple string or comment. When the literal is unclosed,
3951 leave the text after it unpropertized.
f063063a
DG
3952 (ruby-syntax-methods-before-regexp): New constant.
3953 (ruby-syntax-propertize-function): Use it to recognize regexps.
3954 Don't look at the text after regexp, just use the whitelist.
e636fafe 3955
e5b19827
AS
39562012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3957
3958 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3959 non-nil always load the compiled file if it exists. (Bug#12197)
3960
a9f6f311
CY
39612012-08-14 Chong Yidong <cyd@gnu.org>
3962
3963 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3964 (hi-lock-set-pattern): When deciding whether to use font lock or
3965 overlays, look at font-lock-mode instead of font-lock-fontified
3966 (Bug#12168).
3967 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3968 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3969
7d806b1e
DU
39702012-08-14 Daiki Ueno <ueno@unixuser.org>
3971
3972 * subr.el (internal--after-with-selected-window): Fix typo
3973 (Bug#12193).
3974
5beed586
FEG
39752012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3976
3977 Use `completion-table-dynamic' for completion functions.
3978 * progmodes/python.el
3979 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3980 (python-shell-completion--get-completions):
3981 Remove functions.
5beed586
FEG
3982 (python-shell-completion-complete-at-point): New function.
3983 (python-completion-complete-at-point): Use it.
3984
92cb3b04
J
39852012-08-13 Jambunathan K <kjambunathan@gmail.com>
3986
3987 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3988 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3989
89660017
SM
39902012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3c98c962
SM
3992 * subr.el (function-get): Refine `autoload' arg so it can also
3993 autoload functions for gv.el (bug#12191).
3994 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3995 autoloads macros.
3996
aa7c6dbe
SM
3997 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3998 Prefer pcase-let over destructuring-bind.
3999 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4000 Also, remove whitespace as we go, rather than after accumulating the
4001 various places.
4002
89660017
SM
4003 * subr.el (internal--before-with-selected-window)
4004 (internal--after-with-selected-window): Fix typo seleted->selected.
4005 (with-selected-window): Adjust callers.
4006 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4007
31cd32c9
BG
40082012-08-13 Bastien Guerry <bzg@gnu.org>
4009
0fcd3d9f 4010 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4011 enhancement. (Bug#12172)
4012
1b15d8ad
AS
40132012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4014
31e54db0
AS
4015 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4016 type 1-6.
4017 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4018 extended headers.
4019
1b15d8ad
AS
4020 * files.el (hack-local-variables-filter): Remove useless eval.
4021
35cb9c06
MR
40222012-08-13 Martin Rudalics <rudalics@gmx.at>
4023
4024 * subr.el (with-selected-window): Fix last change.
4025
1439443b
SM
40262012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * subr.el (internal--before-with-seleted-window)
4029 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4030 (with-selected-window): Use them, to replace dependency on
4031 tty-top-frame.
1439443b 4032
0d9e2599
NN
40332012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4034
4035 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4036 binding for `newline'.
4037 (ruby-move-to-block): When moving backward, stop at block opening,
4038 not indentation.
4039 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4040 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4041 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4042 `ruby-toggle-block'.
4043
ba10c48c
SM
40442012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * ibuffer.el (ibuffer-do-toggle-read-only):
4047 * dired.el (dired-toggle-read-only):
4048 * buff-menu.el (Buffer-menu-toggle-read-only):
4049 * bindings.el (mode-line-toggle-read-only):
4050 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4051
9229c658
AS
40522012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4053
4054 * descr-text.el (describe-char): Put the overlays over the
4055 "displayed as" character.
4056
0fd09128
JB
40572012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4058
4059 * calc/calc-units.el (math-default-units-table): Give an
4060 initial value.
4061 (math-put-default-units): Add options to put composite units and
4062 unit systems in the default units table.
4063 (calc-convert-units): Send composite units to
4064 `math-put-default-units' when appropriate.
4065
9ff9402d 40662012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4067
fbb5e336
GM
4068 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4069
7aacaf15
GM
4070 * tutorial.el (help-with-tutorial):
4071 * emacs-lisp/copyright.el (copyright-update-directory):
4072 * emacs-lisp/autoload.el (autoload-find-generated-file)
4073 (autoload-find-file): Disable local eval: (for insurance).
4074
f40b9f10
GM
4075 * files.el (hack-local-variables-filter): If an eval: form is not
4076 known to be safe, and enable-local-variables is :safe, then ignore
4077 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4078 This is CVE-2012-3479.
f40b9f10 4079
daa9f1a6
SM
40802012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4083 (rx-form): Simplify.
4084
9cd80478
DG
40852012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4086
0d9e2599
NN
4087 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4088 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4089 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4090 (ruby-syntax-propertize-function): Adjust for changes in
4091 `ruby-syntax-propertize-heredoc'.
4092
40932012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4094
9cd80478
DG
4095 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4096 binding (use `M-;' instead).
9cd80478 4097 (ruby-singleton-class-p): New function.
0d9e2599 4098 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4099
d301b413
SM
41002012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4101
4102 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4103
1530c98e
CY
41042012-08-10 Chong Yidong <cyd@gnu.org>
4105
4106 * progmodes/python.el (python-shell-get-process-name): Don't mess
4107 with same-window-buffer-names.
4108
4109 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4110 (eshell-remove-from-window-buffer-names): Make obsolete.
4111 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4112 (eshell): Just use pop-to-buffer-same-window instead.
4113
e1293765
CY
41142012-08-10 Chong Yidong <cyd@gnu.org>
4115
4116 * bindings.el: Bind M-= back to count-words-region.
4117
4118 * simple.el (count-words-region): Accept a prefix arg for acting
4119 on the entire buffer.
4120 (count-words--buffer-message): New helper function.
4121
e1894109
SM
41222012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4125 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4126 (event-start, event-end): Use posn-at-point to return a more
4127 informative posn.
4128 (posnp): New function.
4129 * mouse.el (popup-menu-normalize-position): Use it.
4130
c69f56a2
MY
41312012-08-10 Masatake YAMATO <yamato@redhat.com>
4132
4133 * mouse.el (popup-menu-normalize-position): New function.
4134 (popup-menu): Use `popup-menu-normalize-position' to normalize
4135 the form for POSITION argument.
4136
4137 * term/x-win.el (x-menu-bar-open):
4138 Use the value returend from (posn-at-point) as position
4139 passed to `popup-menu'.
4140
31673780
JB
41412012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4142
4143 * calc/calccomp.el (math-compose-expr): Add extra argument
4144 indicating that parentheses should be put around products in
4145 denominators. Give multiplication precedence over division during
4146 composition.
4147
dab7711b
CY
41482012-08-09 Chong Yidong <cyd@gnu.org>
4149
dee4ef93
CY
4150 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4151 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4152 (Man-untabify-command, manual-program): Convert to defcustom
4153 (Bug#10429).
4154
73e2bbc5
CY
4155 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4156
3e861c8a
CY
4157 * descr-text.el (describe-char): Don't insert extra newlines
4158 (Bug#10127).
4159
a9f5a649
CY
4160 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4161 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4162
dab7711b
CY
4163 * align.el (align-region): Delete temporary markers (Bug#10047).
4164 Plus some code cleanups.
4165
e0cc4efa
FEG
41662012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4167
4168 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4169 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4170 (python-shell-internal-last-output): Use make-local-variable
4171 instead of make-variable-buffer-local.
4172
489af14f
FEG
41732012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4174
4175 * progmodes/python.el: Enhancements to forward-sexp.
4176 (python-nav-forward-sexp): Rename from
4177 python-nav-forward-sexp-function.
c69f56a2
MY
4178 (python-nav--forward-sexp, python-nav--backward-sexp):
4179 New functions.
489af14f 4180
0fc50303
JB
41812012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4182
4183 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4184 modes and simplification modes.
4185
5d65606a
SM
41862012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * delsel.el (delete-selection-pre-hook): Don't propagate the
4189 file-supersession signals (bug#12161).
4190
4250fdf5
SM
41912012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4192
4193 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4194 (cl-map-extents): Add compatibility aliases (bug#12135).
4195
d9f9b465
MA
41962012-08-08 Michael Albinus <michael.albinus@gmx.de>
4197
4198 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4199 tests by `ignore-error'.
4200 (tramp-find-shell): Open also a new shell, when cache is already
4201 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4202
ce0fcefa
JL
42032012-08-08 Juri Linkov <juri@jurta.org>
4204
4205 * bookmark.el: Add `defaults' property to the bookmark record.
4206 (bookmark-current-buffer): Doc fix.
4207 (bookmark-make-record): Add `defaults' property with default values
4208 to the bookmark record.
4209 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4210 with `bookmark-insert-current-bookmark'.
4211 (bookmark-set): Get `defaults' property from the bookmark record
4212 and use it in `read-from-minibuffer'.
4213 (bookmark-insert-current-bookmark): Remove function.
4214
4215 * info.el (Info-bookmark-make-record): Add `defaults' property
4216 with values of canonical Info node name, the current Info file
4217 name and the current Info node name. (Bug#12107)
4218
53fa8652
JL
42192012-08-08 Juri Linkov <juri@jurta.org>
4220
4221 * files.el (basic-save-buffer): Use `buffer-name' as the default
4222 of `read-file-name' when buffer is not visiting a file (bug#12128).
4223
242c0a95
JL
42242012-08-08 Juri Linkov <juri@jurta.org>
4225
4226 * info.el (Info-isearch-search): Doc fix.
4227 (Info-search): Change search-failed message from "initial node" to
4228 "end of node" (bug#12078).
4229 (Info-isearch-search): Change `isearch-string-state' to
4230 `isearch--state-string'.
4231
32ac3a6b
GM
42322012-08-08 Glenn Morris <rgm@gnu.org>
4233
4234 * language/persian.el: Remove file.
f8c1afd5 4235 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4236 * loadup.el: Remove language/persian.
4237
2c2d9c9c
OF
42382012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4239
4240 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4241
2d79ec42
FEG
42422012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4243
3c855b96 4244 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
4245 (python-syntax-context) Rename from python-info-ppss-context.
4246 (python-syntax-context-type): Rename from
4247 python-info-ppss-context-type.
4248 (python-syntax-comment-or-string-p): Rename from
4249 python-info-ppss-comment-or-string-p.
4250
2bd255dd
JB
42512012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4252
4253 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4254
c395097f
AS
42552012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4256
6125983e
AS
4257 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4258 a defcustom that is quoted with backquote.
4259
4250fdf5
SM
4260 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4261 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4262 (math-do-arg-check, math-define-function-body): Use backquote forms.
4263 * calc/calc-ext.el (math-defcache): Likewise.
4264 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4265 * allout.el (allout-new-exposure): Likewise.
4266 * calc/calcalg2.el (math-tracing-integral): Likewise.
4267 * info.el (Info-last-menu-item): Likewise.
4268 * emulation/vip.el (vip-loop): Likewise.
4269 * textmodes/artist.el (artist-funcall): Likewise.
4270 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4271 Construct menu-item directly.
4272
4250fdf5
SM
4273 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4274 Don't declare.
c395097f 4275
5fb50dd3
CY
42762012-08-07 Chong Yidong <cyd@gnu.org>
4277
4278 * simple.el (deactivate-mark): Preserve text properties when
4279 saving the primary selection (Bug#8384).
4280
54eea618
KR
42812012-08-07 Kevin Ryde <user42@zip.com.au>
4282
4283 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4284 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4285 and continue processing (Bug#12110).
4286
638eaeb9
SM
42872012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4288
4289 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4290 syntax-propertize-function (bug#10095).
4291
ea376861
SM
42922012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4293
f91b35be
SM
4294 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4295 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4296 describe-function-1.
4297 (describe-function-1): Use them. Move compiler macro after sig.
4298 (help-fns--compiler-macro): Use function-get. Assume we're already in
4299 standard-output. Adjust layout to new call order.
4300
ea376861
SM
4301 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4302 re-binding a symbol that has a symbol-macro (bug#12119).
4303
d5be7bd0
MB
43042012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4305
4306 * language/persian.el: New file. (Bug#11812)
4307 * loadup.el: Add language/persian.el.
4308
90749b53
CY
43092012-08-06 Chong Yidong <cyd@gnu.org>
4310
4311 * window.el (window--maybe-raise-frame): New function.
4312 (window--display-buffer): Split off from here.
4313 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4314 (display-buffer-pop-up-window, display-buffer-use-some-window):
4315 Obey an inhibit-switch-frame action alist entry.
4316 (display-buffer): Update doc.
4317
4318 * replace.el (occur-after-change-function): Avoid losing focus by
4319 using the inhibit-switch-frame display parameter (Bug#12139).
4320
ba7b0154
FEG
43212012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4322
4323 Make internal shell process buffer names start with space.
4324 * progmodes/python.el (python-shell-make-comint): Add optional
4325 argument INTERNAL.
4326 (run-python-internal): Use it.
4327 (python-shell-internal-get-or-create-process): Check for new
4328 internal buffer names.
4329
5eaeacb5
GM
43302012-08-06 Glenn Morris <rgm@gnu.org>
4331
e296d94b 4332 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4333 Do less getting and setting of environment variables.
4334
b7ccbdc2
CY
43352012-08-05 Chong Yidong <cyd@gnu.org>
4336
777fe95e
CY
4337 * proced.el (proced): Add substitution string to docstring to
4338 trigger autoloading of the proced library on C-h f (Bug#1768).
4339
4250fdf5
SM
4340 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4341 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4342
4343 * imenu.el (imenu-generic-expression): Move documentation here
4344 from imenu--generic-function.
4345 (imenu--generic-function): Refer to imenu-generic-expression.
4346
9e3b7800 43472012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4348
4349 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4350 indentation declaration.
4351 (viper-loop): Add indentation declaration (Bug#7025).
4352
e5d9c0d1
CY
43532012-08-05 Chong Yidong <cyd@gnu.org>
4354
f0422feb
CY
4355 * help-fns.el (describe-variable): Add hyperlink for
4356 directory-local variables files. Improve buffer-local and
4357 permanent-local reporting; suggested by MON KEY (Bug#6644).
4358
4359 * help-mode.el (help-dir-local-var-def): New button type.
4360
e5d9c0d1
CY
4361 * files.el (kill-buffer-hook): Provide a defvar.
4362
a4f2deaa
GM
43632012-08-05 Glenn Morris <rgm@gnu.org>
4364
4365 * eshell/esh-ext.el (eshell/addpath):
4366 Also update eshell-path-env. (Bug#12013)
4367
a9dd5754
CY
43682012-08-05 Chong Yidong <cyd@gnu.org>
4369
a4f2deaa 4370 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4371
d014c740
CY
4372 * fringe.el (fringe-styles): Add docstring.
4373 (fringe--check-mode): New function.
4374 (set-fringe-mode, set-fringe-style): Use it.
4375 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4376
a9dd5754
CY
4377 * files.el (set-auto-mode): Fix invalid setq call.
4378
7c2dc8bd
SM
43792012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * isearch.el: Misc simplification; use defstruct.
4382 (isearch-mode-map): Dense maps now work like sparse ones.
4383 (isearch--state): New defstruct.
4384 (isearch-string-state, isearch-message-state, isearch-point-state)
4385 (isearch-success-state, isearch-forward-state)
4386 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4387 (isearch-wrapped-state, isearch-barrier-state)
4388 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4389 replaced by defstruct's accessors.
4390 (isearch--set-state): Rename from isearch-top-state and change
4391 calling convention.
4392 (isearch-push-state): Use new isearch--get-state.
4393 (isearch-toggle-word): Disable regexp when enabling word.
4394 (isearch-message-prefix): Remove unused arg _c-q-hack.
4395 (isearch-message-suffix): Remove unused arg _ellipsis.
4396
7fcc0070
AS
43972012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4398
4399 * simple.el (list-processes--refresh): For a server use :host or
4400 :local as the address.
97ad0769 4401 (list-processes): Doc fix.
7fcc0070 4402
a11035b8 44032012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4404
4405 * lisp/mpc.el: Support password in host argument.
4406 (mpc--proc-connect): Parse and use new password element.
4407 Set mpc-proc variable instead of returning process.
4408 (mpc-proc): Adjust accordingly.
4409
6dad7178
EZ
44102012-08-03 Eli Zaretskii <eliz@gnu.org>
4411
18949c2f
EZ
4412 * whitespace.el (whitespace-display-mappings): Use Unicode
4413 codepoints, instead of emacs-mule codepoints. See
4414 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4415 for the details.
4416
6dad7178
EZ
4417 * files.el (file-truename): Don't skip symlink-chasing part on
4418 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
4419 Windows into the loop that recursively chases symlinks.
4420 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
4421 MS-DOS.
4422
385b0198
CY
44232012-08-03 Chong Yidong <cyd@gnu.org>
4424
6200f3c4
CY
4425 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4426
385b0198
CY
4427 * sort.el (sort-regexp-fields): Doc fix.
4428
b9e74744
TH
44292012-08-03 Tassilo Horn <tsdh@gnu.org>
4430
4431 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4432 labels regex position point at the expected place.
4433
41013cb4
MK
44342012-08-03 MON KEY <monkey@sandpframing.com>
4435
4436 * net/imap.el (imap-interactive-login, imap-authenticate)
4437 (imap-mailbox-lsub, imap-mailbox-list)
4438 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4439 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4440 (imap-parse-response): Doc fix.
4441
0ffee616
JT
44422012-08-03 João Távora <joaotavora@gmail.com>
4443
4444 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4445 if sexp scanning does not move point (Bug#5734).
4446
cfcc9cc8
TH
44472012-08-02 Tassilo Horn <tsdh@gnu.org>
4448
4449 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4450 Add listings, minted, and ctable packages.
4451 (reftex-label-alist-builtin): Move listings, minted, and ctable
4452 entries before LaTeX.
a01bbb84 4453 (reftex-label-alist): Docfix.
cfcc9cc8 4454
66ec2442
BG
44552012-08-02 Bastien Guerry <bzg@gnu.org>
4456
4457 * replace.el (occur): Fix docstring (bug#12122).
4458
837b365b
GM
44592012-08-02 Glenn Morris <rgm@gnu.org>
4460
4461 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4462
e098de97
PE
44632012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4464
4465 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4466 * international/mule-cmds.el: Create
4467 inactivate-current-input-method-function as an obsolete alias for
4468 deactivate-current-input-method-function. See Katsumi Yamaoka in
4469 <http://bugs.gnu.org/10150#46>.
4470
a0f95636
JB
44712012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4472
4473 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4474 of nested `if's.
4475
0d26d7c4
GM
44762012-08-01 Glenn Morris <rgm@gnu.org>
4477
4478 * progmodes/autoconf.el (autoconf-definition-regexp):
4479 Add AH_TEMPLATE, adjust submatch numbering.
4480 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4481 (autoconf-current-defun-function): Update for above change.
4482 (autoconf-current-defun-function): First skip to end of current word.
4483
b686ba06
RS
44842012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4485
4486 * calendar/cal-html.el (cal-html-insert-agenda-days):
4487 Fix typo. (Bug#12018)
4488
0d49da68
FEG
44892012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4490
4491 Shell processes: enhancements to startup and CEDET compatibility.
4492 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4493 (python-shell-make-comint): accept-process-output at startup.
4494 (run-python-internal): Set inferior-python-mode-hook to nil.
4495 (python-shell-internal-get-or-create-process): call sit-for.
4496 (python-preoutput-result): Add obsolete alias.
4497 (python-shell-internal-send-string): Use it.
4498 (python-shell-send-setup-code): Remove call to
4499 accept-process-output.
4500
f1a71c6e
AS
45012012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4502
4503 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4504 (Bug#12108)
4505
d2605269
JB
45062012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4507
4508 * calc-mode.el (calc-basic-simplification-mode): Rename from
4509 `calc-limited-simplification-mode'.
4510 (calc-alg-simplification-mode): New function.
fc0c31f8 4511 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4512
d2605269
JB
4513 * calc.el (calc-set-mode-line): Adjust mode line display for
4514 basic simplification mode.
4515
4516 * calc-help.el (calc-m-prefix-help): Update help message.
4517
4518 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4519 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4520
a3827a43
BG
45212012-07-31 Bastien Guerry <bzg@gnu.org>
4522
4523 * man.el (man): Fix comment. (bug#12101)
4524
502e3f89
MR
45252012-07-31 Martin Rudalics <rudalics@gmx.at>
4526
4527 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4528 Don't return a non-nil value when no suitable buffer was found.
4529
d7714961
FEG
45302012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4531
4532 * progmodes/python.el (run-python-internal): Disable font lock for
4533 internal shells.
4534
1f45e27e
SM
45352012-07-30 Stefan Merten <smerten@oekonux.de>
4536
70efc5c9 4537 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4538 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4539 (rst-official-version, rst-official-cvs-rev)
4540 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4541 (rst-mode-map): New key binding.
4542
0aee6912
PE
45432012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4544
4545 Update .PHONY listings in makefiles.
4546 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4547 autoloads, update-subdirs, updates, bzr-update, update-authors,
4548 compile-onefile, compile-calc, backup-compiled-files,
4549 compile-after-backup, compile-one-process, mh-autoloads,
4550 bootstrap-clean, distclean, maintainer-clean.
4551
9052f9f0
JB
45522012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4553
1823ac5a
JB
4554 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4555 (calc-set-mode-line): Don't display "AlgSimp ".
4556
4557 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4558 (calc-lim-simplify-mode): New function.
4559 (calc-set-simplify-mode): Default to 'alg.
4560 (calc-default-simplify-mode): Make algebraic simplifications
4561 the default.
4562
4563 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4564 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4565
8d7c7eed 4566 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4567 indicate new simplification modes.
4568
1823ac5a
JB
4569 * calc/README: Mention new default simplification mode.
4570
9052f9f0
JB
4571 * calc/calc.el (math-normalize-error): New variable.
4572 (math-normalize): Set `math-normalize-error' to t
4573 when there's an error.
4574
4575 * calc/calc-alg.el (math-simplify): Don't simplify when
4576 `math-normalize' returns an error.
4577
20ba0cb4
EZ
45782012-07-29 Eli Zaretskii <eliz@gnu.org>
4579
4580 * international/mule-cmds.el (set-locale-environment): Revert last
4581 change, since display-graphic-p returns nil when this function is
4582 called during startup. Instead...
4583
4584 * term/w32console.el (terminal-init-w32console): ...setup the
4585 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4586
a5dcc929
JL
45872012-07-29 Juri Linkov <juri@jurta.org>
4588
4589 * simple.el (goto-line): Don't display default line number in the
4590 prompt because it should be displayed by `read-number' (bug#9952).
4591 Add the current line number to the defaults of `goto-line' to
4592 allow its easier modification by users with `M-n' (bug#9201).
4593
4594 * subr.el (read-number): Support multiple default values like in
4595 other minibuffer reading functions. Replace `read' with
4596 `string-to-number' for consistency with `number-to-string'.
4597
72b255c7
PE
45982012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4599
4600 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4601 * emulation/viper-init.el (viper-deactivate-input-method-action):
4602 Rename from viper-inactivate-input-method-action.
4603 (viper-deactivate-input-method):
4604 Rename from viper-inactivate-input-method.
4605 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4606 * international/mule-cmds.el (deactivate-input-method):
4607 Rename from inactivate-input-method.
4608 Also run input-method-deactivate-hook.
4609 (deactivate-current-input-method-function):
4610 Rename from inactivate-current-input-method-function.
4611 (input-method-deactivate-hook): New hook.
4612 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4613 (inactivate-input-method): Mark obsolete.
4614
72b255c7
PE
4615 * international/quail.el (quail-activate):
4616 Also run quail-deactivate-hook.
4617 (quail-deactivate): Rename from quail-inactivate.
4618 * international/robin.el (robin-activate):
4619 Also run robin-deactivate-hook.
4620 (robin-deactivate): Rename from robin-inactivate.
4621
2549c068
CY
46222012-07-29 Chong Yidong <cyd@gnu.org>
4623
4624 * simple.el (indicate-copied-region): New function.
4625 (kill-ring-save): Split off from here.
4626
4627 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4628 (kill-rectangle): Set deactivate-mark to t on read-only error.
4629
4630 * register.el (copy-to-register, copy-rectangle-to-register):
4631 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4632 (append-to-register, prepend-to-register): Call indicate-copied-region.
4633
46342012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4635
4636 * simple.el (async-shell-command-buffer): New defcustom.
4637 (shell-command): Use it. (Bug#4719)
4638
01bd1b0d
EZ
46392012-07-28 Eli Zaretskii <eliz@gnu.org>
4640
4641 * international/mule-cmds.el (set-locale-environment): In a
4642 console session on MS-Windows, set up keyboard and terminal
4643 encoding from the OEM codepage, not the ANSI codepage.
4644 (Bug#12055)
4645
a55739d3
CY
46462012-07-28 Chong Yidong <cyd@gnu.org>
4647
4648 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4649 gdb-get-location.
4650
0e1a094f 46512012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4652
4653 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4654 the alist (bug#12029).
4655
20329d73
EZ
46562012-07-28 Eli Zaretskii <eliz@gnu.org>
4657
4658 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4659 (compile-always, compile-first)
4660 ($(lisp)/calendar/cal-loaddefs.el)
4661 ($(lisp)/calendar/diary-loaddefs.el)
4662 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4663 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4664 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4665 instead of on update-subdirs.
4666 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4667
345a2258
CY
46682012-07-28 Chong Yidong <cyd@gnu.org>
4669
1eee6341
CY
4670 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4671 directory if vc-deduce-backend returns nil (Bug#7350).
4672
345a2258
CY
4673 * simple.el (delete-trailing-lines): New option.
4674 (delete-trailing-whitespace): Obey it (Bug#11879).
4675
049a0936
DE
46762012-07-28 David Engster <deng@randomsample.de>
4677
4678 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4679 Explanation of new 'symbol-qnames feature in doc-strings.
4680 (xml-maybe-do-ns): Return expanded names as plain symbols if
4681 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4682 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4683
aa81af71
FEG
46842012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4685
4686 Consistent completion in inferior python with emacs -nw.
4687 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4688 binding in inferior-python-mode-map with "\t".
4689 (python-shell-completion-complete-at-point)
4690 (python-completion-complete-at-point): Remove interactive spec.
4691
e827b1eb
JB
46922012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4693
4694 * calc/calccomp.el (math-compose-expr): Undo previous change.
4695
a90dfb95
FEG
46962012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4697
4250fdf5 4698 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4699 run-python.
4700 (python-shell-make-comint): Fix pop-to-buffer call.
4701 (run-python): Autoload. New arg SHOW.
4702 (python-shell-get-or-create-process): Do not pop python process
4703 buffer.
4704
32770973 47052012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4706
4707 * notifications.el (notifications-on-action-signal)
4708 (notifications-on-closed-signal): Use also the bus address for the map.
4709 (notifications-notify, notifications-close-notification)
fc0c31f8 4710 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4711
86332df2
TH
47122012-07-27 Tassilo Horn <tsdh@gnu.org>
4713
4250fdf5
SM
4714 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4715 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4716 ctable macro.
4717 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4718 labels written in keyvals syntax.
4719
ca1302a4
JB
47202012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4721
4722 * calc/calccomp.el (math-compose-expr): Use parentheses when
4723 there is a product in the denominator of a fraction.
4724
f8b91036
EZ
47252012-07-26 Eli Zaretskii <eliz@gnu.org>
4726
4727 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4728 ($(lisp)/calendar/diary-loaddefs.el)
4729 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4730 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4731 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4732 rewritten while the autoload files are built at the same time,
4733 which needs to load subdirs.el.
4734
c8e5a42c
MR
47352012-07-26 Martin Rudalics <rudalics@gmx.at>
4736
4737 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4738 (mouse-drag-line): Don't exit tracking when a switch-frame or
4739 switch-window event occurs (Bug#12006).
4740
670d85ea
SM
47412012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 * mouse.el (popup-menu): Fix last change.
4744
7abaf5cc
SM
47452012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 Autoload from Lisp with more care. Follow aliases when looking for
4748 function properties.
4749 * subr.el (autoloadp): New function.
4750 (symbol-file): Use it.
4751 (function-get): New function.
4752 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4753 autoload-do-load.
4754 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4755 (lisp-indent-function):
4756 * emacs-lisp/gv.el (gv-get):
4757 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4758 * emacs-lisp/byte-opt.el (byte-optimize-form):
4759 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4760 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4761 Use function-get.
4762 * emacs-lisp/cl.el: Don't propagate function properties any more.
4763
4764 * speedbar.el (speedbar-add-localized-speedbar-support):
4765 * emacs-lisp/disass.el (disassemble-internal):
4766 * desktop.el (desktop-load-file):
4767 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4768 (describe-function-1):
4769 * emacs-lisp/find-func.el (find-function-noselect):
4770 * emacs-lisp/elp.el (elp-instrument-function):
4771 * emacs-lisp/advice.el (ad-has-proper-definition):
4772 * apropos.el (apropos-safe-documentation, apropos-macrop):
4773 * emacs-lisp/debug.el (debug-on-entry):
4774 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4775 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4776 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4777
b1364986
AA
47782012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4779
4780 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4781 function, not an obsolete variable (Bug#12046).
4782
67ada220
AS
47832012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4784
4785 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4786
f08088e3
CS
47872012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4788
4789 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4790 window only if it is still live (Bug#12034).
4791
8137e7b3
MR
47922012-07-25 Martin Rudalics <rudalics@gmx.at>
4793
4794 * subr.el (redirect-frame-focus): Add advertised calling
4795 convention (Bug#12030).
4796
09ae5da1
PE
47972012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4798
4799 Prefer typical American spelling for "acknowledgment".
4800 * vc/add-log.el (change-log-acknowledgment): Rename from
4801 change-log-acknowledgement, with an alias for the old name.
4802
3cc5a3a8
JB
48032012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4804
4805 * calc-alg.el (math-simplify-divide): Don't cross multiply
4806 in an equation when the lhs is a variable.
4807
b7af7f62
JD
48082012-07-24 Julien Danjou <julien@danjou.info>
4809
4810 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4811 Remove, unused.
4812
ec1b09b1
EZ
48132012-07-23 Eli Zaretskii <eliz@gnu.org>
4814
4815 * startup.el (command-line): Don't display an empty user name in
4816 the error message about non-existent home directory, when
4817 init-file-user was set to an empty string. See
4818 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4819 for the details and context.
4820
b525fd8a
VB
48212012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4822
4823 * ses.el (ses-cell-formula-aset): New macro.
4824 (ses-cell-references-aset): New macro.
4825 (ses-cell-p): New function.
4826 (ses-rename-cell): Do no longer rely on complex operations like
4827 ses-cell-set-formula or ses-set-cell to change the cell and handle
4828 the undo at the same time, but rather use lower level new macros
4829 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4830 the undo directly. Refresh the mode line.
b525fd8a 4831
2c73e345
LL
48322012-07-21 Leo Liu <sdl.web@gmail.com>
4833
670d85ea
SM
4834 * progmodes/cc-cmds.el (c-defun-name):
4835 Use match-string-no-properties instead for consistency.
2c73e345 4836
542dfbde
LL
48372012-07-20 Leo Liu <sdl.web@gmail.com>
4838
3646bcd6
LL
4839 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4840 (Bug#7879)
4841
542dfbde
LL
4842 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4843
25721031
CY
48442012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4847 * progmodes/bug-reference.el, misearch.el: Provide themselves
4848 (bug#11915).
4849
4850 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4851 of narrowed buffer (bug#11966).
4852
316e68a7
VB
48532012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4854
4855 * ses.el (ses-rename-cell): Set new name also in reference list of
4856 cells of which the renamed cell depends.
4857
bbf0e7d9
MY
48582012-07-20 Masatake YAMATO <yamato@redhat.com>
4859
4860 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4861 to check whether menu-bar is shown or not. If not shown,
4862 show the menu-bar as a popup menu instead of using tmm.
4863 * mouse.el (popup-menu): Accept `point' as `position' argument.
4864
c28662a8
DG
48652012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4866
4867 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4868 up inside string symbol literal (bug#11923).
4869
87ab808f
EZ
48702012-07-20 Eli Zaretskii <eliz@gnu.org>
4871
4872 * startup.el (fancy-startup-text): Read the whole tutorial, not
4873 just its first 256 bytes. Prevents gibberish in display of the
4874 tutorial title.
4875
89dea803
DA
48762012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4877
4878 Drop idle buffer compaction due to an absence of the
4879 proved efficiency.
4880 * compact.el: Remove.
4881
8a4e6db8
SS
48822012-07-19 Sam Steingold <sds@gnu.org>
4883
4884 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4885 vc-bzr-pull & vc-bzr-merge-branch.
4886 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4887 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4888 for consistency with compilation-error-regexp-alist.
4889 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4890 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4891 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4892 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4893
5db81e33
SM
48942012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * emacs-lisp/chart.el: Use lexical-binding.
4897 (chart-emacs-storage): Don't hardcode the list of entries.
4898
5b835e1d
DA
48992012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4900
4901 Next round of tweaks caused by Fgarbage_collect changes.
4902 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4903
9cd47b72
DA
49042012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4905
4906 Compact buffers when idle.
4907 * compact.el: New file.
4908
1d6fc0df
SM
49092012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4910
4911 * subr.el (eventp): Presume that if it looks vaguely like an event,
4912 it's an event (bug#10190).
4913
1d29cc7d
FEG
49142012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4915
4916 Enhancements to ppss related code (thanks Stefan).
4917 * progmodes/python.el (python-indent-context)
4918 (python-indent-calculate-indentation, python-indent-dedent-line)
4919 (python-indent-electric-colon, python-nav-forward-block)
4920 (python-mode-abbrev-table)
1d6fc0df 4921 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4922 for ppss context.
4923 (python-info-continuation-line-p): Cleanup.
4924 (python-info-ppss-context): Do not catch 'quote.
4925 (python-info-ppss-context-type)
4926 (python-info-ppss-comment-or-string-p): Simplify.
4927
d583cbe6
FEG
49282012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4929
4930 * progmodes/python.el: Enhancements to eldoc support.
4931 (python-info-current-symbol): New function.
4932 (python-eldoc-at-point): Use python-info-current-symbol.
4933 (python-info-current-defun): Fix cornercase on first defun scan.
4934 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4935 and signal error when no inferior python process is available.
4936
eceb6feb
DG
49372012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4938
4939 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4940 assume it's always t.
4941 (vc-git-registered): Remove caching, the function is only called
4942 once.
4943 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4944
4c8ff0fe
CY
49452012-07-18 Chong Yidong <cyd@gnu.org>
4946
19fb7186
CY
4947 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4948
9587c688
CY
4949 * simple.el (count-words): Report on narrowing (Bug#9959).
4950
0fe776a1
CY
4951 * bindings.el: Bind M-= to count-words.
4952
4c8ff0fe
CY
4953 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4954
7f5331cc
MY
49552012-07-18 Masatake YAMATO <yamato@redhat.com>
4956
4957 * progmodes/sh-script.el (sh-imenu-generic-expression):
4958 Capture a function with `function' keyword and without parentheses
4959 like "function FOO" (bug#11856).
4960
2dc2a609
TH
49612012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4962
4963 * window.el (split-window-sensibly): Make WINDOW argument
4964 optional.
4965
439f7677
CY
49662012-07-18 Chong Yidong <cyd@gnu.org>
4967
9aeb25a6
CY
4968 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4969
439f7677
CY
4970 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4971 and make C-x 8 RET exit isearch (Bug#11439).
4972
4973 * international/iso-transl.el: Move isearch-mode-map key
4974 definitions to isearch.el.
4975
12999ea8
SM
49762012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4977
4978 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4979 (eieio-defclass): Use gv-define-setter when possible.
4980
3ab6e069
DA
49812012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4982
4983 Reflect recent changes in Fgarbage_collect.
4984 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4985 reflect new format of data returned by Fgarbage_collect.
4986
0a60bc10
FEG
49872012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4988
4989 New utility functions + python-info-ppss-context fix (Bug#11910).
4990 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4991 (python-info-ppss-comment-or-string-p): New functions.
4992 (python-info-ppss-context): Small fix for string check.
4993
6dafa0d5
JL
49942012-07-17 Juri Linkov <juri@jurta.org>
4995
4996 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4997 (dired-do-async-shell-command): Don't add `*' at the end of the
4998 command (Bug#11815).
4999 (dired-do-shell-command): Doc fix.
5000 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5001 Join the individual commands using either "&" or ";" as the
5002 separator depending on the values of these trailing characters.
5003 At the end re-add the trailing "&". (Bug#10598)
5004
5005 * simple.el (async-shell-command): Sync the interactive spec with
5006 `shell-command'. Doc fix.
5007 (shell-command): Doc fix.
5008
b19dd9d1
JL
50092012-07-17 Juri Linkov <juri@jurta.org>
5010
5011 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5012
bcdc27d7 50132012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5014
bcdc27d7 5015 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5016 * progmodes/python.el (python-nav-beginning-of-statement):
5017 Rename from python-nav-statement-start.
bcdc27d7
FEG
5018 (python-nav-end-of-statement): Rename from
5019 python-nav-statement-end.
5020 (python-nav-beginning-of-block): Rename from
5021 python-nav-block-start.
5022 (python-nav-end-of-block): Rename from python-nav-block-end.
5023
191da00e
FEG
50242012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5025
7f5331cc
MY
5026 * progmodes/python.el (python-shell-send-string-no-output):
5027 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5028 future interactions (Bug#11868).
5029
4dc7c8d5 50302012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5031
88ecaf8f
SM
5032 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5033
ef501ef0
SM
5034 * emacs-lisp/elint.el (elint-find-args-in-code):
5035 Use help-function-arglist, so as to handle lexical byte-code.
5036
aa7aaf8f
SM
5037 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5038 change (bug#11826).
5039
45fd731c
SM
50402012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5041
2143fa32
SM
5042 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5043 Avoid spuriously marking the buffer as modified because of c-is-sws.
5044
efc26dbe
SM
5045 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5046 as not-a-comment (bug#11946).
5047
f5695c9a
SM
5048 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5049 for uninterned vars.
5050
5051 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5052 Use read-event since we don't really want to read chars but bytes.
5053
45fd731c
SM
5054 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5055 $$..$$ but also $..$ using regexps (bug#11953).
5056 Use tex-verbatim for \url and \path.
5057 (tex-font-lock-keywords): Define as defconst like the others.
5058 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5059
ddfc8813
RK
50602012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5061
5062 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5063 alias for insert-char.
5064
758e556a
FEG
50652012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5066
5067 * progmodes/python.el: Simplified imenu implementation.
5068 (python-nav-jump-to-defun): Remove command.
5069 (python-mode-map): Use `imenu' instead.
5070 (python-nav-list-defun-positions-cache)
5071 (python-imenu-include-defun-type, python-imenu-make-tree)
5072 (python-imenu-subtree-root-label, python-imenu-index-alist):
5073 Remove vars.
5074 (python-nav-list-defun-positions, python-nav-read-defun)
5075 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5076 (python-imenu-make-tree, python-imenu-create-index):
5077 Remove functions.
758e556a
FEG
5078 (python-mode): Update to interact with imenu by setting
5079 `imenu-extract-index-name-function' only.
5080
032d23ab
FEG
50812012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5082
5083 * progmodes/python.el: Enhancements to navigation commands.
5084 (python-nav-backward-sentence)
5085 (python-nav-forward-sentence): Remove.
5086 (python-nav-backward-statement, python-nav-forward-statement)
5087 (python-nav-statement-start, python-nav-statement-end)
5088 (python-nav-backward-block, python-nav-forward-block)
5089 (python-nav-block-start, python-nav-block-end)
5090 (python-nav-forward-sexp-function)
5091 (python-info-current-line-comment-p)
5092 (python-info-current-line-empty-p): New functions.
5093 (python-indent-context): Use `python-nav-statement-start'.
5094
01795a1b
MA
50952012-07-16 Michael Albinus <michael.albinus@gmx.de>
5096
9328d9aa
MA
5097 * eshell/em-ls.el (eshell/ls): Use `apply'.
5098
5099 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5100 multi-hops, instead of Tramp internals.
5101
01795a1b
MA
5102 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5103
5104 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5105 when F1 and F2 are located on different hosts.
5106
63408057
CY
51072012-07-14 Chong Yidong <cyd@gnu.org>
5108
5109 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5110 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5111 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5112 (xterm-mouse--read-event-sequence-1000)
5113 (xterm-mouse--read-event-sequence-1006): New functions. For old
5114 mouse protocol, handle M-mouse-X events correctly.
5115 (xterm-mouse-event): New arg specifying mouse protocol.
5116 (turn-on-xterm-mouse-tracking-on-terminal)
5117 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5118 sequence to toggle extended coordinates on newer XTerms.
5119 This appears to be harmless on terminals which do not support this.
63408057 5120
cd276f6e
LL
51212012-07-14 Leo Liu <sdl.web@gmail.com>
5122
28ca98ac
LL
5123 Add fringe bitmap indicators for flymake. (Bug#11253)
5124 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5125 (flymake-make-overlay): New arg BITMAP.
5126 (flymake-error-bitmap, flymake-warning-bitmap)
5127 (flymake-fringe-indicator-position): New user variables.
5128
cd276f6e
LL
5129 * fringe.el: New bitmap exclamation-mark.
5130
04408072
JD
51312012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5132
5133 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5134 also (Bug#7879).
5135
b5cf7fc4
CY
51362012-07-14 Chong Yidong <cyd@gnu.org>
5137
5138 * electric.el (electric-pair-post-self-insert-function): Fix pair
5139 insertion in empty-region case (Bug#11520).
5140
be755c79
RT
51412012-07-14 Chong Yidong <cyd@gnu.org>
5142
45fd731c
SM
5143 * bindings.el: Consolidate ctl-x-r-map bindings.
5144 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5145
5146 * rect.el, register.el: Move bindings to bindings.el.
5147
51482012-07-14 Reuben Thomas <rrt@sc3d.org>
5149
5150 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5151
7f5b3198
AS
51522012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5153
5154 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5155
97662200
JB
51562012-07-13 Juanma Barranquero <lekktu@gmail.com>
5157
80185fed
JB
5158 * bindings.el (top): Use `mapc' instead of `mapcar'.
5159
97662200
JB
5160 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5161
2bb1ae55
MA
51622012-07-13 Michael Albinus <michael.albinus@gmx.de>
5163
5164 * progmodes/sql.el (sql-comint): Suppress the check for program on
5165 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5166 (Bug#11908)
5167
dea31bd3
CY
51682012-07-13 Chong Yidong <cyd@gnu.org>
5169
5170 * bindings.el: Assign a non-nil permanent-local property to
5171 per-buffer variables which lack a default value (Bug#11930).
5172
5173 * help-fns.el (describe-variable): In the "automatically becomes
5174 local" notice, take note of permanent-local variables.
5175
b68b3337
CY
51762012-07-13 Chong Yidong <cyd@gnu.org>
5177
5178 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5179 to allow printing the message when called from Lisp.
5180
5181 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5182 Remove toggle-read-only.
5183
5184 * bs.el (bs-toggle-readonly):
45fd731c
SM
5185 * buff-menu.el (Buffer-menu-toggle-read-only):
5186 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5187
5188 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5189 Remove with-no-warnings around toggle-read-only.
5190 (ffap-read-only, ffap-read-only-other-window)
5191 (ffap-read-only-other-frame): Callers changed.
5192
5193 * help-mode.el: Don't require view package.
5194 (help-mode-finish): Set buffer-read-only instead of calling
5195 toggle-read-only.
5196
5197 * bindings.el (mode-line-toggle-read-only):
5198 * dired.el (dired-toggle-read-only):
5199 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5200 with non-nil second arg.
5201
5202 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5203 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5204 directly.
5205
56bc1586
EZ
52062012-07-12 Eli Zaretskii <eliz@gnu.org>
5207
5208 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5209 not incf.
5210
a464a6c7
SM
52112012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5212
5213 More CL cleanups and reduction of use of cl.el.
5214 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5215 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5216 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5217 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5218 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5219 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5220 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5221 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5222 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5223 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5224 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5225 * eshell/em-cmpl.el, eshell/em-banner.el:
5226 * calendar/parse-time.el: Use cl-lib.
5227 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5228 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5229 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5230 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5231 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5232 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5233 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5234 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5235 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5236 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5237 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5238 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5239 `lambda' rather than with `quote'.
5240 (eshell-do-opt): Adjust accordingly.
5241 (eshell-process-option): Simplify.
5242 * eshell/esh-var.el:
5243 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5244 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5245 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5246 to `pcase--dontcare'.
5247 * emacs-lisp/cl.el (labels): Mark obsolete.
5248 (cl--letf, letf): Move to cl-lib.
5249 (cl--letf*, letf*): Remove.
5250 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5251 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5252 (cl-progv): Rewrite.
5253 (cl--letf, cl-letf): Move from cl.el.
5254 (cl-letf*): New macro.
5255 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5256
7ad4afe1
MA
52572012-07-11 Michael Albinus <michael.albinus@gmx.de>
5258
5259 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5260
9af57756
CY
52612012-07-11 Chong Yidong <cyd@gnu.org>
5262
5263 * vc/log-edit.el (log-edit-vc-backend): New variable.
5264 (log-edit): Doc fix.
5265
5266 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5267 argument of log-edit to set up all local variables.
5268 (vc-start-logentry): New optional arg specifying VC backend.
5269
5270 * vc/vc.el (vc-checkin): Use it.
5271 (vc-deduce-fileset): Handle Log Edit buffers.
5272 (vc-diff): Make first argument optional too.
5273
5274 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5275
8477cc7a
MA
52762012-07-10 Michael Albinus <michael.albinus@gmx.de>
5277
5278 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5279 command, just in case. The function is not needed anymore.
5280 (eshell-external-command): Do not call `eshell-remote-command'.
5281
19faa8e8
SM
52822012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5283
f58e0fd5
SM
5284 Reduce use of (require 'cl).
5285 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5286 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5287 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5288 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5289 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5290 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5291 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5292 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5293 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5294 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5295 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5296 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5297 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5298 (byte-compile-unfold-bcf, byte-compile-check-variable):
5299 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5300 (byte-compile-nilconstp):
5301 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5302 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5303
2519d43a
SM
5304 * emacs-lisp/gv.el (cond): Make it a valid place.
5305 (if): Simplify slightly.
5306
19faa8e8
SM
5307 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5308 (pcase--self-quoting-p): New function.
5309 (pcase--u1): Use it.
5310
c4907a5e
GM
53112012-07-10 Glenn Morris <rgm@gnu.org>
5312
5313 * emacs-lisp/authors.el (authors-fixed-entries):
5314 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5315
c4444d16
PE
53162012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5317
5318 Rename configure.in to configure.ac (Bug#11603).
5319 * emacs-lisp/authors.el (authors-canonical-file-name):
5320 * progmodes/autoconf.el (autoconf-mode):
5321 Prefer configure.ac to configure.in.
5322
d75be97d
CY
53232012-07-08 Chong Yidong <cyd@gnu.org>
5324
01ac65bd
CY
5325 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5326 Implement the mouse-1-click-follows-link handling properly.
5327
5328 * info.el (Info-link-keymap): Use follow-link mechanism for
5329 header-line links (Bug#374).
5330
d75be97d
CY
5331 * simple.el (deactivate-mark): Do not set the primary selection
5332 if another program has acquired it (Bug#11772).
5333
87a92845 53342012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5335
5336 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5337 (woman-decode-region): Replace escaped-escapes without destroying
5338 bold or underline (Bug#11552).
87a92845 5339 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5340
621b9d6c
CY
53412012-07-07 Chong Yidong <cyd@gnu.org>
5342
5343 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5344 (interprogram-cut-function, interprogram-paste-function):
5345 Mention that we typically mean the clipboard.
621b9d6c 5346
133a11fc
GM
53472012-07-06 Glenn Morris <rgm@gnu.org>
5348
0d27a45e
GM
5349 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5350
133a11fc
GM
5351 * files.el (toggle-read-only): Restrict message to interactive use.
5352
07b151f1
MA
53532012-07-06 Michael Albinus <michael.albinus@gmx.de>
5354
5355 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5356
5357 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5358
211b896b
GM
53592012-07-06 Glenn Morris <rgm@gnu.org>
5360
50394322
GM
5361 * Makefile.in (compile-one-process): Rename from "recompile".
5362
211b896b
GM
5363 * Makefile.in (bzr-update): "compile" is the same as "recompile
5364 autoloads", but parallelizable, so use that instead.
5365
4737eec9
DG
53662012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5367
5368 * window.el (quit-window): Always restore window height when
8137e7b3 5369 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5370
226c3633 53712012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5372
5373 * simple.el (kill-whole-line): Doc tweak.
5374
226c3633 53752012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5376
5377 * files.el (file-relative-name): Compare file names
5378 case-insensitively if on MS-Windows or MS-DOS, or if
5379 read-file-name-completion-ignore-case is non-nil. Don't use
5380 case-fold-search for this purpose. (Bug#11827)
5381
4dc7c8d5
SM
53822012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5383
5384 * calendar/cal-dst.el (calendar-current-time-zone):
5385 Return calendar-current-time-zone-cache if non-nil.
5386
53872012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 53882012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5389
19faa8e8
SM
5390 * calendar/cal-dst.el (calendar-current-time-zone):
5391 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5392
60198fc9
GM
53932012-07-06 Glenn Morris <rgm@gnu.org>
5394
5395 * Makefile.in (cvs-update): Remove old alias.
5396
957b3189
MA
53972012-07-05 Michael Albinus <michael.albinus@gmx.de>
5398
5399 Sync with Tramp 2.2.6-pre.
5400
5401 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5402 compatible declaration.
5403
19faa8e8
SM
5404 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5405 Protect `list-load-path-shadows' call.
957b3189
MA
5406
5407 * net/tramp-compat.el (top): Require packages, which aren't
5408 autoloaded anymore for XEmacs. Protect call of
5409 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5410 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5411 it hurts at least for SXEmacs.
5412 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5413 standard-value for `temporary-file-directory'.
5414
5415 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5416 Redirect stderr to /dev/null.
5417 (tramp-sh-handle-write-region): uid and gid can be floats.
5418 Reported by Russell Sim <russell.sim@gmail.com>.
5419 (tramp-sh-handle-vc-registered): Hide errors.
5420 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5421 and `start-file-process'.
5422 (tramp-maybe-open-connection): Check also whether `non-essential'
5423 is bound.
5424
566df3fc
CY
54252012-07-04 Chong Yidong <cyd@gnu.org>
5426
5427 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5428 (xml-parse-tag): Likewise, and avoid changing entity tables.
5429 (xml-syntax-table): Define from scratch, making sure not to give
5430 x2000 and other Unicode spaces whitespace syntax, since those are
5431 not spaces in XML.
5432 (xml-parse-fragment): Delete unused function.
5433 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5434 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5435 (xml-entity-ref, xml-pe-reference-re)
5436 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5437 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5438 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5439 (xml-entity-value-re): Use syntax references in regexps where
5440 possible; no need to define inside a let-binding.
5441 (xml-parse-dtd): Use xml-pe-reference-re.
5442 (xml-entity-or-char-ref-re): New defconst.
5443 (xml-parse-string, xml-substitute-special): Use it.
5444
30eabd7a
SM
54452012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5446
0781098a
SM
5447 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5448 (find-file--read-only): New function.
5449 (find-file-read-only, find-file-read-only-other-window)
5450 (find-file-read-only-other-frame): Use it.
5451 (insert-file-contents-literally): Don't `fset'.
5452 (get-free-disk-space): Use locate-dominating-file.
5453
b5771c0d
SM
5454 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5455 function is already compiled.
5456
30eabd7a
SM
5457 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5458
b4886f6e
MA
54592012-07-03 Michael Albinus <michael.albinus@gmx.de>
5460
5461 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5462 files on the same host.
5463
b9d82339
AS
54642012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5465
5466 * help-fns.el (describe-function-1): Only call
5467 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5468
a76e6535
CY
54692012-07-03 Chong Yidong <cyd@gnu.org>
5470
5471 * xml.el: Protect parser against XML bombs.
5472 (xml-entity-expansion-limit): New variable.
5473 (xml-parse-string, xml-substitute-special): Use it.
5474 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5475
b544fef2
GM
54762012-07-03 Glenn Morris <rgm@gnu.org>
5477
5478 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5479 Allow linking to specific messages in debbugs reports (eg 123#5).
5480
a7aef6f5
CY
54812012-07-02 Chong Yidong <cyd@gnu.org>
5482
5483 * xml.el: Fix entity and character reference expansion, allowing
5484 them to expand into markup as per XML spec.
5485 (xml-default-ns): New variable.
5486 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5487 (xml-parse-region): Make first two arguments optional.
5488 Discard text properties.
5489 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5490 All callers changed.
a7aef6f5
CY
5491 (xml-parse-tag): Call xml-parse-tag-1. For backward
5492 compatibility, this function should not modify buffer contents.
5493 (xml-parse-tag-1): Fix opening-tag regexp.
5494 (xml-parse-string): Rewrite, handling entity and character
5495 references properly.
5496 (xml--entity-replacement-text): Signal an error if a parameter
5497 entity is undefined.
5498
3df31c9f
SM
54992012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5500
2b5208f1
SM
5501 * comint.el (comint-output-filter): Filter out repeated prompts.
5502
3df31c9f
SM
5503 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5504 and file-name-absolute-p.
5505 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5506 internal calls.
5507
e3ac1281
PE
55082012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5509
5510 Spelling fixes.
5511 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5512 Rename from byte-compile--refiy-function. All uses changed.
5513
fbf2e7ad
CY
55142012-07-01 Chong Yidong <cyd@gnu.org>
5515
5516 * xml.el (xml--parse-buffer): New function. Move most of
5517 xml-parse-region here.
5518 (xml-parse-region): Copy region into a temporary buffer, since
5519 parameter entity substitution requires changing buffer contents.
5520 Use xml--parse-buffer.
5521 (xml-parse-file): Use xml--parse-buffer.
5522 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5523 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5524
9bf0aa15
GM
55252012-06-30 Glenn Morris <rgm@gnu.org>
5526
bbce2853
GM
5527 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5528
9bf0aa15
GM
5529 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5530 Remove outdated and unnecessary dbus declarations.
5531
0d23c240
EZ
55322012-06-30 Eli Zaretskii <eliz@gnu.org>
5533
5534 * emacs-lisp/timer.el (timer-until): Subtract results of
5535 float-time, instead of taking float-time of the result of
5536 time-subtract, since float-time signals an error for negative time
5537 arguments.
5538
b3218de1
CY
55392012-06-30 Chong Yidong <cyd@gnu.org>
5540
5541 * xml.el (xml-*-re): Convert defvars into defconsts, and
5542 eval-and-compile them so eval-and-compile works on derivatives.
5543 (xml--entity-replacement-text): Use eval-and-comple.
5544
a40c87a0
MA
55452012-06-30 Michael Albinus <michael.albinus@gmx.de>
5546
5547 * vc/vc-git.el (vc-git-registered): Use cache property
5548 `git-registered'.
5549 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5550 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5551 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5552
ac87de97
DG
55532012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5554
5555 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5556 removed (likely outside Emacs). (Bug#11757)
ac87de97 5557
ac10fe06
SM
55582012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5559
3df31c9f 5560 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5561
7f3fbd5d
CY
55622012-06-30 Chong Yidong <cyd@gnu.org>
5563
5564 * xml.el: Implement XML parameter entities.
5565 (xml-parameter-entity-alist): New variable.
5566 (xml-parse-region, xml-parse-fragment): Preserve previous values
5567 of xml-entity-alist and xml-parameter-entity-alist, so that
5568 repeated calls on different documents do not change them.
5569 (xml-parse-tag): Fix doctype regexp.
5570 (xml--entity-replacement-text): New function.
5571 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5572 properly requires url retrieval which is unimplemented.
5573 (xml-escape-string): Doc fix.
5574
3cfbebba
SM
55752012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5578
2af3565e
DA
55792012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5580
5581 * fringe.el (fringe-mode): Doc fix.
5582
929df0e7
MA
55832012-06-29 Michael Albinus <michael.albinus@gmx.de>
5584
5585 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5586 is non-nil.
5587 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5588 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5589
c8d3a25c 55902012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5591
c8d3a25c
GM
5592 * calendar/cal-dst.el (calendar-current-time-zone):
5593 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5594
c8d3a25c 55952012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5596
5597 * progmodes/which-func.el (which-func-format):
5598 Add mouse-face. (Bug#11698)
5599
c8d3a25c
GM
56002012-06-29 Leo Liu <sdl.web@gmail.com>
5601
5602 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5603
56042012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5605
5606 * minibuffer.el (minibuffer-confirm-exit-commands):
5607 Add completion-at-point (bug#11725).
5608
56092012-06-29 Glenn Morris <rgm@gnu.org>
5610
5611 * progmodes/f90.el (f90-font-lock-keywords-2):
5612 Add some preprocessor elements. (Bug#10499)
5613
56142012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5617 Use syntax-propertize (bug#11739).
5618
2badeec4
JB
56192012-06-28 Juanma Barranquero <lekktu@gmail.com>
5620
5621 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5622
ae4969c2
JD
56232012-06-28 Julien Danjou <julien@danjou.info>
5624
5625 * term.el (term-handle-colors-array): Use a set of new faces to
5626 color the terminal. Also uses :inverse-video property.
5627 (term-default-fg-color): Set to nil by default, deprecate in favor
5628 of `term-face'.
5629 (term-default-bg-color): Set to nil by default, deprecate in favor
5630 of `term-face'.
5631 (term-current-face): Use `term-face' by default.
5632 (term-bold-attribute): Variable deleted.
5633
1c9bd870
GM
56342012-06-28 Glenn Morris <rgm@gnu.org>
5635
5636 * simple.el (completion-list-mode-finish):
5637 Don't use toggle-read-only. (Since completion-list-mode has
5638 a special mode-class, it wasn't doing anything extra anyway.)
5639
c207708c
SM
56402012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 Make inlining of other-mode interpreted functions work (bug#11799).
5643 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5644 (byte-compile): Use it to fix compilation of lexical-binding closures.
5645 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5646 function, if needed.
5647
3fd56834
SM
56482012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5649
04901786
SM
5650 * help-mode.el (help-make-xrefs): Don't just withstand
5651 cyclic-variable-indirection but any error in documentation-property.
5652
1ec4b7b2
SM
5653 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5654 memory use.
5655 * bindings.el (bindings--define-key): New function.
5656 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5657 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5658 * bindings.el: Use it to purecopy define-key bindings.
5659
e309e2a5
SM
5660 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5661
d5c6faf9
SM
5662 * emacs-lisp/cl.el (flet): Mark obsolete.
5663 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5664 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5665 * progmodes/js.el (js-c-fill-paragraph):
5666 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5667 (ebrowse-switch-member-buffer-to-derived-class):
5668 * play/5x5.el (5x5-solver): Use cl-flet.
5669
6e9590e2
SM
5670 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5671 (cl--symbol-function): New macro.
5672 (cl--letf, cl--letf*): Use it.
5673
3fd56834
SM
5674 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5675 Strip "toggle-" if any.
5676
35ff222c
GM
56772012-06-27 Glenn Morris <rgm@gnu.org>
5678
1ba6038a
GM
5679 * info.el (Info-default-directory-list): Move here from paths.el.
5680 * paths.el: Remove file, which is now empty.
5681 * loadup.el: No longer load "paths".
5682
0ea0e51b
GM
5683 * custom.el (custom-initialize-delay): Doc fix.
5684
35ff222c
GM
5685 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5686 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5687 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5688 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5689 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5690 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5691 * eshell/eshell.el (eshell-defgroup): Remove alias.
5692
c89926a5
CY
56932012-06-27 Chong Yidong <cyd@gnu.org>
5694
5695 * help.el (help-enable-auto-load): New variable.
5696
5697 * help-fns.el (help-fns--autoloaded-p): New function.
5698 (describe-function-1): Refer to a function as "autoloaded" if it
5699 was autoloaded at any time in the past. Perform autoloading if
5700 help-enable-auto-load is non-nil.
5701
cc06e7e7
EZ
57022012-06-26 Eli Zaretskii <eliz@gnu.org>
5703
5704 * makefile.w32-in (compile, compile-always): Depend on
5705 update-subdirs, not on subdirs.el. Otherwise, several different
5706 sub-targets of 'bootstrap' running in parallel could
5707 simultaneously write to subdirs.el, producing a garbled file.
5708
d2c32364
SS
57092012-06-26 Sam Steingold <sds@gnu.org>
5710
5711 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5712 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5713 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5714 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5715 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5716 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5717 * textmodes/tex-mode.el: Use it.
5718 Did not touch cedet and org because they are maintained elsewhere.
5719
5cf983b2
MR
57202012-06-26 Martin Rudalics <rudalics@gmx.at>
5721
5722 * calendar/calendar.el (calendar-exit): Don't try to delete or
5723 iconify last frame. See:
5724 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5725
8c4f2952
JD
57262012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5727
5728 * server.el (server-process-filter): Remember dir in the
5729 process's `server-client-directory' properties.
5730
772b2e2c
CY
57312012-06-24 Chong Yidong <cyd@gnu.org>
5732
5733 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5734 non-tag text.
5735
711b11e1
JB
57362012-06-23 Juanma Barranquero <lekktu@gmail.com>
5737
5738 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5739
dc5d230c
SM
57402012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5741
5742 * help-fns.el (describe-variable): Don't croak when doc is not found.
5743 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5744 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5745 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5746 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5747 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5748 ((lambda ..) ..).
5749 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5750
136e1c1d
CY
57512012-06-23 Chong Yidong <cyd@gnu.org>
5752
e8c1cabf
CY
5753 * info.el (Info-mouse-follow-link): Accept symbol values of
5754 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5755 (Info-fontify-node): Use Info-link-keymap for all navigation
5756 buttons, with link-args property to perform the desired action.
5757 (Info-link-keymap): Doc fix.
5758 (Info-next-link-keymap, Info-prev-link-keymap)
5759 (Info-up-link-keymap): Delete now-unused keymaps.
5760
0e9e6c6a
CY
57612012-06-23 Chong Yidong <cyd@gnu.org>
5762
05e89fea
CY
5763 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5764
0e9e6c6a
CY
5765 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5766 system abbrevs.
5767
5768 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5769
e33c6771
SM
57702012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5771
b68581e2
SM
5772 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5773 (bug#11719).
5774
e33c6771
SM
5775 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5776 the requote function doesn't work properly (bug#11714).
5777
7117e105
GM
57782012-06-23 Glenn Morris <rgm@gnu.org>
5779
5780 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5781
36cec983
SM
57822012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 Further GV/CL cleanups.
5785 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5786 gv-expander.
5787 (gv--defun-declaration): New function.
5788 (defun-declarations-alist): Use it.
5789 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5790 (gv-place): Autoload.
5791 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5792 original definition of dotimes and dolist.
5793 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5794 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5795 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5796 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5797 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5798 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5799 to the function's definition.
5800 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5801 * window.el:
5802 * files.el:
5803 * faces.el:
5804 * env.el: Don't use CL.
5805
d35af63c
PE
58062012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5807
5808 Support higher-resolution time stamps (Bug#9000).
5809
5810 * calendar/time-date.el (with-decoded-time-value): New arg
5811 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5812 (encode-time-value): New optional arg PICO. New type 3.
5813 (time-to-seconds) [!float-time]: Support the new picoseconds
5814 component if it's used.
5815 (seconds-to-time, time-subtract, time-add):
5816 Support ps-resolution time stamps as well.
5817
5818 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5819 (timerp): Timer vectors now have length 9, not 8.
5820 (timer--time): Support new-style (4-part) time stamps.
5821 (timer-next-integral-multiple-of-time): Time stamps now have
5822 picosecond resolution, so take a bit more care about rounding.
5823 (timer-relative-time, timer-inc-time): New optional arg psecs.
5824 (timer-set-time-with-usecs): Set psecs to 0.
5825 (timer--activate): Check psecs component, too.
5826
5827 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5828
ac77b21a
SM
58292012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5830
f143bfe3
SM
5831 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5832 Move the non-essential binding to the post/pre-command-hook where it is
5833 more obviously correct.
5834
ac77b21a
SM
5835 * subr.el (read-passwd): Don't use a history at all.
5836 * savehist.el (savehist-save): Remove password saved accidentally
5837 because of the above bug.
5838
76386c5a
BG
58392012-06-22 Bastien Guerry <bzg@gnu.org>
5840
5841 * files.el (toggle-read-only): Display a message telling whether
5842 the buffer is read-only or not (bug#11726).
5843
2ee3d7f0
SM
58442012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * emacs-lisp/gv.el: New file.
5847 * subr.el (push, pop): Extend to generalized variables.
5848 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5849 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5850 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5851 gv-define-simple-setter, and gv-define-expander.
5852 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5853 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5854 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5855 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5856 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5857 gv-letplace.
5858 (cl-defstruct): Don't define setf-method any more.
5859 * emacs-lisp/cl.el (flet): Don't autoload.
5860 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5861 (define-setf-expander, defsetf, define-modify-macro)
5862 (cl-struct-setf-expander): Move from cl-lib.el.
5863 * emacs-lisp/syntax.el:
5864 * emacs-lisp/ewoc.el:
5865 * emacs-lisp/smie.el:
5866 * emacs-lisp/cconv.el:
5867 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5868 (timer--time): Use gv-define-simple-setter.
5869 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5870 to avoid coding-system problems in subr.el. Adjust all users.
5871 (macroexp--maxsize, macroexp-small-p): New functions.
5872 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5873 * scroll-bar.el (scroll-bar-mode):
5874 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5875 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5876 * winner.el (winner-configuration, winner-make-point-alist)
5877 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5878 * files.el (locate-file-completion-table): Avoid list*.
5879
c5695d1d
CY
58802012-06-22 Chong Yidong <cyd@gnu.org>
5881
5882 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5883 (dired-create-files): Doc fix (Bug#11329).
5884 (dired-do-copy): Doc fix (Bug#11334).
5885 (dired-mark-read-string): Doc fix (Bug#11553).
5886
2ee3d7f0
SM
5887 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5888 Doc fix (Bug#11326).
c5695d1d
CY
5889 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5890 (dired-dwim-target): Doc fix.
5891
5892 * wdired.el (wdired-mode): Doc fix.
5893
89b5595a
GM
58942012-06-22 Glenn Morris <rgm@gnu.org>
5895
575db3f1
GM
5896 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5897 (pcmpl-rpm-cache-stamp-file): New constant.
5898 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5899 (pcmpl-rpm-packages): Optionally cache list of packages.
5900
a4c8dd51
GM
5901 * pcmpl-rpm.el (pcmpl-rpm): New group.
5902 (pcmpl-rpm-query-options): New option.
5903 (pcmpl-rpm-packages): No need to inline it.
5904 Use pcmpl-rpm-query-options.
5905
89b5595a
GM
5906 * calendar/calendar.el (calendar-in-read-only-buffer):
5907 Avoid some needless mode changes.
5908
e76f0800
CY
59092012-06-21 Chong Yidong <cyd@gnu.org>
5910
5911 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5912 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5913 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5914
297a8f1d
CY
59152012-06-20 Chong Yidong <cyd@gnu.org>
5916
5917 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5918
d34c18b1
DR
59192012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5920
5921 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5922 (bug#11201).
5923
32f7f28e
CY
59242012-06-20 Chong Yidong <cyd@gnu.org>
5925
5926 * term.el (term-window-width): Handle the case of a missing right
5927 fringe (Bug#8837).
5928 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5929 (term-mode): Use define-derived-mode. Minor cleanups.
5930 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5931 (term-move-columns, term-insert-char, term-emulate-terminal)
5932 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5933
493c6688
MA
59342012-06-20 Michael Albinus <michael.albinus@gmx.de>
5935
d34c18b1
DR
5936 * net/ange-ftp.el (ange-ftp-get-passwd):
5937 Bind `enable-recursive-minibuffers'.
493c6688
MA
5938 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5939
3f06ecf4
DR
59402012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5941
5942 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5943
68f12411
GM
59442012-06-19 Glenn Morris <rgm@gnu.org>
5945
5946 * progmodes/python.el (python-mode): Derive from prog-mode.
5947
b3820318
KG
59482012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5949
5950 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5951 (edt-user-menu-bar-update-buffers): New functions.
5952 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5953
c6bf3022
CY
59542012-06-19 Chong Yidong <cyd@gnu.org>
5955
5956 * subr.el (with-selected-window): Preserve the selected window's
5957 terminal's top-frame (Bug#4702).
5958
5959 * window.el (save-selected-window): Likewise.
5960
25f09295
SM
59612012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5962
5963 * progmodes/python.el (python-rx-constituents): Move backquote.
5964 (python-skeleton-define, python-define-auxiliary-skeleton):
5965 Use `declare'.
5966
6b11952a
MA
59672012-06-18 Michael Albinus <michael.albinus@gmx.de>
5968
5969 * minibuffer.el (read-file-name-default): Revert the patch from
5970 2012-06-17.
5971
ee4b1330
SM
59722012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5973
5974 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5975 (pcase--u1, pcase--q1): Don't use apply-partially.
5976
35647f79
GM
59772012-06-18 Glenn Morris <rgm@gnu.org>
5978
5979 * progmodes/python.el (python-proc, python-buffer)
5980 (python-send-receive, python-send-string): Fix obsolete versions.
5981
24b0cff0
MR
59822012-06-18 Martin Rudalics <rudalics@gmx.at>
5983
5984 * window.el (special-display-p): Completely remove stringp
5985 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5986
29855149
MA
59872012-06-17 Michael Albinus <michael.albinus@gmx.de>
5988
5989 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5990
5991 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5992
5993 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5994 * net/tramp-sh.el (tramp-maybe-open-connection):
5995 Throw if `non-essential' is non-nil.
5996
07463363
MR
59972012-06-17 Martin Rudalics <rudalics@gmx.at>
5998
5999 * window.el (special-display-p): Signal an error if BUFFER-NAME
6000 is not a string (Bug#11713).
6001
48d1354e
PE
60022012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6003
6004 * progmodes/python.el (python-info-beginning-of-backslash):
6005 Rename from python-info-beginning-of-backlash, as a spelling fix.
6006
eb4a8a9a
CY
60072012-06-17 Chong Yidong <cyd@gnu.org>
6008
6009 * term.el (term-emulate-terminal): If term-check-size is called,
6010 move point to the process mark without resetting point (Bug#4635).
6011
ddfbf826 60122012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6013
6014 * international/mule-cmds.el (mule-menu-keymap)
6015 (set-language-environment, set-locale-environment): Doc tweaks.
6016
9b0e3eba
AA
60172012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6018
6019 * cus-face.el (custom-face-attributes): Add wave-style underline
6020 attribute.
6021 * faces.el (set-face-attribute): Update docstring to describe
6022 wave-style underline attribute.
6023
771e3eae
CY
60242012-06-16 Chong Yidong <cyd@gnu.org>
6025
6026 * term/xterm.el (terminal-init-xterm): Discard input before
6027 querying background mode (Bug#10959).
6028
7ae2ea10
SM
60292012-06-16 Stefan Merten <smerten@oekonux.de>
6030
6031 * textmodes/rst.el: Added and corrected some comments.
6032 (rst-re-alist-def): Improve symbol syntax.
6033 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6034 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6035 (rst-official-version, rst-official-cvs-rev): Update version
6036 information.
7ae2ea10 6037
b6974efa
JB
60382012-06-15 Juanma Barranquero <lekktu@gmail.com>
6039
6040 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6041 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6042
8826d473
GM
60432012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6044
6045 * progmodes/python.el: New python.el merge.
6046 (python-guess-indent): Obsolete var.
6047 (python-indent-guess-indent-offset): New defcustom.
6048 (python-indent): Obsolete var.
6049 (python-indent-offset): New defcustom.
6050 (python-python-command, python-jython-command): Delete var.
6051 (python-shell-interpreter): New defcustom.
6052 (python-pdbtrack-do-tracking-p): Delete var.
6053 (python-pdbtrack-activate): New defcustom.
6054 (python-use-skeletons): Obsolete var.
6055 (python-skeleton-autoinsert): New defcustom.
6056 (inferior-python-filter-regexp, python-continuation-offset)
6057 (python-honour-comment-indentation, python-indent-string-contents)
6058 (python-jython-packages, python-mode-hook)
6059 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6060 (python-shell-prompt-alist)
6061 (python-source-modes): Delete defcustoms.
6062 (python-check-buffer-name, python-eldoc-setup-code)
6063 (python-eldoc-string-code, python-ffap-setup-code)
6064 (python-ffap-string-code, python-fill-comment-function)
6065 (python-fill-decorator-function, python-fill-paren-function)
6066 (python-fill-string-function, python-imenu-include-defun-type)
6067 (python-imenu-make-tree, python-imenu-subtree-root-label)
6068 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6069 (python-shell-compilation-regexp-alist)
6070 (python-shell-completion-module-string-code)
6071 (python-shell-completion-pdb-string-code)
6072 (python-shell-completion-setup-code)
6073 (python-shell-completion-string-code)
6074 (python-shell-enable-font-lock, python-shell-exec-path)
6075 (python-shell-extra-pythonpaths)
6076 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6077 (python-shell-process-environment)
6078 (python-shell-prompt-block-regexp)
6079 (python-shell-prompt-output-regexp)
6080 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6081 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6082 (python-shell-virtualenv-path): New defcustoms.
6083 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6084 (inferior-python-mode-syntax-table, python--prompt-regexp)
6085 (python-buffer, python-command python-python-command)
6086 (python-default-template, python-imports, python-indent-index)
6087 (python-indent-list, python-indent-list-length)
6088 (python-mode-running, python-pdbtrack-is-tracking-p)
6089 (python-preoutput-continuation, python-preoutput-leftover)
6090 (python-preoutput-result, python-preoutput-skip-next-prompt)
6091 (python-prev-dir/file, python-recursing)
6092 (python-saved-check-command, python-version-checked)
6093 (python-which-func-length-limit)
6094 (view-return-to-alist): Delete vars.
6095 (python-check-custom-command, python-dotty-syntax-table)
6096 (python-imenu-index-alist, python-indent-current-level)
6097 (python-indent-dedenters, python-indent-levels)
6098 (python-nav-beginning-of-defun-regexp)
6099 (python-nav-list-defun-positions-cache)
6100 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6101 (python-shell-internal-buffer)
6102 (python-skeleton-available): New vars.
6103 (def-python-skeleton): Delete macro.
6104 (python-skeleton-define): New macro.
6105 (python-define-auxiliary-skeleton, python-rx): New macros.
6106 (python-insert-class): Delete command.
6107 (python-skeleton-class): New command.
6108 (python-insert-def): Delete command.
6109 (python-skeleton-def): New command.
6110 (python-insert-for): Delete command.
6111 (python-skeleton-for): New command.
6112 (python-insert-if): Delete command.
6113 (python-skeleton-if): New command.
6114 (python-insert-try/except, python-insert-try/finally): Delete commands.
6115 (python-skeleton-try): New command.
6116 (python-insert-while): Delete command.
6117 (python-skeleton-while): New command.
6118 (python-backspace): Delete command.
6119 (python-indent-dedent-line-backspace): New command.
6120 (python-electric-colon): Delete command.
6121 (python-indent-electric-colon): New command.
6122 (python-guess-indent): Delete command.
6123 (python-indent-guess-indent-offset): New command.
6124 (python-shift-left): Delete command.
6125 (python-indent-shift-left): New command.
6126 (python-shift-right): Delete command.
6127 (python-indent-shift-right): New command.
6128 (python-find-function): Delete command.
6129 (python-nav-jump-to-defun): New command.
6130 (python-next-statement): Delete command.
6131 (python-nav-forward-sentence): New command.
6132 (python-previous-statement): Delete command.
6133 (python-nav-backward-sentence): New command.
6134 (python-fill-paragraph): Delete command.
6135 (python-fill-paragraph-function): New command.
6136 (python-send-buffer): Delete command.
6137 (python-shell-send-buffer): New command.
6138 (python-send-defun): Delete command.
6139 (python-shell-send-defun): New command.
6140 (python-send-region, python-send-region-and-go): Delete commands.
6141 (python-shell-send-region)
6142 (python-shell-switch-to-shell): New commands.
6143 (python-send-string): Delete command.
6144 (python-shell-send-string): New command.
6145 (python-switch-to-python): Delete command.
6146 (python-shell-switch-to-shell): New command.
6147 (python-describe-symbol): Delete command.
6148 (python-eldoc-at-point): New command.
6149 (python--set-prompt-regexp, python-args-to-list)
6150 (python-after-info-look, python-check-version)
6151 (python-check-comint-prompt, python-find-imports)
6152 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6153 (python-unload-function, python-expand-template)
6154 (python-maybe-jython, python-preoutput-filter)
6155 (python-pdbtrack-get-source-buffer)
6156 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6157 (python-pdbtrack-toggle-stack-tracking)
6158 (python-pdbtrack-track-stack-file, python-initial-text)
6159 (python-first-word, python-comment-line-p, python-send-command)
6160 (python-setup-brm, python-sentinel, python-set-proc)
6161 (python-skip-out, python-input-filter, python-outdent-p)
6162 (python-outline-level, python-backslash-continuation-line-p)
6163 (python-end-of-block, python-end-of-statement, python-mark-block)
6164 (python-beginning-of-block, python-beginning-of-statement)
6165 (python-blank-line-p, python-beginning-of-string)
6166 (python-open-block-statement-p): Delete functions.
6167 (python-indent-line, python-indent-line-1): Delete functions.
6168 (python-indent-line): New function.
6169 (python-indentation-levels): Delete function.
6170 (python-indent-calculate-levels): New function.
6171 (python-proc): Delete function.
6172 (python-shell-get-process): New function.
6173 (python-send-receive): Delete function.
6174 (python-shell-send-string-no-output): New function.
6175 (python-module-path): Delete function.
6176 (python-ffap-module-path): New function.
6177 (python-completion-at-point)
6178 (python-symbol-completions): Delete functions.
6179 (python-completion-complete-at-point): New function.
6180 (python-load-file): Delete function.
6181 (python-shell-send-file): New function.
6182 (python-calculate-indentation): Delete function.
6183 (python-indent-calculate-indentation): New function.
6184 (python-skip-comments/blanks): Delete function.
6185 (python-util-forward-comment): New function.
6186 (python-continuation-line-p): Delete function.
6187 (python-info-continuation-line-p): New function.
6188 (python-which-func, python-current-defun): Delete function.
6189 (python-info-current-defun): New function.
6190 (python-beginning-of-defun): Delete function.
6191 (python-nav-beginning-of-defun): New function.
6192 (python-close-block-statement-p)
6193 (python-block-end-p): Delete function.
6194 (python-info-closing-block): New function.
6195 (python-comint-output-filter-function)
6196 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6197 (python-fill-comment, python-fill-decorator, python-fill-paren)
6198 (python-fill-string, python-imenu-make-element-tree)
6199 (python-imenu-make-tree, python-imenu-tree-assoc)
6200 (python-indent-context, python-indent-dedent-line)
6201 (python-indent-line-function)
6202 (python-indent-post-self-insert-function)
6203 (python-indent-toggle-levels)
6204 (python-info-assignment-continuation-line-p)
6205 (python-info-beginning-of-backlash)
6206 (python-info-block-continuation-line-p)
6207 (python-info-closing-block-message)
6208 (python-info-line-ends-backslash-p)
6209 (python-info-looking-at-beginning-of-defun)
6210 (python-info-ppss-context, python-info-ppss-context-type)
6211 (python-nav-list-defun-positions, python-nav-read-defun)
6212 (python-nav-sentence-end, python-nav-sentence-start)
6213 (python-pdbtrack-comint-output-filter-function)
6214 (python-pdbtrack-set-tracked-buffer)
6215 (python-shell-calculate-exec-path)
6216 (python-shell-calculate-process-environment)
6217 (python-shell-completion--do-completion-at-point)
6218 (python-shell-completion--get-completions)
6219 (python-shell-completion-complete-at-point)
6220 (python-shell-completion-complete-or-indent)
6221 (python-shell-get-or-create-process)
6222 (python-shell-get-process-name)
6223 (python-shell-internal-get-or-create-process)
6224 (python-shell-internal-get-process-name)
6225 (python-shell-internal-send-string, python-shell-make-comint)
6226 (python-shell-parse-command, python-shell-send-setup-code)
6227 (python-skeleton-add-menu-items)
6228 (python-util-clone-local-variables, python-util-position)
6229 (run-python-internal, python-indentation-levels)
6230 (python-nav-beginning-of-defun)
6231 (python-completion-complete-at-point): New functions.
6232 (run-python): Change arguments. New API requirements.
6233
4302f5ba
SM
62342012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6235
f38ea36d
SM
6236 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6237 (bug#11649).
6238
6239 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6240 (macroexp--expand-all): Use it.
6241
4302f5ba
SM
6242 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6243 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6244 Use `cl-function' instead.
6245
33377562
JB
62462012-06-14 Juanma Barranquero <lekktu@gmail.com>
6247
6248 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6249 Suggested by Stefan Monnier while discussing bug#11657.
6250
54c5ba1a
SS
62512012-06-14 Sam Steingold <sds@gnu.org>
6252
6253 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6254
f9f1b1fe
AS
62552012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6256
6257 * play/doctor.el (doctor-doc): Remove parameter and use
6258 doctor-sent instead of sent.
6259 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6260
a81068ba
SM
62612012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6262
5a315f9c
SM
6263 * files.el: Require cl-lib.
6264 (file-name-non-special): Replace case -> cl-case.
6265
6266 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6267
a81068ba
SM
6268 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6269 mapping from #' to function*.
6270
8cca9703
CY
62712012-06-13 Chong Yidong <cyd@gnu.org>
6272
6273 * mouse.el (mouse-drag-track): Do not set the mark if the user
6274 releases the mouse without selecting anything (Bug#11588).
6275
a12ac9d7
SM
62762012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6277
ccf1dc18
SM
6278 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6279 as well (bug#11646).
6280
ef62b23d
SM
6281 * loadup.el: Count byte-code functions as well.
6282
c4c8444a
SM
6283 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6284 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6285
a12ac9d7
SM
6286 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6287 (bug#11649). Add cl-defun and cl-defmacro.
6288
87e6e64f
DA
62892012-06-13 Drew Adams <drew.adams@oracle.com>
6290
6291 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6292 Fix last change.
6293
682cefaf
MA
62942012-06-13 Michael Albinus <michael.albinus@gmx.de>
6295
6296 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6297 Otherwise, it blocks in batch mode.
6298
773e1f08
JB
62992012-06-13 Juanma Barranquero <lekktu@gmail.com>
6300
6301 * help-mode.el (bookmark-make-record-default): Declare.
6302
60057926
CY
63032012-06-13 Chong Yidong <cyd@gnu.org>
6304
6305 * emacs-lisp/package.el (list-packages): Compute a list of
6306 packages that are newly-available since the last list-packages
6307 invocation.
6308 (package-menu--new-package-list): New var.
6309 (package-menu--generate, package-menu--print-info)
6310 (package-menu--status-predicate, package-menu-mark-install):
6311 Handle new status label "new".
6312
ad4d226c
SM
63132012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6314
6315 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6316 conversion to backquotes.
6317
f1a4e679
CY
63182012-06-12 Chong Yidong <cyd@gnu.org>
6319
6320 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6321 Rename from gud-inhibit-global-bindings.
6322
6323 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6324
6325 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6326 hook from nxml-glyph-set-hook.
6327
6328 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6329 declaration.
6330
6331 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6332
6333 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6334 Convert to defcustom.
6335
0c9e42b5
DA
63362012-06-12 Drew Adams <drew.adams@oracle.com>
6337
6338 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6339 New functions.
6340 (help-mode): Use them.
6341
09e06855
GM
63422012-06-11 Glenn Morris <rgm@gnu.org>
6343
6344 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6345 Use preprocessor face for directives.
6346 (fortran-directive-re): Doc fix.
6347
71adb94b
SM
63482012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6349
2eb87922
SM
6350 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6351 conversion to backquotes (bug#11652).
6352
71adb94b
SM
6353 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6354 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6355 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6356 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6357 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6358 (cl-ninth, cl-tenth): Mark them as inlinable.
6359 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6360 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6361 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6362 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6363 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6364 (cl-list*, cl-adjoin): Don't put an autoload manually.
6365 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6366 (cl--compiler-macro-list*): Add autoload cookie.
6367 (cl--compiler-macro-cXXr): New function.
2eb87922 6368
71adb94b
SM
6369 * help-fns.el (help-fns--compiler-macro): New function extracted from
6370 describe-function-1; follow aliases and use `compiler-macro' property.
6371 (describe-function-1): Use it.
6372
a6674402
CY
63732012-06-11 Chong Yidong <cyd@gnu.org>
6374
6375 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6376 is uninstalled, if imagemagick is installed.
6377
bb3faf5b
SM
63782012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6379
6380 * emacs-lisp/cl-lib.el: Use lexical-binding.
6381 (cl-map-extents, cl-maclisp-member): Remove.
6382 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6383 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6384 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6385 * emacs-lisp/cl-extra.el: Use lexical-binding.
6386 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6387 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6388 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6389 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6390 * emacs-lisp/cl-seq.el: Use lexical-binding.
6391 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6392 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6393 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6394 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6395 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6396 CL's internals.
6397
2fe4b125
MA
63982012-06-11 Michael Albinus <michael.albinus@gmx.de>
6399
6400 Sync with Tramp 2.2.6-pre.
6401
6402 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6403 `print-length' and `print-level' to nil, in order to avoid
6404 truncation. Reported by Christopher Schmidt
6405 <christopher@ristopher.com>.
6406
6407 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6408
6409 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6410 New defmacro.
6411 (tramp-compat-copy-directory): Add optional argument
6412 COPY-CONTENTS. It is not handled yet.
6413
6414 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6415 (tramp-ftp-file-name-p): Simplify.
6416
6417 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6418 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6419 connection vector.
6420
6421 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6422 (tramp-methods): Do not use `tramp-password-end-of-line'.
6423 (tramp-completion-function-alist-putty): Handle UNIX case.
6424 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6425 (tramp-do-file-attributes-with-stat)
6426 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6427 gid as real numbers. They could run out of integer range on cygwin.
6428 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6429 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
6430 (tramp-open-connection-setup-interactive-shell):
6431 Use `tramp-cleanup'. Move check for busyboxes ...
6432 (tramp-find-shell): ... here. Simplify implementation.
6433 Set "remote-shell" property also for alternative shells.
6434 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6435 If failing, a regular file would be written otherwise.
6436 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
6437 (tramp-find-inline-encoding): Cache the coding commands in the
6438 process cache. Apply test command on the remote side, if defined.
6439 (tramp-find-inline-compress): Cache the compress commands in the
6440 process cache.
6441 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6442 when requested. Handle hops.
6443 (tramp-current-connection): New defvar.
87e6e64f
DA
6444 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6445 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6446 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6447 (tramp-get-inline-compress, tramp-get-inline-coding):
6448 Read connection properties from the process cache.
2fe4b125
MA
6449
6450 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6451 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6452 New defconsts.
2fe4b125
MA
6453 (tramp-smb-prompt): Extend for powershell prompt.
6454 (tramp-smb-file-name-handler-alist): Add handlers for
6455 `process-file', `shell-command' and `start-file-process'.
6456 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6457 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6458 (tramp-smb-file-name-p): Simplify.
6459 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6460 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6461 (tramp-smb-shell-quote-argument): New defuns.
6462 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6463 Implement using "tar". By this, time-stamps are preserved.
6464 (tramp-smb-handle-copy-file): Handle also the case of directories.
6465 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6466 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6467 Use `tramp-get-connection-buffer').
2fe4b125
MA
6468 (tramp-smb-handle-rename-file): Use "rename", when source and
6469 target are on the same share.
87e6e64f
DA
6470 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6471 Use `tramp-smb-server-version'.
2fe4b125
MA
6472 (tramp-smb-wait-for-output): Remove prompt.
6473
6474 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6475 (tramp-methods, tramp-rsh-end-of-line):
6476 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6477 (tramp-save-ad-hoc-proxies): New defcustom.
6478 (tramp-completion-function-alist): Adapt docstring.
6479 (tramp-default-password-end-of-line): Remove defcustom.
6480 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6481 (tramp-user-regexp, tramp-file-name-regexp-unified)
6482 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6483 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6484 (tramp-remote-file-name-spec-regexp): New defconst.
6485 (tramp-file-name-structure): Extend structure for hops.
6486 (tramp-get-method-parameter): Move up.
6487 (tramp-file-name-p, tramp-dissect-file-name)
6488 (with-parsed-tramp-file-name): Handle hops.
6489 (tramp-file-name-hop): New defun.
6490 (tramp-make-tramp-file-name): New optional arg HOP.
6491 (tramp-message-show-progress-reporter-message): New defvar.
6492 (tramp-with-progress-reporter): Use it. We cannot use
6493 `tramp-message-show-message' here, because this suppresses also
6494 error buffers.
6495 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6496 `tramp-message-show-message' is nil.
6497 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6498 (tramp-cleanup): New defun.
6499 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6500 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6501 an error unchanged.
6502 (tramp-completion-handle-file-name-all-completions): Handle hops.
6503 Fix an error when called from ido.
6504 (tramp-completion-dissect-file-name): Use better local variable
6505 name. Add hop to the vector.
6506 (tramp-handle-insert-file-contents): Use progress-reporter for the
6507 whole scenario.
6508 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6509 to `t'.
6510 (tramp-check-for-regexp): Simplify search.
6511 (tramp-enter-password): Remove it. Move implementation ...
6512 (tramp-action-password): ... here.
6513 (tramp-mode-string-to-int, tramp-local-host-p)
6514 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6515 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6516 Set tramp-autoload cookie.
2fe4b125
MA
6517
6518 * net/trampver.el: Update release number.
6519
65202012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6521 Michael Albinus <michael.albinus@gmx.de>
6522
6523 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6524 (tramp-parse-group, tramp-parse-file)
6525 (tramp-parse-shostkeys-sknownhosts): New defuns.
6526 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6527 (tramp-parse-shosts-group, tramp-parse-sconfig)
6528 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6529 (tramp-parse-sknownhosts, tramp-parse-hosts)
6530 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6531 Use them.
6532 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6533 (tramp-parse-putty-group): Don't narrow.
6534 (tramp-parse-putty): Make a loop.
6535 (tramp-file-name-handler): Catch the `suppress' signal.
6536
72834e10
CY
65372012-06-11 Chong Yidong <cyd@gnu.org>
6538
6539 * image.el (imagemagick-register-types): Put the ImageMagick entry
6540 at the end of image-type-file-name-regexps.
6541
a4712e11
JB
65422012-06-11 Johan Bockgård <bojohan@gnu.org>
6543
6544 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6545 (pcase, pcase-let*, pcase-dolist): Use them.
6546
82ad98e3
SM
65472012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6548
6549 * emacs-lisp/pcase.el (pcase--let*): New function.
6550 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6551 (pcase--expand): Use macroexp-let².
6552
f80efb86
SM
65532012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6554
6555 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6556 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6557 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6558 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6559 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6560 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6561
31ca4639 65622012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6563
31ca4639
CY
6564 * mail/rmail.el (rmail-yank-current-message): Leave point at
6565 correct position. (Bug#11660)
94f0aa34 6566
31ca4639 65672012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6568
31ca4639 6569 * allout-widgets.el: Fix code header.
9e1b8ec4 6570
31ca4639 65712012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6572
f80efb86
SM
6573 * cus-edit.el (customize-changed-options-previous-release):
6574 Bump to 24.1.
31ca4639 6575
642b6d30
AS
65762012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6577
6578 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6579
4f5d2ba1
CY
65802012-06-09 Chong Yidong <cyd@gnu.org>
6581
6582 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6583
e75852fd
MR
65842012-06-09 Martin Rudalics <rudalics@gmx.at>
6585
6586 * window.el (special-display-popup-frame): Don't use
6587 window--display-buffer (Bug#11651).
6588
1e48e282
EZ
65892012-06-09 Eli Zaretskii <eliz@gnu.org>
6590
8a26b487
EZ
6591 Fix parallel builds: make sure loaddefs.el is not being written
6592 while Lisp files are compiled.
6593 (compile): Don't depend on 'mh-autoloads'.
6594 (compile-CMD, compile-SH): Depend on 'autoloads'.
6595 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6596
1e48e282
EZ
6597 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6598
6175e34b
CY
65992012-06-09 Chong Yidong <cyd@gnu.org>
6600
6601 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6602 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6603 Doc fixes (Bug#11225).
6604
d9857e53
SM
66052012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6606
6607 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6608 a function if there's a clear indication that it has a compiler-macro.
6609 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6610 (macro-declarations-alist): Add arglist to declaration functions.
6611 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6612 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6613 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6614 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6615 Also add autoload to find the compiler macro.
6616 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6617 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6618 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6619 (cl--compiler-macro-get): New functions, replacing calls to
6620 cl-define-compiler-macro.
6621 (cl-typep) [compiler-macro]: Use macroexp-let².
6622
f81298f8 66232012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6624
6625 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6626 string properly, fixes Bug#11473.
6627
4b56d0fe
CY
66282012-06-08 Chong Yidong <cyd@gnu.org>
6629
6630 * faces.el (set-face-attribute): Doc fix.
6631 (modify-face): Don't use :bold and :italic.
6632 (error, warning, success): Tweak definitions.
6633
6634 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6635 (custom-modified, custom-set, custom-changed, custom-themed)
6636 (custom-saved, custom-button, custom-button-mouse)
6637 (custom-button-pressed, custom-state, custom-comment-tag)
6638 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6639 (custom-group-subtitle): Use new-style face specs.
6640 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6641 (custom-set-face, custom-changed-face, custom-saved-face)
6642 (custom-button-face, custom-button-pressed-face)
6643 (custom-documentation-face, custom-state-face)
6644 (custom-comment-face, custom-comment-tag-face)
6645 (custom-variable-tag-face, custom-variable-button-face)
6646 (custom-face-tag-face, custom-group-tag-face-1)
6647 (custom-group-tag-face): Remove obsolete face alias.
6648
6649 * epa.el (epa-validity-high, epa-validity-medium)
6650 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6651 (epa-field-name, epa-field-body):
6652 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6653 (font-lock-keyword-face, font-lock-builtin-face)
6654 (font-lock-function-name-face, font-lock-variable-name-face)
6655 (font-lock-type-face, font-lock-constant-face):
6656 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6657 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6658 * speedbar.el (speedbar-button-face, speedbar-file-face)
6659 (speedbar-directory-face, speedbar-tag-face)
6660 (speedbar-selected-face, speedbar-highlight-face)
6661 (speedbar-separator-face):
6662 * whitespace.el (whitespace-newline, whitespace-space)
6663 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6664 (whitespace-line, whitespace-space-before-tab)
6665 (whitespace-space-after-tab, whitespace-indentation)
6666 (whitespace-empty):
6667 * emulation/cua-base.el (cua-global-mark):
6668 * eshell/em-prompt.el (eshell-prompt):
6669 * net/newst-plainview.el (newsticker-new-item-face)
6670 (newsticker-old-item-face, newsticker-immortal-item-face)
6671 (newsticker-obsolete-item-face, newsticker-date-face)
6672 (newsticker-statistics-face, newsticker-default-face):
6673 * net/newst-reader.el (newsticker-feed-face)
6674 (newsticker-extra-face, newsticker-enclosure-face):
6675 * net/newst-treeview.el (newsticker-treeview-face)
6676 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6677 (newsticker-treeview-immortal-face)
6678 (newsticker-treeview-obsolete-face)
6679 (newsticker-treeview-selection-face):
6680 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6681 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6682 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6683 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6684 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6685 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6686 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6687 (mpuz-text):
6688 * progmodes/vera-mode.el (vera-font-lock-number)
6689 (vera-font-lock-function, vera-font-lock-interface):
6690 * textmodes/table.el (table-cell): Use new-style face specs, and
6691 don't use the old :bold and :italic attributes.
6692
6693 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6694 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6695 (ebrowse-member-class, ebrowse-progress): Likewise.
6696 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6697 (ebrowse-file-name-face, ebrowse-default-face)
6698 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6699 (ebrowse-progress-face): Remove obsolete faces.
6700
6701 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6702 Inherit from error and warning faces respectively.
6703
6704 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6705 Likewise.
f80efb86
SM
6706 (flyspell-incorrect-face, flyspell-duplicate-face):
6707 Remove obsolete aliases.
4b56d0fe 6708
03310646
MA
67092012-06-08 Michael Albinus <michael.albinus@gmx.de>
6710
6711 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6712 Avoid infloop.
6713
513749ee
SM
67142012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6715
6716 * startup.el (argv, argi): Make lexically scoped.
6717 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6718 * emacs-lisp/cl-macs.el: Use lexical-binding.
6719 Rename cl-bind-* to cl--bind-*.
6720 * files.el: Don't require `cl' since it doesn't use it.
6721 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6722
595ef4ad
JB
67232012-06-08 Juanma Barranquero <lekktu@gmail.com>
6724
6725 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6726 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6727 instead of calling external sort utility.
6728 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6729
e9f66fcb
EZ
67302012-06-08 Eli Zaretskii <eliz@gnu.org>
6731
6732 * descr-text.el (describe-char): Mention how to insert the
6733 character, if the current input method doesn't support it.
6734 See the discussion in this thread for the details:
6735 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6736
3d10db47
SS
67372012-06-08 Sam Steingold <sds@gnu.org>
6738
6739 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6740 XF86Back to previous-buffer.
6741 (minibuffer-local-map): Bind them to next-history-element and
6742 previous-history-element respectively.
6743 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6744 help-go-back respectively.
6745 * info.el (Info-mode-map): Bind them to Info-history-forward and
6746 Info-history-back respectively.
6747 These are the keys next to Up on the ThinkPad keyboard.
6748
de7e2b36
SM
67492012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6750
6751 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6752 * emacs-lisp/cl-macs.el: Provide itself.
6753 (cl--labels-convert-cache): New var.
6754 (cl--labels-convert): New function.
6755 (cl-flet, cl-labels): New implementation with new semantics, relying on
6756 lexical-binding.
6757 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6758 (cl-closure-vars, cl--function-convert-cache)
6759 (cl--function-convert): Move from cl-macs.el.
6760 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6761 rename by removing the "cl-" prefix.
6762 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6763
6fa6c4ae
SM
67642012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6767 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6768 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6769 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6770 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6771 (cl-hash-table-count): Add old compatibility aliases.
6772
6773 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6774 Use macroexpand-all-environment instead.
6775 (cl--old-macroexpand): New var.
6776 (cl--sm-macroexpand): New function.
6777 (cl-symbol-macrolet): Use it during macro expansion.
6778 (cl--function-convert-cache): New var.
6779 (cl--function-convert): New function, extracted from
6780 cl-macroexpand-all.
6781 (cl-lexical-let): Use it.
6782
6783 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6784 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6785 (cl-member): Remove old alias.
6786
6787 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6788 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6789 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6790 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6791 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6792 (cl-macroexpand-cmacs): Remove var.
6793 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6794 Use macroexpand-all instead.
6795
4dd1c416
SM
67962012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6799 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6800 (macroexp-copyable-p): New functions and macros.
6801 * emacs-lisp/edebug.el (edebug-unwrap):
6802 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6803 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6804 (pcase--let*): Remove.
6805 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6806 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6807 macroexp-const-p instead.
6808 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6809
6810 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6811 instead of "cl-" for internal definitions. Use macroexp-const-p.
6812 (cl-old-bc-file-form): Remove var.
6813 (cl-const-exprs-p): Remove fun.
6814 (cl-labels, cl-macrolet): Use backquote.
6815 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6816 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6817 (cl-define-setf-expander): Rename from cl-define-setf-method.
6818 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6819
6820 * international/mule-cmds.el: Don't require CL.
6821 (view-hello-file): Don't use `letf'.
6822
ed8bd4d7
SM
68232012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6824
7287f2f3
SM
6825 * tmm.el (tmm-prompt): Use string-prefix-p.
6826 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6827 (tmm-add-prompt): Use minibuffer-completion-help.
6828 (tmm-delete-map): Remove.
6829
ed8bd4d7
SM
6830 * subr.el (kbd): Make it its own function.
6831
7b4cdbf4
SM
68322012-06-07 Stefan Merten <smerten@oekonux.de>
6833
6834 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6835 Silence compiler warnings. Fix versions.
ed8bd4d7 6836 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6837 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6838 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6839 (rst-package-emacs-version-alist): Correct Emacs version to
6840 represent major merge with upstream.
ed8bd4d7 6841 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6842
2b48d721
GM
68432012-06-06 Glenn Morris <rgm@gnu.org>
6844
6845 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6846 Only print environment variables if set.
6847
fa779ab0
SM
68482012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6849
6850 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6851 (macroexp--cons): Rename from maybe-cons.
6852 (macroexp--accumulate): Rename from macroexp-accumulate.
6853 (macroexp--all-forms): Rename from macroexpand-all-forms.
6854 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6855 (macroexp--expand-all): Rename from macroexpand-all-1.
6856
628299e0
SS
68572012-06-06 Sam Steingold <sds@gnu.org>
6858
6859 * calendar/calendar.el (calendar-in-read-only-buffer):
6860 Call `special-mode' to enable the standard read-only keybindings.
6861
b7bb5838
SM
68622012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6863
6864 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6865 with "loading" messages (bug#11635).
6866
dfb308ba
MA
68672012-06-06 Michael Albinus <michael.albinus@gmx.de>
6868
6869 * files.el (enable-remote-dir-locals): New option.
6870 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6871
0372ee92
MA
6872 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6873 Ensure, that the temp directory is local.
6874
6875 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6876 `temporary-file-directory'.
6877
eed0bb91
MA
6878 * progmodes/python.el (python-send-region): Ensure, that the
6879 temporary file is created also in the remote case.
6880
7a58f64d
GM
68812012-06-06 Glenn Morris <rgm@gnu.org>
6882
f7dd4e98
GM
6883 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6884 (vc-rcs-update-changelog): Use it.
6885
090bd7cb 6886 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6887
7a58f64d
GM
6888 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6889 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6890 (vc-sccs-diff): Replace use of the external vcdiff script.
6891
daed4003
GM
68922012-06-05 Glenn Morris <rgm@gnu.org>
6893
6894 * ledit.el: Move to obsolete/.
6895
48c455c7
SS
68962012-06-05 Sam Steingold <sds@gnu.org>
6897
ed9265fc 6898 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6899 patch (Bug#11140).
6900
57a7d507
SM
69012012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6902
090bd7cb 6903 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6904
53aacf21
SM
6905 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6906 compiler-macro expansion.
6907
57a7d507
SM
6908 Add native compiler-macro support.
6909 * emacs-lisp/macroexp.el (macroexpand-all-1):
6910 Support compiler-macros directly. Properly follow aliases and apply
6911 the compiler macros more thoroughly.
6912 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6913 macroexpand now properly follows aliases.
6914 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6915 (cl-compiler-macroexpand): Use new prop.
6916 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6917
6918 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6919
51a5f9d8
MR
69202012-06-05 Martin Rudalics <rudalics@gmx.at>
6921
6922 * window.el (get-lru-window, get-mru-window, get-largest-window):
6923 New argument NOT-SELECTED to avoid picking the selected window.
6924 (window--display-buffer-1, window--display-buffer-2): Replace by
6925 new function window--display-buffer
6926 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6927 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6928 Use window--display-buffer.
51a5f9d8
MR
6929 (display-buffer-use-some-window): Remove temporary dedication
6930 hack by calling get-lru-window and get-largest-window with
6931 NOT-SELECTED argument non-nil. Call window--display-buffer.
6932
08f9f738
GM
69332012-06-05 Glenn Morris <rgm@gnu.org>
6934
6935 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6936 Replace external vcdiff script.
6937
e364a2b7
SM
69382012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6939
6940 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6941
041df390
CY
69422012-06-04 Chong Yidong <cyd@gnu.org>
6943
e364a2b7
SM
6944 * image.el (imagemagick-types-inhibit): Revert last change.
6945 Add INFO and M.
47b36b94 6946 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6947
7c1898a7
SM
69482012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * emacs-lisp/cl-lib.el: Rename from cl.el.
6951 * emacs-lisp/cl.el: New compatibility file.
6952 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6953 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6954 to obey the "cl-" prefix.
6955 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6956
0c3461de
GM
69572012-06-03 Glenn Morris <rgm@gnu.org>
6958
1e266c88
GM
6959 * emacs-lisp/authors.el (authors-aliases): Addition.
6960
0c3461de
GM
6961 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6962 Fix :version.
6963
d8a52e15
SM
69642012-06-03 Stefan Merten <smerten@oekonux.de>
6965
6966 * textmodes/rst.el: Add comments.
6967 (rst-transition, rst-adornment): New faces.
6968 (rst-adornment-faces-alist): Make default safe to reevaluate.
6969 Fixes
6970 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6971 Improve customization tags.
6972 (rst-define-level-faces): Clarify meaning.
6973
5205d6f6
CY
69742012-06-03 Chong Yidong <cyd@gnu.org>
6975
6976 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6977 (compilation-mode-line-run, compilation-mode-line-exit):
6978 New faces.
5205d6f6
CY
6979 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6980
757ee657
JD
69812012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6982
7c1898a7
SM
6983 * progmodes/which-func.el (which-func-update-ediff-windows):
6984 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6985
5f2c76c6
CY
69862012-06-03 Chong Yidong <cyd@gnu.org>
6987
6988 * bindings.el: Remove explicit help text from format-mode-line.
6989 It is now supplied by mode-line-default-help-echo.
6990 (mode-line-front-space, mode-line-end-spaces)
6991 (mode-line-misc-info): New variables.
6992 (mode-line-modes, mode-line-position): Move the default value to
6993 the variable definition.
6994 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6995 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6996 (mode-line-modified-help-echo): New functions.
6997 (mode-line-mule-info, mode-line-modified): Use them.
6998 (mode-line-eol-desc, propertized-buffer-identification):
6999 Consistency fixes for help text.
cbe46e5f
CY
7000 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7001 set-buffer-file-coding-system (Bug#289).
7002 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7003
f2d6a3df
SM
70042012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7005
7006 * simple.el (execute-extended-command): Set real-this-command
7007 (bug#11506).
7008
37269466
CY
70092012-06-02 Chong Yidong <cyd@gnu.org>
7010
7011 Remove incorrect uses of "modeline" in comments, docstrings, and
7012 function/variable names (Bug#10329).
7013
7014 * cus-edit.el (mode-line):
7015 * dframe.el (dframe-mouse-hscroll):
7016 * emacs-lisp/re-builder.el:
7017 * emacs-lisp/easy-mmode.el (define-minor-mode):
7018 * frame.el (set-frame-name):
7019 * help.el (lookup-minor-mode-from-indicator):
7020 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7021 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7022 (c-toggle-hungry-state):
7023 * progmodes/antlr-mode.el (antlr-language-alist):
7024 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7025 * progmodes/vhdl-mode.el (vhdl-mode):
7026 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7027 * term/ns-win.el (ns-face-at-pos):
7028 * term/sup-mouse.el (sup-mouse-report):
7029 * textmodes/flyspell.el (flyspell-mode-line-string):
7030 * textmodes/ispell.el (ispell-highlight-face):
7031 * textmodes/reftex-global.el:
7032 * vc/vc-arch.el (vc-arch-mode-line-string):
7033 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7034 * vc/vc-git.el (vc-git-mode-line-string):
7035 * vc/vc-hooks.el (vc-display-status)
7036 (vc-default-mode-line-string):
7037 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7038
7039 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7040
7041 * dired.el (dired-sort-set-mode-line): Rename from
7042 dired-sort-set-modeline. All callers changed.
7043
7044 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7045 eshell-status-in-modeline.
7046
7047 * foldout.el (foldout-mode-line-string): Rename from
7048 foldout-modeline-string. All callers changed.
7049 (foldout-update-mode-line): Rename from foldout-update-modeline.
7050
7051 * subr.el (redraw-modeline): Make into obsolete alias.
7052
7053 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7054 timeclock-modeline-display. Make old name an alias.
7055 (timeclock-update-mode-line): Likewise. All callers changed.
7056 (timeclock-mode-line-display): No need to check before using
7057 add-hook.
7058 (timeclock-relative, timeclock-day-over-hook)
7059 (timeclock-use-elapsed, timeclock-mode-string)
7060 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7061
7062 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7063 crisp-mode-modeline-string.
7064
7065 * play/solitaire.el (solitaire-build-mode-line): Rename from
7066 solitaire-build-modeline. All callers changed.
7067
7068 * play/zone.el (zone-hiding-mode-line): Rename from
7069 zone-hiding-modeline. All callers changed.
7070 (zone): Remove unusued `modeline-hidden-level' property.
7071
7072 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7073 xscheme-modeline-initialize. All callers changed.
7074
7075 * strokes.el (strokes-lighter): Rename from
7076 strokes-modeline-string.
7077
7078 * textmodes/sgml-mode.el (html-face-tag-alist)
7079 (html-tag-face-alist): Use mode-line face instead of obsolete
7080 alias modeline.
7081
42152ee4
SM
70822012-06-02 Stefan Merten <smerten@oekonux.de>
7083
7084 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7085 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7086
95f520b5
CY
70872012-06-02 Chong Yidong <cyd@gnu.org>
7088
7089 * image.el (imagemagick-enabled-types): Rename from
7090 imagemagick-types-enable. Add many more types.
7091 (imagemagick-types-inhibit): Change default to nil.
7092 (imagemagick-filter-types): Caller changed.
7093
4a5f187a
SM
70942012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7095
03fef3e6
SM
7096 * emacs-lisp/cl-macs.el: Use backquotes.
7097 (cl-transform-function-property): Use eval-and-compile rather than
7098 abusing `require'.
7099 (defstruct): Use declare-function instead of with-no-warnings.
7100
4a5f187a
SM
7101 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7102 (byte-compile-output-docform): Re-add the print-circle bindings.
7103 (byte-compile-fix-header): Use #$ just because it's shorter.
7104 (byte-compile-output-file-form): Remove defun/defmacro.
7105
bd56924f
MR
71062012-06-01 Martin Rudalics <rudalics@gmx.at>
7107
7108 * simple.el (choose-completion): Remove now obsolete binding for
7109 owindow.
7110
046e38ce
MA
71112012-06-01 Michael Albinus <michael.albinus@gmx.de>
7112
7113 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7114 in order to avoid "Stack overflow in regexp matcher".
7115
32d72c2f
GM
71162012-05-31 Glenn Morris <rgm@gnu.org>
7117
7118 * image.el: For clarity, call imagemagick-register-types at
7119 top-level, rather than relying on a custom :initialize.
7120 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7121 (imagemagick-filter-types): New function. (Bug#7406)
7122 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7123 If disabling support, remove elements altogether rather
7124 than using an impossible regexp.
7125 (imagemagick-types-inhibit): Give it the default init function.
7126
dd41169b
SM
71272012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7128
4a5f187a
SM
7129 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7130 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7131
efc00ab1 71322012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7133
7134 * desktop.el (desktop-read): Clear previous and next buffers for
7135 all windows and bury *Messages* buffer (bug#11556).
7136
500fcedc
SM
71372012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 Add `declare' for `defun'. Align `defmacro's with it.
7140 * emacs-lisp/easy-mmode.el (define-minor-mode)
7141 (define-globalized-minor-mode): Don't autoload the var definitions.
7142 * emacs-lisp/byte-run.el: Use lexical-binding.
7143 (defun-declarations-alist, macro-declarations-alist): New vars.
7144 (defmacro, defun): Use them.
7145 (make-obsolete, define-obsolete-function-alias)
7146 (make-obsolete-variable, define-obsolete-variable-alias):
7147 Use `declare'.
7148 (macro-declaration-function): Mark obsolete.
7149 * emacs-lisp/autoload.el: Use lexical-binding.
7150 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7151
6e8a1786
AM
71522012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7153
7154 * textmodes/ispell.el (ispell-with-no-warnings):
7155 Define as a macro.
500fcedc
SM
7156 (ispell-kill-ispell, ispell-change-dictionary):
7157 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7158 `interactive-p'.
7159
61b108cc
SM
71602012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7163 (macro-declaration-function): Move var from C code.
7164 (macro-declaration-function): Define function with defalias.
7165 * emacs-lisp/macroexp.el (macroexpand-all-1):
7166 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7167 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7168 defun/defmacro any more.
7169 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7170 Provide fallback for unknown arglist.
7171 (byte-compile-arglist-warn): Change calling convention.
7172 (byte-compile-output-file-form): Move print-vars binding.
7173 (byte-compile-output-docform): Simplify accordingly.
7174 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7175 (byte-compile-defmacro-declaration): Remove.
7176 (byte-compile-file-form-defmumble): Generalize to defalias.
7177 (byte-compile-output-as-comment): Return byte-positions.
7178 Simplify callers accordingly.
7179 (byte-compile-lambda): Use `assert'.
7180 (byte-compile-defun, byte-compile-defmacro): Remove.
7181 (byte-compile-file-form-defalias):
7182 Use byte-compile-file-form-defmumble.
7183 (byte-compile-defalias-warn): Remove.
7184
6d3f7c2f
SM
71852012-05-29 Stefan Merten <smerten@oekonux.de>
7186
7187 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7188 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7189
7190 (rst-mode-abbrev-table): Merge definition.
7191 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7192 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7193
6dbaa1c7
UJ
71942012-05-29 Ulf Jasper <ulf.jasper@web.de>
7195
7196 * calendar/icalendar.el
7197 (icalendar-export-region): Export UID properly.
7198
d209e2fb 71992012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7200 * calendar/icalendar.el (icalendar-import-format):
7201 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7202 (icalendar-import-format-uid): New.
7203 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7204 Export UID.
7205
6876a58d
SM
72062012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7207
7208 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7209 different alternative patterns.
7210 (pcase-codegen): Be more careful to preserve identity.
7211 (pcase--u1): Don't forget to mark vars as used.
7212
7213 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7214 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7215 (byte-compile-from-buffer): ...rather than here.
7216
7217 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7218 functions from byte-compile-function-environment.
7219
46b7967e
TN
72202012-05-29 Troels Nielsen <bn.troels@gmail.com>
7221
7222 * window.el (window-deletable-p): Avoid deleting the root window
7223 of a frame with an active minibuffer.
7224
69d565e2
MR
72252012-05-29 Martin Rudalics <rudalics@gmx.at>
7226
7227 * simple.el (choose-completion): Use quit-window (Bug#11567).
7228
a149fa51
CY
72292012-05-29 Chong Yidong <cyd@gnu.org>
7230
7231 * whitespace.el (whitespace-cleanup): Fix usage of
7232 whitespace-empty-at-bob-regexp (Bug#11492).
7233
2b311310
AH
72342012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7235
7236 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7237 revert (Bug#11488).
7238
b9cb2387
JL
72392012-05-29 Juri Linkov <juri@jurta.org>
7240
7241 * isearch.el (isearch-mode-map): Bind `M-s _' to
7242 `isearch-toggle-symbol'. Bind `M-s c' to
7243 `isearch-toggle-case-fold'.
7244 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7245 (isearch-forward): Add `M-s _' to the docstring.
7246 (isearch-forward-symbol, isearch-toggle-case-fold)
7247 (isearch-symbol-regexp): New functions. (Bug#11381)
7248
d5e61c1c
JL
72492012-05-29 Juri Linkov <juri@jurta.org>
7250
7251 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7252 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7253 a function, call it to get the regexp.
7254 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7255 property `isearch-message-prefix' instead of the string "word ".
7256 (isearch-search-fun-default): For the case of `isearch-word',
7257 return a lambda that calls re-search-forward/re-search-backward
7258 with a regexp returned by `word-search-regexp' or by the function
7259 in `isearch-word'.
7260
8cbd80f7
JL
72612012-05-29 Juri Linkov <juri@jurta.org>
7262
7263 * isearch.el (isearch-search-fun-default): New function.
7264 (isearch-search-fun): Move default part to the new function
7265 `isearch-search-fun-default'.
7266 (isearch-search-fun-function): Set the default value to
7267 `isearch-search-fun-default'. (Bug#11381)
7268
7269 * comint.el (comint-history-isearch-end):
7270 Use `isearch-search-fun-default'.
7271 (comint-history-isearch-search): Use `isearch-search-fun-default'
7272 and remove spacial case for `isearch-word'.
7273 (comint-history-isearch-wrap): Remove spacial case for
7274 `isearch-word'.
7275
7276 * hexl.el (hexl-isearch-search-function):
7277 Use `isearch-search-fun-default'.
7278
7279 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7280 Use `word-search-regexp' for `isearch-word'.
7281
7282 * misearch.el (multi-isearch-search-fun):
7283 Use `isearch-search-fun-default'.
7284
7285 * simple.el (minibuffer-history-isearch-search):
7286 Use `isearch-search-fun-default' and remove spacial case for
7287 `isearch-word'.
7288 (minibuffer-history-isearch-wrap): Remove spacial case for
7289 `isearch-word'.
7290
7291 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7292 Remove spacial case for `isearch-word'.
7293 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7294
85c8c5b6
AM
72952012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7296
7297 Decrease XEmacs incompatibilities.
7298 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7299 Use `string-match'.
7300 (flyspell-delete-region-overlays): Use alternative definition for
7301 XEmacs.
7302 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7303 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7304 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7305 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7306 `define-obsolete-face-alias' under XEmacs, but old method.
7307
7308 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7309 `with-no-warnings' definition or Emacs alias.
7310 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7311 (ispell-word): Do not use `region-p' if XEmacs.
7312
8cab9efc
AM
73132012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7314
7315 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7316 Check for `ispell-dictionary-base-alist' instead of full
7317 `ispell-dictionary-alist'.
7318 (ispell-init-process): Show spellchecker when starting new Ispell
7319 process.
7320
fda91268
RZ
73212012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7324 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7325
694ea8e3
JB
73262012-05-27 Juanma Barranquero <lekktu@gmail.com>
7327
7328 * version.el (motif-version-string, gtk-version-string)
7329 (ns-version-string): Declare.
7330
e4d4f539
JL
73312012-05-27 Juri Linkov <juri@jurta.org>
7332
7333 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7334 after the `eval-defun-1' specialcaseing
7335 like in `edebug-eval-defun' (bug#10181).
7336
7337 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7338 like in `eval-defun-1'.
7339
33017faf 73402012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7341
fda91268
RZ
7342 * mail/sendmail.el (mail-yank-region):
7343 Recognize rmail-yank-current-message in addition to insert-buffer.
7344 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7345 a *mail* buffer created through rmail-start-mail with sendmail as
7346 mail-user-agent.
7347
33017faf
GM
73482012-05-27 Chong Yidong <cyd@gnu.org>
7349
7350 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7351 Default to 256 (Bug#11267).
7352
7353 * help.el (describe-mode): Doc fix.
7354
04188bb9
GM
73552012-05-26 Glenn Morris <rgm@gnu.org>
7356
38264cc9
GM
7357 * w32-fns.el (w32-init-info): Remove.
7358 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7359
eb7afdad
GM
7360 * info.el (info-initialize): For self-contained NS builds, put the
7361 included info/ directory at the front. (Bug#2791)
7362
04188bb9
GM
7363 * paths.el (Info-default-directory-list): Make it a defcustom,
7364 mainly so that we can use custom-initialize-delay.
7365
a179e3f7
SM
73662012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7367
43416392
SM
7368 * subr.el (buffer-has-markers-at): Mark obsolete.
7369
a179e3f7 7370 * subr.el (lambda): Use declare.
43416392 7371
a179e3f7
SM
7372 * emacs-lisp/lisp-mode.el (lambda):
7373 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7374
34a008d9
AH
73752012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7376
7377 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7378
0a3b289f
GM
73792012-05-26 Glenn Morris <rgm@gnu.org>
7380
7381 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7382
758c81e8
GM
73832012-05-25 Glenn Morris <rgm@gnu.org>
7384
f9f334f0
GM
7385 * paths.el: Remove no-byte-compile.
7386 * loadup.el: No need to load paths.el uncompiled.
7387
87eb79c2
GM
7388 * image.el (imagemagick-types-inhibit): Doc fix.
7389
758c81e8
GM
7390 * version.el: Remove no-byte-compile and associated formatting.
7391 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7392 is ancient code from when there was an "inc-vers.el".
7393
e7e85dc0
SM
73942012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * progmodes/gdb-mi.el: Minor style changes.
7397 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7398 Turn into minor modes.
7399 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7400 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7401 (gdb-shell): Remove unneeded let-binding.
7402 (gdb-get-many-fields): Eliminate O(n²) behavior.
7403
f31237a4
EZ
74042012-05-25 Eli Zaretskii <eliz@gnu.org>
7405
7406 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7407 platforms that don't link in fontset.c.
7408
bc1b21bb
JL
74092012-05-25 Juri Linkov <juri@jurta.org>
7410
7411 Use the same diff color scheme as in modern VCSes (bug#10181).
7412
7413 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7414 to avoid confusion with `diff-added' that now uses green colors.
7415 (diff-removed): Use shades of red.
7416 (diff-added): Use shades of green.
7417 (diff-changed): Leave just the yellow color.
7418 (diff-use-changed-face): New variable.
7419 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7420 how to highlight context diff changes.
7421 (diff-refine-change): Use shades of yellow.
7422 (diff-refine-removed): New face that uses shades of red.
7423 (diff-refine-added): New face that uses shades of green.
7424 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7425 `diff-refine-removed' in the call to `smerge-refine-subst'
7426 depending on the value of `diff-use-changed-face'.
7427
7428 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7429 (smerge-other): Use shades of green.
7430 (smerge-base): Use shades of yellow.
7431 (smerge-refined-change): Empty face.
7432 (smerge-refined-removed): New face that uses shades of red.
7433 (smerge-refined-added): New face that uses shades of green.
7434 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7435 args `props-r' and `props-a', and use them. Doc fix.
7436 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7437 on its value use different faces `smerge-refined-change',
7438 `smerge-refined-removed', `smerge-refined-added' in the call to
7439 `smerge-refine-subst'.
7440
7441 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7442 Add face condition `min-colors 88' with shades of red.
7443 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7444 `min-colors 88' with shades of green.
7445 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7446 `min-colors 88' with shades of yellow.
7447
6df9112c
GM
74482012-05-24 Glenn Morris <rgm@gnu.org>
7449
ead5edc0
GM
7450 * paths.el (prune-directory-list, remote-shell-program): Move to...
7451 * files.el (prune-directory-list, remote-shell-program): ...here.
7452 For the latter, delay initialization, prefer ssh, just search PATH.
7453
f18b81e6
GM
7454 * paths.el (term-file-prefix): Move to faces.el (the only user).
7455 * faces.el (term-file-prefix): Move here, make it a defcustom.
7456
ee2f89a6
GM
7457 * paths.el (news-directory, news-path, news-inews-program):
7458 Move to gnus/nnspool.el.
61a583ca 7459
f8815e4c
GM
7460 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7461
c8f3b42c
GM
7462 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7463 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7464 Make the latter a defcustom, with a delayed initialization.
7465
6df9112c
GM
7466 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7467 These were deleted from Gnus itself late 2010.
7468
5dadff36
JB
74692012-05-22 Juanma Barranquero <lekktu@gmail.com>
7470
9e1701c6
JB
7471 * progmodes/which-func.el (which-func-ff-hook):
7472 Check against user-error, not error.
7473
bd7239f5 7474 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7475 cl-specs.el, which no longer exists.
7476
3290526d
GM
74772012-05-22 Glenn Morris <rgm@gnu.org>
7478
7479 * info.el (info-emacs-bug): New command.
7480 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7481 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7482
ff0c3cfb
GM
74832012-05-21 Glenn Morris <rgm@gnu.org>
7484
7485 * makefile.w32-in (update-subdirs-SH):
7486 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7487
5814f126
SM
74882012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7489
a52c0aa0
SM
7490 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7491
5814f126
SM
7492 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7493 Simplify Maven regexp, and make sure the file can't start with a space
7494 (bug#11517).
7495
b847032c
GM
74962012-05-21 Glenn Morris <rgm@gnu.org>
7497
7498 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7499 Scrap superfluous subshells.
7500
3858bfe7
SM
75012012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7502
7503 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7504 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7505
d14b0029
JB
75062012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7507
7508 * calc/calc.el (calc-ensure-consistent-units): New variable.
7509
a52c0aa0
SM
7510 * calc/calc-units.el (math-consistent-units-p)
7511 (math-check-unit-consistency): New functions.
7512 (calc-quick-units, calc-convert-units):
7513 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7514 is non-nil.
d14b0029
JB
7515 (calc-extract-units): Fix typo.
7516
60c4db3a
SM
75172012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7518
77f3b62e
SM
7519 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7520
60c4db3a
SM
7521 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7522 (flyspell-default-deplacement-commands): Don't spell check after
7523 repeated window/frame switches (e.g. triggered by mouse-movement).
7524 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7525 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7526 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7527 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7528 Remove unused vars.
7529 (flyspell-get-casechars, flyspell-get-not-casechars):
7530 Simplify; Don't bother removing a ] just to add it back.
7531 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7532
d209e2fb 75332012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7534
7535 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7536 New functions.
bd7239f5 7537 (math-function-table): Add support for more C functions.
b1a10716 7538
3f1b25b5
AM
75392012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7540
090bd7cb
JB
7541 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7542 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7543 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7544
b581bb5c
SM
75452012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7546
7547 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7548 their respective macro declarations.
7549 * skeleton.el (define-skeleton):
7550 * progmodes/compile.el (define-compilation-mode):
7551 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7552 (define-ibuffer-filter):
7553 * emacs-lisp/generic.el (define-generic-mode):
7554 * emacs-lisp/easy-mmode.el (define-minor-mode)
7555 (define-globalized-minor-mode):
7556 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7557 * emacs-lisp/byte-run.el (defsubst):
7558 * custom.el (deftheme): Add doc-string metadata.
7559
70b8ef8f
SM
75602012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7563
b1198e17
SM
75642012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7565
9abdc45d
SM
7566 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7567
b1198e17
SM
7568 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7569 * emacs-lisp/cl-macs.el: Idem.
7570 * emacs-lisp/cl-specs.el: Remove.
7571
4735906a
SM
75722012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7573
7574 Minor renaming of internal CL functions and variables.
7575 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7576 (cl--position): Rename from cl-position.
7577 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7578 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7579 (cl--random-state): Rename from *random-state*.
7580
ac348012
SM
75812012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7584 parens around the arg list (bug#11499).
7585
a0a79cde
JL
75862012-05-17 Juri Linkov <juri@jurta.org>
7587
7588 * isearch.el (word-search-regexp, word-search-backward)
7589 (word-search-forward, word-search-backward-lax)
7590 (word-search-forward-lax): Move functions from search.c
7591 (bug#10145, bug#11381).
7592
65034a51
AM
75932012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7594
090bd7cb
JB
7595 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7596 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7597 Delay for otherchars as for normal word components.
65034a51 7598
1a72a195
SM
75992012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * minibuffer.el (completion--sifn-requote): Fix last change.
7602 (minibuffer-local-must-match-filename-map):
7603 Move define-obsolete-variable-alias before its var.
7604
fdb058c2
SM
76052012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7606
c41045e6
SM
7607 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7608
036dfb8b
SM
7609 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7610 behavior.
7611 (completion--string-equal-p): New function.
7612 (completion--twq-all): Use it to get better assertion failure data.
7613
2473256d
SM
7614 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7615 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7616 (shell--requote-argument): New functions.
7617 (shell-completion-vars): Use them.
7618 (shell--parse-pcomplete-arguments): Rename from
7619 shell-parse-pcomplete-arguments.
7620 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7621 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7622 Obey comint-file-name-quote-list.
7623
fdb058c2
SM
7624 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7625 (smie-indent-keyword): Use it.
7626
51fa99f1
SM
76272012-05-14 Stefan Merten <smerten@oekonux.de>
7628
7629 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7630
e18afed7 76312012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7632
7633 * net/rlogin.el (rlogin-mode-map): Fix last change.
7634
e18afed7 76352012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7636
7637 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7638 the following \r\n using a single `process-send-string', since the
7639 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7640 with two `process-send-string's (Bug#11444).
8633b1f4 7641
e18afed7 76422012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7643
fdb058c2
SM
7644 * shell.el (shell-parse-pcomplete-arguments):
7645 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7646
2d21d7f6
WJ
76472012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7648
e18afed7 7649 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7650 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7651 (image-transform-width, image-transform-fit-width): New functions.
7652 (image-transform-properties): Use them.
7653 (image-transform-check-size): New function.
7654 (image-toggle-display-image): Use it (for testing).
7655 (image-transform-set-rotation): Reduce angle mod 360.
7656 Delete obsolete comment.
7657
7102e6d0
WJ
76582012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7659
7660 * image-mode.el: Fix scaling (bug#11399).
7661 (image-transform-resize): Doc fix.
7662 (image-transform-properties): Default scale is 1 and height should
7663 be an integer.
7664
06bc5e6e
SM
76652012-05-13 Johan Bockgård <bojohan@gnu.org>
7666
7667 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7668 than hard-coding `car', to fix misbehavior when moving forward.
7669
0ae03b6a
CY
76702012-05-13 Chong Yidong <cyd@gnu.org>
7671
7672 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7673 (tabulated-list-entries, tabulated-list-padding)
7674 (tabulated-list-sort-key): Make permanent-local.
7675
7676 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7677 (electric-buffer-list): Put electric buffer menu
7678 command descriptions in this docstring, instead of the docstring
7679 of electric-buffer-menu-mode. Code cleanups.
7680 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7681 Electric-buffer-menu-mode.
7682 (electric-buffer-update-highlight): Minor code cleanup.
7683
205a7391
MA
76842012-05-13 Michael Albinus <michael.albinus@gmx.de>
7685
7686 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7687 (Bug#11447)
7688
e5bd0a28
SM
76892012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7690
7691 Move define-obsolete-variable-alias before the var's definition.
7692 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7693 * tooltip.el (tooltip-hook):
7694 * textmodes/reftex-toc.el (reftex-toc-map):
7695 * textmodes/reftex-sel.el (reftex-select-label-map)
7696 (reftex-select-bib-map):
7697 * textmodes/reftex-index.el (reftex-index-map)
7698 (reftex-index-phrases-map):
7699 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7700 * progmodes/meta-mode.el (meta-mode-map):
7701 * novice.el (disabled-command-hook):
7702 * loadhist.el (unload-hook-features-list):
7703 * frame.el (blink-cursor):
7704 * files.el (find-file-not-found-hooks, write-file-hooks)
7705 (write-contents-hooks):
7706 * emulation/tpu-edt.el (GOLD-map):
7707 * emacs-lock.el (emacs-lock-from-exiting):
7708 * emacs-lisp/generic.el (generic-font-lock-defaults):
7709 * emacs-lisp/chart.el (chart-map):
7710 * dos-fns.el (register-name-alist):
7711 * dired-x.el (dired-omit-files-p):
7712 * desktop.el (desktop-enable):
7713 * cus-edit.el (custom-mode-hook):
7714 * buff-menu.el (buffer-menu-mode-hook):
7715 * bookmark.el (bookmark-read-annotation-text-func)
7716 (bookmark-exit-hooks):
7717 * allout.el (allout-mode-deactivate-hook)
7718 (allout-exposure-change-hook, allout-structure-added-hook)
7719 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7720 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7721 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7722 comes before the corresponding variable's definition.
7723
ac59c2f6
CY
77242012-05-12 Chong Yidong <cyd@gnu.org>
7725
7726 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7727 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7728 (Buffer-menu-mode-map): Bind it.
7729 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7730
dee6c9a3
SM
77312012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7732
2171cea5
SM
7733 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7734 (prolog-upper-case-string, prolog-lower-case-string)
7735 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7736 (prolog-use-smie, prolog-smie-grammar): New vars.
7737 (prolog-smie-forward-token, prolog-smie-backward-token)
7738 (prolog-smie-rules): New funs.
7739 (prolog-comment-indent): Remove.
7740 (prolog-mode-variables): Use default comment indentation instead.
7741 Setup SMIE.
7742 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7743 (prolog-mode): Don't call them any more.
7744 (prolog-electric-colon, prolog-electric-dash)
7745 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7746
aa0382bd
SM
7747 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7748
dbacb4bd
SM
7749 * minibuffer.el (completion--twq-all): Again, allow case differences.
7750
13bdd94c
SM
7751 * term.el: Move keymap initialization code to be more idiomatic.
7752 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7753 (term-terminal-menu): Move initialization into declaration.
7754 (term-escape-char): Let the user set it in her .emacs.
7755
ff46c759
SM
7756 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7757 Provide SMIE-based indentation (not enabled by default yet).
7758 (sh-mode-map): Don't bind electric keys.
7759 Use electric-pair-mode instead of skeleton-pair.
7760 (sh-assignment-regexp): Fit within 80 columns.
7761 (sh-indent-supported): Specify actual shell name instead of boolean.
7762 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7763 (sh-maybe-here-document): Use it. Make obsolete.
7764 (sh-electric-here-document-mode) New minor mode.
7765 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7766 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7767 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7768 (sh-smie-rc-grammar, sh-use-smie): New vars.
7769 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7770 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7771 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7772 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7773 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7774 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7775 (sh-set-shell): Use smie-setup if requested.
7776
dee6c9a3
SM
7777 * term.el (term-set-escape-char): Properly set term-escape-char.
7778 See http://stackoverflow.com/questions/10524656.
7779
9f9aa044
CY
77802012-05-10 Chong Yidong <cyd@gnu.org>
7781
7782 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7783 Use url-generic-parse-url, and handle host names and Windows
7784 filenames properly.
7785 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7786 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7787 URL schemes to work on.
7788 (ffap--toggle-read-only): New function.
7789 (ffap-read-only, ffap-read-only-other-window)
7790 (ffap-read-only-other-frame): Use it.
7791 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7792 necessary for ffap-url-unwrap-remote.
7793
836d29b3
DA
77942012-05-10 Dave Abrahams <dave@boostpro.com>
7795
7796 * cus-start.el (create-lockfiles): Add it.
7797
00fd78ed
CY
77982012-05-09 Chong Yidong <cyd@gnu.org>
7799
7800 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7801 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7802
666b903b 78032012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7804
7805 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7806
666b903b 78072012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7808
7809 * ansi-color.el (ansi-color-process-output): Check for validity of
7810 comint-last-output-start before using it. This avoids a bad
7811 interaction with gdb-mi's input/output buffer.
7812
666b903b 78132012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7814
7815 * files.el (dir-locals-read-from-file):
7816 Mention dir-locals in any error message.
7817
666b903b 78182012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7819
7820 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7821 package (Bug#11410).
7822
f677562b
CY
7823 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7824 variables into description.
7825
666b903b 78262012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7827
7828 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7829 shell-delimiter-argument-list (bug#11348).
7830 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7831
b499d8d0
JB
78322012-05-09 Juanma Barranquero <lekktu@gmail.com>
7833
8f6b6da8
JB
7834 * textmodes/rst.el: Silence byte-compiler warnings.
7835 (rst-re-alist, rst-reset-section-caches): Move around.
7836 (rst-re): Use `characterp', not `char-valid-p'.
7837 (font-lock-beg, font-lock-end): Declare.
7838
4824146a
JB
7839 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7840 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7841
b499d8d0
JB
7842 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7843
ad89bb83
GM
78442012-05-08 Glenn Morris <rgm@gnu.org>
7845
7846 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7847
8bba5a75
SM
78482012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7849
49ed9c8e
SM
7850 * vc/log-edit.el: Add GNU coding standards highlighting.
7851 (log-edit-font-lock-gnu-style)
7852 (log-edit-font-lock-gnu-keywords): New vars.
7853 (log-edit-font-lock-keywords): New fun.
7854 (log-edit-mode): Don't fold case in font-lock.
7855 (log-edit-font-lock-keywords): Do not assume case-folding.
7856
07d00b56
SM
7857 * imenu.el: Misc cleanup. Make docstrings out of comments.
7858 Use lexical-binding.
7859 (imenu--index-alist, imenu--last-menubar-index-alist)
7860 (imenu-menubar-modified-tick): Use defvar-local.
7861 (imenu--split-menu): Remove unused var.
7862 (imenu--cleanup-seen): Declare as global.
7863 (imenu--cleanup): Use dolist.
7864
8bba5a75
SM
7865 * subr.el (defvar-local): Add debug spec and doc-string position.
7866
5075bdb5
GM
78672012-05-08 Glenn Morris <rgm@gnu.org>
7868
090bd7cb 7869 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7870 * language/english.el, language/georgian.el, language/greek.el:
7871 * language/japanese.el, language/khmer.el, language/korean.el:
7872 * language/lao.el, language/misc-lang.el, language/romanian.el:
7873 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7874 * language/thai.el, language/utf-8-lang.el:
7875 Remove no-byte-compile setting.
7876
5075bdb5
GM
7877 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7878
06f679a7
AH
78792012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7880
7881 * progmodes/make-mode.el (makefile-browse):
7882 Remove unnecessary interactive. (Bug#11324)
7883
03794570
GM
78842012-05-07 Glenn Morris <rgm@gnu.org>
7885
af8630f4
GM
7886 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7887
03794570
GM
7888 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7889
f0809a9d
SM
78902012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7891
28be5ce7
SM
7892 * loadup.el: Preload newcomment.el.
7893 * newcomment.el: Move autoload-only code to toplevel.
7894
f0809a9d
SM
7895 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7896 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7897 Handle new :right-align column property.
7898 (tabulated-list-print-col): Idem, plus use `display' text-property to
7899 try and preserve alignment for variable pitch fonts.
7900
1241b724
CY
79012012-05-07 Chong Yidong <cyd@gnu.org>
7902
7903 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7904 (tabulated-list-use-header-line): New var.
7905 (tabulated-list-init-header): Use it.
7906 (tabulated-list-print-fake-header): New function.
7907 (tabulated-list-print): Use it.
7908 (tabulated-list-sort-button-map): Add non-header-line commands.
7909 (tabulated-list-init-header): Add column name property to basic
7910 labels as well.
7911 (tabulated-list-col-sort): Handle non-header-line button case.
7912 (tabulated-list--sort-by-column-name): Fix a corner case.
7913
f0809a9d
SM
7914 * buff-menu.el (list-buffers--refresh):
7915 Handle Buffer-menu-use-header-line.
1241b724 7916
e5f9458f
CY
79172012-05-06 Chong Yidong <cyd@gnu.org>
7918
7919 * buff-menu.el: Convert to Tabulated List mode.
7920 (Buffer-menu-buffer+size-width): Make obsolete.
7921 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7922 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7923 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7924 documentation into docstring of buffer-menu.
7925 (Buffer-menu-toggle-files-only): Add an informative message.
7926 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7927 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7928 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7929 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7930 (Buffer-menu-execute, Buffer-menu-select)
7931 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7932 (Buffer-menu-bury): Use Tabulated List machinery.
7933 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7934 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7935 Delete.
e5f9458f
CY
7936 (list-buffers--refresh): New function.
7937 (list-buffers-noselect): Use it.
7938 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7939 (Buffer-menu--pretty-file-name): New helper functions.
7940
7941 * loadup.el: Preload tabulated-list.
7942
7943 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7944 tabulated-list-sort-column.
7945 (tabulated-list-init-header): Add the initial aligning space even
7946 if tabulated-list-padding is zero.
7947
e129292c
CS
79482012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7949
7950 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7951 whose cdr is not a cons cell correctly (bug#11038).
7952
6632d361
CY
79532012-05-06 Chong Yidong <cyd@gnu.org>
7954
e129292c
CS
7955 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7956 Accept additional plist in column descriptors.
6632d361
CY
7957 (tabulated-list-init-header): Obey it.
7958 (tabulated-list-get-entry): New function.
7959 (tabulated-list-put-tag): Use it. Use string-width instead of
7960 length.
7961 (tabulated-list--column-number): New function.
7962 (tabulated-list-print): Use it.
e129292c
CS
7963 (tabulated-list-print-col): New function.
7964 Set `tabulated-list-column-name' property on each column's text.
6632d361 7965 (tabulated-list-print-entry): Use it.
e129292c
CS
7966 (tabulated-list-delete-entry, tabulated-list-set-col):
7967 New functions.
6632d361
CY
7968 (tabulated-list-sort-column): New command (Bug#11337).
7969
3cc99f68
CY
7970 * buff-menu.el (list-buffers): Move C-x C-b binding from
7971 buff-menu.el to bindings.el.
7972
7973 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7974 :advertised-binding feature.
7975
52b61776
TN
79762012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7977
7978 * progmodes/compile.el (compilation-internal-error-properties):
7979 Calculate start position correctly when end-col is set but
7980 end-line is not (Bug#11382).
7981
ebfe2597
WJ
79822012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7983
7984 * man.el (Man-unindent): Use text-property-default-nonsticky to
7985 prevent untabify from inheriting face properties (Bug#11408).
7986
6d3f7c2f
SM
79872012-05-05 Stefan Merten <smerten@oekonux.de>
7988
7989 * textmodes/rst.el: Major merge with upstream development up to
7990 Docutils SVN r7399 / rst.el V1.2.1.
7991
7992 Clarify maintainership and authors.
7993
7994 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7995 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7996 (rst-official-version, rst-official-cvs-rev, rst-version)
7997 (rst-package-emacs-version-alist): New functions and variables
7998 for version information.
7999
8000 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8001 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8002 (rst-mode-syntax-table, rst-mode): New and corrected functions
8003 and variables representing reStructuredText features.
8004
8005 (rst-re): New function for reStructuredText regexes. Use in
8006 many places.
8007
8008 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8009 (rst-mode-map): Rebind keys.
8010
8011 (rst-mode-lazy, rst-font-lock-keywords)
8012 (rst-font-lock-extend-region)
8013 (rst-font-lock-extend-region-internal)
8014 (rst-font-lock-extend-region-extend)
8015 (rst-font-lock-find-unindented-line-limit)
8016 (rst-font-lock-find-unindented-line-match)
8017 (rst-adornment-level, rst-font-lock-adornment-level)
8018 (rst-font-lock-adornment-match)
8019 (rst-font-lock-handle-adornment-pre-match-form)
8020 (rst-font-lock-handle-adornment-matcher): Major revision of
8021 font-locking. Integrate with other code. Use `jit-lock-mode'.
8022
8023 (rst-preferred-adornments, rst-adjust-hook)
8024 (rst-new-adornment-down, rst-preferred-bullets)
8025 (rst-preferred-bullets, rst-indent, rst-indent-width)
8026 (rst-indent-field, rst-indent-literal-normal)
8027 (rst-indent-literal-minimized, rst-indent-comment): Change,
8028 extend and improve customization.
8029
8030 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8031 (rst-normalize-cursor-position, rst-get-decoration)
8032 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8033 (rst-rstrip, rst-toc-insert-find-delete-contents)
8034 (rst-shift-fill-region, rst-compute-bullet-tabs)
8035 (rst-debug-print-tabs, rst-debug-mark-found)
8036 (rst-shift-region-guts, rst-shift-region-right)
8037 (rst-shift-region-left, rst-use-char-classes)
8038 (rst-font-lock-keywords-function)
8039 (rst-font-lock-indentation-point)
8040 (rst-font-lock-find-unindented-line-begin)
8041 (rst-font-lock-find-unindented-line-end)
8042 (rst-font-lock-find-unindented-line)
8043 (rst-font-lock-adornment-point, rst-font-lock-level)
8044 (rst-adornment-level-alist): Remove functions and variables.
8045
8046 (rst-compare-adornments, rst-get-adornment-match)
8047 (rst-suggest-new-adornment, rst-get-adornments-around)
8048 (rst-adornment-complete-p, rst-get-next-adornment)
8049 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8050 (rst-straighten-adornments): Standardize function names to
8051 use "adornment" instead of "decoration". Correct callers.
8052 Similar standardizing in many places.
8053
8054 (rst-update-section, rst-adjust, rst-promote-region)
8055 (rst-enumerate-region, rst-bullet-list-region)
8056 (rst-repeat-last-character): Correct use of `interactive'.
8057
8058 (rst-classify-adornment, rst-find-all-adornments)
8059 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8060 (rst-find-leftmost-column, rst-repeat-last-character):
8061 Refactor functions.
8062
8063 (rst-find-title-line, rst-reset-section-caches)
8064 (rst-get-adornments-around, rst-adjust-adornment-work)
8065 (rst-arabic-to-roman, rst-roman-to-arabic)
8066 (rst-insert-list-pos, rst-insert-list-new-item)
8067 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8068 New functions.
8069
8070 (rst-all-sections, rst-section-hierarchy)
8071 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8072 New variables.
8073
8074 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8075 configuration instead of only buffer. Change where necessary.
8076
8077 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8078 (rst-shift-region, rst-adaptive-fill): New functions for
8079 indentation and filling.
8080
8081 (rst-comment-line-break, rst-comment-indent)
8082 (rst-comment-insert-comment, rst-comment-region)
8083 (rst-uncomment-region): New functions for handling comments.
8084
8085 (rst-compile): Quote shell arguments.
8086
8087 (rst-compile-pdf-preview, rst-compile-slides-preview):
8088 Delete temporary files after use.
8089
a43f98b3
GM
80902012-05-05 Glenn Morris <rgm@gnu.org>
8091
48176e8b
GM
8092 * calendar/cal-html.el: Optionally include holidays in the output.
8093 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8094 (cal-html-holidays): New option.
8095 (cal-html-css-default): Add holiday entry.
8096 (holiday-in-range): Autoload it.
8097 (cal-html-htmlify-entry): Add optional class argument.
8098 (cal-html-htmlify-list): Add optional holidays argument.
8099 (cal-html-insert-agenda-days): Include holidays in the output.
8100 (cal-html-one-month): Maybe include holidays.
8101
a43f98b3
GM
8102 * calendar/holidays.el (holiday-in-range):
8103 Move here from cal-tex-list-holidays.
8104 * calendar/cal-tex.el (cal-tex-list-holidays):
8105 Make it an obsolete alias for holiday-in-range. Update all callers.
8106
fef9d149 81072012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8108
8109 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8110 Nextstep.
8111
248da2f4
RW
81122012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8113
8114 * files.el (file-auto-mode-skip): New var.
8115 (set-auto-mode-1): Use it.
8116
f95e9344
SM
81172012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8118
df96ab1e
SM
8119 * repeat.el: Use lexical-binding.
8120 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8121 (repeat-undo-count): Remove.
8122 (repeat):
8123 * progmodes/octave-mod.el (octave-abbrev-start):
8124 * progmodes/f90.el (f90-abbrev-start):
8125 * face-remap.el (text-scale-adjust):
8126 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8127
5342bb06
SM
8128 * emacs-lisp/pcase.el (pcase--let*): New function.
8129 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8130 a bit more.
8131 (pcase--split-pred): Be more clever about ruling out overlap between
8132 a predicate and some constant pattern.
8133 (pcase--q1): Use `null' instead of (eq foo nil).
8134
f95e9344
SM
8135 * subr.el (setq-local, defvar-local): New macros.
8136 (kbd): Redefine as an alias.
8137 (with-selected-window): Leave unrelated frames alone.
8138 (set-temporary-overlay-map): New function.
8139
71873e2b
SM
81402012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * subr.el (user-error): New function.
8143 * window.el (switch-to-buffer):
8144 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8145 (smerge-match-conflict):
8146 * simple.el (previous-matching-history-element)
8147 (next-matching-history-element, goto-history-element, undo-more)
8148 (undo-start):
8149 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8150 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8151 (next-file, tags-loop-scan, list-tags, complete-tag):
8152 * progmodes/compile.el (compilation-loop):
8153 * mouse.el (mouse-minibuffer-check):
8154 * man.el (Man-bgproc-sentinel, Man-goto-page):
8155 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8156 (Info-history-forward, Info-follow-reference, Info-menu)
8157 (Info-extract-menu-item, Info-extract-menu-counting)
8158 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8159 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8160 (Info-next-reference, Info-prev-reference, Info-index)
8161 (Info-index-next, Info-follow-nearest-node)
8162 (Info-copy-current-node-name):
8163 * imenu.el (imenu--make-index-alist)
8164 (imenu-default-create-index-function, imenu-add-to-menubar):
8165 * files.el (basic-save-buffer, recover-file):
8166 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8167 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8168 (checkdoc-message-text, checkdoc-defun):
8169 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8170 * cus-edit.el (customize-changed-options, customize-rogue)
8171 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8172 (custom-variable-mark-to-reset-standard)
8173 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8174 (custom-file):
8175 * completion.el (check-completion-length):
8176 * comint.el (comint-search-arg)
8177 (comint-previous-matching-input-string-position)
8178 (comint-previous-matching-input)
8179 (comint-replace-by-expanded-history-before-point, comint-send-input)
8180 (comint-copy-old-input, comint-backward-matching-input)
8181 (comint-goto-process-mark, comint-set-process-mark):
8182 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8183 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8184
8a61ee22
SM
81852012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8186
66408d1e
SM
8187 * dabbrev.el (dabbrev--ignore-case-p): New function.
8188 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8189 Use it.
8190
8a61ee22
SM
8191 * files.el (automount-dir-prefix): Mark as obsolete.
8192
3c74813a
GM
81932012-05-04 Glenn Morris <rgm@gnu.org>
8194
8195 * patcomp.el, play/bruce.el: Move to obsolete/.
8196
0bfcf5c5
PE
81972012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8198
8199 Fix minor Y10k bugs.
8200 * arc-mode.el (archive-unixdate):
8201 * autoinsert.el (auto-insert-alist):
8202 * calc/calc-forms.el (math-this-year):
8203 * emacs-lisp/copyright.el (copyright-current-year)
8204 (copyright-update-year, copyright):
8205 * tar-mode.el (tar-clip-time-string):
8206 * time.el (display-time-update):
8207 Don't assume years have 4 digits.
8208
78f3273a
CY
82092012-05-04 Chong Yidong <cyd@gnu.org>
8210
8211 * dos-w32.el (file-name-buffer-file-type-alist)
8212 (direct-print-region-use-command-dot-com):
8213 * ffap.el (ffap-menu-regexp):
8214 * find-file.el (ff-special-constructs):
8215 * follow.el (follow-debug):
8216 * forms.el (forms--debug):
8217 * iswitchb.el (iswitchb-all-frames):
8218 * ido.el (ido-all-frames):
8219 * emacs-lisp/timer.el (timer-max-repeats):
8220 * mail/feedmail.el (feedmail-mail-send-hook)
8221 (feedmail-mail-send-hook-queued):
8222 * mail/footnote.el (footnote-signature-separator):
8223 * mail/mailabbrev.el (mail-alias-separator-string)
8224 (mail-abbrev-mode-regexp):
8225 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8226 * progmodes/idlwave.el (idlwave-libinfo-file)
8227 (idlwave-default-completion-case-is-down)
8228 (idlwave-library-routines): Convert defvars to defcustoms.
8229
8230 * mail/rmail.el (rmail-decode-mime-charset):
8231 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8232 (idlwave-shell-fix-inserted-breaks)
8233 (idlwave-shell-activate-alt-keybindings)
8234 (idlwave-shell-use-breakpoint-glyph):
8235 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8236
f7ae6719
SM
82372012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8238
8239 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8240
47086495
WS
82412012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8242
8243 * progmodes/verilog-mode.el (font-lock-keywords):
8244 Fix mis-highligting auto. Reported by Craig Barner.
8245 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8246 defines from global name space. Reported by Dan Dever.
47086495
WS
8247 (verilog-auto-reset, verilog-auto-reset-widths)
8248 (verilog-auto-tieoff): Support using unbased numbers for
8249 AUTORESET and AUTOTIEOFF.
8250 (verilog-submit-bug-report): Update variable list.
8251 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8252 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8253 (verilog-auto-template-lint): Fix hash error when linting modules
8254 with no used templates.
8255 (verilog-warn, verilog-warn-error)
8256 (verilog-warn-fatal): When non-interactive report multiple
8257 warnings before exiting. Suggested by Brad Dobbie.
8258 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8259 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8260 to report unused template errors. Reported by Brad Dobbie.
8261 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8262 nets, bug438. Reported by Vns Blore.
47086495
WS
8263 (verilog-auto-inout-module, verilog-auto-reg)
8264 (verilog-read-decls, verilog-read-sub-decls-sig)
8265 (verilog-signals-edit-wire-reg, verilog-signals-with):
8266 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8267 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8268 "reg" for backwards compatibility presuming Verilog 2001.
8269 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8270 (verilog-preprocess): Fix replication of preprocess output.
8271 Reported by Brad Dobbie.
8272 (verilog-auto-inst-interfaced-ports):
8273 Create verilog-auto-inst-interfaced-ports, bug429.
8274 Reported by Julian Gorfajn.
8275 (verilog-after-save-font-hook)
8276 (verilog-before-save-font-hook): New variable.
8277 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8278 (verilog-save-font-mods): Wrap disabling fontification, reported
8279 by David Rogoff.
8280 (verilog-do-indent, verilog-pretty-declarations-auto)
8281 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8282 Reported by Pierre-David Pfister.
8283 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8284 of class declarations, bug292. Reported by Kevin Heilman.
8285 (verilog-read-decls): Fix 'parameter type' not appearing in
8286 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8287 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8288 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8289 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8290 Reported by David Kravitz.
8291
82922012-05-03 Michael McNamara <mac@mail.brushroad.com>
8293
8294 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8295 assignment with tests in ifs and for loops.
8296 (verilog-extended-complete-re, verilog-complete-reg): Change so
8297 that DPI inport functions don't look like fuction declarations.
8298 (verilog-pretty-expr): Don't line up assignment
8299 operations to the test and increment in if and for loops
8300 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8301 that DPI inport functions don't look like fuction declarations.
47086495 8302
2e51d4b5
KH
83032012-05-03 Kenichi Handa <handa@m17n.org>
8304
8305 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8306 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8307 (Bug#11282).
8308
2bd785a2
SM
83092012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8310
8311 * emacs-lisp/bytecomp.el
8312 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8313 since cconv.el might have introduced :fun-body, internal-make-closure,
8314 and friends for bytecomp to handle (bug#11391).
8315 * custom.el (defcustom): Avoid ((λ ..) ..).
8316
99d27583
SM
83172012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8320
55a71479
JB
83212012-05-02 Juanma Barranquero <lekktu@gmail.com>
8322
8323 * notifications.el (dbus-debug):
8324 * term/linux.el (gpm-mouse-enable):
8325 * term/screen.el (xterm-register-default-colors): Declare.
8326
7b97c764
CY
83272012-05-02 Chong Yidong <cyd@gnu.org>
8328
2bc356d7
CY
8329 * cus-start.el (gc-cons-percentage, exec-suffixes)
8330 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8331 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8332 (make-cursor-line-fully-visible, void-text-area-pointer)
8333 (font-list-limit): Add customization data.
8334
7b97c764
CY
8335 * allout.el (allout-exposure-change-functions)
8336 (allout-structure-added-functions)
8337 (allout-structure-deleted-functions)
8338 (allout-structure-shifted-functions): Rename abnormal hooks from
8339 *-hook, and convert to defcustoms.
5d3385a0
JB
8340 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8341 Convert to defcustoms.
7b97c764
CY
8342 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8343
8344 * allout-widgets.el: Hook callers changed.
8345
90207a15 83462012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8347
8348 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8349 the yanked message in preference to the default value of
8350 buffer-file-coding-system.
8351
90207a15 83522012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8353
5d3385a0
JB
8354 * window.el (display-buffer--action-function-custom-type):
8355 Fix entry.
d9558cad 8356
90207a15 83572012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8358
8359 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8360
d80ac57b
GM
83612012-05-01 Glenn Morris <rgm@gnu.org>
8362
976f7668
GM
8363 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8364
beb83b5a
GM
8365 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8366
d80ac57b
GM
8367 * cus-edit.el (custom-variable-documentation): Simplify with format.
8368
b593d6a9 83692012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8370 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8371
8372 * simple.el (suggest-key-bindings, execute-extended-command):
8373 Move from keyboard.c.
8374
782fbf2a
CY
83752012-05-01 Chong Yidong <cyd@gnu.org>
8376
8377 * follow.el: Eliminate advice.
8378 (set-process-filter, process-filter, sit-for): Advice deleted.
8379 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8380 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8381 Vars deleted.
782fbf2a
CY
8382 (follow-auto): Use a :set function.
8383 (follow-mode): Rewritten. Don't advise process filters.
8384 (follow-switch-to-current-buffer-all, follow-scroll-up)
8385 (follow-scroll-down): Assume follow-mode is bound.
8386 (follow-comint-scroll-to-bottom)
8387 (follow-align-compilation-windows): New functions.
8388 (follow--window-sorter): New function.
8389 (follow-all-followers): Use it to explicitly sort windows by their
8390 positions; don't make assumptions about next-window order.
8391 (follow-windows-start-end, follow-delete-other-windows-and-split)
8392 (follow-calc-win-start): Doc fix.
8393 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8394 vertical-motion unnecessarily.
8395 (follow-adjust-window): New function.
8396 (follow-post-command-hook): Use it.
8397 (follow-call-set-process-filter, follow-call-process-filter)
8398 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8399 (follow-stop-intercept-process-output, follow-generic-filter):
8400 Functions deleted.
8401 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8402 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8403 New functions, replacing advice on scroll-bar-* commands.
87233a14 8404 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8405
8406 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8407 (comint-postoutput-scroll-to-bottom): Use it.
8408 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8409
290af740
GM
84102012-05-01 Glenn Morris <rgm@gnu.org>
8411
8412 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8413 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8414 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8415 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8416 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8417 Remove no-byte-compile setting.
8418
6eac8dc9
SM
84192012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8420
8421 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8422 all-completions code to not return a number in the last cdr.
8423
9cc7819c
LL
84242012-04-30 Leo Liu <sdl.web@gmail.com>
8425
8426 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8427 read-only error.
8428
c93b886f
CY
84292012-04-29 Chong Yidong <cyd@gnu.org>
8430
8431 * follow.el (follow-calc-win-end): Rewrite to handle partial
8432 screen lines correctly (Bug#8390).
8433 (follow-avoid-tail-recenter): Minor cleanup.
8434
8b6c19f4
SM
84352012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8436
8437 Avoid the obsolete `assoc' package.
8438 * speedbar.el (speedbar-refresh): Avoid adelete.
8439 (speedbar-file-lists): Simplify and avoid aput.
8440 * man.el (Man--sections, Man--refpages): New vars, replacing
8441 Man-sections-alist and Man-refpages-alist.
8442 (Man-build-section-alist, Man-build-references-alist):
8443 Use them; avoid aput.
8444 (Man--last-section, Man--last-refpage): New vars.
8445 (Man-follow-manual-reference): Use them.
8446 Use the `default' arg of completing-read.
8447 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8448
c5bb7569
CY
84492012-04-27 Chong Yidong <cyd@gnu.org>
8450
d1d2e2e8
CY
8451 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8452
15cd8efd
CY
8453 * startup.el (x-apply-session-resources): New function.
8454
8455 * term/ns-win.el (ns-initialize-window-system):
8456 * term/w32-win.el (w32-initialize-window-system):
8457 * term/x-win.el (x-initialize-window-system): Use it to properly
8458 set menu-bar-mode and other vars from X resources, even if the
8459 initial frame is not a window-system frame (Bug#2299).
8460
c5bb7569
CY
8461 * subr.el (read-key): Avoid running filter function when setting
8462 up temporary tool bar entries (Bug#9922).
8463
a8e7d6d7 84642012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8465
8466 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8467 (Bug#11344)
8468
a8e7d6d7 84692012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8470
8471 * select.el (xselect--encode-string): New function, split from
8472 xselect-convert-to-string.
8473 (xselect-convert-to-string): Use it.
8474 (xselect-convert-to-filename, xselect-convert-to-os)
8475 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8476 returned strings are properly encoded (Bug#11315).
8477
a8e7d6d7 84782012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8479
8480 * simple.el (delete-active-region): Move to killing custom group.
8481
a8e7d6d7 84822012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8483
8484 * progmodes/which-func.el (which-func-current): Quote %
8485 characters for mode-line processing.
8486
578c1d4b 84872012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8488
8489 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8490 reaching eob (Bug#11286).
8491
a8e7d6d7 84922012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8493
8494 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8495 (gdb): Make it buffer-local and init to zero.
8496 (gdb-control-commands-regexp): New variable.
8497 (gdb-send): Don't wrap in "-interpreter-exec console" if
8498 gdb-control-level is positive. Increment gdb-control-level
8499 whenever the command matches gdb-control-commands-regexp, and
8500 decrement it each time the command is "end". (Bug#11279)
8501
a8e7d6d7 85022012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8503
8504 * window.el (adjust-window-trailing-edge, enlarge-window)
8505 (shrink-window, window-resize):
8506 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8507 windows (Bug#11276).
8508
b3608390
CY
85092012-04-27 Chong Yidong <cyd@gnu.org>
8510
8511 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8512 fix "missing prefix" warning. All callers changed.
b3608390 8513
797e6e88
SM
85142012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * emacs-lisp/assoc.el: Move to obsolete/.
8517
e95a67dc
SM
85182012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8519
657c21e4 8520 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8521
8522 * term/ns-win.el (ns-define-service):
8523 * progmodes/pascal.el (pascal-goto-defun):
8524 * progmodes/js.el (js--read-tab):
8525 * progmodes/etags.el (tags-lazy-completion-table):
8526 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8527 * emacs-lisp/ewoc.el (ewoc--wrap):
8528 * emacs-lisp/assoc.el (aput, adelete, amake):
8529 * doc-view.el (doc-view-convert-current-doc):
8530 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8531
cb3e7ae0
CY
85322012-04-26 Chong Yidong <cyd@gnu.org>
8533
dce04f7f
CY
8534 * image.el (image-type-from-buffer): Only return supported image
8535 type (Bug#9045).
8536
cb3e7ae0
CY
8537 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8538 value, for symmetry with diff-end-of-hunk.
8539 (diff-split-hunk, diff-find-source-location)
8540 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8541 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8542 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8543 compute the relevant hunk or file properly (Bug#6005).
8544 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8545
0d42eb3e
SM
85462012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8547
8548 * vc/vc-mtn.el:
8549 * vc/vc-hg.el:
8550 * vc/vc-git.el:
8551 * vc/vc-dir.el:
8552 * vc/vc-cvs.el:
8553 * vc/vc-bzr.el:
8554 * vc/vc-arch.el:
8555 * vc/vc.el: Replace lexical-let by lexical-binding.
8556 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8557 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8558 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8559
f08ae1c9
CY
85602012-04-26 Chong Yidong <cyd@gnu.org>
8561
8b71081d
CY
8562 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8563 (diff-mode-shared-map): Bind it to / and [remap undo].
8564
f08ae1c9
CY
8565 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8566 (ediff-window-setup-function): Use it as the default, to set up
8567 windows based on whether the current frame is graphical (Bug#2138).
8568 (ediff-choose-window-setup-function-automatically): Make obsolete.
8569
8570 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8571
ef24141c
SM
85722012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8573
cc356a5d
SM
8574 * ffap.el: Remove old code for obsolete package.
8575 (ffap-complete-as-file-p): Remove.
8576
b4ff4f1f
SM
8577 Use completion-table-with-quoting for comint and pcomplete.
8578 * comint.el (comint--unquote&requote-argument)
8579 (comint--unquote-argument, comint--requote-argument): New functions.
8580 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8581 (comint-quote-filename): Use regexp-opt-charset.
8582 (comint--common-suffix, comint--common-quoted-suffix)
8583 (comint--table-subvert): Remove.
8584 (comint-unquote-function, comint-requote-function): New vars.
8585 (comint--complete-file-name-data): Use them with
8586 completion-table-with-quoting.
8587 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8588 * pcomplete.el (pcomplete-arg-quote-list)
8589 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8590 (pcomplete-unquote-argument-function): Default to non-nil.
8591 (pcomplete-unquote-argument): Simplify.
8592 (pcomplete--common-quoted-suffix): Remove.
8593 (pcomplete-requote-argument-function): New var.
8594 (pcomplete--common-suffix): New function.
8595 (pcomplete-completions-at-point): Use completion-table-with-quoting
8596 and completion-table-subvert.
8597
79c4eeb4
SM
8598 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8599 (minibuffer--double-dollars): Preserve properties.
8600 (completion--sifn-requote): New function.
8601 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8602
ef24141c
SM
8603 * minibuffer.el: Add support for completion of quoted/escaped data.
8604 (completion-table-with-quoting, completion-table-subvert): New funs.
8605 (completion--twq-try, completion--twq-all): New functions.
8606 (completion--nth-completion): New function.
8607 (completion-try-completion, completion-all-completions): Use it.
8608
784e7d6e
LL
86092012-04-25 Leo Liu <sdl.web@gmail.com>
8610
dd2ac746
SM
8611 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8612 Use compilation-message if available to find real filename.
784e7d6e 8613
07875ee7
CY
86142012-04-25 Chong Yidong <cyd@gnu.org>
8615
8616 * vc/diff-mode.el (diff-setup-whitespace): New function.
8617 (diff-mode): Use it.
8618
8619 * vc/diff.el (diff-sentinel):
8620 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8621 Whitespace mode variables based on diff style (Bug#8612).
8622
5055880d
LL
86232012-04-25 Leo Liu <sdl.web@gmail.com>
8624
daf75653
LL
8625 * progmodes/python.el (python-send-region): Add suffix .py to the
8626 temp file.
8627
5055880d
LL
8628 * files.el (auto-mode-alist): Use javascript-mode instead.
8629
db9b177b
AH
86302012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8631
ef24141c 8632 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8633
090bd7cb 8634 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8635 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8636 references, see Bug#9.
ef24141c 8637 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8638 when receiving a fault reply.
ef24141c 8639 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8640
090bd7cb 8641 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8642 (soap-inspect-simple-type): New function.
db9b177b 8643
090bd7cb 8644 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8645 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8646 (soap-decode-basic-type, soap-encode-basic-type):
8647 support unsignedInt and double basic types.
db9b177b 8648 (soap-resolve-references-for-simple-type)
ef24141c
SM
8649 (soap-parse-simple-type, soap-encode-simple-type): New function.
8650 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8651
090bd7cb 8652 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8653 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8654 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8655 the local name of "soapenc:Array".
8656 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8657 decoding integer, byte and anyURI xsd types.
8658
1fc6097b
CY
86592012-04-25 Chong Yidong <cyd@gnu.org>
8660
8661 * cus-edit.el (custom-buffer-create-internal): Update header text.
8662
afc6df87
EZ
86632012-04-25 Eli Zaretskii <eliz@gnu.org>
8664
8665 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8666 settings on 'system-type', not on 'window-system'. On MS-Windows,
8667 set interactive-mode on in GDB.
8668
dfbd787f
SM
86692012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8670
8671 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8672 (ruby-syntax-propertize-regexp): Remove.
8673 (ruby-syntax-propertize-function): Split regexp into chunks.
8674 Match following code directly.
8675
85222d44
DG
86762012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8677
51a8ea2a
DG
8678 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8679 (ruby-syntax-propertize-regexp): New function.
8680 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8681 by a special keyword.
8682
85222d44
DG
8683 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8684 (ruby-syntax-general-delimiters-goto-beg)
8685 (ruby-syntax-propertize-general-delimiters): New functions.
8686 (ruby-syntax-propertize-function): Use them to handle GDL.
8687 (ruby-font-lock-keywords): Move old handling of GDL...
8688 (ruby-font-lock-syntactic-keywords): .. to here.
8689 (ruby-calculate-indent): Adjust indentation for GDL.
8690
b613912b
MA
86912012-04-24 Michael Albinus <michael.albinus@gmx.de>
8692
b5380639
MA
8693 * notifications.el (top): Remove unneeded declarations.
8694 (notifications-specification-version): Change to "1.2".
e43042fe 8695 (notifications-interface, notifications-notify-method)
b613912b
MA
8696 (notifications-close-notification-method): Fix docstring.
8697 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8698 (notifications-notify): Add :action-items, :resident and
8699 :transient hints. Change "image_data" to "image-data" and
8700 "image_path" to "image-path".
b613912b
MA
8701 (notifications-get-capabilities): New defun.
8702
257440aa
LL
87032012-04-24 Leo Liu <sdl.web@gmail.com>
8704
8705 * progmodes/python.el: Move hideshow setup to the end.
8706
b1bac16e
MR
87072012-04-24 Martin Rudalics <rudalics@gmx.at>
8708
8709 * window.el (handle-select-window): Clear echo area since this is
8710 no more done by read_char (Bug#11304).
8711
d81bd059
SM
87122012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8713
8714 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8715 and `/ M' to filter-derived-mode.
8716 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8717 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8718 (ibuffer-mark-by-mode): Use default rather than initial-input.
8719 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8720
c4cf6d91
IA
87212012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8722
8723 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8724 (ibuffer-filter-by-derived-mode): New filter.
8725 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8726
7511ded8
CY
87272012-04-23 Andreas Politz <politza@fh-trier.de>
8728
8729 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8730
775c916b
CY
87312012-04-23 Chong Yidong <cyd@gnu.org>
8732
8733 * cus-edit.el (customize-apropos, customize-apropos-options):
8734 Disable matching of non-option variables (Bug#11176).
8735 (customize-option, customize-option-other-window)
8736 (customize-changed-options): Doc fix.
8737 (customize-apropos-options, customize-apropos-faces)
8738 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8739
8740 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8741 Fix word list splitting (Bug#11132).
46c71e23
CY
8742 (apropos-symbol, apropos-keybinding, apropos-label)
8743 (apropos-property, apropos-function-button)
8744 (apropos-variable-button, apropos-misc-button): New faces.
8745 (apropos-symbol-face, apropos-keybinding-face)
8746 (apropos-label-face, apropos-property-face, apropos-match-face):
8747 Variables removed (Bug#8396).
8748 (apropos-library-button, apropos-format-plist, apropos-print)
8749 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8750
2df41f9c
MA
87512012-04-23 Michael Albinus <michael.albinus@gmx.de>
8752
8753 * net/xesam.el (xesam-mode-map): Use let-bound map in
8754 initialization. (Bug#11292)
8755
da00640a
AM
87562012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8757
8758 Preserve ispell session localwords when switching back to
8759 original buffer.
8760
090bd7cb
JB
8761 * textmodes/ispell.el (ispell-buffer-session-localwords):
8762 New buffer-local variable to hold buffer session localwords.
ed9265fc 8763 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8764 localwords.
8765 (ispell-command-loop, ispell-change-dictionary)
8766 (ispell-buffer-local-words): Preserve session localwords when
8767 needed.
8768
090bd7cb
JB
8769 * textmodes/flyspell.el (flyspell-process-localwords)
8770 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8771
f621ccf5
AM
87722012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8773
090bd7cb
JB
8774 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8775 using obsolete `translation-table-for-input'.
ef24141c
SM
8776 (ispell-word, ispell-process-line, ispell-complete-word):
8777 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8778
c2d1019e
CY
87792012-04-22 Chong Yidong <cyd@gnu.org>
8780
8781 * cus-edit.el (custom-variable-menu)
8782 (custom-variable-reset-saved, custom-face-menu)
8783 (custom-face-reset-saved): If there is no saved value, make the
8784 "reset-saved" operation bring back the default (Bug#9509).
8785 (custom-face-state): Properly detect themed faces.
8786
eeddc531
CY
8787 * faces.el (face-spec-set): Stop supporting deprecated form of
8788 third arg.
8789
dcbf5805
MA
87902012-04-22 Michael Albinus <michael.albinus@gmx.de>
8791
8792 Move functions from C to Lisp. Make non-blocking method calls
8793 the default. Implement further D-Bus standard interfaces.
8794
ef24141c
SM
8795 * net/dbus.el (dbus-message-internal): Declare function.
8796 Remove unneeded function declarations.
dcbf5805
MA
8797 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8798 (dbus-message-type-method-return, dbus-message-type-error)
8799 (dbus-message-type-signal): Declare variables. Remove local
8800 definitions.
8801 (dbus-interface-dbus, dbus-interface-peer)
8802 (dbus-interface-introspectable, dbus-interface-properties)
8803 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8804 Adapt docstring.
8805 (dbus-interface-objectmanager): New defconst.
8806 (dbus-call-method, dbus-call-method-asynchronously)
8807 (dbus-send-signal, dbus-method-return-internal)
8808 (dbus-method-error-internal, dbus-register-service)
8809 (dbus-register-signal, dbus-register-method): New defuns, moved
8810 from dbusbind.c
8811 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8812 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8813 New defuns.
dcbf5805
MA
8814 (dbus-call-method-non-blocking): Make it an obsolete function.
8815 (dbus-unregister-object, dbus-unregister-service)
8816 (dbus-handle-event, dbus-register-property)
8817 (dbus-property-handler): Obey the new structure of
8818 `bus-registered-objects'.
8819 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8820 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8821 Use `dbus-call-method'.
8822
cf20dee0
CY
88232012-04-22 Chong Yidong <cyd@gnu.org>
8824
8825 * cus-edit.el (custom-commands, custom-reset-menu)
8826 (Custom-reset-standard): Tweak labels.
8827 (custom-reset-button-menu): Change default to t.
8828 (custom-buffer-create-internal): For the custom-reset-button-menu
8829 case, put the revert button first.
8830 (custom-group-subtitle): New face.
8831 (custom-group-value-create): Align docstring to a specific column.
8832
8833 * wid-edit.el (widget-documentation-link-add): Don't handle
8834 indentation in this function.
8835 (widget-documentation-string-indent-to): New function.
8836 (widget-documentation-string-value-create): Use it.
8837
8838 * autorevert.el (auto-revert):
8839 * epg-config.el (epg):
8840 * ibuffer.el (ibuffer):
8841 * mpc.el (mpc):
8842 * ses.el (ses):
8843 * eshell/eshell.el (eshell):
8844 * net/ange-ftp.el (ange-ftp):
8845 * progmodes/ebnf2ps.el (postscript):
8846 * progmodes/flymake.el (flymake):
8847 * progmodes/prolog.el (prolog):
8848 * progmodes/verilog-mode.el (verilog-mode):
8849 * progmodes/which-func.el (which-func):
8850 * term/xterm.el (xterm):
8851 * textmodes/picture.el (picture):
8852 * textmodes/tildify.el (tildify):
8853 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8854 customization buffers.
8855
583e23bd
AM
88562012-04-22 Alan Mackenzie <acm@muc.de>
8857
8858 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8859 Adding a ) can hide the resulting (..) from searches. Fix it.
8860 Bound the backward search to the position of the existing (.
8861
7dd51bf1
JB
88622012-04-21 Juanma Barranquero <lekktu@gmail.com>
8863
8864 * progmodes/verilog-mode.el (verilog-mode): Check whether
8865 which-func-modes is t before adding verilog-mode.
8866 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8867
d64a438f
LL
88682012-04-21 Leo Liu <sdl.web@gmail.com>
8869
7dd51bf1 8870 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8871
081e8d65
MV
88722012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8873
8874 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8875 filling of the last column of a table (Bug#5635).
8876 (woman-find-next-control-line): New arg, specifying an additional
8877 regexp component for the control line.
8878 (woman2-roff-buffer): Use it.
8879 (woman-break-table): New function.
8880 (woman2-TS): Use it.
8881
88822012-04-21 Chong Yidong <cyd@gnu.org>
8883
8884 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8885 (woman-horizontal-escapes, woman-negative-vertical-space)
8886 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8887 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8888
ed571ccb
SM
88892012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8890
8891 * minibuffer.el (completion-file-name-table): Complete user names.
8892
39773899
LL
88932012-04-20 Leo Liu <sdl.web@gmail.com>
8894
8895 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8896 and pcase-let*.
8897
de6ff46d
CY
88982012-04-20 Chong Yidong <cyd@gnu.org>
8899
8900 * server.el (server-execute): Respect initial-buffer-choice if it
8901 is a string and there are no files to open (Bug#2825).
8902 (server-create-window-system-frame, server-create-tty-frame):
8903 Don't switch buffers here.
2d0e8e61
CY
8904 (server-process-filter): Only try to open a window system frame if
8905 compiled with graphical support (Bug#8314).
de6ff46d 8906
54071013
DN
89072012-04-20 Dan Nicolaescu <dann@gnu.org>
8908
8909 * battery.el (battery-echo-area-format): Display remaining time
8910 for sysfs backend too (Bug#11269).
8911 (battery-linux-sysfs): Fix conditional for the charge.
8912
f30d612a
CY
89132012-04-20 Chong Yidong <cyd@gnu.org>
8914
c07a4c0b 8915 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8916 (gdb-inferior-io--init-proc): New function.
8917 (gdb-init-1): Use it.
8918 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8919 responsible for allocating a new pty and hooking it to gdb when
8920 the old pty gets an EIO due to process exit.
8921 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8922 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8923 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8924
2116e93c
EZ
89252012-04-20 Eli Zaretskii <eliz@gnu.org>
8926
8927 * window.el (window-min-size, window-sizable, window-min-delta)
8928 (window-max-delta, window--resizable, window-resizable)
8929 (window-total-size, window-full-height-p, window-full-width-p)
8930 (window-in-direction, window--resize-mini-window, window-resize)
8931 (window--resize-child-windows-normal)
8932 (window--resize-child-windows, window--resize-siblings)
8933 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8934 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8935
c07a4c0b 89362012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8937
ef24141c
SM
8938 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8939 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8940 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8941 pty process (Bug#11273).
8942 (gdb-update): New arg to suppress talking to the gdb process.
8943 (gdb-done-or-error): Use it.
8944 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8945 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8946 sentinel not being called.
8947
8948 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8949
d02766ab
CY
8950 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8951
c07a4c0b 89522012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8953
8954 * net/network-stream.el (open-network-stream): Doc fix.
8955
c07a4c0b 89562012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8957
8958 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8959
c07a4c0b 89602012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8961
8962 Ensure searching for keywords is case sensitive.
8963
8964 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8965 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8966 (c-defun-name, c-mark-function, c-cpp-define-name)
8967 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8968 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8969
ef24141c
SM
8970 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8971 Bind case-fold-search to nil.
f0f6bc35 8972
c07a4c0b 89732012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8974
8975 * mail/sendmail.el (mail-bury): Call return action with the right
8976 Rmail buffer (Bug#11242).
8977
9a864fa2
CY
8978 * server.el (server-process-filter): Handle corner case where both
8979 tty and nowait options are present (Bug#11102).
8980
539aa513
EZ
89812012-04-20 Eli Zaretskii <eliz@gnu.org>
8982
8983 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8984 (top level): Put into the executable the ident-style '$Id:' tag on
8985 windows-nt as well.
539aa513 8986
cfc7d5da
SM
89872012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8988
8989 * electric.el (electric-indent-post-self-insert-function): Check that
8990 electric-indent-mode is enabled in current buffer.
8991
5b01685c
JB
89922012-04-19 Juanma Barranquero <lekktu@gmail.com>
8993
8994 * imenu.el (imenu-progress-message): Restore; it is "used" in
8995 erc/erc-imenu.el and net/snmp-mode.el.
8996
4d6769e1
JB
89972012-04-19 Juanma Barranquero <lekktu@gmail.com>
8998
8999 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9000 (mouse-avoidance-nudge-mouse): Remove unused binding.
9001
9002 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9003
9004 * descr-text.el (describe-char):
9005 * progmodes/python.el (python-describe-symbol):
9006 Don't call `toggle-read-only', set `buffer-read-only'.
9007
9008 * imenu.el (imenu-default-goto-function): Mark unused args.
9009 (imenu-progress-message): Remove obsolete macro; all callers changed.
9010
9011 * subr.el (keymap-canonicalize): Remove unused binding.
9012 (read-passwd): Mark unused arg.
9013
9014 * tutorial.el (tutorial--display-changes): Remove unused binding.
9015 (tutorial--save-tutorial-to): Remove unused variable.
9016
9017 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9018 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9019 (package-generate-autoloads, package-menu--generate)
9020 (package-menu--find-upgrades): Remove unused bindings.
9021
9022 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9023 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9024 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9025 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9026 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9027 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9028 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9029 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9030 (cua-delete-char-rectangle): Mark unused args.
9031 (cua-align-rectangle): Remove unused binding.
9032
9033 * mail/rmail.el (compilation--message->loc)
9034 (epa--find-coding-system-for-mime-charset): Declare.
9035
9036 * net/dbus.el (dbus-register-service): Declare.
9037 (dbus-name-owner-changed-handler): Remove unused binding.
9038
9039 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9040 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9041 (nxml-scan-backward-within): Mark unused arg.
9042 (nxml-dynamic-markup-word): Remove unused binding.
9043
9044 * mouse.el (mouse-menu-major-mode-map):
9045 * emacs-lisp/authors.el (authors-scan-change-log)
9046 (authors-add-to-author-list):
9047 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9048 * emacs-lisp/smie.el (smie-auto-fill):
9049 * mail/sendmail.el (mail-bury):
9050 * mail/unrmail.el (unrmail):
9051 * net/tls.el (open-tls-stream):
9052 * textmodes/picture.el (picture-mouse-set-point):
9053 Remove unused bindings.
9054
8c8fc5df
MA
90552012-04-19 Michael Albinus <michael.albinus@gmx.de>
9056
9057 * net/tramp.el (tramp-action-password): Let-bind
9058 `enable-recursive-minibuffers' to t.
9059
a77b0ac9
SS
90602012-04-18 Sam Steingold <sds@gnu.org>
9061
9062 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9063 instead of 'string to accommodate values like [f11].
9064 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9065 * progmodes/gdb-mi.el: Likewise.
9066
12a106a9
LL
90672012-04-18 Leo Liu <sdl.web@gmail.com>
9068
9069 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9070 current buffer.
9071 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9072 LOCAL is nil.
9073
bc6494ef
CY
90742012-04-18 Chong Yidong <cyd@gnu.org>
9075
9076 * simple.el (line-move): Use forward-line if in batch mode
9077 (Bug#11053).
9078
c09c46b2
CS
90792012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9080
9081 * files.el (after-find-file): Do not try to add a final newline if
9082 the buffer is read-only (Bug#11156).
9083
5f6530ea
RS
90842012-04-17 Richard Stallman <rms@gnu.org>
9085
9086 * mail/rmail.el (rmail-start-mail):
9087 Pass (rmail-mail-return...) for the return-action.
9088 Pass (rmail-yank-current-message...) for the yank-action.
9089 (rmail-yank-current-message): New function.
9090 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9091 (rmail-reply): Likewise.
9092 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9093
9094 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9095 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9096 buffer, not newbuf.
9097
197b6f3c
JB
90982012-04-17 Juanma Barranquero <lekktu@gmail.com>
9099
9100 * server.el (server-ensure-safe-dir): Simplify.
9101
2311d8e5 91022012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9103
2311d8e5
GM
9104 * emacs-lisp/smie.el: Provide smarter auto-filling.
9105 (smie-auto-fill): New function.
9106 (smie-setup): Use it.
98fb480e 9107
2311d8e5
GM
9108 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9109
91102012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9111
9112 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9113 (comment-indent): Use it.
9114
2311d8e5 91152012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9116
9117 * ses.el: The overall change is to add cell renaming, that is
9118 setting fancy names for cell symbols other than name matching
9119 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9120 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9121 (ses-create-cell-variable): New defun.
2311d8e5 9122 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9123 (ses-relocate-formula): Relocate formulas only for cells the
9124 symbols of which are not renamed, i.e. symbols whose names do not
9125 match regexp "\\`[A-Z]+[0-9]+\\'".
9126 (ses-relocate-all): Relocate values only for cells the symbols of
9127 which are not renamed.
9128 (ses-load): Create cells variables as the (ses-cell ...) are read,
9129 in order to check row col consistency with cell symbol name only
9130 for cells that are not renamed.
9131 (ses-replace-name-in-formula): New defun.
9132 (ses-rename-cell): New defun.
4bdf2ad2 9133
fc72b15c
PO
91342012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9135
9136 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9137 New option (bug#11118).
9138 (perl-calculate-indent): Respect it.
9139
12e10e61
GM
91402012-04-17 Glenn Morris <rgm@gnu.org>
9141
9142 * dired-aux.el (dired-mark-read-string): Doc fix.
9143
30009afd
DA
91442012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9145
9146 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9147 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9148
41f03f4d
GM
91492012-04-17 Glenn Morris <rgm@gnu.org>
9150
9151 * mouse.el (mouse-drag-track):
9152 * speedbar.el (speedbar-frame-mode):
9153 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9154
f45f90f3
LL
91552012-04-16 Leo Liu <sdl.web@gmail.com>
9156
9157 * progmodes/python.el: Trivial cleanup.
9158
94ee8db5
GM
91592012-04-16 Glenn Morris <rgm@gnu.org>
9160
121b8917
GM
9161 * vc/vc.el (vc-string-prefix-p):
9162 * vc/pcvs-util.el (cvs-string-prefix-p):
9163 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9164 * mpc.el (mpc-string-prefix-p):
9165 Make all of these into obsolete aliases for string-prefix-p.
9166 Update callers.
9167 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9168
1197ecfa
GM
9169 * textmodes/two-column.el: Move custom options to the start.
9170 (frame-width): Remove compat definition.
9171 (2C-associate-buffer, 2C-dissociate):
9172 Use with-current-buffer rather than save-excursion.
9173 (2C-dissociate): Force a mode-line update.
9174 (2C-autoscroll): Use ignore-errors.
9175
099e7202
GM
9176 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9177 Autoload trivia.
9178
bf350d6a
GM
9179 * emacs-lisp/cl-extra.el (*random-state*):
9180 Remove unnecessary declaration.
9181
0e829eab
GM
9182 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9183
e3ad7552
GM
9184 * play/cookie1.el (cookie-snarf):
9185 Give an explicit error if input file cannot be read.
9186
68892d27
GM
9187 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9188
20f0c46d
GM
9189 * progmodes/perl-mode.el (c-macro-expand):
9190 Remove unnecessary autoload (it is in loaddefs.el).
9191
5a0978ce
GM
9192 * textmodes/picture.el (picture-desired-column)
9193 (picture-update-desired-column): Convert comments to doc-strings.
9194 (picture-substitute): Remove function.
9195 (picture-mode-map): Initialize in the defvar.
9196
6b955486
GM
9197 * woman.el: Remove eval-after-load for tar-mode.
9198 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9199 (woman-tar-extract-file): Autoload it.
9200
94ee8db5
GM
9201 * frame.el (automatic-hscrolling): Make this alias obsolete.
9202
177eca34
AM
92032012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9204
090bd7cb 9205 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9206 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9207 (ispell-dictionary-base-alist): Revert to original XEmacs
9208 friendly version for default. [:alpha:] will be added in
090bd7cb 9209 `ispell-set-spellchecker-params' if needed.
177eca34 9210
c505aaeb
CY
92112012-04-16 Chong Yidong <cyd@gnu.org>
9212
b19dd9d1 9213 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9214 (imagemagick-register-types): Use it.
9215 (imagemagick-types-inhibit): Add :set function. Allow new value
9216 of t to inhibit all types.
9217
9218 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9219 so we can preload it.
9220
9221 * loadup.el (fboundp): Preload regexp-opt, needed by
9222 imagemagick-register-types.
9223
60efac0f
CY
92242012-04-15 Chong Yidong <cyd@gnu.org>
9225
9226 * frame.el (scrolling): Remove nearly unused customization group.
9227
9228 * scroll-all.el (scroll-all-mode): Move to windows group.
9229
5dd1713e
CY
92302012-04-15 Chong Yidong <cyd@gnu.org>
9231
9232 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9233
e6fd457e
CY
92342012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9237 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9238
e153c136
GM
92392012-04-15 Glenn Morris <rgm@gnu.org>
9240
9241 * simple.el (process-file-side-effects): Doc fix.
9242
e6fd457e 92432012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9244
9245 * international/mule-cmds.el (set-language-environment): Doc fix.
9246
3603c3b1
JB
92472012-04-14 Juanma Barranquero <lekktu@gmail.com>
9248
9249 * server.el (server-auth-key, server-generate-key): Doc fixes.
9250 (server-get-auth-key): Doc fix. Use `string-match-p'.
9251 (server-start): Reflow docstring.
9252
e6de100c
LI
92532012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9254
9255 * server.el (server-generate-key): `called-interactively-p'
9256 requires a parameter.
9257
29734c21
MN
92582012-04-14 Michal Nazarewicz <mina86@mina86.com>
9259
9260 * server.el (server-auth-key): New variable.
75f1671a 9261 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9262 (server-start): Use the new variable and functions to allow
9263 setting a permanent server key (bug#9423).
9264
d65c9521
LL
92652012-04-14 Leo Liu <sdl.web@gmail.com>
9266
9267 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9268
5ae255c7
PE
92692012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9270
9271 Spelling fixes.
9272 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9273 Emacs uses American spelling.
9274
d5e6342e
JB
92752012-04-14 Juanma Barranquero <lekktu@gmail.com>
9276
9277 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9278 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9279 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9280 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9281
ab036cd7
SM
92822012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9283
9284 * progmodes/which-func.el (which-func-modes): Change default.
9285
35dc09a1 92862012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9287
9288 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9289 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9290
35dc09a1 92912012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9292
9293 * custom.el (custom-theme-set-variables): Doc fix.
9294
35dc09a1 92952012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9296
9297 * international/mule.el (set-auto-coding-for-load): Doc fix.
9298
35dc09a1 92992012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9300
35dc09a1
GM
9301 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9302 imenu work again for Objective C Mode. Correct the *-index values,
9303 these having been disturbed by a previous change in 2011-08.
57f845ee 9304
0de3da9f
AM
9305 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9306 Correct two search limits.
9307
35dc09a1 93082012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9309
9310 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9311
35dc09a1 93122012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9313
9314 * international/characters.el: Fix sorting.
9315
35dc09a1 93162012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9317
9318 * international/characters.el: Add more missing Latin case pairs.
9319
35dc09a1 93202012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9321
9322 * files.el (dir-locals-set-class-variables): Doc fix.
9323
35dc09a1 93242012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9325
3f1b5bf8
EZ
9326 * international/characters.el: Add set-case-syntax-pair call for
9327 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9328 counterpart. (Bug#11209)
9329
9f847f41
EZ
9330 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9331
35dc09a1 93322012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9333
9334 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9335
35dc09a1 93362012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9337
35dc09a1
GM
9338 * textmodes/ispell.el (ispell-dictionary-base-alist):
9339 Add data for Hebrew.
e2627d21 9340
35dc09a1 93412012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9342
35dc09a1
GM
9343 * net/rcirc.el (rcirc-cmd-quit):
9344 Revert 2012-03-18 change (Bug#11192).
5c14e333 9345
35dc09a1 93462012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9347
9348 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9349
35dc09a1 93502012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9351
4517fe3a
SM
9352 * minibuffer.el (completion-in-region-mode-map):
9353 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9354
b472a594
VD
93552012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9356
9357 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9358
09b95ce3
MY
93592012-04-13 Masatake YAMATO <yamato@redhat.com>
9360
9361 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9362 to allow `C-M-f' and `C-M-b' to move to the nearest path
9363 separator (bug#9511).
9364
4b63a9ca
LI
93652012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9366
9367 * avoid.el: Require cl when compiling. And also move the
9368 `provide' to the end.
9369
7b55b8bf
TV
93702012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9371
9372 * avoid.el (mouse-avoidance-banish-position): New variable.
9373 (mouse-avoidance-banish-destination): Use it (bug#10165).
9374
adedaa1f
LL
93752012-04-13 Leo Liu <sdl.web@gmail.com>
9376
9377 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9378
70e74021
KB
93792012-04-13 Ken Brown <kbrown@cornell.edu>
9380
9381 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9382 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9383 (browse-url-filename-alist): For the same reason, don't modify
9384 file:// URLs on Cygwin.
9385
e75e89ba
SM
93862012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9387
9388 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9389 the region on shift if the binding is already shifted (bug#11221).
9390
82f289a4
GM
93912012-04-12 Glenn Morris <rgm@gnu.org>
9392
9393 * mail/mailpost.el: Move to obsolete/.
9394
d333dc4c
DA
93952012-04-12 Drew Adams <drew.adams@oracle.com>
9396
9397 * imenu.el (imenu--generic-function): Ignore invisible definitions
9398 (bug#10123).
9399
0d15b5ba
VD
94002012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9401
9402 * hexl.el (hexl-bits): New variable.
9403 (hexl-options): Mention the variable in the doc string.
75f1671a 9404 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9405 (hexl-mode): Mention the new variable.
75f1671a
JB
9406 (hexl-mode, hexl-current-address, hexl-current-address):
9407 Use the displen.
0d15b5ba
VD
9408 (hexl-ascii-start-column): New function.
9409 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9410 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9411
64a440db
AM
94122012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9413
9414 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9415 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9416 the encoding, as expected by hunspell.
9417
6decb6c2
SM
94182012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9419
9420 * battery.el (battery--linux-sysfs-regexp): New const.
9421 (battery-status-function): Use it. Remove yeeloong special case.
9422 (battery-yeeloong-sysfs): Remove.
9423 (battery-echo-area-format): Remove yeeloong special case.
9424
088be6fb
SM
94252012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9426
6622e416
SM
9427 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9428 Reported by Noah Friedman.
9429
088be6fb
SM
9430 * subr.el (read-passwd): Use read-string.
9431
b49f886e
LMI
94322012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9433
9434 * vcursor.el (vcursor-move): Increase the priority of the overlay
9435 (bug#9663).
9436
a63067fc
DD
94372012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9438
9439 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9440 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9441
ac3cf14a
WS
94422012-04-11 William Stevenson <yhvh2000@gmail.com>
9443
9444 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9445 define-minor-mode (bug#10760).
9446
c4fc691b 94472012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9448
4d6769e1 9449 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9450 that directories matching `grep-find-ignored-files' won't be
9451 pruned (bug#10351).
9452
af23e2e5
CY
94532012-04-11 Chong Yidong <cyd@gnu.org>
9454
9455 * startup.el (command-line): Remove support for long-obsolete
9456 variable font-lock-face-attributes.
9457
ab7ce8c1
GM
94582012-04-11 Glenn Morris <rgm@gnu.org>
9459
9460 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9461
de8c03dc
SM
94622012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9463
9464 * window.el (window--state-get-1): Obey window-point-insertion-type.
9465
050cc68b
LB
94662012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9467
9468 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9469 to previous function when point is on the first character of a
75f1671a 9470 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9471
a38c310c
GM
94722012-04-11 Glenn Morris <rgm@gnu.org>
9473
effed0c2
GM
9474 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9475 not just file-errors.
9476
a38c310c
GM
9477 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9478 (vc-bzr-sha1): Use internal sha1.
9479
0221e323
SM
94802012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9481
9482 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9483
43956923
SG
94842012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9485
9486 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9487 that start in the middle of the line (bug#10496).
9488
6a8c9eaf
DN
94892012-04-10 Dan Nicolaescu <dann@gnu.org>
9490
9491 * battery.el (battery-linux-proc-acpi): Only one battery is
9492 discharged at a time, but that seems to confuse battery.el when
9493 computing `rate-type' for the battery not being discharged
9494 (bug#10332).
9495
1930bf5d
SM
94962012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9497
2a718f6f
SM
9498 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9499
599430d0
SM
9500 * international/quail.el: Use dolist and simplify.
9501 (quail-define-package, quail-update-keyboard-layout)
9502 (quail-define-rules): Use dolist.
9503 (quail-insert-kbd-layout, quail-get-translation): CSE.
9504
a2754b6c
SM
9505 * tmm.el: Use dolist, remove left over hook.
9506 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9507 Use dolist.
9508 (calendar-load-hook): Don't mess with it.
9509
1930bf5d
SM
9510 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9511 Use derived-mode-p. Run the diff asynchronously.
9512
9f67961c
LMI
95132012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9514
9515 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9516
2a8ce227
JB
95172012-04-10 Juanma Barranquero <lekktu@gmail.com>
9518
9519 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9520 (list-dynamic-libraries--loaded): New function.
9521 (list-dynamic-libraries--refresh): Use it.
9522
8f33b5f8
NW
95232012-04-10 Nathan Weizenbaum <nweiz@google.com>
9524
1930bf5d
SM
9525 * progmodes/python.el (python-fill-paragraph):
9526 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9527 disabled (bug#7018).
9528
b12f0439
L
95292012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9530
1930bf5d 9531 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9532 DOS/MS Windows for the Baltic languages. There are still plenty
9533 of texts written in this encoding/codepage (bug#6519).
b12f0439 9534
57c3bd01
GM
95352012-04-10 Glenn Morris <rgm@gnu.org>
9536
9537 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9538 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9539
6c3eab30
FA
95402012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9541
1930bf5d 9542 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9543 next-line "n" and previous-line "p" in order to make recentf more
9544 consistent with ibuffer, dired or org-mode (bug#9387).
9545
24d78a88
LMI
95462012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9547
bc72b5d9
LMI
9548 * image.el (put-image): Return the overlay created instead of the
9549 optional input string (bug#7834). Note that this may break code
9550 that is (for some reason or other) depending on `put-image'
9551 returning the string.
9552
bd2dba5a
LMI
9553 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9554
74beb59f
LMI
9555 * simple.el (zap-to-char): Allow zapping using input methods
9556 (bug#1580).
9557
24d78a88
LMI
9558 * textmodes/fill.el (fill-region): Leave point and mark where they
9559 were before filling (bug#5399).
9560
263f20cd
GM
95612012-04-09 Glenn Morris <rgm@gnu.org>
9562
9563 * version.el (emacs-bzr-get-version):
9564 Handle lightweight checkouts of local branches.
9565
58d1f797
AS
95662012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9567
263f20cd 9568 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9569
b4d3bc10
CY
95702012-04-09 Chong Yidong <cyd@gnu.org>
9571
9572 * custom.el (custom-variable-p): Return nil for non-symbol
9573 arguments instead of signaling an error.
9574 (user-variable-p): Obsolete alias for custom-variable-p.
9575
9576 * apropos.el (apropos-variable):
9577 * files-x.el (read-file-local-variable):
9578 * simple.el (set-variable):
9579 * woman.el (woman-mini-help):
9580 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9581
fd06db5d
GM
95822012-04-09 Glenn Morris <rgm@gnu.org>
9583
e5fcdb5e
GM
9584 * startup.el (normal-top-level): Don't look for leim-list.el
9585 in places where it will not be found. (Bug#910)
9586
fd06db5d
GM
9587 * international/mule-cmds.el (set-default-coding-systems):
9588 * files.el (normal-mode):
9589 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9590 This function was removed with ucs-tables.el in 2008.
9591
b39bb7e1
EZ
95922012-04-08 Eli Zaretskii <eliz@gnu.org>
9593
9594 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9595 ispell-encoding8-command to "-i", without a trailing space.
9596 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9597 separate command-line arguments, to specify the encoding, since
9598 that's how hunspell expects it.
9599
5c5b8e23
GM
96002012-04-08 Glenn Morris <rgm@gnu.org>
9601
9602 * loadup.el: Load bindings before cus-start.
9603 This reduces somewhat the number of "rogue" settings in emacs -Q.
9604
a1ed8b05
GM
96052012-04-07 Glenn Morris <rgm@gnu.org>
9606
9607 * version.el (emacs-bzr-get-version): New function.
dfae128a 9608 (emacs-bzr-version): New variable.
a1ed8b05
GM
9609 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9610 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9611
b142f158
EZ
96122012-04-07 Eli Zaretskii <eliz@gnu.org>
9613
dfae128a
GM
9614 * international/uni-bidi.el, international/uni-category.el:
9615 * international/uni-combining.el, international/uni-decimal.el:
9616 * international/uni-decomposition.el, international/uni-digit.el:
9617 * international/uni-lowercase.el, international/uni-mirrored.el:
9618 * international/uni-name.el, international/uni-numeric.el:
9619 * international/uni-titlecase.el, international/uni-uppercase.el:
9620 Update for Unicode 6.1.
b142f158 9621
9078ead6
EZ
96222012-04-07 Eli Zaretskii <eliz@gnu.org>
9623
9624 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9625
f23d2c7d
LMI
96262012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9627
9628 * window.el (shrink-window): Mention the `window-min-height'
9629 variable in the doc string.
9630
0a0a3573
BG
96312012-04-05 Bastien Guerry <bzg@altern.org>
9632
9633 * color.el (color-lighten-name): Fix typo.
9634
e5248ac9
SM
96352012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9636
9637 * server.el (server--on-display-p): New function.
9638 (server--on-display-p): Use it.
9639
b4243e22
GV
96402012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9641
9642 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9643 (bug#11145).
9644
305d9f44
SM
96452012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 * comint.el (comint--common-quoted-suffix): Check string boundary
9648 before comparing (bug#11158).
9649 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9650
3d439cd1
CY
96512012-04-04 Chong Yidong <cyd@gnu.org>
9652
321cc491
CY
9653 * minibuffer.el (completion-extra-properties): Doc fix.
9654
3d439cd1
CY
9655 * subr.el (delayed-warnings-hook): Doc fix.
9656
2d562c0f
DU
96572012-04-04 Daiki Ueno <ueno@unixuser.org>
9658
9659 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9660 selection (Bug#11159).
9661 (epa-insert-keys): Inform that the default public key will be
9662 exported if no key is selected.
9663
4443f204
RS
96642012-04-04 Richard Stallman <rms@gnu.org>
9665
9666 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9667
529c06b6
CY
96682012-04-03 Chong Yidong <cyd@gnu.org>
9669
9670 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9671 mail-insert-file, not its obsolete alias mail-attach-file.
9672
66b907dc
MA
96732012-04-03 Michael Albinus <michael.albinus@gmx.de>
9674
9675 * notifications.el (notifications-notify): Fix docstring.
9676
c0ea195d
GM
96772012-04-02 Glenn Morris <rgm@gnu.org>
9678
9679 * emacs-lisp/authors.el (authors-aliases): Another addition.
9680
5ca64e00
MA
96812012-04-02 Michael Albinus <michael.albinus@gmx.de>
9682
9683 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9684 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9685 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9686
42ee526b
CY
96872012-04-01 Chong Yidong <cyd@gnu.org>
9688
9689 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9690 Handle root directory properly.
9691 (copy-directory): Caller changed.
9692
9693 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9694 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9695
0b021094
GM
96962012-03-31 Glenn Morris <rgm@gnu.org>
9697
40f86458
GM
9698 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9699
7019c177
GM
9700 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9701
a1daddd6
GM
9702 * calendar/calendar.el (calendar-window-list)
9703 (calendar-hide-window): Restore. (Bug#11140)
9704 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9705
0b021094
GM
9706 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9707
40311efc
TV
97082012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9709
9710 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9711 Check if file is a symlink (Bug#10489).
9712
9713 * files.el (copy-directory): Likewise.
9714
5319014e
CY
97152012-03-30 Chong Yidong <cyd@gnu.org>
9716
9717 * image.el (imagemagick-types-inhibit)
9718 (imagemagick-register-types): Doc fix.
9719
935d1290
AM
97202012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9721
090bd7cb 9722 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9723 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9724 and treats ~word as ordinary words in pipe mode.
935d1290 9725
61c6e8fd
GM
97262012-03-30 Glenn Morris <rgm@gnu.org>
9727
9728 * tutorial.el (help-with-tutorial): Ensure local variables don't
9729 happen to make the buffer read-only. (Bug#11127)
9730
81fdff00
SM
97312012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9732
9733 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9734 (perl-calculate-indent): Return `noindent' in strings.
9735
6e7a6ec0
SS
97362012-03-28 Sam Steingold <sds@gnu.org>
9737
9738 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9739 instead of the broken adhockery which does not prevent calendar
9740 buffers from being displayed at random after exit.
9741 (calendar-window-list, calendar-hide-window): Remove the broken
9742 adhockery.
9743
fee88ca0
GM
97442012-03-28 Glenn Morris <rgm@gnu.org>
9745
9746 * replace.el (query-replace-map): Doc fix.
9747
38de3354
AS
97482012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9749
9750 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9751 contents. (Bug#11109)
9752
b973155e
SM
97532012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9754
9755 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9756 (bug#11077).
9757 (avl-tree--check, avl-tree--check-node): New funs.
9758
dcb6e7b3
MR
97592012-03-27 Martin Rudalics <rudalics@gmx.at>
9760
9761 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9762 (switch-to-prev-buffer, switch-to-next-buffer):
9763 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9764 showing a buffer already is done on the same frame.
9765
b4fa35fa
GM
97662012-03-27 Glenn Morris <rgm@gnu.org>
9767
9768 * startup.el (mail-host-address): Doc fix.
9769
f9210e18
SM
97702012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9771
9772 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9773 than 197 variables.
9774
c0bf7753
AF
97752012-03-26 Ami Fischman <ami@fischman.org>
9776
9777 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9778
33da7b16
GM
97792012-03-26 Glenn Morris <rgm@gnu.org>
9780
02243d9d
GM
9781 * files.el (save-buffers-kill-emacs): Doc fix.
9782
33da7b16
GM
9783 * startup.el (normal-top-level, command-line, command-line-1):
9784 Give them doc strings.
9785
e5a69fd0
EZ
97862012-03-25 Eli Zaretskii <eliz@gnu.org>
9787
9788 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9789 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9790
9a69676a
CY
97912012-03-25 Chong Yidong <cyd@gnu.org>
9792
4125cb8b
CY
9793 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9794 theme if it was previously enabled before (Bug#11031).
9795
dd470960
CY
9796 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9797 spec with custom-face-get-current-spec if its :shown-value is not
9798 determined yet (Bug#9337).
4125cb8b 9799 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9800
9a69676a
CY
9801 * button.el (button-at): Minor addition to docstring.
9802
6e7e90fa
SL
98032012-03-24 Simon Leinen <simon.leinen@gmail.com>
9804
9805 * vc/vc.el (vc-merge): Fix a prompt.
9806
f06e2758
CY
98072012-03-24 Chong Yidong <cyd@gnu.org>
9808
9809 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9810 point (Bug#9623).
9811
6e7e90fa
SL
9812 * button.el (button-at): Minor addition to docstring.
9813
b9d0879b
SM
98142012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * newcomment.el (comment-choose-indent): No space after BOL.
9817
e71cebb3
SS
98182012-03-22 Sam Steingold <sds@gnu.org>
9819
9820 * window.el (switch-to-prev-buffer): Revert last patch because the
9821 bug turned out to be an advertised feature (Elisp manual 28.14).
9822
335aff35
GM
98232012-03-22 Glenn Morris <rgm@gnu.org>
9824
9825 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9826 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9827
c676576a
LMI
98282012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9829
9830 * net/network-stream.el (network-stream-open-starttls): Make error
9831 message under Windows be less misleading.
9832
126f3d39
LW
98332012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9834
9835 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9836 understands (bug#9942).
9837
64fee311
CY
98382012-03-22 Chong Yidong <cyd@gnu.org>
9839
9840 * simple.el (end-of-visible-line): Handle return value of
9841 next-single-property-change properly (Bug#9371).
9842
a640d29a
KH
98432012-03-22 Kenichi Handa <handa@m17n.org>
9844
9845 * international/quail.el (quail-insert-kbd-layout): Fix previous
9846 change. To avoid unwanted bidi reordering, use
9847 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9848
39675016
DG
98492012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9850
9851 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9852 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9853 (ruby-beginning-of-indent): Be more careful with the difference
9854 between word-boundary and symbol boundary.
9855 (ruby-mode-syntax-table): Make : a symbol constituent.
9856
0a6934fc 98572012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9858
3d008e4f
SM
9859 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9860
0a6934fc
SM
98612012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9862
af67c9d7
SM
9863 * progmodes/etags.el (tags-completion-at-point-function):
9864 Improve last fix.
9865
1acad97c
SM
9866 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9867
e298b5da
SS
98682012-03-21 Sam Steingold <sds@gnu.org>
9869
9870 * progmodes/etags.el (tags-completion-at-point-function):
9871 Avoid the error when point is inside the pattern.
9872
91d82a70
JY
98732012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9874
9875 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9876 line (Bug#10855).
9877
69188b79
CY
98782012-03-21 Drew Adams <drew.adams@oracle.com>
9879
9880 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9881
99fc91fe
AK
98822012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9883
9884 * ido.el (ido-set-current-directory, ido-read-internal)
9885 (ido-choose-completion-string, ido-completion-help): Handle nil
9886 value of ido-completion-buffer (Bug#11008).
9887
087bbb4c
SS
98882012-03-21 Sam Steingold <sds@gnu.org>
9889
9890 * window.el (switch-to-prev-buffer): Do not switch to a visible
9891 window previous buffer, just like with the frame previous buffers.
9892
fb5b8aca
CY
98932012-03-21 Chong Yidong <cyd@gnu.org>
9894
9895 * faces.el (make-face, make-empty-face, copy-face):
9896 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9897 Doc fixes.
9898
dc9924b8
SM
98992012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9900
9901 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9902 (widget-complete): Remove broken use of it.
9903
f0bcceb9
CY
99042012-03-20 Chong Yidong <cyd@gnu.org>
9905
dc9924b8
SM
9906 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9907 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9908 characters.
9909
ee52ebf3
TH
99102012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9911
9912 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9913 to draw rectangles, not squares. (Regression introduced by revno
9914 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9915
4c5779ab
CY
99162012-03-18 Chong Yidong <cyd@gnu.org>
9917
9918 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9919 it is not yet defined (for temacs).
9920
15360934
LL
99212012-03-18 Leo Liu <sdl.web@gmail.com>
9922
735135f9
PE
9923 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9924 prefix.
15360934 9925
d9a8eb66
EZ
99262012-03-17 Eli Zaretskii <eliz@gnu.org>
9927
9928 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9929 (ispell-choices-win-default-height, ispell-silently-savep)
9930 (ispell-dictionary-alist, ispell-encoding8-command)
9931 (ispell-check-version, ispell-aspell-find-dictionary)
9932 (ispell-valid-dictionary-list, ispell-words-keyword)
9933 (ispell-get-word, ispell-internal-change-dictionary)
9934 (ispell-region, ispell-skip-region-list)
9935 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9936 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9937 (ispell-message-text-end, ispell-message)
9938 (ispell-buffer-local-parsing): Doc fix.
9939
f02ff80d
J
99402012-03-13 Jambunathan K <kjambunathan@gmail.com>
9941
9942 * htmlfontify.el: Add support for code block fontification for ODT
9943 export (Bug #9914).
9944 (hfy-optimisations): Define new option
9945 `body-text-only'
9946 (hfy-fontify-buffer): Honor above setting.
9947 (hfy-begin-span, hfy-end-span): New routines factored out form
9948 `hfy-fontify-buffer'.
9949 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9950 that permit insertion of custom tags.
9951 (hfy-fontify-buffer): Use above handlers.
9952 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9953 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9954 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9955 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9956 bind a special variable `hfy-user-sheet-assoc'.
9957 (htmlfontify-string): New defun.
9958 (hfy-compile-face-map): Make sure that the last char in the
9959 buffer is correctly fontified.
9960 (hfy-face-resolve-face): Whitespace only change.
9961
9ac7a13f
EZ
99622012-03-17 Eli Zaretskii <eliz@gnu.org>
9963
9964 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9965 message more clear.
9966
e2b5bdd7
LL
99672012-03-16 Leo Liu <sdl.web@gmail.com>
9968
9969 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9970
2e492df3
AM
99712012-03-16 Alan Mackenzie <acm@muc.de>
9972
9973 Further optimise the handling of large macros.
9974
9975 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9976 limit to a call of `c-literal-limits'.
9977 (c-determine-+ve-limit): New function.
dc9924b8
SM
9978 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9979 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9980 In CASE 5B, restrict a search limit to 500.
9981 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9982
9983 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9984 Restrict macro bounds to +-500 from after-change's BEG END.
9985
50e94f0c
LL
99862012-03-16 Leo Liu <sdl.web@gmail.com>
9987
9988 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9989
6f09f6ed
AH
99902012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9991
9992 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9993 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9994
c7e73d51
GM
99952012-03-16 Glenn Morris <rgm@gnu.org>
9996
da986230
GM
9997 * view.el (view-buffer, view-buffer-other-window)
9998 (view-buffer-other-frame): Doc fixes re special mode-class.
9999
0835f01e
GM
10000 * subr.el (eval-after-load): If named feature is provided not from
10001 a file, run after-load forms. (Bug#10946)
10002
c7e73d51
GM
10003 * calendar/calendar.el (calendar-insert-at-column):
10004 Handle non-unit-width characters a bit better. (Bug#10978)
10005
3f2eafd1
CY
100062012-03-15 Chong Yidong <cyd@gnu.org>
10007
10008 * emacs-lisp/ring.el (ring-extend): New function.
10009 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10010
10011 * comint.el (comint-read-input-ring)
10012 (comint-add-to-input-history): Grow comint-input-ring lazily.
10013
103af3fe
SM
100142012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10015
663b1677
SM
10016 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10017 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10018
103af3fe
SM
10019 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10020 (imenu-add-to-menubar): Don't add a redundant index.
10021 (imenu-update-menubar): Handle a dynamically composed keymap.
10022
899cb7cb
KY
100232012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10024
10025 * mail/sendmail.el (mail-encode-header):
10026 Bind rfc2047-encode-encoded-words to nil.
10027
3809f91d
GM
100282012-03-13 Glenn Morris <rgm@gnu.org>
10029
10030 * calendar/calendar.el (calendar-string-spread):
10031 Handle non-unit-width characters a bit better. (Bug#10978)
10032
9e345a01
LL
100332012-03-13 Leo Liu <sdl.web@gmail.com>
10034
10035 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10036 directory and file as argument (Bug#10822).
10037
4a07df36
KS
100382012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10039
10040 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10041 For dynamically generated code, follow $PC.
10042 (gdb-disassembly-handler-custom): Handle no function name case.
10043
4aaa9356
TL
100442012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10045
10046 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10047 * emulation/ws-mode.el (ws-query-replace):
10048 * sort.el (sort-regexp-fields):
10049 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10050
225979da
SM
100512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10052
10053 * dabbrev.el: Fix cycle completion order (bug#10963).
10054 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10055 (dabbrev-completion): Don't use an obarray; provide
10056 a cycle-sort-function.
10057
e2f1fdab
LL
100582012-03-12 Leo Liu <sdl.web@gmail.com>
10059
dc9924b8 10060 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10061 (kill-do-not-save-duplicates): Doc fix.
10062
b19490ed
SM
100632012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * dabbrev.el: Fix cycle completion (bug#10963).
10066 Use lexical binding and wrap to 80 columns.
10067 (dabbrev-completion): Delay computing the list of completions.
10068
4b05d722
KH
100692012-03-12 Kenichi Handa <handa@m17n.org>
10070
10071 * international/quail.el (quail-insert-kbd-layout): Surround each
10072 row by LRO and PDF instead of inserting many LRMs. Pad the left
10073 and right of each non-spacing marks. Insert invisible space
10074 between lower and upper characters to prevent composition.
10075
dbbc2e69
SM
100762012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10077
10078 * minibuffer.el (minibuffer-complete): Don't get confused when the
10079 function is run twice via different commands (bug#10958).
10080 (complete-with-action): Fix docstring.
10081
292112ed
CY
100822012-03-12 Chong Yidong <cyd@gnu.org>
10083
5d1ac394
CY
10084 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10085 (nxml-completion-at-point-function): New function.
10086 (nxml-mode): Use it.
10087 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10088
292112ed
CY
10089 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10090 Load generated autoloads file before byte compiling (Bug#10970).
10091 (package--make-autoloads-and-compile): New helper fun.
10092
4098f8f7
CS
100932012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10094
10095 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10096
8f754691
MA
100972012-03-11 Michael Albinus <michael.albinus@gmx.de>
10098
10099 * autorevert.el (auto-revert-handler): Ensure, that
10100 file-readable-p is applied only for local files or in
10101 auto-revert-tail-mode.
10102
e29ab36b
AS
101032012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10104
dbbc2e69
SM
10105 * server.el (server-eval-at): Handle non-tcp connections.
10106 Decode result string.
ad0bf5b6 10107
e29ab36b
AS
10108 * server.el (server-msg-size): New constant.
10109 (server-reply-print): New function.
10110 (server-eval-and-print): Use it.
10111 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10112 Handle -print-nonl.
10113
de5939ba
CS
101142012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10115
10116 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10117 (Bug#10987).
10118
0c93eabf
CY
101192012-03-11 Chong Yidong <cyd@gnu.org>
10120
397a688f
CY
10121 * simple.el (goto-line): Doc fix (Bug#9938).
10122
2cc775f9
CY
10123 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10124
0c93eabf
CY
10125 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10126 when finished (Bug#10963).
10127
c491fa41
MR
101282012-03-11 Martin Rudalics <rudalics@gmx.at>
10129
10130 * window.el (split-window-below): Fix bug in case where
10131 split-window-keep-point is nil (Bug#10971).
10132
300e8fa5
JL
101332012-03-11 Juri Linkov <juri@jurta.org>
10134
10135 * replace.el (replace-highlight): Set isearch-word to nil
10136 unconditionally. (Bug#10887)
10137
dbf6c5a1
EZ
101382012-03-10 Eli Zaretskii <eliz@gnu.org>
10139
10140 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10141 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10142 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10143 (mairix-widget-create-query): Add usage information about mairix
10144 search forms: negating words, searching for substrings, etc.
10145
b9e501de
JP
101462012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10147
10148 * international/fontset.el (font-encoding-alist): Add an entry for
10149 ksx1001 (Bug#5667).
10150
92795c91
RS
101512012-03-10 Richard Stallman <rms@gnu.org>
10152
1694e6c1
RS
10153 * mail/sendmail.el (mail-encode-header):
10154 Set rfc2047-encode-encoded-words.
10155
607e8555
RS
10156 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10157
de3bc99a
RS
10158 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10159 view buffer means not swapped.
10160 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10161 (rmail-write-region-annotate): Error if real text has disappeared.
10162
92795c91
RS
10163 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10164
699bd04e
CY
101652012-03-10 Chong Yidong <cyd@gnu.org>
10166
10167 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10168 * emulation/cua-base.el (cua--init-keymaps):
10169 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10170
570a1714
MR
101712012-03-10 Martin Rudalics <rudalics@gmx.at>
10172
dbbc2e69
SM
10173 * speedbar.el (speedbar-unhighlight-one-tag-line):
10174 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10175
82dcf4e4
CY
101762012-03-10 Chong Yidong <cyd@gnu.org>
10177
7a2c7ca7
CY
10178 * minibuffer.el (completion-in-region, completion-help-at-point):
10179 Give the completion field overlay a high priority (Bug#6830).
10180
82dcf4e4
CY
10181 * dired.el (dired-goto-file): Recognize absolute file name
10182 listings (Bug#7126).
10183 (dired-goto-file-1): New helper function.
10184 (dired-toggle-read-only): Inhibit warnings.
10185
052e28ac
MA
101862012-03-09 Michael Albinus <michael.albinus@gmx.de>
10187
75f1671a 10188 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10189 there are no properties.
10190
95d5e396
LL
101912012-03-09 Leo Liu <sdl.web@gmail.com>
10192
10193 * savehist.el (savehist-printable): Stricter check for string
10194 value (Bug#10937).
10195
3f018d6d
EZ
101962012-03-09 Eli Zaretskii <eliz@gnu.org>
10197
dbbc2e69
SM
10198 * mail/smtpmail.el (smtpmail-send-it):
10199 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10200 valid mbox format.
10201
f7fd3d79
GM
102022012-03-09 Glenn Morris <rgm@gnu.org>
10203
10204 * files.el (dir-locals-find-file):
10205 Don't check result is regular, readable.
10206 (dir-locals-read-from-file): Demote errors.
10207
6ff6e72f
EZ
102082012-03-08 Eli Zaretskii <eliz@gnu.org>
10209
dbbc2e69
SM
10210 * international/quail.el (quail-insert-kbd-layout):
10211 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10212 layout cell, to prevent their reordering by bidi display engine.
10213 For details, see the discussion in
10214 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10215
9cec7834
AM
102162012-03-08 Alan Mackenzie <acm@muc.de>
10217
10218 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10219 the starting position; make it extend the marked region when
10220 invoked repeatedly - all under appropriate circumstances.
10221 Fixes bugs #5525, #10906.
10222
9a40b8d4
GM
102232012-03-08 Glenn Morris <rgm@gnu.org>
10224
10225 * files.el (locate-dominating-file, dir-locals-find-file):
10226 Undo 2012-03-06 change.
10227
7a08ed35
EZ
102282012-03-07 Eli Zaretskii <eliz@gnu.org>
10229
dbbc2e69
SM
10230 * international/quail.el (quail-help):
10231 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10232 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10233 for the reason.
10234
5aca4f71 102352012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10236
10237 Avoid superfluous registering of signals. (Bug#10807)
10238
10239 * notifications.el (notifications-on-action-object)
10240 (notifications-on-close-object): New defvars.
10241 (notifications-on-action-signal, notifications-on-closed-signal):
10242 Unregister the signal if not needed any longer.
10243 (notifications-notify): Register `notifications-action-signal' or
10244 `notifications-closed-signal', if :on-action or :on-close has been
10245 passed as argument.
10246
78e8b10a
CY
102472012-03-07 Chong Yidong <cyd@gnu.org>
10248
10249 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10250 non-X platforms.
10251
69481eb8
GM
102522012-03-06 Glenn Morris <rgm@gnu.org>
10253
10254 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10255 (x-disown-selection-internal, x-get-selection-internal):
10256 Doc fix (add arglist signatures). (Bug#10783)
10257
133b8e11
KS
102582012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10259
10260 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10261 Handle breakpoints with no "type".
10262
99a83064
GM
102632012-03-06 Glenn Morris <rgm@gnu.org>
10264
10265 * files.el (locate-dominating-file): Add optional predicate argument.
10266 (dir-locals-find-file): Make use of above change.
10267
17798e78
TTN
102682012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10269
10270 * info.el (Info-insert-dir): Also try "dir.gz".
10271
eb182446
GM
102722012-03-06 Glenn Morris <rgm@gnu.org>
10273
8f2114ee
GM
10274 * files.el (dir-locals-find-file):
10275 Ignore non-readable or non-regular files. (Bug#10928)
10276
eb182446
GM
10277 * files.el (locate-dominating-file): Doc fix.
10278
24679323
AS
102792012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10280
10281 * calendar/calendar.el (calendar-set-mode-line):
10282 `getenv' returns a string. (Bug#10951)
10283
01d972a9
LL
102842012-03-05 Leo Liu <sdl.web@gmail.com>
10285
109aa8a9
LL
10286 * simple.el (backward-delete-char-untabify): Constrain point to
10287 field (Bug#10939).
10288
01d972a9
LL
10289 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10290
10607bea
CY
102912012-03-05 Chong Yidong <cyd@gnu.org>
10292
10293 * simple.el (count-words): If called from Lisp, return the word
10294 count, for symmetry with `count-lines'. Arglist changed.
10295 (count-words--message): Args changed. Consolidate counting code
10296 from count-words and count-words-region.
10297 (count-words-region): Caller changed.
10298 (count-lines-region): Make it an obsolete alias.
10299
5dd11cfe
TH
103002012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10301
10302 * saveplace.el (save-place-to-alist)
10303 (save-place-ignore-files-regexp): Allow value nil to disable this
10304 feature.
10305
c349f4e6
CY
103062012-03-04 Chong Yidong <cyd@gnu.org>
10307
10308 * faces.el (face-spec-reset-face): For the default face, reset the
10309 attributes to default values (Bug#10748).
10310
e627be4c
LMI
103112012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10312
10313 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10314 previous patch: Check `message-send-mail-function', and not the
10315 default function (bug#10897).
10316
ebeabff4
MA
103172012-03-04 Michael Albinus <michael.albinus@gmx.de>
10318
a41a6cf4
MA
10319 * notifications.el (notifications-on-action-signal)
10320 (notifications-on-closed-signal): Check for unique service name of
10321 incoming event. Fix error in removing entry.
ebeabff4 10322 (top): Register for signals with wildcard service name.
a41a6cf4 10323 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10324
c1ca42b4
CY
103252012-03-04 Chong Yidong <cyd@gnu.org>
10326
dc9924b8 10327 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10328
ea16568d
GM
103292012-03-04 Glenn Morris <rgm@gnu.org>
10330
10331 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10332 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10333 (expand-abbrev, define-abbrev-table): Doc fixes.
10334
fbae4637
LMI
103352012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10336
10337 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10338 `message-default-send-mail-function' and not `send-mail-function'
10339 when doing the prompting for `sendmail-query-once' before sending
10340 in Message buffers (bug#10897).
10341
a1e7225c
LMI
10342 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10343 This is inconsistent with all the other stream functions, which leave
10344 the setting up to the higher levels (if so wanted) (bug#10931).
10345
56d093a9
AM
103462012-03-02 Alan Mackenzie <acm@muc.de>
10347
10348 Depessimize the handling of very large macros.
10349
10350 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10351 (c-macro-cache-syntactic): New variables to implement a one
10352 element macro cache.
10353 (c-invalidate-macro-cache): New function.
10354 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10355 Adapt to use the new cache.
10356 (c-state-safe-place): Use better the cache of safe positions.
10357 (c-state-semi-nonlit-pos-cache)
10358 (c-state-semi-nonlit-pos-cache-limit):
10359 New variables for...
10360 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10361 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10362 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10363 Use c-state-semi-safe-place.
56d093a9 10364
dbbc2e69
SM
10365 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10366 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10367
817e5c3d
MA
103682012-03-02 Michael Albinus <michael.albinus@gmx.de>
10369
dbbc2e69
SM
10370 * jka-compr.el (jka-compr-call-process):
10371 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10372 not remote.
10373
a032a702
MA
103742012-03-01 Michael Albinus <michael.albinus@gmx.de>
10375
10376 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10377 access of FILE2, if FILE1 does not exist.
10378
99a54f21
MA
10379 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10380 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10381
10382 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10383 Add "PAGER=" to `process-environment'.
10384
f6561e1f
MM
103852012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10386
10387 * progmodes/sql.el: Bug fix
10388 (sql-get-login-ext): Save login values in globals.
10389 (sql-get-login): Use new version of `sql-get-login-ext'.
10390 (sql-interactive-mode): Set global `sql-connection' to nil.
10391 (sql-connect): Set global values for connection.
10392 (sql-product-interactive): Save global values as buffer local.
10393
2d44d9cc
LL
103942012-02-29 Leo Liu <sdl.web@gmail.com>
10395
10396 * abbrev.el (define-abbrevs): Reset sys to nil.
10397
96b49301 103982012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10399
bf7f9bc5
JB
10400 * files.el (file-equal-p): Rename from `files-equal-p'.
10401 Return nil when one or both files don't exist.
96b49301 10402 (file-subdir-of-p): Now only top directory must exists,
10403 return nil if it doesn't.
bf7f9bc5
JB
10404 (copy-directory): No need to test with `file-subdir-of-p' after
10405 creating dir.
10406 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10407 to `file-equal-p'.
96b49301 10408
44e97401
GM
104092012-02-28 Glenn Morris <rgm@gnu.org>
10410
10411 * shell.el (shell-mode):
10412 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10413 * play/landmark.el (landmark-font-lock-face-O):
10414 * play/handwrite.el (handwrite):
10415 * play/gomoku.el (gomoku-O):
10416 * net/browse-url.el (browse-url-browser-display):
10417 * international/mule.el (define-charset):
10418 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10419 * filesets.el (filesets-find-file-delay):
10420 * eshell/em-xtra.el (eshell-xtra):
10421 * eshell/em-unix.el (eshell-grep):
10422 * emulation/viper.el (viper-mode):
10423 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10424 * emacs-lisp/easymenu.el (easy-menu-define):
10425 * calendar/timeclock.el (timeclock-use-display-time):
10426 * bs.el (bs-mode):
10427 * bookmark.el (bookmark-save-flag):
10428 Doc fix (standardize possessive apostrophe usage).
10429
c98c6276
CY
104302012-02-27 Chong Yidong <cyd@gnu.org>
10431
bf7f9bc5
JB
10432 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10433 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 10434
c98c6276
CY
10435 * font-lock.el (font-lock-specified-p): Rename from
10436 font-lock-spec-present. Callers changed.
10437
9c62cd04 104382012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 10439
bf7f9bc5
JB
10440 * emacs-lisp/package.el (package-compute-transaction):
10441 Handle holding a package version to t in package-load-list.
8ac9e529 10442
530739c9
MA
104432012-02-26 Michael Albinus <michael.albinus@gmx.de>
10444
10445 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10446 (tramp-get-inode, tramp-get-device): Use cached values.
10447
487915d7
AM
104482012-02-26 Alan Mackenzie <acm@muc.de>
10449
10450 Check there is a font-lock specification before doing initial
10451 fontification.
10452
10453 * font-core.el (font-lock-mode): Move the conditional from
10454 :after-hook to font-lock-initial-fontify.
10455 (font-lock-default-function): Move the check for a specification
10456 to font-lock-spec-present.
10457
dc9924b8 10458 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10459 (font-lock-spec-present): New function.
10460
4fd96557
JB
104612012-02-26 Jim Blandy <jimb@red-bean.com>
10462
10463 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10464 (gdb-send): Apply it to the operand of the '-interpreter-exec
10465 console' command, so that we can pass arguments with (say) quotes
10466 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10467
9a4888c0
CY
104682012-02-26 Chong Yidong <cyd@gnu.org>
10469
07498861
CY
10470 * help-fns.el (describe-function-1): Clarify description of
10471 remapping (Bug#10844).
10472
9a4888c0
CY
10473 * files.el (files-equal-p): Doc fix.
10474 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10475 and quit the loop once a mismatch is found.
10476
ea8fb88d
JB
104772012-02-25 Juanma Barranquero <lekktu@gmail.com>
10478
10479 * bs.el (bs--show-with-configuration): Don't throw an error
10480 if the window cannot be split; otherwise, subsequent calls to
10481 bs-show fail, restoring a stale window config. (Bug#10882)
10482
525795c1
JD
104832012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10484
10485 * term/ns-win.el (global-map): Bind ns-drag-file to
10486 ns-find-file (Bug#5855, Bug#10050).
10487
f008086f
AS
104882012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10489
10490 * calendar/parse-time.el (parse-time-string): Allow extractor to
10491 return nil.
10492
a3fcfa99
MA
104932012-02-25 Michael Albinus <michael.albinus@gmx.de>
10494
91027d08
JB
10495 * net/tramp.el (tramp-file-name-for-operation):
10496 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10497
10498 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10499 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10500 Add COPY-CONTENTS argument.
a3fcfa99 10501
67b0de11
CY
105022012-02-25 Chong Yidong <cyd@gnu.org>
10503
10504 Add custom groups for VC backends, for consistency with vc-bzr.
10505
10506 * vc/vc-arch.el (vc-arch):
10507 * vc/vc-cvs.el (vc-cvs):
10508 * vc/vc-git.el (vc-git):
10509 * vc/vc-hg.el (vc-hg):
10510 * vc/vc-mtn.el (vc-mtn):
10511 * vc/vc-rcs.el (vc-rcs):
10512 * vc/vc-sccs.el (vc-sccs):
10513 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10514 All relevant defcustoms reassigned.
10515
3c9dfce6
CY
105162012-02-25 Chong Yidong <cyd@gnu.org>
10517
1339bf43
CY
10518 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10519
3c9dfce6
CY
10520 * term/x-win.el (x-initialize-window-system): Reduce default for
10521 x-selection-timeout to 5 seconds (Bug#8869).
10522
25b2e303 105232012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10524
ec70a47d
GM
10525 * files.el (files-equal-p, file-subdir-of-p): New functions.
10526 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10527 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10528 * dired-aux.el (dired-copy-file-recursive): Same.
10529 (dired-create-files): Modify destination when source is equal to
10530 dest when copying files.
53a46cd0 10531 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10532
914260cd
MA
105332012-02-24 Michael Albinus <michael.albinus@gmx.de>
10534
10535 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10536 (Bug#10874)
10537
2cb228f7
AM
105382012-02-23 Alan Mackenzie <acm@muc.de>
10539
10540 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10541 parameter "after-hook:" to allow the expansion to run code after
10542 the execution of the mode hooks.
10543
10544 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10545 from font-lock-mode-internal.
2cb228f7 10546
91027d08 10547 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10548 :after-hook.
10549
8f0fde21
SM
105502012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10551
3e88618b
SM
10552 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10553 (completion--cache-all-sorted-completions): New function.
10554 (completion-all-sorted-completions): Use it.
10555 (completion--do-completion, minibuffer-force-complete):
10556 Use it to re-instate the flush hook.
10557
8f0fde21
SM
10558 * icomplete.el (icomplete-completions): Replace last fix with a better
10559 one (bug#10850).
10560
8e911f6f
DG
105612012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10562
10563 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10564 when it might call us back infinitely (bug#10797).
10565
49fe4321
GM
105662012-02-23 Glenn Morris <rgm@gnu.org>
10567
10568 * minibuffer.el (completion-category-overrides): Doc fix.
10569
b291b572
SM
105702012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10571
10572 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10573 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10574
31a9ef2e
GM
105752012-02-23 Glenn Morris <rgm@gnu.org>
10576
5e6e6794 10577 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10578 (authors-obsolete-files-regexps, authors-ignored-files)
10579 (authors-ambiguous-files, authors-renamed-files-alist):
10580 Add more entries.
10581
0bd1e074
JL
105822012-02-23 Juri Linkov <juri@jurta.org>
10583
10584 * isearch.el (isearch-occur): Sync interactive spec with occur's
10585 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10586
b617673c
JL
10587 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10588
19e9789e
JL
105892012-02-22 Juri Linkov <juri@jurta.org>
10590
10591 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10592 (ucs-insert): Doc fix. Check for hex digits in the string.
10593 Don't display `nil' in the error message. (Bug#10857)
10594
f41ce09d
AM
105952012-02-22 Alan Mackenzie <acm@muc.de>
10596
7a71b18d 10597 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10598
ac2eceee
GM
105992012-02-22 Glenn Morris <rgm@gnu.org>
10600
10601 * ffap.el (ffap-c-path):
10602 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10603
abd1f678
CY
106042012-02-22 Chong Yidong <cyd@gnu.org>
10605
10606 * custom.el (load-theme): Doc fix.
10607
f25aef2e
GM
106082012-02-22 Glenn Morris <rgm@gnu.org>
10609
10610 * dired-x.el (dired-guess-shell-alist-default):
10611 Remove escape sequences from nroff output. (Bug#172)
10612
5f8dc2ca
GM
106132012-02-21 Glenn Morris <rgm@gnu.org>
10614
6ff86ec4
GM
10615 * vc/emerge.el (emerge-defvar-local):
10616 Set `permanent-local' property rather than unused `preserved'.
10617
be3223a3 10618 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10619 (picture-mode-map): Use it. (Bug#10860)
10620 (picture-mode): Doc fix.
10621
3fe58f4f
JB
106222012-02-21 Juanma Barranquero <lekktu@gmail.com>
10623
10624 * newcomment.el (uncomment-region-default): Remove unused binding.
10625
f9a998c3
GM
106262012-02-21 Glenn Morris <rgm@gnu.org>
10627
10628 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10629 (picture-self-insert, picture-tab-chars): Doc fix.
10630 (picture-mode-map): Fix C-a, C-e.
10631
c6029348
GM
106322012-02-20 Glenn Morris <rgm@gnu.org>
10633
10634 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10635
ab1ce9d7
LL
106362012-02-20 Leo Liu <sdl.web@gmail.com>
10637
10638 * icomplete.el (icomplete-completions): Check FROM arg before
10639 passing to substring (Bug#10850).
10640
0fd40f89
CY
106412012-02-19 Chong Yidong <cyd@gnu.org>
10642
10643 * comint.el: Require ansi-color.
10644 (comint-output-filter-functions): Add ansi-color-process-output.
10645
10646 * ansi-color.el: Don't set comint-output-filter-functions; it is
10647 now in the initial value defined in comint.el.
10648 (ansi-color-apply-face-function): New variable.
10649 (ansi-color-apply-on-region): Use it.
10650 (ansi-color-apply-overlay-face): New function.
10651
10652 * shell.el (shell): No need to require ansi-color.
10653 (shell-mode): Use ansi-color-apply-face-function to highlight
10654 color escapes using font-lock-face property (Bug#10835).
10655
20af2394
CY
106562012-02-19 Chong Yidong <cyd@gnu.org>
10657
10658 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10659 mode-line formats (Bug#10839).
10660
e23a3fbe
GM
106612012-02-18 Glenn Morris <rgm@gnu.org>
10662
b474519e
GM
10663 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10664
10665 * mail/undigest.el (unforward-rmail-message): Doc fix.
10666
e23a3fbe
GM
10667 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10668
57939ff4
EZ
106692012-02-18 Eli Zaretskii <eliz@gnu.org>
10670
10671 * international/characters.el (script-list): Sync with the latest
10672 Unicode Character Database.
10673
0c23686e
AS
106742012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10675
10676 * international/titdic-cnv.el: Remove duplicate coding tag.
10677 * language/cham.el: Likewise.
10678 * language/tai-viet.el: Likewise.
10679
6818b449
GM
106802012-02-18 Glenn Morris <rgm@gnu.org>
10681
10682 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10683 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10684 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10685 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10686 * calendar/holidays.el (holiday-bahai-holidays)
10687 (calendar-holidays, list-holidays):
10688 Use utf-8 Bahá'í in doc-strings, menus, etc.
10689
0311a3fc
TH
106902012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10691
10692 * saveplace.el (save-place-ignore-files-regexp): New variable
10693 allowing for excluding files from saving their location of point.
10694 The default value matches the temporary commit message editing
10695 files from Git, SVN, Bazaar, and Mercurial.
10696 (save-place-to-alist): Use it.
10697
d209e2fb 106982012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10699 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10700
10701 * newcomment.el (uncomment-region-default): Don't leave extra space
10702 when an arg is provided (bug#8150).
10703
ee0ce425
TZ
107042012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10705
eb864a71 10706 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10707
95ddf442
GM
107082012-02-17 Glenn Morris <rgm@gnu.org>
10709
10710 * net/socks.el: Require network-stream. (Bug#10599)
10711
48dd1e39 107122012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10713
10714 * international/charprop.el:
10715 * international/uni-name.el:
10716 * international/uni-old-name.el:
10717 * international/uni-comment.el: Regenerate.
10718
d68cd087
GM
107192012-02-16 Glenn Morris <rgm@gnu.org>
10720
10721 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10722 Interactively in calendar buffer, give an error if not on a date.
10723
13932042
GM
107242012-02-15 Glenn Morris <rgm@gnu.org>
10725
10726 * shell.el (shell-delimiter-argument-list):
10727 Revert 2011-02-17 change. (Bug#8027)
10728
c3a70e2b
CY
107292012-02-15 Chong Yidong <cyd@gnu.org>
10730
60236b0d
CY
10731 * minibuffer.el (completion-at-point-functions): Doc fix.
10732
c3a70e2b
CY
10733 * custom.el (defcustom): Doc fix; note use of defvar.
10734
9f26dc24
GM
107352012-02-15 Glenn Morris <rgm@gnu.org>
10736
10737 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10738 Doc fixes.
10739
6546b134
GM
107402012-02-14 Glenn Morris <rgm@gnu.org>
10741
10742 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10743
d29b2b4c
LI
107442012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10745
10746 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10747 way the ports list is computed.
835bdcba
LI
10748 (smtpmail-query-smtp-server): Prompt the user for a port number if
10749 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10750
08dcdbc9
TZ
107512012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10752
10753 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10754
2605051a
GM
107552012-02-13 Glenn Morris <rgm@gnu.org>
10756
10757 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10758
7ee99f32
TZ
107592012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10760
10761 * net/gnutls.el (gnutls-trustfiles): New variable.
10762 (gnutls-negotiate): Use it.
10763
5f0af64f
LI
107642012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10765
10766 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10767 does its stuff if Gnus is running.
10768
c14fcc95
AM
107692012-02-13 Alan Mackenzie <acm@muc.de>
10770
10771 Fix a loop in c-set-fl-decl-start.
10772
7a71b18d 10773 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10774 c-backward-syntactic-ws actually moves backwards.
10775
142b4d90
LL
107762012-02-13 Leo Liu <sdl.web@gmail.com>
10777
10778 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10779 beginning so that all \C-o chars are removed.
10780
fa9958a6
TZ
107812012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10782
dc9924b8 10783 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10784
0bc5886a
AM
107852012-02-12 Alan Mackenzie <acm@muc.de>
10786
10787 Fix infinite loop with long macros.
4d6769e1 10788 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10789
d4bd55e7
CY
107902012-02-12 Chong Yidong <cyd@gnu.org>
10791
10792 * window.el (display-buffer): Doc fix (Bug#10785).
10793
66f3fe22
GM
107942012-02-12 Glenn Morris <rgm@gnu.org>
10795
bd7da63e
GM
10796 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10797 (x-disown-selection-internal, x-get-selection-internal):
10798 Sync docs with the xselect.c versions.
10799
66f3fe22
GM
10800 * allout-widgets.el: Add missing license notice.
10801
3e0d2fa7
GM
108022012-02-11 Glenn Morris <rgm@gnu.org>
10803
cfecdf09
GM
10804 * select.el (x-get-selection-internal, x-own-selection-internal)
10805 (x-disown-selection-internal):
10806 * x-dnd.el (x-get-selection-internal): Update declarations.
10807
6d216d7f
GM
10808 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10809
2bed3f04
GM
10810 * window.el (window-sides-slots):
10811 * tool-bar.el (tool-bar-position):
10812 * term/xterm.el (xterm-extra-capabilities):
10813 * ses.el (ses-self-reference-early-detection):
10814 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10815 (verilog-auto-wire-type)
10816 (verilog-auto-delete-trailing-whitespace)
10817 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10818 (verilog-auto-tieoff-declaration):
10819 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10820 (sql-oracle-statement-starters, sql-oracle-scan-on):
10821 * progmodes/prolog.el (prolog-align-comments-flag)
10822 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10823 (prolog-left-indent-regexp, prolog-paren-indent-p)
10824 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10825 (prolog-types, prolog-mode-specificators)
10826 (prolog-determinism-specificators, prolog-directives)
10827 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10828 (prolog-electric-dot-flag)
10829 (prolog-electric-dot-full-predicate-template)
10830 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10831 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10832 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10833 (prolog-program-switches, prolog-prompt-regexp)
10834 (prolog-debug-on-string, prolog-debug-off-string)
10835 (prolog-trace-on-string, prolog-trace-off-string)
10836 (prolog-zip-on-string, prolog-zip-off-string)
10837 (prolog-use-standard-consult-compile-method-flag)
10838 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10839 (prolog-imenu-max-lines, prolog-info-predicate-index)
10840 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10841 (prolog-char-quote-workaround):
10842 * progmodes/cc-vars.el (c-defun-tactic):
10843 * net/tramp.el (tramp-encoding-command-interactive)
10844 (tramp-local-end-of-line):
10845 * net/soap-client.el (soap-client):
10846 * net/netrc.el (netrc-file):
10847 * net/gnutls.el (gnutls):
10848 * minibuffer.el (completion-category-overrides)
10849 (completion-cycle-threshold)
10850 (completion-pcm-complete-word-inserts-delimiters):
10851 * man.el (Man-name-local-regexp):
10852 * mail/feedmail.el (feedmail-display-full-frame):
10853 * international/characters.el (glyphless-char-display-control):
10854 * eshell/em-ls.el (eshell-ls-date-format):
10855 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10856 (lisp-lambda-list-keyword-parameter-indentation)
10857 (lisp-lambda-list-keyword-parameter-alignment):
10858 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10859 * dired-x.el (dired-omit-verbose):
10860 * cus-theme.el (custom-theme-allow-multiple-selections):
10861 * calc/calc.el (calc-highlight-selections-with-faces)
10862 (calc-lu-field-reference, calc-lu-power-reference)
10863 (calc-note-threshold):
10864 * battery.el (battery-mode-line-limit):
10865 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10866 (archive-7z-update):
10867 * allout.el (allout-prefixed-keybindings)
10868 (allout-unprefixed-keybindings)
10869 (allout-inhibit-auto-fill-on-headline)
10870 (allout-flattened-numbering-abbreviation):
10871 * allout-widgets.el (allout-widgets-auto-activation)
10872 (allout-widgets-icons-dark-subdir)
10873 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10874 (allout-widgets-theme-dark-background)
10875 (allout-widgets-theme-light-background)
10876 (allout-widgets-item-image-properties-emacs)
10877 (allout-widgets-item-image-properties-xemacs)
10878 (allout-widgets-run-unit-tests-on-load)
10879 (allout-widgets-time-decoration-activity)
10880 (allout-widgets-hook-error-post-time)
10881 (allout-widgets-track-decoration):
10882 Add missing :version tags to new defcustoms and defgroups.
10883
5fec1b8e
GM
10884 * progmodes/sql.el (sql-ansi-statement-starters)
10885 (sql-oracle-statement-starters): Add custom type.
10886
3e0d2fa7
GM
10887 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10888 (prolog-system-version): Give it a type.
10889
90b671e2
EZ
108902012-02-11 Eli Zaretskii <eliz@gnu.org>
10891
10892 * term/pc-win.el (x-select-text, x-selection-owner-p)
10893 (x-own-selection-internal, x-disown-selection-internal)
10894 (x-get-selection-internal): Sync doc strings and argument lists
10895 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10896
5eac0c02
LL
108972012-02-11 Leo Liu <sdl.web@gmail.com>
10898
10899 * progmodes/python.el (python-end-of-statement): Fix infinite
10900 loop. (Bug#10788)
10901
f82cb659
GM
109022012-02-10 Glenn Morris <rgm@gnu.org>
10903
10904 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10905 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10906
cc26d239
LI
109072012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10908
10909 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10910 about SMTP before checking the From header.
10911
91027d08 10912 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10913 into own function for reuse by emacsbug.el.
10914
1be3ca5a
LL
109152012-02-10 Leo Liu <sdl.web@gmail.com>
10916
10917 * subr.el (condition-case-unless-debug): Rename from
10918 condition-case-no-debug. All callers changed.
10919 (with-demoted-errors): Fix caller.
10920
10921 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10922 * nxml/rng-valid.el (rng-do-some-validation):
10923 * emacs-lisp/package.el (package-refresh-contents)
10924 (package-menu-execute):
10925 * desktop.el (desktop-create-buffer):
91027d08 10926 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10927
b011fbfe
GM
109282012-02-10 Glenn Morris <rgm@gnu.org>
10929
b2096d72
GM
10930 * textmodes/bibtex.el:
10931 Add missing :version tags for new/changed defcustoms.
10932
b011fbfe
GM
10933 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10934
4c7e65bf
LI
109352012-02-09 Lars Ingebrigtsen <larsi@rusty>
10936
10937 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10938 (smtpmail-via-smtp): Use it, or fall back on the From address.
10939 (smtpmail-send-it): Ditto.
10940
f3934f6f
SM
109412012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10942
10943 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10944 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10945 (byte-compile-tmp-var): New const.
10946 (byte-compile-defvar): Use it to minimize .elc size.
10947 Just use `defvar' rather than simulate it (bug#10761).
10948
a075a2c5
GM
109492012-02-09 Glenn Morris <rgm@gnu.org>
10950
cf3aa21b
GM
10951 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10952
354998cd
GM
10953 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10954 Add :version tags.
10955
dc9924b8
SM
10956 * progmodes/compile.el (compilation-error-screen-columns)
10957 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10958
dab3703d
GM
10959 * vc/log-view.el (log-view-toggle-entry-display):
10960 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10961
3f88cd72
GM
10962 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10963 (report-emacs-bug-can-use-xdg-email):
10964 (report-emacs-bug-insert-to-mailer): Doc fixes.
10965 (report-emacs-bug): Message fix.
10966
d95b247d
GM
10967 * net/browse-url.el (browse-url-can-use-xdg-open)
10968 (browse-url-xdg-open): Doc fixes.
10969
a075a2c5
GM
10970 * electric.el (electric-indent-mode, electric-pair-mode)
10971 (electric-layout-rules, electric-layout-mode): Doc fixes.
10972 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10973
ffb6157e
MR
109742012-02-08 Martin Rudalics <rudalics@gmx.at>
10975
10976 * server.el (server-unselect-display): Don't inadvertently kill
10977 the current buffer. (Bug#10729)
10978
e1ac4066
GM
109792012-02-08 Glenn Morris <rgm@gnu.org>
10980
34e8a2da
GM
10981 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10982 (sql-list-table): Doc fixes.
10983
b4ac6e8c
GM
10984 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10985 Comment out (does nothing).
10986
e1ac4066
GM
10987 * completion.el (dynamic-completion-mode):
10988 * dirtrack.el (dirtrack-debug-mode):
10989 * electric.el (electric-layout-mode):
10990 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10991 * face-remap.el (text-scale-mode, buffer-face-mode):
10992 * iimage.el (iimage-mode):
10993 * image-mode.el (image-transform-mode):
10994 * minibuffer.el (completion-in-region-mode):
10995 * scroll-lock.el (scroll-lock-mode):
10996 * simple.el (next-error-follow-minor-mode):
10997 * tar-mode.el (tar-subfile-mode):
10998 * tooltip.el (tooltip-mode):
10999 * vcursor.el (vcursor-use-vcursor-map):
11000 * wid-browse.el (widget-minor-mode):
11001 * emulation/tpu-edt.el (tpu-edt-mode):
11002 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11003 * international/iso-ascii.el (iso-ascii-mode):
11004 * language/thai-util.el (thai-word-mode):
11005 * mail/supercite.el (sc-minor-mode):
11006 * net/goto-addr.el (goto-address-mode):
11007 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11008 * progmodes/cwarn.el (cwarn-mode):
11009 * progmodes/flymake.el (flymake-mode):
11010 * progmodes/glasses.el (glasses-mode):
11011 * progmodes/hideshow.el (hs-minor-mode):
11012 * progmodes/pascal.el (pascal-outline-mode):
11013 * textmodes/enriched.el (enriched-mode):
11014 * vc/smerge-mode.el (smerge-mode):
11015 Doc fixes (minor mode argument).
11016
5e0d957f
EZ
110172012-02-07 Eli Zaretskii <eliz@gnu.org>
11018
11019 * ls-lisp.el (ls-lisp-sanitize): New function.
11020 (ls-lisp-insert-directory): Use it to fix or remove any elements
11021 in file-alist with missing attributes. (Bug#4673)
11022
98d7371e
AM
110232012-02-07 Alan Mackenzie <acm@muc.de>
11024
11025 Fix spurious recognition of c-in-knr-argdecl.
11026
11027 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11028 putative K&R region.
11029
667ced3a
AM
110302012-02-07 Alan Mackenzie <acm@muc.de>
11031
eb864a71
LM
11032 * progmodes/cc-engine.el (c-forward-objc-directive):
11033 Prevent looping in "#pragma mark @implementation".
667ced3a 11034
5b77774d
MA
110352012-02-07 Michael Albinus <michael.albinus@gmx.de>
11036
11037 * notifications.el (notifications-on-closed-signal): Make `reason'
11038 optional. (Bug#10744)
11039
af008560
GM
110402012-02-07 Glenn Morris <rgm@gnu.org>
11041
60d47423
GM
11042 * emacs-lisp/easy-mmode.el (define-minor-mode):
11043 Doc fixes for the macro and the mode it defines.
11044
dd605cc4
GM
11045 * image.el (imagemagick-types-inhibit): Doc fix.
11046
af008560
GM
11047 * cus-start.el (imagemagick-render-type): Add it.
11048
5cc59a37
LI
110492012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11050
4d6769e1
JB
11051 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11052 Set the default at load time, too, so that `font-lock-fontify-buffer'
11053 can be called without setting up the entire mode first. This fixes
11054 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11055
9a6dd747
CY
110562012-02-06 Chong Yidong <cyd@gnu.org>
11057
2d16b285
CY
11058 * simple.el (list-processes--refresh): Delete exited processes
11059 (Bug#8094).
11060
171e9b6e
CY
11061 * comint.el (comint-next-prompt): next-single-char-property-change
11062 and prev-single-char-property-change never return nil (Bug#8657).
11063
9a6dd747
CY
11064 * custom.el (defcustom): Doc fix (Bug#9711).
11065
aa4589a7
CY
110662012-02-05 Chong Yidong <cyd@gnu.org>
11067
5c2a252f
CY
11068 * cus-edit.el (custom-variable-reset-backup): Quote the value
11069 before storing it in the customized-value property (Bug#6712).
4aab9006 11070 (custom-display): Add a customization type tag.
983b9602 11071 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11072
aa4589a7
CY
11073 * wid-edit.el (widget-field-value-get): New optional arg to
11074 suppress trailing whitespace truncation.
11075 (character): Use it (Bug#2689).
11076
1ff980ae
AS
110772012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11078
11079 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11080 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11081
03988c98
CY
110822012-02-05 Chong Yidong <cyd@gnu.org>
11083
eeb6cc88
CY
11084 * cus-edit.el (custom-variable-value-create): For mismatched
11085 types, show the current value (Bug#7600).
11086
03988c98
CY
11087 * custom.el (defcustom): Doc fix.
11088
f8cdeef0
GM
110892012-02-05 Glenn Morris <rgm@gnu.org>
11090
11091 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11092
0696d255
JB
110932012-02-05 Juanma Barranquero <lekktu@gmail.com>
11094
11095 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11096 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11097 (pp-last-sexp): Use `looking-at-p'.
11098
34c99998
GM
110992012-02-04 Glenn Morris <rgm@gnu.org>
11100
8f05da42
GM
11101 * files.el (revert-buffer):
11102 Doc fix (mention revert-buffer-in-progress-p).
11103
f160676e
GM
11104 * emacs-lisp/ert-x.el (ert-simulate-command):
11105 Check deferred-action-list (which is obsolete) is bound.
11106
c7291ad9
GM
11107 * subr.el (with-wrapper-hook): Doc fixes.
11108
34c99998
GM
11109 * simple.el (filter-buffer-substring-functions)
11110 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11111
6283a7d3
LL
111122012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11113
11114 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11115 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11116
e96e3013
LL
111172012-02-04 Leo Liu <sdl.web@gmail.com>
11118
11119 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11120
8ded50f2
GM
111212012-02-04 Glenn Morris <rgm@gnu.org>
11122
82ff1d13
GM
11123 * image.el (image-extension-data): Add obsolete alias.
11124
987a0a16
GM
11125 * isearch.el (isearch-update): Doc fix.
11126
ea32ef46
GM
11127 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11128
8ded50f2
GM
11129 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11130
eea14f31
GM
111312012-02-03 Glenn Morris <rgm@gnu.org>
11132
11133 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11134 (image-animate-timeout): Doc fix.
11135
11136 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11137
12f381b7
GM
111382012-02-02 Glenn Morris <rgm@gnu.org>
11139
953cebf5
GM
11140 * server.el (server-auth-dir): Doc fix.
11141 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11142
12f381b7
GM
11143 * subr.el (run-mode-hooks): Doc fix.
11144
953a8c3b
JL
111452012-02-02 Juri Linkov <juri@jurta.org>
11146
11147 * image-mode.el (image-toggle-display-image): Remove tautological
11148 `major-mode' from the `derived-mode-p' test.
11149
c5d3843c
KH
111502012-02-02 Kenichi Handa <handa@m17n.org>
11151
9f6e692e 11152 * composite.el (compose-region): Cancel previous change.
c5d3843c 11153
159462d4 111542012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11155
11156 * composite.el (compose-region, compose-string): Signal error for
11157 a null string component (Bug#6988).
11158
9f562668
CY
111592012-02-01 Chong Yidong <cyd@gnu.org>
11160
e2cef717
CY
11161 * view.el (view-buffer-other-window, view-buffer-other-frame):
11162 Handle special modes like view-buffer (Bug#10650).
11163 (view-buffer): Simplify.
11164
9f562668
CY
11165 * frame.el (set-frame-font): Tweak meaning of third argument.
11166
9f6e692e
JB
11167 * dynamic-setting.el (font-setting-change-default-font):
11168 Use set-frame-font (Bug#9982).
9f562668 11169
781acb9f
GM
111702012-02-01 Glenn Morris <rgm@gnu.org>
11171
6035be52
GM
11172 * progmodes/compile.el (compilation-internal-error-properties):
11173 Respect compilation-first-column in the "*compilation*" buffer.
11174
781acb9f
GM
11175 * emacs-lisp/easy-mmode.el (define-minor-mode):
11176 Relax :variable's test for a named function.
11177
abbceb00
AM
111782012-01-31 Alan Mackenzie <acm@muc.de>
11179
11180 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11181 off by one error.
11182
fce3fdeb
CY
111832012-01-31 Chong Yidong <cyd@gnu.org>
11184
11185 * frame.el (set-frame-font): New arg ALL-FRAMES.
11186
11187 * menu-bar.el (menu-set-font): Use set-frame-font.
11188
11189 * faces.el (face-spec-reset-face): Don't apply unspecified
11190 attribute values to the default face.
11191
47893581
JB
111922012-01-31 Juanma Barranquero <lekktu@gmail.com>
11193
11194 * progmodes/cwarn.el (cwarn): Remove dead link.
11195 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11196 Remove * from defcustom docstrings.
11197 (turn-on-cwarn-mode): Make obsolete.
11198 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11199 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11200
e58e988a
GM
112012012-01-31 Glenn Morris <rgm@gnu.org>
11202
60dc2671 11203 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11204 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11205 Allow named functions to be used as the cdr of :variable.
e58e988a 11206
7a3f511d
GM
112072012-01-30 Glenn Morris <rgm@gnu.org>
11208
11209 * emacs-lisp/authors.el (authors-fixed-entries):
11210 Remove reference to deleted file rnewspost.el.
11211
cb882333
JB
112122012-01-29 Juanma Barranquero <lekktu@gmail.com>
11213
11214 * window.el (window-with-parameter): Remove unused variable `windows'.
11215 (window--side-check): Remove unused variable `code'.
11216 (window--resize-siblings): Remove unused variable `first'.
11217 (adjust-window-trailing-edge): Remove unused variable `failed'.
11218 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11219 Use `let', not `let*'.
11220 (balance-windows-2): Remove unused variable `found'.
11221 (window--state-put-2): Remove unused variable `splits'.
11222 (window-state-put): Remove unused variable `selected'.
11223 (same-window-p): Use `string-match-p'.
11224 (display-buffer-assq-regexp): Remove unused variable `value'.
11225 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11226 Mark argument ALIST as ignored.
11227 (pop-to-buffer): Remove unused variable `old-window'.
11228
907201af
EZ
112292012-01-29 Eli Zaretskii <eliz@gnu.org>
11230
11231 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11232 and .lzma compressed files.
11233
ea162670
CY
112342012-01-29 Chong Yidong <cyd@gnu.org>
11235
5b95ee8a
CY
11236 * frame.el (window-system-default-frame-alist): Doc fix.
11237
ea162670
CY
11238 * dynamic-setting.el (font-setting-change-default-font): Don't
11239 change the default face if SET-FONT argument is non-nil (Bug#9982).
11240
d6e6f4b1
SB
112412012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11242
11243 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11244
0f29fa41 112452012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11246
11247 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11248 breakpoints in files outside current directory (Bug#6098).
11249
db174434
CY
112502012-01-29 Chong Yidong <cyd@gnu.org>
11251
6b25e4e2
SE
11252 * progmodes/python.el: Require ansi-color at top-level.
11253
6df6ae42
JB
11254 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11255 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11256 (lisp-mode-abbrev-table): Add doc.
11257 (lisp-mode-variables): Don't set local-abbrev-table.
11258 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11259
e70ee681
RW
112602012-01-28 Roland Winkler <winkler@gnu.org>
11261
11262 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11263
ace88aa2
RW
112642012-01-28 Roland Winkler <winkler@gnu.org>
11265
11266 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11267 (bibtex-set-dialect): Use it. Either set global values of
11268 dialect-dependent variables or bind these variables buffer-locally
11269 (Bug#10254).
11270 (bibtex-mode): Call bibtex-set-dialect via
11271 hack-local-variables-hook.
eb864a71
LM
11272 (bibtex-dialect): Update docstring.
11273 Add safe-local-variable predicate.
ace88aa2
RW
11274 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11275 bibtex-set-dialect.
11276 (bibtex-mode-map): Define menu for each dialect.
11277 (bibtex-entry): Fix docstring.
11278
93376c5b
CY
112792012-01-28 Chong Yidong <cyd@gnu.org>
11280
11281 * eshell/esh-arg.el (eshell-quote-argument): New function.
11282
11283 * eshell/esh-ext.el (eshell-invoke-batch-file):
11284 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11285 first arg to eshell-parse-command (Bug#10523).
11286
4372494f
DA
112872012-01-28 Drew Adams <drew.adams@oracle.com>
11288
11289 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11290 `default-directory' is non-nil.
11291
4d4ec1f8
EZ
112922012-01-28 Eli Zaretskii <eliz@gnu.org>
11293
11294 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11295 line that displays system-configuration-options. (Bug#9924)
11296
7c188927
DA
112972012-01-28 Drew Adams <drew.adams@oracle.com>
11298
11299 * descr-text.el (describe-char): Show information about POS, in
11300 addition to information about the character at POS. Improve and
11301 update the doc string. Change "code point" to "code point in
11302 charset", to avoid confusion with the character's Unicode code
11303 point shown above that. (Bug#10129)
11304
e0da685a
EZ
113052012-01-28 Eli Zaretskii <eliz@gnu.org>
11306
11307 * descr-text.el (describe-char): Show the raw character, not only
11308 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11309 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11310 for the reasons.
11311
70550acf
PH
113122012-01-28 Phil Hagelberg <phil@hagelb.org>
11313
eb864a71
LM
11314 * emacs-lisp/package.el (package-install):
11315 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11316
0ce8e868
CY
113172012-01-28 Chong Yidong <cyd@gnu.org>
11318
cb882333
JB
11319 * emacs-lisp/package.el (package-maybe-load-descriptor):
11320 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11321 (package-maybe-load-descriptor): Use it.
11322 (package-download-transaction): Fully load required packages
11323 inside the loop, so that `require' calls work (Bug#10593).
11324 (package-install): No need to call package-initialize now.
11325
2e7f3bea
CY
113262012-01-28 Chong Yidong <cyd@gnu.org>
11327
6e9bad14
CY
11328 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11329
f823b8ca
CY
11330 * tooltip.el (tooltip-mode): Doc fix.
11331 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11332
2680c309
CY
11333 * frame.el (set-cursor-color): Doc fix (Bug#352).
11334
d7a9e63b
CY
11335 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11336 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11337
2e7f3bea
CY
11338 * cus-edit.el (custom-buffer-create-internal): Fix search button
11339 action (Bug#10542).
2ae01800 11340 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11341
fc4f7a23
EW
113422012-01-27 Eduard Wiebe <usenet@pusto.de>
11343
11344 * dired.el (dired-mark-files-regexp):
11345 Include any subdirectory components. (Bug#10445)
11346
7dd37071
ML
113472012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11348
11349 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11350 Handle [host]:port syntax. (Bug#10533)
11351
a268160b
AH
113522012-01-27 Alex Harsanyi <harsanyi@mac.com>
11353
11354 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11355
e43273ef
GM
113562012-01-26 Glenn Morris <rgm@gnu.org>
11357
11358 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11359 * term.el (term-raw-escape-map): Use Control-X-prefix.
11360 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11361
1edf595d
MR
113622012-01-25 Martin Rudalics <rudalics@gmx.at>
11363
11364 * window.el (window-state-get, window--state-get-1): Don't deal
11365 with fixed-sizeness of windows. Simplify code.
11366
fa8eafef
JC
113672012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11368
6df6ae42
JB
11369 * window.el (window--state-get-1, window--state-put-2):
11370 Don't save and restore the mark.
fa8eafef 11371
0b21c100
CY
113722012-01-25 Chong Yidong <cyd@gnu.org>
11373
11374 * custom.el (custom-variable-p): Doc fix.
11375
5ae1a6c8
GM
113762012-01-25 Glenn Morris <rgm@gnu.org>
11377
40047858
GM
11378 * dired.el (dired-goto-file): Handle some of the more common
11379 characters that `ls -b' escapes. (Bug#10596)
11380
5ddce96c
GM
11381 * progmodes/compile.el (compilation-next-error-function):
11382 Respect compilation-first-column in the "*compilation*" buffer.
11383 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11384
5ae1a6c8
GM
11385 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11386
b559f1a9
GM
113872012-01-24 Glenn Morris <rgm@gnu.org>
11388
11389 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11390
6725d21a
JD
113912012-01-24 Julien Danjou <julien@danjou.info>
11392
11393 * color.el (color-rgb-to-hsl): Fix value computing.
11394 (color-hue-to-rgb): New function.
11395 (color-hsl-to-rgb): New function.
11396 (color-clamp, color-saturate-hsl, color-saturate-name)
11397 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11398 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11399
70df4bbe
GM
114002012-01-24 Glenn Morris <rgm@gnu.org>
11401
11402 * vc/vc-rcs.el (vc-rcs-create-tag):
11403 * vc/vc-sccs.el (vc-sccs-create-tag):
11404 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11405
802a2ae2
ML
114062012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11407
11408 * eshell/esh-util.el (eshell-read-hosts-file):
11409 Skip comment lines. (Bug#10549)
11410
d7128bb1
ML
11411 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11412
d1a5c3b4
JB
114132012-01-23 Juanma Barranquero <lekktu@gmail.com>
11414
2724d9c7
JB
11415 * subr.el (display-delayed-warnings): Doc fix.
11416 (collapse-delayed-warnings): New function to collapse identical
11417 adjacent warnings.
11418 (delayed-warnings-hook): Add it.
d1a5c3b4 11419
a5509865
MA
114202012-01-22 Michael Albinus <michael.albinus@gmx.de>
11421
11422 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11423
a5509865
MA
11424 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11425 (tramp-default-user-alist): Don't add "pscp".
11426 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11427 property "login-as", if set. (Bug#10530)
11428
cc6d5805
MA
114292012-01-21 Michael Albinus <michael.albinus@gmx.de>
11430
11431 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11432 "plink1" and "psftp". (Bug#10530)
11433
114342012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
11435
11436 * international/mule-cmds.el (prefer-coding-system): Show a
11437 warning message if the default value of file-name-coding-system
11438 was not changed.
11439
f0960428
JC
114402012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11441
cb882333
JB
11442 * windmove.el (windmove-reference-loc):
11443 Fix windmove-reference-loc miscalculation.
f0960428 11444
dd6f2a63
JB
114452012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11446
11447 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11448 default unit.
11449
7b447e9b
GM
114502012-01-21 Glenn Morris <rgm@gnu.org>
11451
117a9ea1
GM
11452 * international/mule.el (auto-coding-alist): Add .tbz.
11453
7b447e9b
GM
11454 * files.el (local-enable-local-variables): Doc fix.
11455 (inhibit-local-variables-regexps): Rename from
11456 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11457 Doc fix. Add some extensions from auto-coding-alist.
11458 (inhibit-local-variables-suffixes):
11459 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11460 (inhibit-local-variables-p):
11461 New function, extracted from set-auto-mode-1.
11462 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11463 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11464 (hack-local-variables): Doc fix. Make the mode-only case
11465 respect enable-local-variables and friends.
11466 Respect inhibit-local-variables-regexps for file-locals, but
11467 not for directory-locals.
11468 (set-visited-file-name):
11469 Take account of inhibit-local-variables-regexps.
11470 Whether it applies may change as the file name is changed.
11471 * jka-cmpr-hook.el (jka-compr-install):
11472 * jka-compr.el (jka-compr-uninstall):
11473 Update for inhibit-first-line-modes-suffixes name change.
11474
dd6e3cdd
MR
114752012-01-20 Martin Rudalics <rudalics@gmx.at>
11476
11477 * help-macro.el (make-help-screen): Temporarily restore original
11478 binding for minor-mode-map-alist (Bug#10454).
11479
0d0deb38
JD
114802012-01-19 Julien Danjou <julien@danjou.info>
11481
11482 * color.el (color-name-to-rgb): Use the white color to find the max
11483 color component value and return correctly computed values.
11484 (color-name-to-rgb): Add missing float conversion for max value.
11485
34a02f46
MR
114862012-01-19 Martin Rudalics <rudalics@gmx.at>
11487
11488 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11489 special state value for window-persistent-parameters.
11490 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11491 (window--state-put-2): Reset all window parameters to nil before
11492 assigning values of persistent parameters.
11493
606c44c4
AM
114942012-01-18 Alan Mackenzie <acm@muc.de>
11495
11496 Eliminate sluggishness and hangs in fontification of "semicolon
11497 deserts".
11498
cb882333
JB
11499 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11500 Change value 10000 -> 3000.
606c44c4
AM
11501 (c-state-safe-place): Reformulate so it doesn't stack up an
11502 infinite number of wrong entries in c-state-nonlit-pos-cache.
11503 (c-determine-limit-get-base, c-determine-limit): New functions to
11504 determine backward search limits disregarding literals.
11505 (c-find-decl-spots): Amend commenting.
11506 (c-cheap-inside-bracelist-p): New function which detects "={".
11507
11508 * progmodes/cc-fonts.el
11509 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11510 backward search.
11511 (c-font-lock-declarations): Fix an occurrence of point being
11512 undefined. Check additionally for point being in a bracelist or
11513 near a macro invocation without a semicolon so as to avoid a
11514 fruitless time consuming search for a declarator. Give a more
11515 precise search limit for declarators using the new
11516 c-determine-limit.
11517
f3860cea
GM
115182012-01-18 Glenn Morris <rgm@gnu.org>
11519
11520 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11521 (set-auto-mode): Doc fixes.
11522
1db03b16
GM
115232012-01-17 Glenn Morris <rgm@gnu.org>
11524
0e6038be
GM
11525 * isearch.el (search-nonincremental-instead): Fix doc typo.
11526
1db03b16
GM
11527 * dired.el (dired-insert-directory): Handle newlines in directory name.
11528 (dired-build-subdir-alist): Unescape newlines in directory name.
11529
4cb0aa75
MA
115302012-01-17 Michael Albinus <michael.albinus@gmx.de>
11531
11532 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11533 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11534 (tramp-action-terminal): Use it. (Bug#10530)
11535
1d00653d
SM
115362012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11537
11538 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11539
6a6ee00d
MR
115402012-01-16 Martin Rudalics <rudalics@gmx.at>
11541
11542 * window.el (window-state-ignored-parameters): Remove variable.
11543 (window--state-get-1): Rename argument MARKERS to IGNORE.
11544 Handle persistent window parameters. Make copy of clone-of
11545 parameter only if requested. (Bug#10348)
11546 (window--state-put-2): Install a window parameter only if it has
11547 a non-nil value or an existing parameter shall be overwritten.
11548
97912def
MA
115492012-01-15 Michael Albinus <michael.albinus@gmx.de>
11550
11551 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11552
688070a5
EZ
115532012-01-14 Eli Zaretskii <eliz@gnu.org>
11554
11555 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11556 don't pass the (nil) value of `upnode' to string-match.
11557
301afadc
CY
115582012-01-14 Chong Yidong <cyd@gnu.org>
11559
11560 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11561 Fix values recognized by the cursorBlink resource.
301afadc 11562
9e5788aa
PE
115632012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11564
11565 * epg.el (epg--make-temp-file): Avoid permission race condition
11566 when running on old Emacs versions (bug#10403).
11567
3cdb7f5a
GM
115682012-01-14 Glenn Morris <rgm@gnu.org>
11569
11570 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11571
8c82b1b4
AM
115722012-01-13 Alan Mackenzie <acm@muc.de>
11573
11574 Fix filling for when filladapt mode is enabled.
11575
11576 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11577 c-mask-paragraph, pass in `fill-paragraph' rather than
11578 `fill-region-as-paragraph'. (This is a reversion of a previous
11579 change.)
eb864a71
LM
11580 * progmodes/cc-mode.el (c-basic-common-init):
11581 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11582
e517eda4
GM
115832012-01-13 Glenn Morris <rgm@gnu.org>
11584
1498536e
GM
11585 * dired.el (dired-switches-escape-p): New function.
11586 (dired-insert-directory): Use dired-switches-escape-p.
11587 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11588
e517eda4
GM
11589 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11590
328f984d
GM
115912012-01-12 Glenn Morris <rgm@gnu.org>
11592
11593 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11594 changes in adaptive-fill-regexp. (Bug#10276)
11595
2cc769a8
AM
115962012-01-11 Alan Mackenzie <acm@muc.de>
11597
11598 Fix Emacs bug #10463 - put `widen's around the critical spots.
11599
1d00653d 11600 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11601 widen around each invocation of c-state-pp-to-literal. Remove an
11602 unused let variable.
11603
e52c37fa
GM
116042012-01-11 Glenn Morris <rgm@gnu.org>
11605
11606 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11607 Doc fix.
e52c37fa 11608
96f8741e
CY
116092012-01-10 Chong Yidong <cyd@gnu.org>
11610
1d00653d
SM
11611 * net/network-stream.el (network-stream-open-starttls):
11612 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11613 response to the capability command.
11614
b09a806e
GM
116152012-01-10 Glenn Morris <rgm@gnu.org>
11616
11617 * mail/unrmail.el (unrmail): Tweak previous change.
11618
7655cb66
CY
116192012-01-09 Chong Yidong <cyd@gnu.org>
11620
11621 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11622
9d5a8f0b
AM
116232012-01-08 Alan Mackenzie <acm@muc.de>
11624
11625 Optimise font locking in long enum definitions.
11626
11627 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11628 arm to a cond form to handle enums.
11629 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11630 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11631
9a0115ab 116322012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11633
11634 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11635 (Bug#10401)
6bb72cbd 11636
f186bb95
LMI
116372012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11638
29232a68
LMI
11639 * faces.el (set-face-attribute): Clarify the meaning of the nil
11640 frame (bug#10294).
11641
4e5d086d
LMI
11642 * subr.el (with-selected-frame): Mention that the selected frame
11643 is restored (bug#9980).
11644
8e66aebe
LMI
11645 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11646 (bug#9759).
11647
cd394be1 11648 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11649 (password-read): Don't autoload unused function.
11650
adf4e762
JB
116512012-01-07 Juanma Barranquero <lekktu@gmail.com>
11652
11653 * progmodes/which-func.el (which-func-mode): Turn into a
11654 non-interactive function and mark as obsolete (bug#10428).
11655
89bd9ccd
CY
116562012-01-06 Chong Yidong <cyd@gnu.org>
11657
11658 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11659 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11660 functions, along with 1 and -1.
11661
4afee9d5
EZ
116622012-01-06 Eli Zaretskii <eliz@gnu.org>
11663
11664 * time.el (display-time-load-average)
11665 (display-time-default-load-average): Doc fixes. See the thread
11666 starting at
11667 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11668 for the details.
11669
536aea70
GM
116702012-01-06 Glenn Morris <rgm@gnu.org>
11671
665ae865
GM
11672 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11673 has no messages. (Bug#10377)
11674
c869783d
GM
11675 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11676 than Info-edit. (Bug#10385)
11677
2bb4227e
GM
11678 * time.el (display-time-load-average, display-time-next-load-average):
11679 Doc fixes.
11680
7d5944b9
GM
11681 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11682 local setting of buffer-read-only to the input buffer. (Bug#10419)
11683
536aea70
GM
11684 * calendar/calendar.el (calendar-mode):
11685 Locally set scroll-margin to 0. (Bug#10379)
11686
7dccca16
UM
116872012-01-06 Ulrich Mueller <ulm@gentoo.org>
11688
11689 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11690
afbb7930
GM
116912012-01-05 Glenn Morris <rgm@gnu.org>
11692
11693 * eshell/em-unix.el (diff-no-select): Autoload it.
11694 (eshell/diff): Use diff-no-select. (Bug#10420)
11695
04482335
CY
116962012-01-05 Chong Yidong <cyd@gnu.org>
11697
7baca3bc
CY
11698 * shell.el (shell-dynamic-complete-functions): Revert last change.
11699 (shell-command-completion-function): New function.
11700 (shell-completion-vars): Use it to implement
11701 shell-completion-execonly (Bug#10417).
11702
04482335
CY
11703 * custom.el (enable-theme): Don't set custom-safe-themes.
11704
1d00653d
SM
11705 * cus-theme.el (custom-theme-merge-theme):
11706 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11707
bb5aa5d6
MM
117082012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11709
11710 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11711 first prompt in `sql-interacive-mode'.
11712 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11713 keywords.
6df6ae42 11714 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11715 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11716 context of original buffer. Invoke `sql-login-hook'.
11717
a7183d7c
EZ
117182012-01-04 Eli Zaretskii <eliz@gnu.org>
11719
11720 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11721 letters in cite-prefix.
11722
a1eacd1e
LMI
117232012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11724
11725 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11726
787cdb34
CY
117272012-01-03 Chong Yidong <cyd@gnu.org>
11728
1d00653d
SM
11729 * shell.el (shell-dynamic-complete-functions):
11730 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11731 comint-filename-completion first (Bug#10417).
11732
30710442
RS
117332012-01-02 Richard Stallman <rms@gnu.org>
11734
11735 * battery.el (battery-status-function):
11736 Detect when to use battery-yeeloong-sysfs.
11737 (battery-echo-area-format): Add string for Yeeloong.
11738 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11739 (battery-yeeloong-sysfs): New function.
11740
f75bfc33
CY
117412012-01-02 Chong Yidong <cyd@gnu.org>
11742
11743 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11744 (dirtrack): Merge code for handling relative filenames in prompt
11745 from shell-dir-cookie-watcher.
11746 (dirtrack-debug-message): New arg to avoid excess format calls.
11747
11748 * shell.el (shell-dir-cookie-re): Variable deleted.
11749 (shell-dir-cookie-watcher): Function deleted.
11750 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11751 with dirtrack-mode.
11752
651e947e
EZ
117532012-01-01 Eli Zaretskii <eliz@gnu.org>
11754
1d00653d
SM
11755 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11756 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11757 libgnutls-26.dll.
11758
94d4c7dc
AS
117592011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11760
11761 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11762
8d43f3cd
EZ
117632011-12-31 Eli Zaretskii <eliz@gnu.org>
11764
11765 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11766 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11767
98c8795a
MA
117682011-12-29 Michael Albinus <michael.albinus@gmx.de>
11769
11770 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11771 also for alternative shells.
11772 (tramp-open-connection-setup-interactive-shell): Check, whether
11773 the shell is a busybox.
11774 (tramp-send-command): Don't suppress multiple prompts for
11775 busyboxes, it hurts.
11776
51281b32
CY
117772011-12-28 Chong Yidong <cyd@gnu.org>
11778
11779 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11780 (gdb-get-source-file): Move mode line update to
11781 gdb-get-source-file (Bug#10087).
11782
2170cb53
CY
117832011-12-25 Chong Yidong <cyd@gnu.org>
11784
11785 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11786 gud-gdb-marker-filter without taking it as an argument.
11787 (gud-gdb-run-command-fetch-lines): Caller changed.
11788 (gud-gdb-completion-function): New variable.
11789 (gud-gdb-completion-at-point): Use it.
11790 (gud-gdb-completions-1): Split from gud-gdb-completions.
11791
11792 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11793 function as separate arguments.
11794 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11795 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11796 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11797 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11798 (gdb-stopped, def-gdb-auto-update-trigger)
11799 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11800 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11801 Callers changed.
2170cb53
CY
11802 (gud-gdbmi-completions): New function.
11803 (gdb): Use it for generating the completion table.
11804
be8b11bb
AM
118052011-12-24 Alan Mackenzie <acm@muc.de>
11806
11807 Introduce a mechanism to widen the region used in context font
1d00653d 11808 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11809
1d00653d
SM
11810 * progmodes/cc-langs.el (c-before-font-lock-functions):
11811 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11812 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11813 functions to be run just before context (etc.) font locking.
11814
11815 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11816 New, functionality extracted from
be8b11bb 11817 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11818 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11819 (c-after-change): Set c-in-after-change-fontification.
11820 (c-set-fl-decl-start): Rejig its interface, so it can be called
11821 from both after-change and context fontifying.
b81d40f0
JB
11822 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11823 New functions.
11824 (c-standard-font-lock-fontify-region-function): New variable.
11825 (c-font-lock-fontify-region): New function.
be8b11bb 11826
341cf6ac
JL
118272011-12-24 Juri Linkov <juri@jurta.org>
11828
11829 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11830 (Bug#10348)
11831
bffcee0a
MA
118322011-12-23 Michael Albinus <michael.albinus@gmx.de>
11833
11834 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11835 existence of source file. (Bug#10325)
11836
cb5e207c
AM
118372011-12-23 Alan Mackenzie <acm@muc.de>
11838
11839 Fix unstable fontification inside templates.
11840
b81d40f0
JB
11841 * progmodes/cc-langs.el (c-before-font-lock-functions):
11842 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11843 additionally has c-set-fl-decl-start. The other languages (apart
11844 from AWK) have that as a single entry.
11845
b81d40f0
JB
11846 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11847 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11848 c-set-fl-decl-start.
11849
b81d40f0
JB
11850 * progmodes/cc-mode.el (c-common-init, c-after-change):
11851 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11852 (c-set-fl-decl-start): New function, extracted from
11853 c-font-lock-enclosing-decls and enhanced.
11854
60ff536c
JB
118552011-12-23 Juanma Barranquero <lekktu@gmail.com>
11856
11857 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11858
1c4757d6
JL
118592011-12-22 Juri Linkov <juri@jurta.org>
11860
11861 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11862
d031f2c7
CY
118632011-12-22 Chong Yidong <cyd@gnu.org>
11864
11865 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11866
bace743a
DA
118672011-12-21 Drew Adams <drew.adams@oracle.com>
11868
11869 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11870
728a1f2b
JC
118712011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11872
11873 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11874
0d373f73
TZ
118752011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11876
fec0aaa4
TZ
11877 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11878 highlighting and support. Fix up comments for capitalization.
11879 (cfengine-mode-debug): New var.
11880 (cfengine3-mode): Change the modeline indicator to "CFE3".
11881 (cfengine3-font-lock-keywords): Improve defun highlighting.
11882 (cfengine2-actions): Rename from `cfengine-actions'.
11883 (cfengine2-font-lock-keywords): Rename from
11884 `cfengine-font-lock-keywords'.
11885 (cfengine2-imenu-expression): Rename from
11886 `cfengine-imenu-expression'.
11887 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11888 (cfengine2-beginning-of-defun): Rename from
11889 `cfengine-beginning-of-defun'.
11890 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11891 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11892 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11893 modeline indicator to "CFE2".
11894 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11895 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11896
bc86f573
CY
118972011-12-21 Chong Yidong <cyd@gnu.org>
11898
11899 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11900 filename argument.
11901
d45ba96b
MR
119022011-12-20 Martin Rudalics <rudalics@gmx.at>
11903
11904 * window.el (window-normalize-buffer-to-display): Remove.
11905 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11906
a6198c90
CY
119072011-12-19 Chong Yidong <cyd@gnu.org>
11908
11909 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11910 Don't signal an error in a predicate function; return non-nil.
11911 (vc-dir-mark-file): Move the error here.
11912 (vc-dir-mark-unmark): If acting on the region, keep going if one
11913 of the entries cannot be marked/unmarked.
11914 (vc-dir-mark-all-files): If current entry is a directory, mark
11915 only child files, as documented.
11916
34c5fb55
VB
119172011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11918
11919 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11920 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11921 addition.
11922
c803b2b7
JD
119232011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11924
11925 * term/ns-win.el (ns-get-selection-internal)
11926 (ns-store-selection-internal): Declare.
1154d12e
JB
11927 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11928 Declare as obsolete.
11929 (ns-get-pasteboard, ns-paste-secondary):
11930 Use ns-get-selection-internal.
41e9b956 11931 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11932 Use ns-store-selection-internal.
c803b2b7 11933
9cff91f8 119342011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11935
11936 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11937 (vc-deduce-fileset): Doc fix.
99a289d9 11938
f16c898a
AS
119392011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11940
11941 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11942
763237c4
SS
119432011-12-13 Sam Steingold <sds@gnu.org>
11944
11945 * man.el (Man-getpage-in-background): When running under a
11946 window-system, ignore $MANWIDTH and $COLUMNS.
11947
5fc1c122
KH
119482011-12-15 Kenichi Handa <handa@m17n.org>
11949
11950 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11951 (setup-ethiopic-environment-internal): Comment out key-binding for
11952 ethio-toggle-punctuation.
11953
13d49cbb
AM
119542011-12-13 Alan Mackenzie <acm@muc.de>
11955
898169a2
AM
11956 Add the switch statement to AWK Mode.
11957
7a71b18d 11958 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11959 "default" to the keywords regexp.
11960
7a71b18d 11961 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11962 expression as the rest.
1d00653d
SM
11963 (c-nonlabel-token-key): Allow string literals for AWK.
11964 Refactor for the other modes.
898169a2 11965
13d49cbb 11966 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11967 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11968 routines. Limit backward searching in c-font-lock-enclosing.decl.
11969
11970 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11971 pp-state and literal type in addition to the limits.
1d00653d 11972 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11973 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11974 (c-slow-in-literal, c-fast-in-literal): Remove.
11975 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11976
11977 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11978 being in a literal. Add a limit for backward searching.
11979
11980 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11981 c-slow-in-literal.
11982
15e0efc7
SM
119832011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11984
11985 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11986
454592a6
MR
119872011-12-13 Martin Rudalics <rudalics@gmx.at>
11988
11989 * window.el (delete-other-windows): Use correct frame in call to
11990 window-with-parameter.
11991
87393f26
DP
119922011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11993
11994 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11995 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11996 (makefile-gmake-statements, makefile-makepp-statements):
11997 Use it and add new makepp keywords.
11998 (makefile-makepp-font-lock-keywords): Add new patterns.
11999 (makefile-match-function-end): Match new [...] and [[...]].
12000
11636b22
JB
120012011-12-11 Juanma Barranquero <lekktu@gmail.com>
12002
12003 * ses.el (ses-call-printer-return, ses-cell-property-get)
12004 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12005 (ses-create-cell-variable, ses-reset-header-string)
12006 (ses-cell-set-formula, ses-repair-cell-reference-all)
12007 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12008 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12009 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12010 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12011 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12012 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12013 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12014 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12015 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12016 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12017 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12018 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12019
cf018193
VB
120202011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12021
12022 * ses.el: The overall change is to add cell renaming, that is
12023 setting fancy names for cell symbols other than name matching
12024 "\\`[A-Z]+[0-9]+\\'" regexp .
12025 (ses-create-cell-variable): New defun.
12026 (ses-relocate-formula): Relocate formulas only for cells the
12027 symbols of which are not renamed, i.e. symbols whose names do not
12028 match regexp "\\`[A-Z]+[0-9]+\\'".
12029 (ses-relocate-all): Relocate values only for cells the symbols of
12030 which are not renamed.
12031 (ses-load): Create cells variables as the (ses-cell ...) are read,
12032 in order to check row col consistency with cell symbol name only
12033 for cells that are not renamed.
12034 (ses-replace-name-in-formula): New defun.
12035 (ses-rename-cell): New defun.
12036
ee957461
CY
120372011-12-11 Chong Yidong <cyd@gnu.org>
12038
12039 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12040 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12041
9a9e9ef0
MR
120422011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12043
12044 * window.el (other-window): Fix docstring.
12045
92a8eba5
EZ
120462011-12-10 Eli Zaretskii <eliz@gnu.org>
12047
12048 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12049 `from' or `to' address before taking its substring.
12050 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12051 encoded name is chopped in the middle of the encoded string, and
12052 thus displayed encoded.
12053
e152e577
JB
120542011-12-10 Juanma Barranquero <lekktu@gmail.com>
12055
12056 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12057
e5d84bfe
EZ
120582011-12-10 Eli Zaretskii <eliz@gnu.org>
12059
12060 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12061 to use texinfo-update-node and commands that call it if the
12062 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12063 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12064 (texinfo-all-menus-update, texinfo-master-menu)
12065 (texinfo-update-node, texinfo-every-node-update)
12066 (texinfo-multiple-files-update): Doc fix. Warn against updating
12067 all the @node lines.
12068 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12069 argument is numeric. Explain better in the doc string what the
12070 function really does.
12071 (texinfo-insert-master-menu-list): Improve the error message
12072 displayed if there's no menu in the Top node.
12073 (Bug#2975) See also this thread:
e5d84bfe
EZ
12074 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12075
1d84e9bb
MG
120762011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12077
12078 * speedbar.el (speedbar-supported-extension-expressions):
12079 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12080
382c953b
JB
120812011-12-09 Juanma Barranquero <lekktu@gmail.com>
12082
12083 * printing.el (pr-mode-alist):
12084 * simple.el (filter-buffer-substring-functions)
12085 (completion-list-insert-choice-function):
12086 * window.el (window-with-parameter, window-atom-root)
12087 (window-sides-slots, window-size-fixed, window-min-delta)
12088 (window-max-delta, window--resize-mini-window)
12089 (window--resize-child-windows-normal, window-tree)
12090 (delete-other-windows, quit-window, split-window)
12091 (display-buffer-record-window, special-display-buffer-names)
12092 (special-display-regexps, special-display-popup-frame)
12093 (same-window-p, split-window-sensibly)
12094 (display-buffer-overriding-action, display-buffer-alist)
12095 (display-buffer-base-action, display-buffer, switch-to-buffer)
12096 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12097 (fit-window-to-buffer, recenter-positions)
12098 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12099 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12100 and remove unneeded backslashes in docstrings.
12101
39c9faef
SM
121022011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12103
98449af8
SM
12104 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12105
39c9faef
SM
12106 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12107 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12108 end in ".mk".
12109 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12110 when reading the makefile (bug#10116).
12111
86ed9fdc
SM
121122011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12113
12114 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12115 (bug#10116).
12116
5580f89d
GM
121172011-12-06 Glenn Morris <rgm@gnu.org>
12118
12119 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12120
28d3917c
CY
121212011-12-06 Chong Yidong <cyd@gnu.org>
12122
12123 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12124
a98edce9
JB
121252011-12-06 Juanma Barranquero <lekktu@gmail.com>
12126
12127 * textmodes/table.el (table-shorten-cell): Fix typo.
12128
e65adfac
CG
121292011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12130
12131 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12132
71cc0b74
EZ
121332011-12-05 Eli Zaretskii <eliz@gnu.org>
12134
12135 * descr-text.el (describe-char): Fix display of strong
12136 right-to-left characters and directional embeddings and overrides.
12137
12138 * simple.el (what-cursor-position): Fix display of codepoints of
12139 strong right-to-left characters.
12140
315bc30d
CY
121412011-12-05 Chong Yidong <cyd@gnu.org>
12142
12143 * faces.el (read-color): Doc fix.
12144
58a70b94
GM
121452011-12-05 Glenn Morris <rgm@gnu.org>
12146
12147 * align.el (align--set-marker): Add doc-string.
12148 Don't try to move something that is not a marker. (Bug#10216)
12149
5158face
GM
121502011-12-04 Glenn Morris <rgm@gnu.org>
12151
12152 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12153 overly zealous deletion of trailing whitespace.
12154
520fca41
JB
121552011-12-04 Juanma Barranquero <lekktu@gmail.com>
12156
12157 * server.el (server-delete-client): On Windows, do not try to delete
12158 the only terminal.
12159 (server-process-filter): On Windows, treat requests for a tty frame as
12160 if they were for a GUI frame if the running server is in GUI mode.
12161
5e605a2e
GM
121622011-12-03 Glenn Morris <rgm@gnu.org>
12163
12164 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12165
5c3fe83f
SM
121662011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12167
6f5e57e7
SM
12168 * electric.el: Streamline electric-indent's hook.
12169 (electric-indent-chars): Revert to simple list.
12170 (electric-indent-functions): New var.
12171 (electric-indent-post-self-insert-function): Use it.
12172
5c3fe83f
SM
12173 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12174 there's no inferior buffer (bug#10196).
12175 (prolog-consult-compile): Don't use toggle-read-only.
12176
6bdac736
MA
121772011-12-02 Michael Albinus <michael.albinus@gmx.de>
12178
12179 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12180 interrupt. (Bug#10187)
12181
6131ba7f
SM
121822011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12183
99c79fee
SM
12184 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12185 (bug#9160).
12186
6131ba7f
SM
12187 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12188 (bug#10191).
12189
cb0a02ea
JL
121902011-12-02 Juri Linkov <juri@jurta.org>
12191
12192 * info.el (Info-search): Display "end of manual" when Isearch
12193 reaches the end of single-file Info manual. (Bug#9918)
12194
66e0570c
EZ
121952011-12-02 Eli Zaretskii <eliz@gnu.org>
12196
12197 * isearch.el (isearch-message-prefix): Run the input method part
12198 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12199
02b16839
JL
122002011-12-02 Juri Linkov <juri@jurta.org>
12201
12202 * isearch.el (isearch-occur): Use `word-search-regexp' for
12203 `isearch-word'.
12204 (isearch-search-and-update): Add condition for `isearch-word' and
12205 call `word-search-regexp'. (Bug#10145)
12206
0b950688
GM
122072011-12-01 Glenn Morris <rgm@gnu.org>
12208
12209 * eshell/em-hist.el (eshell-hist-initialize):
12210 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12211 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12212
9505c3c7
SM
122132011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12214
12215 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12216
1bbe96b2 122172011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12218
a1beca85
SM
12219 * progmodes/verilog-mode.el (verilog-pretty-expr):
12220 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12221 verilog, such as += *= and the like.
12222 (verilog-assignment-operator-re): Regular expression to find the
12223 assigment operator in a verilog assignment.
12224 (verilog-assignment-operation-re): Regular expression to find an
12225 assignment statement for pretty-expr.
12226 (verilog-in-attribute-p): Query returns true if point is in an
12227 attribute context; used to skip these for expression line up from
12228 pretty-expr.
12229 (verilog-in-parameter-p): Query returns true if point is in an
12230 parameter definition context; used to skip these for expression
12231 line up from pretty-expr.
12232 (verilog-in-parenthesis-p): Query returns true if point is in a
12233 parenthetical expression, specifically ( ) but not [ ] or { };
12234 used by pretty-expr.
12235 (verilog-just-one-space): If there is no space, don't add one.
12236 (verilog-get-lineup-indent-2): Specifically skip just attribute
12237 contexts for expression lineup, rather than skipping all
12238 parenthetical expressions.
12239 (verilog-calculate-indent): Fix comment, and fix indent.
12240 (verilog-do-indent): Indent declarations in lists (suggested by
12241 Joachim Lechner).
12242 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12243 skeleton items.
12244 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12245 by Alain Mellan).
12246
1bbe96b2 122472011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12248
12249 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12250 parameters with embedded comments. Reported by Ray Stevens.
12251 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12252 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12253 Reported by Tim Holt.
12254 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12255 instantiated by upper module causing wrong expansion until AUTOed a
12256 second time. Reported by K C Buckenmaier.
12257 (verilog-diff-auto): Fix showing .* as a difference when
12258 `verilog-auto-star-save' off. Reported by Dan Dever.
12259 (verilog-auto-reset, verilog-read-always-signals)
12260 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12261 temporary signals in reset list if
12262 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12263 style to each signal's assignment type, bug381.
12264 Reported by Thomas Esposito.
6288f0ca
WS
12265 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12266 (verilog-uvm-statement-re): Support UVM indentation and
12267 highlighting, with old OVM keywords only.
a1beca85 12268 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12269 Support AUTOTIEOFF creating non-wire data types.
12270 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12271 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12272 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12273 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12274 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12275 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12276 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12277 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12278 non-numeric vector width. Reported by Alex Reed.
12279 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12280 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12281 (verilog-auto-delete-trailing-whitespace):
12282 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12283 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12284 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12285 Fix verilog-scan-cache corruption when running user AUTO expansion
12286 hooks that call indentation routines.
12287 (verilog-simplify-range-expression): Fix typo ignoring lower case
12288 identifiers.
12289 (verilog-delete-auto): Fix delete-autos to also remove user created
12290 automatics, as long as they start with AUTO.
12291 (verilog-batch-diff-auto, verilog-diff-auto)
12292 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12293 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12294 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12295 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12296 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12297 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12298 is disabled and its cache will get corrupt, causing AUTOS not to
12299 expand. Instead use only -quick functions.
12300 (verilog-scan-region): Fix scanning over escaped quotes.
12301 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12302 (verilog-re-search-backward-quick)
12303 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12304 related functions now ignore strings, to fix misparsing of strings
12305 with magic comments embedded in them.
a1beca85
SM
12306 (verilog-read-auto-template):
12307 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12308 Reported by Brad Dobbie.
12309 (verilog-read-auto-template):
12310 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12311 Reported by Brad Dobbie.
6288f0ca
WS
12312 (verilog-auto-inst, verilog-auto-inst-param)
12313 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12314 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12315 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12316 debugging templates without merge conflicts, bug357.
12317 Reported by Brad Dobbie.
12318 (verilog-read-auto-template):
12319 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12320 Reported by Brad Dobbie.
12321 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12322 abbrevs so user won't be asked to save.
12323 (verilog-read-auto-lisp-present): Fix to start at beginning of
12324 buffer in case called outside of verilog-auto.
12325 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12326 to "X-2". Reported by Matthew Myers.
12327 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12328 all inputs from module templates. Reported by Leith Johnson.
12329 (verilog-module-inside-filename-p): Fix locating programs as with
12330 modules.
12331 (verilog-auto-inst-port): Fix vl-width expressions when using
12332 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12333 (verilog-decls-get-regs, verilog-decls-get-signals,
12334 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12335 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12336 verilog-read-decls): Combine reg and wire structures into one var
12337 structure to represent SystemVerilog concepts.
12338 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12339 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12340 (verilog-auto-wire-type, verilog-insert-definition):
12341 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12342 SystemVerilog "logic" keyword instead of "wire"/"reg".
12343 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12344 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12345 ifdef or generate if so there's not a driver conflict).
12346 Reported by Matthew Myers.
12347 (verilog-auto-declare-nettype, verilog-insert-definition):
12348 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12349 `default_nettype none. Reported by Julian Gorfajn.
12350 (verilog-read-always-signals-recurse, verilog-read-decls)
12351 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12352 malformed end statement, bug325. Reported by Joshua Wise and
12353 Andrew Drake.
12354 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12355 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12356 when expanding .* in interfaces, bug320.
12357 Reported by Pierre-David Pfister.
6288f0ca 12358 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12359 name and open parenthesis, bug317.
12360 Reported by Pierre-David Pfister.
6288f0ca
WS
12361 (verilog-simplify-range-expression): Fix simplification of
12362 multiplications inside AUTOWIRE connections, bug303.
12363 (verilog-auto-inst-port): Support parameter expansion in
12364 multidimensional arrays.
12365 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12366 after "assert property". Reported by Julian Gorfajn.
12367 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12368 with multiplication, bug303.
12369 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12370 Reported by Jan Frode Lonnum.
12371
1bbe96b2
GM
123722011-11-30 Juanma Barranquero <lekktu@gmail.com>
12373
12374 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12375 (hfy-shell-file-name, hfy-shell):
12376 * international/fontset.el (x-decompose-font-name): Fix typos.
12377
123782011-11-29 Ken Brown <kbrown@cornell.edu>
12379
12380 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12381 (gdb-version): Remove defvar.
12382 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12383 (gdb-gud-context-command, gdb-non-stop-handler)
12384 (gdb-current-context-command, gdb-stopped): Use it.
12385 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12386 (gdb-non-stop-handler): Don't enable pretty-printing here.
12387 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12388 non-stop mode. Use the following.
12389 (gdb-check-target-async): New defun.
12390 (gud-watch, gdb-stopped): Fix whitespace.
12391 (gdb-get-source-file): Don't try to display the source file if
12392 `gdb-main-file' is nil.
12393
123942011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12395
12396 * align.el: Try to generate fewer markers (bug#10047).
12397 (align--set-marker): New macro.
12398 (align-region): Use it.
12399
c935221f
SM
124002011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12401
12402 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12403
e70b5064
CY
124042011-11-29 Chong Yidong <cyd@gnu.org>
12405
12406 * indent.el (indent-for-tab-command, indent-according-to-mode):
12407 Doc fix.
12408 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12409
f3af92b7
MA
124102011-11-29 Michael Albinus <michael.albinus@gmx.de>
12411
12412 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12413 aware of remote file names. (Bug#10124)
12414
ed472be9
CY
124152011-11-29 Chong Yidong <cyd@gnu.org>
12416
12417 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12418
24510c22
SM
124192011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12420
12421 * files.el (find-file): Don't use force-same-window (bug#10144).
12422 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12423 use pop-to-buffer if the selected window can't be used.
12424 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12425
c60c3703
EZ
124262011-11-28 Eli Zaretskii <eliz@gnu.org>
12427
12428 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12429 special-mode-map.
12430
e95def75
CY
124312011-11-28 Chong Yidong <cyd@gnu.org>
12432
12433 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12434
c3f1c606
NR
124352011-11-27 Nick Roberts <nickrob@snap.net.nz>
12436
12437 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12438 gdb-get-source-file-list on gdb-create-source-file-list.
12439
00db469c
EZ
124402011-11-26 Eli Zaretskii <eliz@gnu.org>
12441
12442 * whitespace.el (whitespace-newline): Use a different foreground
12443 color for 16-color light-background displays.
12444
4ad3bc2a
CY
124452011-11-24 Chong Yidong <cyd@gnu.org>
12446
12447 * window.el (display-buffer--special-action): Doc fix.
12448
e9fce1ac
JB
124492011-11-25 Juanma Barranquero <lekktu@gmail.com>
12450
12451 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12452 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12453 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12454 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12455 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12456 (avl-tree-stack-first):
12457 * emacs-lisp/cconv.el (cconv--analyse-use):
12458 * net/gnutls.el (gnutls-negotiate): Fix typos.
12459
cb825e5d
GM
124602011-11-24 Glenn Morris <rgm@gnu.org>
12461
3adbe224
GM
12462 * lpr.el (lpr-windows-system, lpr-lp-system):
12463 * mail/binhex.el (binhex-begin-line):
12464 * progmodes/grep.el (grep-history, grep-find-history):
12465 * textmodes/flyspell.el:
12466 * vc/pcvs-defs.el (cvs-global-menu):
12467 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12468 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12469 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12470
321decc8
GM
12471 * net/tls.el: Fix case of "GnuTLS".
12472
420b63ad
GM
12473 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12474
cb825e5d
GM
12475 * version.el (emacs-build-system): Give it a doc-string.
12476
a0649f08
JL
124772011-11-24 Juri Linkov <juri@jurta.org>
12478
12479 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12480
c0bc0fd4
GM
124812011-11-24 Glenn Morris <rgm@gnu.org>
12482
12483 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12484 if called on a non-mime message just toggle the headers. (Bug#8006)
12485
20db1522
JB
124862011-11-24 Juanma Barranquero <lekktu@gmail.com>
12487
12488 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12489 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12490 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12491 (allout-rebullet-heading, allout-open-sibtopic)
12492 (allout-toggle-current-subtree-encryption)
12493 (allout-toggle-subtree-encryption, allout-encrypt-string)
12494 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12495 (allout-distinctive-bullets-string, allout-auto-activation):
12496 * window.el (window-normalize-buffer-to-display):
12497 * progmodes/verilog-mode.el (verilog-batch-indent):
12498 * textmodes/bibtex.el (bibtex-field-braces-opt)
12499 (bibtex-field-strings-opt):
12500 * vc/cvs-status.el (cvs-tree-merge):
12501 Fix typos.
12502
7262a87c
MA
125032011-11-23 Michael Albinus <michael.albinus@gmx.de>
12504
12505 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12506 `non-essential' to t, in order to avoid remote connections.
12507
283430a1
EZ
125082011-11-23 Eli Zaretskii <eliz@gnu.org>
12509
a1beca85
SM
12510 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12511 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12512 case-insensitively.
12513
d2992a38
ML
125142011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12515
12516 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12517
50419064
GM
125182011-11-23 Glenn Morris <rgm@gnu.org>
12519
da94eca1
GM
12520 * paths.el (rmail-file-name): Reformat the doc-string so that it
12521 is picked up.
12522
9aac4de2
GM
12523 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12524 (rmail-auto-file): Ignore case in the "special" field names,
12525 as mail-fetch-field does for all others.
12526
8038d2d2
GM
12527 * mail/rmail.el (rmail-forward):
12528 * mail/rmailkwd.el (rmail-set-label):
12529 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12530 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12531
f3fe222a
GM
12532 * mail/rmail.el (rmail-current-message): Doc fix.
12533
50419064
GM
12534 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12535
28109f49
SM
125362011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12537
12538 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12539
394c65f1
GM
125402011-11-22 Glenn Morris <rgm@gnu.org>
12541
12542 * mail/rmailmm.el (test-rmail-mime-handler)
12543 (test-rmail-mime-bulk-handler)
12544 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12545
f2a0aa3a
JL
125462011-11-21 Juri Linkov <juri@jurta.org>
12547
1154d12e
JB
12548 * calc/calc.el (calc-read-key-sequence):
12549 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12550
9c34a344
LMI
125512011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12552
12553 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12554 Tell the caller that the next line needs recomputation, even
12555 though it doesn't start a sexp (bug#10094).
12556
f04a3be9
SM
125572011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12558
12559 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12560
7978747f
SM
125612011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12562
f04a3be9
SM
12563 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12564 Use force-same-window.
7978747f 12565
fe7a3057
JB
125662011-11-20 Juanma Barranquero <lekktu@gmail.com>
12567
12568 * descr-text.el (describe-char-unicode-data):
12569 * json.el (json-string-escape):
12570 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12571 (Footnote-unicode, Footnote-style-p):
12572 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12573
24901d61
CY
125742011-11-20 Chong Yidong <cyd@gnu.org>
12575
12576 * window.el (replace-buffer-in-windows): Restore interactive spec.
12577
bac7ff22
SM
125782011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12579
24f3d7b9
SM
12580 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12581
bac7ff22
SM
12582 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12583 (byte-compile-global-not-obsolete-vars): New var.
12584 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12585 Use it.
12586 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12587
cd1181db
JB
125882011-11-20 Juanma Barranquero <lekktu@gmail.com>
12589
12590 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12591 * progmodes/pascal.el (electric-pascal-equal):
12592 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12593 * xml.el (xml-substitute-special): Fix typos.
12594
7fb18e9e
GM
125952011-11-20 Glenn Morris <rgm@gnu.org>
12596
12597 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12598 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12599 Doc fixes.
12600 (rmail-decode-mime-charset): Mark as obsolete.
12601
12602 * mail/rmailsum.el (rmail-message-regexp-p-1):
12603 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12604 Before using mime functions, check they are set. (Bug#10077)
12605
d5a6b3ba
JL
126062011-11-19 Juri Linkov <juri@jurta.org>
12607
12608 * info.el (Info-finder-find-node): Use `package--builtins' instead
12609 of `package-alist'. Use node names formed by the pattern "Keyword "
12610 and the keyword name.
12611
e981b61f
AS
126122011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12613
1d00653d 12614 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12615
3ffbc301
JL
126162011-11-19 Juri Linkov <juri@jurta.org>
12617
12618 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12619 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12620 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12621 `old-history', `old-history-forward'. Add let-binding
12622 `window-selected'. Remove calls to `kill-buffer',
12623 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12624 before calling `Info-find-node', so `Info-find-node-2' will reread
12625 the Info file. Restore window positions only when `window-selected'
12626 is non-nil.
12627
30c62133
JL
126282011-11-19 Juri Linkov <juri@jurta.org>
12629
12630 * isearch.el (isearch-lazy-highlight-new-loop):
12631 Remove condition `(not isearch-error)'. (Bug#9918)
12632
12633 * misearch.el (multi-isearch-search-fun): Add condition
12634 `(not bound)' to ignore lazy-highlighting search.
12635 Add the search-failed message "end of multi" when the end of
12636 multi-sequence is reached. Uncapitalize the search-failed
12637 message "Repeat for next buffer".
12638
12639 * info.el (Info-search): Add the search-failed message
12640 "end of the manual" when the end of the manual is reached
12641 in Isearch mode.
12642
645ca9cf
JL
126432011-11-19 Juri Linkov <juri@jurta.org>
12644
12645 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12646 Use non-destructive `remove' instead of `delete' because
12647 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12648 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12649
df754f66
JL
126502011-11-19 Juri Linkov <juri@jurta.org>
12651
12652 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12653 to nil instead of binding `search-ring' and `regexp-search-ring'.
12654 (Bug#9185)
12655
0e23d96a
EZ
126562011-11-19 Eli Zaretskii <eliz@gnu.org>
12657
12658 * simple.el (line-move): Force movement by logical lines for any
12659 hscrolled window, not only when auto-hscroll-mode is on.
12660 (line-move-visual): Update doc string to that effect. (Bug#10076)
12661
8a6ccb66
AS
126622011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12663
12664 * language/european.el (macintosh): Define as alias for mac-roman.
12665
49ae5b39
EZ
126662011-11-19 Eli Zaretskii <eliz@gnu.org>
12667
12668 * mail/rmailmm.el (rmail-mime-display-header)
12669 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12670 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12671 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12672 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12673 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12674 of a raw aref.
12675 (rmail-mime-entity-segment): To get past the tagline, move forward
12676 2 more lines, to account for the 2 empty lines that precede and
12677 follow the line with the buttons.
12678 (rmail-mime-update-tagline): Move one more line, to get past the
12679 empty line that follows the buttons in the tagline. (Bug#9520)
12680
c56cad4a
MR
126812011-11-19 Martin Rudalics <rudalics@gmx.at>
12682
12683 * window.el (window-max-delta-1, window-min-delta-1)
12684 (window-min-size-1, window-state-get-1, window-state-put-1)
12685 (window-state-put-2): Use "window--" prefix.
12686
cbe71af3
SM
126872011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12688
2ad52c60
SM
12689 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12690 (smie-warning-count): New var.
12691 (smie-set-prec2tab): Use it.
12692 (smie-bnf->prec2): Improve warnings. Add docstring.
12693 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12694 (smie-bnf--set-class): New function.
12695 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12696 corner case.
12697
6944dbc1
SM
12698 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12699 (compilation-error-properties, compilation-move-to-column):
12700 Handle compilation-first-column while in the target buffer.
12701
c400c4d7
SM
12702 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12703 Don't hardcode point-min==1.
12704
6dbe3e96
SM
12705 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12706 (eshell-rewrite-for-command): Remove workaround.
12707 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12708 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12709 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12710
cbe71af3
SM
12711 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12712
a8e1496d
GM
127132011-11-17 Glenn Morris <rgm@gnu.org>
12714
12715 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12716 Ignore buffer-local generated-autoload-file if it is the same
12717 as the global value. (Bug#10049)
12718
df85d315
JB
127192011-11-17 Juanma Barranquero <lekktu@gmail.com>
12720
12721 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12722 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12723 (reftex-toc-previous-heading, reftex-toc-max-level)
12724 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12725 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12726 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12727 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12728 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12729 (reftex-toc-rename-label, reftex-toc-visit-location)
12730 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12731 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12732 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12733 leaving "*toc*" only for references to the buffer.
12734
a0c2d0ae
MR
127352011-11-17 Martin Rudalics <rudalics@gmx.at>
12736
12737 * window.el (window-resize, delete-window, split-window):
12738 Replace window-splits by window-combination-resize.
1d00653d 12739 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12740
35c0bac8
GM
127412011-11-17 Glenn Morris <rgm@gnu.org>
12742
12743 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12744 Make bash entry derive from sh entry, not shell entry.
12745
d0c8fc8a
MA
127462011-11-16 Michael Albinus <michael.albinus@gmx.de>
12747
7262a87c
MA
12748 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12749 local file name.
12750
7877f373
JB
127512011-11-16 Juanma Barranquero <lekktu@gmail.com>
12752
12753 * menu-bar.el (menu-bar-file-menu):
12754 * printing.el (pr-ps-utility):
12755 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12756 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12757 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12758 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12759 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12760 (icalendar--convert-cyclic-to-ical)
12761 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12762 (icalendar--convert-ical-to-diary)
12763 (icalendar--convert-recurring-to-diary)
12764 (icalendar--convert-non-recurring-all-day-to-diary)
12765 (icalendar-import-format-sample):
12766 * progmodes/idlw-shell.el (idlwave-shell-mode):
12767 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12768 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12769 (vhdl-ps-print-init): Fix typos.
12770
10649b82
KM
127712011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12772
9d0cfcd6
GM
12773 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12774 FSF and collapse date sequence, obscure author/maintainer email address
12775 better, remove extra version line, track relocation of author's webpage.
10649b82 12776
9d0cfcd6
GM
12777 * progmodes/python.el (python-pdbtrack-input-prompt)
12778 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12779 regular python pdb prompts. Adjustments shamelessly taken exactly as
12780 suggested in EmacsWiki page (tiny change):
12781 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12782
58179cce
JB
127832011-11-16 Juanma Barranquero <lekktu@gmail.com>
12784
12785 * expand.el (expand-pos, expand-index, expand-point):
12786 Remove redundant info from docstring.
12787 (expand-add-abbrevs): Doc fix.
12788 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12789 (expand-sample-perl-mode-expand-list): Fix typos.
12790
12791 * net/dbus.el (dbus-event-member-name):
12792 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12793 * term/pc-win.el (msdos-create-frame-with-faces):
12794 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12795
b6f67890
MR
127962011-11-16 Martin Rudalics <rudalics@gmx.at>
12797
12798 * window.el (split-window, window-state-get-1)
12799 (window-state-put-1, window-state-put-2): Rename occurrences of
12800 window-nest to window-combination-limit.
1d00653d 12801 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12802
ce7ddba0
CY
128032011-11-16 Chong Yidong <cyd@gnu.org>
12804
12805 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12806 regexp (Bug#10033).
12807
3ae704f4
SM
128082011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12809
12810 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12811 `completing-read' will remove *Completions* and will preserve
12812 current-buffer for us.
12813 (tmm-add-prompt): Users of *Completions* will always (re)set its
12814 major mode.
12815 (tmm-old-comp-map): Remove.
12816
6ad1cdde
GM
128172011-11-16 Glenn Morris <rgm@gnu.org>
12818
12819 * mail/rmailedit.el: Require rmailmm when compiling.
12820 (rmail-old-mime-state): New declaration.
12821 (rmail-edit-current-message): If editing a mime message,
12822 edit the "raw" message from the mbox buffer.
12823 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12824
d20faa20
GM
128252011-11-15 Glenn Morris <rgm@gnu.org>
12826
12827 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12828 which wasn't being used. Add optional arg to force given state.
12829 (rmail-mime): Add optional arg to force given state.
12830
c7015153
JB
128312011-11-15 Juanma Barranquero <lekktu@gmail.com>
12832
12833 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12834 * frame.el (display-mm-dimensions-alist):
12835 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12836 (outline-move-subtree-down):
12837 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12838 (newsticker--treeview-do-get-node):
12839 * net/quickurl.el (quickurl-list-buffer-name):
12840 * progmodes/dcl-mode.el (dcl-mode):
12841 * progmodes/gdb-mi.el (gdb-mapcar*):
12842 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12843
45261b50
GM
128442011-11-15 Glenn Morris <rgm@gnu.org>
12845
12846 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12847 in a boolean sense, so just make it a boolean, and fix the doc.
12848 (rmail-show-mime-function, rmail-mime-feature)
12849 (rmail-require-mime-maybe): Doc fixes.
12850 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12851
12852 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12853
0d26e0b6
JB
128542011-11-15 Juanma Barranquero <lekktu@gmail.com>
12855
12856 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12857 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12858 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12859 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12860
447f30f6
GM
128612011-11-15 Glenn Morris <rgm@gnu.org>
12862
672b871d
GM
12863 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12864 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12865 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12866 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12867 (rmail-mime, rmail-show-mime): Doc fixes.
12868
f6aa5bb1
GM
12869 * term/ns-win.el (mode-line-frame-identification):
12870 Leave it alone. (Bug#10051)
12871
947cd66b
GM
12872 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12873
447f30f6
GM
12874 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12875 Handle empty buffers. (Bug#9978)
12876
0b381c7e
JB
128772011-11-14 Juanma Barranquero <lekktu@gmail.com>
12878
12879 * international/mule.el (define-charset):
12880 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12881 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12882 * progmodes/verilog-mode.el (verilog-backward-token):
12883 * textmodes/ispell.el (lookup-words):
12884 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12885
71e027ac
GM
128862011-11-14 Glenn Morris <rgm@gnu.org>
12887
56632ce4
GM
12888 * progmodes/executable.el
12889 (executable-make-buffer-file-executable-if-script-p):
12890 Handle file-modes returning nil.
12891
40500957
GM
12892 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12893 message - not necessary, and causes problems. (Bug#9831)
12894
071c2340
GM
12895 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12896
d3cfca60
GM
12897 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12898
71e027ac
GM
12899 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12900 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12901 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12902
89d61221
MR
129032011-11-12 Martin Rudalics <rudalics@gmx.at>
12904
12905 * window.el (window-resize, delete-window): Use window-splits
12906 variable instead of function.
12907 (window-state-get-1, window-state-put-2, window-state-put):
12908 Don't deal with windows' splits status.
12909
98282f6f
GM
129102011-11-12 Glenn Morris <rgm@gnu.org>
12911
12912 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12913 (apropos-documentation): Doc fixes.
12914
40a8bdf6
JB
129152011-11-11 Juanma Barranquero <lekktu@gmail.com>
12916
12917 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12918 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12919
65bd19ff
SM
129202011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12921
12922 * electric.el (electric-indent-post-self-insert-function): Make it
12923 possible for a char to only indent in some circumstances.
12924 (electric-indent-mode): Simplify.
12925
54f9154c
MR
129262011-11-11 Martin Rudalics <rudalics@gmx.at>
12927
12928 * window.el (windows-with-parameter): Remove unused function.
12929 (windows-at-side): Rename to window-at-side-list.
12930 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12931 (window-side-check, window-size-ignore, window-size-fixed-1)
12932 (window-in-direction-2): Prefix with "window--".
12933 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12934
68cbc58b
GM
129352011-11-11 Glenn Morris <rgm@gnu.org>
12936
12937 * subr.el (eval-after-load): If FILE is already loaded,
12938 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12939
b2621720
GM
129402011-11-10 Glenn Morris <rgm@gnu.org>
12941
9a4de110
GM
12942 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12943 Call svn via vc-svn-command rather than vc-do-command.
12944 (vc-svn-command): Add --non-interactive. (Bug#9993)
12945 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12946
b2621720
GM
12947 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12948 Add toggle-read-only. (Bug#7292)
12949 * files.el (toggle-read-only): Mention that it should only
12950 be used interactively. (Bug#10006)
12951
1dce7193
SM
129522011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12953
d9ac1a1e
SM
12954 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12955 Adjust regexp for OCaml warnings.
12956
0c325082
SM
12957 * electric.el (electric-pair-post-self-insert-function): Let user
12958 turn it off buffer-locally (bug#9932).
12959
90132c14
SM
12960 * progmodes/python.el (python-beginning-of-statement):
12961 Rewrite (bug#2703).
12962
1dce7193
SM
12963 * progmodes/compile.el: Better handle TABs (bug#9749).
12964 (compilation-internal-error-properties)
12965 (compilation-next-error-function): Obey the target buffer's
12966 compilation-error-screen-columns.
12967
c4e7c63a
JB
129682011-11-09 Juanma Barranquero <lekktu@gmail.com>
12969
12970 * progmodes/meta-mode.el: Remove obsolete comments.
12971 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12972 Fix typos in docstrings.
12973
2cffd681
MR
129742011-11-09 Martin Rudalics <rudalics@gmx.at>
12975
12976 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12977 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12978 (window--resizable): New function. Make all callers of
12979 window-resizable call window--resizable instead.
12980 (window-resizable): Rewrite in terms of window--resizable.
12981
0edcba87
GM
129822011-11-08 Glenn Morris <rgm@gnu.org>
12983
12984 * progmodes/delphi.el (delphi-mode-syntax-table):
12985 Let define-derived-mode define a proper syntax table. (Bug#9994)
12986
4b0d61e3
SM
129872011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12988
12989 * window.el: Stay away from defsubst.
12990 (window-list-no-nils): Remove.
12991 (window-state-get-1, window-state-get): Use backquote instead.
12992
cd394be1 129932011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12994
4b0d61e3 12995 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12996 Fix incorrect use of default argument in `completing-read'.
12997
e1c2c6f2
MR
129982011-11-08 Martin Rudalics <rudalics@gmx.at>
12999
13000 * window.el (display-buffer-function, special-display-function):
13001 Mention display-buffer-record-window but do not mention
13002 help-setup parameter in doc-strings.
b3f4a882 13003 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13004
105216ed
CY
130052011-11-08 Chong Yidong <cyd@gnu.org>
13006
13007 * window.el (window-total-height, window-total-width): Doc fix.
13008 (window-body-size): Move from C.
13009 (window-body-height, window-body-width): Move to C.
13010
0a9f9ab5
SM
130112011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13012
13013 * window.el: Make special-display like display-buffer-alist (bug#9532).
13014 (display-buffer--special-action): New function, morphed
13015 from display-buffer--special.
13016 (display-buffer): Use it to handle special-display-buffers at higher
13017 priority (just after display-buffer-alist).
13018 (display-buffer-fallback-action, display-buffer--other-frame-action)
13019 (pop-to-buffer-same-window): Remove display-buffer--special.
13020
a769dd15
GM
130212011-11-07 Glenn Morris <rgm@gnu.org>
13022
13023 * calendar/cal-menu.el (cal-menu-set-date-title):
13024 Do nothing if not in a calendar. (Bug#9976)
13025
05a61ee3
SM
130262011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13027
13028 * files.el (find-file): Always use selected-window.
13029
be7f5545
MR
130302011-11-07 Martin Rudalics <rudalics@gmx.at>
13031
13032 * window.el (window-combinations): Make WINDOW argument
13033 mandatory. Rewrite doc-string.
13034 (walk-window-subtree, window-atom-check, window-min-delta)
13035 (window-max-delta, window--resize-this-window)
13036 (window--resize-root-window-vertically, window-tree)
13037 (balance-windows, window-state-put): Rewrite doc-strings as to
13038 not mention the term "subwindow".
13039 (window--resize-subwindows-skip-p): Rename to
13040 window--resize-child-windows-skip-p.
13041 (window--resize-subwindows-normal): Rename to
13042 window--resize-child-windows-normal.
13043 (window--resize-subwindows): Rename to
13044 window--resize-child-windows.
13045 (window-or-subwindow-p): Rename to window--in-subtree-p.
13046
3c6702ef
ML
130472011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13048
13049 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13050 Ensure that mbox format messages end in two newlines (Bug#9974).
13051
49745b39
CY
130522011-11-06 Chong Yidong <cyd@gnu.org>
13053
13054 * window.el (window-combination-p): Function deleted; its
13055 side-effect is not used in any existing code.
13056 (window-combinations, window-combined-p): Call window-*-child
13057 directly.
13058
24300f5f
CY
130592011-11-05 Chong Yidong <cyd@gnu.org>
13060
13061 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13062 (window-size-ignore, window-state-get): Callers changed.
13063 (window-normalize-window): Rename from window-normalize-any-window.
13064 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13065 (window-normalize-live-window): Delete.
447f16b8
CY
13066 (window-combination-p, window-combined-p, window-combinations)
13067 (walk-window-subtree, window-atom-root, window-min-size)
13068 (window-sizable, window-sizable-p, window-size-fixed-p)
13069 (window-min-delta, window-max-delta, window-resizable)
13070 (window-resizable-p, window-full-height-p, window-full-width-p)
13071 (window-current-scroll-bars, window-point-1, set-window-point-1)
13072 (window-at-side-p, window-in-direction, window-resize)
13073 (adjust-window-trailing-edge, maximize-window, minimize-window)
13074 (window-deletable-p, delete-window, delete-other-windows)
13075 (record-window-buffer, unrecord-window-buffer)
13076 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13077 (quit-window, split-window, window-state-put)
13078 (set-window-text-height, fit-window-to-buffer)
13079 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13080
89bd5ee1
EZ
130812011-11-04 Eli Zaretskii <eliz@gnu.org>
13082
53479029
EZ
13083 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13084 rfc2047-decode-string.
13085 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13086 warnings.
13087
89bd5ee1
EZ
13088 * window.el (window-body-height, window-body-width): Mention in
13089 the doc string that the return values are in frame's canonical
13090 units. (Bug#9949)
13091
bd17fdee
AM
130922011-11-03 Alan Mackenzie <acm@muc.de>
13093
13094 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13095 change in cc-engine.el.
13096
acc825c5
SM
130972011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13098
13099 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13100
1885e5b8
MR
131012011-11-02 Martin Rudalics <rudalics@gmx.at>
13102
13103 * window.el (quit-window): Call unrecord-window-buffer after
13104 showing another buffer in the window. (Bug#9937)
acc825c5 13105 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13106
ebe06da9
JB
131072011-11-02 Juanma Barranquero <lekktu@gmail.com>
13108
13109 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13110 Accept status with more than 9 shelves. (Bug#9935)
13111 Reported by Colin D Bennett <colin@gibibit.com>.
13112
4ee88440
MR
131132011-11-01 Martin Rudalics <rudalics@gmx.at>
13114
13115 * help.el (with-help-window): Don't reference
13116 temp-buffer-show-specifiers in doc-string.
13117
08e1d82c
AS
131182011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13119
13120 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13121 menu-item.
13122
84bd6e9e
VJL
131232011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13124
13125 * whitespace.el: New version 13.2.2.
13126 (whitespace-newline-mode): Disable properly. Reported by Sarah
13127 <EmacsWiki>.
13128
dba0634a
UJ
131292011-10-30 Ulf Jasper <ulf.jasper@web.de>
13130
13131 * net/newst-treeview.el: Remove "Time-stamp".
13132 (newsticker--group-manage-orphan-feeds): Do not call
13133 newsticker--treeview-tree-update.
db22a3c2
JB
13134 (newsticker-treeview-update, newsticker-treeview):
13135 Call newsticker--treeview-tree-update if necessary.
dba0634a 13136
3d8daefe
MR
131372011-10-30 Martin Rudalics <rudalics@gmx.at>
13138
13139 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13140 (window-iso-combinations): Remove "iso-" infix.
13141 Suggested by Chong Yidong.
3d8daefe
MR
13142 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13143 (window-max-delta-1, window-resize, window--resize-siblings)
13144 (window--resize-this-window, adjust-window-trailing-edge)
13145 (split-window, balance-windows-1)
13146 (shrink-window-if-larger-than-buffer):
13147 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13148 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13149
1bc4c3ae
SM
131502011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13151
13152 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13153 in place (bug#9907).
13154 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13155 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13156 (eshell-structure-basic-command, eshell-rewrite-while-command)
13157 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13158 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13159 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13160 (eshell-do-pipelines-synchronously, eshell-eval-command):
13161 Use backquotes and prefer setq to set.
13162 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13163 (eshell-macrop): Use functionp.
c1e2f5fa 13164 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13165
30b65d9c
CY
131662011-10-30 Chong Yidong <cyd@gnu.org>
13167
13168 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13169 instead of set-mark (Bug#9810).
13170
2d197ffb
CY
131712011-10-30 Chong Yidong <cyd@gnu.org>
13172
13173 * window.el (split-window-below, split-window-right): Rename from
13174 split-window-above-each-other and split-window-side-by-side
13175 respectively. All callers changed.
13176 (split-window-sensibly, split-window-sensibly): Use them.
13177 (split-window-keep-point): Doc fix.
13178
13179 * isearch.el: Add isearch-scroll property to split-window-below
13180 and split-window-right.
13181
13182 * follow.el (follow-mode):
13183 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13184 * progmodes/ada-xref.el (ada-gdb-application):
13185 * emulation/vip.el (vip-buffer-in-two-windows):
13186 * image-dired.el (image-dired-dired-with-window-configuration):
13187 * dired-x.el (dired-do-find-marked-files):
13188 * dired.el (dired-pop-to-buffer):
13189 * bs.el (bs--show-with-configuration):
13190 * vc/emerge.el (emerge-setup-windows):
13191 * textmodes/two-column.el (2C-two-columns):
13192 * textmodes/reftex-toc.el (reftex-toc):
13193 * progmodes/gdb-mi.el (gdb-setup-windows):
13194 * progmodes/fortran.el (fortran-window-create):
13195 * net/newst-treeview.el (newsticker--treeview-window-init):
13196 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13197 * emulation/tpu-edt.el (tpu-gold-map):
13198 * emulation/crisp.el (crisp-mode-map):
13199 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13200
38bb2ca8
CY
132012011-10-29 Chong Yidong <cyd@gnu.org>
13202
aa4de341
CY
13203 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13204
e1eb5385
CY
13205 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13206
5d2ece3c
CY
13207 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13208 forged Ispell output (Bug#7904).
13209
38bb2ca8
CY
13210 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13211
d0af9f77
SM
132122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13213
13214 * doc-view.el: Avoid ugly errors about not finding nil.
13215 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13216 (doc-view-dvipdf-program, doc-view-unoconv-program)
13217 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13218 Avoid nil or absolute file name as default value.
13219 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13220
52bedd34
AM
132212011-10-28 Alan Mackenzie <acm@muc.de>
13222
db22a3c2 13223 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13224
7e43cfa5
AM
132252011-10-28 Alan Mackenzie <acm@muc.de>
13226
13227 Amend the handling of c-beginning/end-of-defun in nested declaration
13228 scopes.
13229
52bedd34
AM
13230 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13231 cc-langs.el. Change it to a defcustom.
7e43cfa5 13232
52bedd34
AM
13233 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13234 cc-vars.el.
7e43cfa5 13235
d0af9f77
SM
13236 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13237 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13238
52bedd34 13239 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13240 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13241 (c-widen-to-enclosing-decl-scope): New function.
13242 (c-while-widening-to-decl-block): New macro.
13243 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13244 outward for defun boundaries, and correspondingly change symbol
13245 `respect-enclosure' to `go-outward'.
13246 (c-declaration-limits): Change algorithm to report only the "innermost"
13247 defun's boundaries.
13248
1a2ce9ee
DD
132492011-10-28 Deniz Dogan <deniz@dogan.se>
13250
13251 * net/rcirc.el (rcirc-mode): Use hard newlines.
13252
bc97a826
AM
132532011-10-28 Alan Mackenzie <acm@muc.de>
13254
13255 Amend to indent and fontify macros "which include their own semicolon"
13256 correctly, using the "virtual semicolon" mechanism.
13257
52bedd34 13258 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13259
d0af9f77 13260 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13261 Recode to scan one line at a time rather than having \n and \r
58179cce 13262 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13263 (c-forward-label): Amend for virtual semicolons.
58179cce 13264 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13265
52bedd34
AM
13266 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13267 of the new C macros.
bc97a826 13268
52bedd34 13269 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13270 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13271 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13272 (c-opt-cpp-macro-define): Make into a full language variable.
13273 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13274 AWK Mode (including \n, \r) removed, no longer needed.
13275
d0af9f77
SM
13276 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13277 Invoke c-make-macro-with-semi-re.
bc97a826 13278
52bedd34
AM
13279 * progmodes/cc-vars.el (c-macro-with-semi-re):
13280 (c-macro-names-with-semicolon): New variables.
58179cce 13281 (c-make-macro-with-semi-re): New function.
bc97a826 13282
7a6c0941
SM
132832011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13284
13285 * vc/log-edit.el: Fill empty field rather than adding new one.
13286 (log-edit-add-field): New function.
13287 (log-edit-insert-changelog): Use it.
13288
b0c4cdcf
ML
132892011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13290
13291 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13292
ee1f1da9
SM
132932011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13294
13295 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13296 (gdb--check-interpreter): New function.
13297 (gdb): Use it.
13298
51bc5f8b
GM
132992011-10-27 Glenn Morris <rgm@gnu.org>
13300
416a2c45
GM
13301 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13302 (least-positive-float, least-negative-float)
13303 (least-positive-normalized-float, least-negative-normalized-float)
13304 (float-epsilon, float-negative-epsilon):
13305 Remove unnecessary declarations.
13306
13307 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13308 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13309 (least-positive-float, least-negative-float)
13310 (least-positive-normalized-float, least-negative-normalized-float)
13311 (float-epsilon, float-negative-epsilon): Add doc-strings,
13312 based on those in cl.texi.
13313
51bc5f8b
GM
13314 * files.el (set-visited-file-name): If the major-mode changed,
13315 reload the local variables. (Bug#9796)
13316
15de15c6
CY
133172011-10-27 Chong Yidong <cyd@gnu.org>
13318
13319 * subr.el (change-major-mode-after-body-hook): New hook.
13320 (run-mode-hooks): Run it.
13321
ee1f1da9
SM
13322 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13323 Use change-major-mode-before-body-hook.
15de15c6
CY
13324
13325 * simple.el (fundamental-mode):
13326 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13327 change introducing fundamental-mode-hook.
13328
5430d399
JB
133292011-10-26 Juanma Barranquero <lekktu@gmail.com>
13330
acc825c5 13331 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13332
ad74a69e
MA
133332011-10-26 Michael Albinus <michael.albinus@gmx.de>
13334
13335 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13336 tramp.el explicitly. (Bug#7583)
ad74a69e 13337
71d4c2a5
SM
133382011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13339
13340 * progmodes/octave-mod.el:
13341 * progmodes/octave-inf.el: Update maintainer.
13342
b1f6fa26
CY
133432011-10-26 Chong Yidong <cyd@gnu.org>
13344
13345 * subr.el (with-wrapper-hook): Rewrite doc.
13346
3f04efd6
MA
133472011-10-25 Michael Albinus <michael.albinus@gmx.de>
13348
13349 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13350 filenames "/method:foo:". (Bug#9793)
3f04efd6 13351
410488d3
SM
133522011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13353
13354 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13355 (bug#9865).
13356
c1ebb47e
GM
133572011-10-24 Glenn Morris <rgm@gnu.org>
13358
13359 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13360
7f5c46c7
MA
133612011-10-24 Michael Albinus <michael.albinus@gmx.de>
13362
13363 * notifications.el: Add the requirement of a running D-Bus session
13364 bus to the Commentary.
13365
db2440b6
JL
133662011-10-24 Juri Linkov <juri@jurta.org>
13367
13368 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13369 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13370 (Bug#9364)
13371
feecf435
JL
133722011-10-24 Juri Linkov <juri@jurta.org>
13373
13374 * info.el (Info-following-node-name-re): Add newline to the list
13375 of allowed characters for leading space. (Bug#9824)
13376
a3839de2
SM
133772011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13378
acc825c5
SM
13379 * progmodes/octave-inf.el (inferior-octave-mode-map):
13380 Fix C-c C-h binding.
a3839de2
SM
13381 * progmodes/octave-mod.el (octave-help): Remove.
13382
09388e76
MA
133832011-10-23 Michael Albinus <michael.albinus@gmx.de>
13384
13385 Sync with Tramp 2.2.3.
13386
13387 * net/tramp-cache.el (top): Pacify byte-compiler using
13388 `init-file-user' and `site-run-file'.
13389
13390 * net/trampver.el: Update release number.
13391
86c60681
CY
133922011-10-23 Chong Yidong <cyd@gnu.org>
13393
13394 * files.el (toggle-read-only): Remove obsolete comment about
13395 version control.
13396
13397 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13398 for toggle-read-only. Note that this hasn't called vc-next-action
13399 since 2008-05-02, though it wasn't documented at the time.
13400
a3839de2
SM
13401 * vc/ediff-init.el (ediff-toggle-read-only-function):
13402 Use toggle-read-only.
86c60681 13403
cd5495ff
AM
134042011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13405
13406 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13407 of c-parse-state.
13408
00b77525 13409 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13410 correct faulty logical expression.
cd5495ff
AM
13411 (c-parse-state-state, c-record-parse-state-state):
13412 (c-replay-parse-state-state): New defvar/defuns.
13413 (c-debug-parse-state): Use new functions.
13414
42ee24ed
MR
134152011-10-22 Martin Rudalics <rudalics@gmx.at>
13416
13417 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 13418 last fix. Use window-in-direction correctly.
42ee24ed 13419
a7dee7e7
CY
134202011-10-21 Chong Yidong <cyd@gnu.org>
13421
13422 * progmodes/idlwave.el (idlwave-mode):
13423 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
13424 require-final-newline; that's done in prog-mode.
13425 Suggested by Stefan Monnier.
a7dee7e7 13426
e07b9a6d
MR
134272011-10-21 Martin Rudalics <rudalics@gmx.at>
13428
13429 * mouse.el (mouse-drag-window-above)
13430 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13431 (mouse-drag-mode-line-1, mouse-drag-header-line)
13432 (mouse-drag-vertical-line-rightward-window): Remove.
13433 (mouse-drag-line): New function.
13434 (mouse-drag-mode-line, mouse-drag-header-line)
13435 (mouse-drag-vertical-line): Call mouse-drag-line.
13436 * window.el (window-at-side-p, windows-at-side): New functions.
13437
7e1361d9
UM
134382011-10-21 Ulrich Mueller <ulm@gentoo.org>
13439
13440 * tar-mode.el (tar-grind-file-mode):
13441 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13442
30fcaf3a
CY
134432011-10-21 Chong Yidong <cyd@gnu.org>
13444
13445 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13446 * progmodes/vera-mode.el (vera-mode):
13447 Use mode-require-final-newline.
30fcaf3a 13448
516eddb0
GM
134492011-10-20 Glenn Morris <rgm@gnu.org>
13450
db22a3c2 13451 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13452
10d5f513
CS
134532011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13454
13455 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13456
ac6c8639
CY
134572011-10-20 Chong Yidong <cyd@gnu.org>
13458
13459 * emulation/cua-base.el (cua-mode):
13460 * mail/footnote.el (footnote-mode):
13461 * mail/mailabbrev.el (mail-abbrevs-mode):
13462 * net/xesam.el (xesam-minor-mode):
13463 * progmodes/bug-reference.el (bug-reference-mode):
13464 * progmodes/cap-words.el (capitalized-words-mode):
13465 * progmodes/compile.el (compilation-minor-mode)
13466 (compilation-shell-minor-mode):
13467 * progmodes/gud.el (gud-tooltip-mode):
13468 * progmodes/hideif.el (hide-ifdef-mode):
13469 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13470 * progmodes/subword.el (subword-mode):
13471 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13472 * progmodes/which-func.el (which-function-mode):
13473 * term/tvi970.el (tvi970-set-keypad-mode):
13474 * term/vt100.el (vt100-wide-mode):
13475 * textmodes/flyspell.el (flyspell-mode):
13476 * textmodes/ispell.el (ispell-minor-mode):
13477 * textmodes/nroff-mode.el (nroff-electric-mode):
13478 * textmodes/paragraphs.el (use-hard-newlines):
13479 * textmodes/refill.el (refill-mode):
13480 * textmodes/reftex.el (reftex-mode):
13481 * textmodes/rst.el (rst-minor-mode):
13482 * textmodes/sgml-mode.el (html-autoview-mode)
13483 (sgml-electric-tag-pair-mode):
13484 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13485 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13486 * emulation/crisp.el (crisp-mode):
13487 * emacs-lisp/eldoc.el (eldoc-mode):
13488 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13489 minor mode behavior.
13490
aa42ab43
JL
134912011-10-19 Juri Linkov <juri@jurta.org>
13492
13493 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13494 the list of hard-coded chars with escape-glyph face.
13495
89400f1d
SM
134962011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13497
13498 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13499
305c07f6
MA
135002011-10-19 Michael Albinus <michael.albinus@gmx.de>
13501
13502 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13503 running process.
13504
13754b54
GM
135052011-10-19 Glenn Morris <rgm@gnu.org>
13506
13507 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13508 Ignore ignored files. (Bug#9726)
13509
06e21633
CY
135102011-10-19 Chong Yidong <cyd@gnu.org>
13511
13512 Doc fix for minor modes, stating that an omitted argument enables
13513 the mode unconditionally when called from Lisp.
13514
13515 * abbrev.el (abbrev-mode):
13516 * allout.el (allout-mode):
13517 * autoinsert.el (auto-insert-mode):
13518 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13519 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13520 (global-auto-revert-mode):
13521 * battery.el (display-battery-mode):
13522 * composite.el (global-auto-composition-mode)
13523 (auto-composition-mode):
13524 * delsel.el (delete-selection-mode):
13525 * desktop.el (desktop-save-mode):
13526 * dired-x.el (dired-omit-mode):
13527 * dirtrack.el (dirtrack-mode):
13528 * doc-view.el (doc-view-minor-mode):
13529 * double.el (double-mode):
13530 * electric.el (electric-indent-mode, electric-pair-mode):
13531 * emacs-lock.el (emacs-lock-mode):
13532 * epa-hook.el (auto-encryption-mode):
13533 * follow.el (follow-mode):
13534 * font-core.el (font-lock-mode):
13535 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13536 * help.el (temp-buffer-resize-mode):
13537 * hilit-chg.el (highlight-changes-mode)
13538 (highlight-changes-visible-mode):
13539 * hi-lock.el (hi-lock-mode):
13540 * hl-line.el (hl-line-mode, global-hl-line-mode):
13541 * icomplete.el (icomplete-mode):
13542 * ido.el (ido-everywhere):
13543 * image-file.el (auto-image-file-mode):
13544 * image-mode.el (image-minor-mode):
13545 * iswitchb.el (iswitchb-mode):
13546 * jka-cmpr-hook.el (auto-compression-mode):
13547 * linum.el (linum-mode):
13548 * longlines.el (longlines-mode):
13549 * master.el (master-mode):
13550 * mb-depth.el (minibuffer-depth-indicate-mode):
13551 * menu-bar.el (menu-bar-mode):
13552 * minibuf-eldef.el (minibuffer-electric-default-mode):
13553 * mouse-sel.el (mouse-sel-mode):
13554 * msb.el (msb-mode):
13555 * mwheel.el (mouse-wheel-mode):
13556 * outline.el (outline-minor-mode):
13557 * paren.el (show-paren-mode):
13558 * recentf.el (recentf-mode):
13559 * reveal.el (reveal-mode, global-reveal-mode):
13560 * rfn-eshadow.el (file-name-shadow-mode):
13561 * ruler-mode.el (ruler-mode):
13562 * savehist.el (savehist-mode):
13563 * scroll-all.el (scroll-all-mode):
13564 * scroll-bar.el (scroll-bar-mode):
13565 * server.el (server-mode):
13566 * shell.el (shell-dirtrack-mode):
13567 * simple.el (auto-fill-mode, transient-mark-mode)
13568 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13569 (line-number-mode, column-number-mode, size-indication-mode)
13570 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13571 * strokes.el (strokes-mode):
13572 * time.el (display-time-mode):
13573 * t-mouse.el (gpm-mouse-mode):
13574 * tool-bar.el (tool-bar-mode):
13575 * tooltip.el (tooltip-mode):
13576 * type-break.el (type-break-mode-line-message-mode)
13577 (type-break-query-mode):
13578 * view.el (view-mode):
13579 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13580 (global-whitespace-mode, global-whitespace-newline-mode):
13581 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13582
a3839de2
SM
13583 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13584 Fix autogenerated docstring.
06e21633 13585
5214e501
JL
135862011-10-19 Juri Linkov <juri@jurta.org>
13587
13588 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13589 by checking environment variables "DESKTOP_SESSION" and
13590 "XDG_CURRENT_DESKTOP". (Bug#9779)
13591
195f8db9
JL
135922011-10-19 Juri Linkov <juri@jurta.org>
13593
13594 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13595 (browse-url-chromium-program, browse-url-chromium-arguments):
13596 New defcustoms.
13597 (browse-url-default-browser): Check for `browse-url-chromium' and
13598 call `browse-url-chromium-program'.
13599 (browse-url-chromium): New command. (Bug#9779)
13600
343a34ff
JB
136012011-10-18 Juanma Barranquero <lekktu@gmail.com>
13602
13603 * facemenu.el (list-colors-duplicates): On Windows, detect more
13604 duplicates by assuming that only colors matching "^System" are
13605 special "system colors". (Bug#9722)
13606
6978a151
SM
136072011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13608
13609 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13610 to distinguish the author from the committer.
13611
6a80b297
MA
136122011-10-18 Michael Albinus <michael.albinus@gmx.de>
13613
13614 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13615
b31a5677
JK
136162011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13617
13618 * international/mule.el (sgml-html-meta-auto-coding-function):
13619 Add support for detecting encoding in HTML5 specified only as
13620 <meta charset="UTF-8">. Implementation just makes http-equiv and
13621 content-type parts from HTML4 encoding string optional. (Bug#9716)
13622
80c6d77f
GM
136232011-10-18 Glenn Morris <rgm@gnu.org>
13624
13625 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13626
08b0fee8
CY
136272011-10-18 Chong Yidong <cyd@gnu.org>
13628
13629 * faces.el (cursor): Doc fix.
13630
67e729a5
CY
136312011-10-17 Chong Yidong <cyd@gnu.org>
13632
13633 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13634
343a34ff 136352011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13636
13637 * dirtrack.el (dirtrack): Support shell buffers with path
13638 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13639
0bc06380
TZ
136402011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13641
13642 * json.el: Bump version to 1.3 and note change in History.
13643 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13644
8b79f3e0
SM
136452011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13646
5a7c536b
SM
13647 * comint.el (comint-insert-input, comint-send-input)
13648 (comint-get-old-input-default, comint-backward-matching-input)
13649 (comint-next-prompt): Use nil instead of `input' for field property of
13650 past user input (bug#114).
13651
96a8a0df
SM
13652 * minibuffer.el (completion--replace): Inherit surrounding properties
13653 (bug#114).
13654 (minibuffer-complete-and-exit): Use it.
13655
8b79f3e0
SM
13656 * comint.el (comint--table-subvert): Quote the all-completions output
13657 (bug#9160).
13658
b8f7ff0d
MR
136592011-10-17 Martin Rudalics <rudalics@gmx.at>
13660
8b79f3e0 13661 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13662
b8f7ff0d 13663 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13664 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13665 entries and separate them from frame entries.
13666
c235b555
GM
136672011-10-15 Glenn Morris <rgm@gnu.org>
13668
13669 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13670 Doc fixes.
13671
6bbfa6e1
CY
136722011-10-15 Chong Yidong <cyd@stupidchicken.com>
13673
8b79f3e0
SM
13674 * net/network-stream.el (network-stream-open-starttls):
13675 Improve detection of failure due to lack of TLS support.
ec5c990d 13676
6bbfa6e1
CY
13677 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13678 putting the input text in front and in bold.
13679
98488977
SM
136802011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13681
3d1337be
SM
13682 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13683
ee0b45e4
SM
13684 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13685 empty buffer.
13686
98488977
SM
13687 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13688 unread-command-events rather than pushing yet-another event.
13689
186f4720
EZ
136902011-10-14 Eli Zaretskii <eliz@gnu.org>
13691
13692 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13693 the explanation of the possible choices. Make the options passed
13694 to completing-read shorter.
13695
8b7a997c
AM
136962011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13697
13698 * textmodes/flyspell.el (flyspell-large-region): Make sure
13699 extended character mode is used if defined (Bug#1339).
13700
12587bbb
EZ
137012011-10-13 Eli Zaretskii <eliz@gnu.org>
13702
13703 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13704 character info for LRE, LRO, RLE, and RLO characters by appending
13705 an invisible PDF.
12587bbb 13706
bad41229
SM
137072011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13708
13709 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13710 even in case of error; add debug spec; simplify data flow.
13711 (with-timeout-handler): Remove.
13712
28dbc92f
MA
137132011-10-12 Michael Albinus <michael.albinus@gmx.de>
13714
13715 Fix Bug#6019, Bug#9315.
13716
13717 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13718 complete `buffer-file-name', the local file name part could look
13719 remotely (for example on VMS).
13720
13721 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13722 `tramp-run-real-handler'.
13723 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13724 already quoted by '"'.
13725
13726 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13727 Let `file-name-handler-alist' be nil, the local file name part
13728 could look remotely (for example on VMS).
13729
e1b0b23a
SM
137302011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13731
13732 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13733 from here...
13734 (flyspell-post-command-hook): ...to here.
13735
a120bde9
SM
137362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13737
13738 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13739 if not needed.
13740 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13741 using completion. Protect against "slow" callers.
13742 Remove the "message hack".
13743
7ce7717b
JL
137442011-10-11 Juri Linkov <juri@jurta.org>
13745
13746 * isearch.el (isearch-lazy-highlight-word): New variable.
13747 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13748 Use it. (Bug#9727)
13749
c02ee9d6
GM
137502011-10-11 Glenn Morris <rgm@gnu.org>
13751
13752 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13753 like f90-previous-statement does.
13754
93e616fd 137552011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13756
1f190e73 13757 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13758 only in interactive use, to avoid error.
13759
af7b6078
SM
137602011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13761
13762 * minibuffer.el (completion-file-name-table): Fix last change,
13763 i.e. ignore normal errors but not the other ones.
13764
0563dae9
MR
137652011-10-10 Martin Rudalics <rudalics@gmx.at>
13766
13767 * window.el (special-display-buffer-names)
13768 (special-display-regexps): Remove some remnants of earlier
13769 changes from doc-strings.
366ca7f3
MR
13770 (quit-windows-on): New function.
13771
13772 * vc/vc.el (vc-revert, vc-rollback):
13773 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13774 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13775 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13776
49677495
MR
137772011-10-09 Martin Rudalics <rudalics@gmx.at>
13778
13779 * window.el (frame-auto-hide-function): Add version tag.
13780 (Bug#9699)
13781
56f2d1e1
MA
137822011-10-09 Michael Albinus <michael.albinus@gmx.de>
13783
13784 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13785 condition.
13786
112a6592
LL
137872011-10-09 Leo Liu <sdl.web@gmail.com>
13788
13789 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13790 (Bug#9701)
13791
0812589b
GM
137922011-10-08 Glenn Morris <rgm@gnu.org>
13793
13794 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13795 before the first code statement zero indent. (Bug#9690)
13796
b2b0776e
CY
137972011-10-08 Chong Yidong <cyd@stupidchicken.com>
13798
13799 * simple.el (count-words-region): Always count in the region.
13800 Report the number of lines and characters too.
13801 (count-words): New command, which counts in the buffer if the
13802 region is inactive, as count-words-region used to.
13803 (count-words--message): New function. Handle plurals.
13804 (count-lines-region): Make it an alias for count-words-region.
13805
13806 * bindings.el (esc-map): Replace count-lines-region with
13807 count-words-region.
13808
c557cd6b
MR
138092011-10-08 Martin Rudalics <rudalics@gmx.at>
13810
13811 * window.el (window--delete): Delete dedicated frame
13812 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13813 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13814
61a57ef4 138152011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13816
3a7d293b 13817 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13818
c3833279
CY
138192011-10-07 Chong Yidong <cyd@stupidchicken.com>
13820
13821 * bindings.el ([M-left],[M-right]): Bind to left-word and
13822 right-word respectively.
13823
21ce8245
GM
138242011-10-07 Glenn Morris <rgm@gnu.org>
13825
13826 * cus-start.el (debug-on-quit): Fix custom type.
13827
6d823bb2
LMI
138282011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13829
0181e193
LMI
13830 * subr.el (define-key-after): Clarify that the function is not
13831 useful for non-menu keymaps.
13832
6d823bb2
LMI
13833 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13834
8e3459ce 138352011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13836
21ce8245 13837 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13838 in current minibuffer (Fix bug with recursive minibuffers).
13839
a1c2d21e
CY
138402011-10-06 Chong Yidong <cyd@stupidchicken.com>
13841
13842 * progmodes/gdb-mi.el (gdb): Doc fix.
13843
5a4cf282
MR
138442011-10-05 Martin Rudalics <rudalics@gmx.at>
13845
13846 * window.el (frame-auto-hide-function): New option replacing
13847 frame-auto-delete. Suggested by Stefan Monnier.
13848 (window--delete): Call frame-auto-hide-function instead of
13849 investigating frame-auto-delete.
c96111ea
MR
13850 (window-point-1, set-window-point-1): New functions.
13851 (window-in-direction, record-window-buffer, window-state-get-1)
13852 (display-buffer-record-window): Use window-point-1 instead of
13853 window-point.
13854 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13855
9854542e
SM
138562011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13857
13858 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13859
8943cfb0
GM
138602011-10-05 Glenn Morris <rgm@gnu.org>
13861
13862 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13863 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13864
647ab967
LL
138652011-10-05 Leo Liu <sdl.web@gmail.com>
13866
13867 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13868 works with buffer object.
13869
3ddfbced
SM
138702011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13871
13872 * mpc.el (mpc-tool-bar-map): Add labels.
13873
bdfa5dd2
GM
138742011-10-04 Glenn Morris <rgm@gnu.org>
13875
13876 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13877
0e2070b5
MR
138782011-10-04 Martin Rudalics <rudalics@gmx.at>
13879
13880 * window.el (window--delete): New function.
13881 (frame-auto-delete): Resuscitate option.
13882 (bury-buffer, replace-buffer-in-windows)
13883 (quit-window): Rewrite using window--delete.
13884 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13885 Pass display-buffer-mark-dedicated to window--display-buffer-2
13886 (Bug#9639).
13887
3dc61a09
SM
138882011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13889
915a9b64
SM
13890 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13891 returns a list (bug#9554). Add remote file name completion.
13892 * comint.el (comint--table-subvert): Curry and get quote&unquote
13893 functions as arguments.
13894 (comint--complete-file-name-data): Adjust call accordingly.
13895 * pcomplete.el (pcomplete--table-subvert): Remove.
13896 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13897
3dc61a09
SM
13898 * minibuffer.el (completion-table-case-fold): Use currying.
13899 (completion--styles-type, completion--cycling-threshold-type):
13900 New constants.
13901 (completion-styles, completion-category-overrides)
13902 (completion-cycle-threshold): Use them.
13903 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13904 completion-table-case-fold.
13905
8ea0a993
SB
139062011-10-03 Stephen Berman <stephen.berman@gmx.net>
13907
13908 * minibuffer.el (completion-category-overrides): Fix type of styles
13909 and add more user friendly tags (bug#9660).
13910
8c24b7f6
SM
139112011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13912
13913 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13914 (mule-input-method-string): New widget.
13915 (default-input-method, language-info-custom-alist): Use it.
13916
428fe61a
SM
139172011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13918
32c1fffd
SM
13919 * pcomplete.el: Require comint.
13920 (pcomplete--common-suffix): Remove.
13921 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13922 (pcomplete--table-subvert): Sync with comint--table-subvert.
13923 (pcomplete--entries): Use comint-completion-file-name-table.
13924 * comint.el (comint-unquote-filename): Simplify.
13925 (comint-completion-file-name-table): New function (bug#9616).
13926 (comint--complete-file-name-data): Use it.
13927
428fe61a
SM
13928 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13929 (pcmpl-gnu-tar-buffer): Remove.
13930 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13931 around. Make sure pcomplete-suffix-list is only changed temporarily.
13932 Don't look inside the tar's file if it's too large.
428fe61a 13933
04c52e2f
CY
139342011-10-01 Chong Yidong <cyd@stupidchicken.com>
13935
ce3cefcc
CY
13936 * cus-edit.el (custom-mode-map):
13937 * epa.el (epa-key-list-mode-map):
13938 * man.el (Man-mode-map):
13939 * startup.el (splash-screen-keymap):
13940 * simple.el (special-mode-map): Use scroll-up-command and
13941 scroll-down-command.
13942
13943 * progmodes/idlw-help.el (idlwave-help-mode-map):
13944 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13945 * net/newst-plainview.el (newsticker-mode-map):
13946 * emulation/ws-mode.el (wordstar-mode-map):
13947 * emulation/vi.el (vi-com-map):
13948 * calc/calc-graph.el (calc-graph-show-dumb):
13949 * term/sun.el (terminal-init-sun):
13950 * term/ns-win.el (global-map):
13951 * progmodes/grep.el (grep-mode-map):
13952 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13953 * mail/rmail.el (rmail-mode-map):
13954 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13955
04c52e2f
CY
13956 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13957 custom-safe-themes as special.
13958
79adf8c8
JD
139592011-10-01 Julien Danjou <julien@danjou.info>
13960
13961 * notifications.el (notifications-notify): Fix docstring.
13962
63bd50d3
PS
139632011-10-01 Per Starbäck <per@starback.se>
13964
13965 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13966
199e4c7e
MR
139672011-09-30 Martin Rudalics <rudalics@gmx.at>
13968
13969 * startup.el (command-line-1): Fix last fix by inserting
13970 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13971 (Bug#9605) and (Bug#9636)
199e4c7e 13972
fe5f08dd
EZ
139732011-09-29 Eli Zaretskii <eliz@gnu.org>
13974
13975 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13976 window is hscrolled, move by logical lines. (Bug#9607)
13977 (line-move-visual): Update the doc string to the above effect.
13978
b5516bbd
MR
139792011-09-29 Martin Rudalics <rudalics@gmx.at>
13980
ccee00c0
MR
13981 * window.el (display-buffer-record-window): When WINDOW is the
13982 selected window use `point' instead of `window-point'. (Bug#9626)
13983
b5516bbd
MR
13984 * startup.el (command-line-1): Use insert-before-markers when
13985 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13986
b5516bbd
MR
13987 * help.el (help-window): Remove variable.
13988
52aa0014
GM
139892011-09-29 Glenn Morris <rgm@gnu.org>
13990
13991 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13992
df9a7357
JB
139932011-09-29 Juanma Barranquero <lekktu@gmail.com>
13994
13995 * descr-text.el (describe-char-categories): Accept category
13996 descriptions more than one line long.
13997
a8406c20
SM
139982011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13999
88d9610c
SM
14000 * simple.el (delete-trailing-whitespace): Fix last change.
14001
a5daf810
SM
14002 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14003 Don't confuse "y => 3" as the beginning of a `y' operation.
14004
a8406c20
SM
14005 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14006 object has more than 4 slots (bug#9613).
14007
a239d4e9
JB
140082011-09-28 Juanma Barranquero <lekktu@gmail.com>
14009
14010 * subr.el (with-output-to-temp-buffer):
14011 * net/quickurl.el (quickurl, quickurl-browse-url):
14012 Fix typos in docstrings.
14013
693fbdb6
EZ
140142011-09-27 Eli Zaretskii <eliz@gnu.org>
14015
14016 * minibuffer.el (completion-styles)
14017 (completion-category-overrides): Cross reference each other in doc
14018 strings.
14019
8b457e28
GM
140202011-09-27 Glenn Morris <rgm@gnu.org>
14021
14022 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14023 to split-string. (Bug#9606)
14024
85a16208
LMI
140252011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14026
14027 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14028 (bug#9615).
14029
502f9ebd
CY
140302011-09-27 Chong Yidong <cyd@stupidchicken.com>
14031
14032 * emacs-lisp/package.el (list-packages): Fix echo area message.
14033
7690bdea
LL
140342011-09-27 Leo Liu <sdl.web@gmail.com>
14035
14036 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14037
e2ee6f30
MA
140382011-09-25 Michael Albinus <michael.albinus@gmx.de>
14039
14040 * net/dbus.el (dbus-unregister-object): Don't release services for
14041 registered signals. (Bug#9581)
14042
f3f98342
TZ
140432011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14044
14045 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14046 function that picks between cfengine 2 and 3 support
14047 automatically. Update docs accordingly.
14048
dd7aa8dd
KH
140492011-09-22 Kenichi Handa <handa@m17n.org>
14050
14051 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14052 ZERO.
14053 (indian-itrans-v5-table-for-tamil): New variable.
14054 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14055
3f2b07f8
KM
140562011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14057
14058 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14059 that's true if the current command involved collapsing of text.
14060 It's reset to false at the beginning of the next command.
14061 (allout-post-command-business): Move the cursor to the beginning
14062 of entry if the cursor is hidden and collapsing activity just
14063 happened.
14064
371d6a61
CY
140652011-09-24 Chong Yidong <cyd@stupidchicken.com>
14066
14067 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14068 tracking (Bug#9541).
14069
2ac2721a
UJ
140702011-09-24 Ulf Jasper <ulf.jasper@web.de>
14071
14072 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14073 (newsticker-show-news): Automatically load html rendering package
14074 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14075 because w3m-fill-column is let-bound" and the error "Symbol's value
14076 as variable is void: w3m-fill-column".
2ac2721a 14077
fac7ae53
MA
140782011-09-24 Michael Albinus <michael.albinus@gmx.de>
14079
14080 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14081 Release services only if they are defined. (Bug#9581)
14082
e08b633b
RS
140832011-09-23 Richard Stallman <rms@gnu.org>
14084
e488d29c
RS
14085 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14086 distinguish start of paragraph from start of its text.
14087
19c38752
RS
14088 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14089
e08b633b
RS
14090 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14091 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14092 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14093
0a39f27e
AS
140942011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14095
14096 * international/mule-diag.el (mule-diag): Insert a newline after
14097 each fontset description.
14098
db4e950d
SM
140992011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14100
14101 * simple.el (delete-trailing-whitespace):
14102 Document last change; simplify.
14103
eca3f3ea
PW
141042011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14105
d68e189a
PW
14106 * simple.el (delete-trailing-whitespace): Also delete
14107 extra newlines at the end of the buffer.
14108
eca3f3ea
PW
14109 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14110 (picture-newline): Use forward-line so as to ignore fields.
14111
01c157cc
SM
141122011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14113
14114 * subr.el (with-wrapper-hook): Fix edebug spec.
14115
022de23e
LMI
141162011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14117
14118 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14119 (bug#4538).
14120
91683089
MA
141212011-09-23 Michael Albinus <michael.albinus@gmx.de>
14122
eca3f3ea
PW
14123 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14124 Fix nasty bug using wrong cached values.
91683089 14125
5bdd6fa4
AM
141262011-09-23 Alan Mackenzie <acm@muc.de>
14127
14128 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14129
97adfb97
CY
141302011-09-23 Chong Yidong <cyd@stupidchicken.com>
14131
14132 * window.el (pop-to-buffer): Ensure right window is selected if we
14133 chose another frame.
14134
d4ef2b50
EZ
141352011-09-22 Eli Zaretskii <eliz@gnu.org>
14136
14137 * simple.el (what-cursor-position): Use get-char-property-change
14138 and next-single-char-property-change, to be able to show display
14139 properties that come from overlays as well as text properties.
14140
72258fe5
CY
141412011-09-22 Chong Yidong <cyd@stupidchicken.com>
14142
14143 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14144
14145 * cmuscheme.el (run-scheme, switch-to-scheme):
14146 * cus-edit.el (customize-group, custom-buffer-create)
14147 (customize-browse):
14148 * info.el (info):
14149 * shell.el (shell):
14150 * mail/sendmail.el (mail):
14151 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14152
8f098516
RS
141532011-09-22 Richard Stallman <rms@gnu.org>
14154
14155 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14156 move back only to line beg, don't move back over blank lines.
14157
e74f1bb6
MA
141582011-09-22 Michael Albinus <michael.albinus@gmx.de>
14159
14160 * files.el (copy-directory): Set directory attributes only in case
14161 they could be retrieved from the source directory. (Bug#9565)
14162
bfeef8b6
DK
141632011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14164
14165 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14166 (hs-find-block-beginning, hs-hide-level-recursive):
14167 Ignore strings as well as comments. (Bug#9502)
14168
7e423bb8
AS
141692011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14170
14171 * progmodes/sql.el (sql-comint-postgres):
14172 Convert port number to a string. (Bug#9566)
14173
b4d72fcf
MR
141742011-09-22 Martin Rudalics <rudalics@gmx.at>
14175
14176 * window.el (quit-window): Undedicate window when switching to
14177 previous buffer. Reported by Thierry Volpiatto
14178 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14179 (special-display-popup-frame): When popping up a new frame reset
14180 its previous buffers to nil. Simplify code.
b4d72fcf 14181
a7b88dc6
MA
141822011-09-21 Michael Albinus <michael.albinus@gmx.de>
14183
14184 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14185 and process filter, as done also in `shell-command'.
14186
cf4eacfd
MR
141872011-09-21 Martin Rudalics <rudalics@gmx.at>
14188
eca3f3ea 14189 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14190 Call set-window-start with NOFORCE argument t.
14191 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14192 (quit-window): Reword doc-string. Handle new format of
14193 quit-restore parameter. Don't delete window if it has a
14194 previous buffer we can show instead of the present one.
14195 (display-buffer-record-window): Rewrite using a new format for
14196 the quit-restore window parameter
14197 (special-display-popup-frame, display-buffer-same-window)
14198 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14199 (display-buffer-pop-up-window, display-buffer-use-some-window):
14200 Adapt symbol passed to display-buffer-record-window.
14201 * help.el (help-window-setup): Handle new format of quit-restore
14202 parameter.
14203
8d28cb95
SM
142042011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14205
94ab793f
SM
14206 * faces.el (face-list): Fix docstring (bug#9564).
14207
8d28cb95
SM
14208 * window.el (display-buffer--action-function-custom-type):
14209 Don't include internal functions in the Custom interface.
14210
3820edeb
JL
142112011-09-20 Juri Linkov <juri@jurta.org>
14212
14213 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14214 (Info-forward-node, Info-backward-node, Info-next-preorder)
14215 (Info-last-preorder): Use it. (Bug#9528)
14216
5147931d
JL
142172011-09-20 Juri Linkov <juri@jurta.org>
14218
14219 * info.el (Info-last-preorder): Visit last menu item only when
14220 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14221
cf499a1a
JD
142222011-09-20 Julien Danjou <julien@danjou.info>
14223
14224 * password-cache.el (password-cache-remove): Remove entries even if the
14225 value is nil, so that password with a nil value (negative caching) is
14226 possible to invalidate.
14227
f84e2fe2
LM
142282011-09-20 Lawrence Mitchell <wence@gmx.li>
14229
14230 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14231 all whitespace around breakpoint. (Bug#9553)
14232 (f90-find-breakpoint): Only break at whitespace inside a comment.
14233
78054a46
SM
142342011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14235
14236 * minibuffer.el (completion-file-name-table): Keep track of errors.
14237 (completion-table-with-predicate): Handle the case where pred1 is nil.
14238 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14239
345083b2
SM
142402011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14241
e24e27be
SM
14242 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14243 (debugger-return-value): Signal an error if the debugging context does
14244 not await any return value.
14245
345083b2
SM
14246 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14247 * image-mode.el (image-toggle-display-text)
14248 (image-toggle-display-image): Stay away from evil `intangible'.
14249
08d355e3
LL
142502011-09-19 Leo Liu <sdl.web@gmail.com>
14251
14252 * replace.el (occur-revert-arguments): Make it permanent-local.
14253 (occur-mode): Don't call font-lock-defontify.
14254
f01da43f
CY
142552011-09-19 Chong Yidong <cyd@stupidchicken.com>
14256
14257 * net/ldap.el (ldap-search-internal): Don't push empty search
14258 result (Bug#9508).
14259
b6072fa6
SM
142602011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14261
14262 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14263
443d6696
MA
142642011-09-19 Michael Albinus <michael.albinus@gmx.de>
14265
14266 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14267 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14268
7cc6e154
JL
142692011-09-18 Juri Linkov <juri@jurta.org>
14270
14271 * buff-menu.el (Buffer-menu-mode-map):
14272 * dired.el (dired-mode-map):
14273 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14274 (lisp-interaction-mode-map):
14275 * emacs-lisp/package.el (package-menu-mode-map):
14276 * epa.el (epa-key-list-mode-map):
14277 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14278 (menu-bar-options-menu):
14279 * outline.el (outline-mode-menu-bar-map):
14280 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14281 * vc/vc-dir.el (vc-dir-menu-map):
14282 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14283 Capitalize non-function content words in menu item strings.
14284
14285 * dired.el (dired-mode-map): Add menu item for
14286 `image-dired-dired-toggle-marked-thumbs'.
14287
80302a81
JL
142882011-09-18 Juri Linkov <juri@jurta.org>
14289
14290 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14291 to `isearch-case-fold-search' and restore its original value
14292 after the `isearch-mode' call.
14293
46c5cf66
JL
142942011-09-18 Juri Linkov <juri@jurta.org>
14295
14296 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14297 because `zgrep' returns 1 for successful matches (bug#9226).
14298
d18b513b
JL
142992011-09-18 Juri Linkov <juri@jurta.org>
14300
14301 * info.el (Info-extract-menu-node-name): Check the second match
14302 for empty string (second test-case of bug#9528).
14303 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14304 intermediate nodes to the history (first test-case of bug#9528).
14305
72753f87
JL
143062011-09-18 Juri Linkov <juri@jurta.org>
14307
14308 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14309 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14310
c9384295
JL
143112011-09-18 Juri Linkov <juri@jurta.org>
14312
1154d12e
JB
14313 * info.el (Info-file-supports-index-cookies):
14314 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14315 outputs one more line for long file names (bug#4142).
c9384295 14316
d473dce8
CY
143172011-09-18 Chong Yidong <cyd@stupidchicken.com>
14318
14319 * newcomment.el (comment-normalize-vars): If prompting for
14320 comment-start, set comment-start-skip too (Bug#8424).
14321
2176854d
JB
143222011-09-18 Johan Bockgård <bojohan@gnu.org>
14323
14324 * icomplete.el: Fix previous fix of Bug#5849.
14325 (icomplete-mode): Don't set completion-show-inline-help.
14326 (icomplete-minibuffer-setup): Set completion-show-inline-help
14327 locally during icompletion.
14328
3aace4e4
CY
143292011-09-18 Chong Yidong <cyd@stupidchicken.com>
14330
c940224f
CY
14331 * woman.el (woman2-process-escapes): Don't delete unrecognized
14332 escapes (Bug#7843).
14333
3aace4e4
CY
14334 * files.el (inhibit-first-line-modes-regexps): Add image files.
14335 (hack-local-variables-prop-line): Return nil for malformed
14336 prop-lines (Bug#9044).
14337
710dec63
MA
143382011-09-18 Michael Albinus <michael.albinus@gmx.de>
14339
14340 * net/tramp.el (top): Don't require 'shell.
14341 (tramp-methods): Fix docstring.
14342 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14343 Return complete remote file name. Handle "smb" case.
14344 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14345 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14346
14347 * net/tramp-compat.el (top): Require 'shell.
14348
14349 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14350 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14351 `tramp-current-host'.
14352 (tramp-get-remote-tmpdir): Remove.
14353
14354 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14355 `tramp-tmpdir' entries.
14356 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14357 (tramp-smb-handle-file-attributes): Ignore errors.
14358 (tramp-smb-wait-for-output): Check also for process end.
14359
5d5ac8ec
LMI
143602011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14361
14362 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14363 when sending QUIT (bug#9312).
14364
8c0f49f0
CY
143652011-09-17 Chong Yidong <cyd@stupidchicken.com>
14366
14367 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14368 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14369 occur-mode-display-occurrence.
14370 (occur-edit-mode): Add usage message.
14371 (occur-cease-edit): New command.
14372 (occur-after-change-function): Use text properties to find the
14373 position of the prefix text.
14374 (occur-engine): Set stickiness of prefix text properties.
14375
8f1383f7
GM
143762011-09-17 Glenn Morris <rgm@gnu.org>
14377
14378 * progmodes/etags.el (complete-tag):
14379 Fix call to completion-in-region. (Bug#9526)
14380
744ba0e3
JL
143812011-09-17 Juri Linkov <juri@jurta.org>
14382
14383 * textmodes/ispell.el (ispell-word): Add to the error message
14384 the word, ispell program name and current dictionary (bug#9121).
14385 (ispell-tex-arg-end): Capitalize "error" in the error message.
14386
d9bbf400
AS
143872011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14388
14389 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14390 check. (Bug#4251)
14391
8da11505
JL
143922011-09-17 Juri Linkov <juri@jurta.org>
14393
14394 * window.el (window-safe-min-height, window-safe-min-width):
14395 Fix typos (followup to bug#9522).
14396
a91adc7e
SJ
143972011-09-17 Sven Joachim <svenjoac@gmx.de>
14398
14399 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14400
064f328a
EZ
144012011-09-16 Eli Zaretskii <eliz@gnu.org>
14402
14403 * simple.el (line-move): If goal-column is set, move by logical
14404 lines, not by display lines. (Bug#971)
14405 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14406 to reflect the above change.
14407
e69df516
SM
144082011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14409
14410 * image.el (imagemagick-register-types): Use regexp-opt.
14411
cbb0f9ab
CY
144122011-09-15 Chong Yidong <cyd@stupidchicken.com>
14413
14414 * window.el (display-buffer-base-action): Rename from
14415 display-buffer-default-action. Make default value empty.
14416 (display-buffer-overriding-action): Convert to defvar.
14417 (display-buffer-fallback-action): New var.
14418
25322144
CY
144192011-09-15 Chong Yidong <cyd@stupidchicken.com>
14420
14421 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14422 declaration.
14423 (package--add-to-archive-contents): If there is a duplicate entry
14424 with an older version, remove it.
14425 (package-menu-mark-delete, package-menu-mark-install)
14426 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
14427 (package-menu-mark-obsolete-for-deletion):
14428 Use package-menu-get-status instead of a regexp search.
25322144
CY
14429 (package-menu-get-status): Use tabulated-list-entry.
14430 (package-menu-mark-upgrades): New command.
d770725a 14431 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
14432 (package-menu-execute): Do installation before deletion.
14433 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14434 instead of checking major-mode.
14435 (package-menu--find-upgrades): New function.
14436
7520339c
LMI
144372011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14438
14439 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14440 passwords in the log buffer.
65a046c4
LMI
14441 (smtpmail-process-filter): Update the process marker so that the
14442 "broken by peer" status message is inserted in the right place.
7520339c 14443
d3c30954
SM
144442011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14445
3fe48822
SM
14446 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14447 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14448 bibtex-completion-at-point-function.
14449 (bibtex-completion-at-point-function): Use them.
14450
1b8b3954
SM
14451 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14452
d3c30954
SM
14453 * mpc.el (mpc-constraints-tag-lookup): New function.
14454 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14455 also to browser "album|playlist".
14456
72779976
JL
144572011-09-14 Juri Linkov <juri@jurta.org>
14458
14459 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14460 (isearch-edit-string): Use length of `isearch-string' when
14461 `isearch-fail-pos' returns nil.
14462 (isearch-message): Remove duplicate code and call
14463 `isearch-fail-pos' with arg `t'.
14464
a0bf2bcd
CY
144652011-09-14 Chong Yidong <cyd@stupidchicken.com>
14466
17bb0a2d
CY
14467 * replace.el (occur-mode-goto-occurrence): Don't force using other
14468 window (Bug#9499).
14469
a0bf2bcd
CY
14470 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14471
f678e0b6
MR
144722011-09-14 Martin Rudalics <rudalics@gmx.at>
14473
14474 * window.el (display-buffer-window): Remove.
14475 (display-buffer-record-window): Use help-setup window parameter
14476 instead of variable display-buffer-window.
14477 (display-buffer-function, special-display-buffer-names)
14478 (special-display-function): Mention help-setup parameter instead
14479 of display-buffer-window in doc-string.
d3c30954
SM
14480 * help.el (help-window-setup): New argument help-window.
14481 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14482 Reword some messages.
14483 (with-help-window): Pass window used for displaying the buffer
14484 to help-window-setup. Don't set display-buffer-window.
14485
8e39b2e8
GM
144862011-09-13 Glenn Morris <rgm@gnu.org>
14487
14488 * emacs-lisp/debug.el (debugger-make-xrefs):
14489 Preserve point. (Bug#9462)
14490
85e9c04b
CY
144912011-09-13 Chong Yidong <cyd@stupidchicken.com>
14492
14493 * window.el (window-deletable-p): Use next-frame.
14494
1b36ed6a
MR
144952011-09-13 Martin Rudalics <rudalics@gmx.at>
14496
14497 * window.el (window-auto-delete): Remove.
14498 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14499 dedication and previous buffers.
1b36ed6a
MR
14500 (switch-to-prev-buffer): Don't delete window.
14501 (delete-windows-on): Delete a window's frame if and only if the
14502 window is dedicated.
14503 (replace-buffer-in-windows): Delete buffer's window or frame if
14504 and only if window is dedicated.
14505 (quit-window): Handle quit-restore as before last change.
4d61f28d 14506 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14507
ef8ef9fb
CY
145082011-09-13 Chong Yidong <cyd@stupidchicken.com>
14509
14510 * window.el (window-deletable-p): Never delete the last frame on a
14511 given terminal.
14512
b2cba41e
GM
145132011-09-13 Glenn Morris <rgm@gnu.org>
14514
14515 * help.el (describe-key-briefly): Copy previous standard-output change.
14516
51553db6 145172011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14518
14519 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14520
b7556719
GM
145212011-09-13 Glenn Morris <rgm@gnu.org>
14522
14523 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14524 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14525
64b51947
CY
145262011-09-12 Chong Yidong <cyd@stupidchicken.com>
14527
14528 * dired-aux.el (dired-mark-read-string): Don't return default
14529 value on empty input (Bug#9361).
14530 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14531 Omit initial minibuffer contents.
14532 (dired-do-chmod): Signal an error on empty input.
14533 (dired-mark-read-string): Don't return default on empty input.
14534
14535 * files.el (file-modes-symbolic-to-number): Doc fix.
14536
393a301e
SM
145372011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14538
14539 * international/mule-cmds.el (ucs-completions): Remove.
14540 (read-char-by-name): Use complete-with-action instead; add metadata.
14541
fa5660f9
CY
145422011-09-11 Chong Yidong <cyd@stupidchicken.com>
14543
14544 * window.el (display-buffer--action-function-custom-type)
14545 (display-buffer--action-custom-type): New vars.
14546 (display-buffer-alist, display-buffer-default-action)
14547 (display-buffer-overriding-action): Add defcustom types.
14548
4a592f66
CY
14549 * frame.el (delete-other-frames): Doc fix (Bug#276).
14550
73d56dbd
LMI
145512011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14552
14553 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14554
37ac18a3
CY
145552011-09-11 Chong Yidong <cyd@stupidchicken.com>
14556
14557 Change modes that used same-window-* vars to use switch-to-buffer.
14558
14559 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14560 Use switch-to-buffer.
14561
14562 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14563 (customize-browse, custom-buffer-create-other-window):
14564 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14565
14566 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14567 (Info-prev, Info-up, Info-speedbar-goto-node)
14568 (info-display-manual): Use switch-to-buffer.
14569 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14570
14571 * mail/sendmail.el (mail): Use switch-to-buffer.
14572 (mail-recover): Use switch-to-buffer-other-window.
14573
14574 * cmuscheme.el (run-scheme, switch-to-scheme):
14575 * ielm.el (ielm):
14576 * shell.el (shell):
14577 * net/rlogin.el (rlogin):
14578 * net/telnet.el (telnet, rsh):
14579 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14580
10195bd6
AS
145812011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14582
14583 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14584
b322f63a
LMI
145852011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14586
39d7fed6
LMI
14587 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14588 so don't mention it (bug#9301).
ba5a81f1 14589 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14590
ee0e9f11
LMI
14591 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14592 match `x', `w32' and `ns', like the manual says (bug#9029).
14593
0b1c89c1 14594 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14595 (process-kill-buffer-query-function): Mention the buffer name in
14596 the query.
0b1c89c1 14597
77549ea8
LMI
14598 * image-mode.el (image-next-line): The line parameter is mandatory
14599 (bug#9258).
14600
803ef892
LMI
14601 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14602 which can be useful (bug#9301).
14603
12980837
LMI
14604 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14605
91054f8f
LMI
14606 * subr.el (match-string): Mention that the current buffer should
14607 be the same as the search was done in (bug#9282).
14608
b322f63a
LMI
14609 * facemenu.el: Disable the remove-* commands if the mark isn't
14610 active (bug#9162).
14611
3199b96f
CY
146122011-09-10 Chong Yidong <cyd@stupidchicken.com>
14613
14614 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14615 of display-buffer.
14616 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14617
14618 * replace.el (occur-mode-goto-occurrence)
14619 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14620 and display-buffer.
14621
14622 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14623 display-buffer.
14624
14625 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14626 special-display and same-window variables.
14627 (mail-other-window): Use switch-to-buffer-other-window.
14628 (mail-other-frame): USe switch-to-buffer-other-frame.
14629
393a301e
SM
14630 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14631 Use display-buffer-other-frame.
3199b96f
CY
14632 (gdb-display-gdb-buffer): Use pop-to-buffer.
14633
14634 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14635
14636 * progmodes/python.el: Don't set same-window-buffer-names.
14637
14638 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14639
14640 * window.el (display-buffer-alist): Add *Python*.
14641
8319e0bf
CY
146422011-09-10 Chong Yidong <cyd@stupidchicken.com>
14643
14644 * window.el (display-buffer-alist): Add entry for buffers
14645 previously handled same-window-*.
14646 (display-buffer-alist, display-buffer-default-action)
14647 (display-buffer-overriding-action): Mark as risky.
14648 (display-buffer-alist): Document action function changes.
14649 (display-buffer--same-window-action)
14650 (display-buffer--other-frame-action): New variables.
14651 (switch-to-buffer, display-buffer-other-frame): Use them.
14652 (display-buffer): Rename reuse-frame entry to reusable-frames.
14653 (display-buffer-reuse-selected-window): Function deleted.
14654 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14655 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14656 (display-buffer-special): New function.
14657 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14658 display-buffer-reuse-or-pop-window. Split off special-display
14659 part into display-buffer-special.
14660 (display-buffer-use-some-window): Don't perform any special
14661 pop-up-frames handling.
14662 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14663 (display-buffer--maybe-same-window): Rename from
0d3ff375 14664 display-buffer-maybe-same-window.
8319e0bf 14665
919a69aa
CY
14666 * info.el: Don't set same-window-regexps.
14667 (info-setup): New function.
14668 (info-other-window, info): Call it.
14669
14670 * cus-edit.el: Don't set same-window-regexps.
14671 (customize-group): New argument.
14672 (customize-group-other-window): Use it.
14673 (customize-face, customize-face-other-window): Likewise.
14674 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14675
8319e0bf
CY
14676 * net/rlogin.el:
14677 * net/telnet.el:
14678 * progmodes/gud.el: Don't set same-window-regexps.
14679
14680 * cmuscheme.el:
14681 * ielm.el:
14682 * shell.el:
14683 * mail/sendmail.el:
14684 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14685
25173000
JL
146862011-09-10 Juri Linkov <juri@jurta.org>
14687
14688 * isearch.el (isearch-edit-string): Remove obsolete mention of
14689 `C-w' (`isearch-yank-word-or-char') from docstring.
14690 (isearch-query-replace): Fix typo in docstring (bug#9466).
14691
056e44ef
JL
146922011-09-10 Juri Linkov <juri@jurta.org>
14693
14694 * paren.el (show-paren-function): Don't show escaped parens.
14695 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14696
c3760c17
EZ
146972011-09-10 Eli Zaretskii <eliz@gnu.org>
14698
14699 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14700 (mm-default-file-encoding): Remove autoload forms, they are
14701 replaced with autoload cookies in mml.el and mm-encode.el.
14702 (mail-add-attachment): New command.
14703 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14704 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14705 the doc string.
14706 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14707
fece895e
RT
147082011-09-10 Reuben Thomas <rrt@sc3d.org>
14709
e69df516
SM
14710 * simple.el (count-words-region): Use buffer if there's no region
14711 (bug#9429).
fece895e 14712
5e68ce4a
JL
147132011-09-09 Juri Linkov <juri@jurta.org>
14714
14715 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14716 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14717 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14718
0a6b9622
AM
147192011-09-09 Alan Mackenzie <acm@muc.de>
14720
14721 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14722 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14723
14a29deb
EZ
147242011-09-09 Eli Zaretskii <eliz@gnu.org>
14725
14726 Fix for Savannah bug#9392.
14727 * simple.el (mail-encode-mml): New defvar.
14728
14729 * mail/rmail.el (mail-encode-mml): Add a defvar.
14730 (rmail-enable-mime-composing): Default to t.
14731 (rmail-forward): Use MIME method of forwarding only if both
14732 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14733 Set mail-encode-mml non-nil if the MIME method was used.
14734
14735 * mail/sendmail.el (mml-to-mime): Add autoload form.
14736 (mail-encode-mml): Add a defvar.
14737 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14738 to nil.
14739 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14740 message through mml-to-mime, and reset mail-encode-mml to nil.
14741
28c45130
GM
147422011-09-09 Glenn Morris <rgm@gnu.org>
14743
14744 * woman.el (woman-if-body): When processing an .el block,
14745 do not delete the next .el block as well. (Bug#9447)
69f4b618 14746 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14747
9b1c252e
MR
147482011-09-08 Martin Rudalics <rudalics@gmx.at>
14749
14750 * window.el (window-deletable-p): Make sure window is live before
14751 invoking window-prev-buffers.
14752
567457e3
LL
147532011-09-08 Leo Liu <sdl.web@gmail.com>
14754
14755 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14756
97f05794
JL
147572011-09-08 Juri Linkov <juri@jurta.org>
14758
14759 * progmodes/compile.el (compilation-environment): Make it
14760 a defcustom (bug#8340).
14761
8b0874b5
MR
147622011-09-08 Martin Rudalics <rudalics@gmx.at>
14763
14764 * window.el (frame-auto-delete): Rename to window-auto-delete.
14765 Make it control auto-deletion of windows and/or frames.
14766 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14767 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14768 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14769 Rewrite handling of case when window/frame can be deleted.
14770 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14771 argument t. (Bug#9456)
8b0874b5 14772
4feb6e73
CY
147732011-09-07 Chong Yidong <cyd@stupidchicken.com>
14774
14775 * help-mode.el (help-mode): Restore autoload.
14776
91ab9c13
JL
147772011-09-07 Juri Linkov <juri@jurta.org>
14778
14779 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14780 `compilation-environment'. Set buffer-local
14781 `compilation-environment' to `thisenv' later after (funcall mode).
14782 (Bug#8340)
14783
14784 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14785 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14786 instead of replacing its value. (Bug#8340)
14787
0527e251
JL
147882011-09-07 Juri Linkov <juri@jurta.org>
14789
14790 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14791 based on text properties put by `grep-filter' instead of matching
14792 escape sequences.
14793 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14794 to the value of `grep-error-screen-columns' (bug#9438).
14795
249f792c
JL
147962011-09-07 Juri Linkov <juri@jurta.org>
14797
14798 * simple.el (next-error-highlight, next-error-highlight-no-select):
14799 Doc fix (bug#9432).
14800
ff7271b9
OT
148012011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14802
14803 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14804 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14805
183fc730
LL
148062011-09-07 Leo Liu <sdl.web@gmail.com>
14807
14808 * net/rcirc.el (rcirc-mode): Conditionally initialize
14809 rcirc-input-ring.
14810
77694924
SM
148112011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14812
14813 * emacs-lisp/find-func.el (find-function-C-source): Only set
14814 find-function-C-source-directory after checking that we found a source
14815 file there (bug#9440).
14816
d809b8eb
AM
148172011-09-06 Alan Mackenzie <acm@muc.de>
14818
14819 * isearch.el (isearch-other-meta-char): Wherever a key list is
14820 unread, "unread" the prefix arg, too. This fixes bug #8901.
14821
453de99f
OG
148222011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14823
14824 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14825
90439906
JL
148262011-09-05 Juri Linkov <juri@jurta.org>
14827
14828 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14829
f62bd846
JL
148302011-09-05 Juri Linkov <juri@jurta.org>
14831
14832 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14833 keeping point where processing of grep matches begins, and
14834 continue to delete remaining escape sequences from the same point.
14835 (grep-filter): Make leading zero optional in "0?1;31m" because
14836 git-grep emits "\033[1;31m" escape sequences unlike expected
14837 "\033[01;31m" as GNU Grep does (bug#9408).
14838 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14839
045820ec
JL
148402011-09-05 Juri Linkov <juri@jurta.org>
14841
14842 * subr.el (y-or-n-p): Capitalize "yes".
14843
f5e29b9b
MA
148442011-09-04 Michael Albinus <michael.albinus@gmx.de>
14845
14846 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14847 `tramp-cache-unload-hook' where appropriate.
14848 (tramp-methods): Rename `tramp-remote-sh' to
14849 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14850 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14851
14852 * net/tramp-sh.el (top): Don't require 'shell.
14853 (tramp-methods): Add `tramp-remote-shell' and
14854 `tramp-remote-shell-args' entries.
14855 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14856 (tramp-sh-handle-shell-command): Remove.
14857 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14858 Use `tramp-remote-shell'.
14859
2784c434
CY
148602011-09-03 Chong Yidong <cyd@stupidchicken.com>
14861
393a301e 14862 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14863 (sendmail-query-once): Save directly to send-mail-function.
14864 Update message-send-mail-function too.
14865
14866 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14867
464cdf56
CS
148682011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14869
14870 * progmodes/python.el (python-mode-map): Use correct function to
14871 start python interpreter from menu-bar (as reported by Geert
14872 Kloosterman).
14873 (inferior-python-mode-map): Fix typo.
393a301e 14874 (python-shell-map): Remove.
464cdf56 14875
d37e5c87
DD
148762011-09-03 Deniz Dogan <deniz@dogan.se>
14877
14878 * net/rcirc.el (rcirc-print): Simplify code for
14879 rcirc-scroll-show-maximum-output. There is no need to walk
14880 through all windows to find the right one.
14881
f3ada0ee
CS
148822011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14883
14884 * help.el (help-return-method): Doc fix.
14885
1f3c99ca
MR
148862011-09-03 Martin Rudalics <rudalics@gmx.at>
14887
14888 * window.el (window-deletable-p): Don't return a non-nil value
14889 when there's a buffer that was shown in the window before.
14890 (Bug#9419)
393a301e
SM
14891 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14892 Set window's previous buffers to nil.
1f3c99ca 14893
a3cf097f
EZ
148942011-09-03 Eli Zaretskii <eliz@gnu.org>
14895
14896 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14897 newline before and after the tag line, so it doesn't interfere
14898 with determining the paragraph direction of bidirectional text.
14899
3d03de90
LL
149002011-09-03 Leo Liu <sdl.web@gmail.com>
14901
14902 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14903
c3313451
CY
149042011-09-02 Chong Yidong <cyd@stupidchicken.com>
14905
393a301e 14906 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14907 (pop-to-buffer): Change interactive spec. Pass second argument
14908 directly to display-buffer.
14909 (display-buffer): Fix interactive spec. Use functionp to
14910 distinguish between a function and a list of functions.
14911
14912 * abbrev.el (edit-abbrevs):
14913 * arc-mode.el (archive-extract):
14914 * autoinsert.el (auto-insert):
14915 * bookmark.el (bookmark-bmenu-list):
14916 * files.el (find-file):
14917 * view.el (view-buffer):
14918 * progmodes/compile.el (compilation-goto-locus):
14919 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14920
89894cd8
CY
149212011-09-02 Chong Yidong <cyd@stupidchicken.com>
14922
14923 * window.el (display-buffer-alist): Doc fix.
14924 (display-buffer): Add docstring. Don't treat
14925 display-buffer-default specially.
14926 (display-buffer-reuse-selected-window)
14927 (display-buffer-same-window, display-buffer-maybe-same-window)
14928 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14929 (display-buffer-pop-up-window)
14930 (display-buffer-reuse-or-pop-window)
14931 (display-buffer-use-some-window): New functions.
14932 (display-buffer-default-action): Use them.
393a301e 14933 (display-buffer-default): Delete.
89894cd8
CY
14934 (pop-to-buffer-1): Fix choice of actions.
14935
ae0bc9fb
SM
149362011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14937
14938 * minibuffer.el (completion--insert-strings): Don't get confused by
14939 completion entries that end with an LF char.
14940
e9d90883
EZ
149412011-09-01 Eli Zaretskii <eliz@gnu.org>
14942
14943 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14944
437014c8
CY
149452011-09-01 Chong Yidong <cyd@stupidchicken.com>
14946
14947 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14948 (display-buffer-same-window, display-buffer-other-window):
14949 New functions.
437014c8
CY
14950 (pop-to-buffer-1): New function. Use the above.
14951 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14952 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14953
14954 * view.el (view-buffer-other-window, view-buffer-other-frame):
14955 Just use pop-to-buffer.
14956
a5e063d5
TV
149572011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14958
14959 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14960
793d32bb
WH
149612011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14962
14963 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14964
d65e4c15
RS
149652011-08-31 Richard Stallman <rms@gnu.org>
14966
14967 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14968 of the separation of rmail-view-buffer from rmail-buffer.
14969 If you say no to "replace original", the decrypt is in the
14970 view buffer. If you say yes, the decrypt goes into the
14971 rmail buffer also.
14972
f818cd2a
MR
149732011-08-31 Martin Rudalics <rudalics@gmx.at>
14974
14975 * window.el (display-buffer-window): Rewrite doc-string.
14976 (display-buffer-record-window): New function.
14977 (display-buffer-macro-specifiers)
14978 (display-buffer-even-window-sizes, display-buffer-set-height)
14979 (display-buffer-set-width, display-buffer-in-window)
14980 (display-buffer-reuse-window, display-buffer-split-specifiers)
14981 (display-buffer-side-specifiers, display-buffer-split-window-1)
14982 (display-buffer-split-window, display-buffer-split-atom-window)
14983 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14984 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14985 (display-buffer-other-window-means-other-frame)
14986 (display-buffer-normalize-special)
14987 (display-buffer-normalize-default)
14988 (display-buffer-normalize-argument)
14989 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14990 (display-buffer-normalize-specifiers, display-buffer-frame)
14991 (display-buffer-same-window, display-buffer-same-frame)
14992 (display-buffer-other-window)
14993 (display-buffer-same-frame-other-window)
14994 (display-buffer-other-frame, pop-to-buffer-same-window)
14995 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14996 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14997 (switch-to-buffer-same-frame)
14998 (switch-to-buffer-other-window-same-frame)
14999 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15000 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15001 (display-buffer-alist-set): Remove.
15002 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15003 (special-display-regexps, special-display-function):
15004 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15005 parameter.
15006 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15007 (special-display-frame-alist, special-display-popup-frame)
15008 (same-window-buffer-names, same-window-regexps, same-window-p)
15009 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15010 (split-window-preferred-function, split-height-threshold)
15011 (split-width-threshold, window-splittable-p)
15012 (split-window-sensibly, window--try-to-split-window)
15013 (window--frame-usable-p, even-window-heights)
15014 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15015 (window--display-buffer-2, display-buffer-other-frame):
15016 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15017 (display-buffer-default, display-buffer-assq-regexp): New functions.
15018 (display-buffer-alist): Rewrite doc-string.
15019 (display-buffer-default-action)
15020 (display-buffer-overriding-action): New variables.
15021 (display-buffer, switch-to-buffer): Rewrite.
15022 (pop-to-buffer): Restore Emacs 23 behavior but use
15023 window-normalize-buffer-to-display.
15024 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15025 Restore Emacs 23 behavior but use
15026 window-normalize-buffer-to-switch-to.
15027 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15028 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15029 Rewrite using Emacs 23 options.
f818cd2a 15030
5bc3b51d
MA
150312011-08-31 Michael Albinus <michael.albinus@gmx.de>
15032
15033 * net/tramp.el (tramp-root-regexp): Remove.
15034 (tramp-completion-file-name-regexp-unified)
15035 (tramp-completion-file-name-regexp-separate)
15036 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15037 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15038 (tramp-drop-volume-letter): Simplify definition.
15039 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15040
b1a4f8e1
SM
150412011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15042
15043 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15044 (bug#9356).
15045
5664fa7b
RT
150462011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15047
b1a4f8e1 15048 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15049
9a45d6c3
JL
150502011-08-29 Juri Linkov <juri@jurta.org>
15051
15052 * isearch.el (isearch-done): Don't display message "Mark saved"
15053 when arg `edit' is non-nil to prevent its flicker in the echo area.
15054
fb87e0fb
CY
150552011-08-28 Chong Yidong <cyd@stupidchicken.com>
15056
15057 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15058 obsolete packages for deletion.
15059
09ac1c2a
CS
150602011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15061
15062 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15063 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15064 view-mode from help-mode.
15065 (help-xref-override-view-map): Remove.
15066 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15067 view-mode is not used anymore.
15068
7a1ff57f
CY
150692011-08-28 Chong Yidong <cyd@stupidchicken.com>
15070
15071 * server.el (server-port): Doc fix.
15072
b9696605
CY
15073 * cus-theme.el (custom-theme-choose-mode): Inherit from
15074 special-mode (Bug#9124).
15075 (custom-theme-choose-mode-map): Add special-mode to parent.
15076
ef8cdf8c
AM
150772011-08-28 Alan Mackenzie <acm@muc.de>
15078
15079 * progmodes/cc-fonts.el
15080 (c-make-font-lock-BO-decl-search-function): New function.
15081 (c-basic-matchers-after - "Fontify the clauses after various
15082 keywords"): Extract the three keyword lists for the 3 erroneous
15083 constructs from the list of four, and use the new function above
15084 in place of an old one.
15085
27de4e20
DD
150862011-08-28 Deniz Dogan <deniz@dogan.se>
15087
15088 * net/rcirc.el (rcirc-insert-prev-input)
15089 (rcirc-insert-next-input): Remove unused argument.
15090
356a3681
SM
150912011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15092
15093 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15094
3fc9b218
AM
150952011-08-27 Alan Mackenzie <acm@muc.de>
15096
15097 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15098 handle function pointer parameters properly.
15099
538a061c
MR
151002011-08-27 Martin Rudalics <rudalics@gmx.at>
15101
15102 * window.el (display-buffer-reuse-window): Fix case where
15103 selected window was reused with non-nil OTHER-WINDOW argument.
15104 (Bug#9381)
15105
35b1c40c
DD
151062011-08-27 Deniz Dogan <deniz@dogan.se>
15107
15108 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15109 oftc's NickServ messages.
15110
2f6a3e79
GM
151112011-08-27 Glenn Morris <rgm@gnu.org>
15112
15113 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15114
7254299e
CY
151152011-08-26 Chong Yidong <cyd@stupidchicken.com>
15116
15117 * emacs-lisp/package.el (package-install): Call package-initialize
15118 if called interactively.
15119
f8ccf167
LL
151202011-08-26 Leo Liu <sdl.web@gmail.com>
15121
15122 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15123
3e8cd5ce
JL
151242011-08-25 Juri Linkov <juri@jurta.org>
15125
15126 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15127 `search-whitespace-regexp' (bug#9364).
15128
93eb7113
JL
151292011-08-25 Juri Linkov <juri@jurta.org>
15130
15131 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15132 `regexp-search-ring' to their global values to protect from
15133 updating by `read-from-minibuffer' (bug#9185).
15134
f65d1611
JL
151352011-08-25 Juri Linkov <juri@jurta.org>
15136
15137 * textmodes/ispell.el (ispell-command-loop): Add newline
15138 at the end of the "Use option `i'..." line.
15139
f1cf7a31
JL
151402011-08-25 Juri Linkov <juri@jurta.org>
15141
15142 * battery.el (display-battery-mode): If `battery-status-function'
15143 or `battery-mode-line-format' is nil, display the message and set
15144 `display-battery-mode' to nil (bug#9363).
15145
0c95fcf7
EZ
151462011-08-25 Eli Zaretskii <eliz@gnu.org>
15147
15148 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15149 bidi-string-mark-left-to-right; they are unnecessary now.
15150
a2ebe600
DD
151512011-08-25 Deniz Dogan <deniz@dogan.se>
15152
15153 * net/quickurl.el: Documentation typo fixes.
15154
e4ed06f1
CY
151552011-08-25 Chong Yidong <cyd@stupidchicken.com>
15156
15157 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15158
e5f1c99e
GM
151592011-08-25 Glenn Morris <rgm@gnu.org>
15160
b2948976
GM
15161 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15162
e5f1c99e
GM
15163 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15164 (smtpmail-via-smtp): Handle nil response from smtp.
15165
f22f4808
JL
151662011-08-24 Juri Linkov <juri@jurta.org>
15167
15168 * proced.el (proced-marked): Inherit from `error' instead of
15169 `font-lock-warning-face'.
15170
15171 * ibuffer.el (ibuffer-marked-face): Change default face from
15172 `font-lock-warning-face' to `warning'.
15173 (ibuffer-deletion-face): Change default face from
15174 `font-lock-type-face' to `error'.
15175
15176 * battery.el (battery-update): Use the face `error' instead of
15177 `font-lock-warning-face' (bug#6117).
15178
6a93965e
JL
151792011-08-24 Juri Linkov <juri@jurta.org>
15180
15181 * faces.el (success): Change face color from "Green3" to
15182 "ForestGreen" on light background (bug#9353).
15183
1ed43b09
CY
151842011-08-24 Chong Yidong <cyd@stupidchicken.com>
15185
5664fa7b
RT
15186 * window.el (quit-window): Rename from quit-restore-window.
15187 Use same arglist as old quit-window.
1ed43b09
CY
15188 (frame-auto-delete): Doc fix.
15189
15190 * view.el (view-mode-exit): Use quit-window.
15191
11dcdbb2
JL
151922011-08-24 Juri Linkov <juri@jurta.org>
15193
15194 * isearch.el (isearch-ring-adjust1): Start visiting previous
15195 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15196 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15197 for empty search string (when the last search string is reused
15198 automatically) to adjust the isearch ring to the last element and
15199 prepare the correct index for further M-p commands (bug#9185).
15200
de62b4df
KH
152012011-08-24 Kenichi Handa <handa@m17n.org>
15202
15203 * international/ucs-normalize.el: If decomposition property of
15204 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15205 nil.
15206 (nfd, nfkd): Likewise.
15207
963b492b
SM
152082011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15209
15210 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15211 from process filters aren't reliably transmitted to the surrounding
15212 accept-process-output.
15213 (mpc-proc-check): New function.
15214 (mpc-proc-sync): Use it (bug#8293)
15215
93b6b5e1
SM
152162011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15217
15218 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15219 Add compatibility functions (bug#9313).
15220
bca633fb
EZ
152212011-08-23 Eli Zaretskii <eliz@gnu.org>
15222
b177498a
EZ
15223 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15224
6df6ae42 15225 * international/uni-bidi.el: Regenerate.
bca633fb 15226
0902a04e
KH
152272011-08-23 Kenichi Handa <handa@m17n.org>
15228
15229 * international/charprop.el:
15230 * international/uni-bidi.el:
15231 * international/uni-category.el:
15232 * international/uni-combining.el:
15233 * international/uni-comment.el:
15234 * international/uni-decimal.el:
15235 * international/uni-decomposition.el:
15236 * international/uni-digit.el:
15237 * international/uni-lowercase.el:
15238 * international/uni-mirrored.el:
15239 * international/uni-name.el:
15240 * international/uni-numeric.el:
15241 * international/uni-old-name.el:
15242 * international/uni-titlecase.el:
15243 * international/uni-uppercase.el: Regenerate.
15244
3bbf23bc
MR
152452011-08-23 Martin Rudalics <rudalics@gmx.at>
15246
15247 * help.el (help-window-setup): Fix message displayed when other
15248 window is reused. (Bug#9341)
15249
b3fd59bd
SM
152502011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15251
1802e444
SM
15252 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15253 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15254
b3fd59bd
SM
15255 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15256 Mark obsolete.
15257 * shell.el (shell-parse-pcomplete-arguments): New function.
15258 (shell-completion-vars): Use it instead (bug#9160).
15259
4eb61348
SM
152602011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15261
867cab74
SM
15262 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15263 strings and comments (bug#9333).
15264
4eb61348
SM
15265 * emacs-lisp/debug.el (debug-arglist): New function.
15266 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15267 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15268
262a1439
JL
152692011-08-22 Juri Linkov <juri@jurta.org>
15270
56ee679c
JL
15271 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15272 Revert regexp that highlights output switches to its old
15273 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15274
262a1439
JL
15275 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15276 to check for empty output (bug#9226).
15277
f13f86fb
CY
152782011-08-22 Chong Yidong <cyd@stupidchicken.com>
15279
15280 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15281 symbol-constituent as the default, as that stops font-lock from
15282 working properly (Bug#8843).
15283
c65c9622
LMI
152842011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15285
15286 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15287 `coding-system-for-*' around the process open call to avoid
15288 auth-source side effects.
e7f2c178 15289 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15290 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15291 probe hangs.
c65c9622 15292
23a8a5ab
CY
152932011-08-21 Chong Yidong <cyd@stupidchicken.com>
15294
ff98b2dd
CY
15295 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15296
23a8a5ab
CY
15297 * emacs-lisp/find-func.el (find-function-noselect): New arg
15298 lisp-only.
15299
15300 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15301 signal an error for built-in functions (Bug#6664).
15302
f5e3c598
LMI
153032011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15304
15305 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15306 (smtpmail-try-auth-methods): Use it.
15307
a3f2468a
CY
153082011-08-21 Chong Yidong <cyd@stupidchicken.com>
15309
2c34e8da
CY
15310 * font-lock.el (font-lock-fontify-region)
15311 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15312 (font-lock-default-unfontify-buffer)
15313 (font-lock-default-fontify-region)
15314 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15315
b3fd59bd
SM
15316 * progmodes/compile.el (compilation-error-properties):
15317 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15318 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15319 `ant' regexp.
ee31aabc 15320
a3f2468a
CY
15321 * net/browse-url.el (browse-url-firefox): Don't call
15322 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15323
8e999f70
GM
153242011-08-20 Glenn Morris <rgm@gnu.org>
15325
c21a496a
GM
15326 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15327
59ee0542
GM
15328 * tutorial.el (tutorial--default-keys): Update some default bindings.
15329
8e999f70
GM
15330 * files.el (hack-local-variables): Fully ignore case for "mode:".
15331
e3715033
AM
153322011-08-20 Alan Mackenzie <acm@muc.de>
15333
15334 Resolve invalid use of a regexp in regexp-opt.
15335
4d61f28d
JB
15336 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15337 detection for a java annotation.
e3715033 15338
4d61f28d 15339 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15340 detection for a java annotation.
15341
4d61f28d
JB
15342 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15343 handling for java.
e3715033
AM
15344 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15345
04ed2e9c
CY
153462011-08-20 Chong Yidong <cyd@stupidchicken.com>
15347
15348 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15349 (Bug#9274).
15350
826cee64
AM
153512011-08-20 Alan Mackenzie <acm@muc.de>
15352
58179cce 15353 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15354 such a construct. Mainly for when jit-lock etc. starts a chunk
15355 here.
15356
58179cce 15357 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15358 variable.
58179cce 15359 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15360 c-make-font-lock-search-function.
15361 (c-make-font-lock-search-function): Use the above function.
15362 (c-make-font-lock-context-search-function): New function.
15363 (c-cpp-matchers): Enhance the preprocessor expression case with
15364 the above function
15365 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15366 which takes an expression.
15367
15368 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15369
13009bd8
MR
153702011-08-20 Martin Rudalics <rudalics@gmx.at>
15371
15372 * window.el (display-buffer-reuse-window)
15373 (display-buffer-pop-up-window): Don't reuse or split a side
15374 window.
15375
9234ff7f
GM
153762011-08-19 Glenn Morris <rgm@gnu.org>
15377
15378 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15379 Downcase "Mode:". (Bug#9331)
9234ff7f 15380
f635daa1
CY
153812011-08-18 Chong Yidong <cyd@stupidchicken.com>
15382
15383 * international/characters.el: Add L and R categories.
15384
15385 * subr.el (bidi-string-mark-left-to-right): Rename from
15386 string-mark-left-to-right. Use category search.
15387
15388 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15389
bc987f8b
JL
153902011-08-18 Juri Linkov <juri@jurta.org>
15391
15392 * faces.el (error, warning, success): New faces with definitions
15393 copied from old default values of `font-lock-warning-face',
15394 `compilation-warning', `compilation-info' (bug#6117).
15395
15396 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15397
15398 * progmodes/compile.el (compilation-error): Inherit from `error'.
15399 (compilation-warning): Inherit from `warning'.
15400 (compilation-info): Inherit from `success'.
15401
15402 * dired.el (dired-marked): Inherit from `warning'.
15403 (dired-flagged): Inherit from `error'.
15404
57173b96
LMI
154052011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15406
3e79eb87
LMI
15407 * mail/smtpmail.el (auth-source): Require to avoid problems with
15408 binding variables (bug#9298). Also clean up some unused
15409 autoloads.
15410
b3fd59bd
SM
15411 * net/network-stream.el (network-stream-open-starttls):
15412 Support using starttls.el without using gnutls-cli.
57173b96 15413
02b404de
JL
154142011-08-17 Juri Linkov <juri@jurta.org>
15415
15416 * progmodes/grep.el (rgrep): Handle the case when
15417 `grep-find-command' is a cons cell (bug#9278).
15418
8c9177f2
MR
154192011-08-17 Martin Rudalics <rudalics@gmx.at>
15420
15421 * window.el (display-buffer-pop-up-frame): Run frame creation
15422 function with BUFFER current (as special-display-popup-frame
15423 does). Reported by Drew Adams.
15424
3644a0ab
DU
154252011-08-17 Daiki Ueno <ueno@unixuser.org>
15426
15427 * epa-mail.el: Simplify GnuPG group expansion using
15428 epg-expand-group.
15429 (epa-mail-group-alist, epa-mail-group-modtime)
15430 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15431 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15432 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15433 Remove.
15434
5e617bc2 154352011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
15436
15437 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15438
9c4aeabf
AM
154392011-08-16 Alan Mackenzie <acm@muc.de>
15440
15441 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15442 Correct, to avoid the inside of macros.
15443
3a99bf64
RS
154442011-08-16 Richard Stallman <rms@gnu.org>
15445
04963aa8
RS
15446 * epa-mail.el: Handle GnuPG group definitions.
15447 (epa-mail-group-alist, epa-mail-group-modtime)
15448 (epa-mail-gnupg-conf-file): New variables.
15449 (epa-mail-parse-groups, epa-mail-sync-groups)
15450 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15451 (epa-mail-expand-recipients): New functions.
15452 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15453
177549d0
RS
15454 * mail/rmail.el (rmail-epa-decrypt): New command.
15455
fe38beef
RS
15456 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15457 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15458 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15459 (epa-decrypt-armor-in-region): Make error message clearer.
15460
934eacb9
SM
154612011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15462
15463 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15464 and "a2b" to "ab" for `prefix'.
15465
d024fb4e
CY
154662011-08-14 Chong Yidong <cyd@stupidchicken.com>
15467
15468 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15469 filter groups.
de148fee
CY
15470 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15471 Fourquet (Bug#8804).
d024fb4e 15472
62f1ca49
JB
154732011-08-12 Juanma Barranquero <lekktu@gmail.com>
15474
15475 * startup.el (argi): Declare as global variable (bug#9275).
15476
9ccaaa4b
CY
154772011-08-12 Chong Yidong <cyd@stupidchicken.com>
15478
15479 * subr.el (string-mark-left-to-right): Search the entire string
15480 for RTL script, not just the terminating character. Doc fix.
15481
a3dae87a
SM
154822011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15483
6cd18349
SM
15484 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15485 New function.
15486 (js--regexp-literal, js-syntax-propertize-function): Remove.
15487 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15488 (js-mode-map): Don't rebind electric keys.
15489 (js-insert-and-indent): Remove.
15490 (js-mode): Setup electric-layout and electric-indent instead.
15491
a3dae87a
SM
15492 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15493
9d5cb631
DU
154942011-08-12 Daiki Ueno <ueno@unixuser.org>
15495
15496 * epa.el (epa-progress-callback-function): Fix the logic of
15497 displaying progress.
15498 * epa-file.el (epa-file-insert-file-contents): Make progress
15499 display more user-friendly.
15500 (epa-file-write-region): Ditto.
15501
3e26a4a2
CY
155022011-08-10 Chong Yidong <cyd@stupidchicken.com>
15503
15504 * subr.el (string-mark-left-to-right): New function.
15505
15506 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15507 Use string-mark-left-to-right.
15508 (list-buffers-noselect): Caller changed.
15509
a3dae87a
SM
15510 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15511 Use string-mark-left-to-right.
3e26a4a2
CY
15512 (tabulated-list-print): Recenter after moving point.
15513
ac8cf6e6
JL
155142011-08-10 Juri Linkov <juri@jurta.org>
15515
15516 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15517 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15518 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15519
8d96c9a4
CY
155202011-08-09 Chong Yidong <cyd@stupidchicken.com>
15521
15522 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15523 (Bug#7554).
15524
7be1c708 155252011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15526
15527 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15528 character. (Bug#6594)
15529
37e11a63
CY
155302011-08-08 Chong Yidong <cyd@stupidchicken.com>
15531
839dde57
CY
15532 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15533 (image-dired--with-db-file): New macro.
15534 (image-dired-write-tags, image-dired-remove-tag)
15535 (image-dired-create-gallery-lists, image-dired-write-comments)
15536 (image-dired-get-comment, image-dired-mark-tagged-files)
15537 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15538 (image-dired-gallery-generate): Use insert-file-contents.
15539
37e11a63
CY
15540 * time.el (display-time-world-list, display-time-world-display):
15541 * time-stamp.el (time-stamp-string):
15542 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15543 set-time-zone-rule (Bug#7337).
15544
0b4946c4
DU
155452011-08-08 Daiki Ueno <ueno@unixuser.org>
15546
15547 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15548 (epg-error-to-string, epg-errors-to-string): New function.
15549 (epg-wait-for-completion): Reverse errors list.
15550 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15551 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15552 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15553 (epg-sign-keys, epg-generate-key-from-file)
15554 (epg-generate-key-from-string): Format errors by using
15555 epg-errors-to-string (bug#9255).
15556 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15557
75bfc667
JL
155582011-08-07 Juri Linkov <juri@jurta.org>
15559
15560 * faces.el (list-faces-display): Remove extra angle bracket
15561 from `help-mode-map'.
15562
15563 * info.el (Info-history-toc-nodes): Doc fix.
15564
15565 * longlines.el (longlines-mode): Doc fix.
15566
673e08bb
SM
155672011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15568
4640dd88
SM
15569 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15570 of statements and in a few more cases (bug#9183).
15571
673e08bb
SM
15572 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15573 New functions.
15574 (cl-transform-lambda): Use them (bug#9239).
15575
89b3f019
MR
155762011-08-05 Martin Rudalics <rudalics@gmx.at>
15577
15578 * window.el (display-buffer-same-window)
15579 (display-buffer-same-frame, display-buffer-other-window)
15580 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15581 (pop-to-buffer-other-window)
15582 (pop-to-buffer-same-frame-other-window)
15583 (pop-to-buffer-other-frame): Make them defuns.
15584 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15585
640c8776
SM
155862011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15587
15588 * subr.el (make-composed-keymap): Move from C. Change calling
15589 convention, and improve docstring to bring attention to a subtle point.
15590 * minibuffer.el (completing-read-default): Adjust accordingly.
15591
63648a95
MA
155922011-08-03 Michael Albinus <michael.albinus@gmx.de>
15593
15594 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15595 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15596
15597 * net/trampver.el: Update release number.
15598
b796c9b7
SM
155992011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15600
15601 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15602 "in" (bug#9190).
15603
2239d7d5
LMI
156042011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15605
e07dd7c3
LMI
15606 * mail/sendmail.el (sendmail-query-once): Restore the current
15607 buffer after querying (bug#9074).
15608
0e6a2bd7
LMI
15609 * dired.el (dired-flagged): Use different faces for marked and
15610 flagged files (bug#6117).
15611
ce887515
LMI
15612 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15613 (bug#4433).
15614
92f2affc
LMI
15615 * ido.el (ido-mode): Switch off the message if called
15616 non-interactively.
15617
57d5aff0
LMI
15618 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15619 before 587, since it appears that that's more likely to work for
15620 more people.
15621
98cd6c18 15622 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15623 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15624 exist.
15625
b96dec83
LMI
15626 * info.el: Remove the `Info-beginning-of-buffer' function
15627 (bug#8325).
15628
b796c9b7
SM
15629 * net/network-stream.el (network-stream-open-starttls):
15630 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15631
d90e2ea0
MR
156322011-08-01 Martin Rudalics <rudalics@gmx.at>
15633
15634 * window.el (display-buffer-in-window): Don't set dedicated status
15635 of window here (Bug#9215).
15636 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15637 (display-buffer-pop-up-side-window)
b796c9b7 15638 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15639
cca09170
SM
156402011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15641
15642 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15643 before binding generated-autoload-file.
15644
027b979c
DD
156452011-08-01 Deniz Dogan <deniz@dogan.se>
15646
15647 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15648
3c7ee4f3
MA
156492011-07-30 Michael Albinus <michael.albinus@gmx.de>
15650
15651 Sync with Tramp 2.2.2.
15652
15653 * net/trampver.el: Update release number.
15654
2cc8e51a
JL
156552011-07-30 Juri Linkov <juri@jurta.org>
15656
15657 * dired-aux.el (dired-touch-initial): Remove function.
15658 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15659 current time, and `default' to the last modification time of the
15660 current marked file (bug#6887).
15661
a514d856
JM
156622011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15663
15664 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15665 numeric argument to read-number (bug#9163).
a514d856 15666
8a7eddd7
MA
156672011-07-27 Michael Albinus <michael.albinus@gmx.de>
15668
15669 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15670 connection process, it could be nil.
15671
1ddd96f5
LL
156722011-07-27 Leo Liu <sdl.web@gmail.com>
15673
15674 Simplify url handling in rcirc-mode.
15675
15676 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15677 (rcirc-browse-url-at-mouse): Remove.
15678 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15679
b248a85d
AM
156802011-07-26 Alan Mackenzie <acm@muc.de>
15681
15682 Fontify bitfield declarations properly.
15683
15684 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15685 (c-symbol-chars): Now exported as a lang variable.
15686 (c-not-primitive-type-keywords): New lang variable.
15687
15688 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15689 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15690 parsed as a bitfield declaration.
b248a85d 15691
b796c9b7
SM
15692 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15693 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15694 (c-punctuation-in): New function.
15695 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15696 declarations properly.
15697
68575ab0
UJ
156982011-07-26 Ulf Jasper <ulf.jasper@web.de>
15699
15700 * calendar/icalendar.el (icalendar--all-events): Take care of
15701 multiple vcalendars in a single file.
b796c9b7 15702 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15703
0f0a88b9
DD
157042011-07-25 Deniz Dogan <deniz@dogan.se>
15705
15706 * image.el (insert-image): Clarifying docstring.
15707
0b3f36df
MA
157082011-07-24 Michael Albinus <michael.albinus@gmx.de>
15709
15710 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15711 `tramp-send-command-and-check' if there is no error.
15712 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15713
a9901f61
AM
157142011-07-22 Alan Mackenzie <acm@muc.de>
15715
15716 Prevent cc-langs.elc being loaded at run time.
15717
15718 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15719 cc-langs.
15720
4d61f28d 15721 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15722 "(require 'cc-langs)". Quote a form so it will evaluate at
15723 (cc-mode's) compilation time.
15724
11d074b2
MA
157252011-07-22 Michael Albinus <michael.albinus@gmx.de>
15726
15727 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15728 loading. (Bug#9114)
15729
938b94c8
MR
157302011-07-21 Martin Rudalics <rudalics@gmx.at>
15731
15732 * window.el (display-buffer-pop-up-window)
15733 (display-buffer-pop-up-side-window)
15734 (display-buffer-in-side-window): Call display-buffer-set-height
15735 and display-buffer-set-width after setting the new window's
b796c9b7 15736 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15737
bfa4f190
SS
157382011-07-20 Sam Steingold <sds@gnu.org>
15739
15740 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15741 (etags-tags-included-tables): Call `convert-standard-filename' on
15742 the file names contained in TAGS so that windows Emacs can handle
15743 TAGS files created by cygwin ctags.
15744
8ca42262
LMI
157452011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15746
15747 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15748 which apparently didn't work.
15749
5db2afd2 157502011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15751
5db2afd2
RW
15752 * proced.el (proced-send-signal): For *Marked Processes* buffer
15753 put point at beginning of buffer.
15754
92e15d10
SB
157552011-07-19 Stephen Berman <stephen.berman@gmx.net>
15756
15757 * proced.el (proced-format): Make header lines align with the text
15758 (bug#1779).
15759
1bfd59e5
LMI
157602011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15761
15762 * view.el (view-buffer): Allow running in `special' modes if we're
15763 visiting a file (bug#8615).
15764
f5aae37c
MR
157652011-07-19 Martin Rudalics <rudalics@gmx.at>
15766
15767 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15768 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15769 New functions.
f5aae37c
MR
15770 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15771 more accurately.
15772
bf2c1571
AM
157732011-07-18 Alan Mackenzie <acm@muc.de>
15774
15775 Fontify declarators properly when, e.g., a jit-lock chunk begins
15776 inside a declaration.
15777
15778 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15779
b796c9b7
SM
15780 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15781 New function.
bf2c1571
AM
15782 (c-complex-decl-matchers): Insert reference to
15783 c-font-lock-enclosing-decls.
15784
15785 * progmodes/cc-engine.el (c-backward-single-comment):
15786 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15787 to nil around calls to (forward-comment -1).
15788
4e190b80
LMI
157892011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15790
12dc863d
LMI
15791 * image.el (put-image): Doc typo fix.
15792
a762e966
LMI
15793 * progmodes/etags.el (tags-search): Doc typo fix.
15794
4e190b80
LMI
15795 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15796 password if we get errors 550 to 554.
15797
f019fb21
LMI
157982011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15799
b796c9b7 15800 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15801
81746738
LMI
15802 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15803 indentation character (bug#6380).
15804
3ee3a1b5
LMI
15805 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15806
c82f64de
LMI
15807 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15808 to clarify what the problem is (bug#4291).
15809
f019fb21
LMI
15810 * simple.el (current-kill): Clarify what
15811 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15812 (auto-fill-mode): Document `auto-fill-function' in relation to
15813 `auto-fill-mode' (bug#2470).
f019fb21 15814
0794775d
LM
158152011-07-16 Lawrence Mitchell <wence@gmx.li>
15816
15817 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15818 method if slot is read-only (bug#9035).
15819
be39b8cc
MR
158202011-07-16 Martin Rudalics <rudalics@gmx.at>
15821
b796c9b7 15822 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15823 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15824 selected before, see discussion of (Bug#8615), (Bug#6954).
15825 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15826
6ccf7859
GM
158272011-07-15 Glenn Morris <rgm@gnu.org>
15828
15829 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15830 Respect help-form.
6ccf7859 15831
87e86684
LM
158322011-07-09 Lawrence Mitchell <wence@gmx.li>
15833
15834 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15835 (gnutls-negotiate): Use it.
15836
d6066239
LMI
158372011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15838
b796c9b7
SM
15839 * net/gnutls.el (gnutls-negotiate):
15840 Upcase `gnutls-algorithm-priority'.
d6066239 15841
bd23ebc0
GM
158422011-07-15 Glenn Morris <rgm@gnu.org>
15843
c65bca65
GM
15844 * jka-compr.el (jka-compr-verbose): Move from here...
15845 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15846 Add missing :version tag.
15847 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15848
478615cc
LMI
158492011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15850
7b41decb
LMI
15851 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15852 (gnutls-negotiate): Use it.
15853
dbc44fcd
LMI
15854 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15855
06789f97
LMI
15856 * info.el (Info-beginning-of-buffer): New command.
15857 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15858 announcing `b' as the key (bug#8325).
ab896c37 15859 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15860
c39da690
LMI
15861 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15862
3aa5f34b
LMI
15863 * international/mule-cmds.el
15864 (describe-specified-language-support): Make the error message
15865 clearer (bug#8905).
15866
4bf0979f
LMI
15867 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15868
478615cc
LMI
15869 * isearch.el (isearch-barrier): Add a doc string, since it's
15870 mentioned in a function doc string (bug#8678).
15871
75c68aa1
MR
158722011-07-15 Martin Rudalics <rudalics@gmx.at>
15873
15874 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15875 buffer argument (Bug#9083) and self-identifying label argument.
15876
a7c33da2
GM
158772011-07-15 Glenn Morris <rgm@gnu.org>
15878
15879 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15880
2f5c6024
LMI
158812011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15882
15883 * man.el (Man-fontify-manpage): Fix message when formatting the
15884 man page (bug#7929).
15885
0bb23927 158862011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15887
15888 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15889 argument LRM; if non-nil, append an invisible LRM character to the
15890 buffer name.
15891 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15892 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15893 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15894 paragraph direction.
cce4b0a7 15895
621ef9ab
LMI
158962011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15897
d1583c48
LMI
15898 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15899 the man page name (bug#7929).
15900
6a57fb5f
LMI
15901 * image.el (put-image): Mention the `put-image' overlay property
15902 (bug#7834).
15903
d7956b14
LMI
15904 * scroll-bar.el (set-scroll-bar-mode): Mention that
15905 `scroll-bar-mode' lists the values (bug#7772).
15906
5b2d4a66
LMI
15907 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15908 command (bug#7729).
15909
7509a874
LMI
15910 * rect.el (apply-on-rectangle): Return the point after the last
15911 operation.
15912 (string-rectangle): Go to the point after the last operation
15913 (bug#7522).
15914
4fe74b19
LMI
15915 * printing.el (pr-toggle-region): Clarify the documentation
15916 slightly (bug#7493).
15917
b796c9b7
SM
15918 * time.el (display-time-update):
15919 Allow `display-time-mail-function' to return nil (bug#7158).
15920 Fix suggested by Detlev Zundel.
ab283561 15921
fc233c9d
LMI
15922 * vc/diff.el (diff): Clarify the order the file names are read
15923 (bug#7111).
15924
43f5740b
LMI
15925 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15926 the doc string (bug#7015).
15927
f2182a76
LMI
15928 * font-lock.el (font-lock-maximum-decoration): Mention what
15929 numeric levels mean (bug#6935).
15930
621ef9ab
LMI
15931 * startup.el (initial-buffer-choice): Don't mention the `none'
15932 selection, which is against policy.
15933
adc47434
MR
159342011-07-14 Martin Rudalics <rudalics@gmx.at>
15935
b796c9b7
SM
15936 * window.el (display-buffer-normalize-special):
15937 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15938
7e5bfb8f
EZ
159392011-07-14 Eli Zaretskii <eliz@gnu.org>
15940
15941 * subr.el (version<, version<=, version=): Mention "-CVS" and
15942 "-12345" alpha version numbers.
15943
27fa387a
CY
159442011-07-14 Chong Yidong <cyd@stupidchicken.com>
15945
15946 * bindings.el: Add advertised binding for set-mark-command
15947 (Bug#5772).
15948
8bdfa064
CY
159492011-07-14 Chong Yidong <cyd@stupidchicken.com>
15950
15951 * bindings.el (mode-line-other-buffer):
15952 * bookmark.el (bookmark-bmenu-2-window):
15953 * bs.el (bs-cycle-next, bs-cycle-previous):
15954 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15955 switch-to-buffer.
15956
15957 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15958 Delete.
8bdfa064 15959
5eba16a3
JB
159602011-07-14 Juanma Barranquero <lekktu@gmail.com>
15961
15962 * follow.el (follow-debug-message, follow-redisplay):
15963 * jka-cmpr-hook.el (with-auto-compression-mode):
15964 Fix typos in docstrings.
15965
15853710
LMI
159662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15967
a28e4607
LMI
15968 * subr.el (with-silent-modifications): Clarify somewhat what the
15969 macro inhibits (bug#6525).
15970
15853710
LMI
15971 * simple.el (eval-expression): Note what it does if called
15972 interactively (bug#6495).
15973
bee0fcef
CY
159742011-07-13 Chong Yidong <cyd@stupidchicken.com>
15975
b796c9b7
SM
15976 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15977 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15978
15979 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15980 Remove switch-to-buffer.
15981
58274504
LMI
159822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15983
bd2fcc8d
LMI
15984 * files.el (make-directory): Clarify that an error will be raised
15985 if there's an error (bug#6397).
15986
0f04b32c
LMI
15987 * startup.el (initial-buffer-choice): Add `none' as a choice
15988 (bug#6234).
15989
465c5fc8
LMI
15990 * subr.el (add-hook): Clarify section about buffer-local hooks
15991 (bug#6218).
15992
58274504
LMI
15993 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15994
bead9a43
JB
159952011-07-13 Juanma Barranquero <lekktu@gmail.com>
15996
15997 * tabify.el (untabify): Preserve the current column so that point
15998 doesn't move (bug#6032).
15999
3af98a7b
LMI
160002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16001
b796c9b7
SM
16002 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16003 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16004
6240145a
GM
160052011-07-13 Glenn Morris <rgm@gnu.org>
16006
16007 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16008 (dired-insert-directory): Give a message the first time
16009 if ls is found not to support --dired.
16010
1d8c2ccc
LMI
160112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16012
16013 * simple.el (toggle-truncate-lines): Clarify what is toggled
16014 (bug#5580). Text by Drew Adams.
16015
5fc4038e
CY
160162011-07-13 Chong Yidong <cyd@stupidchicken.com>
16017
16018 * simple.el (blink-matching-open): Make the error message from the
16019 last change less verbose.
16020
bf6012e5
DN
160212011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16022
16023 * font-lock.el (font-lock-comment-face): Use the high contrast
16024 "yellow" color for font-lock-comment-face on low color terminals
16025 using a dark background color (bug#4221).
16026
343c3b5a
LMI
160272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16028
7e9505c5
LMI
16029 * dired.el (dired-insert-set-properties): Make the doc string
16030 reflect what it does now (bug#5325).
16031
c26fdcf5
LMI
16032 * simple.el (blink-matching-open): Say that we were unable to find
16033 the match within the limit, if we're limited (bug#5122).
16034
bb388cc5
LMI
16035 * international/mule-cmds.el (prefer-coding-system): Add an
16036 example (bug#4869).
16037
343c3b5a
LMI
16038 * progmodes/etags.el (tags-search): Document `file-list-form'
16039 (bug#4731).
16040
2a517d45
LM
160412011-07-13 Lawrence Mitchell <wence@gmx.li>
16042
16043 * net/browse-url.el (browse-url-default-browser)
16044 (browse-url-browser-function): Make the default browser choice a
16045 bit more logical (bug#4300). Also clean up the doc string.
16046
b6c78ef2
JB
160472011-07-13 Juanma Barranquero <lekktu@gmail.com>
16048
16049 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16050 binary endings (bug#4440).
16051
1c4dd947
LMI
160522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16053
a2014063
LMI
16054 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16055 which can be pretty annoying (bug#8971).
16056
9c9c2d88
LMI
16057 * jka-compr.el (jka-compr-verbose): New variable, and use
16058 throughout (bug#8971).
16059
1c4dd947
LMI
16060 * info.el (Info-find-file): Fall back on the installation
16061 directory if we can't find the info node anywhere else.
16062
a1c9f41b
SO
160632011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16064
16065 * vc/vc.el (vc-revert-file):
16066 Don't set file time-stamp in the past. (Bug#5181)
16067
536f3d36
LMI
160682011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16069
7152b011
LMI
16070 * files.el (after-find-file): Give a better error message when
16071 trying to find a symlink that points to a file that doesn't exist
16072 (bug#4398).
16073
536f3d36
LMI
16074 * progmodes/cc-vars.el: Remove (probably) misleading comment
16075 (bug#4396).
16076
460c0fba
JB
160772011-07-12 Johan Bockgård <bojohan@gnu.org>
16078
16079 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16080
7a6bda45
CY
160812011-07-12 Chong Yidong <cyd@stupidchicken.com>
16082
16083 * mouse-sel.el: Hack restoring functionality, while keeping
16084 compatibility with 2010-07-03 changes to mouse selection.
16085 (mouse-sel-primary-overlay): New var.
16086 (mouse-sel-selection-alist): Use it.
16087 (mouse-sel-mode): Doc fix; remove points that are default features
16088 of mouse.el.
16089
c79598ef
JB
160902011-07-12 Johan Bockgård <bojohan@gnu.org>
16091
16092 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16093 Fix previous fix (bug#2490).
16094
ff8be6ef
RW
160952011-07-12 Roland Winkler <winkler@gnu.org>
16096
b796c9b7
SM
16097 * textmodes/bibtex.el (bibtex-initialize):
16098 Use pop-to-buffer-same-window.
ff8be6ef
RW
16099 (bibtex-search-entries): Fix interactive call.
16100
296ba3ee
LMI
161012011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16102
f5242a02 16103 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16104 Fontise bytecomp Error lines more correctly (bug#2490).
16105 Fix suggested by Johan Bockgård.
f5242a02 16106
296ba3ee
LMI
16107 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16108
16109 * dired-x.el (dired-guess-default): Use `delete-dups'.
16110
f69fd0d2
CY
161112011-07-12 Chong Yidong <cyd@stupidchicken.com>
16112
16113 * dired.el (dired-mark-prompt):
16114 * dired-aux.el (dired-read-shell-command): Doc fix.
16115
eab5dc07
LMI
161162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16117
b796c9b7
SM
16118 * mail/sendmail.el (sendmail-query-once):
16119 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16120 emacs -Q.
16121
16122 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16123
eab5dc07
LMI
16124 * cus-edit.el (custom-file): Take an optional no-error variable.
16125 (customize-save-variable): Set the variable, and give a warning if
16126 running under "emacs -q".
16127
a1e65d42
JB
161282011-07-11 Juanma Barranquero <lekktu@gmail.com>
16129
16130 * loadhist.el (unload-feature-special-hooks):
16131 Add `auto-coding-functions', `fill-nobreak-predicate' and
16132 `find-directory-functions' (bug#5327).
16133
1d52da10
LMI
161342011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16135
be958f1d
LMI
16136 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16137
5bedb26c
LMI
16138 * cus-edit.el (custom-guess-name-alist): -alist variables should
16139 use the `alist' type (bug#3120). Suggested by Drew Adams.
16140
1d52da10
LMI
16141 * printing.el: Add documentation to all the `pr-toggle-' commands.
16142
cd394be1 161432011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16144
16145 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16146 backends where it makes sense (bug#2623).
16147
dcc88d8a
LMI
161482011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16149
c3de9feb
LMI
16150 * dired-x.el (dired-guess-default): Remove duplicate shell command
16151 entries (bug#2028).
8a93078b 16152 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16153 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16154
dcc88d8a
LMI
16155 * subr.el (remove-duplicates): New conveniency function.
16156
505e3645
LMI
161572011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16158
16159 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16160 (bug#1526).
16161
161622011-07-10 Martin Rudalics <rudalics@gmx.at>
16163
16164 * window.el (display-buffer-normalize-default): Don't invert
16165 meaning of even-window-heights. Reported by Eli Zaretskii
16166 <eliz@gnu.org>.
16167
455e4fa1
BR
161682011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16169
16170 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16171
8e0bc3e9
CY
161722011-07-10 Chong Yidong <cyd@stupidchicken.com>
16173
16174 * window.el (display-buffer): Fix arguments to
16175 display-buffer-reuse-window in last change.
16176
fa7c3228
CY
16177 * faces.el (link): Use a less saturated blue on light backgrounds.
16178
16179 * startup.el (fancy-startup-text, fancy-about-text)
16180 (fancy-startup-tail): Use font-lock faces, for background safety.
16181
c0a7f300
BN
161822011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16183
b796c9b7
SM
16184 * emulation/viper-cmd.el (viper-change-state-to-vi):
16185 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16186
4dc2a129
MR
161872011-07-09 Martin Rudalics <rudalics@gmx.at>
16188
16189 * window.el (display-buffer-default-specifiers): Remove.
16190 (display-buffer-macro-specifiers): Remove default specifiers.
16191 (display-buffer-alist): Default to nil.
b796c9b7 16192 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16193 (display-buffer-pop-up-window): Allow splitting internal
16194 windows. Check whether a live window was created.
16195 (display-buffer-other-window-means-other-frame)
16196 (display-buffer-normalize-arguments): Rename to
16197 display-buffer-normalize-argument and rewrite. Set the
16198 other-window specifier.
16199 (display-buffer-normalize-special): New function.
16200 (display-buffer-normalize-options): Rename to
16201 display-buffer-normalize-default and rewrite.
16202 (display-buffer-normalize-options-inhibit): Remove.
16203 (display-buffer-normalize-specifiers): Rewrite.
16204 (display-buffer): Process other-window specifier and call
16205 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16206 more faithfully.
b796c9b7 16207 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16208 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16209 (display-buffer-in-window, display-buffer-alist-set):
16210 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16211 <tassilo@member.fsf.org>.
16212
2d43b8c9
LL
162132011-07-09 Leo Liu <sdl.web@gmail.com>
16214
16215 * register.el (insert-register): Restore accidental change on
16216 2011-06-26. (Bug#9028)
16217
7f9b7c53
GM
162182011-07-09 Glenn Morris <rgm@gnu.org>
16219
16220 * subr.el (remq): Handle the empty list. (Bug#9024)
16221
f042cfd8
AS
162222011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16223
16224 * mail/sendmail.el (send-mail-function): No longer delay custom
16225 initialization.
16226 * custom.el (custom-initialize-delay): Doc fix.
16227
856b2f11
SM
162282011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16229
16230 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16231
afae1d68
MA
162322011-07-08 Michael Albinus <michael.albinus@gmx.de>
16233
16234 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16235 human-friendly prompt.
16236
0757af94
SM
162372011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16238
16239 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16240 provided by a particular plugin.
16241
d760b731
LMI
162422011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16243
16244 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16245 save customizations (with "emacs -Q"), just set the variable
16246 instead of erroring out.
16247
16248 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16249
cd79ce90
JL
162502011-07-08 Juri Linkov <juri@jurta.org>
16251
16252 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16253 (archive-zip-update-case): Use 7z if found by `executable-find'.
16254 The order of searching the available programs is the same as in
16255 `archive-zip-extract' (bug#8968).
16256
14cc04aa
CY
162572011-07-07 Chong Yidong <cyd@stupidchicken.com>
16258
16259 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16260 (menu-bar-options-menu): Tweak descriptions.
16261
0a1848ec
LMI
162622011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16263
16264 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16265 menu items into verb phrases (bug#1421). Also refill to fit under
16266 80 columns.
16267
f5bd0689
CY
162682011-07-07 Chong Yidong <cyd@stupidchicken.com>
16269
538e85c6
CY
16270 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16271 (Info-read-node-name): Doc fix (Bug#1084).
16272
f5bd0689
CY
16273 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16274 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16275 (end-of-sexp, beginning-of-sexp)
16276 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16277 (forward-symbol, forward-same-syntax, word-at-point)
16278 (sentence-at-point): Doc fix (Bug#1144).
16279
56ec5115
LMI
162802011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16281
f3f8e37f
LMI
16282 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16283 should cover it (bug#1281).
16284
0757af94 16285 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16286
e9fce1ac 16287 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16288 negotiation fails, then possibly try again with a non-encrypted
16289 connection (bug#9017).
16290
56ec5115
LMI
16291 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16292 be used.
16293
c2f9aec8
RS
162942011-07-07 Richard Stallman <rms@gnu.org>
16295
16296 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16297 property, and handle its changed format.
16298 Look for the correct line number.
16299 Use file's line contents (but not past first =) to find
16300 correct line in message.
16301
ef7b981d 163022011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16303
16304 * international/characters.el (build-unicode-category-table):
16305 Delete it.
0757af94 16306 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16307
0757af94 16308 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16309 to src/chartab.c.
16310 (get-char-code-property): Call unicode-property-table-internal to
16311 load a file. Call get-unicode-property-internal where necessary.
16312 (put-char-code-property): Call unicode-property-table-internal to
16313 load a file. Call put-unicode-property-internal where necessary.
16314 put-unicode-property-internal where necessary.
0757af94
SM
16315 (char-code-property-description):
16316 Call unicode-property-table-internal to load a file.
c805dec0
KH
16317
16318 * international/charprop.el:
16319 * international/uni-bidi.el:
16320 * international/uni-category.el:
16321 * international/uni-combining.el:
16322 * international/uni-comment.el:
16323 * international/uni-decimal.el:
16324 * international/uni-decomposition.el:
16325 * international/uni-digit.el:
16326 * international/uni-lowercase.el:
16327 * international/uni-mirrored.el:
16328 * international/uni-name.el:
16329 * international/uni-numeric.el:
16330 * international/uni-old-name.el:
16331 * international/uni-titlecase.el:
16332 * international/uni-uppercase.el: Regenerate.
16333
16334 * loadup.el: Load international/charprop.el before
16335 international/characters.
16336
e14b388a
CY
163372011-07-07 Chong Yidong <cyd@stupidchicken.com>
16338
16339 * window.el (next-buffer, previous-buffer): Signal an error if
16340 called from a minibuffer window.
16341
16342 * bindings.el: Revert 2011-07-04 change.
16343
354cf0ba
RS
163442011-07-06 Richard Stallman <rms@gnu.org>
16345
16346 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16347 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16348 Treat markers like ints.
16349 (rmail-mime-entity): Doc fix.
16350
a48868a7
LMI
163512011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16352
4906cd3d
LMI
16353 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16354 defcustom again for backwards compatibility.
16355
e0457abe
LMI
16356 * simple.el (shell-command-on-region): Fill.
16357
d67f7e1f
LMI
16358 * dired-aux.el (dired-kill-line): Add a doc string.
16359
fe204702
LMI
16360 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16361 to "\\sw\\|\\s_" (bug#358).
16362
a48868a7
LMI
16363 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16364 (dired-unmark-backward): Ditto.
16365 (dired-flag-backup-files): Ditto.
16366
16367 * dired-x.el (dired-mark-sexp): Ditto.
16368
aa8a705c
RS
163692011-07-06 Richard Stallman <rms@gnu.org>
16370
16371 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16372 (rmail-mime-entity): New arg TRUNCATED.
16373 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16374 New functions.
16375 (rmail-mime-save): Warn if entity is truncated.
16376 (rmail-mime-toggle-hidden): Likewise, for showing.
16377 (rmail-mime-process-multipart): Record when an entity is truncated.
16378
a9a936b9
RS
16379 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16380 if ENTITY is a string.
16381
1f2b92cb
LMI
163822011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16383
f4f73198 16384 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16385 of faces when `M-C-x'-ing their definitions (bug#8378).
16386 Also clean up the code slightly.
f4f73198 16387
12b16734 16388 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16389 because that makes the colors go away.
12b16734 16390
f0691d22
LMI
16391 * mail/sendmail.el (send-mail-function): Change the default to
16392 `sendmail-query-once'.
9e87df06 16393 (sendmail-query-once): Add an autoload cookie.
f0691d22 16394
1f2b92cb
LMI
16395 * net/network-stream.el (network-stream-open-starttls): Try using
16396 a plain connection even if the server offered STARTTLS, and we
16397 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16398 capability. This should make smtpmail.el work in slightly more
16399 configurations.
16400
1cdd2a1b
MA
164012011-07-06 Michael Albinus <michael.albinus@gmx.de>
16402
16403 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16404 New defun.
16405 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16406
fbcc67e2
MM
164072011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16408
16409 * progmodes/sql.el: Version 3.0
0757af94 16410 (sql-product-alist): Add product :completion-object,
fbcc67e2 16411 :completion-column, and :statement attributes.
0757af94 16412 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16413 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16414 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16415 ansi keywords.
16416 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 16417 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
16418 (sql-oracle-show-reserved-words): New function for development.
16419 (sql-product-font-lock): Simplify for source code buffers.
16420 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16421 New functions.
16422 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
16423 (sql-mode-map): Add statement movement functions.
16424 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16425 New variable.
fbcc67e2
MM
16426 (sql-statement-regexp, sql-beginning-of-statement)
16427 (sql-end-of-statement, sql-signum): New functions.
0757af94 16428 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
16429 (sql-show-sqli-buffer): Bug fix.
16430 (sql-interactive-mode): Store connection data as buffer local.
0757af94 16431 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
16432 with sql-interactive-mode.
16433 (sql-save-connection): Save buffer local settings.
0757af94 16434 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
16435 (sql-product-interactive): Bug fix.
16436 (sql-preoutput-hold): New variable.
16437 (sql-interactive-remove-continuation-prompt): Bug fixes.
16438 (sql-debug-redirect): New variable.
16439 (sql-str-literal): New function.
16440 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 16441 Redesign.
fbcc67e2
MM
16442 (sql-oracle-save-settings, sql-oracle-restore-settings)
16443 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16444 (sql-completion-object, sql-completion-column)
16445 (sql-completion-sqlbuf): New variables.
16446 (sql-build-completions-1, sql-build-completions)
16447 (sql-try-completion): New functions.
16448 (sql-read-table-name): Use them.
16449 (sql-contains-names): New buffer local variable.
16450 (sql-list-all, sql-list-table): Use it.
16451 (sql-oracle-completion-types): New variable.
16452 (sql-oracle-completion-object, sql-sqlite-completion-object)
16453 (sql-postgres-completion-object): New functions.
16454
d4eaeab1
GM
164552011-07-06 Glenn Morris <rgm@gnu.org>
16456
16457 * window.el (pop-to-buffer): Doc fix.
16458
322b7dab 164592011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16460
16461 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16462
322b7dab 164632011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16464
322b7dab 16465 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16466
322b7dab 16467 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16468
605dd5bf
CY
164692011-07-05 Chong Yidong <cyd@stupidchicken.com>
16470
16471 * button.el (button): Inherit from link face. Suggested by Dan
16472 Nicolaescu.
16473
7dbfa719
SM
164742011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16475
3db614b0
SM
16476 * progmodes/gdb-mi.el: Fit in 80 columns.
16477 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16478 switch-to-buffer.
16479
7dbfa719
SM
16480 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16481 if imenu is simply not configured (bug#8941).
16482
919d884a
KM
164832011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16484
16485 * allout.el (allout-post-undo-hook): New allout outline-change
16486 event hook to signal undo activity.
16487 (allout-post-command-business): Run allout-post-undo-hook if an
16488 undo just occurred.
7dbfa719
SM
16489 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16490 * allout-widgets.el (allout-widgets-after-undo-function):
16491 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16492 in the vicinity of an undo.
16493 (allout-widgets-mode): Include allout-widgets-after-undo-function
16494 on the new allout-post-undo-hook.
16495
450a0f09
SM
164962011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16497
16498 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16499 Let define-derived-mode define it.
16500 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16501 cycles of abbrev-table inheritance (bug#8998).
16502
2de69e00
RW
165032011-07-05 Roland Winkler <winkler@gnu.org>
16504
16505 * textmodes/bibtex.el: Add support for biblatex.
16506 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16507 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16508 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16509 (bibtex-entry-alist, bibtex-field-alist): New variables.
16510 (bibtex-entry-field-alist): Obsolete alias for
16511 bibtex-BibTeX-entry-alist.
16512 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16513 (bibtex-set-dialect): New command.
16514 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16515 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16516 Bind via bibtex-set-dialect.
2de69e00
RW
16517 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16518 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16519 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16520 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16521 Define via bibtex-set-dialect.
450a0f09
SM
16522 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16523 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16524 (bibtex-vec-push, bibtex-vec-incr): New functions.
16525 (bibtex-format-entry, bibtex-field-list)
16526 (bibtex-print-help-message, bibtex-validate)
16527 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16528
2dcdbdd9
SM
165292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16530
16531 * progmodes/compile.el (compilation-goto-locus):
16532 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16533 * bs.el (bs-cycle-next, bs-cycle-previous):
16534 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16535 * bindings.el (mode-line-other-buffer):
16536 * autoinsert.el (auto-insert):
16537 * arc-mode.el (archive-extract):
16538 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16539
b27640fe
JB
165402011-07-05 Juanma Barranquero <lekktu@gmail.com>
16541
16542 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16543 Fix check of `emacs-lock-unlockable-modes'.
16544 Coerce true values of `emacs-lock--try-unlocking' to t.
16545
53bbe3ad
JB
165462011-07-05 Juanma Barranquero <lekktu@gmail.com>
16547
16548 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16549 * emacs-lock.el: New file.
16550
1d3cdbc7
JD
165512011-07-05 Julien Danjou <julien@danjou.info>
16552
16553 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16554 than `boundp' to check if face is set.
16555
9173deec
JB
165562011-07-05 Juanma Barranquero <lekktu@gmail.com>
16557
16558 * register.el (registerv-make):
16559 * window.el (window-min-height): Fix typos in docstrings.
16560
869795d6
JD
165612011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16562
9173deec 16563 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16564 Update doc string.
16565
b768cdcd
JB
165662011-07-04 Juanma Barranquero <lekktu@gmail.com>
16567
16568 * server.el (server-execute): Catch quit and call
16569 `server-return-error' to pass the error back to emacsclient and
16570 close the connection (bug#8942).
16571
13aa217b
KM
165722011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16573
16574 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16575 insecure exception for current topic. Also note that auto-saves
16576 are handled differently.
16577
5d3385a0 16578 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16579 State variables for tracking auto-save inhibition situation.
16580
16581 (allout-write-contents-hook-handler): Rename from
16582 'allout-write-file-hook-handler', and describe how it depends on
16583 write-contents-functions sensitivity to non-nil value to prevent
16584 file write.
16585
16586 (allout-auto-save-hook-handler): Remove. auto-save does not check
16587 this in individual buffers, only in the starting buffer, so this
16588 is not the right way for us to inhibit auto-save in a buffer
16589 according to its condition.
16590
16591 (allout-mode): Use new allout-write-contents-hook-handler, and
16592 only with write-contents-functions. Remove auto-save provisions -
16593 they're implemented elsewhere.
16594
16595 (allout-before-change-handler): If undo is in progress, note that
16596 for attention of allout-post-command-business.
16597
16598 (allout-post-command-business): If the command we're following was
16599 an undo, check for change in the status of encrypted items and
16600 adjust auto-save inhibitions accordingly.
16601
16602 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16603 according to whether there are or aren't any plain-text topics
16604 pending encryption.
16605
2dcdbdd9 16606 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16607 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16608 if there are plain-text topics pending encryption.
13aa217b
KM
16609
16610 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16611 buffer-saved-size and some allout state to not inhibit auto-saves
16612 if there are no longer any plain-text topics pending encryption.
16613
0757af94
SM
16614 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16615 No longer provide for exemption of the current topic.
13aa217b 16616
ac89b32c
JL
166172011-07-04 Juri Linkov <juri@jurta.org>
16618
16619 Add 7z operations to delete and save changed members (bug#8968).
16620 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16621 New defcustoms.
16622 (archive-7z-write-file-member): New function.
16623 (archive-7z-summarize): Fix the number of dashes in the
16624 listing output.
16625
8fa39615
SM
166262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16627
16628 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16629 (bug#8958).
16630
2f11b3f1
CY
166312011-07-04 Chong Yidong <cyd@stupidchicken.com>
16632
d66fef2b
CY
16633 * bindings.el: Ignore next-buffer and previous-buffer in
16634 minibuffer-local-map.
16635
2f11b3f1
CY
16636 * font-lock.el (font-lock-builtin-face): Change light background
16637 color to dark slate blue (Bug#6693).
16638
f932a347
WD
166392011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16640
16641 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16642
c8af70e1
SM
166432011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16644
16645 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16646 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16647 Add switch-to-buffer.
16648
f158badc
LMI
166492011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16650
16651 * isearch.el (isearch-search-fun-function): Clarify further the
16652 meaning of the function returned.
16653
6d95bd46
MA
166542011-07-04 Michael Albinus <michael.albinus@gmx.de>
16655
16656 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16657
16658 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16659 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16660 Use it.
16661 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16662 `tramp-default-remote-path' does not exist.
16663 (tramp-send-command-and-read): New optional argument NOERROR.
16664 (tramp-open-connection-setup-interactive-shell)
16665 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16666 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16667 (tramp-process-sentinel): Flush also process' connection property.
16668 (tramp-sh-handle-start-file-process): Do not set process
16669 sentinel. It is done now ...
16670 (tramp-maybe-open-connection): ... here. (Bug#8929)
16671
909e6b67
MK
166722011-07-04 MON KEY <monkey@sandpframing.com>
16673
16674 * play/animate.el (animate-string): Doc fixes and allow changing
16675 the buffer name (bug#5417).
16676
166772011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16678
c8af70e1 16679 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16680
f34755dc
PE
166812011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16682
396cec72
PE
16683 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16684 This is simpler and helps future-proof the code.
16685 (timer-until): Use time-subtract and float-time.
08235028 16686 (timer--time-less-p): Use time-less-p.
f34755dc 16687
56e6cc31
JB
166882011-07-04 Juanma Barranquero <lekktu@gmail.com>
16689
3abb79e5
JB
16690 * type-break.el (timep): Use the value of `float-time' to avoid a
16691 byte-compiler warning.
16692
56e6cc31
JB
16693 * server.el (server-eval-and-print): Return any result, even nil.
16694
7b9430b4
PE
166952011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16696
16697 * type-break.el: Accept time formats that the builtins accept.
16698 (timep, type-break-time-difference): Accept any format that
16699 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16700 This is simpler and helps future-proof the code.
16701 (type-break-time-difference): Round rather than ignoring
16702 subseconds components.
16703
3034e9e7
LMI
167042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16705
16706 * info.el (Info-apropos-matches): Make non-interactive, since it
16707 doesn't seem to do anything useful as a command (bug#8829).
16708
1485f4c0
CY
167092011-07-03 Chong Yidong <cyd@stupidchicken.com>
16710
16711 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16712 Move from faces.el.
1485f4c0
CY
16713 (frame-default-terminal-background): New function.
16714
16715 * custom.el (custom-push-theme): Don't record faces in `changed'
16716 theme; this doesn't work correctly for per-frame face settings.
16717 (disable-theme): Use face-set-after-frame-default to reset faces.
16718 (custom--frame-color-default): New function.
16719
9fa3dd45
LMI
167202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16721
c8af70e1 16722 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16723 (bug#8769).
16724
6cbbc20c
KR
167252011-03-29 Kevin Ryde <user42@zip.com.au>
16726
16727 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16728 `perl-Test2' extend to match possible "fail #N" rep count
16729 (bug#8377).
16730
c7f98048
LMI
167312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16732
65676592
LMI
16733 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16734 `smtpmail-via-smtp' now returns the error instead of nil.
16735
c7f98048
LMI
16736 * isearch.el (isearch-search-fun-function): Clarify the doc string
16737 (bug#8101).
16738
56e6cc31 167392011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16740
16741 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16742 unnecessary spaces (bug#8987).
16743
2b216704
LMI
167442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16745
16746 * net/network-stream.el (open-network-stream): Use the
16747 :end-of-capability command thoughout.
16748
167492011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16750
16751 * net/network-stream.el (open-network-stream): Add the
16752 :end-of-capability command parameter, used by pop3.el.
16753
36adf6ce
LMI
167542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16755
1ca0da0e
LMI
16756 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16757
fc00f69c
LMI
16758 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16759 for list)" (bug#6475).
16760
28fd8759 16761 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16762 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16763 an error (bug#6297).
16764
0dd8b6da
LMI
16765 * man.el (Man-reference-regexp): Allow matching possible
16766 word-wrapped references (bug#6289).
16767
ce1438d6
LMI
16768 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16769 for consistency with the other vc buffers (bug#6197).
16770 (vc-checkin): Ditto.
16771
16772 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16773
36adf6ce
LMI
16774 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16775
e83cc1f7
LMI
167762011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16777
8a20ca4c
LMI
16778 * custom.el (defcustom): Clarify that :set is only used in the
16779 Customize user interface (bug#6089).
16780
83319045
LMI
16781 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16782 associated with a file, refuse to run instead of erroring out
16783 (bug#6084).
16784
a8392169
LMI
16785 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16786 the doc string, since it appears that using `fill-column' always
16787 controls the width (bug#7845).
16788
e83cc1f7
LMI
16789 * simple.el (shell-command-on-region): Say where the error output
16790 went if `shell-command-default-error-buffer' is set (bug#6857).
16791
e47ca23b
KM
167922011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16793
16794 * allout.el (allout-yank-processing): Adjust cursor position for
16795 backwards-deleted space.
16796
16797 (allout-rebullet-heading): Register changes with
16798 allout-exposure-changed-hook, so the modified topic is properly
16799 decorated.
16800
5cf56143
LMI
168012011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16802
08549772
LMI
16803 * minibuffer.el (completion-in-region): Document PREDICATE
16804 (bug#7136).
16805
48e96771
LMI
16806 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16807 of keyword/argument pairs (bug#6904).
16808
c8af70e1
SM
16809 * replace.el (multi-occur):
16810 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16811
e17d05e2
LMI
168122011-07-02 Drew Adams <drew.adams@oracle.com>
16813
16814 * dired.el (dired-mark-if): Make the message about whether it's
16815 marking or unmarking clearer (bug#8523).
16816
063b0e45
LMI
168172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16818
16819 * disp-table.el (display-table-print-array): New function.
16820 (describe-display-table): Use it to print the vectors more pretty
16821 (Bug#8859).
16822
28545e04
MR
168232011-07-02 Martin Rudalics <rudalics@gmx.at>
16824
16825 * window.el (window-state-get-1): Don't assign clone numbers.
16826 Add clone-of item to list of window parameters.
16827 (window-state-put-2): Don't process clone numbers.
16828 (display-buffer-alist): Fix doc-string.
16829
3349e122
SM
168302011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16831
16832 * subr.el (remq): Don't allocate if it's not needed.
16833 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16834 (keymap--merge-bindings): New functions.
16835 (keymap-canonicalize): Use them to refine the canonicalization.
16836 * minibuffer.el (minibuffer-local-completion-map)
16837 (minibuffer-local-must-match-map): Move initialization from C.
16838 (minibuffer-local-filename-completion-map): Move initialization from C;
16839 don't inherit from anything here.
16840 (minibuffer-local-filename-must-match-map): Make obsolete.
16841 (completing-read-default): Use make-composed-keymap to combine
16842 minibuffer-local-filename-completion-map with either
16843 minibuffer-local-must-match-map or
16844 minibuffer-local-filename-completion-map.
16845
d224ac83
GM
168462011-07-01 Glenn Morris <rgm@gnu.org>
16847
3de63bf8
GM
16848 * type-break.el (type-break-time-sum): Use dolist.
16849
d224ac83
GM
16850 * textmodes/flyspell.el (flyspell-word-search-backward):
16851 Replace CL function.
16852
1a1e3f32
SM
168532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16854
fe3f64d5
SM
16855 * mouse.el (mouse--strip-first-event): New function.
16856 (function-key-map): Use it to map fringe clicks to normal clicks
16857 by default.
16858
eb604e34
SM
16859 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16860 (vc-bzr-revision-completion-table): Add support for annotate and date.
16861
1a1e3f32
SM
16862 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16863 inherit from parent.
16864
5bd35902
LMI
168652011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16866
ace6c69c 16867 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16868 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16869
191e2bed
LMI
16870 * dired.el (dired-mode): Fix up the doc string as suggested by
16871 Drew Adams (bug#8817).
16872
5bd35902
LMI
16873 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16874 cookie, since the manual says that it should be possible to add
16875 this function to `find-file-hook' (bug#8709).
16876
eee8207a
TZ
168772011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16878
16879 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16880 here. Noted Ted Zlatanov as the maintainer.
16881 (cfengine-common-settings, cfengine-common-syntax): New functions
16882 to set up common things between `cfengine-mode' and
16883 `cfengine3-mode'.
16884 (cfengine3-mode): New mode.
16885 (cfengine3-defuns cfengine3-defuns-regex
16886 (cfengine3-class-selector-regex cfengine3-category-regex)
16887 (cfengine3-vartypes cfengine3-font-lock-keywords)
16888 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16889 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16890
36b148cf
MA
168912011-07-01 Michael Albinus <michael.albinus@gmx.de>
16892
16893 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16894
16895 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16896
0bf4ba9a
MR
168972011-07-01 Martin Rudalics <rudalics@gmx.at>
16898
16899 * window.el (same-window-buffer-names, same-window-regexps)
16900 (same-window-p, special-display-frame-alist)
16901 (special-display-popup-frame, special-display-function)
16902 (special-display-buffer-names, special-display-regexps)
16903 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16904 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16905 (split-window-preferred-function, split-height-threshold)
16906 (split-width-threshold, even-window-heights)
16907 (display-buffer-mark-dedicated, window-splittable-p)
16908 (split-window-sensibly, window-safely-shrinkable-p):
16909 Un-obsolete.
16910 (display-buffer): Don't spread args with function specifier
16911 because special-display-popup-frame won't like it.
16912
35837f51
PE
169132011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16914
d0672f86
PE
16915 Time-stamp simplifications and fixes.
16916 These improve accuracy slightly, and future-proof the code
16917 against some potential changes to current-time format.
16918
b9444d97
PE
16919 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16920 by using time-since and float-time.
16921
0ef923dc
PE
16922 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16923 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16924 + NNN microseconds".
16925
2f81380d
PE
16926 * type-break.el (type-break-time-sum): Rewrite using time-add.
16927
845b5c3e
PE
16928 * play/hanoi.el (hanoi-current-time-float): Remove.
16929 All uses replaced by float-time.
16930
ee6f1be0
PE
16931 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16932 This yields a more-accurate answer.
16933 (rng-time-to-float): Remove; no longer needed.
16934
fe955043
PE
16935 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16936
5777162a
PE
16937 * calendar/timeclock.el (timeclock-seconds-to-time):
16938 Defalias to seconds-to-time, since they're the same thing.
16939
3103f8b6 16940 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16941 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16942 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16943
0e61a35f
SM
169442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16945
16946 * window.el (bury-buffer): Don't iconify the only frame.
16947 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16948 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16949
ddd63a1e
CY
169502011-07-01 Chong Yidong <cyd@stupidchicken.com>
16951
0e61a35f
SM
16952 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16953 Add mouse-yank-primary.
ddd63a1e 16954
055f4923
TZ
169552011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16956
16957 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16958
6a2fb145
SM
169592011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16960
16961 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16962 (find-library-name): Use it to find relative load names when provided
16963 absolute file name (bug#8803).
16964
fd4983f2
LMI
169652011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16966
887d14ad
LMI
16967 * textmodes/flyspell.el (flyspell-word): Consider words that
16968 differ only in case as potential doublons (bug#5687).
16969
c53dc7fc
LMI
16970 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16971 Remove two rather uninteresting debugging-like messages to make
16972 debbugs.el more silent.
16973
fd4983f2
LMI
16974 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16975 a password-like phrase.
16976
7a71b18d 169772011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16978
16979 * progmodes/cc-guess.el: New file.
16980
6a2fb145 16981 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16982
16983 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16984 derived from `c-basic-common-init'.
16985
16986 * progmodes/cc-mode.el (top-level): Require cc-guess.
16987 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16988
1fa280a3
LM
169892011-06-30 Lawrence Mitchell <wence@gmx.li>
16990
16991 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16992
e6597158
AM
169932011-06-30 Alan Mackenzie <acm@muc.de>
16994
1fa280a3
LM
16995 * progmodes/cc-engine.el (c-guess-continued-construct):
16996 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16997 lock is disabled. Name this case as "CASE G".
16998
68ba37fb
KM
169992011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17000
17001 * allout.el (allout-yank-processing): Fix injection of extra space
17002 between bullet and non-whitespace character in first topic when
17003 pasting, ensuring that the actual spacing in the pasted topic
17004 following the bullet char is preserved. This extra space was
17005 causing pasted encrypted topics to get a decrypted status even
17006 when the content was actually still encrypted. Now the decryption
17007 status from before the paste is preserved.
17008
17009 (allout-flag-region): Set all allout overlays so they evaporate
17010 when reduced to zero length (evanescent), to prevent overlay
17011 leakage.
17012
887a0b34
GM
170132011-06-30 Glenn Morris <rgm@gnu.org>
17014
94b9acce
GM
17015 * w32-fns.el (w32-charset-info-alist): Declare.
17016
1d9b46d4
GM
17017 * find-dired.el (find-grep-options): Simplify.
17018
cc232200
GM
17019 * term/ns-win.el (ns-set-resource): Declare.
17020
28e77c46
GM
17021 * ses.el (row, col): Declare dynamic variables honestly.
17022
887a0b34
GM
17023 * textmodes/reftex-parse.el (index-tags): Declare.
17024
658d8eb8
CY
170252011-06-30 Chong Yidong <cyd@stupidchicken.com>
17026
17027 * cus-edit.el (customize-push-and-save): New function.
17028
17029 * files.el (hack-local-variables-confirm): Use it.
17030
1fa280a3
LM
17031 * custom.el (load-theme): New arg NO-CONFIRM.
17032 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17033 (custom-enabled-themes): Doc fix.
17034
17035 * cus-theme.el (customize-create-theme)
17036 (custom-theme-merge-theme): Callers to load-theme changed.
17037
bb617717
LMI
170382011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17039
d61bdd5d
LMI
17040 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17041 short URLs have at least one dot in them (bug #7614).
17042
bb617717
LMI
17043 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17044 nil, because using a pty is apparently too slow (bug #895).
17045
2f31f37a
LMI
170462011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17047
17048 * mail/sendmail.el (sendmail-query-once): New function.
17049 (sendmail-query-once-function): New variable.
17050
3076b24e
GM
170512011-06-29 Glenn Morris <rgm@gnu.org>
17052
faf2a174
GM
17053 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17054
3076b24e
GM
17055 * ses.el (top-level): Require cl when compiling.
17056 (ses-set-localvars): Fix error statement.
17057 Call it at compile time to silence a storm of warnings.
17058
5386012d
MR
170592011-06-29 Martin Rudalics <rudalics@gmx.at>
17060
17061 * window.el (normalize-live-buffer): Rename to
17062 window-normalize-buffer.
17063 (normalize-live-frame): Rename to window-normalize-frame.
17064 (normalize-any-window): Rename to window-normalize-any-window.
17065 (normalize-live-window): Rename to window-normalize-live-window.
17066 (make-window-atom): Rename to window-make-atom.
17067 (window-resize-reset): Rename to window--resize-reset.
17068 (window-resize-reset-1): Rename to window--resize-reset-1.
17069 (resize-mini-window): Rename to window--resize-mini-window.
17070 (resize-subwindows-skip-p): Rename to
17071 window--resize-subwindows-skip-p.
17072 (resize-subwindows-normal): Rename to
17073 window--resize-subwindows-normal.
17074 (resize-subwindows): Rename to window--resize-subwindows.
17075 (resize-other-windows): Rename to window--resize-siblings.
17076 (resize-this-window): Rename to window--resize-this-window.
17077 (resize-root-window): Rename to window--resize-root-window.
17078 (resize-root-window-vertically): Rename to
17079 window--resize-root-window-vertically.
17080 (normalize-buffer-to-display): Rename to
17081 window-normalize-buffer-to-display.
17082 (normalize-buffer-to-switch-to): Rename to
17083 window-normalize-buffer-to-switch-to.
17084 Correspondingly update all callers of the functions listed
17085 above.
17086 (display-buffer-alist, display-buffer-normalize-arguments)
17087 (display-buffer-normalize-options, display-buffer)
17088 (display-buffer-alist-set): Use "function" instead of
17089 "fun-with-args".
17090
1176868d
CY
170912011-06-28 Chong Yidong <cyd@stupidchicken.com>
17092
17093 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17094 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17095 debbugs.gnu.org. Mention acknowledgment email.
17096
20a7a65f
LMI
170972011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17098
17099 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17100 buffer multibyteness, since it shouldn't matter.
17101
5f45cca5
MR
171022011-06-28 Martin Rudalics <rudalics@gmx.at>
17103
17104 * window.el (display-buffer-in-side-window): Handle dedicated
17105 windows as in display-buffer-reuse-window.
17106 (display-buffer-normalize-alist): Use value of override
17107 specifier.
17108 (display-buffer-normalize-specifiers): Use value of
17109 other-window-means-other-frame specifier.
17110 (display-buffer-alist): Rewrite some texts in widgets.
17111 (display-buffer): Spread arguments when calling function
17112 specified by fun-with-args.
17113
ad85fe1f
DD
171142011-06-28 Deniz Dogan <deniz@dogan.se>
17115
1fa280a3
LM
17116 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17117 Unnest `let'.
da68c4c8 17118
ad85fe1f
DD
17119 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17120 selectors (Bug#5732).
ec49bd31 17121 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17122
a08cc025
JA
171232011-06-27 Jari Aalto <jari.aalto@cante.net>
17124
17125 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17126 (eshell-ls-date-format): New defcustom.
17127 (eshell-ls-file): Use it.
17128
e2b551c5
SM
171292011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17130
17131 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17132
8982b231
KY
171332011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17134
17135 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17136 (ange-ftp-make-tmp-name): New arg.
17137 (ange-ftp-file-local-copy): Use it.
17138
36c9fa27
J
171392011-06-27 Jambunathan K <kjambunathan@gmail.com>
17140
17141 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17142 no-conversion (Bug#8870).
17143
d68443dc
MR
171442011-06-27 Martin Rudalics <rudalics@gmx.at>
17145
17146 * window.el (window-right, window-left, window-child)
17147 (window-child-count, window-last-child)
17148 (window-iso-combination-p, walk-window-tree-1)
17149 (window-atom-check-1, window-tree-1, delete-window)
17150 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17151 new naming conventions - window-vchild, window-hchild,
17152 window-next and window-prev are now called window-top-child,
17153 window-left-child, window-next-sibling and window-prev-sibling
17154 respectively.
d615d6d2
MR
17155 (resize-window-reset): Rename to window-resize-reset.
17156 (resize-window-reset-1): Rename to window-resize-reset-1.
17157 (resize-window): Rename to window-resize.
17158 (window-min-height, window-min-width)
17159 (resize-mini-window, resize-this-window, resize-root-window)
17160 (resize-root-window-vertically, adjust-window-trailing-edge)
17161 (enlarge-window, shrink-window, maximize-window)
17162 (minimize-window, delete-window, quit-restore-window)
17163 (split-window, balance-windows, balance-windows-area-adjust)
17164 (balance-windows-area, window-state-put-2)
17165 (display-buffer-even-window-sizes, display-buffer-set-height)
17166 (display-buffer-set-width, set-window-text-height)
17167 (fit-window-to-buffer): Rename all "resize-window" prefixed
17168 calls to use the "window-resize" prefix convention.
17169 (display-buffer-alist): Fix symbol for label specifier.
17170 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17171 corresponding specifier.
17172 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17173
b6458526
VB
171742011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17175
17176 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17177 convention.
17178 (ses-call-printer): Does not pass an empty string to formatter when the
17179 cell is empty to keep from barking printer Calc math-format-value.
17180
d31fd9ac
RS
171812011-06-27 Richard Stallman <rms@gnu.org>
17182
43d5bf84
RS
17183 * battery.el (battery-mode-line-limit): New variable.
17184 (battery-update): Handle it.
17185
d31fd9ac
RS
17186 * mail/rmailmm.el (rmail-mime-process-multipart):
17187 Handle truncated messages.
17188
819a6054
GM
171892011-06-27 Glenn Morris <rgm@gnu.org>
17190
17191 * progmodes/flymake.el (flymake-err-line-patterns):
17192 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17193
cedc73f2
VB
171942011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17195
819a6054 17196 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17197 (ses--clean-!, ses--clean-_): New functions.
17198 (ses-range): Add configurability of readout order, and conversion
17199 to Calc vector.
17200
5e5d49b6
VB
17201 * ses.el (ses-repair-cell-reference-all): New function.
17202 (ses-cell-symbol): Set macro as safe, so that it can be used in
17203 formulas.
17204
56e6cc31 17205 * ses.el: Update cycle detection algorithm.
90ca8b49 17206 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17207 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17208 (ses-set-localvars): New function.
17209 (ses-make-cell): Add property-list as a cell element.
17210 (ses-cell-property-get-fun, ses-cell-property-get)
17211 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17212 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17213 New functions.
90ca8b49
VB
17214 (ses-cell-property-set, ses-cell-property-pop)
17215 (ses-cell-property-get-handle): New macro.
17216 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17217 New aliases, used for code readability.
17218 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17219 cycle detection.
17220 (ses-self-reference-early-detection): New defcustom.
fac916bf 17221 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17222 (ses-mode): Use ses-set-localvars.
17223 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17224 before lauching the update processing.
17225 (ses-initialize-Dijkstra-attempt): New function.
17226 (ses-recalculate-cell): Update for cycle detection based on
17227 Dijkstra algorithm.
17228
2bb63e81
VB
17229 * ses.el: Fix commenting and indenting convention.
17230
c9d29fb8
SM
172312011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17232
17233 * bs.el (bs-cycle-next): Complete last change.
17234
d8e4b68b
JB
172352011-06-27 Drew Adams <drew.adams@oracle.com>
17236
17237 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17238
40098786
LMI
172392011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17240
c9d29fb8
SM
17241 * net/network-stream.el (network-stream-open-starttls):
17242 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17243 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17244
40098786
LMI
17245 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17246 to binary to possibly avoid line encoding issues on Windows (among
17247 other things).
17248
468d09d4
LMI
172492011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17250
17251 * net/network-stream.el (open-network-stream): Return an :error
17252 saying what the problem was, if possible.
17253
17254 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17255 server.
17256
17257 * net/network-stream.el (network-stream-open-starttls): If we
17258 wanted to use STARTTLS, and the server offered it, but we weren't
17259 able to because we had no STARTTLS support, then close the connection.
17260 (open-network-stream): Return an :error element, if present.
17261
16f07dd7
CY
172622011-06-26 Chong Yidong <cyd@stupidchicken.com>
17263
88821ca0
CY
17264 * hl-line.el (hl-line-sticky-flag): Doc fix.
17265 (global-hl-line-sticky-flag): New option (Bug#8323).
17266 (global-hl-line-highlight): Obey it.
17267
16f07dd7
CY
17268 * vc/vc.el (vc-revert-show-diff): Default to t.
17269
6b5ccddf
KM
172702011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17271
c9d29fb8
SM
17272 * allout-widgets.el (allout-widgets-post-command-business):
17273 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17274 undecorated when an isearch is continued past, and isearch
17275 automatically collapses them. This leads to "widget leaks", where
17276 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17277 hidden widgets can slow down cursor travel, substantially.
17278 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17279 so we're doing without this nicety.
17280
17281 (allout-widgets-tally-string): Don't try to do a hash-table-count
17282 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17283 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17284 *Messages* when allout-widgets-maintain-tally is t.
17285
355f2e07
MR
172862011-06-26 Martin Rudalics <rudalics@gmx.at>
17287
17288 * window.el (display-buffer-normalize-argument): Rename to
17289 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17290 LABEL argument. Respect special-display-function when popping up
17291 a new frame. Fix code searching for a window showing the buffer
17292 on another frame.
c9d29fb8
SM
17293 (display-buffer-normalize-specifiers):
17294 Call display-buffer-normalize-arguments.
355f2e07
MR
17295 (display-buffer-in-window): Don't undedicate the window if its
17296 buffer remains the same.
17297 Reported by Drew Adams <drew.adams@oracle.com>.
17298 (display-buffer-alist): Add choice for same-window macro
17299 specfier.
17300 (display-buffer): Mention special meaning of LABEL argument in
17301 doc-string. Fix quoting. Don't pop up a new frame even as
17302 fallback.
17303
7ca8fc42
JB
173042011-06-26 Juanma Barranquero <lekktu@gmail.com>
17305
17306 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17307 avoid deleting the current window in some cases (bug#8911).
17308
bc312254
AS
173092011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17310
17311 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17312 (Bug#8934)
17313
2db18f3f
LMI
173142011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17315
c9d29fb8
SM
17316 * net/network-stream.el (network-stream-open-starttls):
17317 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17318 (network-stream-open-tls): Ditto.
17319
6302e0d3
LL
173202011-06-26 Leo Liu <sdl.web@gmail.com>
17321
17322 * register.el (registerv): New struct.
17323 (registerv-make): New function.
c9d29fb8
SM
17324 (jump-to-register, describe-register-1, insert-register):
17325 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17326 struct. (Bug#8415)
17327
5fdd4046
CY
173282011-06-26 Chong Yidong <cyd@stupidchicken.com>
17329
2afef60a
CY
17330 * vc/vc.el (vc-revert-show-diff): New defcustom.
17331 (vc-diff-internal): New arg specifying diff buffer.
17332 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17333 reuse an existing *vc-diff* buffer (Bug#8927).
17334
5fdd4046
CY
17335 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17336
e93db24a
GM
173372011-06-26 Glenn Morris <rgm@gnu.org>
17338
17339 * progmodes/f90.el (f90-critical-indent): New option.
17340 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17341 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17342 (f90-mode): Doc fix.
17343 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17344 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17345 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17346 (f90-match-end): Handle block, critical.
17347
eefff499
GM
173482011-06-25 Glenn Morris <rgm@gnu.org>
17349
f6ba4cc9
GM
17350 * calendar/diary-lib.el (diary-included-files): Doc fix.
17351 (diary-include-files): New function, extracted from
17352 diary-include-other-diary-files and diary-mark-included-diary-files.
17353 (diary-include-other-diary-files, diary-mark-included-diary-files):
17354 Just call diary-include-files.
17355 (diary-mark-entries): Reset diary-included-files on first call.
17356
16712304
GM
17357 * calendar/diary-lib.el (diary-mark-entries)
17358 (diary-mark-included-diary-files):
17359 Visit included diary-files in temp buffers.
17360
5d8e0d43
GM
17361 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17362 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17363 (f90-start-block-re, f90-imenu-generic-expression)
17364 (f90-looking-at-program-block-start, f90-no-block-limit):
17365 Add support for submodules.
17366
ccf7a5d5
GM
17367 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17368 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17369
11fdef7d 173702011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17371
17372 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17373 buffer-file-type before setting its value, to avoid disastrous
eefff499 17374 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17375
74f53697
JB
173762011-06-25 Juanma Barranquero <lekktu@gmail.com>
17377
17378 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17379
17380 * ses.el (ses-unload-function):
17381 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17382
17383 * proced.el (proced-unload-function):
17384 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17385
18a4ce5e
AR
173862011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17387
17388 * server.el (server-create-window-system-frame): Add parameters arg.
17389 (server-process-filter): Doc fix. Handle frame-parameters.
17390
519d22cc
JB
173912011-06-25 Juanma Barranquero <lekktu@gmail.com>
17392
17393 Fix bug#8730, bug#8781.
17394
17395 * loadhist.el (unload--set-major-mode): New function.
17396 (unload-feature): Use it.
17397
17398 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17399 (python-unload-function): New function.
17400
c206f5b0
SM
174012011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17402
17403 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17404
f9ad64f3
GS
174052011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17406
17407 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17408 the candidates list.
17409
7d0da90e
JB
174102011-06-24 Juanma Barranquero <lekktu@gmail.com>
17411
17412 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17413
14b4e83d
RS
174142011-06-23 Richard Stallman <rms@gnu.org>
17415
17416 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17417 (rmail-variables): Set next-error-move-function.
17418 (rmail-what-message): Take argument POS.
17419 (rmail-next-error-move): New function.
17420
273d2baf
SM
174212011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17422
17423 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17424 messages for adjacent non-terminals.
17425
56c2cc9a
RS
174262011-06-23 Richard Stallman <rms@gnu.org>
17427
17428 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 17429 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
17430 (rmail-start-mail): Don't specify use of rmail-mail-return;
17431 that's done by mail-bury now.
17432 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 17433
d59eb518
MA
174342011-06-23 Michael Albinus <michael.albinus@gmx.de>
17435
17436 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17437 SIZE is a number.
17438
02cfc6d6
MR
174392011-06-23 Martin Rudalics <rudalics@gmx.at>
17440
17441 * window.el (get-lru-window, get-mru-window)
17442 (get-largest-window): Never return a minibuffer window.
17443 (display-buffer-pop-up-window): Fix a bug that could lead to
17444 reusing the minibuffer window.
17445 (display-buffer): Pass original specifier argument to
17446 display-buffer-function instead of the normalized one.
17447 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17448
4e323265
LL
174492011-06-22 Leo Liu <sdl.web@gmail.com>
17450
17451 * minibuffer.el (completing-read-function)
1f9f395d 17452 (completing-read-default): Move from minibuf.c.
4e323265 17453
7a70468f
RS
174542011-06-22 Richard Stallman <rms@gnu.org>
17455
50718fc2
RS
17456 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17457 to Rmail even if not started by a special Rmail command.
17458
7a70468f
RS
17459 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17460 Copy the buffer currently showing just one message.
17461
297dde5a
RW
174622011-06-22 Roland Winkler <winkler@gnu.org>
17463
17464 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17465 (bibtex-clean-entry): First delete the old key so that a
17466 customized algorithm for generating the new key does not get
17467 confused by the old key.
17468 (bibtex-url): Obey regexp of first step.
17469 (bibtex-search-entries): Do not use add-to-list with local
17470 list-var.
17471
97bb1093
LMI
174722011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17473
17474 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17475 stored a user name, then query for the password first, instead of
17476 waiting for SMTP to give an error message and the trying again.
17477
1c0f1a19
JD
174782011-06-22 Lawrence Mitchell <wence@gmx.li>
17479
17480 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17481 BUFFER in call-process.
17482
396f7c9d
LMI
174832011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17484
17485 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17486 QUIT twice.
ddb7ffee
LMI
17487 (smtpmail-try-auth-methods): Require user name and password from
17488 auth-source.
396f7c9d 17489
8998d1b3
MR
174902011-06-22 Martin Rudalics <rudalics@gmx.at>
17491
17492 * window.el (display-buffer-default-specifiers)
17493 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17494 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17495 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17496
17497 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17498 (special-display-frame-alist, special-display-popup-frame):
17499 Remove duplicate declarations. These are now in window.el.
17500
4ea31e07
LMI
175012011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17502
c9d29fb8
SM
17503 * mail/smtpmail.el (smtpmail-via-smtp):
17504 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17505 server supports it. SMTP servers that support STARTTLS commonly
17506 require it.
17507
17508 * net/network-stream.el (network-stream-open-starttls): Support
17509 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17510 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17511
95f41d9a
LMI
17512 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17513 upgrades with `open-network-stream', and rely solely on
17514 auth-source for all credentials. Big changes throughout the file,
17515 but in particular:
c9d29fb8
SM
17516 (smtpmail-auth-credentials): Remove.
17517 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17518 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17519 MAIL FROM, too.
95f41d9a 17520
c9d29fb8
SM
17521 * net/network-stream.el (network-stream-open-starttls):
17522 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17523 STARTTLS.
17524 (auth-source): Require.
17525 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17526 (network-stream-certificate): Change cert-cert to cert and
17527 cert-key to key.
4ea31e07 17528
065ec2c7
MA
175292011-06-21 Michael Albinus <michael.albinus@gmx.de>
17530
17531 * net/tramp-cache.el (top): Don't load the persistency file when
17532 "emacs -Q" has been called.
17533
cd93b359
DR
175342011-06-21 Tim Harper <timcharper@gmail.com>
17535
d8e4b68b
JB
17536 * term/ns-win.el (ns-initialize-window-system):
17537 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17538 resource to NO as it is not yet supported by the NS port.
17539
ae9c0411
JB
175402011-06-21 Juanma Barranquero <lekktu@gmail.com>
17541
17542 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17543 (list-dynamic-libraries): ...not here.
17544
7f3f739f
LL
175452011-06-21 Leo Liu <sdl.web@gmail.com>
17546
17547 * subr.el (sha1): Implement sha1 using secure-hash.
17548
327c8fb1
MR
175492011-06-21 Martin Rudalics <rudalics@gmx.at>
17550
17551 * window.el (display-buffer-alist): In default value do not
17552 enforce searching a window on any but the selected frame.
17553 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17554 (display-buffer-select-window): Remove function.
17555 (display-buffer-in-window): When a window on another frame gets
17556 reused, do not select it any more but just raise its frame if
17557 necessary (Bug#8851) and (Bug#8856).
17558 (display-buffer-normalize-options): Handle pop-up-frames related
17559 options more faithfully.
17560 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17561 window if it is on another frame.
c9d29fb8
SM
17562 (display-buffer-alist, display-buffer-default-specifiers):
17563 Don't make new frame unsplittable by default.
9e9de014
MR
17564 (display-buffer-normalize-argument): Fix doc-string typo and use
17565 'same-frame-other-window instead of 'other-window when associating
17566 with display-buffer-macro-specifiers.
327c8fb1 17567
7cf3f556
VB
175682011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17569
17570 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17571 New functions.
17572 (5x5-mode-map, 5x5-mode-menu): Bind them.
17573 (5x5-draw-grid): Tweak the solver's rendering.
17574
60a406cf
SM
175752011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17576
17577 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17578 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17579
d8e4b68b 175802011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17581
17582 * menu-bar.el: Use function variable instead of switch-to-buffer.
17583 (menu-bar-select-buffer-function): New variable.
60a406cf 17584 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17585
478d6f95
SM
175862011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17587
17588 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17589 variable's status.
17590
ca530739
JD
175912011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17592
17593 * x-dnd.el (x-dnd-version-from-flags)
17594 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17595 and long as number (Bug#8899).
17596 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17597
bcd70d97
SM
175982011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17599
60a406cf 17600 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17601 (completion-try-completion, completion-all-completions): Compute the
17602 metadata argument if it's missing; make it optional (bug#8795).
17603
60a406cf 17604 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17605 (widget-complete): Use new :completion-function property.
17606 (widget-completions-at-point): New function.
17607 (default): Use :completion-function instead of :complete.
60a406cf
SM
17608 (widget-default-completions): Rename from widget-default-complete;
17609 Rewrite.
bcd70d97
SM
17610 (widget-string-complete, widget-file-complete, widget-color-complete):
17611 Remove functions.
17612 (file, symbol, function, variable, coding-system, color):
17613 * international/mule-cmds.el (default-input-method, charset)
17614 (language-info-custom-alist):
17615 * cus-edit.el (face): Use new property :completions.
17616
17617 * progmodes/pascal.el (pascal-completions-at-point): New function.
17618 (pascal-mode): Use it.
17619 (pascal-mode-map): Use completion-at-point.
17620 (pascal-toggle-completions): Make obsolete.
17621 (pascal-complete-word, pascal-show-completions):
17622 * progmodes/octave-mod.el (octave-complete-symbol):
17623 Redefine as obsolete alias.
17624 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17625 Signal absence of completion info for old Octave,
17626 (inferior-octave-complete): Redefine as obsolete alias.
17627 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17628 (meta-completions-at-point): Rename from meta-complete-symbol and
17629 adapt it for use on completion-at-point-functions.
17630 (meta-common-mode): Use it.
17631 (meta-looking-at-backward, meta-match-buffer): Remove.
17632 (meta-complete-symbol): Redefine as obsolete alias.
17633 (meta-common-mode-map): Use completion-at-point.
17634 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17635 (makefile-mode-map): Use completion-at-point.
17636 (makefile-completions-at-point): Rename from makefile-complete and
17637 adapt it for use on completion-at-point-functions.
17638 (makefile-mode): Use it.
17639 (makefile-complete): Redefine as obsolete alias.
17640
aebf69c8
DD
176412011-06-20 Deniz Dogan <deniz@dogan.se>
17642
17643 * net/rcirc.el: Delete trailing whitespaces once and for all.
17644
bfbbb27d
DC
176452011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17646
17647 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17648
d264a46b
CY
176492011-06-19 Chong Yidong <cyd@stupidchicken.com>
17650
4ca009e5
CY
17651 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17652
d264a46b
CY
17653 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17654
fbf5b3ce
MR
176552011-06-19 Martin Rudalics <rudalics@gmx.at>
17656
17657 * window.el (display-buffer-other-window-means-other-frame):
17658 Call display-buffer-normalize-alist.
17659 (display-buffer-normalize-specifiers-1): Rename to
17660 display-buffer-normalize-argument. New argument other-frame.
17661 Rewrite.
17662 (display-buffer-normalize-specifiers-2): Rename to
17663 display-buffer-normalize-options.
17664 (display-buffer-normalize-alist-1): New function.
17665 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17666 display-buffer-normalize-alist.
17667 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17668 (display-buffer-normalize-options-inhibit): New variable.
17669 (display-buffer-normalize-specifiers): Rewrite calling
17670 display-buffer-normalize-alist,
17671 display-buffer-normalize-argument, and
17672 display-buffer-normalize-options. Don't call the latter if
17673 display-buffer-normalize-options-inhibit is non-nil.
17674 (frame-auto-delete): New option.
17675 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17676 (window-list-no-nils, window-state-ignored-parameters)
17677 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17678 (window-state-put-1, window-state-put-2, window-state-put):
17679 New functions.
9a028c23
MR
17680 (display-buffer-normalize-options): Move special-display-p group
17681 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17682
6d10d800
CY
176832011-06-18 Chong Yidong <cyd@stupidchicken.com>
17684
6420d28b
CY
17685 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17686 groups (Bug#8776).
17687 (rx-submatch-n): New function.
17688 (rx): Document it.
17689
ddb8b596
CY
17690 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17691 (Bug#8768).
17692
17693 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17694
77080289
CY
17695 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17696
61dfb316
CY
17697 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17698 anytime existing face settings are present (Bug#8889).
17699
6d10d800
CY
17700 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17701 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17702 Remove unused argument.
17703
be3fb2b8
MR
177042011-06-18 Martin Rudalics <rudalics@gmx.at>
17705
bcd70d97
SM
17706 * window.el (display-buffer-default-specifiers):
17707 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17708 pop-up-window-min-width, and another reuse-window specifier
17709 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17710 (display-buffer-normalize-specifiers-2):
17711 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17712 pop-up-windows is unset. Add a reuse-window specifier for the
17713 case popping up a new window fails.
17714 (special-display-popup-frame): Remove double quoting.
28dec25a 17715 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17716
1c6d8c76
SM
177172011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17718
17719 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17720 according to comint-completion-addsuffix.
17721
17722 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17723 (pcomplete-suffix-list): Mark as obsolete.
17724 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17725 pcomplete-seen in the closure.
17726 (pcomplete-comint-setup): Setup completion-at-point as well.
17727 (pcomplete--entries): New function.
17728 (pcomplete--env-regexp): New var.
17729 (pcomplete-entries): Rewrite to work with partial-completion and
17730 without relying on pcomplete-suffix-list.
17731 (pcomplete-pare-list): Remove, unused.
17732
25aef8b8
MR
177332011-06-17 Martin Rudalics <rudalics@gmx.at>
17734
17735 * window.el (display-buffer-alist): Set pop-up-window-min-height
17736 and pop-up-window-min-width in default value. Reported by
17737 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17738 other-window-means-other-frame.
17739 (display-buffer-macro-specifiers): Comment out entry for
17740 other-window specifier.
17741 (display-buffer-other-window-means-other-frame): New function.
17742 (display-buffer-normalize-specifiers-1): New arguments
17743 buffer-name and label. Treat other-window case specially.
17744 (display-buffer-normalize-specifiers-2): Treat other-window case
17745 specially.
17746 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17747 (display-buffer-normalize-specifiers):
17748 Call display-buffer-normalize-specifiers-3.
25aef8b8 17749
dbad4f69
MR
177502011-06-17 Martin Rudalics <rudalics@gmx.at>
17751
17752 * window.el (same-window-p): Fix two typos introduced when
17753 adding with-no-warnings.
d1067961
MR
17754 (display-buffer-normalize-specifiers-1): Don't check
17755 pop-up-frames for 'unset initialization.
17756 (display-buffer-normalize-specifiers-2): Major rewrite using
17757 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17758 (pop-up-frames, display-buffer-reuse-frames)
17759 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17760 Suggested by David Engster <deng@randomsample.de>.
17761 (even-window-heights): Initialize to 'unset.
17762 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17763 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17764 other window case.
dbad4f69 17765
9b9c9e3a
MR
177662011-06-16 Martin Rudalics <rudalics@gmx.at>
17767
bcd70d97
SM
17768 * window.el (display-buffer-normalize-specifiers-1):
17769 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17770 second argument of display-buffer (Bug#8865).
981d5c09
MR
17771 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17772 (switch-to-buffer-other-window-same-frame)
17773 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17774 Adams (Bug#8875).
9c2755e9
MR
17775 (display-buffer): Don't check noninteractive when calling
17776 display-buffer-pop-up-frame.
17777 (display-buffer-pop-up-frame): Never pop up a frame in
17778 noninteractive mode (Bug#8857).
67222e1d
MR
17779 (enlarge-window, shrink-window): Don't report an error when the
17780 window can't be resized as requested (Bug#8862).
9b9c9e3a 17781
2b75be67
SM
177822011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17783
9ffdd3ba
SM
17784 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17785
cb581a67
SM
17786 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17787
2b75be67
SM
17788 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17789
8c0e3589
AM
177902011-06-15 Alan Mackenzie <acm@muc.de>
17791
cb581a67
SM
17792 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17793 for declarators, disable knr checking to speed up for normal files.
17794 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17795
b96e6cde
LMI
177962011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17797
4bba86e6
LMI
17798 * net/network-stream.el (open-network-stream): Add the keyword
17799 :always-query-capabilities for the case where you want to force a
17800 `plain' network connection, but the protocol still requires the
17801 capabilitiy command (i.e., SMTP and EHLO).
17802
2b75be67 17803 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17804 consistency with other `-live-p' functions.
17805
efdcdbf8
SM
178062011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17807
17808 * window.el (same-window-buffer-names, same-window-regexps)
17809 (special-display-frame-alist, special-display-popup-frame)
17810 (special-display-function, special-display-buffer-names)
17811 (special-display-regexps, pop-up-frame-alist)
17812 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17813 (pop-up-windows, split-window-preferred-function)
17814 (split-height-threshold, split-width-threshold, even-window-heights)
17815 (display-buffer-mark-dedicated): Don't encourage the use of
17816 display-buffer-alist from Elisp code.
17817
c5cde042
DN
178182011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17819
17820 * progmodes/python.el (python-mode): Derive from prog-mode.
17821 * progmodes/ps-mode.el (ps-mode):
17822 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17823 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17824 * progmodes/ld-script.el (ld-script-mode): Likewise.
17825
baa1c9ab
MR
178262011-06-15 Martin Rudalics <rudalics@gmx.at>
17827
17828 * window.el (display-buffer-alist): Trim default value to avoid
17829 popping up a new frame (Bug#8857) or reusing an arbitrary window
17830 on another frame.
17831 (display-buffer): Do not fall back on popping up a new frame in
17832 batch mode (Bug#8857).
17833
c5dd5a51
CY
178342011-06-14 Chong Yidong <cyd@stupidchicken.com>
17835
17836 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17837 (custom-theme-summary): New function.
17838 (customize-themes): Use it.
17839
d647b7c4
GM
178402011-06-13 Glenn Morris <rgm@gnu.org>
17841
17842 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17843
9481c002
MR
178442011-06-13 Martin Rudalics <rudalics@gmx.at>
17845
357f93d2
MR
17846 * help.el (help-window): Remove variable.
17847 (help-window-point-marker, temp-buffer-max-height)
17848 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17849 (help-print-return-message): Don't set help-window.
17850 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17851 (help-window-setup-finish): Remove.
17852 (help-window-display-message, help-window-setup)
17853 (with-help-window): Major rewrite based on new
17854 display-buffer-window variable.
17855
17856 * help-mode.el (help-mode-finish): Remove help-window related
17857 code.
17858
17859 * view.el (view-exits-all-viewing-windows): Remove reference to
17860 view-return-to-alist in doc-string.
17861 (view-return-to-alist): Make obsolete.
17862 (view-buffer): Call pop-to-buffer-same-window and remove
17863 undo-window code.
17864 (view-buffer-other-window): Call pop-to-buffer-other-window and
17865 simplify code. Ignore second argument.
17866 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17867 simplify code. Ignore second argument.
17868 (view-return-to-alist-update): Make obsolete.
17869 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17870 Rewrite using quit-restore window parameters.
2b75be67
SM
17871 (view-mode-exit): Rename second argument to EXIT-ONLY.
17872 Rewrite using quit-restore-window.
357f93d2
MR
17873 (View-exit, View-exit-and-edit, View-leave, View-quit)
17874 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17875 appropriate arguments.
17876 (view-end-message): Use quit-restore window parameter.
17877
9481c002
MR
17878 * window.el (display-buffer-function): Rewrite doc-string.
17879 (display-buffer-window, display-buffer-alist): New variables.
17880 (display-buffer-split-specifiers)
17881 (display-buffer-side-specifiers)
17882 (display-buffer-macro-specifiers): New constants.
17883 (display-buffer-even-window-sizes, display-buffer-set-height)
17884 (display-buffer-set-width, display-buffer-select-window)
17885 (display-buffer-in-window, display-buffer-reuse-window)
17886 (display-buffer-split-window-1, display-buffer-split-window)
17887 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17888 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17889 (display-buffer-in-side-window, normalize-buffer-to-display)
17890 (display-buffer-normalize-specifiers-1)
17891 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17892 (display-buffer-normalize-specifiers, display-buffer-frame):
17893 New functions.
9481c002
MR
17894 (display-buffer): Major rewrite.
17895 (display-buffer-other-window, display-buffer-other-frame)
17896 (pop-to-buffer, switch-to-buffer-other-window)
17897 (switch-to-buffer-other-frame): Rewrite.
17898 (display-buffer-same-window, display-buffer-same-frame)
17899 (display-buffer-same-frame-other-window)
17900 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17901 (pop-to-buffer-other-window)
17902 (pop-to-buffer-same-frame-other-window)
17903 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17904 (switch-to-buffer-other-window-same-frame): New functions.
17905 (same-window-p, special-display-p): Rewrite disabling warnings.
17906 Make obsolete.
17907 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17908 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17909 Make obsolete
17910 (same-window-buffer-names, same-window-regexps)
17911 (special-display-frame-alist, special-display-popup-frame)
17912 (special-display-function, special-display-buffer-names)
17913 (special-display-regexps, pop-up-frame-alist)
17914 (pop-up-frame-function, split-window-preferred-function)
17915 (split-height-threshold, split-width-threshold)
17916 (even-window-heights): Make obsolete.
17917
9db51aca
GM
179182011-06-12 Glenn Morris <rgm@gnu.org>
17919
17920 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17921 Misc simplifications.
9db51aca 17922
39cffb44
MR
179232011-06-12 Martin Rudalics <rudalics@gmx.at>
17924
17925 * window.el (window-safely-shrinkable-p): Restore function which
17926 was inadvertently removed in change from 2011-06-11. Declare as
17927 obsolete.
17928
2b75be67
SM
17929 * calendar/calendar.el (calendar-generate-window):
17930 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17931 window-safely-shrinkable-p.
17932
a8955be7
GM
179332011-06-12 Glenn Morris <rgm@gnu.org>
17934
17935 * progmodes/fortran.el (fortran-mode-syntax-table):
17936 * progmodes/f90.el (f90-mode-syntax-table):
17937 Set % to punctuation. (Bug#8820)
17938 (f90-find-tag-default): Remove, no longer needed.
17939
f0d4059d
DC
179402011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17941
17942 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17943
1100a63c
CY
179442011-06-11 Chong Yidong <cyd@stupidchicken.com>
17945
17946 * image.el (image-animated-p): Return animation delay in seconds.
17947 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17948 (image-animate-timeout): Remove DELAY argument. Don't assume
17949 every subimage has the same delay; get it from image-animated-p.
17950 (image-animate): Caller changed.
17951
def722bf
MA
179522011-06-11 Michael Albinus <michael.albinus@gmx.de>
17953
17954 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17955 to ignored backtrace functions.
17956
0a2bb1a9
GM
179572011-06-11 Glenn Morris <rgm@gnu.org>
17958
17959 * calendar/appt.el (appt-disp-window-function): Doc fix.
17960 (appt-check): Handle overlapping appointments. (Bug#8337)
17961
6198ccd0
MR
179622011-06-11 Martin Rudalics <rudalics@gmx.at>
17963
17964 * window.el (window-tree-1, window-tree): New functions, moving
17965 the latter to window.el.
17966 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17967 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17968 (bw-refresh-edges): Remove.
17969 (balance-windows-1, balance-windows-2): New functions.
17970 (balance-windows): Rewrite in terms of window tree functions,
17971 balance-windows-1 and balance-windows-2.
17972 (bw-adjust-window): Remove.
17973 (balance-windows-area-adjust): New function with functionality of
17974 bw-adjust-window but using resize-window.
2b75be67
SM
17975 (set-window-text-height): Rewrite doc-string.
17976 Use normalize-live-window and resize-window.
17977 (enlarge-window-horizontally, shrink-window-horizontally):
17978 Rename argument to DELTA.
6198ccd0
MR
17979 (window-buffer-height): New function.
17980 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17981 Rewrite using new window resize routines.
2b75be67
SM
17982 (kill-buffer-and-window, mouse-autoselect-window-select):
17983 Use ignore-errors instead of condition-case.
6198ccd0
MR
17984 (quit-window): Call delete-frame instead of delete-windows-on
17985 for the only buffer on frame.
17986
9397e56f
MR
179872011-06-10 Martin Rudalics <rudalics@gmx.at>
17988
17989 * loadup.el (top-level): Load window before files for the sake
17990 of replace-buffer-in-windows.
17991
17992 * files.el (read-buffer-to-switch)
17993 (switch-to-buffer-other-window)
2b75be67
SM
17994 (switch-to-buffer-other-frame, display-buffer-other-frame):
17995 Move to window.el.
9397e56f
MR
17996
17997 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17998 (previous-buffer): Move to window.el.
17999
18000 * bindings.el (unbury-buffer): Move to window.el.
18001
18002 * window.el (delete-other-windows-vertically): Move after
18003 definition of delete-other-windows.
18004 (other-window, delete-windows-on, replace-buffer-in-windows):
18005 Move here from window.c.
18006 (record-window-buffer, unrecord-window-buffer)
18007 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18008 (switch-to-next-buffer): New functions.
18009 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18010 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18011 (previous-buffer): Move here from simple.el.
18012 Call switch-to-prev-buffer.
9397e56f
MR
18013 (bury-buffer): Move here from buffer.c. Switch to previous
18014 buffer when window cannot be deleted.
18015 (unbury-buffer): Move here from bindings.el.
18016 (ctl-x-map): Move binding for other-window from window.c to
18017 here.
18018 (read-buffer-to-switch, switch-to-buffer-other-window)
18019 (switch-to-buffer-other-frame): Move here from files.el.
18020 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18021 (switch-to-buffer): Move here from buffer.c.
18022 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18023
562dd5e9
MR
180242011-06-10 Martin Rudalics <rudalics@gmx.at>
18025
18026 * window.el (window-min-height, window-min-width): Move here
18027 from window.c. Add defcustoms and rewrite doc-strings.
18028 (resize-mini-window, resize-window): New functions.
18029 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18030 Move here from window.c.
18031 (maximize-window, minimize-window): New functions.
18032 (delete-window, delete-other-windows, split-window): Move here
18033 from window.c.
18034 (window-split-min-size): New function.
18035 (split-window-keep-point): Mention split-window-above-each-other
18036 instead of split-window-vertically.
2b75be67 18037 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18038 Rename split-window-vertically to split-window-above-each-other
18039 and provide defalias for old definition.
18040 (split-window-side-by-side, split-window-horizontally):
18041 Rename split-window-horizontally to split-window-side-by-side
18042 and provide defalias for the old definition.
562dd5e9
MR
18043 (ctl-x-map): Move bindings for delete-window,
18044 delete-other-windows and enlarge-window here from window.c.
18045 Replace bindings for split-window-vertically and
18046 split-window-horizontally by bindings for
18047 split-window-above-each-other and split-window-side-by-side.
18048
18049 * cus-start.el (all): Remove entries for window-min-height and
18050 window-min-width. Add entries for window-splits and
18051 window-nest.
18052
f0da764a
GM
180532011-06-09 Glenn Morris <rgm@gnu.org>
18054
80675c21
GM
18055 * calendar/appt.el (appt-mode-line): New function.
18056 (appt-check, appt-disp-window): Use it.
18057
f0da764a
GM
18058 * files.el (hack-one-local-variable-eval-safep):
18059 Allow minor-modes with explicit +/-1 arguments.
18060
59f623b7
TZ
180612011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18062
18063 * term/xterm.el (xterm): Add defgroup.
18064 (xterm-extra-capabilities): Add defcustom to supply known xterm
18065 capabilities, skip querying them, or query them (default).
18066 (terminal-init-xterm): Use it.
18067 (terminal-init-xterm-modify-other-keys): New function to set up
18068 modifyOtherKeys support to simplify `terminal-init-xterm'.
18069
9aab8e0d
MR
180702011-06-09 Martin Rudalics <rudalics@gmx.at>
18071
18072 * window.el (resize-window-reset, resize-window-reset-1)
18073 (resize-subwindows-skip-p, resize-subwindows-normal)
18074 (resize-subwindows, resize-other-windows, resize-this-window)
18075 (resize-root-window, resize-root-window-vertically)
18076 (window-deletable-p, window-or-subwindow-p)
18077 (frame-root-window-p): New functions.
18078
e8b08aee
GM
180792011-06-09 Glenn Morris <rgm@gnu.org>
18080
18081 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18082 (ange-ftp-get-files): Use it.
18083
254c37a5
AK
180842011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18085
18086 * mail/sendmail.el (mail-recover-1, mail-recover):
18087 * files.el (recover-file, recover-session):
18088 Handle dired-listing-switches not being just a single short option.
18089
35d7dbd3
GM
180902011-06-09 Glenn Morris <rgm@gnu.org>
18091
18092 * calendar/appt.el (appt-display-message, appt-disp-window):
18093 Handle lists of appointments.
18094
387522b2
MR
180952011-06-08 Martin Rudalics <rudalics@gmx.at>
18096
2b75be67
SM
18097 * window.el (one-window-p): Move down in code.
18098 Rewrite doc-string.
18099 (window-current-scroll-bars): Rewrite doc-string.
18100 Normalize live window argument.
387522b2
MR
18101 (walk-windows, get-window-with-predicate, count-windows):
18102 Rewrite doc-string. Use window-list-1.
18103 (window-in-direction-2, window-in-direction, get-mru-window):
18104 New functions.
18105
d8e4b68b 181062011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18107
18108 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18109 Doc fix (Bug#8713).
18110
181112011-06-08 Chong Yidong <cyd@stupidchicken.com>
18112
18113 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18114
181152011-06-08 Juanma Barranquero <lekktu@gmail.com>
18116
18117 * loadhist.el (unload-feature-special-hooks):
18118 Add `comint-output-filter-functions'.
18119
0de12c52
IK
181202011-06-08 Ivan Kanis <gnu@kanis.fr>
18121
18122 * calendar/appt.el (appt-check): Move some initializations into the let.
18123
f3d1777e
MR
181242011-06-08 Martin Rudalics <rudalics@gmx.at>
18125
18126 * window.el (window-height): Defalias to window-total-height.
18127 (window-width): Defalias to window-body-width.
18128
18af70d0
CY
181292011-06-07 Chong Yidong <cyd@stupidchicken.com>
18130
18131 * image-mode.el (image-toggle-animation): New command.
18132 (image-mode-map): Bind it to RET.
18133 (image-mode): Update message.
18134 (image-toggle-display-image): Avoid a spurious cache flush.
18135 (image-transform-rotation): Doc fix.
18136 (image-transform-properties): Return quickly in the normal case.
18137 (image-animate-loop): Rename from image-animate-max-time.
18138
2b75be67 18139 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18140 (create-animated-image): Remove unnecessary function.
18141 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18142 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18143 (image-animate-timer): Use car-safe.
18144 (image-animate-timeout): Rename argument.
18145
190b47e6
MR
181462011-06-07 Martin Rudalics <rudalics@gmx.at>
18147
18148 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18149 window.c. Rename first argument to ALL-FRAMES.
18150 Rephrase doc-strings.
18151 (get-buffer-window-list): Rewrite using window-list-1.
18152 Rephrase doc-string.
a1511caf
MR
18153 (window-safe-min-height, window-safe-min-width): New constants.
18154 (window-size-ignore, window-min-size, window-min-size-1)
18155 (window-sizable, window-sizable-p, window-size-fixed-1)
18156 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18157 (window-max-delta-1, window-max-delta, window-resizable)
18158 (window-resizable-p, window-total-height, window-total-width)
18159 (window-body-width): New functions.
18160 (window-full-height-p, window-full-width-p): Rewrite using
18161 window-total-size.
18162 (window-body-height): Rewrite using window-body-size.
190b47e6 18163
85cc1f11
MR
181642011-06-06 Martin Rudalics <rudalics@gmx.at>
18165
18166 * window.el (window-right, window-left, window-child)
18167 (window-child-count, window-last-child, window-any-p)
18168 (normalize-live-buffer, normalize-live-frame)
18169 (normalize-any-window, normalize-live-window)
18170 (window-iso-combination-p, window-iso-combined-p)
18171 (window-iso-combinations)
18172 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18173 (windows-with-parameter, window-with-parameter)
18174 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18175 (window-atom-check, window-side-check, window-check):
18176 New functions.
85cc1f11
MR
18177 (ignore-window-parameters, window-sides, window-sides-vertical)
18178 (window-sides-slots): New variables.
18179 (window-size-fixed): Move down in code. Minor doc-string fix.
18180
e7156492
AS
181812011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18182
18183 * comint.el (comint-dynamic-complete-as-filename)
18184 (comint-dynamic-complete-filename): Correctly call
18185 completion-in-region.
18186
7e821d0d
DD
181872011-06-05 Deniz Dogan <deniz@dogan.se>
18188
18189 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18190 in last change.
18191
ac09b8a1
DD
181922011-06-05 Deniz Dogan <deniz@dogan.se>
18193
18194 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18195 (rcirc): Use it to prompt for encryption.
18196
34699b85
RW
181972011-06-05 Roland Winkler <winkler@gnu.org>
18198
18199 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18200 (bibtex-search-entries): New command bound to C-c C-a.
18201 (bibtex-display-entries): New function.
18202
004dedd3
RW
182032011-06-05 Roland Winkler <winkler@gnu.org>
18204
18205 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18206 (bibtex-insert-kill): After yanking insert newline if necessary.
18207 (bibtex-initialize): Call bibtex-string-files-init only once.
18208 (bibtex-mode): Do not call easy-menu-add.
18209 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18210 (bibtex-yank): Set arg properly if nil.
18211
022fe7ce
RW
182122011-06-05 Roland Winkler <winkler@gnu.org>
18213
2b75be67
SM
18214 * textmodes/bibtex.el (bibtex-search-entry-globally):
18215 New variable.
022fe7ce
RW
18216 (bibtex-search-entry): Use it.
18217
b7c3692a
RW
182182011-06-05 Roland Winkler <winkler@gnu.org>
18219
18220 * textmodes/bibtex.el (bibtex-entry-format): New option
18221 sort-fields.
18222 (bibtex-format-entry, bibtex-reformat): Honor this option.
18223 (bibtex-parse-entry): Return fields in proper order.
18224
8eda563d
JB
182252011-06-05 Juanma Barranquero <lekktu@gmail.com>
18226
18227 * doc-view.el (doc-view-remove-if): Move computation of result out
18228 of `dolist' to silence misleading lexical-binding warning.
18229
7dbe3dbc
CY
182302011-06-04 Chong Yidong <cyd@stupidchicken.com>
18231
18232 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18233 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18234
0c33dd17
MA
182352011-06-04 Michael Albinus <michael.albinus@gmx.de>
18236
18237 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18238 "SunOS 5.10".
18239
f8f91c2b
MA
182402011-06-04 Michael Albinus <michael.albinus@gmx.de>
18241
18242 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18243 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18244 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18245 (tramp-parse-putty):
18246 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18247 (tramp-completion-function-alist-ssh)
18248 (tramp-completion-function-alist-telnet)
18249 (tramp-completion-function-alist-su)
18250 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18251 cookie.
18252
18253 * net/tramp-ftp.el:
18254 * net/tramp-sh.el:
18255 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18256 load "tramp.el" `tramp-set-completion-function'.
18257
e17d9003
SM
182582011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18259
18260 * shell.el: Require and use pcomplete.
18261 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18262 (shell-completion-vars): Set pcomplete-default-completion-function.
18263
6c4cab03
DD
182642011-06-04 Deniz Dogan <deniz@dogan.se>
18265
18266 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18267 `memq' (Bug#8799).
18268
ea9fafe0
SM
182692011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18270
18271 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18272
b3e945d3
JB
182732011-06-02 Juanma Barranquero <lekktu@gmail.com>
18274
18275 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18276 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18277 * vc/log-view.el (log-view-beginning-of-defun):
18278 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18279 (smerge-refine-forward, smerge-refine-chopup-region):
18280 Silence warning for unused `dotimes' counter variables.
18281
7d520089
SM
182822011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18283
18284 * net/tramp.el (tramp-with-progress-reporter): Rename from
18285 with-progress-reporter. Use `declare'.
18286 * net/tramp-smb.el:
18287 * net/tramp-sh.el:
18288 * net/tramp-gvfs.el: Update all uses.
18289
a1c2400f
JB
182902011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18291
18292 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18293 buffer isn't killed before making it current.
18294
2403c841
SM
182952011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18296
18297 Silence various byte-compiler warnings.
18298 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18299 `access-type' and new obsolescence format.
18300 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18301 new format.
18302 (byte-compile-check-variable): New `access-type' argument.
18303 Only warn if the access-type is obsolete.
18304 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18305 (byte-compile-variable-set): Adjust callers.
18306 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18307 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18308 setting it as obsolete.
18309 * simple.el (minibuffer-completing-symbol):
18310 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18311 access as obsolete.
18312 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18313 obsolete yet.
18314 * international/quail.el (quail-mouse-choose-completion): Remove unused
18315 code referring to obsolete var.
18316 (quail-choose-completion-string): Remove.
18317 * server.el (server-clients-with, server-kill-buffer-query-function)
18318 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18319 * proced.el (proced-send-signal):
18320 * emacs-lisp/lisp.el (lisp-complete-symbol):
18321 Replace completion-annotate-function with completion-extra-properties.
18322
2462470b
SM
183232011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18324
fb5b2591
SM
18325 * simple.el (goto-line): Use read-number.
18326 (overriding-map-is-bound): Remove.
18327 (saved-overriding-map): Change default.
18328 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18329 Take the map as argument.
18330 (universal-argument, negative-argument, digit-argument): Use it.
18331 (restore-overriding-map): Adjust.
18332 (do-auto-fill): Use fill-forward-paragraph.
18333 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18334
fd6fa53f
SM
18335 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18336 (minibuffer-inactive-mode): New major mode.
18337 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18338 the *Messages* buffer" hack.
18339 (mouse-popup-menubar): Don't burp if the event is a normal key.
18340
2462470b
SM
18341 Miscellaneous tweaks.
18342 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18343 lexical scoping as in subr.el's dolist and dotimes.
18344 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18345 Silence compiler warning.
18346 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18347 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18348 * international/ccl.el (ccl-compile): Trivial simplification.
18349 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18350 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18351 `printflag' argument.
18352 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18353 Purecopy the whole obsolescence data.
18354
108bf785
LL
183552011-06-01 Leo Liu <sdl.web@gmail.com>
18356
18357 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18358 improve doc-string as suggested by Marco Pessotto
18359 <melmothx@gmail.com>.
18360 (rcirc-print): Fix last change.
18361
30a23501
SM
183622011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18363
18364 * minibuffer.el (complete-with-action): Return nil for the metadata and
18365 boundaries of non-functional tables.
18366 (completion-table-dynamic): Return nil for the metadata.
18367 (completion-table-with-terminator): Add default case, using
18368 complete-with-action.
18369 (completion--metadata): New function.
18370 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18371 to try and avoid pathological performance problems.
18372 (completion--embedded-envvar-table): Return `category' metadata.
18373
bcd54f83
LMI
183742011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18375
18376 * subr.el (process-alive-p): New tiny convenience function.
18377
e227544d
SM
183782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18379
18380 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18381 content but also its previous major mode.
18382
e8296fdc
HE
183832011-05-31 Helmut Eller <eller.helmut@gmail.com>
18384
4d61f28d 18385 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18386 *Backtrace* buffer when we exit with C-M-c.
18387
620c53a6
SM
183882011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18389
18390 * minibuffer.el: Add metadata method to completion tables.
18391 (completion-category-overrides): New defcustom.
18392 (completion-metadata, completion--field-metadata)
18393 (completion-metadata-get, completion--styles)
18394 (completion--cycle-threshold): New functions.
18395 (completion-try-completion, completion-all-completions):
18396 Add `metadata' argument to choose completion-styles.
18397 (completion--do-completion): Use metadata to choose cycling.
18398 (completion-all-sorted-completions): Use metadata for sorting.
18399 Remove :completion-cycle-penalty which is not needed any more.
18400 (completion--try-word-completion): Add `metadata' argument.
18401 (minibuffer-completion-help): Check metadata for annotation function
18402 and sorting.
18403 (completion-file-name-table): Return `category' metadata.
18404 (minibuffer-completing-file-name): Make obsolete.
18405 * simple.el (minibuffer-completing-symbol): Make obsolete.
18406 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18407 completion-try-completion.
18408
1257e755
SM
184092011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18410
18411 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18412
3767e706
LL
184132011-05-30 Leo Liu <sdl.web@gmail.com>
18414
18415 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18416 (rcirc-print): Decode all incoming messages (bug#8744).
18417 (rcirc-decode-coding-system): Allow value nil for automatic coding
18418 system detection.
3767e706 18419
d1a5d56a
GM
184202011-06-01 Glenn Morris <rgm@gnu.org>
18421
18422 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18423
e8cbec34
CY
184242011-05-29 Chong Yidong <cyd@stupidchicken.com>
18425
18426 * image.el (image-animate-max-time): Allow nil and t values.
18427 Default to nil.
18428 (create-animated-image): Doc fix.
18429 (image-animate-start): Remove second arg; just use
18430 image-animate-max-time.
18431 (image-animate-timeout): Doc fix. Args changed.
18432
18433 * image-mode.el (image-toggle-display-image): Ensure that the
18434 image spec passed to the animate timer is the same object as in
58179cce 18435 the buffer's display property (Bug#6981).
e8cbec34
CY
18436 (image-transform-properties): Doc fix.
18437
18438 * image.el (image-animate-max-time): Default to nil.
18439
159daf87
MR
184402011-05-29 Martin Rudalics <rudalics@gmx.at>
18441
18442 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18443 entire buffer list (Bug#8184).
18444
d66c4c7c
CY
184452011-05-29 Chong Yidong <cyd@stupidchicken.com>
18446
18447 * image.el (imagemagick-types-inhibit)
18448 (imagemagick-register-types): Doc fix.
18449
80aec780
DD
184502011-05-29 Deniz Dogan <deniz@dogan.se>
18451
18452 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18453 default.
18454
1dd3c2d9
CY
184552011-05-29 Chong Yidong <cyd@stupidchicken.com>
18456
18457 * select.el: Don't perform clipboard-manager saving in hooks;
18458 leave the hooks empty.
18459
60e56523
LL
184602011-05-28 Leo Liu <sdl.web@gmail.com>
18461
18462 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18463 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18464 (occur-edit-mode): New major mode (Bug#8463).
18465 (occur-after-change-function): New function.
18466 (occur-engine): Give Occur tags a read-only property.
18467
2b1e1a22
KR
184682011-05-28 Kevin Ryde <user42@zip.com.au>
18469
18470 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18471
5d344e88
CY
184722011-05-28 Chong Yidong <cyd@stupidchicken.com>
18473
8e6ca83d
CY
18474 * bindings.el (help-echo): Make the initial non-indicator dash
18475 empty on graphical terminals (Bug#7295).
18476
5d344e88
CY
18477 * files.el (auto-mode-alist): Move config rule after the
18478 in-stripping one (Bug#8547).
18479
bfbbace7
CY
18480 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18481
fbeba6e2
CY
18482 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18483 setting (Bug#8740).
18484
60ed8c72
AA
184852011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18486
4ac619f0
AA
18487 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18488 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18489 (Bug#8539).
60ed8c72 18490
23db196e
CY
184912011-05-28 Chong Yidong <cyd@stupidchicken.com>
18492
18493 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18494
5012f24c
DK
184952011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18496
18497 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18498 (hs-hide-block-at-point, hs-find-block-beginning)
18499 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18500 (Bug#8279).
18501
6a639b16
GM
185022011-05-28 Glenn Morris <rgm@gnu.org>
18503
18504 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18505
d43eaf2c
CY
185062011-05-28 Chong Yidong <cyd@stupidchicken.com>
18507
5199bde1
CY
18508 * help-fns.el (describe-function-1): If the function is a derived
18509 major mode, print the parent mode.
18510
d43eaf2c
CY
18511 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18512 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18513
423428a8
SM
185142011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18515
0ff8e1ba 18516 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18517 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18518 * progmodes/etags.el (tags-completion-at-point-function):
18519 * info-look.el (info-lookup-completions-at-point): Mark as
18520 non-exclusive.
18521 (info-complete): Adjust accordingly.
18522
423428a8
SM
18523 * info-look.el: Convert to lexical-binding and completion-at-point.
18524 (info-lookup-completions-at-point): New function.
18525 (info-complete): Use it and completion-in-region.
18526
b74aa22b
DA
185272011-05-28 Drew Adams <drew.adams@oracle.com>
18528
18529 * isearch.el: Let M-e start with point at the first mismatched char.
18530 (isearch-fail-pos): New function.
18531 (isearch-edit-string): Use it.
18532
66e2e71d
DK
185332011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18534
18535 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18536
b1890b0f 185372011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18538
18539 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18540 traversal functions for avl-trees.
18541 (avl-tree--stack): New struct.
18542 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18543 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18544 (avl-tree--do-enter): Add optional `updatefun' arg.
18545 Change return value.
eb95d01d 18546 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18547 (avl-tree--do-delete): Add `test' and `nilflag' args.
18548 Change return value.
eb95d01d
TC
18549 (avl-tree-member): Add optional `nilflag'
18550 (avl-tree-member-p): New function.
18551 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18552 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18553 (avl-tree-stack-empty-p): New functions.
18554
3769ddcf
TC
18555 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18556 avl-tree--del-balance1 and make it work both ways.
18557 (avl-tree--del-balance2): Remove.
18558 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18559 make it work both ways.
18560 (avl-tree--enter-balance2): Remove.
18561 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18562 New macros.
18563 (avl-tree--mapc, avl-tree-map): Add direction argument.
18564
eb95d01d 185652011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18566
18567 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18568
a9f737ee
CY
185692011-05-27 Chong Yidong <cyd@stupidchicken.com>
18570
18571 * select.el: Support clipboard managers with built-in function
18572 x-clipboard-manager-save, via delete-frame-functions and
18573 kill-emacs-hook.
18574 (xselect-convert-to-targets): Add MULTIPLE target to list.
18575 (xselect-convert-to-save-targets): New function.
18576
c92a1e54
KH
185772011-05-27 Kenichi Handa <handa@m17n.org>
18578
18579 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18580 let-binding rfc2047-encode-encoded-words to nil.
18581
e145f188
GM
185822011-05-27 Glenn Morris <rgm@gnu.org>
18583
5ec8a862
GM
18584 * mail/emacsbug.el: Don't require url-util.
18585
4b29d9fb
GM
18586 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18587
e145f188
GM
18588 * files.el (set-auto-mode):
18589 Also respect mode: entries at the end of the file. (Bug#8586)
18590
7d15102b
GM
185912011-05-26 Glenn Morris <rgm@gnu.org>
18592
98f593b8
GM
18593 * files.el (hack-local-variables-prop-line, hack-local-variables):
18594 Downcase mode names, as seems to be traditional.
27b48e63 18595 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18596
7d15102b
GM
18597 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18598 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18599
51d5b4ec
JD
186002011-05-25 Julien Danjou <julien@danjou.info>
18601
18602 * textmodes/rst.el (rst-define-level-faces): Do not define face
18603 symbol if it is already defined.
18604
91513f63
VB
186052011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18606
18607 * play/5x5.el (5x5-new-game, 5x5-randomize):
18608 Reset 5x5-solver-output to nil when a new grid is cast.
18609 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18610 these debugging traces, as defmacro breaks the compiled code.
18611
4d90d6d0
DK
186122011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18613
18614 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18615
e1b90ef6
LL
186162011-05-24 Leo Liu <sdl.web@gmail.com>
18617
18618 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18619 (vc-bzr-sha1): Adapt.
18620
d8e4b68b 18621 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18622
18623 * bindings.el: Provide sha1 feature.
18624
db0406bb 186252011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18626
18627 * mail/sendmail.el: Require `rfc2047'.
18628 (mail-insert-from-field): Do not perform RFC2047 encoding.
18629 (mail-encode-header): New function.
18630 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18631 buffer to the return value of select-message-coding-system.
18632 Call mail-encode-header.
b8d747b9
KH
18633
18634 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18635
db0406bb 186362011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18637
4d90d6d0
DK
18638 * mail/supercite.el (sc-default-cite-frame):
18639 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18640
eb8a5e9b
GM
186412011-05-24 Glenn Morris <rgm@gnu.org>
18642
f8630703
GM
18643 * progmodes/python.el (brm-menu): Declare.
18644
8831bbed
GM
18645 * emulation/viper.el (viper-set-hooks): Declare.
18646
eb8a5e9b
GM
18647 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18648 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18649 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18650 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18651 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18652 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18653
a2a25d24
SM
186542011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18655
18656 Add an :exit-function for completion-at-point.
18657
18658 * minibuffer.el (completion--done): New fun.
18659 (completion--do-completion): Use it. New arg `expect-exact'.
18660 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18661 since completion--do-completion does it for us now.
18662 (minibuffer-force-complete): Use completion--done and
18663 completion--replace. Handle sole-completion case with more care.
18664 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18665 (completion-extra-properties): New var.
18666 (completion-annotate-function): Make obsolete.
18667 (minibuffer-completion-help): Adjust accordingly.
18668 Use completion-list-insert-choice-function.
18669 (completion-at-point, completion-help-at-point):
18670 Bind completion-extra-properties.
18671 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18672 * simple.el (completion-list-insert-choice-function): New var.
18673 (completion-setup-function): Preserve it.
18674 (choose-completion): Pay attention to it, shuffle the code a bit.
18675 (choose-completion-string): New arg `insert-function'.
18676
18677 * textmodes/bibtex.el: Convert to lexical binding.
18678 (bibtex-mode-map): Use completion-at-point.
18679 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18680 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18681 (bibtex-complete): Define as obsolete alias.
18682 (bibtex-complete-internal): Remove.
18683 (bibtex-format-entry): Remove unused sub-group in regexp.
18684 * shell.el (shell--command-completion-data)
18685 (shell-environment-variable-completion):
18686 * pcomplete.el (pcomplete-completions-at-point):
18687 * comint.el (comint--complete-file-name-data): Use :exit-function
18688 instead of completion-table-with-terminator so it also works for
18689 choose-completion.
18690
e44e373d
SM
186912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18692
4f91a816
SM
18693 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18694
782fc819
SM
18695 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18696 (bug#8710).
18697
e44e373d
SM
18698 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18699
381987c3
KM
187002011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18701
18702 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18703 customization variable and implement: If non-nil, auto-fill will
18704 be inhibited while on topic's header line.
18705
b776bc70
VB
187062011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18707
18708 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18709 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18710 always have a solution in grid size = 5 cases.
18711 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18712 (5x5-solver-output, 5x5-log-buffer): New vars.
18713 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18714 Make these variables buffer local to achieve 5x5 multi-session-ness.
18715 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18716 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18717 (5x5-solve-suggest): New funs.
18718 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18719 randomize a grid so that we ensure that there is always a solution.
18720 (5x5-make-random-grid): Allow other movement than flipping.
18721
7de88b6e
KR
187222011-05-23 Kevin Ryde <user42@zip.com.au>
18723
18724 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18725 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18726 advice and passes PREDICATE.
18727
b1ef1257
SM
187282011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18729
bbca48fe
SM
18730 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18731 byte-compile-lambda if it's actually a lambda.
18732
b1ef1257
SM
18733 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18734 Fix function quoting. Use backquote better.
18735
92a9cc65
YS
187362011-05-22 Yuanle Song <sylecn@gmail.com>
18737
18738 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18739 matching (Bug#8516).
18740
f0fb8059
JA
187412011-01-22 Jari Aalto <jari.aalto@cante.net>
18742
18743 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18744 different face (Bug#8178).
18745
d5b44c93
CY
187462011-05-22 Chong Yidong <cyd@stupidchicken.com>
18747
18748 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18749 defface (Bug#8144).
18750
79106a44
SM
187512011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18752
9c848d8a
SM
18753 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18754 funcall as well (bug#8712). Warn when performing those conversions.
18755 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18756
79106a44
SM
18757 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18758
88dfa756
GM
187592011-05-22 Glenn Morris <rgm@gnu.org>
18760
18761 * files.el (hack-local-variables-prop-line): Small simplifications.
18762 (hack-local-variables, hack-local-variables-prop-line):
18763 If MODE-ONLY, return the mode, rather than just `t'.
18764
b7cf2c79
SM
187652011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18766
18767 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18768
3f1a8558
GM
187692011-05-21 Glenn Morris <rgm@gnu.org>
18770
7e4ccca3
GM
18771 * files.el (hack-local-variables-prop-line, hack-local-variables):
18772 If only interested in the mode, don't bother doing the other stuff.
18773
637d46ca
GM
18774 * image-mode.el (image-after-revert-hook):
18775 Redraw all frames on which the image is visible. (Bug#8567)
18776
973d955b
GM
18777 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18778
3f1a8558
GM
18779 * wid-edit.el (widget-checklist-match-inline):
18780 Fix 2011-04-19 change. (Bug#8649)
18781
96479927
SM
187822011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18783
1dcf791f
SM
18784 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18785 Also allow singlespace after single-letter capitals followed by a dot.
18786
96479927
SM
18787 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18788 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18789
35fd0881
N
187902011-05-20 Nix <nix@esperi.org.uk>
18791
18792 * files.el (basic-save-buffer-2):
18793 Fix handling of break-hardlink-on-save with non-existent files.
18794
82745640
DD
187952011-05-19 Deniz Dogan <deniz@dogan.se>
18796
18797 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18798 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18799
4a720484
GM
188002011-05-19 Glenn Morris <rgm@gnu.org>
18801
d1f21341
GM
18802 * progmodes/f90.el (f90-type-def-re):
18803 Handle "type, bind(c)". (Bug#8691)
18804
4a720484
GM
18805 * emacs-lisp/autoload.el (batch-update-autoloads):
18806 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18807
2fb0a219
MA
188082011-05-18 Michael Albinus <michael.albinus@gmx.de>
18809
18810 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18811 property for the correct connection in case of multihops.
18812
e565dd37
GM
188132011-05-18 Glenn Morris <rgm@gnu.org>
18814
c2571358 18815 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18816 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18817
e565dd37
GM
18818 Rationalize calendar handling of day and month abbrev-arrays.
18819 * calendar/calendar.el (calendar-customized-p): New function.
18820 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18821 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18822 Add :set function.
18823 (calendar-abbrev-length, calendar-day-abbrev-array)
18824 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18825 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18826 Elements may no longer be nil.
18827 (calendar-day-name, calendar-month-name):
18828 Update for changed nature of abbrev arrays.
18829 * calendar/diary-lib.el (diary-name-pattern):
18830 Update for changed nature of abbrev arrays.
18831 (diary-mark-entries-1): Update calendar-make-alist calls.
18832 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18833 * calendar/cal-html.el (cal-html-day-abbrev-array):
18834 Simply inherit from calendar-day-abbrev-array.
18835
1d99a745
SM
188362011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18837
18838 * progmodes/grep.el (grep-mode): Disable default
18839 compilation-directory-matcher setting (bug#8684).
18840
7c1d9aa0
MA
188412011-05-17 Michael Albinus <michael.albinus@gmx.de>
18842
18843 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18844 instead of "head" and "tail". There were problems with SunOS 5.9,
18845 and it performs better.
18846
3952e9d8
GM
188472011-05-17 Glenn Morris <rgm@gnu.org>
18848
2dd12e7f
GM
18849 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18850
e4157b9c
GM
18851 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18852 Replace obsolete function.
18853
8e249bbd
GM
18854 * shell.el (pcomplete-parse-arguments-function): Declare.
18855
3952e9d8
GM
18856 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18857 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18858 (appt-check): Doc fixes.
18859 (appt-disp-window-function, appt-delete-window-function):
18860 Remove needless special case in custom :type.
18861 (appt-display-count): Default to 0, not nil.
18862 (appt-check): Reset appt-display-count to 0, not nil.
18863
c71a0d48 188642011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18865
c71a0d48
GM
18866 * progmodes/python.el (python-font-lock-keywords):
18867 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18868
31d55be9
SM
188692011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18870
18871 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18872
3bfacb2f
KR
188732011-05-16 Kevin Ryde <user42@zip.com.au>
18874
18875 * info-look.el (makefile-automake-mode): New setups, looking in
18876 automake manual, then makefile-mode.
18877 (makefile-mode): Remove automake manual, have it just in
18878 makefile-automake-mode since there's various things different or
18879 not relevant to plain make.
18880 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18881 believe a hypothetical automake-mode would go to makefile-mode,
18882 not the other way around.
18883
c8e83751
CY
188842011-05-15 Chong Yidong <cyd@stupidchicken.com>
18885
5e9e35cd
CY
18886 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18887 hunk-end tags (Bug#8672).
18888
c8e83751
CY
18889 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18890 vc-annotate-show-diff-revision-at-line (Bug#8671).
18891
50b23e5a
GM
188922011-05-14 Glenn Morris <rgm@gnu.org>
18893
7210a739
GM
18894 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18895 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18896 (change-log-font-lock-keywords): Also handle multiple author lines
18897 with leading tabs. (Bug#8644)
7210a739 18898
4691905a
GM
18899 * calendar/appt.el (appt-check): Rename some local variables.
18900 Some simplification/reordering.
18901
50b23e5a
GM
18902 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18903 (feedmail-sendmail-f-doesnt-sell-me-out)
18904 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18905 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18906 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18907 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18908 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18909 (feedmail-binmail-gnulinuxish-template):
18910 Rename from feedmail-binmail-linuxish-template.
18911 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18912 Use insert-buffer-substring.
18913
215cda7c
BC
189142011-05-14 Bill Carpenter <bill@carpenter.org>
18915
18916 * mail/feedmail.el (feedmail-patch-level): Increase.
18917 (feedmail-debug): New custom group.
18918 (feedmail-confirm-outgoing-timeout)
18919 (feedmail-sendmail-f-doesnt-sell-me-out)
18920 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18921 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18922 (feedmail-sender-line, feedmail-from-line)
18923 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18924 (feedmail-spray-this-address)
215cda7c
BC
18925 (feedmail-spray-address-fiddle-plex-list)
18926 (feedmail-queue-use-send-time-for-date)
18927 (feedmail-queue-use-send-time-for-message-id)
18928 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18929 (feedmail-buffer-eating-function):
18930 Doc fixes.
18931 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18932 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18933 (feedmail-message-action-scroll-down): New functions.
18934 (feedmail-queue-directory, feedmail-queue-draft-directory):
18935 Use expand-file-name.
18936 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18937 Remove C-v help entry.
18938 (feedmail-queue-buffer-file-name): New variable.
18939 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18940 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18941 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18942 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18943 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18944 (feedmail-message-action-toggle-spray)
18945 (feedmail-run-the-queue-no-prompts)
18946 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18947 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18948 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18949 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18950 (feedmail-envelope-deducer, feedmail-fiddle-from)
18951 (feedmail-fiddle-sender, feedmail-default-date-generator)
18952 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18953 (feedmail-fiddle-spray-address)
18954 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18955 (feedmail-fiddle-list-of-fiddle-plexes)
18956 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18957 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18958 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18959 Change default. Doc fix.
18960 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18961 (feedmail-binmail-linuxish-template): New constant.
18962 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18963 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18964 (feedmail-send-it): Add debug call.
18965 Use feedmail-queue-buffer-file-name, and
18966 feedmail-send-it-immediately-wrapper.
18967 (feedmail-message-action-send): Add debug call.
18968 Use feedmail-send-it-immediately-wrapper.
18969 (feedmail-queue-express-to-queue): Add debug call.
18970 Run feedmail-queue-express-hook.
18971 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18972 (feedmail-message-action-help-blat):
18973 Rename from feedmail-queue-send-edit-prompt-help-first.
18974 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18975 Check line-endings. Handle errors better.
18976 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18977 Doc fix. Add debug call.
18978 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18979 Use feedmail-queue-send-edit-prompt-inner.
18980 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18981 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18982 from feedmail-queue-send-edit-prompt.
18983 (feedmail-queue-send-edit-prompt-help)
18984 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18985 (feedmail-tidy-up-slug): Add debug call.
18986 Respect feedmail-queue-slug-suspect-regexp.
18987 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18988 (feedmail-dump-message-to-queue): Add debug call.
18989 Expand queue-directory.
18990 (feedmail-dump-message-to-queue): Change message slightly.
18991 Use feedmail-say-chatter.
18992 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18993 (feedmail-send-it-immediately-wrapper): New function.
18994 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18995 Insert empty string rather than newline. Handle full-frame case.
18996 Use catch/throw. Use feedmail-say-chatter.
18997 (feedmail-fiddle-from): Try mail-host-address.
18998 (feedmail-default-message-id-generator): Doc fix.
18999 Bind system-time-locale. Handle missing end.
19000 (feedmail-fiddle-x-mailer): Add debug call.
19001 Handle feedmail-x-mailer-line being nil.
19002 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19003 Add debug call. Use buffer-substring-no-properties.
19004 (feedmail-say-debug, feedmail-say-chatter): New functions.
19005 (feedmail-find-eoh): Give an explicit error.
19006
42c7e61e
UJ
190072011-05-13 Ulf Jasper <ulf.jasper@web.de>
19008
c2571358 19009 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19010 family from helvetica to sans.
c2571358 19011 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19012 etc/images/newsticker.
19013
c2571358 19014 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19015 family from helvetica to sans.
19016
19017 * net/newst-plainview.el (newsticker-new-item-face)
19018 (newsticker-old-item-face, newsticker-immortal-item-face)
19019 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19020 (newsticker-statistics-face): Change default family from
42c7e61e 19021 helvetica to sans.
c2571358 19022 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19023 etc/images/newsticker.
19024
5d3385a0
JB
19025 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19026 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19027 auto-marking.
19028
8497a297
DV
190292011-05-13 Didier Verna <didier@xemacs.org>
19030
19031 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19032 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19033 TODO entries.
8497a297
DV
19034 (lisp-lambda-list-keyword-parameter-indentation)
19035 (lisp-lambda-list-keyword-parameter-alignment)
19036 (lisp-lambda-list-keyword-alignment): New customizable user options.
19037 (lisp-indent-defun-method): Improve docstring.
19038 (extended-loop-p): Fix comment.
19039 (lisp-indent-lambda-list-keywords-regexp): New variable.
19040 (lisp-indent-lambda-list): New function.
19041 (lisp-indent-259): Use it.
19042 (lisp-indent-defmethod): Support for more than one
19043 method qualifier and properly indent methods lambda-lists.
19044 (defgeneric): Provide a missing common-lisp-indent-function property.
19045
f278f87f
SM
190462011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19047
19048 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19049 bounds for the empty string (bug#8667).
19050
5233edd7
GM
190512011-05-13 Glenn Morris <rgm@gnu.org>
19052
5237a44f
GM
19053 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19054
8340026c 19055 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19056 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19057
5233edd7 19058 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19059 (appt-time-msg-list): Doc fix.
a5464014 19060 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19061
92d10796
AS
190622011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19063
19064 * progmodes/ld-script.el (ld-script-keywords)
19065 (ld-script-builtins): Update keywords list.
19066
914a0ae1
SM
190672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19068
c89be45f
SM
19069 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19070
914a0ae1
SM
19071 * shell.el (shell-completion-vars): New function.
19072 (shell-mode):
19073 * simple.el (read-shell-command): Use it.
19074 (blink-matching-open): No need for " [...]" in minibuffer-message.
19075
98dc3df3
GM
190762011-05-12 Glenn Morris <rgm@gnu.org>
19077
19078 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19079 (appt-check): Simplify.
19080
d2fc7e3d 190812011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19082
4d61f28d 19083 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19084 literal "/dev/null".
19085
d2fc7e3d 190862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19087
19088 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19089 Fix typo.
19090
d2fc7e3d 190912011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19092
3f254caa
SM
19093 * progmodes/which-func.el (which-function):
19094 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19095 which might not be defined (Bug#8260).
19096
d45885f7
GM
190972011-05-12 Glenn Morris <rgm@gnu.org>
19098
19099 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19100 Let byte-compile-initial-macro-environment always take precedence.
19101
488086f4
SM
191022011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19103
19104 * net/rcirc.el: Add support for SSL/TLS connections.
19105 (rcirc-server-alist): New field `encryption'.
19106 (rcirc): Check `encryption' settings.
19107 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19108 Merge make-local-variable into `set'.
19109 (rcirc--connection-open-p): New function.
19110 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19111 the process is not a network process (e.g. running gnutls-cli).
19112 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19113 Make rcirc-(en|de)code-coding-system local here.
19114 (rcirc-mode): Merge make-local-variable into `set'.
19115 (rcirc-parent-buffer): Make permanent buffer-local.
19116 (rcirc-multiline-minor-mode): Don't do it here.
19117 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19118 there's no server buffer.
19119
7d3b9d44
GM
191202011-05-11 Glenn Morris <rgm@gnu.org>
19121
f64049c6
GM
19122 * newcomment.el (comment-kill): Prefix "unused" local.
19123
93c9df73
GM
19124 * term/w32console.el (get-screen-color): Declare.
19125
7d3b9d44
GM
19126 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19127 Handle symbol elements of byte-compile-initial-macro-environment.
19128
9e2dd53f
LL
191292011-05-10 Leo Liu <sdl.web@gmail.com>
19130
488086f4
SM
19131 * bookmark.el (bookmark-bmenu-mode-map):
19132 Bind bookmark-bmenu-search to `/'.
8b340240 19133
9e2dd53f 19134 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19135 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19136 (Footnote-unicode): New function.
19137 (footnote-style-alist): Add unicode style to the list.
19138 (footnote-style): Doc fix.
9e2dd53f 19139
79b70037
GM
191402011-05-10 Jim Meyering <meyering@redhat.com>
19141
19142 Fix doubled-word typos.
19143 * international/quail.el (quail-insert-kbd-layout): and and -> and
19144 * kermit.el: and and -> and
19145 * net/ldap.el (ldap-search-internal): to to -> to
19146 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19147 * progmodes/js.el (js-mode): and and -> and
19148 * textmodes/artist.el (artist-move-to-xy): at at -> at
19149 (artist-draw-region-trim-line-endings): if if -> if
19150 And Safetyc -> Safety.
19151 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19152
b8f82dc1 191532011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19154 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19155
19156 * files.el (hack-one-local-variable-eval-safep):
19157 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19158
4f99f44b
GM
191592011-05-10 Glenn Morris <rgm@gnu.org>
19160
19161 * calendar/diary-lib.el (diary-list-entries-hook)
19162 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19163 (diary-nongregorian-marking-hook, diary-list-entries)
19164 (diary-include-other-diary-files, diary-mark-entries)
19165 (diary-mark-included-diary-files): Doc fixes.
19166
84f29e6b
JB
191672011-05-09 Juanma Barranquero <lekktu@gmail.com>
19168
19169 * misc.el: Require tabulated-list.el during compilation.
19170
9bedd73a
CY
191712011-05-09 Chong Yidong <cyd@stupidchicken.com>
19172
488086f4
SM
19173 * progmodes/compile.el (compilation-start):
19174 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19175 (compilation-filter-hook): Doc fix.
19176
797c735c
DD
191772011-05-09 Deniz Dogan <deniz@dogan.se>
19178
19179 * wdired.el: Remove outdated installation comment. Fix usage
19180 comment.
19181
5f4b1dfe
JB
191822011-05-09 Juanma Barranquero <lekktu@gmail.com>
19183
19184 * misc.el: Implement new command `list-dynamic-libraries'.
19185 (list-dynamic-libraries--loaded-only-p): New variable.
19186 (list-dynamic-libraries--refresh): New function.
19187 (list-dynamic-libraries): New command.
19188
4c44026c
CY
191892011-05-09 Chong Yidong <cyd@stupidchicken.com>
19190
488086f4
SM
19191 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19192 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19193 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19194 higher priority to avoid clobbering by gnu.
19195
027f966d
CY
191962011-05-08 Chong Yidong <cyd@stupidchicken.com>
19197
19198 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19199 if the face has existing theme settings (Bug#8454).
19200
085f5d7d
CY
192012011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19202
488086f4
SM
19203 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19204 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19205
2a86a00c
RS
19206 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19207 special file names `.' and `..' (Bug#8259).
19208
d9c54a06
CY
192092011-05-08 Chong Yidong <cyd@stupidchicken.com>
19210
488086f4
SM
19211 * progmodes/grep.el (grep-mode-font-lock-keywords):
19212 Remove buffer-changing entries.
d9c54a06
CY
19213 (grep-filter): New function.
19214 (grep-mode): Add it to compilation-filter-hook.
19215
19216 * progmodes/compile.el (compilation-filter-hook)
19217 (compilation-filter-start): New defvars.
19218 (compilation-filter): Call compilation-filter-hook prior to
19219 updating the process mark.
19220
c4662635
SM
192212011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19222
19223 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19224
b0512a1d
EZ
192252011-05-07 Eli Zaretskii <eliz@gnu.org>
19226
605c9376
EZ
19227 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19228 mailclient-send-it even if window-system is nil. (Bug#8595)
19229
c4662635
SM
19230 * term/w32console.el (terminal-init-w32console):
19231 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19232 background-mode. (Bug#8597)
19233
d1dc2cc2
SM
192342011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19235
19236 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19237 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19238 New functions.
19239 (defgeneric, eieio--defmethod): Use them.
19240 (eieio-defgeneric): Remove.
19241 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19242
915d1300
GM
192432011-05-07 Glenn Morris <rgm@gnu.org>
19244
a3961c3e
GM
19245 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19246 Use let rather than let*.
19247 (timeclock-find-discrep): Remove unused local.
19248
314347b9
GM
19249 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19250
915d1300
GM
19251 * calendar/appt.el (appt-time-msg-list): Doc fix.
19252
275b59b0
NF
192532011-05-06 Noah Friedman <friedman@splode.com>
19254
19255 * apropos.el (apropos-print-doc): Only use
19256 emacs-lisp-docstring-fill-column when it is bound to an integer,
19257 per that variable's documentation.
19258
6c19f744
SM
192592011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19260
19261 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19262 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19263
60f884b2
GM
192642011-05-06 Glenn Morris <rgm@gnu.org>
19265
5006e634
GM
19266 * calendar/appt.el (appt-message-warning-time): Doc fix.
19267 (appt-warning-time-regexp): New option.
19268 (appt-make-list): Respect appt-message-warning-time.
19269
548d0a63
GM
19270 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19271 New options.
19272 (diary-add-to-list): Strip comments from the displayed string.
19273 (diary-mode): Set comment-start and comment-end.
19274
60f884b2
GM
19275 * vc/diff-mode.el (smerge-refine-subst): Declare.
19276 (diff-refine-hunk): Don't require smerge-mode when compiling.
19277
989681bb
JB
192782011-05-06 Juanma Barranquero <lekktu@gmail.com>
19279
19280 * simple.el (list-processes): Return nil as the docstring says.
19281
a6bc05e1
MA
192822011-05-05 Michael Albinus <michael.albinus@gmx.de>
19283
19284 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19285 to "".
19286 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19287 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19288 determining of binary transfer. (Bug#7383)
19289
23c22e9a
MA
192902011-05-05 Michael Albinus <michael.albinus@gmx.de>
19291
c4662635
SM
19292 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19293 Fix port computation bug. (Bug#8618)
23c22e9a 19294
0bff894f
GM
192952011-05-05 Glenn Morris <rgm@gnu.org>
19296
b8296902
GM
19297 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19298
1f522ce8
GM
19299 * simple.el (shell-dynamic-complete-functions)
19300 (comint-dynamic-complete-functions): Declare.
19301
cf5bee67
GM
19302 * net/network-stream.el (gnutls-negotiate):
19303 * simple.el (tabulated-list-print): Fix declarations.
19304
19305 * progmodes/gud.el (syntax-symbol, syntax-point):
19306 Remove unnecessary and incorrect declarations.
19307
0bff894f 19308 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19309 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19310
9869b3ae
SM
193112011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19312
19313 Fix earlier half-done eieio-defmethod change (bug#8338).
19314 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19315 Streamline and change calling convention.
19316 (defmethod): Adjust accordingly and simplify.
19317 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19318 new eieio--defmethod.
19319 (slot-boundp): Minor CSE simplification.
19320
9c1d5ac5
MZ
193212011-05-05 Milan Zamazal <pdm@zamazal.org>
19322
19323 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19324 (glasses-make-readable): Use glasses-separate-capital-groups.
19325
455c834e
JB
193262011-05-05 Juanma Barranquero <lekktu@gmail.com>
19327
19328 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19329 (warning-series): Doc fix.
19330 (display-warning): Don't try to create the buffer if we just found it.
19331
9ed7c8cb
CY
193322011-05-04 Chong Yidong <cyd@stupidchicken.com>
19333
19334 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19335 (autoload-find-generated-file): New function.
19336 (generate-file-autoloads): Bind generated-autoload-file to
19337 buffer-file-name.
9869b3ae
SM
19338 (update-file-autoloads, update-directory-autoloads):
19339 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19340 output file (Bug#7989).
19341 (batch-update-autoloads): Doc fix.
19342
0898ca10
JB
193432011-05-04 Juanma Barranquero <lekktu@gmail.com>
19344
19345 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19346
31dfb76c
GM
193472011-05-04 Glenn Morris <rgm@gnu.org>
19348
f330b642
GM
19349 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19350 function, so it follows changes in calendar-date-style.
19351 (diary-fancy-date-matcher): New function.
19352 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19353 (diary-fancy-font-lock-fontify-region-function):
19354 Use diary-fancy-date-pattern as a function.
19355
31dfb76c
GM
19356 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19357 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19358
48e79d6a
TZ
193592011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19360
19361 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19362 instead of positional arguments. Allow :keylist and :crlfiles
19363 arguments.
19364 (open-gnutls-stream): Call it.
19365
19366 * net/network-stream.el (network-stream-open-starttls): Adjust to
19367 call `gnutls-negotiate' with :process and :hostname arguments.
19368
dd5a5ee0
SM
193692011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19370
ef80fc09
SM
19371 * minibuffer.el (completion--message): New function.
19372 (completion--do-completion, minibuffer-complete)
19373 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19374 (completion--do-completion): Don't ignore completion-auto-help when in
19375 icomplete-mode.
19376
dd5a5ee0
SM
19377 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19378 internal encoding (e.g. tibetan zero is not whitespace).
19379 (global-whitespace-mode): Prefer save-current-buffer.
19380 (whitespace-trailing-regexp): Remove useless save-match-data.
19381 (whitespace-empty-at-bob-regexp): Minor simplification.
19382
b7d22a83
CY
193832011-05-03 Chong Yidong <cyd@stupidchicken.com>
19384
19385 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19386
5192af46
AM
193872011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19388
19389 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19390 Use `concat' to create string for insertion.
5192af46 19391
5767d190
SM
193922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19393
19394 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19395 Avoid open-line which runs post-self-insert-hook.
19396 (bibtex-fill-entry): Remove unused `end' var.
19397
bf242939
AM
193982011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19399
5767d190
SM
19400 * textmodes/ispell.el (ispell-add-per-file-word-list):
19401 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19402
25666126
LL
194032011-05-03 Leo Liu <sdl.web@gmail.com>
19404
19405 * isearch.el (isearch-yank-pop): New command.
5767d190 19406 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19407 (isearch-forward): Mention it.
19408
52d3c2d0
SM
194092011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19410
1bcace58
SM
19411 * simple.el (minibuffer-complete-shell-command): Remove.
19412 (minibuffer-local-shell-command-map): Use completion-at-point.
19413 (read-shell-command): Setup completion vars here instead.
19414 (read-expression-map): Bind TAB to symbol completion.
19415
52d3c2d0
SM
19416 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19417 error directly rather via storing it into `results'.
19418
35813471
LL
194192011-05-02 Leo Liu <sdl.web@gmail.com>
19420
19421 * vc/diff.el: Fix description.
19422
e793a940
LMI
194232011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19424
19425 * server.el (server-eval-at): New function.
19426
8de66e05
LMI
194272011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19428
19429 * net/network-stream.el (open-network-stream): Take a :nowait
19430 parameter and pass it on to `make-network-process'.
19431 (network-stream-open-plain): Ditto.
19432
dcb79f20
AS
194332011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19434
19435 * faces.el (face-spec-set-match-display): Don't match toolkit
19436 options on terminal frames.
19437
14a7fbd8
SM
194382011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19439
7eabc1be
SM
19440 * progmodes/pascal.el: Use lexical binding.
19441 (pascal-mode-map): Remove author preferences.
19442
14a7fbd8
SM
19443 * pcomplete.el (pcomplete-std-complete): Don't abuse
19444 completion-at-point.
19445
50f84510
JB
194462011-04-28 Juanma Barranquero <lekktu@gmail.com>
19447
6e087a44
JB
19448 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19449 removing code that has been dead since 1991 or so.
19450
50f84510
JB
19451 * startup.el (command-line): When warning about "_emacs", use a
19452 delayed warning to allow the user to filter it out.
19453
0ba690bd
DD
194542011-04-28 Deniz Dogan <deniz@dogan.se>
19455
19456 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19457 user has not joined.
19458
08abfaad
SM
194592011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19460
19461 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19462 aren't any completions at point.
19463
638f053a
JB
194642011-04-28 Juanma Barranquero <lekktu@gmail.com>
19465
19466 * subr.el (display-delayed-warnings): New function.
19467 (delayed-warnings-hook): New variable.
19468
8fff8daa
SM
194692011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19470
08abfaad
SM
19471 * minibuffer.el (completion-at-point, completion-help-at-point):
19472 Don't presume that a given completion-at-point-function will always
19473 use the same calling convention.
19474
8fff8daa
SM
19475 * pcomplete.el (pcomplete-completions-at-point):
19476 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19477 pcomplete-seen is non-nil.
19478 (pcomplete-comint-setup): Also recognize the new comint/shell
19479 completion functions.
19480 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19481 pcomplete-seen is non-nil.
19482
841a1577 194832011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19484
841a1577 19485 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19486 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19487 the first character in the entry. This allows for code to add its
211ec907
UJ
19488 own uid to the entry.
19489 (icalendar--convert-float-to-ical): Add export of
19490 `diary-float'-entries save for those with the optional DAY
19491 argument.
19492
2a782793
DC
194932011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19494
19495 * subr.el (shell-quote-argument): Use alternate escaping strategy
19496 when we spot a variable reference in a string.
19497
0438ce91
DC
194982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19499
19500 * cus-start.el (all): Define customization for debug-on-event.
19501
841a1577 195022011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19503
19504 * subr.el (shell-quote-argument): Escape correctly under Windows.
19505
d090ed6c
SM
195062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19507
19508 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19509
bfd31217
MA
195102011-04-25 Michael Albinus <michael.albinus@gmx.de>
19511
d090ed6c
SM
19512 * net/tramp.el (tramp-process-actions): Add POS argument.
19513 Delete region between POS and (pos).
bfd31217 19514
d090ed6c
SM
19515 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19516 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19517 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19518
19519 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19520 position in `tramp-process-actions' call.
19521
19522 * net/trampver.el: Update release number.
19523
e92f3bd3
SM
195242011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19525
850256b5
SM
19526 * custom.el (defcustom): Obey lexical-binding.
19527
e92f3bd3
SM
19528 Fix octave-inf completion problems reported by Alexander Klimov.
19529 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19530 Inherit from octave-mode-syntax-table.
19531 (inferior-octave-mode): Set info-lookup-mode.
19532 (inferior-octave-completion-at-point): New function.
19533 (inferior-octave-complete): Use it and completion-in-region.
19534 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19535 comint-filename-completion.
19536 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19537 symbol elements which shouldn't be word elements.
19538 (octave-font-lock-keywords, octave-beginning-of-defun)
19539 (octave-function-header-regexp): Adjust regexps accordingly.
19540 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19541
cd22b309
JB
195422011-04-25 Juanma Barranquero <lekktu@gmail.com>
19543
19544 * net/gnutls.el (gnutls-errorp): Declare before first use.
19545
8b492194
TZ
195462011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19547
19548 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19549 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19550 default trustfile exists before going to use it. Add missing
5a5fa834 19551 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19552 Reported by Claudio Bley <claudio.bley@gmail.com>.
19553 (open-gnutls-stream): Add usage example.
19554
19555 * net/network-stream.el (network-stream-open-starttls): Give host
19556 parameter to `gnutls-negotiate'.
19557 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19558 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19559
841a1577 195602011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19561
cd22b309
JB
19562 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19563 Use correct match group (bug#8438).
05842630 19564
3ba7869c
CY
195652011-04-24 Chong Yidong <cyd@stupidchicken.com>
19566
512e3ae1
CY
19567 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19568 (package-menu--generate): New arg specifying packages to show.
19569 (package-menu-refresh, package-menu-execute, list-packages):
19570 Callers changed.
19571 (package-show-package-list): New function, replacing deleted
19572 package--list-packages (renamed because it is non-internal).
19573
19574 * finder.el (finder-list-matches): Use package-show-package-list
19575 instead of deleted package--list-packages.
19576
e92f3bd3
SM
19577 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19578 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19579 (vc-annotate-mode-map): Bind it to RET.
19580
7031be6d
UR
195812011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19582
19583 * progmodes/etags.el (next-file): Don't use set-buffer to change
19584 buffers (Bug#8478).
19585
4ef177aa
CY
195862011-04-24 Chong Yidong <cyd@stupidchicken.com>
19587
c8d173eb
CY
19588 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19589
4ef177aa
CY
19590 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19591 (apropos-accumulator): Doc fix.
19592 (apropos-function, apropos-macro, apropos-command)
19593 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19594 (apropos-plist): Add face property.
19595 (apropos-symbols-internal): Fix indentation.
19596 (apropos-print): Simplify help, and recognize apropos-multi-type.
19597 (apropos-print-doc): Use button-type-get to extract the button's
19598 face property. Fill docstring (Bug#8352).
19599
4ffd0d6b 196002011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19601
19602 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19603
c6c32125 19604 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19605 (mpuz-mode-map): Use mapc.
c6c32125
JB
19606 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19607 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19608 Fix typos in docstrings.
19609
58d468b4
JB
19610 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19611 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19612
6470c3c6
JB
19613 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19614
4ffd0d6b 196152011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19616
19617 * minibuffer.el (completion--do-completion): Avoid the "Next char
19618 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19619
3ad8bad0
CY
19620 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19621 mouse-2 into unread-command-events, it is interpreted correctly.
19622
71d73c9c 19623 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19624 (image-toggle-display): Doc fix.
71d73c9c 19625
841a1577 196262011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19627
4ffd0d6b
GM
19628 * textmodes/page.el (what-page): Use line-number-at-pos to
19629 calculate line number (Bug#6825).
6e1dbaa9 19630
c2fb1b60
JB
196312011-04-22 Juanma Barranquero <lekktu@gmail.com>
19632
19633 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19634 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19635 Pass argument NO-DEFAULT to `find-tag-interactive'.
19636
e02f48d7
JB
196372011-04-22 Juanma Barranquero <lekktu@gmail.com>
19638
19639 Lexical-binding cleanup.
19640
19641 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19642 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19643 * progmodes/ada-prj.el (ada-prj-initialize-values)
19644 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19645 (ada-prj-show-value):
19646 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19647 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19648 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19649 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19650 * progmodes/bug-reference.el (bug-reference-push-button):
19651 * progmodes/fortran.el (fortran-line-length):
19652 * progmodes/glasses.el (glasses-change):
19653 * progmodes/octave-mod.el (octave-fill-paragraph):
19654 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19655 (python-pdbtrack-grub-for-buffer, python-sentinel):
19656 * progmodes/sql.el (sql-save-connection):
19657 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19658 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19659 Mark unused parameters.
19660
19661 * progmodes/compile.el (compilation--flush-directory-cache)
19662 (compilation--flush-parse, compile-internal): Mark unused parameters.
19663 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19664 (compilation-next-error-function): Remove unused variable `timestamp'.
19665
19666 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19667 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19668
19669 * progmodes/dcl-mode.el (dcl-end-of-command):
19670 Remove unused variable `start'.
19671 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19672 (dcl-option-value-basic, dcl-option-value-offset)
19673 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19674 Mark unused parameters.
19675 (dcl-save-local-variable): Remove unused variable `val'.
19676 (mode): Declare.
19677
19678 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19679 Mark unused parameters.
19680 (delphi-ignore-changes): Move before first use.
19681 (delphi-charset-token-at): Remove unused variable `start'.
19682 (delphi-else-start): Remove unused variable `if-count'.
19683 (delphi-comment-block-start, delphi-comment-block-end):
19684 Remove unused variable `kind'.
19685 (delphi-indent-line): Remove unused variable `new-point'.
19686
19687 * progmodes/ebrowse.el (ebrowse-files-list)
19688 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19689 Mark unused parameters. Don't quote `lambda'.
19690 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19691 Don't quote `lambda'.
19692 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19693 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19694 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19695 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19696 Use `ignore-errors'.
19697 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19698 (ebrowse-view/find-file-and-search-pattern)
19699 (ebrowse-view/find-member-declaration/definition):
19700 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19701 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19702 Rename parameter PREFIX-ARG to PREFIX.
19703 (ebrowse-tags-read-name): Remove unused variables `start' and
19704 `member-info'.
19705 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19706 to `tags-file'.
19707
19708 * progmodes/etags.el (local-find-tag-hook): Declare.
19709 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19710 Mark unused parameters.
19711
19712 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19713 (executable-interpret): Mark unused parameter.
19714
19715 * progmodes/flymake.el (flymake-process-sentinel)
19716 (flymake-after-change-function)
19717 (flymake-create-temp-with-folder-structure)
19718 (flymake-get-include-dirs-dot): Mark unused parameters.
19719 (flymake-safe-delete-directory): Remove unused variable `err'.
19720
19721 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19722 (speedbar-timer-fn, speedbar-line-text)
19723 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19724 (speedbar-center-buffer-smartly): Declare functions.
19725 (gdb-find-watch-expression): Remove unused variable `array'.
19726 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19727 (gdb-starting): Mark unused parameters.
19728 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19729 (gdb-table-string): Remove unused variable `res'.
19730 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19731 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19732 (gdb-display-buffer): Remove unused variable `cur-size'.
19733
19734 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19735 allow lexical-binding compilation.
19736 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19737 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19738 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19739 Mark unused parameters.
19740 (gud-gdb-marker-filter): Remove unused variable `match'.
19741 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19742 lambda expressions and funcall them, instead of using `fset'.
19743
19744 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19745 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19746
19747 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19748 variable `header-beg'; use `let'.
19749
19750 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19751 `restart', `last-sexp' and `at-do'.
19752
19753 * progmodes/js.el (js--debug): Mark unused parameter.
19754 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19755 (js--splice-into-items): Remove unused variable `item'.
19756 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19757
19758 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19759 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19760 (makefile-complete): Remove unused variable `try'.
19761 (makefile-fill-paragraph, makefile-match-function-end):
19762 Mark unused parameters.
19763
19764 * progmodes/octave-inf.el (inferior-octave-complete):
19765 Remove unused variable `proc'.
19766 (inferior-octave-output-digest): Mark unused parameter.
19767
19768 * progmodes/perl-mode.el (perl-calculate-indent):
19769 Remove unused variable `err'.
19770
19771 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19772 (prolog-indent-line): Mark unused parameters.
19773 (prolog-indent-line): Remove unused variable `beg'.
19774
19775 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19776 (reporter-dont-compact-list): Declare.
19777
19778 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19779 Remove unused variable `char'.
19780 (sh-debug): Mark unused parameter.
19781 (sh-get-indent-info): Remove unused variable `start'.
19782 (sh-calculate-indent): Remove unused variable `var'.
19783
19784 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19785 (simula-electric-keyword): Remove unused variable `null'.
19786 (simula-search-backward, simula-search-forward): Remove unused
19787 variables `begin' and `end'.
19788
19789 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19790 Remove unused variable `pos'.
19791 (vera-electric-tab, vera-comment-uncomment-region):
19792 Mark unused parameters.
19793 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19794
7ede3b65
CY
197952011-04-22 Chong Yidong <cyd@stupidchicken.com>
19796
19797 * emacs-lisp/package.el (package--builtins, package-alist)
19798 (package-load-descriptor, package-built-in-p, package-activate)
19799 (define-package, package-installed-p)
19800 (package-compute-transaction, package-buffer-info)
19801 (package--push): Doc fix. Distinguish more clearly between
19802 version strings and version lists.
19803
121656e9
JB
198042011-04-21 Juanma Barranquero <lekktu@gmail.com>
19805
19806 Lexical-binding cleanup.
19807
19808 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19809 (5x5-make-mutate-best):
19810 * play/fortune.el (fortune-in-buffer):
19811 * play/gomoku.el (gomoku-init-display):
19812 * play/solitaire.el (solitaire, solitaire-do-check):
19813 * play/tetris.el (tetris-default-update-speed-function):
19814 Mark unused parameters.
19815
19816 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19817 (bubbles--shift): Remove unused variable `char-org'.
19818 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19819 (bubbles--show-images): Remove unused variable `char'.
19820
19821 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19822 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19823 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19824 (decipher-analyze-buffer): Use ?\s.
19825 (decipher-make-checkpoint): Remove unused variable `mapping'.
19826
19827 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19828
19829 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19830 Remove unused variable `result'; use `let'.
19831
19832 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19833 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19834 (gametree-children-shown-p, gametree-compute-reduced-score):
19835 Use `ignore-errors'.
19836
19837 * play/handwrite.el (ps-lpr-switches): Declare.
19838 (handwrite): Remove unused variables `pmin' and `lastp'.
19839
19840 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19841
19842 * play/landmark.el (landmark-init-display)
19843 (landmark-update-naught-weights): Mark unused parameters.
19844 (landmark-y): Remove unused variable `noise'. Simplify.
19845 (landmark-human-plays): Remove unused variable `score'.
19846
19847 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19848 (mpuz-try-proposal): Remove unused variable `game'.
19849
19850 * play/zone.el (life-patterns): Declare.
19851
80f499c7
JB
198522011-04-20 Juanma Barranquero <lekktu@gmail.com>
19853
19854 * vc/vc.el (ediff-vc-internal): Declare function.
19855
024ff170
SM
198562011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19857
c0a193ea
SM
19858 * shell.el: Use lexical-binding and std completion UI.
19859 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19860 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19861 comint-preoutput-filter-functions rather than on
19862 comint-output-filter-functions.
19863 (shell-command-completion, shell--command-completion-data)
19864 (shell-filename-completion, shell-environment-variable-completion)
19865 (shell-c-a-p-replace-by-expanded-directory): New functions.
19866 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19867 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19868 (shell-dynamic-complete-environment-variable): Use them.
19869 (shell-dynamic-complete-as-environment-variable)
19870 (shell-dynamic-complete-as-command): Remove.
19871 (shell-match-partial-variable): Match past point.
19872 * comint.el: Clean up use of completion-at-point-functions.
19873 (comint-completion-at-point): New function.
19874 (comint-mode): Use it completion-at-point-functions.
19875 (comint-dynamic-complete): Make it obsolete.
19876 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19877 (comint-c-a-p-replace-by-expanded-history): New function.
19878 (comint-dynamic-complete-functions)
19879 (comint-replace-by-expanded-history): Use it.
19880 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19881 termination strings. Try harder to avoid second try-completion.
19882 (completion-in-region-mode-map): Disable bindings that don't work yet.
19883
2dbaa080
SM
19884 * comint.el: Use lexical-binding. Require CL.
19885 (comint-dynamic-complete-functions): Use comint-filename-completion.
19886 (comint-completion-addsuffix): Tweak custom type.
19887 (comint-filename-completion, comint--common-suffix)
19888 (comint--common-quoted-suffix, comint--table-subvert)
19889 (comint--complete-file-name-data): New functions.
19890 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19891 (comint-dynamic-list-filename-completions): Use them.
19892 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19893
2dbaa080
SM
19894 * minibuffer.el (completion-in-region-mode):
19895 Keep completion-in-region-mode--predicate global.
19896 (completion-in-region--postch):
19897 Assume completion-in-region-mode--predicate is not null.
19898
c79a6f38
SM
19899 * progmodes/flymake.el (flymake-start-syntax-check-process):
19900 Obey `dir'. Simplify.
19901
024ff170
SM
19902 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19903 we're in VC after all.
19904
1c6c854e
CS
199052011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19906
19907 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19908 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19909 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19910
bed7f140
SM
199112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19912
332e62ab
SM
19913 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19914 add sanity check.
19915
bed7f140
SM
19916 * obsolete/erc-hecomplete.el: Make obsolete.
19917 * obsolete/: Standardize obsolescence info in the header.
19918
f195c582
GM
199192011-04-20 Glenn Morris <rgm@gnu.org>
19920
19921 * calendar/solar.el (solar-horizontal-coordinates):
19922 Use the longitude argument rather than `calendar-longitude'.
19923 (solar-date-next-longitude): Remove unused locals.
19924
cb79b8c0
VJL
199252011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19926
19927 * whitespace.el: New version 13.2.1.
19928
199292011-04-20 felix <EmacsWiki> (tiny change)
19930
d8e4b68b 19931 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19932 switching between major modes on a file.
19933
602ea69d
SM
199342011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19935
19936 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19937 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19938 multi-line comments as well.
19939
06b60517
JB
199402011-04-19 Juanma Barranquero <lekktu@gmail.com>
19941
19942 Lexical-binding cleanup.
19943
19944 * arc-mode.el (archive-mode-revert):
19945 * cmuscheme.el (scheme-interactively-start-process):
19946 * custom.el (custom-initialize-delay):
19947 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19948 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19949 * emacs-lock.el (emacs-lock-clear-sentinel):
19950 * ezimage.el (defezimage):
19951 * follow.el (follow-avoid-tail-recenter):
19952 * fringe.el (set-fringe-mode-1):
19953 * generic-x.el (bat-generic-mode-compile):
19954 * help-mode.el (help-info-variable, help-do-xref)
19955 (help-mode-revert-buffer):
19956 * help.el (view-emacs-todo):
19957 * iswitchb.el (iswitchb-completion-help):
19958 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19959 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19960 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19961 * locate.el (locate-update):
19962 * longlines.el (longlines-encode-region)
19963 (longlines-after-change-function):
19964 * outline.el (outline-isearch-open-invisible):
19965 * ps-def.el (declare-function, charset-dimension, char-width)
19966 (encode-char):
19967 * ps-mule.el (ps-mule-plot-string):
19968 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19969 (recentf-edit-list-select, recentf-edit-list-validate)
19970 (recentf-open-files-action):
19971 * rect.el (delete-whitespace-rectangle-line)
19972 (rectangle-number-line-callback):
19973 * register.el (window-configuration-to-register)
19974 (frame-configuration-to-register):
19975 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19976 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19977 (xselect-convert-to-targets, xselect-convert-to-delete)
19978 (xselect-convert-to-filename, xselect-convert-to-charpos)
19979 (xselect-convert-to-lineno, xselect-convert-to-colno)
19980 (xselect-convert-to-os, xselect-convert-to-host)
19981 (xselect-convert-to-user, xselect-convert-to-class)
19982 (xselect-convert-to-name, xselect-convert-to-integer)
19983 (xselect-convert-to-atom, xselect-convert-to-identity):
19984 * subr.el (declare, ignore, process-kill-without-query)
19985 (text-clone-maintain):
19986 * terminal.el (te-get-char, te-tic-sentinel):
19987 * tool-bar.el (tool-bar-make-keymap):
19988 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19989 * type-break.el (type-break-mode, type-break-noninteractive-query):
19990 * view.el (View-back-to-mark):
19991 * wid-browse.el (widget-browse-action, widget-browse-widget)
19992 (widget-browse-widgets, widget-browse-sexp):
19993 * widget.el (define-widget-keywords):
19994 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19995 Mark unused parameters.
19996
19997 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19998 (align-areas): Remove unused variable `look'.
19999 (align-region): Remove unused variables `real-end' and `pos-list'.
20000
20001 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20002
20003 * bindings.el (mode-line-modified, mode-line-remote):
20004 Mark unused parameters.
20005 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20006
20007 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20008 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20009
20010 * comint.el (comint-history-isearch-pop-state)
20011 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20012 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20013 (comint-substitute-in-file-name): Doc fix.
20014
20015 * completion.el (cmpl-statistics-block): Mark unused parameter.
20016 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20017 (save-completions-to-file, load-completions-from-file):
20018 Remove unused local variable `e'.
20019
20020 * composite.el (compose-chars): Remove unused variable `len'.
20021 (lgstring-insert-glyph): Remove unused variable `g'.
20022 (compose-glyph-string): Remove unused variables `ascent',
20023 `descent', `lbearing' and `rbearing'.
20024 (compose-glyph-string-relative): Remove unused variables
20025 `lbearing', `rbearing' and `wadjust'.
20026 (compose-gstring-for-graphic): Remove unused variables `header',
20027 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20028 (compose-gstring-for-terminal): Remove unused variables `header'
20029 and `nchars'. Use `let', not `let*'.
20030
20031 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20032 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20033 (Custom-buffer-done, custom-buffer-create-internal)
20034 (custom-browse-visibility-action, custom-browse-group-tag-action)
20035 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20036 (widget-magic-mouse-down-action, custom-toggle-parent)
20037 (custom-add-parent-links, custom-toggle-hide-variable)
20038 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20039 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20040 (custom-face-menu-create, custom-variable-menu-create, get)
20041 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20042 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20043 (customize-apropos): Remove unused variable `tests'.
20044 (custom-group-value-create): Remove unused variable `hidden-p'.
20045 (sort-fold-case): Declare.
20046
20047 * cus-theme.el (custom-reset-standard-faces-list)
20048 (custom-reset-standard-variables-list): Declare.
20049 (customize-create-theme, custom-theme-revert, custom-theme-write)
20050 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20051 Mark unused parameters.
20052
20053 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20054
20055 * delim-col.el (delimit-columns-max): Move defvar before first use.
20056
20057 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20058 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20059
20060 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20061 (auto-insert): Declare.
20062 (desktop-restore-file-buffer): Rename desktop-* parameters;
20063 mark unused ones.
20064 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20065 (desktop-buffer): Rename desktop-* parameters.
20066
20067 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20068 (dframe-reposition-frame-xemacs, dframe-help-echo)
20069 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20070 Mark unused parameters.
20071
20072 * dired-aux.el (backup-extract-version-start, overwrite-query)
20073 (overwrite-backup-query, rename-regexp-query)
20074 (rename-non-directory-query): Declare.
20075 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20076 (dired-add-entry): Remove unused variable `orig-file-name'.
20077 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20078 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20079 `dired-copy-preserve-time' directly.
20080 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20081 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20082
20083 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20084 (dired-virtual-revert, dired-make-relative-symlink):
20085 Mark unused parameters.
20086 (manual-program): Declare.
20087 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20088 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20089 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20090
20091 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20092
20093 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20094
20095 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20096 Declare.
20097
20098 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20099
20100 * electric.el (Electric-command-loop): Rename parameter
20101 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20102
20103 * expand.el (expand-in-literal): Remove unused variable `here'.
20104
20105 * facemenu.el (facemenu-add-new-color):
20106 Remove unused variable `docstring'.
20107
20108 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20109 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20110 (face-attr-construct): Mark unused parameter. Doc fix.
20111 (read-color): Remove unused variable `hex-string'.
20112
20113 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20114 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20115 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20116 (display-buffer-other-frame): Remove unused variable `old-window'.
20117 (kill-buffer-hook): Declare.
20118 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20119 Mark unused parameters.
20120 (after-find-file): Pass 1 to `auto-save-mode', not t.
20121
20122 * files-x.el (auto-insert): Declare.
20123 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20124
20125 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20126 variable `buf'. Mark unused parameter.
06b60517
JB
20127 (find-lisp-insert-directory): Mark unused parameter.
20128
20129 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20130 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20131 (format-common-tail): Remove, unused.
20132 (format-deannotate-region): Remove unused variable `loc'.
20133 (format-annotate-region): Remove unused variable `p'.
20134 (format-annotate-single-property-change): Remove unused variables
20135 `default' and `tail'.
20136
20137 * forms.el (read-file-filter): Declare.
20138 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20139
20140 * frame.el (frame-creation-function-alist): Mark unused parameter.
20141 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20142
20143 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20144 Remove unused parameters.
20145 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20146 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20147
20148 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20149 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20150 (hfy-prepare-tag-map): Mark unused parameters.
20151 (htmlfontify-buffer): Use `called-interactively-p'.
20152
20153 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20154 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20155 (ibuffer-do-occur): Mark unused parameters.
20156 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20157 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20158
20159 * ibuffer.el: Don't quote `lambda'.
20160 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20161 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20162 Mark unused parameters.
20163
20164 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20165 (ido-completing-read): Mark unused parameters.
20166 (ido-copy-current-word): Mark unused parameters;
20167 remove unused variable `name'.
20168 (ido-sort-merged-list): Remove unused parameter `dirs'.
20169
20170 * ielm.el (ielm-input-sender): Mark unused parameter.
20171 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20172 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20173 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20174 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20175 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20176
20177 * image-dired.el (image-dired-display-thumbs): Remove unused
20178 variables `curr-file' and `count'.
20179 (image-dired-remove-tag): Remove unused variable `start'.
20180 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20181 variable `curr-file'
20182 (image-dired-rotate-original): Remove unused variable `temp-file'.
20183 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20184 Remove unused variable `file'.
20185 (image-dired-gallery-generate): Remove unused variable `curr'.
20186 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20187
20188 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20189
20190 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20191
20192 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20193
20194 * isearch.el (minibuffer-history-symbol): Declare.
20195 (isearch-edit-string): Remove unused variable `err'.
20196 (isearch-message-prefix, isearch-message-suffix):
20197 Mark unused parameters.
20198
20199 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20200
20201 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20202
20203 * makesum.el (double-column): Remove unused variable `cnt'.
20204
20205 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20206 (ido-ignore-item-temp-list): Declare.
20207
20208 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20209 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20210 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20211 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20212 `mouse-col-delta'.
20213
20214 * mouse-sel.el (mouse-extend-internal):
20215 Remove unused variable `orig-window-frame'.
20216
20217 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20218 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20219 Move declarations before first use.
20220 (pcomplete-opt): Mark unused parameters; doc fix.
20221
20222 * proced.el (proced-revert): Mark unused parameter.
20223 (proced-send-signal): Remove unused variable `err'.
20224
20225 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20226 Rename parameter PREFIX-ARG to ARG.
20227 (ps-basic-plot-string, ps-basic-plot-whitespace):
20228 Mark unused parameters.
20229
20230 * replace.el (replace-count): Define.
20231 (occur-revert-function): Mark unused parameters.
20232 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20233 (isearch-case-fold-search, isearch-string): Declare.
20234 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20235 bind `case-fold-search'. Remove unused variables `beg' and `end',
20236 and simplify.
20237 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20238 COUNT and bind `replace-count'.
20239 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20240 to COUNT.
20241
20242 * savehist.el (print-readably, print-string-length): Declare.
20243
20244 * shadowfile.el (shadow-expand-cluster-in-file-name):
20245 Remove unused variable `cluster'.
20246 (shadow-copy-file): Remove unused variable `i'.
20247 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20248 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20249 (shadow-define-literal-group, shadow-define-regexp-group)
20250 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20251
20252 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20253 (shell): Use `called-interactively-p'.
20254 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20255
20256 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20257 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20258 (delete-backward-char): Remove unused variable `ocol'.
20259 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20260 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20261 (event-apply-hyper-modifier, event-apply-shift-modifier)
20262 (event-apply-control-modifier, event-apply-meta-modifier):
20263 Mark unused parameters.
20264 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20265 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20266
20267 * speedbar.el (speedbar-ignored-directory-expressions)
20268 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20269 (speedbar-find-file, speedbar-dir-follow)
20270 (speedbar-directory-buttons-follow, speedbar-tag-find)
20271 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20272 (speedbar-buffers-line-directory, speedbar-buffer-click):
20273 Mark unused parameters.
20274 (speedbar-tag-file): Remove unused variable `mode'.
20275 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20276
20277 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20278
20279 * talk.el (talk): Remove unused variable `display'.
20280
20281 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20282 (tar-write-region-annotate): Mark unused parameter.
20283
20284 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20285 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20286 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20287 warning by another.
20288
20289 * time-stamp.el (time-stamp-string-preprocess):
20290 Remove unused variable `require-padding'.
20291
20292 * tree-widget.el (widget-glyph-enable): Declare.
20293 (tree-widget-action): Mark unused parameter.
20294
20295 * w32-fns.el (x-get-selection): Mark unused parameter.
20296 (autoload-make-program, generated-autoload-file): Declare.
20297
20298 * wdired.el (wdired-revert): Mark unused parameters.
20299 (wdired-xcase-word): Remove unused variable `err'.
20300
20301 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20302 (whitespace-help-scroll): Remove unused variable `data-help'.
20303
20304 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20305 (widget-image-insert, widget-after-change, default)
20306 (widget-default-format-handler, widget-default-notify)
20307 (widget-default-prompt-value, widget-info-link-action)
20308 (widget-url-link-action, widget-function-link-action)
20309 (widget-variable-link-action, widget-file-link-action)
20310 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20311 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20312 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20313 (widget-insert-button-action, widget-delete-button-action, visibility)
20314 (widget-documentation-link-action, widget-documentation-string-action)
20315 (widget-const-prompt-value, widget-regexp-match, symbol)
20316 (widget-coding-system-prompt-value)
20317 (widget-key-sequence-value-to-external, sexp)
20318 (widget-sexp-value-to-internal, character, vector, cons)
20319 (widget-choice-prompt-value, widget-boolean-prompt-value)
20320 (widget-color--choose-action): Mark unused parameters.
20321 (widget-item-match-inline, widget-choice-match-inline)
20322 (widget-checklist-match, widget-checklist-match-inline)
20323 (widget-group-match): Rename parameter VALUES to VALS.
20324 (widget-field-value-set): Remove unused variable `size'.
20325 (widget-color-action): Remove unused variables `value' and `start'.
20326
20327 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20328 variable `dir'. Doc fix.
06b60517
JB
20329 (windmove-find-other-window): Don't pass it.
20330
20331 * window.el (count-windows): Mark unused parameter.
20332 (bw-adjust-window): Remove unused variable `err'.
20333
20334 * woman.el (woman-file-name): Remove unused variable `default'.
20335 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20336 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20337 (global-font-lock-mode): Declare.
20338 (woman-decode-region): Mark unused parameter.
20339 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20340
20341 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20342 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20343 (x-dnd-handle-moz-url): Remove unused variable `title'.
20344 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20345
20346 * xml.el (xml-parse-tag, xml-parse-attlist):
20347 Remove unused variable `pos'.
20348
bc4f7f3d
GM
203492011-04-19 Glenn Morris <rgm@gnu.org>
20350
20351 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20352 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20353 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20354 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20355 * calendar/cal-html.el (cal-html-insert-minical):
20356 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20357 (calendar-mark-date-pattern):
20358 Prefix "unused" locals.
20359
20360 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20361 optional argument `style'.
20362
20363 * calendar/appt.el (appt-make-list):
20364 * calendar/cal-china.el (calendar-chinese-date-string):
20365 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20366 (diary-hebrew-yahrzeit):
20367 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20368 * calendar/calendar.el (calendar-generate-window):
20369 * calendar/time-date.el (time-to-days):
20370 Remove unused local variables.
20371
16a43933
CY
203722011-04-18 Chong Yidong <cyd@stupidchicken.com>
20373
20374 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20375 glyphless-char-display table.
20376 (tabulated-list-glyphless-char-display): New var.
20377
7eed1860
SS
203782011-04-18 Sam Steingold <sds@gnu.org>
20379
20380 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20381 to acknowledgments.
20382
4d2d1ccd
GM
203832011-04-17 Glenn Morris <rgm@gnu.org>
20384
20385 * calendar/diary-lib.el (diary-sexp-entry):
20386 * calendar/holidays.el (holiday-sexp):
20387 Set debug-on-error rather than the removed stack-trace-on-error.
20388
239da61d
GM
203892011-04-16 Glenn Morris <rgm@gnu.org>
20390
20391 * progmodes/f90.el: Use lexical-binding.
20392 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20393
8b05752a
SM
203942011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20395
daca8ba5
SM
20396 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20397 (mail-mode): Setup mailalias completion here instead.
20398 * mail/mailalias.el: Use lexical-binding.
20399 (pattern, mailalias-done): Declare dynamic.
20400 (mail-completion-at-point-function): New function, from mail-complete.
20401 (mail-complete): Use it.
20402 (mail-completion-expand): New function.
20403 (mail-get-names): Use it.
20404 (mail-directory, mail-directory-process, mail-directory-stream):
20405 Don't use `pattern' for lexically bound arg.
20406
6f542485
SM
20407 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20408
037e7c3f
SM
20409 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20410 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20411 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20412
8b05752a
SM
20413 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20414 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20415 (byte-interactive-p): Define them again, for use when inlining
20416 old code.
20417
49093f60
JB
204182011-04-15 Juanma Barranquero <lekktu@gmail.com>
20419
20420 * loadup.el: Use `string-to-number', not `string-to-int'.
20421
b5b8e7de
SM
204222011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20423
20424 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20425 gud-gdb-complete-command.
20426 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20427 (gud-gdb-completion-at-point): New function.
20428 (gud-gdb-completions): Remove.
20429
f42efeb5
MA
204302011-04-14 Michael Albinus <michael.albinus@gmx.de>
20431
49093f60
JB
20432 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20433 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20434 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20435 whether `executable-find' is bound.
f42efeb5
MA
20436
20437 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20438
e240cc21
SM
204392011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20440
20441 * minibuffer.el (completion-in-region-mode-predicate)
20442 (completion-in-region-mode--predicate): New vars.
20443 (completion-in-region, completion-in-region--postch)
20444 (completion-in-region-mode): Use them.
20445 (completion--capf-wrapper): Also return the hook function.
20446 (completion-at-point, completion-help-at-point):
20447 Adjust and provide a predicate.
c2bd2ab0
SM
20448
20449 Preserve arg names for advice of subr and lexical functions (bug#8457).
20450 * help-fns.el (help-function-arglist): Consolidate the subr and
20451 new-byte-code cases. Add argument `preserve-names' to extract names
20452 from the docstring when needed.
20453 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20454 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20455 (ad-arglist): Use help-function-arglist's new arg.
20456 (ad-definition-type): Use cond.
20457
c183f693
JB
204582011-04-13 Juanma Barranquero <lekktu@gmail.com>
20459
06641a47
JB
20460 * autorevert.el (auto-revert-handler):
20461 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20462 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20463 Don't quote lambda.
20464
c183f693
JB
20465 * image-mode.el (image-transform-set-scale):
20466 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20467
1e3b6001
G
204682011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20469
20470 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20471 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20472 Upgrades via gnutls-cli are too slow to be done opportunistically.
20473
2d6af8dd
JB
204742011-04-12 Juanma Barranquero <lekktu@gmail.com>
20475
20476 * dframe.el (dframe-current-frame): Remove spurious quote.
20477
c0749a51
GM
204782011-04-12 Glenn Morris <rgm@gnu.org>
20479
088d0d61
GM
20480 * calendar/cal-tex.el (cal-tex-end-document):
20481 Try to automatically use latin1 input if needed.
20482
c0749a51
GM
20483 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20484 Don't try to cons a mark onto an empty element.
20485
5c90fde0
LL
204862011-04-11 Leo Liu <sdl.web@gmail.com>
20487
20488 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20489 buffers.
20490 (ido-kill-buffer-at-head): Support killing virtual buffers.
20491
369e974d
CY
204922011-04-10 Chong Yidong <cyd@stupidchicken.com>
20493
20494 * minibuffer.el (completion-show-inline-help): New var.
20495 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20496 (minibuffer-force-complete, minibuffer-complete-word):
20497 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20498
20499 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20500 to avoid interference from inline help (Bug#5849).
20501
37f1c930
LL
205022011-04-10 Leo Liu <sdl.web@gmail.com>
20503
099c39a4
JB
20504 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20505 Fix typo.
37f1c930 20506
a32d4040
CY
205072011-04-09 Chong Yidong <cyd@stupidchicken.com>
20508
20509 * image-mode.el (image-toggle-display-image): Signal an error if
20510 not in Image mode.
20511 (image-transform-mode, image-transform-resize)
20512 (image-transform-set-rotation): Doc fix.
daca8ba5 20513 (image-transform-set-resize): Delete.
a32d4040
CY
20514 (image-transform-set-scale, image-transform-fit-to-height)
20515 (image-transform-fit-to-width): Handle image-toggle-display-image
20516 and image-transform-resize directly.
20517
099c39a4 205182011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20519
20520 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20521 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20522 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20523 (doc-view-mode-map): Add bindings for the new functions.
20524
099c39a4 205252011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20526
4d61f28d 20527 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20528 Fix typo in docstring.
20529
3726838a
EZ
205302011-04-08 Eli Zaretskii <eliz@gnu.org>
20531
04f33f1e
EZ
20532 * files.el (file-size-human-readable): Produce one digit after
20533 decimal, like "ls -lh" does.
20534
20535 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20536 the file size representation.
20537
3726838a
EZ
20538 * simple.el (list-processes): If async subprocesses are not
20539 available, error out with a clear error message.
20540
cbb59342
CY
205412011-04-08 Chong Yidong <cyd@stupidchicken.com>
20542
20543 * help.el (help-form-show): New function, to be called from C.
20544 Put help-form output in a buffer named differently than *Help*.
20545
e3971c44
EZ
205462011-04-08 Eli Zaretskii <eliz@gnu.org>
20547
20548 * files.el (file-size-human-readable): New function.
20549
20550 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20551 computing the representation inline. Don't require `cl'.
20552
12544bbe
GM
205532011-04-08 Glenn Morris <rgm@gnu.org>
20554
a1de6c6a
GM
20555 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20556
3c4671f4
GM
20557 * net/browse-url.el (browse-url-firefox):
20558 Test system-type, not system-configuration.
20559
b605679c
GM
20560 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20561 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20562 Use log-edit-empty-buffer-p. (Bug#7598)
20563
56442f0c
GM
20564 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20565 (rlogin-mode-map): Initialize in the defvar.
20566 (rlogin): Use ignore-errors.
20567
12544bbe
GM
20568 * replace.el (occur-mode-map): Some fixes for menu items.
20569
eb237b0f
AH
205702011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20571
20572 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20573
7d668f2c
CY
205742011-04-06 Chong Yidong <cyd@stupidchicken.com>
20575
e67a13ab
CY
20576 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20577 issuing unused warnings.
20578
20579 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20580 macro directly.
20581
7d668f2c
CY
20582 * simple.el: Lisp reimplement of list-processes. Based on an
20583 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20584 (process-menu-mode): New major mode.
20585 (list-processes--refresh, list-processes):
20586 (process-menu-visit-buffer): New functions.
20587
20588 * files.el (save-buffers-kill-emacs): Don't assume any return
20589 value of list-processes, which is undocumented anyway.
20590
a83ec3c9
CY
205912011-04-06 Chong Yidong <cyd@stupidchicken.com>
20592
20593 * emacs-lisp/tabulated-list.el: New file.
20594
e91a96fe
CY
20595 * emacs-lisp/package.el: Use Tabulated List mode.
20596 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20597 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20598 table format using Tabulated List mode variables.
20599 (package--push): New macro, replacing package-list-maybe-add.
20600 (package-menu--generate): Use package--push. Renamed from
20601 package--generate-package-list.
20602 (package-menu-refresh, list-packages): Use it.
daca8ba5 20603 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20604 Return insertion data instead of inserting it directly.
099c39a4
JB
20605 (package-menu-describe-package, package-menu-execute):
20606 Use tabulated-list-get-id.
e91a96fe
CY
20607 (package-menu-mark-delete, package-menu-mark-install)
20608 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20609 (package-menu-mark-obsolete-for-deletion):
20610 Use tabulated-list-put-tag.
e91a96fe
CY
20611 (package--list-packages, package-menu-revert)
20612 (package-menu-get-package, package-menu-get-version)
20613 (package-menu-sort-by-column): Functions deleted.
20614 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20615 (package-menu--status-predicate, package-menu--version-predicate)
20616 (package-menu--name-predicate)
20617 (package-menu--description-predicate): Handle arguments in the
20618 Tabulated List format.
20619 (package-list-packages-no-fetch): Call list-packages.
20620
3e214b50
JB
206212011-04-06 Juanma Barranquero <lekktu@gmail.com>
20622
20623 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20624 (after-find-file): Don't bind it.
3e214b50
JB
20625 (revert-buffer-in-progress-p): New variable.
20626 (revert-buffer): Bind it.
20627 Pass nil for `after-find-file-from-revert-buffer'.
20628
20629 * saveplace.el (save-place-find-file-hook): Use new variable
20630 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20631
3f0f1700
GM
206322011-04-06 Glenn Morris <rgm@gnu.org>
20633
c0274801
GM
20634 * Makefile.in (AUTOGEN_VCS): New variable.
20635 (autoloads): Use $AUTOGEN_VCS.
20636
3f0f1700
GM
20637 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20638 * calendar/calendar.el (calendar-mode-map):
20639 Check for toolkit scroll bars. (Bug#8305)
20640
41ea9e48
CY
206412011-04-05 Chong Yidong <cyd@stupidchicken.com>
20642
20643 * minibuffer.el (completion-in-region--postch)
20644 (completion-in-region-mode): Remove unnecessary messages.
20645
6194c800
JB
206462011-04-05 Juanma Barranquero <lekktu@gmail.com>
20647
33256f14
JB
20648 * font-lock.el (font-lock-refresh-defaults):
20649 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20650 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20651
6194c800
JB
20652 * info.el (Info-directory-list, Info-read-node-name-2)
20653 (Info-split-parameter-string): Doc fixes.
20654 (Info-virtual-nodes): Reflow docstring.
20655 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20656 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20657 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20658 Fix typos in docstrings.
20659 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20660 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20661 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20662 (Info-restore-desktop-buffer): Mark unused parameters.
20663 (Info-directory-find-file, Info-directory-find-node)
20664 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20665 (Info-virtual-index-find-node, Info-apropos-find-file)
20666 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20667 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20668 (Info-virtual-index): Remove unused local variable `nodename'.
20669
b87a8200 206702011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20671
b87a8200
DD
20672 * net/rcirc.el: Update my e-mail address.
20673 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20674
3b2ff876
CY
206752011-04-05 Chong Yidong <cyd@stupidchicken.com>
20676
20677 * startup.el (command-line): Save the cursor's theme-face
20678 directly, instead of using face-override-spec.
20679
20680 * custom.el (load-theme): Minor optimization in assigning faces.
20681
8d17e7ca
JB
206822011-04-04 Juanma Barranquero <lekktu@gmail.com>
20683
20684 * help-fns.el (describe-variable): Complete all variables having
20685 documentation, including keywords.
20686 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20687
2fbc1934
JB
206882011-04-04 Juanma Barranquero <lekktu@gmail.com>
20689
20690 Convert to lexical-binding.
20691
20692 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20693 (bs--get-marked-string, bs--get-modified-string)
20694 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20695 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20696 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20697
20698 * ehelp.el (electric-help-execute-extended)
20699 (electric-help-ctrl-x-prefix):
20700 * hexl.el (hexl-revert-buffer-function):
20701 * linum.el (linum-after-change, linum-after-scroll):
20702 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20703
20704 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20705
74f50695
DU
207062011-04-04 Daiki Ueno <ueno@unixuser.org>
20707
20708 * epa-dired.el:
20709 * epa-mail.el:
20710 * epa-hook.el:
20711 * epa-file.el:
20712 * epa.el:
20713 * epg.el: Use lexical binding.
20714
c11325f7
CY
207152011-04-03 Chong Yidong <cyd@stupidchicken.com>
20716
0d9e9a12
CY
20717 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20718
c11325f7 20719 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20720 dictionary case for flyspell-mark-duplications-exceptions.
20721 Use regexp matching for languages.
c11325f7
CY
20722 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20723 default dictionary (Bug#7926).
20724
da91b5f2
CY
207252011-04-02 Chong Yidong <cyd@stupidchicken.com>
20726
099c39a4
JB
20727 * emacs-lisp/package.el (package--with-work-buffer):
20728 Recognize https URLs.
da91b5f2 20729
099c39a4
JB
20730 * net/network-stream.el: Move from gnus/proto-stream.el.
20731 Change prefix to network-stream throughout.
da91b5f2
CY
20732 (open-protocol-stream): Merge into open-network-stream, leaving
20733 open-protocol-stream as an alias. Handle nil BUFFER args.
20734
20735 * subr.el (open-network-stream): Move to net/network-stream.el.
20736
afa8e9f6
GM
207372011-04-02 Glenn Morris <rgm@gnu.org>
20738
1d2e369d
GM
20739 * find-dired.el (find-exec-terminator): New option.
20740 (find-ls-option): Test for -ls support.
20741 (find-ls-subdir-switches): Test for -b in find-ls-option.
20742 (find-dired, find-grep-dired): Doc fixes.
20743 (find-dired): Use find-exec-terminator.
20744
8abb7da8 20745 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20746 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20747 (find-name-arg): Remove purecopy.
8abb7da8 20748
f3ca7378
GM
20749 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20750 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20751 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20752 accordingly. Don't add the null-device if not needed.
20753
afa8e9f6
GM
20754 * files.el (save-some-buffers): Doc fix.
20755
35eae264
EZ
207562011-04-02 Eli Zaretskii <eliz@gnu.org>
20757
20758 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20759
26b51db5
JB
207602011-04-01 Juanma Barranquero <lekktu@gmail.com>
20761
20762 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20763 Use `dolist' rather than `mapcar'.
20764
7200d79c
SM
207652011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20766
03408648 20767 Add lexical binding.
7200d79c 20768
03408648
SM
20769 * subr.el (apply-partially): Use new closures rather than CL.
20770 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20771 (dolist, dotimes): Use slightly different expansion for lexical code.
20772 (functionp): Move to C.
20773 (letrec): New macro.
20774 (with-wrapper-hook): Use it and apply-partially instead of CL.
20775 (eval-after-load): Preserve lexical-binding.
20776 (save-window-excursion, with-output-to-temp-buffer): Turn them
20777 into macros.
7200d79c 20778
03408648
SM
20779 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20780
20781 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20782 than the arglist.
20783 (help-add-fundoc-usage): Don't add `Not documented'.
20784 (help-function-arglist): Handle closures, subroutines, and new
20785 byte-code-functions.
20786 (help-make-usage): Remove leading underscores.
20787 (describe-function-1): Handle closures.
20788 (describe-variable): Use special-variable-p for completion.
20789
20790 * files.el (lexical-binding): Declare safe.
f488fb65 20791
03408648
SM
20792 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20793 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20794 (pcase): Add `let' pattern.
20795 Change memoization so it actually works.
20796 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20797 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20798 <let>: New case.
f488fb65 20799
03408648
SM
20800 * emacs-lisp/macroexp.el: Use lexical binding.
20801 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20802 Don't convert ' to #' without checking that it's indeed quoting
20803 a lambda.
20804
20805 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20806 Use eval-sexp-add-defvars.
03408648
SM
20807 (eval-sexp-add-defvars): New fun.
20808
20809 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20810
20811 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20812 Don't autoload.
20813 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20814 than the internal `byte-compile-lambda'.
20815 (defmethod): Don't hide code under quotes.
20816 (eieio-defmethod): New `code' argument.
20817
20818 * emacs-lisp/eieio-comp.el: Remove.
20819
20820 * emacs-lisp/edebug.el (edebug-eval-defun)
20821 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20822 (edebug-toggle): Avoid `eval'.
20823
20824 * emacs-lisp/disass.el (disassemble-internal): Handle new
20825 `closure' objects.
20826 (disassemble-1): Handle new byte codes.
20827
20828 * emacs-lisp/cl.el (pushnew): Silence warning.
20829
20830 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20831 (cl-byte-compile-throw): Remove.
20832 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20833
20834 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20835 closures.
20836
20837 * emacs-lisp/cconv.el: New file.
20838
20839 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20840 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20841 (byte-compile-initial-macro-environment):
20842 Handle declare-function here.
20843 (byte-compile--lexical-environment): New var.
20844 (byte-stack-ref, byte-stack-set, byte-discardN)
20845 (byte-discardN-preserve-tos): New lap codes.
20846 (byte-interactive-p): Don't use any more.
20847 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20848 New macros.
20849 (byte-compile-lapcode): Use them and handle new lap codes.
20850 (byte-compile-obsolete): Remove.
20851 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20852 (byte-compile-arglist-warn): Check late def of inlinable funs.
20853 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20854 since they should have been expanded by now.
20855 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20856 (byte-compile-from-buffer): Remove unused second arg.
20857 (byte-compile-preprocess): New function.
20858 (byte-compile-toplevel-file-form): New function to distinguish
20859 file-form calls from outside from file-form calls from hunk-handlers.
20860 (byte-compile-file-form): Simplify.
20861 (byte-compile-file-form-defsubst): Remove.
20862 (byte-compile-file-form-defmumble): Simplify now that
20863 byte-compile-lambda always returns a byte-code-function.
20864 (byte-compile): Preprocess.
20865 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20866 Remove, not used any more.
20867 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20868 (byte-compile-make-args-desc): New funs.
20869 (byte-compile-lambda): Handle lexical functions. Always return
20870 a byte-code-function.
20871 (byte-compile-reserved-constants): New var, to make up room for
20872 closed-over variables.
20873 (byte-compile-constants-vector): Obey it.
20874 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20875 (byte-compile-macroexpand-declare-function): New function.
20876 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20877 byte-code-functions.
20878 (byte-compile-form): Check obsolescence here.
20879 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20880 (byte-compile-variable-ref): Remove.
20881 (byte-compile-dynamic-variable-op): New fun.
20882 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20883 (byte-compile-variable-set): New funs.
20884 (byte-compile-discard): Add 2 args.
20885 (byte-compile-stack-ref, byte-compile-stack-set)
20886 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20887 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20888 macroexpand-all instead.
20889 (byte-compile-quote-form): Remove.
20890 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20891 (byte-compile-bind, byte-compile-unbind): New funs.
20892 (byte-compile-let): Handle let* and lexical binding.
20893 (byte-compile-let*): Remove.
20894 (byte-compile-catch, byte-compile-unwind-protect)
20895 (byte-compile-track-mouse, byte-compile-condition-case):
20896 Handle a new :fun-body form, used for lexical scoping.
20897 (byte-compile-save-window-excursion)
20898 (byte-compile-with-output-to-temp-buffer): Remove.
20899 (byte-compile-defun): Simplify.
20900 (byte-compile-stack-adjustment): New fun.
20901 (byte-compile-out): Use it.
20902 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20903
20904 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20905 handler any more.
20906
20907 * emacs-lisp/byte-opt.el: Use lexical binding.
20908 (byte-inline-lapcode): Remove (to bytecomp).
20909 (byte-compile-inline-expand): Pay attention to inlining to/from
20910 lexically bound code.
20911 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20912 any more.
20913 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20914 any more and don't call compiler-macros.
20915 (byte-compile-splice-in-already-compiled-code): Remove.
20916 (byte-code): Don't inline any more.
20917 (disassemble-offset): Receive `bytes' as argument rather than via
20918 dynamic scoping.
20919 (byte-compile-tag-number): Declare before first use.
20920 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20921 `return' even if make-spliceable.
20922 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20923 obsolete interactive-p.
20924 (byte-optimize-lapcode): Optimize new lap-codes.
20925 Don't trip up on new form of `byte-constant' lap code.
20926
20927 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20928
20929 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20930
20931 * custom.el (custom-initialize-default, custom-declare-variable):
20932 Use `defvar'.
20933
20934 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20935 New variables.
20936 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20937 (COMPILE_FIRST): Add macroexp and cconv.
20938 * makefile.w32-in: Mirror changes in Makefile.in.
20939
20940 * vc/cvs-status.el:
20941 * vc/diff-mode.el:
20942 * vc/log-edit.el:
20943 * vc/log-view.el:
20944 * vc/smerge-mode.el:
20945 * textmodes/bibtex-style.el:
090bd7cb 20946 * textmodes/css-mode.el:
03408648
SM
20947 * startup.el:
20948 * uniquify.el:
da91b5f2
CY
20949 * minibuffer.el:
20950 * newcomment.el:
20951 * reveal.el:
20952 * server.el:
20953 * mpc.el:
20954 * emacs-lisp/smie.el:
20955 * doc-view.el:
20956 * dired.el:
03408648
SM
20957 * abbrev.el: Use lexical binding.
20958
0f0c1f27
EZ
209592011-04-01 Eli Zaretskii <eliz@gnu.org>
20960
20961 * info.el (info-display-manual): New function.
20962
c82b2579
SM
209632011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20964
20965 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20966
221ddf68
TH
209672011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20968
20969 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20970 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20971
cba6e77e
GM
209722011-03-31 Glenn Morris <rgm@gnu.org>
20973
e040639f
GM
20974 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20975
cba6e77e
GM
20976 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20977
6d0f1c9e
CS
209782011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20979
20980 * progmodes/python.el (python-default-interpreter)
20981 (python-python-command-args, python-jython-command-args)
20982 (python-which-shell, python-which-args, python-which-bufname)
20983 (python-file-queue, python-comint-output-filter-function)
20984 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20985 variables and functions.
20986
3e2d70fd
SM
209872011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20988
20989 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20990 (completion-in-region-mode): New minor mode.
20991 (completion-in-region): Use it.
20992 (completion-in-region--data, completion-in-region-mode-map): New vars.
20993 (completion-in-region--postch): New function.
20994 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20995 New vars.
20996 (completion--capf-wrapper): New function.
20997 (completion-at-point): Use it to track well-behavedness of
20998 hook functions.
20999 (completion-help-at-point): New command.
21000
f3e4086c
JM
210012011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21002
21003 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21004 syntax class to search for whitespace on a single line
21005 (Message-ID: <4D938140.4030905@redhat.com>).
21006
eb7ffc14
LL
210072011-03-30 Leo Liu <sdl.web@gmail.com>
21008
21009 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21010 New commands.
21011 (edit-abbrevs-map): Bind them here.
21012 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21013
d806ab68
KM
210142011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21015
21016 * allout.el (allout-hide-by-annotation, allout-flag-region):
21017 Reduce possibility of overlay leakage by making them volatile.
21018
21019 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21020 hash is not shared between buffers. Mode initialization is
21021 responsible for giving it a useful starting value.
21022 (allout-item-span): Reduce possibility of overlay leakage by
21023 making them volatile.
21024 (allout-widgets-count-buttons-in-region): Add diagnostic function
21025 for tracking down button overlay leaks.
21026
ea622834
LL
210272011-03-29 Leo Liu <sdl.web@gmail.com>
21028
21029 * ido.el (ido-read-internal): Use the default history var
21030 minibuffer-history if no HISTORY is specified.
21031
b62f8267
G
210322011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21033
03408648
SM
21034 * net/imap.el (imap-shell-open, imap-process-connection-type):
21035 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21036 Kerberos, SSL, other subprocesses.
21037
947b6566
LL
210382011-03-28 Leo Liu <sdl.web@gmail.com>
21039
21040 * abbrev.el (abbrev-table-empty-p): New function.
21041 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21042 nonempty ones. (Bug#5937)
21043
5ffb62aa
JD
210442011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21045
21046 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21047
7a097943
LL
210482011-03-27 Leo Liu <sdl.web@gmail.com>
21049
21050 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21051 for foreground and background colors.
21052 (ansi-color-make-color-map): Adapt.
21053
c5b40130
LL
210542011-03-25 Leo Liu <sdl.web@gmail.com>
21055
1f48f7d2
LL
21056 * midnight.el (midnight-time-float): Remove. Note it calculates
21057 the microsecond component incorrectly and seconds-to-time does the
21058 same job.
625897ec 21059 Remove redundant (require 'timer).
1f48f7d2 21060
c5b40130
LL
21061 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21062 (ido-completions): Remove unused arguments. (Bug#8329)
21063
d86d2721
SM
210642011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21065
21066 * minibuffer.el (completion--flush-all-sorted-completions):
21067 Remove itself from hook.
21068 (completion-at-point): Let the functions perform the completion
21069 immediately and return nil or t.
21070 * comint.el (comint-dynamic-complete-functions): Now identical to
21071 completion-at-point-functions.
21072 (comint-dynamic-list-input-ring): Remove unused var `index'.
21073 (comint--match-partial-filename, comint--unquote&expand-filename):
21074 New funs, split from comint-match-partial-filename.
21075 (comint-dynamic-complete): Use completion-at-point.
21076 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21077
e8974c48
DA
210782011-03-24 Drew Adams <drew.adams@oracle.com>
21079
21080 * thingatpt.el: Support `defun'.
21081
def71b5e
LL
210822011-03-23 Leo Liu <sdl.web@gmail.com>
21083
cb5af48e
LL
21084 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21085
def71b5e
LL
21086 * help-mode.el (help-mode-finish): Tweak regexp.
21087
927c53e7
GM
210882011-03-23 Glenn Morris <rgm@gnu.org>
21089
18d05bed
GM
21090 * eshell/esh-opt.el (eshell-eval-using-options):
21091 Do not bind unused local variable `eshell-option-stub'.
21092
927c53e7
GM
21093 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21094
9d0da923
JB
210952011-03-22 Juanma Barranquero <lekktu@gmail.com>
21096
21097 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21098 keymap variable in `with-no-warnings' to avoid a warning when the
21099 keymap has been already `defconst'ed.
21100
4b978a67
LL
211012011-03-22 Leo Liu <sdl.web@gmail.com>
21102
21103 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21104 encode all chars in abbrevs; otherwise use emacs-mule or
21105 utf-8-emacs. (Bug#8308)
21106
5fd62452
JB
211072011-03-22 Juanma Barranquero <lekktu@gmail.com>
21108
0b1596c6
JB
21109 * simple.el (backward-delete-char-untabify):
21110 Avoid warning about using `delete-backward-char'.
21111
5fd62452
JB
21112 * image.el (image-type-file-name-regexps): Make it variable.
21113 `imagemagick-register-types' modifies it, and the user may want
21114 to add new extensions for known image types.
21115 (imagemagick-register-types): Throw error if not using ImageMagick.
21116
0b4e93f1
LL
211172011-03-22 Leo Liu <sdl.web@gmail.com>
21118
21119 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21120 located before rcirc-prompt-end-marker.
21121 (rcirc-complete): Error if point is not after rcirc prompt.
21122 Handle the case when table is nil.
9882e214 21123 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21124
fccee4ab
CY
211252011-03-22 Chong Yidong <cyd@stupidchicken.com>
21126
21127 * custom.el (custom--inhibit-theme-enable): Make it affect only
21128 custom-theme-set-variables and custom-theme-set-faces.
21129 (provide-theme): Ignore custom--inhibit-theme-enable.
21130 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21131 (custom-enabling-themes): Delete variable.
d86d2721
SM
21132 (enable-theme): Accept only loaded themes as arguments.
21133 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21134 (custom-enabled-themes): Forbid themes from setting this.
21135 Eliminate use of custom-enabling-themes.
21136 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21137
af896da6
LL
211382011-03-21 Leo Liu <sdl.web@gmail.com>
21139
21140 * ido.el (ido-read-internal): Add ido-selected to history instead
21141 of user input.
21142
78f64af0
SM
211432011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21144
21145 * subr.el (deferred-action-list, deferred-action-function):
21146 Mark obsolete.
21147
b16ac1ec
LL
211482011-03-21 Leo Liu <sdl.web@gmail.com>
21149
810f7698
LL
21150 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21151 change on 2011-02-13 (bug#8309).
21152
b16ac1ec
LL
21153 * minibuffer.el (read-file-name-function): Change default value.
21154 (read-file-name--defaults): Rename from read-file-name-defaults.
21155 (read-file-name-default): Rename from read-file-name.
21156 (read-file-name): Call read-file-name-function.
21157
4e05e67e
GM
211582011-03-21 Glenn Morris <rgm@gnu.org>
21159
21160 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21161 Doc fixes.
21162
4359915b
CY
211632011-03-21 Chong Yidong <cyd@stupidchicken.com>
21164
21165 * cus-theme.el: Add missing provide statement.
21166 (customize-create-theme): Extract theme value correctly.
21167 (custom-theme-visit-theme): Autoload.
21168 (customize-create-theme): Prompt before inserting default faces.
21169
1fe275ee
JB
211702011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21171
21172 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21173 units and musical notes.
21174
cd394be1 211752011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21176
21177 * ido.el (ido-read-internal): Use completing-read-default.
21178 (ido-completing-read): Fix compatibility with completing-read.
21179
7d476bde
CO
211802011-03-20 Christian Ohler <ohler@gnu.org>
21181
21182 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21183 (ert-delete-all-tests): Use `called-interactively-p' rather than
21184 `interactive-p'.
21185 (ert--make-xrefs-region): Respect END.
21186
fe0fb33e
CY
211872011-03-19 Chong Yidong <cyd@stupidchicken.com>
21188
ff854b0b
CY
21189 * dired-aux.el (dired-create-directory): Signal an error if the
21190 directory already exists (Bug#8246).
21191
fe0fb33e
CY
21192 * facemenu.el (list-colors-display): Call list-faces-display
21193 inside with-help-window.
21194 (list-colors-print): Use display property to align the final
21195 column, instead of checking window-width.
21196
576bce32
EZ
211972011-03-19 Eli Zaretskii <eliz@gnu.org>
21198
4d61f28d 21199 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21200 windows-nt systems.
21201 (emerge-protect-metachars): Quote correctly for ms-dos and
21202 windows-nt systems.
21203
89c41d68 212042011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21205
21206 * info.el (info-initialize): Replace all uses of `:' with
21207 path-separator for compatibility with non-Unix systems.
21208 Cache quoting of path-separator. (Bug#8258)
21209
b14e3e21 212102011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21211
21212 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21213 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21214 (mouse-avoidance-mode): Fix typos in docstrings.
21215
4525ce3e
CY
212162011-03-19 Chong Yidong <cyd@stupidchicken.com>
21217
21218 * startup.el (package-subdirectory-regexp): Move from package.el.
21219 Omit \\` and \\', and let callers add them.
21220
21221 * emacs-lisp/package.el (package-strip-version)
21222 (package-load-all-descriptors): Add \\` and \\' to
21223 package-subdirectory-regexp before using it.
21224 (package-untar-buffer): New arg DIR; ensure that file untars only
21225 into this expected directory. Remove superfluous delete-region.
21226 (package-unpack): Caller changed.
21227 (package-tar-file-info): Use package-subdirectory-regexp.
21228
a904a09a 212292011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21230
a904a09a
SM
21231 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21232 diff-mode-shared-map (bug#8284).
21233 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21234
212352011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21236
21237 * calendar/time-date.el (format-seconds): Use assoc instead of
21238 assoc-string, since assoc-string doesn't exist in XEmacs.
21239
171fc304
JB
212402011-03-17 Juanma Barranquero <lekktu@gmail.com>
21241
21242 * custom.el (custom-known-themes): Reflow docstring.
21243 (custom-theme-load-path): Fix typo in docstring.
21244 (load-theme): Fix typo in error message.
21245 (custom-available-themes, custom-variable-theme-value):
21246 Use `let', not `let*'.
21247
d71990a1
JB
212482011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21249
21250 * calc/README: Mention inclusion of musical notes.
21251
21252 * calc/calc-units.el (calc-lu-quant): Rename from
21253 `calc-logunits-quantity'.
21254 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21255 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21256 (calc-db): Rename from `calc-dblevel'.
21257 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21258 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21259 (calc-np): Rename from `calc-nplevel'.
21260 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21261 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21262 (calc-lu-plus): Rename from `calc-logunits-add'.
21263 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21264 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21265 (calc-lu-minus): Rename from `calc-logunits-sub'.
21266 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21267 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21268 (calc-lu-times): Rename from `calc-logunits-mul'.
21269 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21270 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21271 (calc-lu-divide): Rename from `calc-logunits-div'.
21272 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21273 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21274
21275 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21276 functions being autoloaded.
21277
21278 * calc/calc.el (calc-lu-power-reference): Rename from
21279 `calc-logunits-power-reference'.
21280 (calc-lu-field-reference): Rename from
21281 `calc-logunits-field-reference'.
21282
7a71b18d
GM
21283 * calc/calc-help.el (calc-l-prefix-help):
21284 Mention musical note functions.
d71990a1 21285
40c2934b
SM
212862011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21287
21288 * minibuffer.el (completion-all-sorted-completions):
21289 Use :completion-cycle-penalty text property if present.
21290
b0911414
KM
212912011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21292
21293 * allout.el (allout-yank-processing): Adjust for new rebulleting
21294 regime so bullet being yanked is used without prompting the user
21295 for a choice.
21296
8a05b668
JB
212972011-03-16 Juanma Barranquero <lekktu@gmail.com>
21298
21299 * startup.el (command-line): Warn the user that _emacs is deprecated.
21300
5ba5fb81
JB
213012011-03-16 Juanma Barranquero <lekktu@gmail.com>
21302
21303 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21304 (delphi-verbose, delphi-comment-face, delphi-string-face)
21305 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21306 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21307 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21308 (delphi-new-comment-line, delphi-font-lock-defaults)
21309 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21310 Fix typos in docstrings.
21311
2dab465b
KM
213122011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21313
5ba5fb81 21314 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21315 Invert the roles of character and string values for INSTEAD, so a
21316 string is used for the more common case of a defaulting prompt.
21317
0adf5618
SM
213182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21319
21320 * progmodes/ruby-mode.el (ruby-backward-sexp):
21321 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21322 * play/gamegrid.el (gamegrid-make-face):
21323 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21324 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21325 * notifications.el (notifications-notify):
21326 * net/xesam.el (xesam-search-engines):
21327 * net/quickurl.el (quickurl-list-insert):
21328 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21329
d72700e5
CY
213302011-03-15 Chong Yidong <cyd@stupidchicken.com>
21331
21332 * startup.el (command-line): Update package subdirectory regexp.
21333
49c5410a
SM
213342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21335
c6eee9aa
SM
21336 * allout.el (allout-abbreviate-flattened-numbering)
21337 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21338
49c5410a
SM
21339 * subr.el (read-char-choice): Only show the cursor after the prompt,
21340 not after the answer.
21341
047b2bb9
KR
213422011-03-15 Kevin Ryde <user42@zip.com.au>
21343
21344 * help-fns.el (variable-at-point): Skip leading quotes, if any
21345 (bug#8253).
21346
0a57d256
SM
213472011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21348
21349 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21350 warning message.
21351
77c992bc
MA
213522011-03-14 Michael Albinus <michael.albinus@gmx.de>
21353
21354 * shell.el (shell): When called interactively, offer to change the
21355 shell file name on remote hosts.
21356
eebc475d
TZ
213572011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21358
21359 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21360 integration for LDAP parameters. The host, base, user or binddn,
21361 and secret tokens can be specified in a netrc file, for instance.
21362 This is optional because an `auth-source' parameter must be
21363 specified in the search attributes.
21364
9d05d1ba
JB
213652011-03-13 Juanma Barranquero <lekktu@gmail.com>
21366
21367 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21368
09d9db2c
GM
213692011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21370
21371 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21372 into declaration. Remove redundant and harmful binding.
21373
213742011-03-12 Eli Zaretskii <eliz@gnu.org>
21375
21376 * files.el (file-ownership-preserved-p): Pass `integer' as an
21377 explicit 2nd argument to `file-attributes'. If the file's owner
21378 is the Administrators group on Windows, and the current user is
21379 Administrator, consider that a match.
21380
21381 * server.el (server-ensure-safe-dir): Consider server directory
21382 safe on MS-Windows if its owner is the Administrators group while
21383 the current Emacs user is Administrator. Use `=' to compare
21384 numerical UIDs, since they could be integers or floats.
21385
219bd536
JB
213862011-03-12 Juanma Barranquero <lekktu@gmail.com>
21387
21388 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21389
f3afd36b
MA
213902011-03-12 Michael Albinus <michael.albinus@gmx.de>
21391
21392 Sync with Tramp 2.2.1.
21393
21394 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21395
21396 * net/trampver.el: Update release number.
21397
3aaaa6f1
SM
213982011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21399
94642599
SM
21400 * progmodes/compile.el (compilation--previous-directory): Fix up
21401 various nil/dead-marker mismatches (bug#8014).
21402 (compilation-directory-properties, compilation-error-properties):
21403 Don't call it at a position past the one we're about to change.
21404
3aaaa6f1
SM
21405 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21406 Disable obsolescence warnings in the file that declares it.
21407
14239447
KM
214082011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21409
099c39a4
JB
21410 * allout-widgets.el (allout-widgets-tally):
21411 Initialize allout-widgets-tally as a hash table rather than nil to
21412 prevent mode-line redisplay warnings. Also, clarify the module
21413 description and fix a comment typo.
14239447 21414
135e287c
JB
214152011-03-11 Juanma Barranquero <lekktu@gmail.com>
21416
21417 * help-fns.el (describe-variable): Don't complete keywords.
21418 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21419
ffbf300e
CY
214202011-03-10 Chong Yidong <cyd@stupidchicken.com>
21421
ba08b241
CY
21422 * emacs-lisp/package.el (package-version-join): Impose a standard
21423 string representation for pre/alpha/beta version lists.
21424 (package-unpack-single): Standardize the directory name by passing
21425 it through package-version-join.
21426 (package-strip-rcs-id): Accept any version string that does not
21427 signal an error in version-to-list.
ffbf300e 21428
f346fd6b
MA
214292011-03-10 Michael Albinus <michael.albinus@gmx.de>
21430
21431 * simple.el (delete-trailing-whitespace): Return nil for the
21432 benefit of `write-file-functions'.
21433
ccb55d27
GM
214342011-03-10 Glenn Morris <rgm@gnu.org>
21435
5ceaac0c
GM
21436 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21437
02da65ff
GM
21438 * vc/vc-git.el (vc-git-program): New option.
21439 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21440 (vc-git--call): Use it.
21441
b2f603cc
GM
21442 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21443
5772caab
GM
21444 * cus-edit.el (Custom-newline): If no button at point, look
21445 for a subgroup button at start-of-line. (Bug#2298)
21446
ccb55d27
GM
21447 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21448
ec6ecaed
JD
214492011-03-10 Julien Danjou <julien@danjou.info>
21450
21451 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21452 `cursor-type' is nil.
21453
9d5aa01d
JB
214542011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21455
21456 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21457
b6a5875b
KM
214582011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21459
7a71b18d 21460 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21461 preserves the existing header prefix, rebulleting it if necessary,
21462 rather than replacing it. This is necessary for proper operation
21463 of cooperative addons like allout-widgets.
1154d12e
JB
21464 (allout-make-topic-prefix, allout-rebullet-heading):
21465 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21466 value as alternate bullet to be used, instead of prompting the user
21467 for a bullet character.
b6a5875b 21468
ee545c35
MA
214692011-03-09 Michael Albinus <michael.albinus@gmx.de>
21470
d86d2721
SM
21471 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21472 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21473 `tramp-default-port'.
21474
c47971d7
DD
214752011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21476
21477 * net/rcirc.el (rcirc-handler-001): Remove useless
21478 with-rcirc-process-buffer.
21479 (rcirc-check-auth-status): Swap arguments to string-match.
21480
13522cb4
GM
214812011-03-09 Glenn Morris <rgm@gnu.org>
21482
0be6f4f1
GM
21483 * shell.el (shell-mode):
21484 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21485
13522cb4
GM
21486 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21487 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21488
515de2e3
CY
214892011-03-08 Chong Yidong <cyd@stupidchicken.com>
21490
21491 * emacs-lisp/package.el (package-refresh-contents)
21492 (package-menu-execute): Use condition-case-no-debug.
21493
b511b994
MA
214942011-03-08 Michael Albinus <michael.albinus@gmx.de>
21495
21496 * simple.el (shell-command-to-string): Use `process-file'.
21497
21498 * emacs-lisp/package.el (package-tar-file-info): Handle also
21499 remote files.
21500
d86d2721
SM
21501 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21502 Use `equal' for upload base check.
b511b994 21503
25bbfb31
AM
215042011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21505
21506 * textmodes/texinfo.el (texinfo-environments):
21507 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21508
be996521
GM
215092011-03-08 Glenn Morris <rgm@gnu.org>
21510
e9c8529f
GM
21511 * cus-start.el (cursor-in-non-selected-windows):
21512 Fix :set quoting oddness. (Bug#8192)
21513
be996521
GM
21514 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21515 in some setf expressions. (Bug#2159)
21516
2bb5649e
CY
215172011-03-08 Chong Yidong <cyd@stupidchicken.com>
21518
21519 * custom.el (custom-available-themes): Return themes in
21520 alphabetical order.
21521
33383987 21522See ChangeLog.15 for earlier changes.
e3d51b27
MR
21523
21524;; Local Variables:
21525;; coding: utf-8
e3d51b27
MR
21526;; End:
21527
ab422c4d 21528 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
21529
21530 This file is part of GNU Emacs.
21531
21532 GNU Emacs is free software: you can redistribute it and/or modify
21533 it under the terms of the GNU General Public License as published by
21534 the Free Software Foundation, either version 3 of the License, or
21535 (at your option) any later version.
21536
21537 GNU Emacs is distributed in the hope that it will be useful,
21538 but WITHOUT ANY WARRANTY; without even the implied warranty of
21539 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21540 GNU General Public License for more details.
21541
21542 You should have received a copy of the GNU General Public License
21543 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.