* eshell/em-cmpl.el (eshell-pcomplete): More thoroughly imitate pcomplete.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4cddca30
GM
12012-12-31 Glenn Morris <rgm@gnu.org>
2
5ee1772e
GM
3 * eshell/em-cmpl.el (eshell-pcomplete):
4 More thoroughly imitate pcomplete. (Bug#13293)
5
4cddca30
GM
6 * files.el (parse-colon-path): Doc fix. (Bug#12351)
7 Return nil for empty path elements. (Bug#13296)
8
6861432e
FEG
92012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
10
11 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
12 order to improve efficiency (Based on Daniel Colascione's
13 <dancol@dancol.org> patch). (Bug#13182)
14
b83a2ddd
GM
152012-12-31 Glenn Morris <rgm@gnu.org>
16
17 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
18
df4758b8
FEG
192012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
20
21 * progmodes/python.el: Support other commands triggering
22 python-indent-line so indentation cycling continues to work.
23 (python-indent-trigger-commands): New defcustom.
24 (python-indent-line): Use it.
25
262012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
27
28 * progmodes/python.el (python-shell-send-region): Add blank lines
29 for non sent code so backtraces remain correct.
30
bdcad781
AS
312012-12-31 Andreas Schwab <schwab@linux-m68k.org>
32
33 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
34 neither DOCSTRING nor DECL was given. (Bug#13316)
35
8db39aeb
GM
362012-12-30 Glenn Morris <rgm@gnu.org>
37
38 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
39 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
40 (rmail-summary-displayed, rmail-summary): Declare.
41 (mairix-rmail-display): Just require rmail.
42
3c94d7a6
CY
432012-12-29 Chong Yidong <cyd@gnu.org>
44
45 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
46 check for the tarball contents.
47
af39894a
MF
482012-12-29 Matt Fidler <matt.fidler@alcon.com> (tiny change)
49
50 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
51 tarfile content listings (Bug#13136).
52
bb709253
ML
532012-12-29 Mark Lillibridge <mark.lillibridge@hp.com>
54
55 * mail/rmailmm.el (rmail-insert-mime-forwarded-message): Insert
56 the undecoded text of the message being forwarded. (Bug#9521)
57
3ee24a3b
MA
582012-12-28 Michael Albinus <michael.albinus@gmx.de>
59
60 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
61 integers, if they are real numbers. (Bug#13282)
62
db590ef6
DG
632012-12-26 Dmitry Gutov <dgutov@yandex.ru>
64
65 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
66 "module" and "def" to have indentation before them. Regression
67 from 109911 (see the new test).
68
ea0857a1
DG
692012-12-24 Dmitry Gutov <dgutov@yandex.ru>
70
71 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
72
3f6b93cd
AM
732012-12-23 Alan Mackenzie <acm@muc.de>
74
75 Speed up fontification where there's large brace blocks.
76 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
77 to a call of c-beginning-of-decl-1.
78
594f37aa
CY
792012-12-21 Chong Yidong <cyd@gnu.org>
80
81 * sort.el (sort-subr): Doc fix (Bug#13056).
82
acc650b8
BG
832012-12-20 Bastien Guerry <bzg@gnu.org>
84
acc650b8
BG
85 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
86
14b8c3d9
AM
872012-12-11 Alan Mackenzie <acm@muc.de>
88
89 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
90 * progmodes/cc-engine.el (c-backward-comments): Add code to work
91 around `forward-comment' not recognizing ^M as whitespace.
92
2c43a9ad
FEG
932012-12-11 Fabián Ezequiel Gallina <fgallina@cuca>
94
95 * progmodes/python.el (python-skeleton-class)
96 (python-skeleton-def): Do not add space after defun name.
97
2c066ad3
CY
982012-12-09 Chong Yidong <cyd@gnu.org>
99
100 * simple.el (set-mark-default-inactive): Mark as obsolete, for
101 removal after 24.3.
102
6ce49f24
DM
1032012-12-08 Dani Moncayo <dmoncayo@gmail.com>
104
105 * simple.el (just-one-space): Doc fix.
106
8d43bd30
EZ
1072012-12-07 Eli Zaretskii <eliz@gnu.org>
108
109 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add
110 "smallexample".
111
3a21537c
LW
1122012-12-07 Le Wang <l26wang@gmail.com>
113
114 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
115 narrowed buffer (bug#12361).
116
61025111
MH
1172012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
118
119 * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
120 Virtually backported from trunk.
121
bf741d33
JB
1222012-12-07 Juanma Barranquero <lekktu@gmail.com>
123
124 * vc/vc-hooks.el (vc-state): Doc fix.
125
07026166
GM
1262012-12-06 Glenn Morris <rgm@gnu.org>
127
128 * mail/rmail.el (rmail-maybe-display-summary):
129 Preserve buffer, in case select-window changes it. (Bug#13066)
130
82e1f390
SM
1312012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
132
133 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
134 cl-load-hook where they belong.
135
e1d51545
CY
1362012-12-06 Chong Yidong <cyd@gnu.org>
137
138 * ffap.el (ffap-replace-file-component): Fix typo.
139
ef54d315
SM
1402012-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
143 fix open-paren-like token test (bug#12785).
144
52d129cd
GM
1452012-12-04 Glenn Morris <rgm@gnu.org>
146
147 * mail/rmailsum.el (rmail-new-summary): Tweak for
148 rmail-maybe-display-summary changing buffer. (Bug#13066)
149
68bf4e09
JL
1502012-12-03 Juri Linkov <juri@jurta.org>
151
152 * info.el (Info-fontify-node): Don't hide the last newline.
153 (Bug#12272)
154
ff3d86d0
LL
1552012-12-01 Leo Liu <sdl.web@gmail.com>
156
157 * files.el (dir-locals-read-from-file): Check file non-empty
158 before reading. (Bug#13038)
159
6247eff5
GM
1602012-11-28 Glenn Morris <rgm@gnu.org>
161
162 * jka-cmpr-hook.el (jka-compr-get-compression-info):
163 Remove any version extension before checking filename. (Bug#13006)
164 (jka-compr-compression-info-list): Belated :version bump.
165
a5bf43ba
CY
1662012-11-28 Chong Yidong <cyd@gnu.org>
167
8ecba97d
CY
168 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
169
a5bf43ba
CY
170 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
171 (buffer-menu): Doc fix (Bug#12294).
172
34755291
RW
1732012-11-27 Roland Winkler <winkler@gnu.org>
174
175 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
176 of diary-show-all-entries in the diary buffer (Bug#12994).
177
c2f5b60a
MA
1782012-11-27 Michael Albinus <michael.albinus@gmx.de>
179
180 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
181 "<STDIN>". This is binary safe.
182
369f945d
SM
1832012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * textmodes/table.el (table-insert): Don't use `symbol-name' on
186 lexically scoped variables (bug#13005).
187
999e745e 1882012-11-26 Glenn Morris <rgm@gnu.org>
98f99594 189
999e745e
GM
190 * vc/vc-hooks.el (vc-mistrust-permissions):
191 Default to t, to avoid data-loss. (Bug#11490)
98f99594 192
207cb73c
FEG
1932012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
194
999e745e
GM
195 * progmodes/python.el (python-indent-guess-indent-offset):
196 If indentation is guessed make python-indent-offset buffer-local.
197
207cb73c 198 Fix Imenu regression.
999e745e
GM
199 * progmodes/python.el (python-nav-beginning-of-defun):
200 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
201 (python-imenu-prev-index-position): New function.
202
33a488e4
EZ
2032012-11-26 Eli Zaretskii <eliz@gnu.org>
204
205 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
206
207 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 208 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 209
50207191
GM
2102012-11-26 Glenn Morris <rgm@gnu.org>
211
212 * hippie-exp.el (hippie-expand-try-functions-list):
213 Re-autoload it. (Bug#12982)
214
2147c6ab
EZ
2152012-11-25 Eli Zaretskii <eliz@gnu.org>
216
369f945d
SM
217 * descr-text.el (describe-char-padded-string):
218 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 219
58b1ae1e
AS
2202012-11-24 Andreas Schwab <schwab@linux-m68k.org>
221
222 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
223 and obsoletion message.
224
35a10516
SM
2252012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
228 the constructs to keep outside of the `cl-block' (bug#12977).
229
0c5ef133
CY
2302012-11-24 Chong Yidong <cyd@gnu.org>
231
232 * mouse.el (mouse-drag-line): Even if the line is not draggable,
233 keep reading until we get the up-event anyway, in order to process
234 the up-event for mouse-1-click-follows-link (Bug#12971).
235
002c019c
SM
2362012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
239 lexical-binding (bug#12938).
240
977f9325
WJ
2412012-11-23 Wolfgang Jenkner <wjenkner@inode.at>
242
243 * image-mode.el (image-transform-check-size): Use assertions only
244 for images of type imagemagick.
245
246 Otherwise no error, image-transform-fit-to-{width,height} is
247 silently ignored, as before. Doc fix.
248
bccffa83
CY
2492012-11-23 Chong Yidong <cyd@gnu.org>
250
251 * faces.el (color-defined-p): Doc fix (Bug#12853).
252
61a2a122
JL
2532012-11-23 Juri Linkov <juri@jurta.org>
254
255 * dired.el (dired-mark): Add optional arg `interactive'.
256 Check for `use-region-p' if `interactive' is non-nil.
257 (dired-unmark, dired-flag-file-deletion): Add optional arg
258 `interactive'. Call `dired-mark' with the arg `interactive'.
259 (Bug#10624)
260
cc4c01bd
JL
2612012-11-23 Juri Linkov <juri@jurta.org>
262
263 * wdired.el: Revert 2012-10-17 change partly and replace it with
264 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
265 (wdired-finish-edit): Add marks for new file names to
266 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
267 after `revert-buffer'.
268 (wdired-do-renames): Remove calls to `dired-remove-file',
269 `dired-add-file', `dired-add-entry'. (Bug#11795)
270
b03aabda
AM
2712012-11-21 Alan Mackenzie <acm@muc.de>
272
dc310ed0
AM
273 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
274
b03aabda
AM
275 Fix bugs in the state cache. Enhance a debugging mechanism.
276 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
277 "brace at column zero" strategy for C++.
278 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
279 (c-parse-state-point): New variable.
280 (c-record-parse-state-state): Record old parse state with
281 `copy-tree'. Record previous value of point.
282 (c-debug-parse-state-double-cons): New debugging function.
283 (c-debug-parse-state): Call the above new function.
284 (c-toggle-parse-state-debug): Output a confirmatory message.
285
002c019c
SM
286 * progmodes/cc-mode.el (c-before-change, c-after-change):
287 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
288 `c-after-change'.
289
a16ac13f
DC
2902012-11-20 Daniel Colascione <dancol@dancol.org>
291
002c019c
SM
292 * term/w32-win.el (cygwin-convert-path-from-windows):
293 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
a16ac13f
DC
294 This change is a backport from trunk.
295
7cf95797
EZ
2962012-11-20 Eli Zaretskii <eliz@gnu.org>
297
298 * simple.el (line-move): Don't call line-move-partial if
299 scroll-conservatively is in effect. (Bug#12927)
300
555ccdc2
MA
3012012-11-20 Michael Albinus <michael.albinus@gmx.de>
302
303 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
304 order to distinguish from trunk.
305
bc715d67
SM
3062012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
307
63f25172
SM
308 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
309 non-symbols for compiler macros (yet).
310
93b05041
SM
311 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
312 Fallback on completion-at-point rather than
313 pcomplete-expand-and-complete, and only if pcomplete actually failed.
314 (eshell-cmpl-initialize): Setup completion-at-point.
315
316 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
317
bc715d67
SM
318 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
319
d7f2a65c
MA
3202012-11-19 Michael Albinus <michael.albinus@gmx.de>
321
322 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
323 are remote, check out-of-band property for both.
324
d1c0cddf
SM
3252012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * window.el (switch-to-buffer): Re-add the warning that was lost in the
328 code rewrite.
329
0c93aa38
PE
3302012-11-18 Paul Eggert <eggert@cs.ucla.edu>
331
535efd4a
PE
332 More minor time fixes.
333 * calendar/time-date.el: Commentary fix.
334 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
335 too much other code depends on (0 0) time stamps.
336 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
337 Add a couple of FIXME comments.
338
0c93aa38
PE
339 Minor cleanup for times as lists of four integers.
340 * files.el (dir-locals-directory-cache):
341 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
342 Doc fixes.
343 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
344 * ps-bdf.el (bdf-file-newer-than-time):
345 Process four-integers time stamps, not two. Doc fixes.
346
913c8291
GM
3472012-11-18 Glenn Morris <rgm@gnu.org>
348
349 * image.el (insert-image, insert-sliced-image): Doc fix.
350
ec6f8ce6
CY
3512012-11-17 Chong Yidong <cyd@gnu.org>
352
353 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
354 (Bug#12810).
355
c2d07557
CY
3562012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
357
358 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
359 response when the target file is in a subdirectory (Bug#12757).
360
33f8917c
CY
3612012-11-17 Chong Yidong <cyd@gnu.org>
362
363 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
364
65463c40
GM
3652012-11-17 Glenn Morris <rgm@gnu.org>
366
9a5e2ee3
GM
367 * woman.el (woman-non-underline-faces):
368 * emacs-lisp/cl-lib.el (face-underline-p):
369 Use set-face-underline rather than the alias set-face-underline-p.
370
65463c40 371 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
372 * subr.el (with-output-to-temp-buffer):
373 Add doc xref to with-temp-buffer-window.
65463c40 374
cdc5d88c
SM
3752012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
376
377 * emacs-lisp/cl-lib.el: Set more meaningful version number.
378
0ff7851c
MR
3792012-11-16 Martin Rudalics <rudalics@gmx.at>
380
381 * window.el (enlarge-window, shrink-window): Don't mention return
382 value in doc-string (Bug#12896).
383 (window--display-buffer): Don't resize frames - it won't work
384 with all window managers and defeat pop-up-frame-alist.
385 (display-buffer-alist): In doc-string explain that CONDITION can
386 be a function and which arguments are passed to it (Bug#12854).
387 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
388 expressions (Bug#12854).
389 (display-buffer): Pass ACTION argument to
390 display-buffer-assq-regexp.
391
dedd1884
GM
3922012-11-16 Glenn Morris <rgm@gnu.org>
393
7c82753d
GM
394 * window.el (fit-frame-to-buffer-bottom-margin)
395 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
396
dedd1884
GM
397 * faces.el (face-underline-p): Use face-attribute-specified-or.
398
662b0ee6
JB
3992012-11-15 Juanma Barranquero <lekktu@gmail.com>
400
401 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
402
eb31fa40
SM
4032012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
406
e2e13f18
GM
4072012-11-15 Glenn Morris <rgm@gnu.org>
408
17c083ac
GM
409 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
410 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
411
bde3c6c0
GM
412 * faces.el (face-underline-p): Doc fix. Handle :underline being
413 things other than `t' (a string, a list).
414 (face-inverse-video-p): Doc fix.
415 (set-face-underline): Rename it back from set-face-underline-p.
416 Doc fix. Allow interactive input of values other than t.
417 (read-face-attribute): Apply formatting to :underline,
418 since like :box and :stipple it can take list values.
419
e2e13f18
GM
420 * term.el (ansi-term): Don't let C-x escape-char binding
421 clobber the more standard C-c binding. (Bug#12842)
422
3a514ab0
SM
4232012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
424
425 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
426 (bug#12879).
427
e0ea8060
GM
4282012-11-14 Glenn Morris <rgm@gnu.org>
429
430 * subr.el (set-temporary-overlay-map): Doc fix.
431
92346275
MR
4322012-11-13 Martin Rudalics <rudalics@gmx.at>
433
434 * window.el (record-window-buffer)
435 (display-buffer-record-window): When copying the markers to
436 window-point preserve window-point-insertion-type. (Bug#12588)
437
7b1bf173
GM
4382012-11-13 Glenn Morris <rgm@gnu.org>
439
440 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
441 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
442 Use new names for hooks rather than obsolete aliases.
443
f8705f6e
SM
4442012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
445
446 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
447
9db94175
WJ
4482012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
449
450 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
451 39 and 49. This fixes bug#12792. Also, treat unimplemented
452 parameters as 0, thereby restoring the behavior of revisions prior
453 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
454
2e6625b5
FEG
4552012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
456
457 Fix end-of-defun misbehavior.
458 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
459 python-beginning-of-defun-function. Handle nested defuns
460 correctly.
461 (python-nav-end-of-defun): Rename from
462 python-end-of-defun-function. Ensure forward movement.
f8705f6e 463 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
464 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
465 parent defuns as soon as possible.
466
24c38527
GM
4672012-11-12 Glenn Morris <rgm@gnu.org>
468
469 * progmodes/flymake.el (flymake-error-bitmap)
470 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
471 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
472
d1e1e53d
DG
4732012-11-12 Dmitry Gutov <dgutov@yandex.ru>
474
475 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
476 backward, always stop at indentation. Reverts the change from
477 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
478
68146aa5
GM
4792012-11-11 Glenn Morris <rgm@gnu.org>
480
a1d3e07e
GM
481 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
482 Add ibuffer-filter-by-derived-mode.
483
84acf328
GM
484 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
485 the same name shadowing each other.
486
38785e75
GM
487 * window.el (with-temp-buffer-window): Doc tweak.
488
57fc0fee
GM
489 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
490
6ba6a3e5
GM
491 * help.el (temp-buffer-max-height):
492 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
493 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
494
e4e46889
LL
4952012-11-10 Leo Liu <sdl.web@gmail.com>
496
497 * ido.el (ido-set-matches-1): Fix split-string args to avoid
498 performance issue. (Bug#12796)
499
19e09879
GM
5002012-11-10 Glenn Morris <rgm@gnu.org>
501
bf67dafa
GM
502 * term.el (term-default-fg-color, term-default-bg-color):
503 Make obsolete, rather than just saying "deprecated" in the doc.
504
19e09879
GM
505 * term.el (term): Rename from `term-face'.
506 (term-current-face, ansi-term-color-vector)
507 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
508 Update all users.
509
d743088d
JD
5102012-11-09 Jan Djärv <jan.h.d@swipnet.se>
511
f8705f6e 512 * server.el (server-create-window-system-frame): Improve comment.
d743088d 513
531bdce6
JD
5142012-11-08 Jan Djärv <jan.h.d@swipnet.se>
515
516 * server.el (server-create-window-system-frame): Handle Nextstep
517 specially (Bug#12780).
518
fedb154e
GM
5192012-11-08 Glenn Morris <rgm@gnu.org>
520
521 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
522 Unautoload, and make obsolete. (Bug#7449)
523
9d9e48d9
CY
5242012-11-08 Chong Yidong <cyd@gnu.org>
525
526 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
527 rename from diff-remove-trailing-whitespace (Bug#12831).
528
32170f7f
SM
5292012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
530
531 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
532 miscompilation of trace.el.
533
26f59676
GM
5342012-11-08 Glenn Morris <rgm@gnu.org>
535
536 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
537
41626722
SM
5382012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
541 (bug#12812).
542
7d806bfe
CY
5432012-11-07 Chong Yidong <cyd@gnu.org>
544
545 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
546 a defcustom with an appropriate :set function.
547 (minibuffer-default--in-prompt-regexps): New function.
548
2ee1d59f
GM
5492012-11-07 Glenn Morris <rgm@gnu.org>
550
031b2ea7
GM
551 * emacs-lisp/cl.el (define-setf-expander, defsetf)
552 (define-modify-macro): Doc fixes.
553
2ee1d59f
GM
554 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
555 (gv-define-simple-setter): Update doc of `fix-return'.
556
d57c286e
SM
5572012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
558
b715ed44
SM
559 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
560 twice when `fix-return' is set (bug#12813).
561
d57c286e
SM
562 * emacs-lisp/cl.el (defsetf): Pass the third arg to
563 gv-define-simple-setter (bug#12812).
564
c9cac599
SM
5652012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
566
567 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
568 (bug#12756).
569
6b3770fb
GM
5702012-11-06 Glenn Morris <rgm@gnu.org>
571
572 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
573
5593ed90
GM
5742012-11-05 Glenn Morris <rgm@gnu.org>
575
576 * emacs-lisp/cl-extra.el (cl-prettyexpand):
577 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
578 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
579 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
580
581 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
582
5c677d44
GM
5832012-11-03 Glenn Morris <rgm@gnu.org>
584
49138400
GM
585 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
586 Rename handler properties back from cl-- to cl-. (Bug#12788)
587
5c677d44
GM
588 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
589
1d4341f9
EZ
5902012-11-03 Eli Zaretskii <eliz@gnu.org>
591
592 * term/pc-win.el: Don't load term/internal from here.
593
594 * loadup.el: Load term/internal from here.
595
12fd5ee1
FEG
5962012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
597
598 * progmodes/python.el (inferior-python-mode): Fix hang in
599 jit-lock (Bug#12645).
600
43bcfda6
MR
6012012-11-03 Martin Rudalics <rudalics@gmx.at>
602
603 * window.el (switch-to-visible-buffer)
604 (switch-to-buffer-preserve-window-point): Fix doc-strings.
605
b4b096e4
SB
6062012-11-01 Stephen Berman <stephen.berman@gmx.net>
607
608 * play/gomoku.el (gomoku-display-statistics): Update mode line
609 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
610
218e997a
MR
6112012-10-31 Martin Rudalics <rudalics@gmx.at>
612
613 * window.el (quit-restore-window): If the window has been
614 created on an existing frame and ended up as the sole window on
615 that frame, do not delete it (Bug#12764).
616
b08b6da7
SM
6172012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
618
3618df45
SM
619 * progmodes/sh-script.el (sh--inside-noncommand-expression):
620 Rename from sh--inside-arithmetic-expression, handle more cases
621 (bug#11263).
622
b08b6da7
SM
623 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
624 (sh-font-lock-open-heredoc): Use it (bug#12770).
625
4ddedf94
GM
6262012-10-30 Glenn Morris <rgm@gnu.org>
627
f43a5263
GM
628 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
629
4ddedf94
GM
630 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
631
748b0d84
CY
6322012-10-29 Chong Yidong <cyd@gnu.org>
633
b5dd9a77
CY
634 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
635 function key is stored in a keyboard macro (Bug#4894).
636
748b0d84
CY
637 * thingatpt.el (number-at-point): Apply a thing-at-point property.
638
e07fcbdc
SM
6392012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
640
d7f9cc85
SM
641 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
642 header comments".
643 (diff-unified->context, diff-context->unified)
644 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
645
c606253c
SM
646 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
647
e07fcbdc
SM
648 * files.el (find-alternate-file): Only ask one question (bug#12487).
649
894b9dd9
CY
6502012-10-29 Chong Yidong <cyd@gnu.org>
651
1dc2755a
CY
652 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
653 Suggested by Dan Nicolaescu (Bug#6326).
654
329c48d8
CY
655 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
656
2230fa5b 657 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 658
e84cad57
CY
659 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
660
1913c5f5
CY
661 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
662
894b9dd9
CY
663 * face-remap.el (face-remap-add-relative): Handle the case where a
664 face-remapping-alist entry is a cons cell (Bug#12762).
665
329c48d8
CY
6662012-10-29 Kevin Ryde <user42@zip.com.au>
667
668 * woman.el (woman-parse-numeric-value): Handle picas correctly
669 (Bug#12639).
670
a0ccbcbd
GM
6712012-10-29 Glenn Morris <rgm@gnu.org>
672
673 * emacs-lisp/cl.el (defsetf): Doc fix.
674
b3871e59
SM
6752012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
678 syntax to the matching opener, if any (bug#12547).
679 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
680 matching open as a "case-(".
681 (sh-smie-rc-grammar): Add a corresponding rule for it.
682
cd44022c
DH
6832012-10-28 Daniel Hackney <dan@haxney.org>
684
685 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
686 "PKGNAME-autoloads.el" in case we created it.
687
70edffb1
SM
6882012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
689
86957a0c
SM
690 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
691 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 692 (completion--twq-all): Disable too-strict assertions.
86957a0c 693
70edffb1
SM
694 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
695
d069271c
EZ
6962012-10-27 Eli Zaretskii <eliz@gnu.org>
697
698 * profiler.el (profiler-report-make-entry-part): Fix help-echo
699 text to match the real keybindings.
700
e2f022a3
JL
7012012-10-27 Juri Linkov <juri@jurta.org>
702
703 * wdired.el (wdired-keep-marker-rename): New defcustom.
704 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
705 (Bug#11795)
706
707 * dired.el (dired-keep-marker-rename): Add reference to
708 `wdired-keep-marker-rename' in the docstring.
709 Add default character value ?R to display initially in
710 Customization UI instead of ?@.
711
df171c23
MR
7122012-10-27 Martin Rudalics <rudalics@gmx.at>
713
714 * window.el (display-buffer): In doc-string describe
715 window-height and window-width alist entries.
716
717 * time.el (display-time-world): Restore fit-window-to-buffer
718 behavior.
719
05b621a6
CY
7202012-10-27 Chong Yidong <cyd@gnu.org>
721
722 * subr.el (insert-buffer-substring-as-yank): Doc fix.
723
55f197b2
J
7242012-10-26 Jambunathan K <kjambunathan@gmail.com>
725
726 * minibuffer.el (completion-category-overrides): New completion
727 category `bookmark' (bug#11131).
728
372212df
SM
7292012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
730
150f809c
SM
731 * emacs-lisp/advice.el (ad-assemble-advised-definition):
732 Silence bogus compiler warnings for ad-do-it.
733
372212df
SM
734 * bookmark.el (bookmark-completing-read): Set the completion category
735 to `bookmark' (bug#11131).
736
c5772569
B
7372012-10-26 Bastien <bzg@altern.org>
738 Stefan Monnier <monnier@iro.umontreal.ca>
739
740 * face-remap.el: Use lexical-binding.
741 (text-scale-adjust): Improve docstring. Use itself for the temporary
742 overlay-map bindings, so as to repeat the "Use..." message each time.
743
a2be0357
SM
7442012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
745
63314e57
SM
746 * emacs-lisp/macroexp.el (macroexp--expand-all):
747 Obey byte-compile-warning-enabled-p (bug#12486).
748
a2be0357
SM
749 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
750 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
751
8c7727c3
MR
7522012-10-26 Martin Rudalics <rudalics@gmx.at>
753
754 * mouse.el (mouse-drag-line): Move last form into preceding when
755 clause (Bug#12731).
756
757 * help.el (resize-temp-buffer-window): Fix doc-string.
758
3f2a848d
DE
7592012-10-25 David Engster <deng@randomsample.de>
760
761 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 762 Remove. This feature is already integrated in imenu.
3f2a848d
DE
763
764 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
765 always loaded. Require `speedbar' unconditionally.
766
a7723be6
SM
7672012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
768
aaabfc8b
SM
769 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
770
414a8595
SM
771 * minibuffer.el (minibuffer-force-complete): Fix thinko.
772
fb5b9475
SM
773 * net/ldap.el (ldap-search-internal): The official ldif format starts
774 with a "version: 1" header (bug#12724).
775
a7723be6
SM
776 * emacs-lisp/package.el (package-installed-p): Warn if not ready
777 (bug#12721).
778
a05cb6e3
GM
7792012-10-25 Glenn Morris <rgm@gnu.org>
780
781 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
782
3c92de70
SM
7832012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * minibuffer.el (minibuffer-force-complete): Use one more marker
786 for the temporary-overlay-map command (bug#12619).
787
a4b6d7c6
CY
7882012-10-24 Chong Yidong <cyd@gnu.org>
789
790 * time.el (display-time-world-mode): Derive from special-mode.
791 (display-time-world): Use display-buffer (Bug#12708).
792 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
793 (display-time-world-display): Wrap the final delete-char inside
794 inhibit-read-only.
a4b6d7c6 795
75e8f9d2
CY
7962012-10-24 Chong Yidong <cyd@gnu.org>
797
cd996018
CY
798 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
799 Doc fix.
800
75e8f9d2
CY
801 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
802
d92df117
SM
8032012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * minibuffer.el (completion--all-sorted-completions-location): New var.
806 (completion--cache-all-sorted-completions)
807 (completion--flush-all-sorted-completions): Use it.
808 (completion-in-region, completion-in-region--postch)
809 (completion-at-point, completion-help-at-point): Use markers in
810 completion-in-region--data (bug#12619).
811
9c3e39f3
SM
8122012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
813
c79825bd
SM
814 * progmodes/compile.el (compilation-start): Try to handle common
815 quoting of `cd' argument (bug#12640).
816
9c3e39f3
SM
817 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
818 (bug#12671).
819
a6709bc7
GM
8202012-10-23 Glenn Morris <rgm@gnu.org>
821
822 * progmodes/gud.el (gud-menu-map):
823 Check gdb-active-process is bound. (Bug#12358)
824
d1069532
SM
8252012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
826
d20d69c0
SM
827 * repeat.el (repeat): Set real-this-command (bug#12232).
828
d1069532
SM
829 * htmlfontify.el (hfy-post-html-hook):
830 * filesets.el (filesets-cache-fill-content-hook):
831 * arc-mode.el (archive-extract-hook):
832 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
833 * net/rcirc.el (rcirc-sentinel-functions)
834 (rcirc-receive-message-functions, rcirc-activity-functions)
835 (rcirc-print-functions):
836 * net/dbus.el (dbus-event-error-functions):
837 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
838 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
839 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
840 * term/sun.el (sun-raw-prefix-hooks):
841 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
842
f7eac6d8
MA
8432012-10-23 Michael Albinus <michael.albinus@gmx.de>
844
d1069532
SM
845 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
846 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
847 (tramp-smb-wait-for-output): Add timeout to
848 `tramp-accept-process-output' calls.
849
608d9d7c
CY
8502012-10-23 Chong Yidong <cyd@gnu.org>
851
49238e7f
CY
852 * faces.el (font-list-limit): Define as an obsolete variable.
853
854 * startup.el (command-line):
855 * cus-start.el: Don't refer to font-list-limit.
856
608d9d7c
CY
857 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
858
4ff5b1b2
SM
8592012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * subr.el (internal-temp-output-buffer-show): Rename from
862 temp-output-buffer-show, since previously compiled files expect this name.
863
ea1d4aac
GM
8642012-10-23 Glenn Morris <rgm@gnu.org>
865
866 * image.el (image-type-from-file-name): If multiple types match,
867 return the first one that is supported. (Bug#9045)
868
eda82a31
GM
8692012-10-22 Glenn Morris <rgm@gnu.org>
870
871 * image.el (imagemagick-enabled-types): Doc fix.
872
4f020bec
TA
8732012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
874
875 * progmodes/which-func.el (which-func-current): The hash-table may have
876 an explicit nil (bug#12338).
877
c77d37e2
SM
8782012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
879
880 * electric.el (electric-pair-delete-selection-self-insert-function):
881 Rename to electric-pair-will-use-region, return a boolean.
882 (electric-pair-mode): Adjust accordingly. Don't require delsel.
883
884 * delsel.el (delete-selection-helper): Use a function instead of a hook.
885 (delete-selection-pre-hook): Use use-region-p.
886 (delete-selection-self-insert-function): Remove.
887 (self-insert-command): Obey self-insert-uses-region-functions.
888 (self-insert-iso): Revert to previous setting, since we don't actually
889 know what that command does.
890 (delete-selection-self-insert-hooks): Remove.
891
b1d39ccc
SL
8922012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
893
894 * delsel.el (delete-selection-helper): New function, extracted from
895 delete-selection-pre-hook.
896 (delete-selection-pre-hook): Use it.
897 (delete-selection-self-insert-function): New function.
898 (delete-selection-self-insert-hooks): New hook.
899 (self-insert-command, self-insert-iso): Use it.
900 * electric.el (electric-pair-syntax): New function, extracted from
901 electric-pair-post-self-insert-function.
902 (electric-pair-post-self-insert-function): Use it.
903 (electric-pair-delete-selection-self-insert-function): New function.
904 (electric-pair-mode): Require delsel and setup
905 delete-selection-self-insert-hooks (bug#11520).
906
045ef729
CY
9072012-10-20 Chong Yidong <cyd@gnu.org>
908
4c5d08a8
CY
909 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
910 no changes to show (Bug#12586).
911
045ef729
CY
912 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
913 list explicitly (Bug#12571).
914
3503c798 9152012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 916
b1d39ccc
SL
917 * progmodes/flymake.el (flymake-create-temp-inplace):
918 Use file-truename.
79e1997a 919
2068905b
EZ
9202012-10-20 Eli Zaretskii <eliz@gnu.org>
921
922 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
923
4c9e9550
JB
9242012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
925
926 * calc/calc-units.el (math-extract-units): Properly extract powers
927 of units.
928
1a6e7e38
DC
9292012-10-20 Daniel Colascione <dancol@dancol.org>
930
931 * frame.el (make-frame): Set x-display-name as we used to in order
932 to unbreak creating an X11 frame from an Emacs daemon started
933 without a display.
934
8e808318
SM
9352012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
936
937 * minibuffer.el (minibuffer-force-complete): Make the next completion use
938 the same completion-field (bug@12221).
939
fb0104da
MR
9402012-10-19 Martin Rudalics <rudalics@gmx.at>
941
942 * emacs-lisp/debug.el (debug): Record height of debugger window
943 also when debugger will be back (Bug#8789).
944
8c27235e
CY
9452012-10-18 Chong Yidong <cyd@gnu.org>
946
947 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
948 Convert to defcustom.
949 (gdb-get-source-file): Don't bind pop-up-windows.
950
951 * progmodes/gud.el (gud-display-line): Don't specially re-use
952 other frames for the gdb-mi case (Bug#12648).
953
90eacf99
SM
9542012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
955
aaf0c300
SM
956 * emacs-lisp/advice.el: Clean up commentary a bit.
957 (ad-do-advised-functions, ad-with-originals): Use `declare'.
958 (byte-code-function-p): Never redefine.
959
90eacf99
SM
960 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
961
281c9d2b
GM
9622012-10-18 Glenn Morris <rgm@gnu.org>
963
40714e3d
GM
964 * dired.el (dired-sort-toggle): Some ls implementations only allow
965 a single option string. (Bug#12666)
966
281c9d2b
GM
967 * minibuffer.el (completion-cycle-threshold): Doc fix.
968
b278604e
KH
9692012-10-17 Kenichi Handa <handa@gnu.org>
970
90eacf99
SM
971 * international/mule.el (set-keyboard-coding-system):
972 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
973 Supply TERMINAL arg to set-input-meta-mode.
974
df171c23 9752012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
976
977 * wdired.el (wdired-old-marks): New variable.
978 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
979 (wdired-do-renames): Move point with renamed file and don't lose
980 mark status (Bug#11795).
981
e5a94ec4
JL
9822012-10-16 Juri Linkov <juri@jurta.org>
983
984 * replace.el (query-replace-help): Mention multi-buffer replacement
985 keys in the Help message. (Bug#12655)
986
d18a0d24
CY
9872012-10-15 Chong Yidong <cyd@gnu.org>
988
989 * emacs-lisp/byte-run.el (defsubst): Doc fix.
990
8111f5e6
EZ
9912012-10-14 Eli Zaretskii <eliz@gnu.org>
992
7b9abf24
EZ
993 * window.el (display-buffer): Doc fix.
994
8111f5e6
EZ
995 * progmodes/compile.el (compilation-error-regexp-alist-alist):
996 Adjust the msft regexp to the output of Studio 2010, and move msft
997 before edg-1. See the discussion on emacs-devel,
998 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
999 for the details.
1000
5046ef67
SM
10012012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1002
9760c73c
SM
1003 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1004 (oset): Move uses of object-class-fast macro after its definition.
1005
5046ef67
SM
1006 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1007
0d11ff1c
CY
10082012-10-13 Chong Yidong <cyd@gnu.org>
1009
1010 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1011 enabled, re-enable it (Bug#11963).
1012
88ded8ac
MR
10132012-10-13 Martin Rudalics <rudalics@gmx.at>
1014
1015 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1016 non-nil, restore window configuration (Bug#12623).
1017
bd0ffffd
SM
10182012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1019
06485aa8
SM
1020 * help-fns.el (describe-variable, describe-function-1):
1021 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1022
bd0ffffd
SM
1023 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1024
3a989246
GM
10252012-10-12 Glenn Morris <rgm@gnu.org>
1026
1027 * mail/rmailsum.el (rmail-header-summary):
1028 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1029
55cd00c8
FEG
10302012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1031
bd0ffffd
SM
1032 * progmodes/python.el (python-mode-map):
1033 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1034 (python-nav--up-list): Fix behavior for blocks on the same level.
1035
ac9fc2c7
SM
10362012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1037
d8cc4c00 1038 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1039
5253a5fd
SM
1040 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1041 changes to the format of load-history.
1042
ac9fc2c7
SM
1043 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1044 completion-ignore-case in case that var is buffer-local (bug#12615).
1045
cde44a77
KH
10462012-10-11 Kenichi Handa <handa@gnu.org>
1047
1048 * international/eucjp-ms.el: Re-generated.
1049
4ef4a10d
KH
10502012-10-10 Kenichi Handa <handa@gnu.org>
1051
1052 * select.el (xselect--encode-string): If a coding is specified for
1053 selection, and that is compatible with COMPOUND_TEXT, use it.
1054
9d7f027b
MR
10552012-10-10 Martin Rudalics <rudalics@gmx.at>
1056
1057 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1058 (switch-to-buffer):
1059 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1060
238f3a58
SM
10612012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1062
1063 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1064 Don't document nil as a useful value (bug#12583).
1065
1d51f99c
MA
10662012-10-09 Michael Albinus <michael.albinus@gmx.de>
1067
238f3a58
SM
1068 * net/tramp.el (tramp-debug-message):
1069 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1070 (with-tramp-progress-reporter): Rename from
1071 `tramp-with-progress-reporter'.
238f3a58
SM
1072 (with-tramp-file-property, with-tramp-connection-property):
1073 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1074 `with-connection-property', respectively.
1075
1076 * net/tramp-cache.el: Remove `with-file-property' and
1077 `with-connection-property'.
1078
1079 * net/tramp.el:
1080 * net/tramp-gvfs.el:
1081 * net/tramp-sh.el:
1082 * net/tramp-smb.el: Adapt callees.
1083
1084 * net/trampver.el: Update release number.
1085
26b77251
GM
10862012-10-09 Glenn Morris <rgm@gnu.org>
1087
9a5f296f
GM
1088 * w32-fns.el (set-message-beep):
1089 * term/w32-win.el (set-message-beep): Update declarations.
1090
94c66ce5
SM
10912012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1092
10766e9e
SM
1093 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1094 (mode-line-widen, mode-line-input-method-map)
1095 (mode-line-coding-system-map, mode-line-remote)
1096 (mode-line-unbury-buffer, mode-line-bury-buffer)
1097 (mode-line-next-buffer, mode-line-previous-buffer):
1098 Replace save-selected-window+select-window => with-selected-window.
1099
f754db08
SM
1100 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1101 * progmodes/cc-vars.el (bq-process): Remove, unused.
1102
94c66ce5
SM
1103 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1104
a4ff7fe1
FEG
11052012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1106
1107 Implemented `backward-up-list'-like navigation.
1108 * progmodes/python.el (python-nav-up-list)
1109 (python-nav-backward-up-list): New functions.
1110 (python-mode-map): Define substitute key for backward-up-list to
1111 python-nav-backward-up-list.
1112
24517d82
FEG
11132012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1114
1115 * progmodes/python.el (python-fill-paragraph): Rename from
1116 python-fill-paragraph-function. Fixed fill-paragraph for
1117 decorators (Bug#12605).
1118
51867ae2
FEG
11192012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1120
1121 * progmodes/python.el (python-shell-output-filter): Handle extra
1122 carriage return in OSX (Bug#12409).
1123
a5b773c4
FEG
11242012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1125
1126 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1127 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1128 (python-syntax-propertize-function): Use it.
1129 (python-shell-output-syntax-table): New var.
1130 (inferior-python-mode): Prevent unbalanced parens/quotes from
1131 previous output mess with current input context.
1132
13373538
JB
11332012-10-08 Juanma Barranquero <lekktu@gmail.com>
1134
1135 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1136 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1137
775a132d
MA
11382012-10-08 Michael Albinus <michael.albinus@gmx.de>
1139
1140 * ffap.el (ffap-replace-file-component): Support Tramp file name
1141 syntax, not only ange-ftp's one.
1142
3ab44929
GM
11432012-10-08 Glenn Morris <rgm@gnu.org>
1144
57f1dee4
GM
1145 * cus-start.el (message-log-max): Set :version.
1146
3ab44929
GM
1147 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1148
6a088630
MR
11492012-10-08 Martin Rudalics <rudalics@gmx.at>
1150
1151 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1152 the minibuffer window (Bug#10851).
1153
8dbce54c
FEG
11542012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1155
1156 Enhancements on forward-sexp movement.
1157 * progmodes/python.el (python-nav-beginning-of-statement)
1158 (python-nav-end-of-statement): Return point-marker.
1159 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1160 (python-info-current-symbol)
1161 (python-info-statement-starts-block-p): Rename from
1162 python-info-beginning-of-block-p.
1163 (python-info-statement-ends-block-p): Rename from
1164 python-info-end-of-block-p.
1165 (python-info-beginning-of-statement-p)
1166 (python-info-end-of-statement-p)
1167 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1168 New functions.
1169
5acd2b3e
SM
11702012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1173 frame-selected-windows.
1174
e08348a0
DC
11752012-10-08 Daniel Colascione <dancol@dancol.org>
1176
1177 * battery.el (battery-status-function): Check for
1178 w32-battery-status itself, not system-time windows-nt.
1179
1180 * frame.el: Require cl-lib.
1181 (display-format-alist): New variable mapping frame types to
1182 functions that initialize them.
1183 (window-system-for-display): New function: interprets
1184 display-format-alist.
1185 (make-frame-on-display): Remove existing display-selection logic
1186 and just forward to make-frame, which will now DTRT.
1187 (make-frame): Restructure to use window-system-for-display to
1188 figure out how to create a frame on a given display.
1189 (display-mouse-p): Look for frame-type w32, not a particular
1190 system-type.
1191
1192 * loadup.el: Load w32 lisp code when we have the w32 feature.
1193
1194 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1195 system-type windows-nt.
1196
1197 * server.el (server-create-window-system-frame): Look for window
1198 type.
1199 (server-proces-filter): Only force a window system when windows-nt
1200 _and_ w32. Explain why.
1201
1202 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1203 of window systems we configure for the mode.
1204
1205 * startup.el (command-line): Mark window system is initialized
1206 after we've done it.
1207
1208 * common-win.el (x-select-text): Look for w32, not windows-nt.
1209
1210 * ns-win.el: Require cl-lib. Add ourselves to
1211 display-format-alist.
1212 (ns-initialize-window-system): Assert we're not initialized twice.
1213
1214 * w32-win.el: Enable lexical binding; require cl-lib; add
1215 ourselves to display-format-alist.
1216 (w32-handle-dropped-file): Convert incoming dropped files from
1217 Windows paths to Cygwin ones before passing them on to the rest of
1218 Emacs.
1219 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1220 (w32-initialize-window-system): Assert we're not initialized twice.
1221
1222 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1223 (x-initialize-window-system): Assert we're not initialized twice.
1224
1225 * w32-common-fns.el: New File.
1226 (w32-version, w32-using-nt, w32-get-clipboard-data)
1227 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1228 (w32-charset-info-alist, x-last-selected, text)
1229 (x-get-selection-value, x-selection-value): Move here.
1230
1231 * w32-fns.el: Require w32-common-fns.
1232 (w32-version, w32-using-nt, w32-get-clipboard-data)
1233 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1234 (w32-charset-info-alist, x-last-selected, text)
1235 (x-get-selection-value, x-selection-value): Move to
1236 w32-common-fns.
1237
1238 * w32-vars.el:
1239 (w32-allow-system-shell, w32-system-shells): Define only in
1240 non-cygwin case.
1241
795b1482
SM
12422012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1245 (read-passwd): Remove a few more potential sources of leaks.
1246
f27c99dc
FEG
12472012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1248
1249 * progmodes/python.el (inferior-python-mode)
795b1482 1250 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1251 variables copied from parent buffer.
1252
fcacb558
JD
12532012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1254
1255 * term/ns-win.el (ns-read-file-name): Update declaration to match
1256 nsfns.m.
1257 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1258 it is set when font is acted upon.
1259
be0d5bae
FEG
12602012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1261
1262 Enhancements to indentation.
1263 * progmodes/python.el (python-indent-context): Give priority to
1264 inside-string context. Make comments indentation markers.
1265 (python-indent-region): Do not mess with strings, unless it's the
1266 enclosing set of quotes.
1267
13af0d10
SM
12682012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1269
662a9d0e
SM
1270 * window.el (internal--before-save-selected-window)
1271 (internal--after-save-selected-window): New functions extracted from
1272 save-selected-window. Make sure we return the `alist' we construct.
1273 (save-selected-window): Use them.
1274
1275 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1276 Use with-selected-window.
1277
13af0d10
SM
1278 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1279 forms that define macros (bug#12593).
1280
6aa75fb6
KH
12812012-10-07 Kenichi Handa <handa@gnu.org>
1282
13af0d10
SM
1283 * international/mule-conf.el (compound-text-with-extensions):
1284 Add :mime-charset property as x-ctext.
6aa75fb6 1285
78d876b9
SM
12862012-10-07 Stefan Merten <smerten@oekonux.de>
1287
1288 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1289 (rst-indent-literal-normal, rst-indent-literal-minimized)
1290 (rst-indent-comment): Correct :version tag.
557337e9 1291 (rst-official-cvs-rev): Correct version string.
78d876b9 1292
99a1e701
GM
12932012-10-07 Glenn Morris <rgm@gnu.org>
1294
1295 * mail/rmailmm.el (rmail-mime-process-multipart):
1296 Do not confuse a multipart message with an epilogue
1297 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1298
08f18c3d
FEG
12992012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1300
1301 Fix shell output retrieval and comint-prompt-regexp init.
1302 * progmodes/python.el (inferior-python-mode):
1303 (python-shell-make-comint): Fix initialization of
1304 comint-prompt-regexp from copied file local variables.
1305 (python-shell-fetched-lines): Remove var.
1306 (python-shell-output-filter-in-progress): Rename from
1307 python-shell-fetch-lines-in-progress.
1308 (python-shell-output-filter-buffer): Rename from
1309 python-shell-fetch-lines-string.
1310 (python-shell-fetch-lines-filter): Delete function.
1311 (python-shell-output-filter): New function.
1312 (python-shell-send-string-no-output): Use them.
1313
82ed3ab4
GM
13142012-10-07 Glenn Morris <rgm@gnu.org>
1315
1595ecfa
GM
1316 * hi-lock.el (hi-lock-process-phrase):
1317 Try to make it less fragile. (Bug#7161)
1318
82ed3ab4
GM
1319 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1320
f1f4dba0
GM
13212012-10-06 Glenn Morris <rgm@gnu.org>
1322
addc11ed 1323 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1324 non-existent mode `help'.
1325 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1326
460042b8
GM
1327 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1328 (reftex-create-bibtex-footer): Fix custom types.
1329
67667c70
GM
1330 * progmodes/sh-script.el (sh-indent-after-continuation):
1331 Add explicit :group.
1332
18dec750
GM
1333 * textmodes/rst.el (rst-preferred-decorations)
1334 (rst-shift-basic-offset): Clarify obsolescence versions.
1335
d1a1c7e6
GM
1336 * profiler.el (profiler): Add missing group :version tag.
1337 * avoid.el (mouse-avoidance-banish-position):
1338 * proced.el (proced-renice-command):
1339 * calc/calc.el (calc-ensure-consistent-units):
1340 * calendar/icalendar.el (icalendar-import-format-uid):
1341 * net/tramp.el (tramp-save-ad-hoc-proxies):
1342 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1343 * progmodes/flymake.el (flymake-error-bitmap)
1344 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1345 * progmodes/sh-script.el (sh-indent-after-continuation):
1346 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1347 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1348 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1349 (vhdl-array-index-record-field-in-sensitivity-list)
1350 (vhdl-indent-comment-like-next-code-line):
1351 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1352 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1353 (reftex-cite-key-separator, reftex-create-bibtex-header)
1354 (reftex-create-bibtex-footer):
1355 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1356 (rst-indent-literal-normal, rst-indent-literal-minimized)
1357 (rst-indent-comment): Add missing custom :version tags.
1358
ef35abb4
GM
1359 * calendar/timeclock.el (timeclock-modeline-display):
1360 Add missing obsolete alias for renamed user option.
1361
d1aae614
GM
1362 * strokes.el (strokes-modeline-string):
1363 * emulation/crisp.el (crisp-mode-modeline-string):
1364 * eshell/esh-mode.el (eshell-status-in-modeline):
1365 Aliases to defcustoms must come before the defcustom.
1366
f1f4dba0
GM
1367 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1368 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1369 (cal-tex-cursor-week-monday): Doc fixes.
1370 (cal-tex-cursor-week2-summary): Doc fix.
1371 Rename from cal-tex-cursor-week-at-a-glance.
1372
1373 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1374 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1375
1376 * calendar/calendar.el (calendar-mode-map):
1377 Add cal-tex-cursor-week2-summary.
1378
d39109c3
SM
13792012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1380
685f87b0
SM
1381 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1382
d39109c3
SM
1383 * subr.el (read-passwd-map): New var.
1384 (read-passwd): Use `read-string' again.
1385 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1386
5694896d
J
13872012-10-06 Jambunathan K <kjambunathan@gmail.com>
1388
1389 * register.el (append-to-register, prepend-to-register):
1390 Deactivate mark, as does `copy-to-register' (bug#12389).
1391
9414dd8d
CY
13922012-10-06 Chong Yidong <cyd@gnu.org>
1393
1394 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1395
2b89bca4
KH
13962012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1397
1398 * international/characters.el: Fix simple mistake ((car chars) ->
1399 elt), delete duplicated code.
1400
d5acb99a
GM
14012012-10-06 Glenn Morris <rgm@gnu.org>
1402
1403 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1404
123ec157
JS
14052012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1406
1407 * color.el (color-hsl-to-rgb): Fix incorrect results for
1408 small and large hue values. (Bug#12559)
1409
7fa36ccb
FEG
14102012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1411
1412 Enhancements to docstring formatting when filling paragraphs.
1413 * progmodes/python.el (python-fill-docstring-style): Rename from
1414 python-fill-string-style. Added new style.
1415 (python-fill-string): Use new style. Better checks for
1416 docstrings.
1417
d8788e1e
GM
14182012-10-05 Glenn Morris <rgm@gnu.org>
1419
204f3953
GM
1420 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1421
d8788e1e
GM
1422 * color.el (color-name-to-rgb, color-rgb-to-hex)
1423 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1424 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1425 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1426 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1427
8d956cef
GM
1428 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1429
e8757f09 14302012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1431
1432 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1433 to get the correct size across symlinks.
1434
e8757f09
GM
1435 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1436
0e2ae83d
JL
14372012-10-04 Juri Linkov <juri@jurta.org>
1438
1439 * replace.el (query-replace-interactive): Declare obsolete.
1440 (query-replace-read-from): Add the last incremental search string
1441 to the list of default values accessible via M-n.
1442 (map-query-replace-regexp): Use `read-regexp'.
1443 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1444 (map-query-replace-regexp, replace-string, replace-regexp):
1445 Fix docstrings to replace mentions of `query-replace-interactive'
1446 with alternatives. (Bug#12526)
1447
93cacb6d
JL
14482012-10-04 Juri Linkov <juri@jurta.org>
1449
1450 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1451 (dired-pop-to-buffer): Declare obsolete.
1452 (dired-mark-pop-up): Doc fix.
1453
fc345011
FEG
14542012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1455
1456 Allow user to set docstring style for fill-paragraph.
1457 * progmodes/python.el
1458 (python-fill-comment-function, python-fill-string-function)
1459 (python-fill-decorator-function, python-fill-paren-function):
1460 Remove :safe for defcustoms.
1461 (python-fill-string-style): New defcustom
5694896d 1462 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1463 (python-fill-string): Honor python-fill-string-style settings.
1464
6bab5d8b
MR
14652012-10-04 Martin Rudalics <rudalics@gmx.at>
1466
1467 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1468 after setting its buffer (Bug#10805).
1469
a1a9f411
FEG
14702012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1471
1472 Fix cornercase for string syntax.
1473 * progmodes/python.el (python-syntax-propertize-function):
1474 Simplify and enhance the regexp for unescaped quotes. Now it also
1475 matches quotes in weird situations like the single quote in
1476 "something\"'".
1477 (python-syntax-stringify): Simplify num-quotes detecting code.
1478
05e153a6
GM
14792012-10-03 Glenn Morris <rgm@gnu.org>
1480
1481 * help-macro.el (three-step-help):
1482 Revert 2012-09-29 change. (Bug#12567)
1483
2e566ecb
MR
14842012-10-03 Martin Rudalics <rudalics@gmx.at>
1485
96ef9ccd
MR
1486 * menu-bar.el (kill-this-buffer): Don't do anything when
1487 `menu-frame' is not alive or visible (Bug#8184).
1488
2e566ecb
MR
1489 * emacs-lisp/debug.el (debug): When quitting the debugger window
1490 restore current buffer (Bug#12502).
1491
a96e1cb7
CY
14922012-10-02 Chong Yidong <cyd@gnu.org>
1493
5694896d
J
1494 * progmodes/hideif.el (hif-lookup, hif-defined):
1495 Handle semantic-c-takeover-hideif.
a96e1cb7 1496
b3ecad33
PE
14972012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1498
1499 Change sampling interval units from ms to ns.
1500 * profiler.el (profiler-sampling-interval): Change units
1501 from ms to ns, multiplying the default by 1000000 so that
1502 it remains 1 ms.
1503 (profiler-report-cpu-line-format): Give enough room for
1504 the maximum counters on 64-bit hosts.
1505 (profiler-report-render-calltree-1): Call them "CPU samples",
1506 not "Time (ms)", since they are not milliseconds now (and
1507 never really were).
1508
8cb51b66 15092012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1510
5694896d
J
1511 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1512 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1513
fd795bf4
CY
15142012-10-02 Chong Yidong <cyd@gnu.org>
1515
1516 * emacs-lisp/eieio.el: Restore Version header.
1517
fe0a74f9
SM
15182012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1519
6be9197e
SM
1520 * vc/diff-mode.el (diff--auto-refine-data): New var.
1521 (diff-hunk): Use it to delay refinement.
1522 (diff-mode): Remove overlays when we turn off font-lock.
1523
18486139
SM
1524 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1525 (table-initialize-table-fixed-width-mode)
1526 (table-set-table-fixed-width-mode): Remove functions.
1527 (table-command-list): Move initialization into declaration.
1528 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1529 (table-with-cache-buffer): Use `declare'.
1530 (table-span-cell): Simplify via CSE.
1531 (table-fixed-width-mode): Use define-minor-mode.
1532 (table-call-interactively, table-funcall, table-apply): Remove.
1533 (table-function): New function, to replace them.
1534
d83ef976
SM
1535 * bookmark.el (bookmark-search-pattern): Remove var.
1536 (bookmark-read-search-input): Remove function.
1537 (bookmark-bmenu-search): Reimplement using a minibuffer.
1538
cd386662
SM
1539 * faces.el (modeline): Remove obsolete face name.
1540
fe0a74f9
SM
1541 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1542 and give a non-nil default value.
1543 (add-change-log-entry): Simplify accordingly.
1544
9f7b98f8
DG
15452012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1546
1547 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1548 (vc-git-log-edit-toggle-amend): New function.
1549 (vc-git-log-edit-toggle-signoff): New function.
1550 (vc-git-log-edit-mode): New major mode.
1551 (vc-git-log-edit-mode-map): Keymap for it.
1552 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1553
1554 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1555 header names.
1556 (log-edit-toggle-header): New function.
1557 (log-edit-extract-headers): Accept function values in HEADERS alist.
1558
62a81506
CY
15592012-10-01 David Engster <deng@randomsample.de>
1560
1561 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1562 from symbol property and change message to be more consistent with
1563 Emacs proper.
1564 (eieio-describe-generic): Add filename for each implementation.
1565 Fix indices for generic and normal methods.
1566 (eieio-method-def, eieio-class-def): New buttons.
1567 (eieio-help-find-method-definition)
1568 (eieio-help-find-class-definition): New functions.
1569 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1570 class, constructor and method definitions.
1571
1572 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1573 information in symbol property.
1574 (scoped-class): Remove.
1575 (eieio-slot-name-index, call-next-method): Check if it is bound.
1576
15772012-10-01 Leo P. White <lpw25@cam.ac.uk>
1578
1579 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1580 (eieio-custom-mode): New major mode.
1581 (eieio-customize-object): Use it.
1582
15832012-10-01 Eric Ludlam <zappo@gnu.org>
1584
1585 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1586 specifying the expected class, and whether subclassing is allowed.
1587 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1588 (eieio-persistent-validate/fix-slot-value)
1589 (eieio-persistent-slot-type-is-class-p): New functions.
1590 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1591
1592 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1593 Stop using unused publd variable.
1594
1595 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1596 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1597 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1598 (eieio-speedbar-handle-click): Do not specify a class for the
1599 method. Fixes method invocation order problems with EDE.
1600
375e49d4
SM
16012012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1604 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1605
16ce6ccd
KF
16062012-10-01 Karl Fogel <kfogel@red-bean.com>
1607
1608 * bookmark.el (bookmark-version-control): Give tags in the
1609 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1610 (bookmark-write-file): Bind `print-circle' to `t' to allow
1611 circular custom bookmark types. (Bug#12503)
16ce6ccd 1612
19e54a4d
PE
16132012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1614
86ec63ba
PE
1615 Revert the FOLLOW-SYMLINKS change for file-attributes.
1616 * files.el (remote-file-name-inhibit-cache, after-find-file):
1617 * time.el (display-time-file-nonempty-p): Undo last change.
1618
19e54a4d
PE
1619 * profiler.el (profiler-sampling-interval): Change default back to 1.
1620 See Stefan Monnier in
1621 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1622
0478776b
FEG
16232012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1624
1625 Shell output catching a la gud-gdb.
1626 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1627 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1628 New Vars.
0478776b
FEG
1629 (python-shell-fetch-lines-filter): New function.
1630 (python-shell-send-string-no-output): Use them.
1631
c22bac2c
TM
16322012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1633
1634 * profiler.el (profiler-sampling-interval): Rename from
1635 profiler-sample-interval.
1636 (profiler-sampling-interval): Default to 10.
1637 (profiler-find-profile): New command (was profiler-find-log).
1638 (profiler-find-profile-other-window): New command.
1639 (profiler-find-profile-other-frame): New command.
1640 (profiler-profile): Introduce API-level data structure.
1641
e7a2937b
PE
16422012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1643
1644 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1645 * files.el (remote-file-name-inhibit-cache):
1646 * time.el (display-time-file-nonempty-p): Use it.
1647 * files.el (after-find-file): Don't chase links before calling
1648 file-exists-p, as file-exists-p already does the right thing.
1649
4f595e15
RA
16502012-09-30 Ralf Angeli <angeli@caeruleus.net>
1651
1652 Merge from standalone RefTeX repository.
1653
1654 The following ChangeLog entries are shortened versions of the
1655 original ones with file paths adapted. A not so strongly edited
1656 version of the original ChangeLog can be found in the commit log.
1657
1658 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1659 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1660 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1661
1662 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1663 that entries with whitespace at various places are found.
1664 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1665 Include @String definitions in the resulting bib file. Add header
1666 and footer defined in `reftex-create-bibtex-header' and
1667 `reftex-create-bibtex-footer'.
1668 (reftex-do-citation): Make it possible again to insert
1669 non-existent entries. Save match data when asking for optional
1670 arguments. Return all keys, not just the first one.
1671 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1672 all citations in the same line.
1673 (reftex-parse-bibtex-entry): Accept additional optional argument
1674 `raw' and keep quotes or braces if it is non-nil. Match fields
1675 containing hyphens besides word constituents.
1676 (reftex-get-string-refs): New function.
1677 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1678 and ask if it should be reread in case it did.
1679 (reftex-pop-to-bibtex-entry)
1680 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1681 entries with spaces or tabs in front of arguments.
1682 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1683 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1684 Match entries containing numbers and symbol constituents.
1685 (reftex-do-citation, reftex-figure-out-cite-format):
1686 Use `reftex-cite-key-separator'.
4f595e15
RA
1687
1688 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1689 (reftex-mouse-view-crossref): Explain why point is set.
1690
1691 * textmodes/reftex-global.el: Whitespace changes.
1692
1693 * textmodes/reftex-index.el: Move provide statement to end of
1694 file.
1695 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1696 (reftex-index-visit-phrases-buffer): Set marker when visiting
1697 buffer. This allows for returning from the phrases file to the
1698 file one was just editing instead of the file where the last
1699 phrases was added from.
1700 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1701 punctuation syntax as it usually is not used as string quote in
1702 TeX-related modes and may occur unmatched. The change also
1703 prevents fontification of quoted content.
1704 (reftex-index-phrases-mode): Use it.
1705
375e49d4
SM
1706 * textmodes/reftex-parse.el (reftex-parse-from-file):
1707 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1708 (reftex-parse-from-file): Use beginning of match instead of end as
1709 bound.
1710
1711 * textmodes/reftex-ref.el: Adapt creation of
1712 `reftex-<package>-<macro>' functions to new structure of
1713 `reftex-ref-style-alist'.
375e49d4
SM
1714 (reftex-reference): Use `reftex-ref-style-list' function.
1715 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1716 reference macro if `reftex-ref-macro-prompt' is non-nil.
1717 (reftex-reference): Pass refstyle to `reftex-format-special'.
1718 Determine reference macro by looking at
375e49d4
SM
1719 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1720 Use only one special format function.
4f595e15
RA
1721 (reftex-varioref-vref, reftex-fancyref-fref)
1722 (reftex-fancyref-Fref): Remove definitions. The functions are now
1723 generated from `reftex-ref-style-alist'.
1724 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1725 Remove.
1726 (reftex-format-special): New function.
1727
1728 * textmodes/reftex-sel.el
1729 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1730 of `reftex-ref-style-alist'. Remove code for testing macro type.
1731 (reftex-select-toggle-varioref)
1732 (reftex-select-toggle-fancyref): Remove.
1733 (reftex-select-cycle-ref-style-internal)
1734 (reftex-select-cycle-ref-style-forward)
1735 (reftex-select-cycle-ref-style-backward): New functions.
1736 (reftex-select-label-map): Use `v' and `V' for general cycling
1737 through reference styles. Add `p' for switching between number
1738 and page reference types.
1739
375e49d4
SM
1740 * textmodes/reftex-toc.el (reftex-re-enlarge):
1741 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1742 the horizontal version throws an error even if the parameter is 0.
1743
1744 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1745 (reftex-plug-into-AUCTeX): Doc fix.
1746 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1747 string. Adapt to new name.
1748 (reftex-ref-style-alist): Change structure so that it is not
1749 possible to use multiple different package names within a style.
375e49d4
SM
1750 Remove the symbols for symbols for macro type distinction.
1751 Add characters for macro selection.
4f595e15
RA
1752 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1753 (reftex-create-bibtex-footer): New variables.
1754 (reftex-format-ref-function): Mention third argument of special
1755 format function.
375e49d4
SM
1756 (reftex-ref-style-alist, reftex-ref-style-default-list):
1757 New variables.
4f595e15
RA
1758 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1759 to new implementation. Mark as obsolete. Add compatibility code
1760 for honoring the variable values in case they are set.
375e49d4
SM
1761 (reftex-cite-format-builtin, reftex-bibliography-commands):
1762 Add support for ConTeXt.
1763 (reftex-format-ref-function, reftex-format-cite-function):
1764 Fix custom type.
4f595e15
RA
1765 (reftex-cite-key-separator): New variable.
1766
1767 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1768 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1769 `reftex-syntax-table' because parens have to retain their paren
1770 syntax in order for parsing of BibTeX entries like @book(...) to
1771 work.
1772 (reftex-in-comment): Do not error out if `comment-start-skip' is
1773 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1774 (reftex-tie-multifile-symbols): Add doc string.
1775 Initialize `reftex-ref-style-list'.
4f595e15
RA
1776 (reftex-untie-multifile-symbols): Add doc string.
1777 (reftex-add-index-macros): Doc fix.
1778 (reftex-ref-style-activate, reftex-ref-style-toggle)
1779 (reftex-ref-style-list): New functions.
1780 (reftex-mode-menu): Use them. Adapt to new structure of
1781 `reftex-ref-style-alist'.
1782 (reftex-select-with-char): Kill the RefTeX Select buffer when
1783 done.
1784 (reftex-remove-if): New function.
1785 (reftex-erase-all-selection-and-index-buffers)
1786 (reftex-mode-menu): Reference styles are now computed from
1787 `reftex-ref-style-alist'. Fix typo.
1788 (reftex-report-bug): New function.
1789 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1790 algorithms with O(n log n). Introduce optional argument SORT (not
1791 yet used).
1792
440ba395
FEG
17932012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1794
1795 Enhancements for triple-quote string syntax.
375e49d4
SM
1796 * progmodes/python.el (python-syntax-propertize-function):
1797 Match both quote cases in one regexp.
440ba395
FEG
1798 (python-syntax-stringify): Handle matches properly.
1799
4c478e6b
JL
18002012-09-30 Juri Linkov <juri@jurta.org>
1801
1802 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1803 to nil around the call to `insert' to prevent
4c478e6b
JL
1804 directory time modification by lock_file. (Bug#2295)
1805 * tar-mode.el (tar-summarize-buffer): Idem.
1806
d80d54b2
JL
18072012-09-30 Juri Linkov <juri@jurta.org>
1808
1809 * facemenu.el (list-colors-sort): Add option "Luminance".
1810 (list-colors-sort-key): Implement it.
1811
1812 * vc/diff-mode.el (diff-refine-removed):
1813 * vc/ediff-init.el (ediff-fine-diff-A):
1814 * vc/smerge-mode.el (smerge-refined-removed):
1815 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1816
d7e642cc
JD
18172012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1818
1819 * term/ns-win.el (x-file-dialog): New function.
1820
ee41332b
JB
18212012-09-30 Juanma Barranquero <lekktu@gmail.com>
1822
1823 * ido.el (ido-max-directory-size): Default to nil; the current
1824 default is small for POSIX systems, and impractical on Windows 7
1825 now that lstat returns directory sizes for NTFS.
1826
5938d519
MR
18272012-09-30 Martin Rudalics <rudalics@gmx.at>
1828
1829 In buffer display functions handle window-height/window-width
1830 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1831 * window.el (window--display-buffer): New argument ALIST.
1832 Obey window-height and window-width alist entries.
1833 (window--try-to-split-window): New argument ALIST.
1834 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1835 changed and window-combination-limit equals `window-size'.
1836 (display-buffer-in-atom-window)
1837 (display-buffer-in-major-side-window)
1838 (display-buffer-in-side-window, display-buffer-same-window)
1839 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1840 (display-buffer-pop-up-window, display-buffer-below-selected)
1841 (display-buffer-at-bottom, display-buffer-in-previous-window)
1842 (display-buffer-use-some-window): Adjust all callers of
1843 window--display-buffer and window--try-to-split-window.
1844 (fit-frame-to-buffer): New option.
1845 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1846 is non-nil.
1847 (display-buffer-in-major-side-window): Evaluate window-height /
1848 window-width alist entries.
1849
1850 * help.el (temp-buffer-resize-frames)
1851 (temp-buffer-resize-regexps): Remove options.
1852 (temp-buffer-resize-mode): Adjust doc-string.
1853 (resize-temp-buffer-window): Don't consult
1854 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1855 temp-buffer-resize-frames.
1856
375e49d4
SM
1857 * dired.el (dired-mark-pop-up):
1858 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1859 entry.
1860
c4c0c2df
CY
18612012-09-30 Chong Yidong <cyd@gnu.org>
1862
48de8b12
CY
1863 * server.el (server-host): Document the security implications.
1864 (server-auth-key): Doc fix.
1865
1866 * startup.el (initial-buffer-choice): Doc fix.
1867
1868 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1869
a97dc380
CY
1870 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1871 restriction change.
1872
d39d3c8e
CY
1873 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1874
c4c0c2df
CY
1875 * help-fns.el (help-fns--obsolete): Fix last change.
1876
98a5e33b
SM
18772012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1878
34cf6f39
SM
1879 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1880 (minor-mode-map-alist): Remove redundant code.
1881
e01c13fe
SM
1882 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1883 visited in a buffer.
1884 (cvs-insert-visited-file): New function.
1885 (find-file-hook): Use it.
1886
1887 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1888
02661b3a
SM
1889 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1890 chose face.
1891 (log-edit-empty-buffer-p): Don't require a space after a header.
1892
43711d4b
SM
1893 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1894
38a30d64
SM
1895 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1896
4ffb41a9
SM
1897 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1898 a proper minor-mode.
1899
98a5e33b
SM
1900 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1901
de82e29b
GM
19022012-09-29 Glenn Morris <rgm@gnu.org>
1903
5cc2e639
GM
1904 * winner.el (winner-mode): Remove variable (let define-minor-mode
1905 handle it).
1906 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1907 Doc fixes.
1908 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1909 (winner-mode): Use define-minor-mode.
1910
7bd302eb
GM
1911 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1912 the full definition in loaddefs, rather than duplicating it.
1913
2923922f 1914 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1915
0e3e4156
GM
1916 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1917 (inferior-lisp-program, inferior-lisp-load-command)
1918 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1919 No need to autoload defcustoms.
0e3e4156 1920
de82e29b
GM
1921 * hippie-exp.el (hippie-expand-try-functions-list)
1922 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1923 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1924 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1925 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1926 * progmodes/vhdl-mode.el (vhdl-line-expand):
1927 Explicitly load hippie-exp, so it does not get autoloaded
1928 while hippie-expand-try-functions-list is let-bound.
1929
e60b51ab
GM
19302012-09-28 Glenn Morris <rgm@gnu.org>
1931
277f0cfa
GM
1932 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1933
e60b51ab
GM
1934 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1935 Only "cl.el" counts as cl these days.
1936
53baf48a
JL
19372012-09-28 Juri Linkov <juri@jurta.org>
1938
1939 Display archive errors in the echo area instead of inserting
1940 to the file buffer.
1941
1942 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1943 to STDERR-TEST that can be a regexp matching a successful output.
1944 Create a temporary file and redirect stderr to it. Search for
1945 STDERR-TEST in the stderr output and display it in the echo area
1946 if no match is found.
1947 (archive-extract-by-file): New function like
1948 `archive-extract-by-stdout' but extracting archives to files
1949 and looking for successful matches in stdout. Function body is
1950 mostly copied from `archive-rar-extract'.
1951 (archive-rar-extract): Use `archive-extract-by-file'.
1952 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1953
9c1228c3
LL
19542012-09-28 Leo Liu <sdl.web@gmail.com>
1955
375e49d4
SM
1956 * pcomplete.el (pcomplete-show-completions):
1957 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1958
9c1228c3
LL
1959 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1960
7f457c06
SM
19612012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1962
3df749b0
SM
1963 * type-break.el: Use lexical-binding.
1964 (type-break-mode): Use define-minor-mode.
1965
7f457c06
SM
1966 * emacs-lisp/pcase.el (pcase--mark-used): New.
1967 (pcase--u1): Use it (bug#12512).
1968
1969 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1970 in load-history with the right file name.
1971
c00ebc98
TH
19722012-09-28 Tassilo Horn <tsdh@gnu.org>
1973
1974 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1975 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1976 (doc-view-get-bounding-box): Make bounding box slicing work for
1977 ODF and DVI documents.
1978
96fb7170
GM
19792012-09-28 Glenn Morris <rgm@gnu.org>
1980
1981 * type-break.el (type-break-mode, type-break-interval)
1982 (type-break-good-rest-interval, type-break-keystroke-threshold):
1983 No need to autoload.
1984 (type-break-good-rest-interval, type-break-keystroke-threshold):
1985 Add :set-after.
1986
5bc93c67
CY
19872012-09-28 Chong Yidong <cyd@gnu.org>
1988
1989 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1990 Add :version tag.
1991
9cad61d6
SM
19922012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1993
e28e67b3 1994 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1995
daee954c
GM
19962012-09-27 Glenn Morris <rgm@gnu.org>
1997
a88324d4
GM
1998 * faces.el (x-display-name): Declare (for without-x builds).
1999
8e5064e5
GM
2000 * linum.el (linum-format): Don't autoload it. Improve :type.
2001
cc1783c2
GM
2002 * progmodes/tcl.el: Don't require outline when compiling.
2003 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2004 * textmodes/sgml-mode.el: Don't require outline when compiling.
2005 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2006
48c339f2
GM
2007 * term.el (term-ansi-reset):
2008 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2009
daee954c
GM
2010 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2011 files for RCS and SCCS. (Bug#9781)
2012
b7f42161
CY
20132012-09-27 Chong Yidong <cyd@gnu.org>
2014
2015 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2016 change; value should be t.
2017
a2e770db
SM
20182012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2019
83600dc8
SM
2020 * image-mode.el: Use lexical-binding.
2021 (image-mode-winprops): Use t to stand for the window of
2022 a buffer that's not displayed.
2023 * doc-view.el (doc-view-new-window-function): Handle the new
2024 t in winprops.
2025 (doc-view-enlarge): Make it a real nop if the size is not changed.
2026 (doc-view-display): Handle the case where the buffer is not (yet?)
2027 displayed in any window.
2028 (doc-view-saved-settings): New var.
2029 (doc-view-mode): Use it.
2030 (doc-view-fallback-mode): Set it.
2031
a2e770db
SM
2032 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2033 Set lexical-binding.
2034 (minibuffer-eldef-shorten-default): New var.
2035 (minibuffer-default-in-prompt-regexps): Use it for new default.
2036 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2037
e3b60857
JB
20382012-09-26 Juanma Barranquero <lekktu@gmail.com>
2039
2040 * international/uni-bidi.el:
2041 * international/uni-category.el:
2042 * international/uni-name.el:
2043 * international/uni-numeric.el: Regenerate.
2044
3a880af4
SM
20452012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2046 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * profiler.el: New file.
2049
07b1a5fb
SM
20502012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2053 (testcover-reinstrument): Simplify with CSE.
2054
42019c2e
JB
20552012-09-26 Juanma Barranquero <lekktu@gmail.com>
2056
2057 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2058
179f044b
WS
20592012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2060
2061 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2062 (verilog-auto-input, verilog-auto-insert-lisp)
2063 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2064 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2065 (verilog-auto-unused, verilog-auto-wire)
2066 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2067 newline. Reported by Andrew Jones.
2068 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2069 Reported by Brad Dobbie.
07b1a5fb
SM
2070 (verilog-batch-delete-trailing-whitespace):
2071 Create verilog-batch-delete-trailing-whitespace.
2072 Reported by Brad Dobbie.
179f044b
WS
2073 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2074 parameters from another module. Reported by Dan Katz.
2075 (verilog-auto, verilog-auto-assign-modport)
2076 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2077 AUTOINOUTMODPORT for UVM interface module shell generation.
2078 Reported by Brad Dobbie.
2079 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2080 standard behavior.
2081 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2082 Reported by Matt Martin.
2083
9c52dd5a
MR
20842012-09-25 Martin Rudalics <rudalics@gmx.at>
2085
2086 * window.el (window--resize-child-windows): When resizing child
2087 windows proportionally, process them in reverse order to
2088 preserve the "when splitting a window the new one gets the odd
2089 line" behavior.
2090 (window--resize-root-window-vertically): When resizing the
2091 minibuffer window try to affect only windows at the bottom of the
2092 frame. (Bug#12419)
2093
863666eb
CY
20942012-09-25 Chong Yidong <cyd@gnu.org>
2095
2096 * subr.el (declare): Doc fix.
2097
2098 * help-fns.el (help-fns--obsolete): Handle macros properly.
2099
59f7af81
CY
21002012-09-25 Chong Yidong <cyd@gnu.org>
2101
2102 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2103 this function obsolete.
2104
2105 * calendar/cal-x.el (calendar-two-frame-setup)
2106 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2107 * calendar/calendar.el (american-calendar, european-calendar)
2108 (calendar-for-loop):
2109 * comint.el (comint-dynamic-simple-complete)
2110 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2111 * desktop.el (desktop-load-default):
2112 * dired-x.el (dired-omit-here-always)
2113 (dired-hack-local-variables, dired-default-directory):
2114 * emacs-lisp/derived.el (derived-mode-class):
2115 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2116 * emacs-lock.el (toggle-emacs-lock):
2117 * epa.el (epa-display-verify-result):
2118 * epg.el (epg-sign-keys, epg-start-sign-keys)
2119 (epg-passphrase-callback-function):
2120 * eshell/esh-util.el (eshell-for):
2121 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2122 (eshell-add-to-window-buffer-names):
2123 * files.el (locate-file-completion):
2124 * imenu.el (imenu-example--create-c-index)
2125 (imenu-example--create-lisp-index)
2126 (imenu-example--lisp-extract-index-name)
2127 (imenu-example--name-and-position):
2128 * international/mule-cmds.el (princ-list):
2129 * international/mule-diag.el (decode-codepage-char):
2130 * international/mule-util.el (detect-coding-with-priority):
2131 * iswitchb.el (iswitchb-read-buffer):
2132 * mail/mailalias.el (mail-complete):
2133 * mail/sendmail.el (mail-sent-via):
2134 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2135 (mouse-major-mode-menu):
2136 * password-cache.el (password-read-and-add):
2137 * pcomplete.el (pcomplete-parse-comint-arguments):
2138 * progmodes/sh-script.el (sh-maybe-here-document):
2139 * replace.el (query-replace-regexp-eval):
2140 * savehist.el (savehist-load):
2141 * simple.el (choose-completion-delete-max-match):
2142 * term.el (term-dynamic-simple-complete):
2143 * vc/ediff-init.el (ediff-check-version):
2144 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2145 * vc/vc.el (vc-diff-switches-list):
2146 * view.el (view-return-to-alist-update): Likewise.
2147
2148 * subr.el (eval-next-after-load, makehash, insert-string)
2149 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2150 mark obsolete.
2151 (mode-line-inverse-video): Variable deleted.
2152
2153 * international/mule-util.el (string-to-sequence): Remove.
2154
2155 * calendar/calendar.el (calendar-version):
2156 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2157 (icalendar-convert-diary-to-ical):
2158 * cus-edit.el (custom-mode):
2159 * ansi-color.el (ansi-color-unfontify-region):
2160 * international/latin1-disp.el (latin1-char-displayable-p):
2161 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2162 * progmodes/which-func.el (which-func-update-1):
2163 Use define-obsolete-function-alias.
59f7af81
CY
2164
2165 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2166 * net/newst-treeview.el (newsticker-groups-filename):
2167 Fix incorrect obsolescence declaration.
59f7af81
CY
2168
2169 * allout.el (allout-passphrase-hint-string): Likewise.
2170 (allout-init): Use a declare form to mark obsolete.
2171
2172 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2173 this applies to functions.
2174
2175 * iswitchb.el (iswitchb-read-buffer): Move code of
2176 iswitchb-define-mode-map here, and delete that obsolete function.
2177
2178 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2179 font-lock-reference-face.
2180
cca96c97
GM
21812012-09-25 Glenn Morris <rgm@gnu.org>
2182
b06eeda8
GM
2183 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2184 Doc fixes.
2185
cca96c97
GM
2186 * eshell/em-term.el (eshell-term-name):
2187 Default to term-term-name. (Bug#12485)
2188
dc4f818b
FEG
21892012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2190
cca96c97
GM
2191 * progmodes/python.el (python-shell-send-buffer): Better handling
2192 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2193
289c24bd
GM
21942012-09-24 Glenn Morris <rgm@gnu.org>
2195
2196 * eshell/esh-cmd.el (eshell-find-alias-function):
2197 Tighten up file-name regexp. (Bug#12499)
2198
8fb8b88f
FEG
21992012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2200
2201 Enhancements for triple-quote string syntax.
2202 * progmodes/python.el (python-quote-syntax): Remove.
2203 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2204 (python-syntax-count-quotes, python-syntax-stringify):
2205 New functions.
8fb8b88f 2206
6c27f0f8
CY
22072012-09-24 Chong Yidong <cyd@gnu.org>
2208
a5f2b6ec
CY
2209 * mail/supercite.el (sc-version): Remove obsolete function.
2210 (sc-describe): Don't mark as obsolete, since it is bound.
2211 (sc-submit-bug-report): Remove.
2212
2213 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2214 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2215 (log-edit-require-final-newline)
2216 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2217
2218 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2219 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2220 * vc/vc.el (vc-checkout-carefully): Likewise.
2221
2222 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2223 (emerge-version): Remove.
2224
2225 * progmodes/compile.el (compile-internal): Remove.
2226 (compilation-parse-errors-function): Fix typo.
2227
2228 * international/mule.el (set-char-table-default): Remove.
2229 (set-coding-priority, make-coding-system, generic-char-p)
2230 (charset-list, charset-bytes, charset-id): Use declare to mark
2231 functions as obsolete.
2232
2233 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2234 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2235 * vc/vc-hooks.el (vc-default-registered): Don't use
2236 vc-master-templates.
2237
07b1a5fb
SM
2238 * font-lock.el (font-lock-reference-face):
2239 Use define-obsolete-variable-alias.
6c27f0f8
CY
2240
2241 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2242 * calendar/calendar.el (calendar-font-lock-keywords):
2243 * calendar/diary-lib.el (diary-font-lock-keywords)
2244 (diary-fancy-font-lock-keywords):
2245 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2246 * textmodes/reftex-index.el (reftex-insert-index):
2247 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2248 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2249 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2250 * progmodes/prolog.el (prolog-font-lock-keywords):
2251 * progmodes/idlwave.el (idlwave-idl-keywords):
2252 * progmodes/ada-mode.el (ada-font-lock-keywords):
2253 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2254
bcc0adbf
GM
22552012-09-24 Glenn Morris <rgm@gnu.org>
2256
2257 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2258
095bb823
FEG
22592012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2260
2261 * progmodes/python.el (python-indent-line): More consistent cursor
2262 movement behavior.
2263
70efc5c9
SM
22642012-09-23 Stefan Merten <smerten@oekonux.de>
2265
2266 * textmodes/rst.el: Fix compiler warning.
2267
2f438239
RW
22682012-09-23 Roland Winkler <winkler@gnu.org>
2269
07b1a5fb
SM
2270 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2271 Transcribe also LaTeX hyphenation.
2f438239
RW
2272 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2273 bibtex-reformat-previous-options.
2274
936ad041
RW
22752012-09-23 Roland Winkler <winkler@gnu.org>
2276
2277 * proced.el (proced-renice-command): New variable.
2278 (proced-marked-processes): New function.
2279 (proced-with-processes-buffer): New macro.
2280 (proced-send-signal): Use them.
2281 (proced-renice): New command bound to r.
2282
6fab0274
RW
22832012-09-23 Roland Winkler <winkler@gnu.org>
2284
2285 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2286 ibuffer-saved-filter-groups has one element, shortcut the call of
2287 completing-read. (Bug#12331)
2288
9a930676
CY
22892012-09-23 Chong Yidong <cyd@gnu.org>
2290
2291 * bindings.el (mode-line-toggle-read-only):
2292 * bs.el (bs-toggle-readonly):
2293 * buff-menu.el (Buffer-menu-toggle-read-only):
2294 * dired.el (dired-toggle-read-only):
2295 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2296
d07ff9db
CY
22972012-09-23 Chong Yidong <cyd@gnu.org>
2298
2299 * image.el (image-type-available-p): Adapt to init-image-library
2300 argument changes.
2301
51c4474e
JL
23022012-09-22 Juri Linkov <juri@jurta.org>
2303
2304 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2305 `dired-toggle-read-only'. (Bug#12462)
2306
43bf5e8e
MR
23072012-09-22 Martin Rudalics <rudalics@gmx.at>
2308
2309 * subr.el (temp-output-buffer-show): New function.
2310 (with-output-to-temp-buffer): Call temp-output-buffer-show
2311 instead of internal-temp-output-buffer-show.
2312
c88b867f
CY
23132012-09-22 Chong Yidong <cyd@gnu.org>
2314
3df47cd5
CY
2315 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2316 (Bug#12462).
2317
c88b867f
CY
2318 * repeat.el (repeat): Doc fix (Bug#12348).
2319
2320 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2321 (Bug#10909).
2322
2323 * simple.el (shell-command-on-region): Doc fix.
3171e303 2324 (read-only-mode): Doc fix.
c88b867f 2325
df9685f3
EZ
23262012-09-22 Eli Zaretskii <eliz@gnu.org>
2327
2328 * emacs-lisp/timer.el (run-with-idle-timer)
2329 (timer-activate-when-idle): Warn against reinvoking an idle timer
2330 from within its own timer action. (Bug#12447)
2331
8e17c9ba
MR
23322012-09-22 Martin Rudalics <rudalics@gmx.at>
2333
2334 * cus-start.el (window-combination-limit): Add new optional
2335 values.
2336 * window.el (temp-buffer-window-show)
2337 (window--try-to-split-window): Handle new values of
2338 window-combination-limit (Bug#1806).
2339 (split-window): Test window-combination-limit for t instead of
2340 non-nil.
2341 (display-buffer-at-bottom): New buffer display action function.
2342 * help.el (temp-buffer-resize-regexps): New option.
2343 (temp-buffer-resize-mode): Rewrite doc-string.
2344 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2345 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2346
48a24920
SM
23472012-09-22 Stefan Merten <smerten@oekonux.de>
2348
70efc5c9 2349 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2350 (rst-official-version)
2351 (rst-package-emacs-version-alist): Sync with official version
2352 V1.4.0.
2353 (rst-faces-defaults, rst-set-level-default)
2354 (rst-level-face-max, rst-level-face-base-color)
2355 (rst-level-face-base-light, rst-level-face-format-light)
2356 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2357 (rst-adornment-faces-alist): Match new setup.
2358 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2359 (rst-level-5, rst-level-6): New faces.
2360
82f8cd94
CY
23612012-09-22 Chong Yidong <cyd@gnu.org>
2362
2363 * simple.el (undo): Handle indirect buffers (Bug#8207).
2364
acfa068f 23652012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2366
2367 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2368 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2369 (ido-set-matches-1): Use it. (Bug#2042)
2370
acfa068f 23712012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2372
2373 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2374 Fix 2011-05-17 change. (Bug#12418)
2375
acfa068f 23762012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2377
2378 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2379
acfa068f 23802012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2381
2382 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2383 Be more robust about locating simple.el.
2384
acfa068f 23852012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2386
2387 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2388
acfa068f
CY
23892012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2390
2391 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2392
41a97e6f
JL
23932012-09-20 Juri Linkov <juri@jurta.org>
2394
eb2deaff
JL
2395 * replace.el (query-replace-read-from): Use `read-regexp' instead
2396 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2397 (occur-read-primary-args): Use `read-regexp' instead of
2398 `read-string'.
2399 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2400 `read-from-minibuffer'.
2401 * isearch.el (isearch-occur): Use `read-regexp' instead of
2402 `read-string'.
2403 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2404 `read-from-minibuffer'.
2405 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2406 of `read-string'. (Bug#7567)
2407
5825610b
JL
2408 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2409 and allow accepting a list of strings prepended to a list of
2410 standard default values. Doc fix. (Bug#12321)
2411
eebbf404
JL
2412 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2413
41a97e6f
JL
2414 * replace.el (read-regexp): Don't add ": " when PROMPT already
2415 ends with a colon and space. (Bug#12321)
2416
c9e452d3
TH
24172012-09-20 Tassilo Horn <tsdh@gnu.org>
2418
2419 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2420 error.
2421
ee97deee
SM
24222012-09-20 Stefan Merten <smerten@oekonux.de>
2423
70efc5c9 2424 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2425 Fixes feature request bug#11711.
2426 (rst-mode): Create `imenu-create-index-function'.
2427 (rst-get-stripped-line): Delete after refactoring.
2428 (rst-section-tree, rst-section-tree-rec)
2429 (rst-section-tree-point): Refactor and document properly.
2430 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2431 (rst-imenu-convert-cell, rst-imenu-create-index):
2432 New function.
ee97deee 2433
f490dab9
SM
24342012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2435
95b9712e
SM
2436 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2437 (macroexp--expand-all): Use it.
2438 (macroexp--funcall-and-return): Remove by folding it into its sole
2439 caller (macroexp--warn-and-return).
2440 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2441 Use macroexp--obsolete-warning.
2442
f490dab9
SM
2443 * calc/calc.el: Fix last change by removing the whole chunk, since it
2444 was only needed back when Calc was not bundled.
2445
96e8d411
MR
24462012-09-20 Martin Rudalics <rudalics@gmx.at>
2447
2448 * emacs-lisp/debug.el (debug): Restore assignment to
2449 debugger-old-buffer removed on 2012-09-08.
2450
0876a82d
JL
24512012-09-20 Juri Linkov <juri@jurta.org>
2452
2453 * dired-aux.el (dired-diff): Remove (require 'diff) since
2454 `diff-latest-backup-file' is now autoloaded.
2455
9f7c28f0
CY
24562012-09-20 Chong Yidong <cyd@gnu.org>
2457
2458 * vc/diff.el (diff-latest-backup-file): Autoload.
2459
7a04bee9
SM
24602012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2461
e6f0a80d
SM
2462 * calc/calc.el: Remove redundant autoload shape check.
2463 (sel-mode): Don't defvar.
2464 (calc-get-stack-element): Add `sel-mode' arg instead.
2465 (calc-top, calc-top-list): Pass it this additional argument.
2466 * calc/calc-store.el (calc-store-map):
2467 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2468 (calc-map-equation, calc-outer-product, calc-inner-product):
2469 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2470
7a04bee9
SM
2471 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2472
12734222
JL
24732012-09-19 Juri Linkov <juri@jurta.org>
2474
2475 * dired-aux.el (dired-diff): Add (require 'diff) because
2476 `diff-latest-backup-file' is not autoloaded.
2477 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2478 of `dired-get-filename' to t to not report error when there is
2479 no default file on the current line.
2480
46624b4f
SM
24812012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2482
ce97595b
SM
2483 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2484 macroexp--eval-if-compile.
2485 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2486 (macroexp--expand-all): Use them (bug#12371).
2487
46624b4f
SM
2488 * doc-view.el (doc-view-guess-paper-size)
2489 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2490
db8a5a18
TH
24912012-09-19 Tassilo Horn <tsdh@gnu.org>
2492
2493 New feature: set optimal slice from BoundingBox information.
2494 * doc-view.el (doc-view-mode-map): Add keybinding.
2495 (doc-view-menu): Add menu entry.
2496 (doc-view-set-slice): Adapt docstring.
2497 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2498 (doc-view-scale-bounding-box)
2499 (doc-view-set-slice-from-bounding-box): New functions.
2500 (doc-view-paper-sizes): New defvar.
2501
69f6644c
GM
25022012-09-19 Glenn Morris <rgm@gnu.org>
2503
35f5b19d
GM
2504 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2505 (byte-compile-log-warning): Autoload. (Bug#12371)
2506
69f6644c
GM
2507 * calendar/calendar.el (calendar-american-month-header)
2508 (calendar-european-month-header, calendar-iso-month-header)
2509 (calendar-month-header): New options.
2510 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2511 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2512
e543ae91
JD
25132012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2514
2515 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2516
2fd5e67d
JL
25172012-09-18 Juri Linkov <juri@jurta.org>
2518
2519 * dired-aux.el (dired-diff): Restore original functionality of
2520 getting the default value, but keep new feature of using the
2521 latest existing backup file (`diff-latest-backup-file').
2522
42917e79
JL
25232012-09-18 Juri Linkov <juri@jurta.org>
2524
2525 * dired.el (dired-mark): If the region is active in Transient Mark
2526 mode, mark all files in the active region. Doc fix.
2527 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2528 Doc fix. (Bug#10624)
2529
20f70ede
JL
25302012-09-18 Juri Linkov <juri@jurta.org>
2531
2532 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2533 attributes for M-n are pulled from the file at point.
2534 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2535 Suggested by Drew Adams. (Bug#10624)
2536
32fb8162
DG
25372012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2538
2539 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2540 whitespace after "end".
2541 (ruby-do-end-to-brace): Collapse block to one line if it fits
2542 within fill-column.
2543
37ab5092
MR
25442012-09-18 Martin Rudalics <rudalics@gmx.at>
2545
2546 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2547 value.
2548 (debug): Don't remove debugger window when debugger is expected
2549 to be back.
2550
ed1f0bd3
CY
25512012-09-18 Chong Yidong <cyd@gnu.org>
2552
2553 * custom.el (defface): Doc fix.
2554
2555 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2556
a11035b8
MB
25572012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2558
2559 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2560 to initialize query-on-exit; then test that instead (bug#12288).
2561
64f6a736
SM
25622012-09-17 Stefan Merten <smerten@oekonux.de>
2563
70efc5c9 2564 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2565 (rst-defcustom-testcover, rst-testcover-add-compose)
2566 (rst-testcover-add-1value): New functions.
2567 (rst-portable-mark-active-p): Replace by `use-region-p'.
2568 (rst-update-section, rst-classify-adornment)
2569 (rst-find-title-line): Mark `1value' forms.
2570 (rst-classify-adornment): Remove superfluous form.
2571 (rst-update-section, rst-get-adornments-around)
2572 (rst-adornment-complete-p, rst-get-next-adornment)
2573 (rst-adjust, rst-promote-region)
2574 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2575 (rst-find-pfx-in-region, rst-section-tree-rec)
2576 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2577 (rst-toc-node, rst-toc, rst-forward-section)
2578 (rst-iterate-leftmost-paragraphs)
2579 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2580 (rst-bullet-list-region)
2581 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2582 (rst-compile-find-conf, rst-compile)
2583 (rst-repeat-last-character): Fix style.
2584
580bd868
CY
25852012-09-17 Chong Yidong <cyd@gnu.org>
2586
2587 * comint.el (comint--complete-file-name-data): Don't add a space
2588 if the status is `sole'; that adds a gratuitous space in the
2589 completion-cycling case (Bug#12092).
2590
2591 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2592
69de3ec6
RS
25932012-09-17 Richard Stallman <rms@gnu.org>
2594
0dee970c
RS
2595 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2596 only in the mime-shown mode, not in raw mode.
2597 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2598 mime processing. (Bug#12305)
0dee970c 2599
6b250df6
GM
2600 * mail/rmail.el (rmail-retry-failure):
2601 Turn off mime processing first. (Bug#12037)
acb1c47b 2602
69de3ec6
RS
2603 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2604
d079ee5f
CY
26052012-09-17 Chong Yidong <cyd@gnu.org>
2606
2607 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2608 (shell-dynamic-complete-functions): Convert to defcustom.
2609 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2610
865fe16f
CY
2611 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2612 * comint.el (comint-prompt-read-only):
2613 * custom.el (defcustom):
2614 * hi-lock.el (hi-lock-mode):
2615 * ibuffer.el (ibuffer-formats):
2616 * ielm.el (ielm-prompt-read-only):
2617 * novice.el (disable-command):
2618 * saveplace.el (toggle-save-place):
2619 * speedbar.el (speedbar-supported-extension-expressions):
2620 * startup.el (auto-save-list-file-prefix, init-file-user)
2621 (after-init-hook, inhibit-startup-echo-area-message):
2622 * strokes.el (strokes-help):
2623 * time-stamp.el (time-stamp):
2624 * calendar/calendar.el (calendar, diary-file):
2625 * calendar/diary-lib.el (diary-mail-entries, diary)
2626 (diary-list-entries-hook):
2627 * calendar/holidays.el (holidays, calendar-holidays):
2628 * calendar/lunar.el (lunar-phases):
2629 * calendar/solar.el (sunrise-sunset):
2630 * emulation/edt.el (edt-load-keys):
2631 * emulation/viper.el (viper-mode):
2632 * eshell/em-alias.el (eshell-command-aliases-list):
2633 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2634 * international/ogonek.el (ogonek-information):
2635 * net/tramp-cmds.el (tramp-bug):
2636 * net/quickurl.el (quickurl-reread-hook-postfix):
2637 * play/decipher.el (decipher-font-lock-keywords):
2638 * progmodes/cc-styles.el (c-set-style):
2639 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2640 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2641 * progmodes/octave-mod.el (octave-mode):
2642 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2643 * progmodes/verilog-mode.el (verilog-read-defines):
2644 * textmodes/two-column.el (2C-mode): Likewise.
2645
48093eb9
KY
26462012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2647
2648 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2649 that holds many addresses.
2650
c584eaf9
CY
26512012-09-16 Chong Yidong <cyd@gnu.org>
2652
40d70ecb
CY
2653 * align.el (align-areas): Call the indication function with
2654 positions instead of markers for arguments (Bug#12343).
2655
1667e065
CY
2656 * files.el (parse-colon-path): Use split-string (Bug#12351).
2657
fdc2806d 2658 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2659 (display-buffer-function): Mark as obsolete.
fdc2806d 2660
f1be615c 2661 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2662 values similar to font-lock-keywords (Bug#12136).
2663 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2664 (compilation-error-regexp-alist): Doc fix.
2665
f40a9709
GM
26662012-09-15 Glenn Morris <rgm@gnu.org>
2667
72aa16e1
GM
2668 * version.el (emacs-bzr-version-bzr): New function.
2669 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2670
82375160
GM
2671 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2672 checkouts, check the parent dirstate matches the branch.
2673 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2674 empty string.
2675
f40a9709
GM
2676 * version.el (emacs-bzr-version): Doc fix.
2677 (emacs-bzr-version-dirstate): New function.
2678 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2679 is local try and check that it matches the branch. If not, just
2680 use dirstate information. (Bug#12441)
2681
cb26b7f5
JL
26822012-09-14 Juri Linkov <juri@jurta.org>
2683
2684 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2685 (Bug#12399)
2686
2de39f08
SM
26872012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2688
0fb3cb7c
SM
2689 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2690
2de39f08
SM
2691 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2692 Remove obsolete byte-compiler hack that tried to silence some warnings.
2693 (edebug-submit-bug-report): Remove.
2694 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2695 Remove aliases, use the un-prefixed name instead.
2696 (edebug-pop-to-buffer): Consider other frames.
2697 (edebug-original-read):: Make it more obvious that it's always defined.
2698 (edebug--make-form-data-entry, edebug--form-data-name)
2699 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2700 single-dashed name, and implement with cl-defstruct.
2701 (edebug-set-form-data-entry): Use the standard accessors.
2702 (edebug-make-top-form-data-entry): Use push.
2703 (edebug-no-match): Drop useless `funcall'.
2704 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2705 to functions.
2706 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2707 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2708 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2709 (easy-menu-define, with-custom-print): Remove redundant specs.
2710 (edebug-outside-overriding-local-map)
2711 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2712 (edebug--display): Bind unread-command-events directly to nil rather
2713 than binding it to unread-command-events and later setting it to nil.
2714 (edebug--display): Kill edebug-eval-buffer here...
2715 (edebug--recursive-edit): ...rather than here.
2716 Bind standard-output and standard-input.
2717 (edebug-eval): Check cl-macroexpand-all is fboundp.
2718 (edebug-temp-display-freq-count): Fix last change.
2719
2720 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2721 * subr.el (noreturn, 1value): Add `debug' spec.
2722 * emacs-lisp/advice.el: Require cl-lib.
2723 (ad-copy-tree): Remove, use copy-tree instead.
2724 (ad-dolist): Remove use dolist or cl-dolist instead.
2725 (ad-do-return): Remove, use cl-return instead.
2726 (defadvice): Add `debug' spec.
2727
5b68b333
JL
27282012-09-13 Juri Linkov <juri@jurta.org>
2729
2730 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2731 (Bug#12399)
2732
b9800ec4
GM
27332012-09-13 Glenn Morris <rgm@gnu.org>
2734
6a2e6868
GM
2735 * calc/calc.el (math-compose-expr):
2736 * calc/calc-ext.el (math-compose-expr):
2737 * progmodes/cc-defs.el (cl-macroexpand-all):
2738 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2739 (cl-macroexpand-all): Update declarations.
2740
b9800ec4
GM
2741 * vc/vc.el: No need to require ediff.
2742 (ediff-load-version-control): Declare.
2743 (ediff-vc-internal): Fix declaration.
2744 (vc-version-ediff): Require ediff.
2745
c18e885b
PE
27462012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2747
2748 Use a more backwards-compatible timer format (Bug#12430).
2749 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2750 being right after USECS, as that better supports old code that
2751 inadvisedly looked directly at the timer vector.
2752
d607d303
KH
27532012-09-13 Kenichi Handa <handa@gnu.org>
2754
2755 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2756 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2757 `coding-priority' property of these language environment.
2758
72eac303
PE
27592012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2760
2761 Fix glitches caused by addition of psec to timers (Bug#12430).
2762 * image.el (image-animate-timer):
2763 * time.el (display-time-world-timer):
2764 Use timer--function and timer--args rather than raw access to
2765 timer vector.
2766
2168fe4f
GM
27672012-09-13 Glenn Morris <rgm@gnu.org>
2768
2769 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2770 If not compiling a file, try using load-file-name.
2771
bd8d6108
SM
27722012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2773
c0c54fbd
SM
2774 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2775 Fix last change.
2776 (edebug-update-eval-list): Use `push'.
2777
bd8d6108
SM
2778 * emacs-lisp/edebug.el: Use lexical-binding.
2779 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2780 Mark unused args with underscore.
2781 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2782 (edebug-form-data): Use defvar-local.
2783 (edebug-make-before-and-after-form, edebug-make-after-form):
2784 Use backquote.
2785 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2786 Not dynamically scoped any more.
2787 (edebug--enter-trace): Add arguments `function' and `args'.
2788 Rename from edebug-enter-trace.
2789 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2790 (edebug--update-coverage): Add `after-index' and `value' args.
2791 Rename from edebug-update-coverage.
2792 (edebug-slow-after): Call it accordingly.
2793 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2794 edebug-recursive-edit.
2795 (edebug--display): Call it accordingly. Add args `value',
2796 `offset-index', and `arg-mode'. Rename from edebug-display.
2797 (edebug-debugger, edebug): Call it accordingly.
2798 (edebug-eval-display-list): Use dolist.
2799
a9f9d9de
JL
28002012-09-12 Juri Linkov <juri@jurta.org>
2801
2802 * info.el (Info-search): Don't check for isearch-mode and
2803 isearch-regexp before let-binding search-spaces-regexp to
2804 Info-search-whitespace-regexp.
2805 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2806 search-whitespace-regexp if isearch-lax-whitespace or
2807 isearch-regexp-lax-whitespace is non-nil.
2808 (Info-mode): Don't set local variable search-whitespace-regexp.
2809 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2810
bfeae2cf
SM
28112012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2813 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2814 (debugger-env-macro): Remove support for unread-command-char.
2815
2816 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2817 the temporary map re-appearing on emulation-mode-map-alists.
2818
2819 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2820 since 22.1.
2821
2822 * ehelp.el (with-electric-help): Accept functions in
2823 electric-help-form-to-execute.
2824 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2825 And replace unread-command-char -> unread-command-events.
2826
fbbcaf1b
MA
28272012-09-12 Michael Albinus <michael.albinus@gmx.de>
2828
2829 Sync with Tramp 2.2.6.
2830
2831 * net/tramp.el (tramp-accept-process-output): Don't use
2832 JUST-THIS-ONE in the XEmacs case.
2833
2834 * net/trampver.el: Update release number.
2835
4dece104
MR
28362012-09-12 Martin Rudalics <rudalics@gmx.at>
2837
bfeae2cf
SM
2838 * emacs-lisp/debug.el (debugger-previous-window-height):
2839 New variable.
4dece104
MR
2840 (debug): When debugger-jumping-flag is non-nil try to restore
2841 height of debugger window. (Bug#8789)
2842
45b82ad0
SM
28432012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2844
60c49c0f
SM
2845 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2846 overriding-local-map and pre/post-command-hook here.
2847 (edebug-recursive-edit): Do it here instead (bug#12345).
2848 (edebug-outside-unread-command-char): Remove all uses of
2849 unread-command-char.
2850
45b82ad0
SM
2851 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2852 inhibit-debugger is bound instead.
2853
baa26ea0
BG
28542012-09-11 Bastien Guerry <bzg@gnu.org>
2855
2856 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2857 (Bug#12346)
baa26ea0 2858
04e8abfa
BG
28592012-09-11 Bastien Guerry <bzg@gnu.org>
2860
96d03571 2861 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2862 (Bug#12347)
96d03571
BG
2863
28642012-09-11 Bastien Guerry <bzg@gnu.org>
2865
fc0c31f8 2866 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2867
04e082b0
MM
28682012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2869
2870 * progmodes/sql.el: Version 3.1
2871 (sql-db2-escape-newlines): New variable.
2872 (sql-escape-newlines-filter): Use it.
2873
399a361b
JB
28742012-09-10 Juanma Barranquero <lekktu@gmail.com>
2875
2876 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2877
0780c517
DN
28782012-09-10 Dan Nicolaescu <dann@gnu.org>
2879
45b82ad0
SM
2880 * vc/diff-mode.el (diff-mode-menu):
2881 Bind diff-remove-trailing-whitespace.
0780c517 2882
9b851e25
SM
28832012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2884
2885 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2886 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2887 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2888 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2889 (eval-defun-2): Remove bogus interactive spec.
2890 (lisp-indent-line): Remove redundant whole-exp code, now done in
2891 indent-according-to-mode.
2892 (save-match-data): Remove redundant indent data.
2893
2894 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2895 Use `declare'.
2896
3231d532
JL
28972012-09-09 Juri Linkov <juri@jurta.org>
2898
2899 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2900 (replace-lax-whitespace, query-replace-regexp)
2901 (query-replace-regexp-eval, replace-regexp): Doc fix.
2902 (perform-replace, replace-highlight): Let-bind
2903 isearch-lax-whitespace to replace-lax-whitespace and
2904 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2905
2906 * isearch.el (isearch-query-replace): Let-bind
2907 replace-lax-whitespace to isearch-lax-whitespace and
2908 replace-regexp-lax-whitespace to
2909 isearch-regexp-lax-whitespace. (Bug#10885)
2910
70fe8236
SM
29112012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2912
2913 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2914
8ed43f15
AM
29152012-09-09 Alan Mackenzie <acm@muc.de>
2916
70fe8236
SM
2917 * progmodes/cc-engine.el (c-state-cache-init):
2918 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2919 (c-record-parse-state-state):
2920 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2921
bfabf70a
AS
29222012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2923
2924 * register.el (register-separator): Rename from
2925 separator-register. All uses changed. Doc fix.
2926 (register): Fix version.
2927
011474aa
CY
29282012-09-09 Chong Yidong <cyd@gnu.org>
2929
2930 * replace.el (query-replace-map): Bind four new symbols for
2931 requesting window scrolling.
2932
2933 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2934 query-replace-map (Bug#8948).
2935
2936 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2937
2938 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2939 since they are now in query-replace-map.
2940
2941 * window.el (scroll-other-window-down): Make the arg optional.
2942
a8b7cd8d
CY
29432012-09-09 Chong Yidong <cyd@gnu.org>
2944
2945 * files.el (hack-local-variables-confirm): Use quit-window to kill
2946 the *Local Variables* buffer.
2947
c3268831
DG
29482012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2949
2950 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2951 not just expect to be at its beginning. Adjust callees.
2952 Succeed when do-end block has no space before the pipe character.
2953 (ruby-brace-to-do-end): When the original block is one-liner,
2954 convert to multiline. Reindent the result.
2955
0979429b
J
29562012-09-08 Jambunathan K <kjambunathan@gmail.com>
2957
2958 * register.el (register): New group.
27359e99 2959 (separator-register): New user option.
0979429b
J
2960 (increment-register): Route it to `append-to-register', if
2961 register contains text. Implication is that `C-x r +' can now be
2962 used for appending to a text register (bug#12217).
2963 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2964 `separator-register'.
0979429b 2965
ace2989a
AM
29662012-09-08 Alan Mackenzie <acm@muc.de>
2967
2968 AWK Mode: make auto-newline work when there's "==" in the pattern.
2969 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2970 correctly.
0979429b
J
2971 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2972 Test more rigorously for "=" token.
ace2989a 2973
616c6c36
DG
29742012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2975
0979429b
J
2976 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2977 Only fail when reached LIMIT.
616c6c36 2978
35d98877
CY
29792012-09-08 Chong Yidong <cyd@gnu.org>
2980
2981 * dired.el (dired-mode-map): Don't bind M-=.
2982
2983 * dired-aux.el (dired-diff): Use backup file as default.
2984
1715f2db
DA
29852012-09-08 Drew Adams <drew.adams@oracle.com>
2986
2987 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2988
6dcef6ec
CY
29892012-09-08 Chong Yidong <cyd@gnu.org>
2990
2991 * subr.el (syntax-after, syntax-class): Doc fix.
2992
fa2bcf43
MR
29932012-09-08 Martin Rudalics <rudalics@gmx.at>
2994
2995 * window.el (display-buffer-in-previous-window): New buffer
2996 display action function.
2997
2998 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2999 (debugger-previous-window): New variable.
3000 (debug): Rewrite using display-buffer-in-previous-window,
3001 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3002
daac280a
SM
30032012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3004
3005 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3006
9dd40b00
MM
30072012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3008
daac280a
SM
3009 * progmodes/python.el (python-shell-send-string):
3010 When default-directory is remote, create temp file on remote
9dd40b00
MM
3011 filesystem.
3012 (python-shell-send-file): When file is remote, pass local view of
3013 file paths to remote Python interpreter. (Bug#12340)
3014
145823ec
CY
30152012-09-07 Chong Yidong <cyd@gnu.org>
3016
cee2e90d
CY
3017 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3018
0d7eb2ea
CY
3019 * files.el (after-find-file): Don't fail on a read-only buffer if
3020 require-final-newline is `visit' or `visit-save' (Bug#11156).
3021
145823ec
CY
3022 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3023
daac280a
SM
3024 * userlock.el (ask-user-about-supersession-threat):
3025 Use read-char-choice (Bug#12093).
145823ec 3026
74c582e6
CY
30272012-09-07 Chong Yidong <cyd@gnu.org>
3028
e5c2edf7
CY
3029 * subr.el (buffer-narrowed-p): New function.
3030
3031 * ses.el (ses-widen):
3032 * simple.el (count-words--buffer-message):
1f9f395d 3033 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3034
3035 * simple.el (count-words-region): Don't signal an error if there
3036 is a non-nil prefix arg and the mark is not set.
c640e87d 3037
74c582e6
CY
3038 * help.el (describe-key-briefly): Allow the message to be seen
3039 when invoked from the minibuffer (Bug#7014).
3040
d81ceaaf
DG
30412012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3042
3043 * progmodes/ruby-mode.el (ruby-end-of-defun)
3044 (ruby-beginning-of-defun): Simplify, allow indentation before
3045 block beginning and end keywords.
8f06acce
DG
3046 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3047 (ruby-end-of-defun): Expect that the point is at the beginning of
3048 the defun.
d81ceaaf 3049
d458ef98
SM
30502012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3051
3052 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3053 (bug#12367).
3054 (cl--make-usage-args): Strip _ from argument names.
3055
20367d28
RS
30562012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3057
3058 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3059 obsolete alias speedbar-key-map.
3060 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3061 (vhdl-index-menu-init): Don't use obsolete variable
3062 font-lock-maximum-size.
3063
3424a4f6
CY
30642012-09-06 Chong Yidong <cyd@gnu.org>
3065
3066 * frame.el (window-system-version): Mark as obsolete.
3067
fcbfbdea
CY
3068 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3069 of obsolete variable speedbar-key-map.
3070
826b3235
JL
30712012-09-06 Juri Linkov <juri@jurta.org>
3072
3073 * replace.el (replace-lax-whitespace): New defcustom.
3074 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3075 (replace-string, replace-regexp): Mention it in docstrings.
3076 (perform-replace, replace-highlight): Let-bind
3077 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3078 to the values of replace-lax-whitespace and regexp-flag.
3079 Don't let-bind search-whitespace-regexp. (Bug#10885)
3080
3081 * isearch.el (isearch-query-replace): Let-bind
3082 replace-lax-whitespace instead of let-binding
3083 replace-search-function and replace-re-search-function.
3084 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3085 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3086 (isearch-toggle-symbol): Set isearch-regexp to nil
3087 in isearch-word mode (like in isearch-toggle-word).
3088
1ec5e41d
JL
30892012-09-06 Juri Linkov <juri@jurta.org>
3090
3091 * replace.el (replace-search-function)
3092 (replace-re-search-function): Set default values to nil.
3093 (perform-replace): Let-bind isearch-related variables based on
3094 replace-related values, call `isearch-search-fun' and let-bind
3095 the result to `search-function'. Remove code that sets
3096 `search-function' and `search-string' separately for
3097 `delimited-flag'.
3098 (replace-highlight): Add new argument `delimited-flag' and
3099 rename other arguments to the names used in `perform-replace'.
3100 Let-bind `isearch-word' to the argument `delimited-flag'.
3101 (Bug#10885, bug#10887)
3102
0ba2d4b6
DG
31032012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3104
3105 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3106 ruby-beginning-of-indent, simplify, allow all keywords to have
3107 indentation before them.
3108 (ruby-beginning-of-indent): Adjust for above. Search until the
3109 found point is not inside a string or comment.
3110 (ruby-font-lock-keywords): Allow symbols to start with "@"
3111 character, give them higher priority than variables.
3112 (ruby-syntax-propertize-function)
3113 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3114 matchers. Expression expansions are not comments when inside a
3115 string, and there comment syntax status is irrelevant.
3116 (ruby-match-expression-expansion): New function. Check that
3117 expression expansion is inside a string, and it's not escaped.
3118 (ruby-font-lock-keywords): Use it.
3119
ef654460
MR
31202012-09-05 Martin Rudalics <rudalics@gmx.at>
3121
3122 * help.el (temp-buffer-max-height): New default value.
3123 (temp-buffer-resize-frames): New option.
3124 (resize-temp-buffer-window): Optionally resize frame.
3125
3126 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3127 (fit-frame-to-buffer): New function.
3128
7e570fbf 31292012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3130
3131 * emulation/cua-rect.el (cua--init-rectangles):
3132 * textmodes/picture.el (picture-mode-map):
3133 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3134 like forward-char and backward-char. (Bug#12317)
3135
7e570fbf 31362012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3137
3138 * progmodes/flymake.el (flymake-warning-re): New variable.
3139 (flymake-parse-line): Use it.
3140
7e570fbf 31412012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3142
3143 * calendar/holidays.el (holiday-christian-holidays):
3144 Rename an entry. (Bug#12289)
3145
7e570fbf 31462012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3147
3148 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3149 (bug#12222).
3150
972debf2
SM
31512012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3152
3153 * loadup.el: Load macroexp. Remove hack.
3154 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3155 (macroexp--expand-all): Use it to get better warnings.
3156 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3157 (internal-macroexpand-for-load): New functions.
3158 (macroexp--pending-eager-loads): New var.
3159 (emacs-startup-hook): New hack to replace one in loadup.el.
3160 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3161 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3162 (cl-psetf): Simplify.
3163 (cl-defstruct): Add indent rule.
3164
8ce192e3
LI
31652012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3166
3167 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3168 over `user-mail-address' for the SMTP MAIL FROM envelope.
3169 (smtpmail-via-smtp): Ditto.
3170
6578b4d8
DG
31712012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3172
3173 * progmodes/ruby-mode.el: Clean up keybindings.
3174 (ruby-mode-map): Don't bind ruby-electric-brace,
3175 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3176 backward-kill-word, reindent-then-newline-and-indent.
3177 (ruby-mark-defun): Remove.
3178 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3179 (ruby-mode): Set local beginning-of-defun-function and
3180 end-of-defun-function values.
3181
c5e28e39
MR
31822012-09-03 Martin Rudalics <rudalics@gmx.at>
3183
3184 * window.el (temp-buffer-window-setup-hook)
3185 (temp-buffer-window-show-hook): New hooks.
3186 (temp-buffer-window-setup, temp-buffer-window-show)
3187 (with-temp-buffer-window): New functions.
972debf2
SM
3188 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3189 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3190
3191 * help.el (temp-buffer-resize-mode): Fix doc-string.
3192 (resize-temp-buffer-window): New optional argument WINDOW.
3193
3194 * files.el (recover-file, save-buffers-kill-emacs):
3195 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3196
73406194
MA
31972012-09-02 Michael Albinus <michael.albinus@gmx.de>
3198
3199 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3200 remote definition of `default-directory', ensure we can connect.
3201
63dd1c6f
JL
32022012-09-02 Juri Linkov <juri@jurta.org>
3203
3204 Toggle whitespace matching mode with M-s SPC.
3205 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3206
3207 * isearch.el (search-whitespace-regexp): Doc fix.
3208 Remove cons cell customization.
3209 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3210 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3211 New variables.
3212 (isearch-forward, isearch-forward-regexp): Doc fix.
3213 (isearch-toggle-lax-whitespace): New command.
3214 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3215 (re-search-forward-lax-whitespace)
3216 (re-search-backward-lax-whitespace): New functions.
3217 (isearch-whitespace-regexp): Remove function.
3218 (isearch-query-replace): Let-bind replace-search-function and
3219 replace-re-search-function.
3220 (isearch-occur): Let-bind search-spaces-regexp according to the
3221 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3222 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3223 condition for C-q SPC.
3224 (isearch-search-fun-default): Use new functions mentioned above.
3225 (isearch-search-forward, isearch-search-backward): Remove functions.
3226 (isearch-search): Don't let-bind search-spaces-regexp.
3227 (isearch-lazy-highlight-space-regexp): Remove variable.
3228 (isearch-lazy-highlight-lax-whitespace)
3229 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3230 (isearch-lazy-highlight-new-loop): Use them.
3231 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3232
af7dda05
CY
32332012-09-02 Chong Yidong <cyd@gnu.org>
3234
3235 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3236
d67d3afd
GM
32372012-09-02 Glenn Morris <rgm@gnu.org>
3238
3239 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3240
69678719
GM
32412012-09-01 Glenn Morris <rgm@gnu.org>
3242
3243 * term.el: Tidy up menu definitions.
3244 (term-mode-map): Use easymenu for In/Out, Complete menus.
3245 (term-pager-break-map): Initialize in the defvar.
3246 (term-terminal-menu, term-signals-menu): Define with easymenu.
3247 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3248 (term-pager-menu): New, extracted from term-process-pager.
3249 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3250 (term-update-mode-line): Propertize line/char and page items.
3251 (term-process-pager): Move keymap initialization elsewhere.
3252
78dd6ab1
MR
32532012-09-01 Martin Rudalics <rudalics@gmx.at>
3254
3255 * window.el (switch-to-prev-buffer): Handle additional values of
3256 BURY-OR-KILL argument. Don't switch in minibuffer window.
3257 (switch-to-next-buffer): Don't switch in minibuffer window.
3258 (quit-restore-window): New function based on quit-window.
3259 Handle additional values of former KILL argument.
3260 (quit-window): Call quit-restore-window with appropriate
3261 interpretation of KILL argument.
3262 (display-buffer-below-selected): New buffer display action
3263 function.
3264
3d10e134
SM
32652012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3267 * minibuffer.el (completion-at-point-functions): Complete docstring
3268 (bug#12254).
3269
0e23ef9d
PE
32702012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3271
3272 Better seed support for (random).
3273 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3274 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3275 * play/mpuz.el, play/tetris.el, play/zone.el:
3276 * calc/calc-comb.el (math-init-random-base):
3277 * play/blackbox.el (bb-init-board):
3278 * play/life.el (life):
3279 * server.el (server-use-tcp):
3280 * type-break.el (type-break):
3281 Remove unnecessary call to (random t).
3282 * net/sasl.el (sasl-unique-id-function):
3283 Change (random t) to (random), now that the latter is more random.
3284 * play/life.el (life-initialized): Remove no-longer-needed var.
3285
862382df
MR
32862012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3287
3288 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3289 Consider frame's buffer predicate when choosing the buffer.
3290 (Bug#12081)
3291
262a66e1
RS
32922012-08-30 Richard Stallman <rms@gnu.org>
3293
3294 * simple.el (special-mode-map): Delete binding for `z'.
3295
f17e1d00
AS
32962012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3297
3298 * progmodes/compile.el (compilation-always-kill): Doc fix.
3299
24777832
CY
33002012-08-30 Chong Yidong <cyd@gnu.org>
3301
3302 * window.el (display-buffer-reuse-frames): Make the obsolescence
3303 message more informative.
3304
69ba1f04
GM
33052012-08-30 Glenn Morris <rgm@gnu.org>
3306
3307 * paren.el (show-paren-delay):
3308 Add a :set function. Doc fix. (Bug#12297)
3309
f0019ede
MB
33102012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3311
3312 * progmodes/compile.el (compilation-always-kill): New var.
3313 (compilation-start): Use it.
3314
35e62fc9
SM
33152012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3316
af070a1c
SM
3317 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3318 * files.el (read-only-mode): Move to simple.el.
3319
35e62fc9
SM
3320 * files.el (read-only-mode): New minor mode.
3321 (toggle-read-only): Use it and mark obsolete.
3322 (find-file--read-only):
3323 * vc/vc.el (vc-next-action, vc-checkout):
3324 * vc/vc-cvs.el (vc-cvs-checkout):
3325 * obsolete/vc-mcvs.el (vc-mcvs-update):
3326 * ffap.el (ffap--toggle-read-only): Update callers.
3327
c2c43c23
MA
33282012-08-29 Michael Albinus <michael.albinus@gmx.de>
3329
3330 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3331 remote shell scripts.
3332 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3333
3334 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3335 "/usr/local/sbin".
3336
9fba804b
SM
33372012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3338
3339 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3340
eada0861 33412012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3342
806f0cc7
LL
3343 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3344 completion-at-point. (Bug#12220)
3345
3bb213b9
LL
3346 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3347
22ab32ef
LL
3348 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3349
eada0861 33502012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3351
19c17fc1
CY
3352 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3353 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3354
eada0861 33552012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3356
3357 * progmodes/hideif.el (hif-compress-define-list):
3358 Fix typo. (Bug#11951)
3359
eada0861 33602012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3361
3362 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3363 buffer local setting.
3364
27d6c5a8
LL
3365 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3366 rcirc-encode-coding-system.
3367
eada0861 33682012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3369
3370 * net/rcirc.el (rcirc-split-message): New function.
3371 (rcirc-send-message): Use it. (Bug#12051)
3372
d44688e4
JL
33732012-08-28 Juri Linkov <juri@jurta.org>
3374
3375 * info.el (Info-fontify-node): Hide empty lines at the end of
3376 the node. (Bug#12272)
3377
34f10d41
MR
33782012-08-27 Drew Adams <drew.adams@oracle.com>
3379
3380 * dired.el (dired-pop-to-buffer): Make window start at beginning
3381 of buffer (Bug#12281).
3382
77f1f99c
CY
33832012-08-26 Chong Yidong <cyd@gnu.org>
3384
3385 * window.el (special-display-regexps, special-display-frame-alist)
3386 (special-display-buffer-names, special-display-function)
3387 (display-buffer-reuse-frames): Mark as obsolete.
3388
3389 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3390
3391 * help.el (help-print-return-message): Don't treat
3392 display-buffer-reuse-frames specially.
3393
d97af5a0
CY
33942012-08-26 Chong Yidong <cyd@gnu.org>
3395
9fba804b
SM
3396 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3397 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3398 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3399 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3400 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3401 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3402 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3403 the functions directly with gdb-display-buffer-other-frame-action.
3404 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3405 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3406 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3407 (gdb-display-registers-buffer): Define directly.
3408 (def-gdb-display-buffer): Macro deleted.
3409 (gdb-display-buffer): Remove second and third args, callers don't
3410 use them. Defer to the default display-buffer behavior, apart
3411 from making windows dedicated.
3412 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3413
3414 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3415
3416 * window.el (display-buffer-pop-up-frame): Handle a
3417 pop-up-frame-parameters alist entry.
3418 (display-buffer): Document it.
3419
dd7ffad6
CY
34202012-08-26 Chong Yidong <cyd@gnu.org>
3421
3422 * isearch.el (search-whitespace-regexp): Make string and nil
3423 values apply to both ordinary and regexp search. Allow a cons
3424 cell value to distinguish between the two.
3425 (isearch-whitespace-regexp, isearch-search-forward)
3426 (isearch-search-backward): New functions.
3427 (isearch-occur, isearch-search-fun-default, isearch-search)
3428 (isearch-lazy-highlight-new-loop): Use them.
3429 (isearch-forward, isearch-forward-regexp): Doc fix.
3430
4c47bd1e
CY
34312012-08-26 Chong Yidong <cyd@gnu.org>
3432
3433 * faces.el (help-argument-name): Always inherit from italic
3434 (Bug#12213).
3435
9aba119d
MR
34362012-08-25 Martin Rudalics <rudalics@gmx.at>
3437
3438 * window.el (window--even-window-heights): Even heights when
3439 WINDOW and the selected window form a vertical combination.
3440 (display-buffer-use-some-window): Provide that window used gets
3441 sized back by quit-window. (Bug#11880) and (Bug#12091)
3442
ca5256ad
PE
34432012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3444
3445 Fix file time stamp problem with bzr and CVS (Bug#12001).
3446 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3447 in the file's time stamp, since the version control system loses
3448 that information.
3449
d1c0d176
JL
34502012-08-22 Juri Linkov <juri@jurta.org>
3451
3452 * info.el (Info-fontify-node): Hide the suffix of the
3453 Info file name in the header line. (Bug#12187)
3454
141562ff
GM
34552012-08-22 Glenn Morris <rgm@gnu.org>
3456
3457 * calendar/cal-tex.el (cal-tex-weekly-common):
3458 Restore leading blank page.
3459
3a21537c 34602012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
3461
3462 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3463 the region under `shift-select-mode'. (Bug#12231)
3464
34652012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3466
3467 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3468 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3469 gives details on why the space is never needed.
3470
ea95074e
MR
34712012-08-22 Martin Rudalics <rudalics@gmx.at>
3472
9fba804b
SM
3473 * window.el (walk-window-tree, window-with-parameter):
3474 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3475 should run on the minibuffer window.
3476 (window-at-side-list): Don't operate on minibuffer window.
3477 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3478 (window--size-ignore): Rename to window--size-ignore-p.
3479 Update callers.
caceae25
MR
3480 (display-buffer-in-atom-window, window--major-non-side-window)
3481 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3482 (delete-side-window, display-buffer-in-side-window):
3483 New functions.
caceae25
MR
3484 (window--side-check, window-deletable-p, delete-window)
3485 (delete-other-windows, split-window): Handle side windows and
3486 atomic windows appropriately.
3487 (window--display-buffer): Call display-buffer-record-window also
3488 when the window buffer did not change.
ea95074e 3489
80a51fa0
CS
34902012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3491
3492 * help-fns.el (help-fns--key-bindings):
3493 Abbreviate non-symbol remap targets. (Bug#12174)
3494
fbb6300b
MR
34952012-08-22 Martin Rudalics <rudalics@gmx.at>
3496
3497 * dired.el (dired-mark-remembered): Don't clobber point.
3498 (Bug#11795)
3499
2b2c0794
GM
35002012-08-22 Glenn Morris <rgm@gnu.org>
3501
3502 * progmodes/bug-reference.el (bug-reference): New custom group.
3503 (bug-reference-bug-regexp): Make it a defcustom.
3504
37219830
DU
35052012-08-22 Daiki Ueno <ueno@unixuser.org>
3506
3507 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3508 (js-paren-indent-offset, js-square-indent-offset)
3509 (js-curly-indent-offset): Add :safe (Bug#12257).
3510
94e0e559
EC
35112012-08-22 Edward O'Connor <hober0@gmail.com>
3512
3513 * json.el (json-key-format): Add error properties.
3514 (json-encode-key): New function.
3515 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3516 Use json-encode-key.
3517
da485f5e
GM
35182012-08-22 Glenn Morris <rgm@gnu.org>
3519
3520 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3521 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3522 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3523 Update for above change.
3524
c6cc78b8
AS
35252012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3526
3527 * cus-face.el (custom-face-attributes): Fix customize type for the
3528 :underline attribute. (Bug#11805)
3529
5481664a
MR
35302012-08-21 Martin Rudalics <rudalics@gmx.at>
3531
3532 * window.el (window-point-1, set-window-point-1): Remove.
3533 (window-in-direction, record-window-buffer)
3534 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3535 (window--state-get-1, display-buffer-record-window):
3536 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3537 window-point and set-window-point respectively.
3538
6d74698e
GM
35392012-08-21 Glenn Morris <rgm@gnu.org>
3540
b7fa2691
GM
3541 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3542 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3543 Use it.
3544
52f56d5a
GM
3545 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3546 (cal-tex-shortday): New function.
3547 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3548 (cal-tex-cursor-filofax-daily): Use the above.
3549
9f1ee09e
GM
3550 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3551 New functions.
3552 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3553 (cal-tex-cursor-filofax-week): Use them.
3554
79858159
GM
3555 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3556 New constants.
3557 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3558 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3559
d346b2b4
GM
3560 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3561 (cal-tex-end-document): Don't rely on buffer name.
3562
b2403709
GM
3563 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3564 Use cal-tex-vspace.
3565 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3566 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3567 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3568 Use cal-tex-arg.
b2403709 3569
1cebb5c0
GM
3570 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3571 (cal-tex-cursor-week, cal-tex-cursor-week2)
3572 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3573 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3574 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3575 (cal-tex-insert-preamble, cal-tex-b-document)
3576 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3577 Improve cal-tex-cmd usage.
3578
c68cd5d4
GM
3579 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3580 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3581 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3582 (cal-tex-weekly-paper): New function.
3583 (cal-tex-cursor-week, cal-tex-cursor-week2)
3584 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3585 (cal-tex-cursor-day): Use it.
3586
9dca4801
GM
3587 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3588 (cal-tex-cursor-filofax-week): Remove leading blank page.
3589
1941e134
GM
3590 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3591 Add autoload cookie. For now at least, don't use color, since
3592 no other cal-tex function does.
3593
6d74698e
GM
3594 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3595 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3596 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3597
64cde199
JL
35982012-08-21 Juri Linkov <juri@jurta.org>
3599
3600 * info.el (Info-file-attributes): New variable.
3601 (info-insert-file-contents): Add file attributes to
3602 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3603 `Info-toc-nodes' when previous modtime of the Info file is less
3604 than new modtime.
3605 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3606 of info.el. (Bug#12230)
3607
32757648
GM
36082012-08-20 Glenn Morris <rgm@gnu.org>
3609
3610 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3611 * calendar/holidays.el (calendar-holiday-list):
3612 Report errors with display-warning rather than beep'n'sleep.
3613
a32fbbcf
MA
36142012-08-20 Michael Albinus <michael.albinus@gmx.de>
3615
3616 * net/tramp.el (tramp-accept-process-output): Accept only output
3617 from PROC. Otherwise, process filters and sentinels might be
3618 confused. (Bug#12145)
3619
a05731a0
CY
36202012-08-20 Chong Yidong <cyd@gnu.org>
3621
3622 * descr-text.el (describe-text-properties-1): Use overlays-in to
3623 report on empty overlays (Bug#3322).
3624
36e8d1eb
GM
36252012-08-20 Glenn Morris <rgm@gnu.org>
3626
3d300447
GM
3627 * mail/rmailout.el (rmail-output-read-file-name):
3628 Trap and report errors in rmail-output-file-alist elements.
3629
36e8d1eb
GM
3630 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3631 since most non-font-lock faces are not also variables).
3632
b96e5814
ER
36332012-08-20 Edward Reingold <reingold@iit.edu>
3634
3635 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3636 New function. (Bug12160)
3637
7cef3569
GM
36382012-08-19 Glenn Morris <rgm@gnu.org>
3639
3640 * mail/rmailout.el (rmail-output-read-file-name):
3641 Fix previous change (when the alist is nil or does not match).
3642
17975d7f
CY
36432012-08-19 Chong Yidong <cyd@gnu.org>
3644
3645 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3646 (Bug#12228).
3647
2170b1bd
CY
36482012-08-18 Chong Yidong <cyd@gnu.org>
3649
3650 * simple.el (yank-handled-properties): New defcustom.
3651 (yank-excluded-properties): Add font-lock-face and category.
3652 (yank): Doc fix.
3653
9fba804b
SM
3654 * subr.el (remove-yank-excluded-properties):
3655 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3656 and category is now done this way, instead of being hard-coded.
3657 (insert-for-yank-1): Remove font-lock-face handling.
3658 (yank-handle-font-lock-face-property)
3659 (yank-handle-category-property): New function.
3660
ee218151
GM
36612012-08-17 Glenn Morris <rgm@gnu.org>
3662
3663 * mail/rmailout.el (rmail-output-read-file-name):
3664 Check rmail-output-file-alist against the full message body
3665 in the correct rmail buffer. (Bug#12214)
3666
4a6bc3fd
MA
36672012-08-17 Michael Albinus <michael.albinus@gmx.de>
3668
9fba804b
SM
3669 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3670 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3671
383dcbf9
CY
36722012-08-17 Chong Yidong <cyd@gnu.org>
3673
3674 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3675 font spec, set the font directly (Bug#3228).
3676
998c4a6a
MR
36772012-08-17 Martin Rudalics <rudalics@gmx.at>
3678
3679 * window.el (delete-window): Fix last fix.
3680
52162052
MR
36812012-08-16 Martin Rudalics <rudalics@gmx.at>
3682
3683 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3684 (window-child, window-child-count, window-last-child)
3685 (window-normalize-window, window-combined-p)
3686 (window-combinations, window-atom-root, window-min-size)
3687 (window-sizable, window-sizable-p, window-size-fixed-p)
3688 (window-min-delta, window-max-delta, window--resizable)
3689 (window--resizable-p, window-resizable, window-total-size)
3690 (window-full-height-p, window-full-width-p, window-body-size)
3691 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3692 (minimize-window, window-deletable-p, delete-window)
3693 (delete-other-windows, set-window-buffer-start-and-point)
3694 (next-buffer, previous-buffer, split-window, balance-windows-2)
3695 (set-window-text-height, window-buffer-height)
3696 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3697 (truncated-partial-width-window-p): Minor code adjustments.
3698 In doc-strings state whether the argument window has to denote a
85c2386b 3699 live, valid or any window.
52162052 3700
1c308380
PS
37012012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3702
3703 * progmodes/subword.el (subword-forward-function)
3704 (subword-backward-function, subword-forward-regexp)
3705 (subword-backward-regexp): New variables.
3706 (subword-forward, subword-forward-internal, subword-backward-internal):
3707 Use new variables, eg so that different "word" definitions
3708 can be easily used. (Bug#11411)
3709
94c9ece1
SM
37102012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3711
3712 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3713 for composite selectors.
3714 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3715 operation just because we can't find a previous revision.
3716
f2045622
CY
37172012-08-15 Chong Yidong <cyd@gnu.org>
3718
3719 * frame.el (set-frame-font): Accept font objects.
3720
582db660
SM
37212012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3722
3723 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3724
2f29c200
WJ
37252012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3726
456e62c2
WJ
3727 * man.el (Man-overstrike-face, Man-underline-face)
3728 (Man-reverse-face): Remove variables.
3729 (Man-overstrike, Man-underline, Man-reverse): New faces.
3730 (Man-fontify-manpage): Use them instead of the variables.
3731 (Man-cleanup-manpage): Comment change.
3732 (Man-ansi-color-map): New variable.
3733 (Man-fontify-manpage): Use it.
3734 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3735
2f29c200
WJ
3736 Implement ANSI SGR parameters 22-27 (bug#12146).
3737 * ansi-color.el (ansi-colors): Doc fix.
3738 (ansi-color-context, ansi-color-context-region): Doc fix.
3739 (ansi-color--find-face): New function.
3740 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3741 Rename the local variable `face' to `codes' since it is now a list of
3742 ansi codes. Doc fix.
3743 (ansi-color-get-face): Remove.
3744 (ansi-color-parse-sequence): New function, derived from
3745 ansi-color-get-face.
3746 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3747 codes 22-27.
3748
b4f5e9df
SM
37492012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * subr.el (read-passwd): Allow use from a minibuffer.
3752
ba025fbd
EZ
37532012-08-14 Eli Zaretskii <eliz@gnu.org>
3754
3755 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3756 inside comments and strings as identifiers.
3757
3758 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3759 expression to evaluate. This allows to evaluate expressions with
3760 embedded whitespace.
3761 (gud-tooltip-tips): Add a blank before the newline in the
3762 message-box text, for the benefit of message-box emulation on
3763 MS-Windows.
3764
3765 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3766 messages from GDB, pop them up in a tooltip to give feedback to
3767 user.
b4f5e9df
SM
3768 (gdb-tooltip-print-1): Quote the expression to evaluate.
3769 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3770 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3771 if the TTY name is nil or empty (which happens when communicating
3772 with the inferior via pipes, e.g. on MS-Windows).
3773 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3774 don't send that to the GUD buffer.
3775
c548f821
GM
37762012-08-14 Glenn Morris <rgm@gnu.org>
3777
3778 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3779 Optimize away setq-default with no args, as for setq. (Bug#12195)
3780
55802e4a
CY
37812012-08-14 Chong Yidong <cyd@gnu.org>
3782
4abcdac8
CY
3783 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3784
55802e4a
CY
3785 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3786 (Bug#12085).
3787
3c3cda1a
GM
37882012-08-14 Glenn Morris <rgm@gnu.org>
3789
3790 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3791
e1873bd0
MA
37922012-08-14 Michael Albinus <michael.albinus@gmx.de>
3793
3794 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3795 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3796 Use cached shell name.
3797
925411b4
FEG
37982012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3799
3800 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3801 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3802
e636fafe
DG
38032012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3804
3805 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3806 (ruby-percent-literal-beg-re): New constant.
3807 (ruby-syntax-general-delimiters-goto-beg): Rename to
3808 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3809 (ruby-syntax-propertize-general-delimiters): Rename to
3810 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3811 popular term. Adjust comments everywhere.
3812 (ruby-syntax-propertize-percent-literal): Only propertize when not
3813 inside a simple string or comment. When the literal is unclosed,
3814 leave the text after it unpropertized.
f063063a
DG
3815 (ruby-syntax-methods-before-regexp): New constant.
3816 (ruby-syntax-propertize-function): Use it to recognize regexps.
3817 Don't look at the text after regexp, just use the whitelist.
e636fafe 3818
e5b19827
AS
38192012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3820
3821 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3822 non-nil always load the compiled file if it exists. (Bug#12197)
3823
a9f6f311
CY
38242012-08-14 Chong Yidong <cyd@gnu.org>
3825
3826 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3827 (hi-lock-set-pattern): When deciding whether to use font lock or
3828 overlays, look at font-lock-mode instead of font-lock-fontified
3829 (Bug#12168).
3830 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3831 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3832
7d806b1e
DU
38332012-08-14 Daiki Ueno <ueno@unixuser.org>
3834
3835 * subr.el (internal--after-with-selected-window): Fix typo
3836 (Bug#12193).
3837
5beed586
FEG
38382012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3839
3840 Use `completion-table-dynamic' for completion functions.
3841 * progmodes/python.el
3842 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3843 (python-shell-completion--get-completions):
3844 Remove functions.
5beed586
FEG
3845 (python-shell-completion-complete-at-point): New function.
3846 (python-completion-complete-at-point): Use it.
3847
92cb3b04
J
38482012-08-13 Jambunathan K <kjambunathan@gmail.com>
3849
3850 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3851 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3852
89660017
SM
38532012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3c98c962
SM
3855 * subr.el (function-get): Refine `autoload' arg so it can also
3856 autoload functions for gv.el (bug#12191).
3857 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3858 autoloads macros.
3859
aa7c6dbe
SM
3860 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3861 Prefer pcase-let over destructuring-bind.
3862 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3863 Also, remove whitespace as we go, rather than after accumulating the
3864 various places.
3865
89660017
SM
3866 * subr.el (internal--before-with-selected-window)
3867 (internal--after-with-selected-window): Fix typo seleted->selected.
3868 (with-selected-window): Adjust callers.
3869 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3870
31cd32c9
BG
38712012-08-13 Bastien Guerry <bzg@gnu.org>
3872
0fcd3d9f 3873 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3874 enhancement. (Bug#12172)
3875
1b15d8ad
AS
38762012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3877
31e54db0
AS
3878 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3879 type 1-6.
3880 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3881 extended headers.
3882
1b15d8ad
AS
3883 * files.el (hack-local-variables-filter): Remove useless eval.
3884
35cb9c06
MR
38852012-08-13 Martin Rudalics <rudalics@gmx.at>
3886
3887 * subr.el (with-selected-window): Fix last change.
3888
1439443b
SM
38892012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3890
3891 * subr.el (internal--before-with-seleted-window)
3892 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3893 (with-selected-window): Use them, to replace dependency on
3894 tty-top-frame.
1439443b 3895
0d9e2599
NN
38962012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3897
3898 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3899 binding for `newline'.
3900 (ruby-move-to-block): When moving backward, stop at block opening,
3901 not indentation.
3902 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3903 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3904 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3905 `ruby-toggle-block'.
3906
ba10c48c
SM
39072012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3908
3909 * ibuffer.el (ibuffer-do-toggle-read-only):
3910 * dired.el (dired-toggle-read-only):
3911 * buff-menu.el (Buffer-menu-toggle-read-only):
3912 * bindings.el (mode-line-toggle-read-only):
3913 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3914
9229c658
AS
39152012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3916
3917 * descr-text.el (describe-char): Put the overlays over the
3918 "displayed as" character.
3919
0fd09128
JB
39202012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3921
3922 * calc/calc-units.el (math-default-units-table): Give an
3923 initial value.
3924 (math-put-default-units): Add options to put composite units and
3925 unit systems in the default units table.
3926 (calc-convert-units): Send composite units to
3927 `math-put-default-units' when appropriate.
3928
9ff9402d 39292012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3930
fbb5e336
GM
3931 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3932
7aacaf15
GM
3933 * tutorial.el (help-with-tutorial):
3934 * emacs-lisp/copyright.el (copyright-update-directory):
3935 * emacs-lisp/autoload.el (autoload-find-generated-file)
3936 (autoload-find-file): Disable local eval: (for insurance).
3937
f40b9f10
GM
3938 * files.el (hack-local-variables-filter): If an eval: form is not
3939 known to be safe, and enable-local-variables is :safe, then ignore
3940 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3941 This is CVE-2012-3479.
f40b9f10 3942
daa9f1a6
SM
39432012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3946 (rx-form): Simplify.
3947
9cd80478
DG
39482012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3949
0d9e2599
NN
3950 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3951 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3952 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3953 (ruby-syntax-propertize-function): Adjust for changes in
3954 `ruby-syntax-propertize-heredoc'.
3955
39562012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3957
9cd80478
DG
3958 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3959 binding (use `M-;' instead).
9cd80478 3960 (ruby-singleton-class-p): New function.
0d9e2599 3961 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3962
d301b413
SM
39632012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3964
3965 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3966
1530c98e
CY
39672012-08-10 Chong Yidong <cyd@gnu.org>
3968
3969 * progmodes/python.el (python-shell-get-process-name): Don't mess
3970 with same-window-buffer-names.
3971
3972 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3973 (eshell-remove-from-window-buffer-names): Make obsolete.
3974 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3975 (eshell): Just use pop-to-buffer-same-window instead.
3976
e1293765
CY
39772012-08-10 Chong Yidong <cyd@gnu.org>
3978
3979 * bindings.el: Bind M-= back to count-words-region.
3980
3981 * simple.el (count-words-region): Accept a prefix arg for acting
3982 on the entire buffer.
3983 (count-words--buffer-message): New helper function.
3984
e1894109
SM
39852012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3988 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3989 (event-start, event-end): Use posn-at-point to return a more
3990 informative posn.
3991 (posnp): New function.
3992 * mouse.el (popup-menu-normalize-position): Use it.
3993
c69f56a2
MY
39942012-08-10 Masatake YAMATO <yamato@redhat.com>
3995
3996 * mouse.el (popup-menu-normalize-position): New function.
3997 (popup-menu): Use `popup-menu-normalize-position' to normalize
3998 the form for POSITION argument.
3999
4000 * term/x-win.el (x-menu-bar-open):
4001 Use the value returend from (posn-at-point) as position
4002 passed to `popup-menu'.
4003
31673780
JB
40042012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4005
4006 * calc/calccomp.el (math-compose-expr): Add extra argument
4007 indicating that parentheses should be put around products in
4008 denominators. Give multiplication precedence over division during
4009 composition.
4010
dab7711b
CY
40112012-08-09 Chong Yidong <cyd@gnu.org>
4012
dee4ef93
CY
4013 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4014 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4015 (Man-untabify-command, manual-program): Convert to defcustom
4016 (Bug#10429).
4017
73e2bbc5
CY
4018 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4019
3e861c8a
CY
4020 * descr-text.el (describe-char): Don't insert extra newlines
4021 (Bug#10127).
4022
a9f5a649
CY
4023 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4024 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4025
dab7711b
CY
4026 * align.el (align-region): Delete temporary markers (Bug#10047).
4027 Plus some code cleanups.
4028
e0cc4efa
FEG
40292012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4030
4031 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4032 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4033 (python-shell-internal-last-output): Use make-local-variable
4034 instead of make-variable-buffer-local.
4035
489af14f
FEG
40362012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4037
4038 * progmodes/python.el: Enhancements to forward-sexp.
4039 (python-nav-forward-sexp): Rename from
4040 python-nav-forward-sexp-function.
c69f56a2
MY
4041 (python-nav--forward-sexp, python-nav--backward-sexp):
4042 New functions.
489af14f 4043
0fc50303
JB
40442012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4045
4046 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4047 modes and simplification modes.
4048
5d65606a
SM
40492012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * delsel.el (delete-selection-pre-hook): Don't propagate the
4052 file-supersession signals (bug#12161).
4053
4250fdf5
SM
40542012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4055
4056 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4057 (cl-map-extents): Add compatibility aliases (bug#12135).
4058
d9f9b465
MA
40592012-08-08 Michael Albinus <michael.albinus@gmx.de>
4060
4061 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4062 tests by `ignore-error'.
4063 (tramp-find-shell): Open also a new shell, when cache is already
4064 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4065
ce0fcefa
JL
40662012-08-08 Juri Linkov <juri@jurta.org>
4067
4068 * bookmark.el: Add `defaults' property to the bookmark record.
4069 (bookmark-current-buffer): Doc fix.
4070 (bookmark-make-record): Add `defaults' property with default values
4071 to the bookmark record.
4072 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4073 with `bookmark-insert-current-bookmark'.
4074 (bookmark-set): Get `defaults' property from the bookmark record
4075 and use it in `read-from-minibuffer'.
4076 (bookmark-insert-current-bookmark): Remove function.
4077
4078 * info.el (Info-bookmark-make-record): Add `defaults' property
4079 with values of canonical Info node name, the current Info file
4080 name and the current Info node name. (Bug#12107)
4081
53fa8652
JL
40822012-08-08 Juri Linkov <juri@jurta.org>
4083
4084 * files.el (basic-save-buffer): Use `buffer-name' as the default
4085 of `read-file-name' when buffer is not visiting a file (bug#12128).
4086
242c0a95
JL
40872012-08-08 Juri Linkov <juri@jurta.org>
4088
4089 * info.el (Info-isearch-search): Doc fix.
4090 (Info-search): Change search-failed message from "initial node" to
4091 "end of node" (bug#12078).
4092 (Info-isearch-search): Change `isearch-string-state' to
4093 `isearch--state-string'.
4094
32ac3a6b
GM
40952012-08-08 Glenn Morris <rgm@gnu.org>
4096
4097 * language/persian.el: Remove file.
f8c1afd5 4098 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4099 * loadup.el: Remove language/persian.
4100
2c2d9c9c
OF
41012012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4102
4103 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4104
2d79ec42
FEG
41052012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4106
4107 * progmodes/python.el Fixed defsubst warning.
4108 (python-syntax-context) Rename from python-info-ppss-context.
4109 (python-syntax-context-type): Rename from
4110 python-info-ppss-context-type.
4111 (python-syntax-comment-or-string-p): Rename from
4112 python-info-ppss-comment-or-string-p.
4113
2bd255dd
JB
41142012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4115
4116 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4117
c395097f
AS
41182012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4119
6125983e
AS
4120 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4121 a defcustom that is quoted with backquote.
4122
4250fdf5
SM
4123 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4124 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4125 (math-do-arg-check, math-define-function-body): Use backquote forms.
4126 * calc/calc-ext.el (math-defcache): Likewise.
4127 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4128 * allout.el (allout-new-exposure): Likewise.
4129 * calc/calcalg2.el (math-tracing-integral): Likewise.
4130 * info.el (Info-last-menu-item): Likewise.
4131 * emulation/vip.el (vip-loop): Likewise.
4132 * textmodes/artist.el (artist-funcall): Likewise.
4133 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4134 Construct menu-item directly.
4135
4250fdf5
SM
4136 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4137 Don't declare.
c395097f 4138
5fb50dd3
CY
41392012-08-07 Chong Yidong <cyd@gnu.org>
4140
4141 * simple.el (deactivate-mark): Preserve text properties when
4142 saving the primary selection (Bug#8384).
4143
54eea618
KR
41442012-08-07 Kevin Ryde <user42@zip.com.au>
4145
4146 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4147 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4148 and continue processing (Bug#12110).
4149
638eaeb9
SM
41502012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4151
4152 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4153 syntax-propertize-function (bug#10095).
4154
ea376861
SM
41552012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4156
f91b35be
SM
4157 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4158 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4159 describe-function-1.
4160 (describe-function-1): Use them. Move compiler macro after sig.
4161 (help-fns--compiler-macro): Use function-get. Assume we're already in
4162 standard-output. Adjust layout to new call order.
4163
ea376861
SM
4164 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4165 re-binding a symbol that has a symbol-macro (bug#12119).
4166
d5be7bd0
MB
41672012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4168
4169 * language/persian.el: New file. (Bug#11812)
4170 * loadup.el: Add language/persian.el.
4171
90749b53
CY
41722012-08-06 Chong Yidong <cyd@gnu.org>
4173
4174 * window.el (window--maybe-raise-frame): New function.
4175 (window--display-buffer): Split off from here.
4176 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4177 (display-buffer-pop-up-window, display-buffer-use-some-window):
4178 Obey an inhibit-switch-frame action alist entry.
4179 (display-buffer): Update doc.
4180
4181 * replace.el (occur-after-change-function): Avoid losing focus by
4182 using the inhibit-switch-frame display parameter (Bug#12139).
4183
ba7b0154
FEG
41842012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4185
4186 Make internal shell process buffer names start with space.
4187 * progmodes/python.el (python-shell-make-comint): Add optional
4188 argument INTERNAL.
4189 (run-python-internal): Use it.
4190 (python-shell-internal-get-or-create-process): Check for new
4191 internal buffer names.
4192
5eaeacb5
GM
41932012-08-06 Glenn Morris <rgm@gnu.org>
4194
e296d94b 4195 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4196 Do less getting and setting of environment variables.
4197
b7ccbdc2
CY
41982012-08-05 Chong Yidong <cyd@gnu.org>
4199
777fe95e
CY
4200 * proced.el (proced): Add substitution string to docstring to
4201 trigger autoloading of the proced library on C-h f (Bug#1768).
4202
4250fdf5
SM
4203 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4204 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4205
4206 * imenu.el (imenu-generic-expression): Move documentation here
4207 from imenu--generic-function.
4208 (imenu--generic-function): Refer to imenu-generic-expression.
4209
9e3b7800 42102012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4211
4212 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4213 indentation declaration.
4214 (viper-loop): Add indentation declaration (Bug#7025).
4215
e5d9c0d1
CY
42162012-08-05 Chong Yidong <cyd@gnu.org>
4217
f0422feb
CY
4218 * help-fns.el (describe-variable): Add hyperlink for
4219 directory-local variables files. Improve buffer-local and
4220 permanent-local reporting; suggested by MON KEY (Bug#6644).
4221
4222 * help-mode.el (help-dir-local-var-def): New button type.
4223
e5d9c0d1
CY
4224 * files.el (kill-buffer-hook): Provide a defvar.
4225
a4f2deaa
GM
42262012-08-05 Glenn Morris <rgm@gnu.org>
4227
4228 * eshell/esh-ext.el (eshell/addpath):
4229 Also update eshell-path-env. (Bug#12013)
4230
a9dd5754
CY
42312012-08-05 Chong Yidong <cyd@gnu.org>
4232
a4f2deaa 4233 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4234
d014c740
CY
4235 * fringe.el (fringe-styles): Add docstring.
4236 (fringe--check-mode): New function.
4237 (set-fringe-mode, set-fringe-style): Use it.
4238 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4239
a9dd5754
CY
4240 * files.el (set-auto-mode): Fix invalid setq call.
4241
7c2dc8bd
SM
42422012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * isearch.el: Misc simplification; use defstruct.
4245 (isearch-mode-map): Dense maps now work like sparse ones.
4246 (isearch--state): New defstruct.
4247 (isearch-string-state, isearch-message-state, isearch-point-state)
4248 (isearch-success-state, isearch-forward-state)
4249 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4250 (isearch-wrapped-state, isearch-barrier-state)
4251 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4252 replaced by defstruct's accessors.
4253 (isearch--set-state): Rename from isearch-top-state and change
4254 calling convention.
4255 (isearch-push-state): Use new isearch--get-state.
4256 (isearch-toggle-word): Disable regexp when enabling word.
4257 (isearch-message-prefix): Remove unused arg _c-q-hack.
4258 (isearch-message-suffix): Remove unused arg _ellipsis.
4259
7fcc0070
AS
42602012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4261
4262 * simple.el (list-processes--refresh): For a server use :host or
4263 :local as the address.
97ad0769 4264 (list-processes): Doc fix.
7fcc0070 4265
a11035b8 42662012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4267
4268 * lisp/mpc.el: Support password in host argument.
4269 (mpc--proc-connect): Parse and use new password element.
4270 Set mpc-proc variable instead of returning process.
4271 (mpc-proc): Adjust accordingly.
4272
6dad7178
EZ
42732012-08-03 Eli Zaretskii <eliz@gnu.org>
4274
18949c2f
EZ
4275 * whitespace.el (whitespace-display-mappings): Use Unicode
4276 codepoints, instead of emacs-mule codepoints. See
4277 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4278 for the details.
4279
6dad7178
EZ
4280 * files.el (file-truename): Don't skip symlink-chasing part on
4281 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
4282 Windows into the loop that recursively chases symlinks.
4283 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
4284 MS-DOS.
4285
385b0198
CY
42862012-08-03 Chong Yidong <cyd@gnu.org>
4287
6200f3c4
CY
4288 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4289
385b0198
CY
4290 * sort.el (sort-regexp-fields): Doc fix.
4291
b9e74744
TH
42922012-08-03 Tassilo Horn <tsdh@gnu.org>
4293
4294 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4295 labels regex position point at the expected place.
4296
41013cb4
MK
42972012-08-03 MON KEY <monkey@sandpframing.com>
4298
4299 * net/imap.el (imap-interactive-login, imap-authenticate)
4300 (imap-mailbox-lsub, imap-mailbox-list)
4301 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4302 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4303 (imap-parse-response): Doc fix.
4304
0ffee616
JT
43052012-08-03 João Távora <joaotavora@gmail.com>
4306
4307 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4308 if sexp scanning does not move point (Bug#5734).
4309
cfcc9cc8
TH
43102012-08-02 Tassilo Horn <tsdh@gnu.org>
4311
4312 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4313 Add listings, minted, and ctable packages.
4314 (reftex-label-alist-builtin): Move listings, minted, and ctable
4315 entries before LaTeX.
a01bbb84 4316 (reftex-label-alist): Docfix.
cfcc9cc8 4317
66ec2442
BG
43182012-08-02 Bastien Guerry <bzg@gnu.org>
4319
4320 * replace.el (occur): Fix docstring (bug#12122).
4321
837b365b
GM
43222012-08-02 Glenn Morris <rgm@gnu.org>
4323
4324 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4325
e098de97
PE
43262012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4327
4328 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4329 * international/mule-cmds.el: Create
4330 inactivate-current-input-method-function as an obsolete alias for
4331 deactivate-current-input-method-function. See Katsumi Yamaoka in
4332 <http://bugs.gnu.org/10150#46>.
4333
a0f95636
JB
43342012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4335
4336 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4337 of nested `if's.
4338
0d26d7c4
GM
43392012-08-01 Glenn Morris <rgm@gnu.org>
4340
4341 * progmodes/autoconf.el (autoconf-definition-regexp):
4342 Add AH_TEMPLATE, adjust submatch numbering.
4343 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4344 (autoconf-current-defun-function): Update for above change.
4345 (autoconf-current-defun-function): First skip to end of current word.
4346
b686ba06
RS
43472012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4348
4349 * calendar/cal-html.el (cal-html-insert-agenda-days):
4350 Fix typo. (Bug#12018)
4351
0d49da68
FEG
43522012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4353
4354 Shell processes: enhancements to startup and CEDET compatibility.
4355 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4356 (python-shell-make-comint): accept-process-output at startup.
4357 (run-python-internal): Set inferior-python-mode-hook to nil.
4358 (python-shell-internal-get-or-create-process): call sit-for.
4359 (python-preoutput-result): Add obsolete alias.
4360 (python-shell-internal-send-string): Use it.
4361 (python-shell-send-setup-code): Remove call to
4362 accept-process-output.
4363
f1a71c6e
AS
43642012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4365
4366 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4367 (Bug#12108)
4368
d2605269
JB
43692012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4370
4371 * calc-mode.el (calc-basic-simplification-mode): Rename from
4372 `calc-limited-simplification-mode'.
4373 (calc-alg-simplification-mode): New function.
fc0c31f8 4374 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4375
d2605269
JB
4376 * calc.el (calc-set-mode-line): Adjust mode line display for
4377 basic simplification mode.
4378
4379 * calc-help.el (calc-m-prefix-help): Update help message.
4380
4381 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4382 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4383
a3827a43
BG
43842012-07-31 Bastien Guerry <bzg@gnu.org>
4385
4386 * man.el (man): Fix comment. (bug#12101)
4387
502e3f89
MR
43882012-07-31 Martin Rudalics <rudalics@gmx.at>
4389
4390 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4391 Don't return a non-nil value when no suitable buffer was found.
4392
d7714961
FEG
43932012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4394
4395 * progmodes/python.el (run-python-internal): Disable font lock for
4396 internal shells.
4397
1f45e27e
SM
43982012-07-30 Stefan Merten <smerten@oekonux.de>
4399
70efc5c9 4400 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4401 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4402 (rst-official-version, rst-official-cvs-rev)
4403 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4404 (rst-mode-map): New key binding.
4405
0aee6912
PE
44062012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4407
4408 Update .PHONY listings in makefiles.
4409 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4410 autoloads, update-subdirs, updates, bzr-update, update-authors,
4411 compile-onefile, compile-calc, backup-compiled-files,
4412 compile-after-backup, compile-one-process, mh-autoloads,
4413 bootstrap-clean, distclean, maintainer-clean.
4414
9052f9f0
JB
44152012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4416
1823ac5a
JB
4417 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4418 (calc-set-mode-line): Don't display "AlgSimp ".
4419
4420 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4421 (calc-lim-simplify-mode): New function.
4422 (calc-set-simplify-mode): Default to 'alg.
4423 (calc-default-simplify-mode): Make algebraic simplifications
4424 the default.
4425
4426 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4427 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4428
8d7c7eed 4429 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4430 indicate new simplification modes.
4431
1823ac5a
JB
4432 * calc/README: Mention new default simplification mode.
4433
9052f9f0
JB
4434 * calc/calc.el (math-normalize-error): New variable.
4435 (math-normalize): Set `math-normalize-error' to t
4436 when there's an error.
4437
4438 * calc/calc-alg.el (math-simplify): Don't simplify when
4439 `math-normalize' returns an error.
4440
20ba0cb4
EZ
44412012-07-29 Eli Zaretskii <eliz@gnu.org>
4442
4443 * international/mule-cmds.el (set-locale-environment): Revert last
4444 change, since display-graphic-p returns nil when this function is
4445 called during startup. Instead...
4446
4447 * term/w32console.el (terminal-init-w32console): ...setup the
4448 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4449
a5dcc929
JL
44502012-07-29 Juri Linkov <juri@jurta.org>
4451
4452 * simple.el (goto-line): Don't display default line number in the
4453 prompt because it should be displayed by `read-number' (bug#9952).
4454 Add the current line number to the defaults of `goto-line' to
4455 allow its easier modification by users with `M-n' (bug#9201).
4456
4457 * subr.el (read-number): Support multiple default values like in
4458 other minibuffer reading functions. Replace `read' with
4459 `string-to-number' for consistency with `number-to-string'.
4460
72b255c7
PE
44612012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4462
4463 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4464 * emulation/viper-init.el (viper-deactivate-input-method-action):
4465 Rename from viper-inactivate-input-method-action.
4466 (viper-deactivate-input-method):
4467 Rename from viper-inactivate-input-method.
4468 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4469 * international/mule-cmds.el (deactivate-input-method):
4470 Rename from inactivate-input-method.
4471 Also run input-method-deactivate-hook.
4472 (deactivate-current-input-method-function):
4473 Rename from inactivate-current-input-method-function.
4474 (input-method-deactivate-hook): New hook.
4475 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4476 (inactivate-input-method): Mark obsolete.
4477
72b255c7
PE
4478 * international/quail.el (quail-activate):
4479 Also run quail-deactivate-hook.
4480 (quail-deactivate): Rename from quail-inactivate.
4481 * international/robin.el (robin-activate):
4482 Also run robin-deactivate-hook.
4483 (robin-deactivate): Rename from robin-inactivate.
4484
2549c068
CY
44852012-07-29 Chong Yidong <cyd@gnu.org>
4486
4487 * simple.el (indicate-copied-region): New function.
4488 (kill-ring-save): Split off from here.
4489
4490 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4491 (kill-rectangle): Set deactivate-mark to t on read-only error.
4492
4493 * register.el (copy-to-register, copy-rectangle-to-register):
4494 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4495 (append-to-register, prepend-to-register): Call indicate-copied-region.
4496
44972012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4498
4499 * simple.el (async-shell-command-buffer): New defcustom.
4500 (shell-command): Use it. (Bug#4719)
4501
01bd1b0d
EZ
45022012-07-28 Eli Zaretskii <eliz@gnu.org>
4503
4504 * international/mule-cmds.el (set-locale-environment): In a
4505 console session on MS-Windows, set up keyboard and terminal
4506 encoding from the OEM codepage, not the ANSI codepage.
4507 (Bug#12055)
4508
a55739d3
CY
45092012-07-28 Chong Yidong <cyd@gnu.org>
4510
4511 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4512 gdb-get-location.
4513
0e1a094f 45142012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4515
4516 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4517 the alist (bug#12029).
4518
20329d73
EZ
45192012-07-28 Eli Zaretskii <eliz@gnu.org>
4520
4521 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4522 (compile-always, compile-first)
4523 ($(lisp)/calendar/cal-loaddefs.el)
4524 ($(lisp)/calendar/diary-loaddefs.el)
4525 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4526 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4527 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4528 instead of on update-subdirs.
4529 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4530
345a2258
CY
45312012-07-28 Chong Yidong <cyd@gnu.org>
4532
1eee6341
CY
4533 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4534 directory if vc-deduce-backend returns nil (Bug#7350).
4535
345a2258
CY
4536 * simple.el (delete-trailing-lines): New option.
4537 (delete-trailing-whitespace): Obey it (Bug#11879).
4538
049a0936
DE
45392012-07-28 David Engster <deng@randomsample.de>
4540
4541 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4542 Explanation of new 'symbol-qnames feature in doc-strings.
4543 (xml-maybe-do-ns): Return expanded names as plain symbols if
4544 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4545 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4546
aa81af71
FEG
45472012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4548
4549 Consistent completion in inferior python with emacs -nw.
4550 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4551 binding in inferior-python-mode-map with "\t".
4552 (python-shell-completion-complete-at-point)
4553 (python-completion-complete-at-point): Remove interactive spec.
4554
e827b1eb
JB
45552012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4556
4557 * calc/calccomp.el (math-compose-expr): Undo previous change.
4558
a90dfb95
FEG
45592012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4560
4250fdf5 4561 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4562 run-python.
4563 (python-shell-make-comint): Fix pop-to-buffer call.
4564 (run-python): Autoload. New arg SHOW.
4565 (python-shell-get-or-create-process): Do not pop python process
4566 buffer.
4567
32770973 45682012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4569
4570 * notifications.el (notifications-on-action-signal)
4571 (notifications-on-closed-signal): Use also the bus address for the map.
4572 (notifications-notify, notifications-close-notification)
fc0c31f8 4573 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4574
86332df2
TH
45752012-07-27 Tassilo Horn <tsdh@gnu.org>
4576
4250fdf5
SM
4577 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4578 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4579 ctable macro.
4580 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4581 labels written in keyvals syntax.
4582
ca1302a4
JB
45832012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4584
4585 * calc/calccomp.el (math-compose-expr): Use parentheses when
4586 there is a product in the denominator of a fraction.
4587
f8b91036
EZ
45882012-07-26 Eli Zaretskii <eliz@gnu.org>
4589
4590 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4591 ($(lisp)/calendar/diary-loaddefs.el)
4592 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4593 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4594 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4595 rewritten while the autoload files are built at the same time,
4596 which needs to load subdirs.el.
4597
c8e5a42c
MR
45982012-07-26 Martin Rudalics <rudalics@gmx.at>
4599
4600 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4601 (mouse-drag-line): Don't exit tracking when a switch-frame or
4602 switch-window event occurs (Bug#12006).
4603
670d85ea
SM
46042012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4605
4606 * mouse.el (popup-menu): Fix last change.
4607
7abaf5cc
SM
46082012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 Autoload from Lisp with more care. Follow aliases when looking for
4611 function properties.
4612 * subr.el (autoloadp): New function.
4613 (symbol-file): Use it.
4614 (function-get): New function.
4615 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4616 autoload-do-load.
4617 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4618 (lisp-indent-function):
4619 * emacs-lisp/gv.el (gv-get):
4620 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4621 * emacs-lisp/byte-opt.el (byte-optimize-form):
4622 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4623 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4624 Use function-get.
4625 * emacs-lisp/cl.el: Don't propagate function properties any more.
4626
4627 * speedbar.el (speedbar-add-localized-speedbar-support):
4628 * emacs-lisp/disass.el (disassemble-internal):
4629 * desktop.el (desktop-load-file):
4630 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4631 (describe-function-1):
4632 * emacs-lisp/find-func.el (find-function-noselect):
4633 * emacs-lisp/elp.el (elp-instrument-function):
4634 * emacs-lisp/advice.el (ad-has-proper-definition):
4635 * apropos.el (apropos-safe-documentation, apropos-macrop):
4636 * emacs-lisp/debug.el (debug-on-entry):
4637 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4638 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4639 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4640
b1364986
AA
46412012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4642
4643 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4644 function, not an obsolete variable (Bug#12046).
4645
67ada220
AS
46462012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4647
4648 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4649
f08088e3
CS
46502012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4651
4652 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4653 window only if it is still live (Bug#12034).
4654
8137e7b3
MR
46552012-07-25 Martin Rudalics <rudalics@gmx.at>
4656
4657 * subr.el (redirect-frame-focus): Add advertised calling
4658 convention (Bug#12030).
4659
09ae5da1
PE
46602012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4661
4662 Prefer typical American spelling for "acknowledgment".
4663 * vc/add-log.el (change-log-acknowledgment): Rename from
4664 change-log-acknowledgement, with an alias for the old name.
4665
3cc5a3a8
JB
46662012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4667
4668 * calc-alg.el (math-simplify-divide): Don't cross multiply
4669 in an equation when the lhs is a variable.
4670
b7af7f62
JD
46712012-07-24 Julien Danjou <julien@danjou.info>
4672
4673 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4674 Remove, unused.
4675
ec1b09b1
EZ
46762012-07-23 Eli Zaretskii <eliz@gnu.org>
4677
4678 * startup.el (command-line): Don't display an empty user name in
4679 the error message about non-existent home directory, when
4680 init-file-user was set to an empty string. See
4681 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4682 for the details and context.
4683
b525fd8a
VB
46842012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4685
4686 * ses.el (ses-cell-formula-aset): New macro.
4687 (ses-cell-references-aset): New macro.
4688 (ses-cell-p): New function.
4689 (ses-rename-cell): Do no longer rely on complex operations like
4690 ses-cell-set-formula or ses-set-cell to change the cell and handle
4691 the undo at the same time, but rather use lower level new macros
4692 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4693 the undo directly. Refresh the mode line.
b525fd8a 4694
2c73e345
LL
46952012-07-21 Leo Liu <sdl.web@gmail.com>
4696
670d85ea
SM
4697 * progmodes/cc-cmds.el (c-defun-name):
4698 Use match-string-no-properties instead for consistency.
2c73e345 4699
542dfbde
LL
47002012-07-20 Leo Liu <sdl.web@gmail.com>
4701
3646bcd6
LL
4702 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4703 (Bug#7879)
4704
542dfbde
LL
4705 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4706
25721031
CY
47072012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4709 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4710 * progmodes/bug-reference.el, misearch.el: Provide themselves
4711 (bug#11915).
4712
4713 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4714 of narrowed buffer (bug#11966).
4715
316e68a7
VB
47162012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4717
4718 * ses.el (ses-rename-cell): Set new name also in reference list of
4719 cells of which the renamed cell depends.
4720
bbf0e7d9
MY
47212012-07-20 Masatake YAMATO <yamato@redhat.com>
4722
4723 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4724 to check whether menu-bar is shown or not. If not shown,
4725 show the menu-bar as a popup menu instead of using tmm.
4726 * mouse.el (popup-menu): Accept `point' as `position' argument.
4727
c28662a8
DG
47282012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4729
4730 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4731 up inside string symbol literal (bug#11923).
4732
87ab808f
EZ
47332012-07-20 Eli Zaretskii <eliz@gnu.org>
4734
4735 * startup.el (fancy-startup-text): Read the whole tutorial, not
4736 just its first 256 bytes. Prevents gibberish in display of the
4737 tutorial title.
4738
89dea803
DA
47392012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4740
4741 Drop idle buffer compaction due to an absence of the
4742 proved efficiency.
4743 * compact.el: Remove.
4744
8a4e6db8
SS
47452012-07-19 Sam Steingold <sds@gnu.org>
4746
4747 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4748 vc-bzr-pull & vc-bzr-merge-branch.
4749 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4750 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4751 for consistency with compilation-error-regexp-alist.
4752 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4753 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4754 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4755 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4756
5db81e33
SM
47572012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4758
4759 * emacs-lisp/chart.el: Use lexical-binding.
4760 (chart-emacs-storage): Don't hardcode the list of entries.
4761
5b835e1d
DA
47622012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4763
4764 Next round of tweaks caused by Fgarbage_collect changes.
4765 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4766
9cd47b72
DA
47672012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4768
4769 Compact buffers when idle.
4770 * compact.el: New file.
4771
1d6fc0df
SM
47722012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4773
4774 * subr.el (eventp): Presume that if it looks vaguely like an event,
4775 it's an event (bug#10190).
4776
1d29cc7d
FEG
47772012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4778
4779 Enhancements to ppss related code (thanks Stefan).
4780 * progmodes/python.el (python-indent-context)
4781 (python-indent-calculate-indentation, python-indent-dedent-line)
4782 (python-indent-electric-colon, python-nav-forward-block)
4783 (python-mode-abbrev-table)
1d6fc0df 4784 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4785 for ppss context.
4786 (python-info-continuation-line-p): Cleanup.
4787 (python-info-ppss-context): Do not catch 'quote.
4788 (python-info-ppss-context-type)
4789 (python-info-ppss-comment-or-string-p): Simplify.
4790
d583cbe6
FEG
47912012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4792
4793 * progmodes/python.el: Enhancements to eldoc support.
4794 (python-info-current-symbol): New function.
4795 (python-eldoc-at-point): Use python-info-current-symbol.
4796 (python-info-current-defun): Fix cornercase on first defun scan.
4797 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4798 and signal error when no inferior python process is available.
4799
eceb6feb
DG
48002012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4801
4802 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4803 assume it's always t.
4804 (vc-git-registered): Remove caching, the function is only called
4805 once.
4806 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4807
4c8ff0fe
CY
48082012-07-18 Chong Yidong <cyd@gnu.org>
4809
19fb7186
CY
4810 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4811
9587c688
CY
4812 * simple.el (count-words): Report on narrowing (Bug#9959).
4813
0fe776a1
CY
4814 * bindings.el: Bind M-= to count-words.
4815
4c8ff0fe
CY
4816 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4817
7f5331cc
MY
48182012-07-18 Masatake YAMATO <yamato@redhat.com>
4819
4820 * progmodes/sh-script.el (sh-imenu-generic-expression):
4821 Capture a function with `function' keyword and without parentheses
4822 like "function FOO" (bug#11856).
4823
2dc2a609
TH
48242012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4825
4826 * window.el (split-window-sensibly): Make WINDOW argument
4827 optional.
4828
439f7677
CY
48292012-07-18 Chong Yidong <cyd@gnu.org>
4830
9aeb25a6
CY
4831 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4832
439f7677
CY
4833 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4834 and make C-x 8 RET exit isearch (Bug#11439).
4835
4836 * international/iso-transl.el: Move isearch-mode-map key
4837 definitions to isearch.el.
4838
12999ea8
SM
48392012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4840
4841 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4842 (eieio-defclass): Use gv-define-setter when possible.
4843
3ab6e069
DA
48442012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4845
4846 Reflect recent changes in Fgarbage_collect.
4847 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4848 reflect new format of data returned by Fgarbage_collect.
4849
0a60bc10
FEG
48502012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4851
4852 New utility functions + python-info-ppss-context fix (Bug#11910).
4853 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4854 (python-info-ppss-comment-or-string-p): New functions.
4855 (python-info-ppss-context): Small fix for string check.
4856
6dafa0d5
JL
48572012-07-17 Juri Linkov <juri@jurta.org>
4858
4859 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4860 (dired-do-async-shell-command): Don't add `*' at the end of the
4861 command (Bug#11815).
4862 (dired-do-shell-command): Doc fix.
4863 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4864 Join the individual commands using either "&" or ";" as the
4865 separator depending on the values of these trailing characters.
4866 At the end re-add the trailing "&". (Bug#10598)
4867
4868 * simple.el (async-shell-command): Sync the interactive spec with
4869 `shell-command'. Doc fix.
4870 (shell-command): Doc fix.
4871
b19dd9d1
JL
48722012-07-17 Juri Linkov <juri@jurta.org>
4873
4874 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4875
bcdc27d7 48762012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4877
bcdc27d7 4878 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4879 * progmodes/python.el (python-nav-beginning-of-statement):
4880 Rename from python-nav-statement-start.
bcdc27d7
FEG
4881 (python-nav-end-of-statement): Rename from
4882 python-nav-statement-end.
4883 (python-nav-beginning-of-block): Rename from
4884 python-nav-block-start.
4885 (python-nav-end-of-block): Rename from python-nav-block-end.
4886
191da00e
FEG
48872012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4888
7f5331cc
MY
4889 * progmodes/python.el (python-shell-send-string-no-output):
4890 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4891 future interactions (Bug#11868).
4892
4dc7c8d5 48932012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4894
88ecaf8f
SM
4895 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4896
ef501ef0
SM
4897 * emacs-lisp/elint.el (elint-find-args-in-code):
4898 Use help-function-arglist, so as to handle lexical byte-code.
4899
aa7aaf8f
SM
4900 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4901 change (bug#11826).
4902
45fd731c
SM
49032012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4904
2143fa32
SM
4905 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4906 Avoid spuriously marking the buffer as modified because of c-is-sws.
4907
efc26dbe
SM
4908 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4909 as not-a-comment (bug#11946).
4910
f5695c9a
SM
4911 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4912 for uninterned vars.
4913
4914 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4915 Use read-event since we don't really want to read chars but bytes.
4916
45fd731c
SM
4917 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4918 $$..$$ but also $..$ using regexps (bug#11953).
4919 Use tex-verbatim for \url and \path.
4920 (tex-font-lock-keywords): Define as defconst like the others.
4921 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4922
ddfc8813
RK
49232012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4924
4925 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4926 alias for insert-char.
4927
758e556a
FEG
49282012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4929
4930 * progmodes/python.el: Simplified imenu implementation.
4931 (python-nav-jump-to-defun): Remove command.
4932 (python-mode-map): Use `imenu' instead.
4933 (python-nav-list-defun-positions-cache)
4934 (python-imenu-include-defun-type, python-imenu-make-tree)
4935 (python-imenu-subtree-root-label, python-imenu-index-alist):
4936 Remove vars.
4937 (python-nav-list-defun-positions, python-nav-read-defun)
4938 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4939 (python-imenu-make-tree, python-imenu-create-index):
4940 Remove functions.
758e556a
FEG
4941 (python-mode): Update to interact with imenu by setting
4942 `imenu-extract-index-name-function' only.
4943
032d23ab
FEG
49442012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4945
4946 * progmodes/python.el: Enhancements to navigation commands.
4947 (python-nav-backward-sentence)
4948 (python-nav-forward-sentence): Remove.
4949 (python-nav-backward-statement, python-nav-forward-statement)
4950 (python-nav-statement-start, python-nav-statement-end)
4951 (python-nav-backward-block, python-nav-forward-block)
4952 (python-nav-block-start, python-nav-block-end)
4953 (python-nav-forward-sexp-function)
4954 (python-info-current-line-comment-p)
4955 (python-info-current-line-empty-p): New functions.
4956 (python-indent-context): Use `python-nav-statement-start'.
4957
01795a1b
MA
49582012-07-16 Michael Albinus <michael.albinus@gmx.de>
4959
9328d9aa
MA
4960 * eshell/em-ls.el (eshell/ls): Use `apply'.
4961
4962 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4963 multi-hops, instead of Tramp internals.
4964
01795a1b
MA
4965 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4966
4967 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4968 when F1 and F2 are located on different hosts.
4969
63408057
CY
49702012-07-14 Chong Yidong <cyd@gnu.org>
4971
4972 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4973 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4974 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4975 (xterm-mouse--read-event-sequence-1000)
4976 (xterm-mouse--read-event-sequence-1006): New functions. For old
4977 mouse protocol, handle M-mouse-X events correctly.
4978 (xterm-mouse-event): New arg specifying mouse protocol.
4979 (turn-on-xterm-mouse-tracking-on-terminal)
4980 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4981 sequence to toggle extended coordinates on newer XTerms.
4982 This appears to be harmless on terminals which do not support this.
63408057 4983
cd276f6e
LL
49842012-07-14 Leo Liu <sdl.web@gmail.com>
4985
28ca98ac
LL
4986 Add fringe bitmap indicators for flymake. (Bug#11253)
4987 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4988 (flymake-make-overlay): New arg BITMAP.
4989 (flymake-error-bitmap, flymake-warning-bitmap)
4990 (flymake-fringe-indicator-position): New user variables.
4991
cd276f6e
LL
4992 * fringe.el: New bitmap exclamation-mark.
4993
04408072
JD
49942012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4995
4996 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4997 also (Bug#7879).
4998
b5cf7fc4
CY
49992012-07-14 Chong Yidong <cyd@gnu.org>
5000
5001 * electric.el (electric-pair-post-self-insert-function): Fix pair
5002 insertion in empty-region case (Bug#11520).
5003
be755c79
RT
50042012-07-14 Chong Yidong <cyd@gnu.org>
5005
45fd731c
SM
5006 * bindings.el: Consolidate ctl-x-r-map bindings.
5007 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5008
5009 * rect.el, register.el: Move bindings to bindings.el.
5010
50112012-07-14 Reuben Thomas <rrt@sc3d.org>
5012
5013 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5014
7f5b3198
AS
50152012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5016
5017 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5018
97662200
JB
50192012-07-13 Juanma Barranquero <lekktu@gmail.com>
5020
80185fed
JB
5021 * bindings.el (top): Use `mapc' instead of `mapcar'.
5022
97662200
JB
5023 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5024
2bb1ae55
MA
50252012-07-13 Michael Albinus <michael.albinus@gmx.de>
5026
5027 * progmodes/sql.el (sql-comint): Suppress the check for program on
5028 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5029 (Bug#11908)
5030
dea31bd3
CY
50312012-07-13 Chong Yidong <cyd@gnu.org>
5032
5033 * bindings.el: Assign a non-nil permanent-local property to
5034 per-buffer variables which lack a default value (Bug#11930).
5035
5036 * help-fns.el (describe-variable): In the "automatically becomes
5037 local" notice, take note of permanent-local variables.
5038
b68b3337
CY
50392012-07-13 Chong Yidong <cyd@gnu.org>
5040
5041 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5042 to allow printing the message when called from Lisp.
5043
5044 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5045 Remove toggle-read-only.
5046
5047 * bs.el (bs-toggle-readonly):
45fd731c
SM
5048 * buff-menu.el (Buffer-menu-toggle-read-only):
5049 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5050
5051 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5052 Remove with-no-warnings around toggle-read-only.
5053 (ffap-read-only, ffap-read-only-other-window)
5054 (ffap-read-only-other-frame): Callers changed.
5055
5056 * help-mode.el: Don't require view package.
5057 (help-mode-finish): Set buffer-read-only instead of calling
5058 toggle-read-only.
5059
5060 * bindings.el (mode-line-toggle-read-only):
5061 * dired.el (dired-toggle-read-only):
5062 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5063 with non-nil second arg.
5064
5065 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5066 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5067 directly.
5068
56bc1586
EZ
50692012-07-12 Eli Zaretskii <eliz@gnu.org>
5070
5071 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5072 not incf.
5073
a464a6c7
SM
50742012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 More CL cleanups and reduction of use of cl.el.
5077 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5078 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5079 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5080 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5081 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5082 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5083 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5084 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5085 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5086 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5087 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5088 * eshell/em-cmpl.el, eshell/em-banner.el:
5089 * calendar/parse-time.el: Use cl-lib.
5090 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5091 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5092 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5093 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5094 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5095 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5096 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5097 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5098 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5099 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5100 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5101 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5102 `lambda' rather than with `quote'.
5103 (eshell-do-opt): Adjust accordingly.
5104 (eshell-process-option): Simplify.
5105 * eshell/esh-var.el:
5106 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5107 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5108 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5109 to `pcase--dontcare'.
5110 * emacs-lisp/cl.el (labels): Mark obsolete.
5111 (cl--letf, letf): Move to cl-lib.
5112 (cl--letf*, letf*): Remove.
5113 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5114 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5115 (cl-progv): Rewrite.
5116 (cl--letf, cl-letf): Move from cl.el.
5117 (cl-letf*): New macro.
5118 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5119
7ad4afe1
MA
51202012-07-11 Michael Albinus <michael.albinus@gmx.de>
5121
5122 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5123
9af57756
CY
51242012-07-11 Chong Yidong <cyd@gnu.org>
5125
5126 * vc/log-edit.el (log-edit-vc-backend): New variable.
5127 (log-edit): Doc fix.
5128
5129 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5130 argument of log-edit to set up all local variables.
5131 (vc-start-logentry): New optional arg specifying VC backend.
5132
5133 * vc/vc.el (vc-checkin): Use it.
5134 (vc-deduce-fileset): Handle Log Edit buffers.
5135 (vc-diff): Make first argument optional too.
5136
5137 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5138
8477cc7a
MA
51392012-07-10 Michael Albinus <michael.albinus@gmx.de>
5140
5141 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5142 command, just in case. The function is not needed anymore.
5143 (eshell-external-command): Do not call `eshell-remote-command'.
5144
19faa8e8
SM
51452012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5146
f58e0fd5
SM
5147 Reduce use of (require 'cl).
5148 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5149 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5150 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5151 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5152 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5153 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5154 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5155 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5156 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5157 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5158 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5159 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5160 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5161 (byte-compile-unfold-bcf, byte-compile-check-variable):
5162 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5163 (byte-compile-nilconstp):
5164 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5165 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5166
2519d43a
SM
5167 * emacs-lisp/gv.el (cond): Make it a valid place.
5168 (if): Simplify slightly.
5169
19faa8e8
SM
5170 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5171 (pcase--self-quoting-p): New function.
5172 (pcase--u1): Use it.
5173
c4907a5e
GM
51742012-07-10 Glenn Morris <rgm@gnu.org>
5175
5176 * emacs-lisp/authors.el (authors-fixed-entries):
5177 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5178
c4444d16
PE
51792012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5180
5181 Rename configure.in to configure.ac (Bug#11603).
5182 * emacs-lisp/authors.el (authors-canonical-file-name):
5183 * progmodes/autoconf.el (autoconf-mode):
5184 Prefer configure.ac to configure.in.
5185
d75be97d
CY
51862012-07-08 Chong Yidong <cyd@gnu.org>
5187
01ac65bd
CY
5188 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5189 Implement the mouse-1-click-follows-link handling properly.
5190
5191 * info.el (Info-link-keymap): Use follow-link mechanism for
5192 header-line links (Bug#374).
5193
d75be97d
CY
5194 * simple.el (deactivate-mark): Do not set the primary selection
5195 if another program has acquired it (Bug#11772).
5196
87a92845 51972012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5198
5199 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5200 (woman-decode-region): Replace escaped-escapes without destroying
5201 bold or underline (Bug#11552).
87a92845 5202 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5203
621b9d6c
CY
52042012-07-07 Chong Yidong <cyd@gnu.org>
5205
5206 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5207 (interprogram-cut-function, interprogram-paste-function):
5208 Mention that we typically mean the clipboard.
621b9d6c 5209
133a11fc
GM
52102012-07-06 Glenn Morris <rgm@gnu.org>
5211
0d27a45e
GM
5212 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5213
133a11fc
GM
5214 * files.el (toggle-read-only): Restrict message to interactive use.
5215
07b151f1
MA
52162012-07-06 Michael Albinus <michael.albinus@gmx.de>
5217
5218 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5219
5220 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5221
211b896b
GM
52222012-07-06 Glenn Morris <rgm@gnu.org>
5223
50394322
GM
5224 * Makefile.in (compile-one-process): Rename from "recompile".
5225
211b896b
GM
5226 * Makefile.in (bzr-update): "compile" is the same as "recompile
5227 autoloads", but parallelizable, so use that instead.
5228
4737eec9
DG
52292012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5230
5231 * window.el (quit-window): Always restore window height when
8137e7b3 5232 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5233
226c3633 52342012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5235
5236 * simple.el (kill-whole-line): Doc tweak.
5237
226c3633 52382012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5239
5240 * files.el (file-relative-name): Compare file names
5241 case-insensitively if on MS-Windows or MS-DOS, or if
5242 read-file-name-completion-ignore-case is non-nil. Don't use
5243 case-fold-search for this purpose. (Bug#11827)
5244
4dc7c8d5
SM
52452012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5246
5247 * calendar/cal-dst.el (calendar-current-time-zone):
5248 Return calendar-current-time-zone-cache if non-nil.
5249
52502012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 52512012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5252
19faa8e8
SM
5253 * calendar/cal-dst.el (calendar-current-time-zone):
5254 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5255
60198fc9
GM
52562012-07-06 Glenn Morris <rgm@gnu.org>
5257
5258 * Makefile.in (cvs-update): Remove old alias.
5259
957b3189
MA
52602012-07-05 Michael Albinus <michael.albinus@gmx.de>
5261
5262 Sync with Tramp 2.2.6-pre.
5263
5264 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5265 compatible declaration.
5266
19faa8e8
SM
5267 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5268 Protect `list-load-path-shadows' call.
957b3189
MA
5269
5270 * net/tramp-compat.el (top): Require packages, which aren't
5271 autoloaded anymore for XEmacs. Protect call of
5272 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5273 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5274 it hurts at least for SXEmacs.
5275 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5276 standard-value for `temporary-file-directory'.
5277
5278 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5279 Redirect stderr to /dev/null.
5280 (tramp-sh-handle-write-region): uid and gid can be floats.
5281 Reported by Russell Sim <russell.sim@gmail.com>.
5282 (tramp-sh-handle-vc-registered): Hide errors.
5283 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5284 and `start-file-process'.
5285 (tramp-maybe-open-connection): Check also whether `non-essential'
5286 is bound.
5287
566df3fc
CY
52882012-07-04 Chong Yidong <cyd@gnu.org>
5289
5290 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5291 (xml-parse-tag): Likewise, and avoid changing entity tables.
5292 (xml-syntax-table): Define from scratch, making sure not to give
5293 x2000 and other Unicode spaces whitespace syntax, since those are
5294 not spaces in XML.
5295 (xml-parse-fragment): Delete unused function.
5296 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5297 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5298 (xml-entity-ref, xml-pe-reference-re)
5299 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5300 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5301 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5302 (xml-entity-value-re): Use syntax references in regexps where
5303 possible; no need to define inside a let-binding.
5304 (xml-parse-dtd): Use xml-pe-reference-re.
5305 (xml-entity-or-char-ref-re): New defconst.
5306 (xml-parse-string, xml-substitute-special): Use it.
5307
30eabd7a
SM
53082012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5309
0781098a
SM
5310 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5311 (find-file--read-only): New function.
5312 (find-file-read-only, find-file-read-only-other-window)
5313 (find-file-read-only-other-frame): Use it.
5314 (insert-file-contents-literally): Don't `fset'.
5315 (get-free-disk-space): Use locate-dominating-file.
5316
b5771c0d
SM
5317 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5318 function is already compiled.
5319
30eabd7a
SM
5320 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5321
b4886f6e
MA
53222012-07-03 Michael Albinus <michael.albinus@gmx.de>
5323
5324 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5325 files on the same host.
5326
b9d82339
AS
53272012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5328
5329 * help-fns.el (describe-function-1): Only call
5330 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5331
a76e6535
CY
53322012-07-03 Chong Yidong <cyd@gnu.org>
5333
5334 * xml.el: Protect parser against XML bombs.
5335 (xml-entity-expansion-limit): New variable.
5336 (xml-parse-string, xml-substitute-special): Use it.
5337 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5338
b544fef2
GM
53392012-07-03 Glenn Morris <rgm@gnu.org>
5340
5341 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5342 Allow linking to specific messages in debbugs reports (eg 123#5).
5343
a7aef6f5
CY
53442012-07-02 Chong Yidong <cyd@gnu.org>
5345
5346 * xml.el: Fix entity and character reference expansion, allowing
5347 them to expand into markup as per XML spec.
5348 (xml-default-ns): New variable.
5349 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5350 (xml-parse-region): Make first two arguments optional.
5351 Discard text properties.
5352 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5353 All callers changed.
a7aef6f5
CY
5354 (xml-parse-tag): Call xml-parse-tag-1. For backward
5355 compatibility, this function should not modify buffer contents.
5356 (xml-parse-tag-1): Fix opening-tag regexp.
5357 (xml-parse-string): Rewrite, handling entity and character
5358 references properly.
5359 (xml--entity-replacement-text): Signal an error if a parameter
5360 entity is undefined.
5361
3df31c9f
SM
53622012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5363
2b5208f1
SM
5364 * comint.el (comint-output-filter): Filter out repeated prompts.
5365
3df31c9f
SM
5366 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5367 and file-name-absolute-p.
5368 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5369 internal calls.
5370
e3ac1281
PE
53712012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5372
5373 Spelling fixes.
5374 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5375 Rename from byte-compile--refiy-function. All uses changed.
5376
fbf2e7ad
CY
53772012-07-01 Chong Yidong <cyd@gnu.org>
5378
5379 * xml.el (xml--parse-buffer): New function. Move most of
5380 xml-parse-region here.
5381 (xml-parse-region): Copy region into a temporary buffer, since
5382 parameter entity substitution requires changing buffer contents.
5383 Use xml--parse-buffer.
5384 (xml-parse-file): Use xml--parse-buffer.
5385 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5386 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5387
9bf0aa15
GM
53882012-06-30 Glenn Morris <rgm@gnu.org>
5389
bbce2853
GM
5390 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5391
9bf0aa15
GM
5392 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5393 Remove outdated and unnecessary dbus declarations.
5394
0d23c240
EZ
53952012-06-30 Eli Zaretskii <eliz@gnu.org>
5396
5397 * emacs-lisp/timer.el (timer-until): Subtract results of
5398 float-time, instead of taking float-time of the result of
5399 time-subtract, since float-time signals an error for negative time
5400 arguments.
5401
b3218de1
CY
54022012-06-30 Chong Yidong <cyd@gnu.org>
5403
5404 * xml.el (xml-*-re): Convert defvars into defconsts, and
5405 eval-and-compile them so eval-and-compile works on derivatives.
5406 (xml--entity-replacement-text): Use eval-and-comple.
5407
a40c87a0
MA
54082012-06-30 Michael Albinus <michael.albinus@gmx.de>
5409
5410 * vc/vc-git.el (vc-git-registered): Use cache property
5411 `git-registered'.
5412 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5413 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5414 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5415
ac87de97
DG
54162012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5417
5418 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5419 removed (likely outside Emacs). (Bug#11757)
ac87de97 5420
ac10fe06
SM
54212012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5422
3df31c9f 5423 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5424
7f3fbd5d
CY
54252012-06-30 Chong Yidong <cyd@gnu.org>
5426
5427 * xml.el: Implement XML parameter entities.
5428 (xml-parameter-entity-alist): New variable.
5429 (xml-parse-region, xml-parse-fragment): Preserve previous values
5430 of xml-entity-alist and xml-parameter-entity-alist, so that
5431 repeated calls on different documents do not change them.
5432 (xml-parse-tag): Fix doctype regexp.
5433 (xml--entity-replacement-text): New function.
5434 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5435 properly requires url retrieval which is unimplemented.
5436 (xml-escape-string): Doc fix.
5437
3cfbebba
SM
54382012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5441
2af3565e
DA
54422012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5443
5444 * fringe.el (fringe-mode): Doc fix.
5445
929df0e7
MA
54462012-06-29 Michael Albinus <michael.albinus@gmx.de>
5447
5448 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5449 is non-nil.
5450 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5451 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5452
c8d3a25c 54532012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5454
c8d3a25c
GM
5455 * calendar/cal-dst.el (calendar-current-time-zone):
5456 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5457
c8d3a25c 54582012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5459
5460 * progmodes/which-func.el (which-func-format):
5461 Add mouse-face. (Bug#11698)
5462
c8d3a25c
GM
54632012-06-29 Leo Liu <sdl.web@gmail.com>
5464
5465 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5466
54672012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * minibuffer.el (minibuffer-confirm-exit-commands):
5470 Add completion-at-point (bug#11725).
5471
54722012-06-29 Glenn Morris <rgm@gnu.org>
5473
5474 * progmodes/f90.el (f90-font-lock-keywords-2):
5475 Add some preprocessor elements. (Bug#10499)
5476
54772012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5480 Use syntax-propertize (bug#11739).
5481
2badeec4
JB
54822012-06-28 Juanma Barranquero <lekktu@gmail.com>
5483
5484 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5485
ae4969c2
JD
54862012-06-28 Julien Danjou <julien@danjou.info>
5487
5488 * term.el (term-handle-colors-array): Use a set of new faces to
5489 color the terminal. Also uses :inverse-video property.
5490 (term-default-fg-color): Set to nil by default, deprecate in favor
5491 of `term-face'.
5492 (term-default-bg-color): Set to nil by default, deprecate in favor
5493 of `term-face'.
5494 (term-current-face): Use `term-face' by default.
5495 (term-bold-attribute): Variable deleted.
5496
1c9bd870
GM
54972012-06-28 Glenn Morris <rgm@gnu.org>
5498
5499 * simple.el (completion-list-mode-finish):
5500 Don't use toggle-read-only. (Since completion-list-mode has
5501 a special mode-class, it wasn't doing anything extra anyway.)
5502
c207708c
SM
55032012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5504
5505 Make inlining of other-mode interpreted functions work (bug#11799).
5506 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5507 (byte-compile): Use it to fix compilation of lexical-binding closures.
5508 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5509 function, if needed.
5510
3fd56834
SM
55112012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5512
04901786
SM
5513 * help-mode.el (help-make-xrefs): Don't just withstand
5514 cyclic-variable-indirection but any error in documentation-property.
5515
1ec4b7b2
SM
5516 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5517 memory use.
5518 * bindings.el (bindings--define-key): New function.
5519 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5520 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5521 * bindings.el: Use it to purecopy define-key bindings.
5522
e309e2a5
SM
5523 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5524
d5c6faf9
SM
5525 * emacs-lisp/cl.el (flet): Mark obsolete.
5526 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5527 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5528 * progmodes/js.el (js-c-fill-paragraph):
5529 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5530 (ebrowse-switch-member-buffer-to-derived-class):
5531 * play/5x5.el (5x5-solver): Use cl-flet.
5532
6e9590e2
SM
5533 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5534 (cl--symbol-function): New macro.
5535 (cl--letf, cl--letf*): Use it.
5536
3fd56834
SM
5537 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5538 Strip "toggle-" if any.
5539
35ff222c
GM
55402012-06-27 Glenn Morris <rgm@gnu.org>
5541
1ba6038a
GM
5542 * info.el (Info-default-directory-list): Move here from paths.el.
5543 * paths.el: Remove file, which is now empty.
5544 * loadup.el: No longer load "paths".
5545
0ea0e51b
GM
5546 * custom.el (custom-initialize-delay): Doc fix.
5547
35ff222c
GM
5548 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5549 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5550 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5551 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5552 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5553 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5554 * eshell/eshell.el (eshell-defgroup): Remove alias.
5555
c89926a5
CY
55562012-06-27 Chong Yidong <cyd@gnu.org>
5557
5558 * help.el (help-enable-auto-load): New variable.
5559
5560 * help-fns.el (help-fns--autoloaded-p): New function.
5561 (describe-function-1): Refer to a function as "autoloaded" if it
5562 was autoloaded at any time in the past. Perform autoloading if
5563 help-enable-auto-load is non-nil.
5564
cc06e7e7
EZ
55652012-06-26 Eli Zaretskii <eliz@gnu.org>
5566
5567 * makefile.w32-in (compile, compile-always): Depend on
5568 update-subdirs, not on subdirs.el. Otherwise, several different
5569 sub-targets of 'bootstrap' running in parallel could
5570 simultaneously write to subdirs.el, producing a garbled file.
5571
d2c32364
SS
55722012-06-26 Sam Steingold <sds@gnu.org>
5573
5574 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5575 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5576 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5577 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5578 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5579 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5580 * textmodes/tex-mode.el: Use it.
5581 Did not touch cedet and org because they are maintained elsewhere.
5582
5cf983b2
MR
55832012-06-26 Martin Rudalics <rudalics@gmx.at>
5584
5585 * calendar/calendar.el (calendar-exit): Don't try to delete or
5586 iconify last frame. See:
5587 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5588
8c4f2952
JD
55892012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5590
5591 * server.el (server-process-filter): Remember dir in the
5592 process's `server-client-directory' properties.
5593
772b2e2c
CY
55942012-06-24 Chong Yidong <cyd@gnu.org>
5595
5596 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5597 non-tag text.
5598
711b11e1
JB
55992012-06-23 Juanma Barranquero <lekktu@gmail.com>
5600
5601 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5602
dc5d230c
SM
56032012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5604
5605 * help-fns.el (describe-variable): Don't croak when doc is not found.
5606 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5607 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5608 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5609 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5610 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5611 ((lambda ..) ..).
5612 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5613
136e1c1d
CY
56142012-06-23 Chong Yidong <cyd@gnu.org>
5615
e8c1cabf
CY
5616 * info.el (Info-mouse-follow-link): Accept symbol values of
5617 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5618 (Info-fontify-node): Use Info-link-keymap for all navigation
5619 buttons, with link-args property to perform the desired action.
5620 (Info-link-keymap): Doc fix.
5621 (Info-next-link-keymap, Info-prev-link-keymap)
5622 (Info-up-link-keymap): Delete now-unused keymaps.
5623
0e9e6c6a
CY
56242012-06-23 Chong Yidong <cyd@gnu.org>
5625
05e89fea
CY
5626 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5627
0e9e6c6a
CY
5628 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5629 system abbrevs.
5630
5631 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5632
e33c6771
SM
56332012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5634
b68581e2
SM
5635 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5636 (bug#11719).
5637
e33c6771
SM
5638 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5639 the requote function doesn't work properly (bug#11714).
5640
7117e105
GM
56412012-06-23 Glenn Morris <rgm@gnu.org>
5642
5643 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5644
36cec983
SM
56452012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 Further GV/CL cleanups.
5648 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5649 gv-expander.
5650 (gv--defun-declaration): New function.
5651 (defun-declarations-alist): Use it.
5652 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5653 (gv-place): Autoload.
5654 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5655 original definition of dotimes and dolist.
5656 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5657 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5658 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5659 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5660 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5661 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5662 to the function's definition.
5663 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5664 * window.el:
5665 * files.el:
5666 * faces.el:
5667 * env.el: Don't use CL.
5668
d35af63c
PE
56692012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5670
5671 Support higher-resolution time stamps (Bug#9000).
5672
5673 * calendar/time-date.el (with-decoded-time-value): New arg
5674 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5675 (encode-time-value): New optional arg PICO. New type 3.
5676 (time-to-seconds) [!float-time]: Support the new picoseconds
5677 component if it's used.
5678 (seconds-to-time, time-subtract, time-add):
5679 Support ps-resolution time stamps as well.
5680
5681 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5682 (timerp): Timer vectors now have length 9, not 8.
5683 (timer--time): Support new-style (4-part) time stamps.
5684 (timer-next-integral-multiple-of-time): Time stamps now have
5685 picosecond resolution, so take a bit more care about rounding.
5686 (timer-relative-time, timer-inc-time): New optional arg psecs.
5687 (timer-set-time-with-usecs): Set psecs to 0.
5688 (timer--activate): Check psecs component, too.
5689
5690 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5691
ac77b21a
SM
56922012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5693
f143bfe3
SM
5694 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5695 Move the non-essential binding to the post/pre-command-hook where it is
5696 more obviously correct.
5697
ac77b21a
SM
5698 * subr.el (read-passwd): Don't use a history at all.
5699 * savehist.el (savehist-save): Remove password saved accidentally
5700 because of the above bug.
5701
76386c5a
BG
57022012-06-22 Bastien Guerry <bzg@gnu.org>
5703
5704 * files.el (toggle-read-only): Display a message telling whether
5705 the buffer is read-only or not (bug#11726).
5706
2ee3d7f0
SM
57072012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5708
5709 * emacs-lisp/gv.el: New file.
5710 * subr.el (push, pop): Extend to generalized variables.
5711 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5712 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5713 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5714 gv-define-simple-setter, and gv-define-expander.
5715 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5716 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5717 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5718 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5719 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5720 gv-letplace.
5721 (cl-defstruct): Don't define setf-method any more.
5722 * emacs-lisp/cl.el (flet): Don't autoload.
5723 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5724 (define-setf-expander, defsetf, define-modify-macro)
5725 (cl-struct-setf-expander): Move from cl-lib.el.
5726 * emacs-lisp/syntax.el:
5727 * emacs-lisp/ewoc.el:
5728 * emacs-lisp/smie.el:
5729 * emacs-lisp/cconv.el:
5730 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5731 (timer--time): Use gv-define-simple-setter.
5732 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5733 to avoid coding-system problems in subr.el. Adjust all users.
5734 (macroexp--maxsize, macroexp-small-p): New functions.
5735 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5736 * scroll-bar.el (scroll-bar-mode):
5737 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5738 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5739 * winner.el (winner-configuration, winner-make-point-alist)
5740 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5741 * files.el (locate-file-completion-table): Avoid list*.
5742
c5695d1d
CY
57432012-06-22 Chong Yidong <cyd@gnu.org>
5744
5745 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5746 (dired-create-files): Doc fix (Bug#11329).
5747 (dired-do-copy): Doc fix (Bug#11334).
5748 (dired-mark-read-string): Doc fix (Bug#11553).
5749
2ee3d7f0
SM
5750 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5751 Doc fix (Bug#11326).
c5695d1d
CY
5752 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5753 (dired-dwim-target): Doc fix.
5754
5755 * wdired.el (wdired-mode): Doc fix.
5756
89b5595a
GM
57572012-06-22 Glenn Morris <rgm@gnu.org>
5758
575db3f1
GM
5759 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5760 (pcmpl-rpm-cache-stamp-file): New constant.
5761 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5762 (pcmpl-rpm-packages): Optionally cache list of packages.
5763
a4c8dd51
GM
5764 * pcmpl-rpm.el (pcmpl-rpm): New group.
5765 (pcmpl-rpm-query-options): New option.
5766 (pcmpl-rpm-packages): No need to inline it.
5767 Use pcmpl-rpm-query-options.
5768
89b5595a
GM
5769 * calendar/calendar.el (calendar-in-read-only-buffer):
5770 Avoid some needless mode changes.
5771
e76f0800
CY
57722012-06-21 Chong Yidong <cyd@gnu.org>
5773
5774 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5775 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5776 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5777
297a8f1d
CY
57782012-06-20 Chong Yidong <cyd@gnu.org>
5779
5780 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5781
d34c18b1
DR
57822012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5783
5784 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5785 (bug#11201).
5786
32f7f28e
CY
57872012-06-20 Chong Yidong <cyd@gnu.org>
5788
5789 * term.el (term-window-width): Handle the case of a missing right
5790 fringe (Bug#8837).
5791 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5792 (term-mode): Use define-derived-mode. Minor cleanups.
5793 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5794 (term-move-columns, term-insert-char, term-emulate-terminal)
5795 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5796
493c6688
MA
57972012-06-20 Michael Albinus <michael.albinus@gmx.de>
5798
d34c18b1
DR
5799 * net/ange-ftp.el (ange-ftp-get-passwd):
5800 Bind `enable-recursive-minibuffers'.
493c6688
MA
5801 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5802
3f06ecf4
DR
58032012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5804
5805 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5806
68f12411
GM
58072012-06-19 Glenn Morris <rgm@gnu.org>
5808
5809 * progmodes/python.el (python-mode): Derive from prog-mode.
5810
b3820318
KG
58112012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5812
5813 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5814 (edt-user-menu-bar-update-buffers): New functions.
5815 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5816
c6bf3022
CY
58172012-06-19 Chong Yidong <cyd@gnu.org>
5818
5819 * subr.el (with-selected-window): Preserve the selected window's
5820 terminal's top-frame (Bug#4702).
5821
5822 * window.el (save-selected-window): Likewise.
5823
25f09295
SM
58242012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5825
5826 * progmodes/python.el (python-rx-constituents): Move backquote.
5827 (python-skeleton-define, python-define-auxiliary-skeleton):
5828 Use `declare'.
5829
6b11952a
MA
58302012-06-18 Michael Albinus <michael.albinus@gmx.de>
5831
5832 * minibuffer.el (read-file-name-default): Revert the patch from
5833 2012-06-17.
5834
ee4b1330
SM
58352012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5836
5837 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5838 (pcase--u1, pcase--q1): Don't use apply-partially.
5839
35647f79
GM
58402012-06-18 Glenn Morris <rgm@gnu.org>
5841
5842 * progmodes/python.el (python-proc, python-buffer)
5843 (python-send-receive, python-send-string): Fix obsolete versions.
5844
24b0cff0
MR
58452012-06-18 Martin Rudalics <rudalics@gmx.at>
5846
5847 * window.el (special-display-p): Completely remove stringp
5848 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5849
29855149
MA
58502012-06-17 Michael Albinus <michael.albinus@gmx.de>
5851
5852 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5853
5854 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5855
5856 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5857 * net/tramp-sh.el (tramp-maybe-open-connection):
5858 Throw if `non-essential' is non-nil.
5859
07463363
MR
58602012-06-17 Martin Rudalics <rudalics@gmx.at>
5861
5862 * window.el (special-display-p): Signal an error if BUFFER-NAME
5863 is not a string (Bug#11713).
5864
48d1354e
PE
58652012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5866
5867 * progmodes/python.el (python-info-beginning-of-backslash):
5868 Rename from python-info-beginning-of-backlash, as a spelling fix.
5869
eb4a8a9a
CY
58702012-06-17 Chong Yidong <cyd@gnu.org>
5871
5872 * term.el (term-emulate-terminal): If term-check-size is called,
5873 move point to the process mark without resetting point (Bug#4635).
5874
ddfbf826 58752012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5876
5877 * international/mule-cmds.el (mule-menu-keymap)
5878 (set-language-environment, set-locale-environment): Doc tweaks.
5879
9b0e3eba
AA
58802012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5881
5882 * cus-face.el (custom-face-attributes): Add wave-style underline
5883 attribute.
5884 * faces.el (set-face-attribute): Update docstring to describe
5885 wave-style underline attribute.
5886
771e3eae
CY
58872012-06-16 Chong Yidong <cyd@gnu.org>
5888
5889 * term/xterm.el (terminal-init-xterm): Discard input before
5890 querying background mode (Bug#10959).
5891
7ae2ea10
SM
58922012-06-16 Stefan Merten <smerten@oekonux.de>
5893
5894 * textmodes/rst.el: Added and corrected some comments.
5895 (rst-re-alist-def): Improve symbol syntax.
5896 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5897 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5898 (rst-official-version, rst-official-cvs-rev): Update version
5899 information.
7ae2ea10 5900
b6974efa
JB
59012012-06-15 Juanma Barranquero <lekktu@gmail.com>
5902
5903 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5904 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5905
8826d473
GM
59062012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5907
5908 * progmodes/python.el: New python.el merge.
5909 (python-guess-indent): Obsolete var.
5910 (python-indent-guess-indent-offset): New defcustom.
5911 (python-indent): Obsolete var.
5912 (python-indent-offset): New defcustom.
5913 (python-python-command, python-jython-command): Delete var.
5914 (python-shell-interpreter): New defcustom.
5915 (python-pdbtrack-do-tracking-p): Delete var.
5916 (python-pdbtrack-activate): New defcustom.
5917 (python-use-skeletons): Obsolete var.
5918 (python-skeleton-autoinsert): New defcustom.
5919 (inferior-python-filter-regexp, python-continuation-offset)
5920 (python-honour-comment-indentation, python-indent-string-contents)
5921 (python-jython-packages, python-mode-hook)
5922 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5923 (python-shell-prompt-alist)
5924 (python-source-modes): Delete defcustoms.
5925 (python-check-buffer-name, python-eldoc-setup-code)
5926 (python-eldoc-string-code, python-ffap-setup-code)
5927 (python-ffap-string-code, python-fill-comment-function)
5928 (python-fill-decorator-function, python-fill-paren-function)
5929 (python-fill-string-function, python-imenu-include-defun-type)
5930 (python-imenu-make-tree, python-imenu-subtree-root-label)
5931 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5932 (python-shell-compilation-regexp-alist)
5933 (python-shell-completion-module-string-code)
5934 (python-shell-completion-pdb-string-code)
5935 (python-shell-completion-setup-code)
5936 (python-shell-completion-string-code)
5937 (python-shell-enable-font-lock, python-shell-exec-path)
5938 (python-shell-extra-pythonpaths)
5939 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5940 (python-shell-process-environment)
5941 (python-shell-prompt-block-regexp)
5942 (python-shell-prompt-output-regexp)
5943 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5944 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5945 (python-shell-virtualenv-path): New defcustoms.
5946 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5947 (inferior-python-mode-syntax-table, python--prompt-regexp)
5948 (python-buffer, python-command python-python-command)
5949 (python-default-template, python-imports, python-indent-index)
5950 (python-indent-list, python-indent-list-length)
5951 (python-mode-running, python-pdbtrack-is-tracking-p)
5952 (python-preoutput-continuation, python-preoutput-leftover)
5953 (python-preoutput-result, python-preoutput-skip-next-prompt)
5954 (python-prev-dir/file, python-recursing)
5955 (python-saved-check-command, python-version-checked)
5956 (python-which-func-length-limit)
5957 (view-return-to-alist): Delete vars.
5958 (python-check-custom-command, python-dotty-syntax-table)
5959 (python-imenu-index-alist, python-indent-current-level)
5960 (python-indent-dedenters, python-indent-levels)
5961 (python-nav-beginning-of-defun-regexp)
5962 (python-nav-list-defun-positions-cache)
5963 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5964 (python-shell-internal-buffer)
5965 (python-skeleton-available): New vars.
5966 (def-python-skeleton): Delete macro.
5967 (python-skeleton-define): New macro.
5968 (python-define-auxiliary-skeleton, python-rx): New macros.
5969 (python-insert-class): Delete command.
5970 (python-skeleton-class): New command.
5971 (python-insert-def): Delete command.
5972 (python-skeleton-def): New command.
5973 (python-insert-for): Delete command.
5974 (python-skeleton-for): New command.
5975 (python-insert-if): Delete command.
5976 (python-skeleton-if): New command.
5977 (python-insert-try/except, python-insert-try/finally): Delete commands.
5978 (python-skeleton-try): New command.
5979 (python-insert-while): Delete command.
5980 (python-skeleton-while): New command.
5981 (python-backspace): Delete command.
5982 (python-indent-dedent-line-backspace): New command.
5983 (python-electric-colon): Delete command.
5984 (python-indent-electric-colon): New command.
5985 (python-guess-indent): Delete command.
5986 (python-indent-guess-indent-offset): New command.
5987 (python-shift-left): Delete command.
5988 (python-indent-shift-left): New command.
5989 (python-shift-right): Delete command.
5990 (python-indent-shift-right): New command.
5991 (python-find-function): Delete command.
5992 (python-nav-jump-to-defun): New command.
5993 (python-next-statement): Delete command.
5994 (python-nav-forward-sentence): New command.
5995 (python-previous-statement): Delete command.
5996 (python-nav-backward-sentence): New command.
5997 (python-fill-paragraph): Delete command.
5998 (python-fill-paragraph-function): New command.
5999 (python-send-buffer): Delete command.
6000 (python-shell-send-buffer): New command.
6001 (python-send-defun): Delete command.
6002 (python-shell-send-defun): New command.
6003 (python-send-region, python-send-region-and-go): Delete commands.
6004 (python-shell-send-region)
6005 (python-shell-switch-to-shell): New commands.
6006 (python-send-string): Delete command.
6007 (python-shell-send-string): New command.
6008 (python-switch-to-python): Delete command.
6009 (python-shell-switch-to-shell): New command.
6010 (python-describe-symbol): Delete command.
6011 (python-eldoc-at-point): New command.
6012 (python--set-prompt-regexp, python-args-to-list)
6013 (python-after-info-look, python-check-version)
6014 (python-check-comint-prompt, python-find-imports)
6015 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6016 (python-unload-function, python-expand-template)
6017 (python-maybe-jython, python-preoutput-filter)
6018 (python-pdbtrack-get-source-buffer)
6019 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6020 (python-pdbtrack-toggle-stack-tracking)
6021 (python-pdbtrack-track-stack-file, python-initial-text)
6022 (python-first-word, python-comment-line-p, python-send-command)
6023 (python-setup-brm, python-sentinel, python-set-proc)
6024 (python-skip-out, python-input-filter, python-outdent-p)
6025 (python-outline-level, python-backslash-continuation-line-p)
6026 (python-end-of-block, python-end-of-statement, python-mark-block)
6027 (python-beginning-of-block, python-beginning-of-statement)
6028 (python-blank-line-p, python-beginning-of-string)
6029 (python-open-block-statement-p): Delete functions.
6030 (python-indent-line, python-indent-line-1): Delete functions.
6031 (python-indent-line): New function.
6032 (python-indentation-levels): Delete function.
6033 (python-indent-calculate-levels): New function.
6034 (python-proc): Delete function.
6035 (python-shell-get-process): New function.
6036 (python-send-receive): Delete function.
6037 (python-shell-send-string-no-output): New function.
6038 (python-module-path): Delete function.
6039 (python-ffap-module-path): New function.
6040 (python-completion-at-point)
6041 (python-symbol-completions): Delete functions.
6042 (python-completion-complete-at-point): New function.
6043 (python-load-file): Delete function.
6044 (python-shell-send-file): New function.
6045 (python-calculate-indentation): Delete function.
6046 (python-indent-calculate-indentation): New function.
6047 (python-skip-comments/blanks): Delete function.
6048 (python-util-forward-comment): New function.
6049 (python-continuation-line-p): Delete function.
6050 (python-info-continuation-line-p): New function.
6051 (python-which-func, python-current-defun): Delete function.
6052 (python-info-current-defun): New function.
6053 (python-beginning-of-defun): Delete function.
6054 (python-nav-beginning-of-defun): New function.
6055 (python-close-block-statement-p)
6056 (python-block-end-p): Delete function.
6057 (python-info-closing-block): New function.
6058 (python-comint-output-filter-function)
6059 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6060 (python-fill-comment, python-fill-decorator, python-fill-paren)
6061 (python-fill-string, python-imenu-make-element-tree)
6062 (python-imenu-make-tree, python-imenu-tree-assoc)
6063 (python-indent-context, python-indent-dedent-line)
6064 (python-indent-line-function)
6065 (python-indent-post-self-insert-function)
6066 (python-indent-toggle-levels)
6067 (python-info-assignment-continuation-line-p)
6068 (python-info-beginning-of-backlash)
6069 (python-info-block-continuation-line-p)
6070 (python-info-closing-block-message)
6071 (python-info-line-ends-backslash-p)
6072 (python-info-looking-at-beginning-of-defun)
6073 (python-info-ppss-context, python-info-ppss-context-type)
6074 (python-nav-list-defun-positions, python-nav-read-defun)
6075 (python-nav-sentence-end, python-nav-sentence-start)
6076 (python-pdbtrack-comint-output-filter-function)
6077 (python-pdbtrack-set-tracked-buffer)
6078 (python-shell-calculate-exec-path)
6079 (python-shell-calculate-process-environment)
6080 (python-shell-completion--do-completion-at-point)
6081 (python-shell-completion--get-completions)
6082 (python-shell-completion-complete-at-point)
6083 (python-shell-completion-complete-or-indent)
6084 (python-shell-get-or-create-process)
6085 (python-shell-get-process-name)
6086 (python-shell-internal-get-or-create-process)
6087 (python-shell-internal-get-process-name)
6088 (python-shell-internal-send-string, python-shell-make-comint)
6089 (python-shell-parse-command, python-shell-send-setup-code)
6090 (python-skeleton-add-menu-items)
6091 (python-util-clone-local-variables, python-util-position)
6092 (run-python-internal, python-indentation-levels)
6093 (python-nav-beginning-of-defun)
6094 (python-completion-complete-at-point): New functions.
6095 (run-python): Change arguments. New API requirements.
6096
4302f5ba
SM
60972012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6098
f38ea36d
SM
6099 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6100 (bug#11649).
6101
6102 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6103 (macroexp--expand-all): Use it.
6104
4302f5ba
SM
6105 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6106 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6107 Use `cl-function' instead.
6108
33377562
JB
61092012-06-14 Juanma Barranquero <lekktu@gmail.com>
6110
6111 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6112 Suggested by Stefan Monnier while discussing bug#11657.
6113
54c5ba1a
SS
61142012-06-14 Sam Steingold <sds@gnu.org>
6115
6116 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6117
f9f1b1fe
AS
61182012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6119
6120 * play/doctor.el (doctor-doc): Remove parameter and use
6121 doctor-sent instead of sent.
6122 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6123
a81068ba
SM
61242012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6125
5a315f9c
SM
6126 * files.el: Require cl-lib.
6127 (file-name-non-special): Replace case -> cl-case.
6128
6129 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6130
a81068ba
SM
6131 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6132 mapping from #' to function*.
6133
8cca9703
CY
61342012-06-13 Chong Yidong <cyd@gnu.org>
6135
6136 * mouse.el (mouse-drag-track): Do not set the mark if the user
6137 releases the mouse without selecting anything (Bug#11588).
6138
a12ac9d7
SM
61392012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6140
ccf1dc18
SM
6141 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6142 as well (bug#11646).
6143
ef62b23d
SM
6144 * loadup.el: Count byte-code functions as well.
6145
c4c8444a
SM
6146 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6147 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6148
a12ac9d7
SM
6149 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6150 (bug#11649). Add cl-defun and cl-defmacro.
6151
87e6e64f
DA
61522012-06-13 Drew Adams <drew.adams@oracle.com>
6153
6154 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6155 Fix last change.
6156
682cefaf
MA
61572012-06-13 Michael Albinus <michael.albinus@gmx.de>
6158
6159 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6160 Otherwise, it blocks in batch mode.
6161
773e1f08
JB
61622012-06-13 Juanma Barranquero <lekktu@gmail.com>
6163
6164 * help-mode.el (bookmark-make-record-default): Declare.
6165
60057926
CY
61662012-06-13 Chong Yidong <cyd@gnu.org>
6167
6168 * emacs-lisp/package.el (list-packages): Compute a list of
6169 packages that are newly-available since the last list-packages
6170 invocation.
6171 (package-menu--new-package-list): New var.
6172 (package-menu--generate, package-menu--print-info)
6173 (package-menu--status-predicate, package-menu-mark-install):
6174 Handle new status label "new".
6175
ad4d226c
SM
61762012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6179 conversion to backquotes.
6180
f1a4e679
CY
61812012-06-12 Chong Yidong <cyd@gnu.org>
6182
6183 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6184 Rename from gud-inhibit-global-bindings.
6185
6186 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6187
6188 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6189 hook from nxml-glyph-set-hook.
6190
6191 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6192 declaration.
6193
6194 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6195
6196 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6197 Convert to defcustom.
6198
0c9e42b5
DA
61992012-06-12 Drew Adams <drew.adams@oracle.com>
6200
6201 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6202 New functions.
6203 (help-mode): Use them.
6204
09e06855
GM
62052012-06-11 Glenn Morris <rgm@gnu.org>
6206
6207 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6208 Use preprocessor face for directives.
6209 (fortran-directive-re): Doc fix.
6210
71adb94b
SM
62112012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6212
2eb87922
SM
6213 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6214 conversion to backquotes (bug#11652).
6215
71adb94b
SM
6216 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6217 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6218 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6219 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6220 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6221 (cl-ninth, cl-tenth): Mark them as inlinable.
6222 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6223 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6224 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6225 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6226 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6227 (cl-list*, cl-adjoin): Don't put an autoload manually.
6228 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6229 (cl--compiler-macro-list*): Add autoload cookie.
6230 (cl--compiler-macro-cXXr): New function.
2eb87922 6231
71adb94b
SM
6232 * help-fns.el (help-fns--compiler-macro): New function extracted from
6233 describe-function-1; follow aliases and use `compiler-macro' property.
6234 (describe-function-1): Use it.
6235
a6674402
CY
62362012-06-11 Chong Yidong <cyd@gnu.org>
6237
6238 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6239 is uninstalled, if imagemagick is installed.
6240
bb3faf5b
SM
62412012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * emacs-lisp/cl-lib.el: Use lexical-binding.
6244 (cl-map-extents, cl-maclisp-member): Remove.
6245 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6246 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6247 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6248 * emacs-lisp/cl-extra.el: Use lexical-binding.
6249 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6250 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6251 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6252 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6253 * emacs-lisp/cl-seq.el: Use lexical-binding.
6254 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6255 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6256 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6257 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6258 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6259 CL's internals.
6260
2fe4b125
MA
62612012-06-11 Michael Albinus <michael.albinus@gmx.de>
6262
6263 Sync with Tramp 2.2.6-pre.
6264
6265 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6266 `print-length' and `print-level' to nil, in order to avoid
6267 truncation. Reported by Christopher Schmidt
6268 <christopher@ristopher.com>.
6269
6270 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6271
6272 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6273 New defmacro.
6274 (tramp-compat-copy-directory): Add optional argument
6275 COPY-CONTENTS. It is not handled yet.
6276
6277 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6278 (tramp-ftp-file-name-p): Simplify.
6279
6280 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6281 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6282 connection vector.
6283
6284 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6285 (tramp-methods): Do not use `tramp-password-end-of-line'.
6286 (tramp-completion-function-alist-putty): Handle UNIX case.
6287 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6288 (tramp-do-file-attributes-with-stat)
6289 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6290 gid as real numbers. They could run out of integer range on cygwin.
6291 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6292 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
6293 (tramp-open-connection-setup-interactive-shell):
6294 Use `tramp-cleanup'. Move check for busyboxes ...
6295 (tramp-find-shell): ... here. Simplify implementation.
6296 Set "remote-shell" property also for alternative shells.
6297 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6298 If failing, a regular file would be written otherwise.
6299 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
6300 (tramp-find-inline-encoding): Cache the coding commands in the
6301 process cache. Apply test command on the remote side, if defined.
6302 (tramp-find-inline-compress): Cache the compress commands in the
6303 process cache.
6304 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6305 when requested. Handle hops.
6306 (tramp-current-connection): New defvar.
87e6e64f
DA
6307 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6308 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6309 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6310 (tramp-get-inline-compress, tramp-get-inline-coding):
6311 Read connection properties from the process cache.
2fe4b125
MA
6312
6313 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6314 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6315 New defconsts.
2fe4b125
MA
6316 (tramp-smb-prompt): Extend for powershell prompt.
6317 (tramp-smb-file-name-handler-alist): Add handlers for
6318 `process-file', `shell-command' and `start-file-process'.
6319 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6320 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6321 (tramp-smb-file-name-p): Simplify.
6322 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6323 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6324 (tramp-smb-shell-quote-argument): New defuns.
6325 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6326 Implement using "tar". By this, time-stamps are preserved.
6327 (tramp-smb-handle-copy-file): Handle also the case of directories.
6328 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6329 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6330 Use `tramp-get-connection-buffer').
2fe4b125
MA
6331 (tramp-smb-handle-rename-file): Use "rename", when source and
6332 target are on the same share.
87e6e64f
DA
6333 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6334 Use `tramp-smb-server-version'.
2fe4b125
MA
6335 (tramp-smb-wait-for-output): Remove prompt.
6336
6337 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6338 (tramp-methods, tramp-rsh-end-of-line):
6339 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6340 (tramp-save-ad-hoc-proxies): New defcustom.
6341 (tramp-completion-function-alist): Adapt docstring.
6342 (tramp-default-password-end-of-line): Remove defcustom.
6343 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6344 (tramp-user-regexp, tramp-file-name-regexp-unified)
6345 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6346 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6347 (tramp-remote-file-name-spec-regexp): New defconst.
6348 (tramp-file-name-structure): Extend structure for hops.
6349 (tramp-get-method-parameter): Move up.
6350 (tramp-file-name-p, tramp-dissect-file-name)
6351 (with-parsed-tramp-file-name): Handle hops.
6352 (tramp-file-name-hop): New defun.
6353 (tramp-make-tramp-file-name): New optional arg HOP.
6354 (tramp-message-show-progress-reporter-message): New defvar.
6355 (tramp-with-progress-reporter): Use it. We cannot use
6356 `tramp-message-show-message' here, because this suppresses also
6357 error buffers.
6358 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6359 `tramp-message-show-message' is nil.
6360 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6361 (tramp-cleanup): New defun.
6362 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6363 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6364 an error unchanged.
6365 (tramp-completion-handle-file-name-all-completions): Handle hops.
6366 Fix an error when called from ido.
6367 (tramp-completion-dissect-file-name): Use better local variable
6368 name. Add hop to the vector.
6369 (tramp-handle-insert-file-contents): Use progress-reporter for the
6370 whole scenario.
6371 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6372 to `t'.
6373 (tramp-check-for-regexp): Simplify search.
6374 (tramp-enter-password): Remove it. Move implementation ...
6375 (tramp-action-password): ... here.
6376 (tramp-mode-string-to-int, tramp-local-host-p)
6377 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6378 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6379 Set tramp-autoload cookie.
2fe4b125
MA
6380
6381 * net/trampver.el: Update release number.
6382
63832012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6384 Michael Albinus <michael.albinus@gmx.de>
6385
6386 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6387 (tramp-parse-group, tramp-parse-file)
6388 (tramp-parse-shostkeys-sknownhosts): New defuns.
6389 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6390 (tramp-parse-shosts-group, tramp-parse-sconfig)
6391 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6392 (tramp-parse-sknownhosts, tramp-parse-hosts)
6393 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6394 Use them.
6395 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6396 (tramp-parse-putty-group): Don't narrow.
6397 (tramp-parse-putty): Make a loop.
6398 (tramp-file-name-handler): Catch the `suppress' signal.
6399
72834e10
CY
64002012-06-11 Chong Yidong <cyd@gnu.org>
6401
6402 * image.el (imagemagick-register-types): Put the ImageMagick entry
6403 at the end of image-type-file-name-regexps.
6404
a4712e11
JB
64052012-06-11 Johan Bockgård <bojohan@gnu.org>
6406
6407 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6408 (pcase, pcase-let*, pcase-dolist): Use them.
6409
82ad98e3
SM
64102012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6411
6412 * emacs-lisp/pcase.el (pcase--let*): New function.
6413 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6414 (pcase--expand): Use macroexp-let².
6415
f80efb86
SM
64162012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6419 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6420 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6421 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6422 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6423 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6424
31ca4639 64252012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6426
31ca4639
CY
6427 * mail/rmail.el (rmail-yank-current-message): Leave point at
6428 correct position. (Bug#11660)
94f0aa34 6429
31ca4639 64302012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6431
31ca4639 6432 * allout-widgets.el: Fix code header.
9e1b8ec4 6433
31ca4639 64342012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6435
f80efb86
SM
6436 * cus-edit.el (customize-changed-options-previous-release):
6437 Bump to 24.1.
31ca4639 6438
642b6d30
AS
64392012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6440
6441 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6442
4f5d2ba1
CY
64432012-06-09 Chong Yidong <cyd@gnu.org>
6444
6445 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6446
e75852fd
MR
64472012-06-09 Martin Rudalics <rudalics@gmx.at>
6448
6449 * window.el (special-display-popup-frame): Don't use
6450 window--display-buffer (Bug#11651).
6451
1e48e282
EZ
64522012-06-09 Eli Zaretskii <eliz@gnu.org>
6453
8a26b487
EZ
6454 Fix parallel builds: make sure loaddefs.el is not being written
6455 while Lisp files are compiled.
6456 (compile): Don't depend on 'mh-autoloads'.
6457 (compile-CMD, compile-SH): Depend on 'autoloads'.
6458 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6459
1e48e282
EZ
6460 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6461
6175e34b
CY
64622012-06-09 Chong Yidong <cyd@gnu.org>
6463
6464 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6465 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6466 Doc fixes (Bug#11225).
6467
d9857e53
SM
64682012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6469
6470 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6471 a function if there's a clear indication that it has a compiler-macro.
6472 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6473 (macro-declarations-alist): Add arglist to declaration functions.
6474 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6475 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6476 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6477 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6478 Also add autoload to find the compiler macro.
6479 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6480 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6481 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6482 (cl--compiler-macro-get): New functions, replacing calls to
6483 cl-define-compiler-macro.
6484 (cl-typep) [compiler-macro]: Use macroexp-let².
6485
f81298f8 64862012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6487
6488 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6489 string properly, fixes Bug#11473.
6490
4b56d0fe
CY
64912012-06-08 Chong Yidong <cyd@gnu.org>
6492
6493 * faces.el (set-face-attribute): Doc fix.
6494 (modify-face): Don't use :bold and :italic.
6495 (error, warning, success): Tweak definitions.
6496
6497 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6498 (custom-modified, custom-set, custom-changed, custom-themed)
6499 (custom-saved, custom-button, custom-button-mouse)
6500 (custom-button-pressed, custom-state, custom-comment-tag)
6501 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6502 (custom-group-subtitle): Use new-style face specs.
6503 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6504 (custom-set-face, custom-changed-face, custom-saved-face)
6505 (custom-button-face, custom-button-pressed-face)
6506 (custom-documentation-face, custom-state-face)
6507 (custom-comment-face, custom-comment-tag-face)
6508 (custom-variable-tag-face, custom-variable-button-face)
6509 (custom-face-tag-face, custom-group-tag-face-1)
6510 (custom-group-tag-face): Remove obsolete face alias.
6511
6512 * epa.el (epa-validity-high, epa-validity-medium)
6513 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6514 (epa-field-name, epa-field-body):
6515 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6516 (font-lock-keyword-face, font-lock-builtin-face)
6517 (font-lock-function-name-face, font-lock-variable-name-face)
6518 (font-lock-type-face, font-lock-constant-face):
6519 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6520 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6521 * speedbar.el (speedbar-button-face, speedbar-file-face)
6522 (speedbar-directory-face, speedbar-tag-face)
6523 (speedbar-selected-face, speedbar-highlight-face)
6524 (speedbar-separator-face):
6525 * whitespace.el (whitespace-newline, whitespace-space)
6526 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6527 (whitespace-line, whitespace-space-before-tab)
6528 (whitespace-space-after-tab, whitespace-indentation)
6529 (whitespace-empty):
6530 * emulation/cua-base.el (cua-global-mark):
6531 * eshell/em-prompt.el (eshell-prompt):
6532 * net/newst-plainview.el (newsticker-new-item-face)
6533 (newsticker-old-item-face, newsticker-immortal-item-face)
6534 (newsticker-obsolete-item-face, newsticker-date-face)
6535 (newsticker-statistics-face, newsticker-default-face):
6536 * net/newst-reader.el (newsticker-feed-face)
6537 (newsticker-extra-face, newsticker-enclosure-face):
6538 * net/newst-treeview.el (newsticker-treeview-face)
6539 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6540 (newsticker-treeview-immortal-face)
6541 (newsticker-treeview-obsolete-face)
6542 (newsticker-treeview-selection-face):
6543 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6544 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6545 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6546 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6547 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6548 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6549 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6550 (mpuz-text):
6551 * progmodes/vera-mode.el (vera-font-lock-number)
6552 (vera-font-lock-function, vera-font-lock-interface):
6553 * textmodes/table.el (table-cell): Use new-style face specs, and
6554 don't use the old :bold and :italic attributes.
6555
6556 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6557 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6558 (ebrowse-member-class, ebrowse-progress): Likewise.
6559 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6560 (ebrowse-file-name-face, ebrowse-default-face)
6561 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6562 (ebrowse-progress-face): Remove obsolete faces.
6563
6564 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6565 Inherit from error and warning faces respectively.
6566
6567 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6568 Likewise.
f80efb86
SM
6569 (flyspell-incorrect-face, flyspell-duplicate-face):
6570 Remove obsolete aliases.
4b56d0fe 6571
03310646
MA
65722012-06-08 Michael Albinus <michael.albinus@gmx.de>
6573
6574 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6575 Avoid infloop.
6576
513749ee
SM
65772012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6578
6579 * startup.el (argv, argi): Make lexically scoped.
6580 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6581 * emacs-lisp/cl-macs.el: Use lexical-binding.
6582 Rename cl-bind-* to cl--bind-*.
6583 * files.el: Don't require `cl' since it doesn't use it.
6584 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6585
595ef4ad
JB
65862012-06-08 Juanma Barranquero <lekktu@gmail.com>
6587
6588 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6589 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6590 instead of calling external sort utility.
6591 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6592
e9f66fcb
EZ
65932012-06-08 Eli Zaretskii <eliz@gnu.org>
6594
6595 * descr-text.el (describe-char): Mention how to insert the
6596 character, if the current input method doesn't support it.
6597 See the discussion in this thread for the details:
6598 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6599
3d10db47
SS
66002012-06-08 Sam Steingold <sds@gnu.org>
6601
6602 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6603 XF86Back to previous-buffer.
6604 (minibuffer-local-map): Bind them to next-history-element and
6605 previous-history-element respectively.
6606 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6607 help-go-back respectively.
6608 * info.el (Info-mode-map): Bind them to Info-history-forward and
6609 Info-history-back respectively.
6610 These are the keys next to Up on the ThinkPad keyboard.
6611
de7e2b36
SM
66122012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6615 * emacs-lisp/cl-macs.el: Provide itself.
6616 (cl--labels-convert-cache): New var.
6617 (cl--labels-convert): New function.
6618 (cl-flet, cl-labels): New implementation with new semantics, relying on
6619 lexical-binding.
6620 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6621 (cl-closure-vars, cl--function-convert-cache)
6622 (cl--function-convert): Move from cl-macs.el.
6623 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6624 rename by removing the "cl-" prefix.
6625 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6626
6fa6c4ae
SM
66272012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6628
6629 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6630 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6631 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6632 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6633 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6634 (cl-hash-table-count): Add old compatibility aliases.
6635
6636 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6637 Use macroexpand-all-environment instead.
6638 (cl--old-macroexpand): New var.
6639 (cl--sm-macroexpand): New function.
6640 (cl-symbol-macrolet): Use it during macro expansion.
6641 (cl--function-convert-cache): New var.
6642 (cl--function-convert): New function, extracted from
6643 cl-macroexpand-all.
6644 (cl-lexical-let): Use it.
6645
6646 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6647 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6648 (cl-member): Remove old alias.
6649
6650 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6651 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6652 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6653 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6654 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6655 (cl-macroexpand-cmacs): Remove var.
6656 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6657 Use macroexpand-all instead.
6658
4dd1c416
SM
66592012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6662 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6663 (macroexp-copyable-p): New functions and macros.
6664 * emacs-lisp/edebug.el (edebug-unwrap):
6665 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6666 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6667 (pcase--let*): Remove.
6668 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6669 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6670 macroexp-const-p instead.
6671 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6672
6673 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6674 instead of "cl-" for internal definitions. Use macroexp-const-p.
6675 (cl-old-bc-file-form): Remove var.
6676 (cl-const-exprs-p): Remove fun.
6677 (cl-labels, cl-macrolet): Use backquote.
6678 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6679 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6680 (cl-define-setf-expander): Rename from cl-define-setf-method.
6681 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6682
6683 * international/mule-cmds.el: Don't require CL.
6684 (view-hello-file): Don't use `letf'.
6685
ed8bd4d7
SM
66862012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6687
7287f2f3
SM
6688 * tmm.el (tmm-prompt): Use string-prefix-p.
6689 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6690 (tmm-add-prompt): Use minibuffer-completion-help.
6691 (tmm-delete-map): Remove.
6692
ed8bd4d7
SM
6693 * subr.el (kbd): Make it its own function.
6694
7b4cdbf4
SM
66952012-06-07 Stefan Merten <smerten@oekonux.de>
6696
6697 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6698 Silence compiler warnings. Fix versions.
ed8bd4d7 6699 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6700 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6701 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6702 (rst-package-emacs-version-alist): Correct Emacs version to
6703 represent major merge with upstream.
ed8bd4d7 6704 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6705
2b48d721
GM
67062012-06-06 Glenn Morris <rgm@gnu.org>
6707
6708 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6709 Only print environment variables if set.
6710
fa779ab0
SM
67112012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6712
6713 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6714 (macroexp--cons): Rename from maybe-cons.
6715 (macroexp--accumulate): Rename from macroexp-accumulate.
6716 (macroexp--all-forms): Rename from macroexpand-all-forms.
6717 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6718 (macroexp--expand-all): Rename from macroexpand-all-1.
6719
628299e0
SS
67202012-06-06 Sam Steingold <sds@gnu.org>
6721
6722 * calendar/calendar.el (calendar-in-read-only-buffer):
6723 Call `special-mode' to enable the standard read-only keybindings.
6724
b7bb5838
SM
67252012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6726
6727 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6728 with "loading" messages (bug#11635).
6729
dfb308ba
MA
67302012-06-06 Michael Albinus <michael.albinus@gmx.de>
6731
6732 * files.el (enable-remote-dir-locals): New option.
6733 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6734
0372ee92
MA
6735 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6736 Ensure, that the temp directory is local.
6737
6738 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6739 `temporary-file-directory'.
6740
eed0bb91
MA
6741 * progmodes/python.el (python-send-region): Ensure, that the
6742 temporary file is created also in the remote case.
6743
7a58f64d
GM
67442012-06-06 Glenn Morris <rgm@gnu.org>
6745
f7dd4e98
GM
6746 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6747 (vc-rcs-update-changelog): Use it.
6748
090bd7cb 6749 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6750
7a58f64d
GM
6751 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6752 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6753 (vc-sccs-diff): Replace use of the external vcdiff script.
6754
daed4003
GM
67552012-06-05 Glenn Morris <rgm@gnu.org>
6756
6757 * ledit.el: Move to obsolete/.
6758
48c455c7
SS
67592012-06-05 Sam Steingold <sds@gnu.org>
6760
ed9265fc 6761 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6762 patch (Bug#11140).
6763
57a7d507
SM
67642012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6765
090bd7cb 6766 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6767
53aacf21
SM
6768 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6769 compiler-macro expansion.
6770
57a7d507
SM
6771 Add native compiler-macro support.
6772 * emacs-lisp/macroexp.el (macroexpand-all-1):
6773 Support compiler-macros directly. Properly follow aliases and apply
6774 the compiler macros more thoroughly.
6775 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6776 macroexpand now properly follows aliases.
6777 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6778 (cl-compiler-macroexpand): Use new prop.
6779 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6780
6781 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6782
51a5f9d8
MR
67832012-06-05 Martin Rudalics <rudalics@gmx.at>
6784
6785 * window.el (get-lru-window, get-mru-window, get-largest-window):
6786 New argument NOT-SELECTED to avoid picking the selected window.
6787 (window--display-buffer-1, window--display-buffer-2): Replace by
6788 new function window--display-buffer
6789 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6790 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6791 Use window--display-buffer.
51a5f9d8
MR
6792 (display-buffer-use-some-window): Remove temporary dedication
6793 hack by calling get-lru-window and get-largest-window with
6794 NOT-SELECTED argument non-nil. Call window--display-buffer.
6795
08f9f738
GM
67962012-06-05 Glenn Morris <rgm@gnu.org>
6797
6798 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6799 Replace external vcdiff script.
6800
e364a2b7
SM
68012012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6802
6803 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6804
041df390
CY
68052012-06-04 Chong Yidong <cyd@gnu.org>
6806
e364a2b7
SM
6807 * image.el (imagemagick-types-inhibit): Revert last change.
6808 Add INFO and M.
47b36b94 6809 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6810
7c1898a7
SM
68112012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6812
6813 * emacs-lisp/cl-lib.el: Rename from cl.el.
6814 * emacs-lisp/cl.el: New compatibility file.
6815 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6816 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6817 to obey the "cl-" prefix.
6818 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6819
0c3461de
GM
68202012-06-03 Glenn Morris <rgm@gnu.org>
6821
1e266c88
GM
6822 * emacs-lisp/authors.el (authors-aliases): Addition.
6823
0c3461de
GM
6824 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6825 Fix :version.
6826
d8a52e15
SM
68272012-06-03 Stefan Merten <smerten@oekonux.de>
6828
6829 * textmodes/rst.el: Add comments.
6830 (rst-transition, rst-adornment): New faces.
6831 (rst-adornment-faces-alist): Make default safe to reevaluate.
6832 Fixes
6833 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6834 Improve customization tags.
6835 (rst-define-level-faces): Clarify meaning.
6836
5205d6f6
CY
68372012-06-03 Chong Yidong <cyd@gnu.org>
6838
6839 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6840 (compilation-mode-line-run, compilation-mode-line-exit):
6841 New faces.
5205d6f6
CY
6842 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6843
757ee657
JD
68442012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6845
7c1898a7
SM
6846 * progmodes/which-func.el (which-func-update-ediff-windows):
6847 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6848
5f2c76c6
CY
68492012-06-03 Chong Yidong <cyd@gnu.org>
6850
6851 * bindings.el: Remove explicit help text from format-mode-line.
6852 It is now supplied by mode-line-default-help-echo.
6853 (mode-line-front-space, mode-line-end-spaces)
6854 (mode-line-misc-info): New variables.
6855 (mode-line-modes, mode-line-position): Move the default value to
6856 the variable definition.
6857 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6858 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6859 (mode-line-modified-help-echo): New functions.
6860 (mode-line-mule-info, mode-line-modified): Use them.
6861 (mode-line-eol-desc, propertized-buffer-identification):
6862 Consistency fixes for help text.
cbe46e5f
CY
6863 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6864 set-buffer-file-coding-system (Bug#289).
6865 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6866
f2d6a3df
SM
68672012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * simple.el (execute-extended-command): Set real-this-command
6870 (bug#11506).
6871
37269466
CY
68722012-06-02 Chong Yidong <cyd@gnu.org>
6873
6874 Remove incorrect uses of "modeline" in comments, docstrings, and
6875 function/variable names (Bug#10329).
6876
6877 * cus-edit.el (mode-line):
6878 * dframe.el (dframe-mouse-hscroll):
6879 * emacs-lisp/re-builder.el:
6880 * emacs-lisp/easy-mmode.el (define-minor-mode):
6881 * frame.el (set-frame-name):
6882 * help.el (lookup-minor-mode-from-indicator):
6883 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6884 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6885 (c-toggle-hungry-state):
6886 * progmodes/antlr-mode.el (antlr-language-alist):
6887 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6888 * progmodes/vhdl-mode.el (vhdl-mode):
6889 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6890 * term/ns-win.el (ns-face-at-pos):
6891 * term/sup-mouse.el (sup-mouse-report):
6892 * textmodes/flyspell.el (flyspell-mode-line-string):
6893 * textmodes/ispell.el (ispell-highlight-face):
6894 * textmodes/reftex-global.el:
6895 * vc/vc-arch.el (vc-arch-mode-line-string):
6896 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6897 * vc/vc-git.el (vc-git-mode-line-string):
6898 * vc/vc-hooks.el (vc-display-status)
6899 (vc-default-mode-line-string):
6900 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6901
6902 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6903
6904 * dired.el (dired-sort-set-mode-line): Rename from
6905 dired-sort-set-modeline. All callers changed.
6906
6907 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6908 eshell-status-in-modeline.
6909
6910 * foldout.el (foldout-mode-line-string): Rename from
6911 foldout-modeline-string. All callers changed.
6912 (foldout-update-mode-line): Rename from foldout-update-modeline.
6913
6914 * subr.el (redraw-modeline): Make into obsolete alias.
6915
6916 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6917 timeclock-modeline-display. Make old name an alias.
6918 (timeclock-update-mode-line): Likewise. All callers changed.
6919 (timeclock-mode-line-display): No need to check before using
6920 add-hook.
6921 (timeclock-relative, timeclock-day-over-hook)
6922 (timeclock-use-elapsed, timeclock-mode-string)
6923 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6924
6925 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6926 crisp-mode-modeline-string.
6927
6928 * play/solitaire.el (solitaire-build-mode-line): Rename from
6929 solitaire-build-modeline. All callers changed.
6930
6931 * play/zone.el (zone-hiding-mode-line): Rename from
6932 zone-hiding-modeline. All callers changed.
6933 (zone): Remove unusued `modeline-hidden-level' property.
6934
6935 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6936 xscheme-modeline-initialize. All callers changed.
6937
6938 * strokes.el (strokes-lighter): Rename from
6939 strokes-modeline-string.
6940
6941 * textmodes/sgml-mode.el (html-face-tag-alist)
6942 (html-tag-face-alist): Use mode-line face instead of obsolete
6943 alias modeline.
6944
42152ee4
SM
69452012-06-02 Stefan Merten <smerten@oekonux.de>
6946
6947 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6948 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6949
95f520b5
CY
69502012-06-02 Chong Yidong <cyd@gnu.org>
6951
6952 * image.el (imagemagick-enabled-types): Rename from
6953 imagemagick-types-enable. Add many more types.
6954 (imagemagick-types-inhibit): Change default to nil.
6955 (imagemagick-filter-types): Caller changed.
6956
4a5f187a
SM
69572012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6958
03fef3e6
SM
6959 * emacs-lisp/cl-macs.el: Use backquotes.
6960 (cl-transform-function-property): Use eval-and-compile rather than
6961 abusing `require'.
6962 (defstruct): Use declare-function instead of with-no-warnings.
6963
4a5f187a
SM
6964 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6965 (byte-compile-output-docform): Re-add the print-circle bindings.
6966 (byte-compile-fix-header): Use #$ just because it's shorter.
6967 (byte-compile-output-file-form): Remove defun/defmacro.
6968
bd56924f
MR
69692012-06-01 Martin Rudalics <rudalics@gmx.at>
6970
6971 * simple.el (choose-completion): Remove now obsolete binding for
6972 owindow.
6973
046e38ce
MA
69742012-06-01 Michael Albinus <michael.albinus@gmx.de>
6975
6976 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6977 in order to avoid "Stack overflow in regexp matcher".
6978
32d72c2f
GM
69792012-05-31 Glenn Morris <rgm@gnu.org>
6980
6981 * image.el: For clarity, call imagemagick-register-types at
6982 top-level, rather than relying on a custom :initialize.
6983 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6984 (imagemagick-filter-types): New function. (Bug#7406)
6985 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6986 If disabling support, remove elements altogether rather
6987 than using an impossible regexp.
6988 (imagemagick-types-inhibit): Give it the default init function.
6989
dd41169b
SM
69902012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6991
4a5f187a
SM
6992 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6993 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6994
efc00ab1 69952012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6996
6997 * desktop.el (desktop-read): Clear previous and next buffers for
6998 all windows and bury *Messages* buffer (bug#11556).
6999
500fcedc
SM
70002012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7001
7002 Add `declare' for `defun'. Align `defmacro's with it.
7003 * emacs-lisp/easy-mmode.el (define-minor-mode)
7004 (define-globalized-minor-mode): Don't autoload the var definitions.
7005 * emacs-lisp/byte-run.el: Use lexical-binding.
7006 (defun-declarations-alist, macro-declarations-alist): New vars.
7007 (defmacro, defun): Use them.
7008 (make-obsolete, define-obsolete-function-alias)
7009 (make-obsolete-variable, define-obsolete-variable-alias):
7010 Use `declare'.
7011 (macro-declaration-function): Mark obsolete.
7012 * emacs-lisp/autoload.el: Use lexical-binding.
7013 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7014
6e8a1786
AM
70152012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7016
7017 * textmodes/ispell.el (ispell-with-no-warnings):
7018 Define as a macro.
500fcedc
SM
7019 (ispell-kill-ispell, ispell-change-dictionary):
7020 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7021 `interactive-p'.
7022
61b108cc
SM
70232012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7024
7025 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7026 (macro-declaration-function): Move var from C code.
7027 (macro-declaration-function): Define function with defalias.
7028 * emacs-lisp/macroexp.el (macroexpand-all-1):
7029 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7030 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7031 defun/defmacro any more.
7032 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7033 Provide fallback for unknown arglist.
7034 (byte-compile-arglist-warn): Change calling convention.
7035 (byte-compile-output-file-form): Move print-vars binding.
7036 (byte-compile-output-docform): Simplify accordingly.
7037 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7038 (byte-compile-defmacro-declaration): Remove.
7039 (byte-compile-file-form-defmumble): Generalize to defalias.
7040 (byte-compile-output-as-comment): Return byte-positions.
7041 Simplify callers accordingly.
7042 (byte-compile-lambda): Use `assert'.
7043 (byte-compile-defun, byte-compile-defmacro): Remove.
7044 (byte-compile-file-form-defalias):
7045 Use byte-compile-file-form-defmumble.
7046 (byte-compile-defalias-warn): Remove.
7047
6d3f7c2f
SM
70482012-05-29 Stefan Merten <smerten@oekonux.de>
7049
7050 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7051 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7052
7053 (rst-mode-abbrev-table): Merge definition.
7054 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7055 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7056
6dbaa1c7
UJ
70572012-05-29 Ulf Jasper <ulf.jasper@web.de>
7058
7059 * calendar/icalendar.el
7060 (icalendar-export-region): Export UID properly.
7061
d209e2fb 70622012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7063 * calendar/icalendar.el (icalendar-import-format):
7064 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7065 (icalendar-import-format-uid): New.
7066 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7067 Export UID.
7068
6876a58d
SM
70692012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7072 different alternative patterns.
7073 (pcase-codegen): Be more careful to preserve identity.
7074 (pcase--u1): Don't forget to mark vars as used.
7075
7076 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7077 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7078 (byte-compile-from-buffer): ...rather than here.
7079
7080 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7081 functions from byte-compile-function-environment.
7082
46b7967e
TN
70832012-05-29 Troels Nielsen <bn.troels@gmail.com>
7084
7085 * window.el (window-deletable-p): Avoid deleting the root window
7086 of a frame with an active minibuffer.
7087
69d565e2
MR
70882012-05-29 Martin Rudalics <rudalics@gmx.at>
7089
7090 * simple.el (choose-completion): Use quit-window (Bug#11567).
7091
a149fa51
CY
70922012-05-29 Chong Yidong <cyd@gnu.org>
7093
7094 * whitespace.el (whitespace-cleanup): Fix usage of
7095 whitespace-empty-at-bob-regexp (Bug#11492).
7096
2b311310
AH
70972012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7098
7099 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7100 revert (Bug#11488).
7101
b9cb2387
JL
71022012-05-29 Juri Linkov <juri@jurta.org>
7103
7104 * isearch.el (isearch-mode-map): Bind `M-s _' to
7105 `isearch-toggle-symbol'. Bind `M-s c' to
7106 `isearch-toggle-case-fold'.
7107 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7108 (isearch-forward): Add `M-s _' to the docstring.
7109 (isearch-forward-symbol, isearch-toggle-case-fold)
7110 (isearch-symbol-regexp): New functions. (Bug#11381)
7111
d5e61c1c
JL
71122012-05-29 Juri Linkov <juri@jurta.org>
7113
7114 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7115 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7116 a function, call it to get the regexp.
7117 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7118 property `isearch-message-prefix' instead of the string "word ".
7119 (isearch-search-fun-default): For the case of `isearch-word',
7120 return a lambda that calls re-search-forward/re-search-backward
7121 with a regexp returned by `word-search-regexp' or by the function
7122 in `isearch-word'.
7123
8cbd80f7
JL
71242012-05-29 Juri Linkov <juri@jurta.org>
7125
7126 * isearch.el (isearch-search-fun-default): New function.
7127 (isearch-search-fun): Move default part to the new function
7128 `isearch-search-fun-default'.
7129 (isearch-search-fun-function): Set the default value to
7130 `isearch-search-fun-default'. (Bug#11381)
7131
7132 * comint.el (comint-history-isearch-end):
7133 Use `isearch-search-fun-default'.
7134 (comint-history-isearch-search): Use `isearch-search-fun-default'
7135 and remove spacial case for `isearch-word'.
7136 (comint-history-isearch-wrap): Remove spacial case for
7137 `isearch-word'.
7138
7139 * hexl.el (hexl-isearch-search-function):
7140 Use `isearch-search-fun-default'.
7141
7142 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7143 Use `word-search-regexp' for `isearch-word'.
7144
7145 * misearch.el (multi-isearch-search-fun):
7146 Use `isearch-search-fun-default'.
7147
7148 * simple.el (minibuffer-history-isearch-search):
7149 Use `isearch-search-fun-default' and remove spacial case for
7150 `isearch-word'.
7151 (minibuffer-history-isearch-wrap): Remove spacial case for
7152 `isearch-word'.
7153
7154 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7155 Remove spacial case for `isearch-word'.
7156 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7157
85c8c5b6
AM
71582012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7159
7160 Decrease XEmacs incompatibilities.
7161 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7162 Use `string-match'.
7163 (flyspell-delete-region-overlays): Use alternative definition for
7164 XEmacs.
7165 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7166 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7167 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7168 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7169 `define-obsolete-face-alias' under XEmacs, but old method.
7170
7171 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7172 `with-no-warnings' definition or Emacs alias.
7173 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7174 (ispell-word): Do not use `region-p' if XEmacs.
7175
8cab9efc
AM
71762012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7177
7178 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7179 Check for `ispell-dictionary-base-alist' instead of full
7180 `ispell-dictionary-alist'.
7181 (ispell-init-process): Show spellchecker when starting new Ispell
7182 process.
7183
fda91268
RZ
71842012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7185
7186 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7187 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7188
694ea8e3
JB
71892012-05-27 Juanma Barranquero <lekktu@gmail.com>
7190
7191 * version.el (motif-version-string, gtk-version-string)
7192 (ns-version-string): Declare.
7193
e4d4f539
JL
71942012-05-27 Juri Linkov <juri@jurta.org>
7195
7196 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7197 after the `eval-defun-1' specialcaseing
7198 like in `edebug-eval-defun' (bug#10181).
7199
7200 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7201 like in `eval-defun-1'.
7202
33017faf 72032012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7204
fda91268
RZ
7205 * mail/sendmail.el (mail-yank-region):
7206 Recognize rmail-yank-current-message in addition to insert-buffer.
7207 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7208 a *mail* buffer created through rmail-start-mail with sendmail as
7209 mail-user-agent.
7210
33017faf
GM
72112012-05-27 Chong Yidong <cyd@gnu.org>
7212
7213 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7214 Default to 256 (Bug#11267).
7215
7216 * help.el (describe-mode): Doc fix.
7217
04188bb9
GM
72182012-05-26 Glenn Morris <rgm@gnu.org>
7219
38264cc9
GM
7220 * w32-fns.el (w32-init-info): Remove.
7221 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7222
eb7afdad
GM
7223 * info.el (info-initialize): For self-contained NS builds, put the
7224 included info/ directory at the front. (Bug#2791)
7225
04188bb9
GM
7226 * paths.el (Info-default-directory-list): Make it a defcustom,
7227 mainly so that we can use custom-initialize-delay.
7228
a179e3f7
SM
72292012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7230
43416392
SM
7231 * subr.el (buffer-has-markers-at): Mark obsolete.
7232
a179e3f7 7233 * subr.el (lambda): Use declare.
43416392 7234
a179e3f7
SM
7235 * emacs-lisp/lisp-mode.el (lambda):
7236 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7237
34a008d9
AH
72382012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7239
7240 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7241
0a3b289f
GM
72422012-05-26 Glenn Morris <rgm@gnu.org>
7243
7244 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7245
758c81e8
GM
72462012-05-25 Glenn Morris <rgm@gnu.org>
7247
f9f334f0
GM
7248 * paths.el: Remove no-byte-compile.
7249 * loadup.el: No need to load paths.el uncompiled.
7250
87eb79c2
GM
7251 * image.el (imagemagick-types-inhibit): Doc fix.
7252
758c81e8
GM
7253 * version.el: Remove no-byte-compile and associated formatting.
7254 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7255 is ancient code from when there was an "inc-vers.el".
7256
e7e85dc0
SM
72572012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * progmodes/gdb-mi.el: Minor style changes.
7260 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7261 Turn into minor modes.
7262 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7263 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7264 (gdb-shell): Remove unneeded let-binding.
7265 (gdb-get-many-fields): Eliminate O(n²) behavior.
7266
f31237a4
EZ
72672012-05-25 Eli Zaretskii <eliz@gnu.org>
7268
7269 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7270 platforms that don't link in fontset.c.
7271
bc1b21bb
JL
72722012-05-25 Juri Linkov <juri@jurta.org>
7273
7274 Use the same diff color scheme as in modern VCSes (bug#10181).
7275
7276 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7277 to avoid confusion with `diff-added' that now uses green colors.
7278 (diff-removed): Use shades of red.
7279 (diff-added): Use shades of green.
7280 (diff-changed): Leave just the yellow color.
7281 (diff-use-changed-face): New variable.
7282 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7283 how to highlight context diff changes.
7284 (diff-refine-change): Use shades of yellow.
7285 (diff-refine-removed): New face that uses shades of red.
7286 (diff-refine-added): New face that uses shades of green.
7287 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7288 `diff-refine-removed' in the call to `smerge-refine-subst'
7289 depending on the value of `diff-use-changed-face'.
7290
7291 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7292 (smerge-other): Use shades of green.
7293 (smerge-base): Use shades of yellow.
7294 (smerge-refined-change): Empty face.
7295 (smerge-refined-removed): New face that uses shades of red.
7296 (smerge-refined-added): New face that uses shades of green.
7297 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7298 args `props-r' and `props-a', and use them. Doc fix.
7299 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7300 on its value use different faces `smerge-refined-change',
7301 `smerge-refined-removed', `smerge-refined-added' in the call to
7302 `smerge-refine-subst'.
7303
7304 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7305 Add face condition `min-colors 88' with shades of red.
7306 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7307 `min-colors 88' with shades of green.
7308 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7309 `min-colors 88' with shades of yellow.
7310
6df9112c
GM
73112012-05-24 Glenn Morris <rgm@gnu.org>
7312
ead5edc0
GM
7313 * paths.el (prune-directory-list, remote-shell-program): Move to...
7314 * files.el (prune-directory-list, remote-shell-program): ...here.
7315 For the latter, delay initialization, prefer ssh, just search PATH.
7316
f18b81e6
GM
7317 * paths.el (term-file-prefix): Move to faces.el (the only user).
7318 * faces.el (term-file-prefix): Move here, make it a defcustom.
7319
ee2f89a6
GM
7320 * paths.el (news-directory, news-path, news-inews-program):
7321 Move to gnus/nnspool.el.
61a583ca 7322
f8815e4c
GM
7323 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7324
c8f3b42c
GM
7325 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7326 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7327 Make the latter a defcustom, with a delayed initialization.
7328
6df9112c
GM
7329 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7330 These were deleted from Gnus itself late 2010.
7331
5dadff36
JB
73322012-05-22 Juanma Barranquero <lekktu@gmail.com>
7333
9e1701c6
JB
7334 * progmodes/which-func.el (which-func-ff-hook):
7335 Check against user-error, not error.
7336
bd7239f5 7337 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7338 cl-specs.el, which no longer exists.
7339
3290526d
GM
73402012-05-22 Glenn Morris <rgm@gnu.org>
7341
7342 * info.el (info-emacs-bug): New command.
7343 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7344 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7345
ff0c3cfb
GM
73462012-05-21 Glenn Morris <rgm@gnu.org>
7347
7348 * makefile.w32-in (update-subdirs-SH):
7349 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7350
5814f126
SM
73512012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7352
a52c0aa0
SM
7353 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7354
5814f126
SM
7355 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7356 Simplify Maven regexp, and make sure the file can't start with a space
7357 (bug#11517).
7358
b847032c
GM
73592012-05-21 Glenn Morris <rgm@gnu.org>
7360
7361 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7362 Scrap superfluous subshells.
7363
3858bfe7
SM
73642012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7367 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7368
d14b0029
JB
73692012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7370
7371 * calc/calc.el (calc-ensure-consistent-units): New variable.
7372
a52c0aa0
SM
7373 * calc/calc-units.el (math-consistent-units-p)
7374 (math-check-unit-consistency): New functions.
7375 (calc-quick-units, calc-convert-units):
7376 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7377 is non-nil.
d14b0029
JB
7378 (calc-extract-units): Fix typo.
7379
60c4db3a
SM
73802012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7381
77f3b62e
SM
7382 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7383
60c4db3a
SM
7384 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7385 (flyspell-default-deplacement-commands): Don't spell check after
7386 repeated window/frame switches (e.g. triggered by mouse-movement).
7387 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7388 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7389 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7390 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7391 Remove unused vars.
7392 (flyspell-get-casechars, flyspell-get-not-casechars):
7393 Simplify; Don't bother removing a ] just to add it back.
7394 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7395
d209e2fb 73962012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7397
7398 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7399 New functions.
bd7239f5 7400 (math-function-table): Add support for more C functions.
b1a10716 7401
3f1b25b5
AM
74022012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7403
090bd7cb
JB
7404 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7405 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7406 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7407
b581bb5c
SM
74082012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7409
7410 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7411 their respective macro declarations.
7412 * skeleton.el (define-skeleton):
7413 * progmodes/compile.el (define-compilation-mode):
7414 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7415 (define-ibuffer-filter):
7416 * emacs-lisp/generic.el (define-generic-mode):
7417 * emacs-lisp/easy-mmode.el (define-minor-mode)
7418 (define-globalized-minor-mode):
7419 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7420 * emacs-lisp/byte-run.el (defsubst):
7421 * custom.el (deftheme): Add doc-string metadata.
7422
70b8ef8f
SM
74232012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7424
7425 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7426
b1198e17
SM
74272012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7428
9abdc45d
SM
7429 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7430
b1198e17
SM
7431 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7432 * emacs-lisp/cl-macs.el: Idem.
7433 * emacs-lisp/cl-specs.el: Remove.
7434
4735906a
SM
74352012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7436
7437 Minor renaming of internal CL functions and variables.
7438 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7439 (cl--position): Rename from cl-position.
7440 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7441 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7442 (cl--random-state): Rename from *random-state*.
7443
ac348012
SM
74442012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7445
7446 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7447 parens around the arg list (bug#11499).
7448
a0a79cde
JL
74492012-05-17 Juri Linkov <juri@jurta.org>
7450
7451 * isearch.el (word-search-regexp, word-search-backward)
7452 (word-search-forward, word-search-backward-lax)
7453 (word-search-forward-lax): Move functions from search.c
7454 (bug#10145, bug#11381).
7455
65034a51
AM
74562012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7457
090bd7cb
JB
7458 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7459 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7460 Delay for otherchars as for normal word components.
65034a51 7461
1a72a195
SM
74622012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * minibuffer.el (completion--sifn-requote): Fix last change.
7465 (minibuffer-local-must-match-filename-map):
7466 Move define-obsolete-variable-alias before its var.
7467
fdb058c2
SM
74682012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7469
c41045e6
SM
7470 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7471
036dfb8b
SM
7472 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7473 behavior.
7474 (completion--string-equal-p): New function.
7475 (completion--twq-all): Use it to get better assertion failure data.
7476
2473256d
SM
7477 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7478 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7479 (shell--requote-argument): New functions.
7480 (shell-completion-vars): Use them.
7481 (shell--parse-pcomplete-arguments): Rename from
7482 shell-parse-pcomplete-arguments.
7483 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7484 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7485 Obey comint-file-name-quote-list.
7486
fdb058c2
SM
7487 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7488 (smie-indent-keyword): Use it.
7489
51fa99f1
SM
74902012-05-14 Stefan Merten <smerten@oekonux.de>
7491
7492 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7493
e18afed7 74942012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7495
7496 * net/rlogin.el (rlogin-mode-map): Fix last change.
7497
e18afed7 74982012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7499
7500 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7501 the following \r\n using a single `process-send-string', since the
7502 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7503 with two `process-send-string's (Bug#11444).
8633b1f4 7504
e18afed7 75052012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7506
fdb058c2
SM
7507 * shell.el (shell-parse-pcomplete-arguments):
7508 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7509
2d21d7f6
WJ
75102012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7511
e18afed7 7512 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7513 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7514 (image-transform-width, image-transform-fit-width): New functions.
7515 (image-transform-properties): Use them.
7516 (image-transform-check-size): New function.
7517 (image-toggle-display-image): Use it (for testing).
7518 (image-transform-set-rotation): Reduce angle mod 360.
7519 Delete obsolete comment.
7520
7102e6d0
WJ
75212012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7522
7523 * image-mode.el: Fix scaling (bug#11399).
7524 (image-transform-resize): Doc fix.
7525 (image-transform-properties): Default scale is 1 and height should
7526 be an integer.
7527
06bc5e6e
SM
75282012-05-13 Johan Bockgård <bojohan@gnu.org>
7529
7530 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7531 than hard-coding `car', to fix misbehavior when moving forward.
7532
0ae03b6a
CY
75332012-05-13 Chong Yidong <cyd@gnu.org>
7534
7535 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7536 (tabulated-list-entries, tabulated-list-padding)
7537 (tabulated-list-sort-key): Make permanent-local.
7538
7539 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7540 (electric-buffer-list): Put electric buffer menu
7541 command descriptions in this docstring, instead of the docstring
7542 of electric-buffer-menu-mode. Code cleanups.
7543 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7544 Electric-buffer-menu-mode.
7545 (electric-buffer-update-highlight): Minor code cleanup.
7546
205a7391
MA
75472012-05-13 Michael Albinus <michael.albinus@gmx.de>
7548
7549 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7550 (Bug#11447)
7551
e5bd0a28
SM
75522012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 Move define-obsolete-variable-alias before the var's definition.
7555 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7556 * tooltip.el (tooltip-hook):
7557 * textmodes/reftex-toc.el (reftex-toc-map):
7558 * textmodes/reftex-sel.el (reftex-select-label-map)
7559 (reftex-select-bib-map):
7560 * textmodes/reftex-index.el (reftex-index-map)
7561 (reftex-index-phrases-map):
7562 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7563 * progmodes/meta-mode.el (meta-mode-map):
7564 * novice.el (disabled-command-hook):
7565 * loadhist.el (unload-hook-features-list):
7566 * frame.el (blink-cursor):
7567 * files.el (find-file-not-found-hooks, write-file-hooks)
7568 (write-contents-hooks):
7569 * emulation/tpu-edt.el (GOLD-map):
7570 * emacs-lock.el (emacs-lock-from-exiting):
7571 * emacs-lisp/generic.el (generic-font-lock-defaults):
7572 * emacs-lisp/chart.el (chart-map):
7573 * dos-fns.el (register-name-alist):
7574 * dired-x.el (dired-omit-files-p):
7575 * desktop.el (desktop-enable):
7576 * cus-edit.el (custom-mode-hook):
7577 * buff-menu.el (buffer-menu-mode-hook):
7578 * bookmark.el (bookmark-read-annotation-text-func)
7579 (bookmark-exit-hooks):
7580 * allout.el (allout-mode-deactivate-hook)
7581 (allout-exposure-change-hook, allout-structure-added-hook)
7582 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7583 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7584 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7585 comes before the corresponding variable's definition.
7586
ac59c2f6
CY
75872012-05-12 Chong Yidong <cyd@gnu.org>
7588
7589 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7590 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7591 (Buffer-menu-mode-map): Bind it.
7592 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7593
dee6c9a3
SM
75942012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7595
2171cea5
SM
7596 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7597 (prolog-upper-case-string, prolog-lower-case-string)
7598 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7599 (prolog-use-smie, prolog-smie-grammar): New vars.
7600 (prolog-smie-forward-token, prolog-smie-backward-token)
7601 (prolog-smie-rules): New funs.
7602 (prolog-comment-indent): Remove.
7603 (prolog-mode-variables): Use default comment indentation instead.
7604 Setup SMIE.
7605 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7606 (prolog-mode): Don't call them any more.
7607 (prolog-electric-colon, prolog-electric-dash)
7608 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7609
aa0382bd
SM
7610 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7611
dbacb4bd
SM
7612 * minibuffer.el (completion--twq-all): Again, allow case differences.
7613
13bdd94c
SM
7614 * term.el: Move keymap initialization code to be more idiomatic.
7615 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7616 (term-terminal-menu): Move initialization into declaration.
7617 (term-escape-char): Let the user set it in her .emacs.
7618
ff46c759
SM
7619 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7620 Provide SMIE-based indentation (not enabled by default yet).
7621 (sh-mode-map): Don't bind electric keys.
7622 Use electric-pair-mode instead of skeleton-pair.
7623 (sh-assignment-regexp): Fit within 80 columns.
7624 (sh-indent-supported): Specify actual shell name instead of boolean.
7625 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7626 (sh-maybe-here-document): Use it. Make obsolete.
7627 (sh-electric-here-document-mode) New minor mode.
7628 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7629 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7630 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7631 (sh-smie-rc-grammar, sh-use-smie): New vars.
7632 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7633 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7634 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7635 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7636 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7637 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7638 (sh-set-shell): Use smie-setup if requested.
7639
dee6c9a3
SM
7640 * term.el (term-set-escape-char): Properly set term-escape-char.
7641 See http://stackoverflow.com/questions/10524656.
7642
9f9aa044
CY
76432012-05-10 Chong Yidong <cyd@gnu.org>
7644
7645 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7646 Use url-generic-parse-url, and handle host names and Windows
7647 filenames properly.
7648 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7649 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7650 URL schemes to work on.
7651 (ffap--toggle-read-only): New function.
7652 (ffap-read-only, ffap-read-only-other-window)
7653 (ffap-read-only-other-frame): Use it.
7654 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7655 necessary for ffap-url-unwrap-remote.
7656
836d29b3
DA
76572012-05-10 Dave Abrahams <dave@boostpro.com>
7658
7659 * cus-start.el (create-lockfiles): Add it.
7660
00fd78ed
CY
76612012-05-09 Chong Yidong <cyd@gnu.org>
7662
7663 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7664 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7665
666b903b 76662012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7667
7668 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7669
666b903b 76702012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7671
7672 * ansi-color.el (ansi-color-process-output): Check for validity of
7673 comint-last-output-start before using it. This avoids a bad
7674 interaction with gdb-mi's input/output buffer.
7675
666b903b 76762012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7677
7678 * files.el (dir-locals-read-from-file):
7679 Mention dir-locals in any error message.
7680
666b903b 76812012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7682
7683 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7684 package (Bug#11410).
7685
f677562b
CY
7686 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7687 variables into description.
7688
666b903b 76892012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7690
7691 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7692 shell-delimiter-argument-list (bug#11348).
7693 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7694
b499d8d0
JB
76952012-05-09 Juanma Barranquero <lekktu@gmail.com>
7696
8f6b6da8
JB
7697 * textmodes/rst.el: Silence byte-compiler warnings.
7698 (rst-re-alist, rst-reset-section-caches): Move around.
7699 (rst-re): Use `characterp', not `char-valid-p'.
7700 (font-lock-beg, font-lock-end): Declare.
7701
4824146a
JB
7702 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7703 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7704
b499d8d0
JB
7705 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7706
ad89bb83
GM
77072012-05-08 Glenn Morris <rgm@gnu.org>
7708
7709 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7710
8bba5a75
SM
77112012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7712
49ed9c8e
SM
7713 * vc/log-edit.el: Add GNU coding standards highlighting.
7714 (log-edit-font-lock-gnu-style)
7715 (log-edit-font-lock-gnu-keywords): New vars.
7716 (log-edit-font-lock-keywords): New fun.
7717 (log-edit-mode): Don't fold case in font-lock.
7718 (log-edit-font-lock-keywords): Do not assume case-folding.
7719
07d00b56
SM
7720 * imenu.el: Misc cleanup. Make docstrings out of comments.
7721 Use lexical-binding.
7722 (imenu--index-alist, imenu--last-menubar-index-alist)
7723 (imenu-menubar-modified-tick): Use defvar-local.
7724 (imenu--split-menu): Remove unused var.
7725 (imenu--cleanup-seen): Declare as global.
7726 (imenu--cleanup): Use dolist.
7727
8bba5a75
SM
7728 * subr.el (defvar-local): Add debug spec and doc-string position.
7729
5075bdb5
GM
77302012-05-08 Glenn Morris <rgm@gnu.org>
7731
090bd7cb 7732 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7733 * language/english.el, language/georgian.el, language/greek.el:
7734 * language/japanese.el, language/khmer.el, language/korean.el:
7735 * language/lao.el, language/misc-lang.el, language/romanian.el:
7736 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7737 * language/thai.el, language/utf-8-lang.el:
7738 Remove no-byte-compile setting.
7739
5075bdb5
GM
7740 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7741
06f679a7
AH
77422012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7743
7744 * progmodes/make-mode.el (makefile-browse):
7745 Remove unnecessary interactive. (Bug#11324)
7746
03794570
GM
77472012-05-07 Glenn Morris <rgm@gnu.org>
7748
af8630f4
GM
7749 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7750
03794570
GM
7751 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7752
f0809a9d
SM
77532012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7754
28be5ce7
SM
7755 * loadup.el: Preload newcomment.el.
7756 * newcomment.el: Move autoload-only code to toplevel.
7757
f0809a9d
SM
7758 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7759 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7760 Handle new :right-align column property.
7761 (tabulated-list-print-col): Idem, plus use `display' text-property to
7762 try and preserve alignment for variable pitch fonts.
7763
1241b724
CY
77642012-05-07 Chong Yidong <cyd@gnu.org>
7765
7766 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7767 (tabulated-list-use-header-line): New var.
7768 (tabulated-list-init-header): Use it.
7769 (tabulated-list-print-fake-header): New function.
7770 (tabulated-list-print): Use it.
7771 (tabulated-list-sort-button-map): Add non-header-line commands.
7772 (tabulated-list-init-header): Add column name property to basic
7773 labels as well.
7774 (tabulated-list-col-sort): Handle non-header-line button case.
7775 (tabulated-list--sort-by-column-name): Fix a corner case.
7776
f0809a9d
SM
7777 * buff-menu.el (list-buffers--refresh):
7778 Handle Buffer-menu-use-header-line.
1241b724 7779
e5f9458f
CY
77802012-05-06 Chong Yidong <cyd@gnu.org>
7781
7782 * buff-menu.el: Convert to Tabulated List mode.
7783 (Buffer-menu-buffer+size-width): Make obsolete.
7784 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7785 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7786 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7787 documentation into docstring of buffer-menu.
7788 (Buffer-menu-toggle-files-only): Add an informative message.
7789 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7790 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7791 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7792 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7793 (Buffer-menu-execute, Buffer-menu-select)
7794 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7795 (Buffer-menu-bury): Use Tabulated List machinery.
7796 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7797 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7798 Delete.
e5f9458f
CY
7799 (list-buffers--refresh): New function.
7800 (list-buffers-noselect): Use it.
7801 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7802 (Buffer-menu--pretty-file-name): New helper functions.
7803
7804 * loadup.el: Preload tabulated-list.
7805
7806 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7807 tabulated-list-sort-column.
7808 (tabulated-list-init-header): Add the initial aligning space even
7809 if tabulated-list-padding is zero.
7810
e129292c
CS
78112012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7812
7813 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7814 whose cdr is not a cons cell correctly (bug#11038).
7815
6632d361
CY
78162012-05-06 Chong Yidong <cyd@gnu.org>
7817
e129292c
CS
7818 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7819 Accept additional plist in column descriptors.
6632d361
CY
7820 (tabulated-list-init-header): Obey it.
7821 (tabulated-list-get-entry): New function.
7822 (tabulated-list-put-tag): Use it. Use string-width instead of
7823 length.
7824 (tabulated-list--column-number): New function.
7825 (tabulated-list-print): Use it.
e129292c
CS
7826 (tabulated-list-print-col): New function.
7827 Set `tabulated-list-column-name' property on each column's text.
6632d361 7828 (tabulated-list-print-entry): Use it.
e129292c
CS
7829 (tabulated-list-delete-entry, tabulated-list-set-col):
7830 New functions.
6632d361
CY
7831 (tabulated-list-sort-column): New command (Bug#11337).
7832
3cc99f68
CY
7833 * buff-menu.el (list-buffers): Move C-x C-b binding from
7834 buff-menu.el to bindings.el.
7835
7836 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7837 :advertised-binding feature.
7838
52b61776
TN
78392012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7840
7841 * progmodes/compile.el (compilation-internal-error-properties):
7842 Calculate start position correctly when end-col is set but
7843 end-line is not (Bug#11382).
7844
ebfe2597
WJ
78452012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7846
7847 * man.el (Man-unindent): Use text-property-default-nonsticky to
7848 prevent untabify from inheriting face properties (Bug#11408).
7849
6d3f7c2f
SM
78502012-05-05 Stefan Merten <smerten@oekonux.de>
7851
7852 * textmodes/rst.el: Major merge with upstream development up to
7853 Docutils SVN r7399 / rst.el V1.2.1.
7854
7855 Clarify maintainership and authors.
7856
7857 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7858 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7859 (rst-official-version, rst-official-cvs-rev, rst-version)
7860 (rst-package-emacs-version-alist): New functions and variables
7861 for version information.
7862
7863 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7864 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7865 (rst-mode-syntax-table, rst-mode): New and corrected functions
7866 and variables representing reStructuredText features.
7867
7868 (rst-re): New function for reStructuredText regexes. Use in
7869 many places.
7870
7871 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7872 (rst-mode-map): Rebind keys.
7873
7874 (rst-mode-lazy, rst-font-lock-keywords)
7875 (rst-font-lock-extend-region)
7876 (rst-font-lock-extend-region-internal)
7877 (rst-font-lock-extend-region-extend)
7878 (rst-font-lock-find-unindented-line-limit)
7879 (rst-font-lock-find-unindented-line-match)
7880 (rst-adornment-level, rst-font-lock-adornment-level)
7881 (rst-font-lock-adornment-match)
7882 (rst-font-lock-handle-adornment-pre-match-form)
7883 (rst-font-lock-handle-adornment-matcher): Major revision of
7884 font-locking. Integrate with other code. Use `jit-lock-mode'.
7885
7886 (rst-preferred-adornments, rst-adjust-hook)
7887 (rst-new-adornment-down, rst-preferred-bullets)
7888 (rst-preferred-bullets, rst-indent, rst-indent-width)
7889 (rst-indent-field, rst-indent-literal-normal)
7890 (rst-indent-literal-minimized, rst-indent-comment): Change,
7891 extend and improve customization.
7892
7893 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7894 (rst-normalize-cursor-position, rst-get-decoration)
7895 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7896 (rst-rstrip, rst-toc-insert-find-delete-contents)
7897 (rst-shift-fill-region, rst-compute-bullet-tabs)
7898 (rst-debug-print-tabs, rst-debug-mark-found)
7899 (rst-shift-region-guts, rst-shift-region-right)
7900 (rst-shift-region-left, rst-use-char-classes)
7901 (rst-font-lock-keywords-function)
7902 (rst-font-lock-indentation-point)
7903 (rst-font-lock-find-unindented-line-begin)
7904 (rst-font-lock-find-unindented-line-end)
7905 (rst-font-lock-find-unindented-line)
7906 (rst-font-lock-adornment-point, rst-font-lock-level)
7907 (rst-adornment-level-alist): Remove functions and variables.
7908
7909 (rst-compare-adornments, rst-get-adornment-match)
7910 (rst-suggest-new-adornment, rst-get-adornments-around)
7911 (rst-adornment-complete-p, rst-get-next-adornment)
7912 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7913 (rst-straighten-adornments): Standardize function names to
7914 use "adornment" instead of "decoration". Correct callers.
7915 Similar standardizing in many places.
7916
7917 (rst-update-section, rst-adjust, rst-promote-region)
7918 (rst-enumerate-region, rst-bullet-list-region)
7919 (rst-repeat-last-character): Correct use of `interactive'.
7920
7921 (rst-classify-adornment, rst-find-all-adornments)
7922 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7923 (rst-find-leftmost-column, rst-repeat-last-character):
7924 Refactor functions.
7925
7926 (rst-find-title-line, rst-reset-section-caches)
7927 (rst-get-adornments-around, rst-adjust-adornment-work)
7928 (rst-arabic-to-roman, rst-roman-to-arabic)
7929 (rst-insert-list-pos, rst-insert-list-new-item)
7930 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7931 New functions.
7932
7933 (rst-all-sections, rst-section-hierarchy)
7934 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7935 New variables.
7936
7937 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7938 configuration instead of only buffer. Change where necessary.
7939
7940 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7941 (rst-shift-region, rst-adaptive-fill): New functions for
7942 indentation and filling.
7943
7944 (rst-comment-line-break, rst-comment-indent)
7945 (rst-comment-insert-comment, rst-comment-region)
7946 (rst-uncomment-region): New functions for handling comments.
7947
7948 (rst-compile): Quote shell arguments.
7949
7950 (rst-compile-pdf-preview, rst-compile-slides-preview):
7951 Delete temporary files after use.
7952
a43f98b3
GM
79532012-05-05 Glenn Morris <rgm@gnu.org>
7954
48176e8b
GM
7955 * calendar/cal-html.el: Optionally include holidays in the output.
7956 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7957 (cal-html-holidays): New option.
7958 (cal-html-css-default): Add holiday entry.
7959 (holiday-in-range): Autoload it.
7960 (cal-html-htmlify-entry): Add optional class argument.
7961 (cal-html-htmlify-list): Add optional holidays argument.
7962 (cal-html-insert-agenda-days): Include holidays in the output.
7963 (cal-html-one-month): Maybe include holidays.
7964
a43f98b3
GM
7965 * calendar/holidays.el (holiday-in-range):
7966 Move here from cal-tex-list-holidays.
7967 * calendar/cal-tex.el (cal-tex-list-holidays):
7968 Make it an obsolete alias for holiday-in-range. Update all callers.
7969
fef9d149 79702012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7971
7972 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7973 Nextstep.
7974
248da2f4
RW
79752012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7976
7977 * files.el (file-auto-mode-skip): New var.
7978 (set-auto-mode-1): Use it.
7979
f95e9344
SM
79802012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7981
df96ab1e
SM
7982 * repeat.el: Use lexical-binding.
7983 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7984 (repeat-undo-count): Remove.
7985 (repeat):
7986 * progmodes/octave-mod.el (octave-abbrev-start):
7987 * progmodes/f90.el (f90-abbrev-start):
7988 * face-remap.el (text-scale-adjust):
7989 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7990
5342bb06
SM
7991 * emacs-lisp/pcase.el (pcase--let*): New function.
7992 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7993 a bit more.
7994 (pcase--split-pred): Be more clever about ruling out overlap between
7995 a predicate and some constant pattern.
7996 (pcase--q1): Use `null' instead of (eq foo nil).
7997
f95e9344
SM
7998 * subr.el (setq-local, defvar-local): New macros.
7999 (kbd): Redefine as an alias.
8000 (with-selected-window): Leave unrelated frames alone.
8001 (set-temporary-overlay-map): New function.
8002
71873e2b
SM
80032012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8004
8005 * subr.el (user-error): New function.
8006 * window.el (switch-to-buffer):
8007 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8008 (smerge-match-conflict):
8009 * simple.el (previous-matching-history-element)
8010 (next-matching-history-element, goto-history-element, undo-more)
8011 (undo-start):
8012 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8013 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8014 (next-file, tags-loop-scan, list-tags, complete-tag):
8015 * progmodes/compile.el (compilation-loop):
8016 * mouse.el (mouse-minibuffer-check):
8017 * man.el (Man-bgproc-sentinel, Man-goto-page):
8018 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8019 (Info-history-forward, Info-follow-reference, Info-menu)
8020 (Info-extract-menu-item, Info-extract-menu-counting)
8021 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8022 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8023 (Info-next-reference, Info-prev-reference, Info-index)
8024 (Info-index-next, Info-follow-nearest-node)
8025 (Info-copy-current-node-name):
8026 * imenu.el (imenu--make-index-alist)
8027 (imenu-default-create-index-function, imenu-add-to-menubar):
8028 * files.el (basic-save-buffer, recover-file):
8029 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8030 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8031 (checkdoc-message-text, checkdoc-defun):
8032 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8033 * cus-edit.el (customize-changed-options, customize-rogue)
8034 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8035 (custom-variable-mark-to-reset-standard)
8036 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8037 (custom-file):
8038 * completion.el (check-completion-length):
8039 * comint.el (comint-search-arg)
8040 (comint-previous-matching-input-string-position)
8041 (comint-previous-matching-input)
8042 (comint-replace-by-expanded-history-before-point, comint-send-input)
8043 (comint-copy-old-input, comint-backward-matching-input)
8044 (comint-goto-process-mark, comint-set-process-mark):
8045 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8046 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8047
8a61ee22
SM
80482012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8049
66408d1e
SM
8050 * dabbrev.el (dabbrev--ignore-case-p): New function.
8051 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8052 Use it.
8053
8a61ee22
SM
8054 * files.el (automount-dir-prefix): Mark as obsolete.
8055
3c74813a
GM
80562012-05-04 Glenn Morris <rgm@gnu.org>
8057
8058 * patcomp.el, play/bruce.el: Move to obsolete/.
8059
0bfcf5c5
PE
80602012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8061
8062 Fix minor Y10k bugs.
8063 * arc-mode.el (archive-unixdate):
8064 * autoinsert.el (auto-insert-alist):
8065 * calc/calc-forms.el (math-this-year):
8066 * emacs-lisp/copyright.el (copyright-current-year)
8067 (copyright-update-year, copyright):
8068 * tar-mode.el (tar-clip-time-string):
8069 * time.el (display-time-update):
8070 Don't assume years have 4 digits.
8071
78f3273a
CY
80722012-05-04 Chong Yidong <cyd@gnu.org>
8073
8074 * dos-w32.el (file-name-buffer-file-type-alist)
8075 (direct-print-region-use-command-dot-com):
8076 * ffap.el (ffap-menu-regexp):
8077 * find-file.el (ff-special-constructs):
8078 * follow.el (follow-debug):
8079 * forms.el (forms--debug):
8080 * iswitchb.el (iswitchb-all-frames):
8081 * ido.el (ido-all-frames):
8082 * emacs-lisp/timer.el (timer-max-repeats):
8083 * mail/feedmail.el (feedmail-mail-send-hook)
8084 (feedmail-mail-send-hook-queued):
8085 * mail/footnote.el (footnote-signature-separator):
8086 * mail/mailabbrev.el (mail-alias-separator-string)
8087 (mail-abbrev-mode-regexp):
8088 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8089 * progmodes/idlwave.el (idlwave-libinfo-file)
8090 (idlwave-default-completion-case-is-down)
8091 (idlwave-library-routines): Convert defvars to defcustoms.
8092
8093 * mail/rmail.el (rmail-decode-mime-charset):
8094 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8095 (idlwave-shell-fix-inserted-breaks)
8096 (idlwave-shell-activate-alt-keybindings)
8097 (idlwave-shell-use-breakpoint-glyph):
8098 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8099
f7ae6719
SM
81002012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8101
8102 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8103
47086495
WS
81042012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8105
8106 * progmodes/verilog-mode.el (font-lock-keywords):
8107 Fix mis-highligting auto. Reported by Craig Barner.
8108 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8109 defines from global name space. Reported by Dan Dever.
47086495
WS
8110 (verilog-auto-reset, verilog-auto-reset-widths)
8111 (verilog-auto-tieoff): Support using unbased numbers for
8112 AUTORESET and AUTOTIEOFF.
8113 (verilog-submit-bug-report): Update variable list.
8114 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8115 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8116 (verilog-auto-template-lint): Fix hash error when linting modules
8117 with no used templates.
8118 (verilog-warn, verilog-warn-error)
8119 (verilog-warn-fatal): When non-interactive report multiple
8120 warnings before exiting. Suggested by Brad Dobbie.
8121 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8122 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8123 to report unused template errors. Reported by Brad Dobbie.
8124 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8125 nets, bug438. Reported by Vns Blore.
47086495
WS
8126 (verilog-auto-inout-module, verilog-auto-reg)
8127 (verilog-read-decls, verilog-read-sub-decls-sig)
8128 (verilog-signals-edit-wire-reg, verilog-signals-with):
8129 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8130 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8131 "reg" for backwards compatibility presuming Verilog 2001.
8132 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8133 (verilog-preprocess): Fix replication of preprocess output.
8134 Reported by Brad Dobbie.
8135 (verilog-auto-inst-interfaced-ports):
8136 Create verilog-auto-inst-interfaced-ports, bug429.
8137 Reported by Julian Gorfajn.
8138 (verilog-after-save-font-hook)
8139 (verilog-before-save-font-hook): New variable.
8140 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8141 (verilog-save-font-mods): Wrap disabling fontification, reported
8142 by David Rogoff.
8143 (verilog-do-indent, verilog-pretty-declarations-auto)
8144 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8145 Reported by Pierre-David Pfister.
8146 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8147 of class declarations, bug292. Reported by Kevin Heilman.
8148 (verilog-read-decls): Fix 'parameter type' not appearing in
8149 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8150 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8151 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8152 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8153 Reported by David Kravitz.
8154
81552012-05-03 Michael McNamara <mac@mail.brushroad.com>
8156
8157 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8158 assignment with tests in ifs and for loops.
8159 (verilog-extended-complete-re, verilog-complete-reg): Change so
8160 that DPI inport functions don't look like fuction declarations.
8161 (verilog-pretty-expr): Don't line up assignment
8162 operations to the test and increment in if and for loops
8163 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8164 that DPI inport functions don't look like fuction declarations.
47086495 8165
2e51d4b5
KH
81662012-05-03 Kenichi Handa <handa@m17n.org>
8167
8168 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8169 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8170 (Bug#11282).
8171
2bd785a2
SM
81722012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 * emacs-lisp/bytecomp.el
8175 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8176 since cconv.el might have introduced :fun-body, internal-make-closure,
8177 and friends for bytecomp to handle (bug#11391).
8178 * custom.el (defcustom): Avoid ((λ ..) ..).
8179
99d27583
SM
81802012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8181
8182 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8183
55a71479
JB
81842012-05-02 Juanma Barranquero <lekktu@gmail.com>
8185
8186 * notifications.el (dbus-debug):
8187 * term/linux.el (gpm-mouse-enable):
8188 * term/screen.el (xterm-register-default-colors): Declare.
8189
7b97c764
CY
81902012-05-02 Chong Yidong <cyd@gnu.org>
8191
2bc356d7
CY
8192 * cus-start.el (gc-cons-percentage, exec-suffixes)
8193 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8194 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8195 (make-cursor-line-fully-visible, void-text-area-pointer)
8196 (font-list-limit): Add customization data.
8197
7b97c764
CY
8198 * allout.el (allout-exposure-change-functions)
8199 (allout-structure-added-functions)
8200 (allout-structure-deleted-functions)
8201 (allout-structure-shifted-functions): Rename abnormal hooks from
8202 *-hook, and convert to defcustoms.
5d3385a0
JB
8203 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8204 Convert to defcustoms.
7b97c764
CY
8205 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8206
8207 * allout-widgets.el: Hook callers changed.
8208
90207a15 82092012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8210
8211 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8212 the yanked message in preference to the default value of
8213 buffer-file-coding-system.
8214
90207a15 82152012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8216
5d3385a0
JB
8217 * window.el (display-buffer--action-function-custom-type):
8218 Fix entry.
d9558cad 8219
90207a15 82202012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8221
8222 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8223
d80ac57b
GM
82242012-05-01 Glenn Morris <rgm@gnu.org>
8225
976f7668
GM
8226 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8227
beb83b5a
GM
8228 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8229
d80ac57b
GM
8230 * cus-edit.el (custom-variable-documentation): Simplify with format.
8231
b593d6a9 82322012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8233 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8234
8235 * simple.el (suggest-key-bindings, execute-extended-command):
8236 Move from keyboard.c.
8237
782fbf2a
CY
82382012-05-01 Chong Yidong <cyd@gnu.org>
8239
8240 * follow.el: Eliminate advice.
8241 (set-process-filter, process-filter, sit-for): Advice deleted.
8242 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8243 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8244 Vars deleted.
782fbf2a
CY
8245 (follow-auto): Use a :set function.
8246 (follow-mode): Rewritten. Don't advise process filters.
8247 (follow-switch-to-current-buffer-all, follow-scroll-up)
8248 (follow-scroll-down): Assume follow-mode is bound.
8249 (follow-comint-scroll-to-bottom)
8250 (follow-align-compilation-windows): New functions.
8251 (follow--window-sorter): New function.
8252 (follow-all-followers): Use it to explicitly sort windows by their
8253 positions; don't make assumptions about next-window order.
8254 (follow-windows-start-end, follow-delete-other-windows-and-split)
8255 (follow-calc-win-start): Doc fix.
8256 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8257 vertical-motion unnecessarily.
8258 (follow-adjust-window): New function.
8259 (follow-post-command-hook): Use it.
8260 (follow-call-set-process-filter, follow-call-process-filter)
8261 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8262 (follow-stop-intercept-process-output, follow-generic-filter):
8263 Functions deleted.
8264 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8265 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8266 New functions, replacing advice on scroll-bar-* commands.
87233a14 8267 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8268
8269 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8270 (comint-postoutput-scroll-to-bottom): Use it.
8271 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8272
290af740
GM
82732012-05-01 Glenn Morris <rgm@gnu.org>
8274
8275 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8276 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8277 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8278 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8279 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8280 Remove no-byte-compile setting.
8281
6eac8dc9
SM
82822012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8283
8284 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8285 all-completions code to not return a number in the last cdr.
8286
9cc7819c
LL
82872012-04-30 Leo Liu <sdl.web@gmail.com>
8288
8289 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8290 read-only error.
8291
c93b886f
CY
82922012-04-29 Chong Yidong <cyd@gnu.org>
8293
8294 * follow.el (follow-calc-win-end): Rewrite to handle partial
8295 screen lines correctly (Bug#8390).
8296 (follow-avoid-tail-recenter): Minor cleanup.
8297
8b6c19f4
SM
82982012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 Avoid the obsolete `assoc' package.
8301 * speedbar.el (speedbar-refresh): Avoid adelete.
8302 (speedbar-file-lists): Simplify and avoid aput.
8303 * man.el (Man--sections, Man--refpages): New vars, replacing
8304 Man-sections-alist and Man-refpages-alist.
8305 (Man-build-section-alist, Man-build-references-alist):
8306 Use them; avoid aput.
8307 (Man--last-section, Man--last-refpage): New vars.
8308 (Man-follow-manual-reference): Use them.
8309 Use the `default' arg of completing-read.
8310 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8311
c5bb7569
CY
83122012-04-27 Chong Yidong <cyd@gnu.org>
8313
d1d2e2e8
CY
8314 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8315
15cd8efd
CY
8316 * startup.el (x-apply-session-resources): New function.
8317
8318 * term/ns-win.el (ns-initialize-window-system):
8319 * term/w32-win.el (w32-initialize-window-system):
8320 * term/x-win.el (x-initialize-window-system): Use it to properly
8321 set menu-bar-mode and other vars from X resources, even if the
8322 initial frame is not a window-system frame (Bug#2299).
8323
c5bb7569
CY
8324 * subr.el (read-key): Avoid running filter function when setting
8325 up temporary tool bar entries (Bug#9922).
8326
a8e7d6d7 83272012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8328
8329 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8330 (Bug#11344)
8331
a8e7d6d7 83322012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8333
8334 * select.el (xselect--encode-string): New function, split from
8335 xselect-convert-to-string.
8336 (xselect-convert-to-string): Use it.
8337 (xselect-convert-to-filename, xselect-convert-to-os)
8338 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8339 returned strings are properly encoded (Bug#11315).
8340
a8e7d6d7 83412012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8342
8343 * simple.el (delete-active-region): Move to killing custom group.
8344
a8e7d6d7 83452012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8346
8347 * progmodes/which-func.el (which-func-current): Quote %
8348 characters for mode-line processing.
8349
578c1d4b 83502012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8351
8352 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8353 reaching eob (Bug#11286).
8354
a8e7d6d7 83552012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8356
8357 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8358 (gdb): Make it buffer-local and init to zero.
8359 (gdb-control-commands-regexp): New variable.
8360 (gdb-send): Don't wrap in "-interpreter-exec console" if
8361 gdb-control-level is positive. Increment gdb-control-level
8362 whenever the command matches gdb-control-commands-regexp, and
8363 decrement it each time the command is "end". (Bug#11279)
8364
a8e7d6d7 83652012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8366
8367 * window.el (adjust-window-trailing-edge, enlarge-window)
8368 (shrink-window, window-resize):
8369 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8370 windows (Bug#11276).
8371
b3608390
CY
83722012-04-27 Chong Yidong <cyd@gnu.org>
8373
8374 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8375 fix "missing prefix" warning. All callers changed.
b3608390 8376
797e6e88
SM
83772012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * emacs-lisp/assoc.el: Move to obsolete/.
8380
e95a67dc
SM
83812012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8382
657c21e4 8383 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8384
8385 * term/ns-win.el (ns-define-service):
8386 * progmodes/pascal.el (pascal-goto-defun):
8387 * progmodes/js.el (js--read-tab):
8388 * progmodes/etags.el (tags-lazy-completion-table):
8389 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8390 * emacs-lisp/ewoc.el (ewoc--wrap):
8391 * emacs-lisp/assoc.el (aput, adelete, amake):
8392 * doc-view.el (doc-view-convert-current-doc):
8393 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8394
cb3e7ae0
CY
83952012-04-26 Chong Yidong <cyd@gnu.org>
8396
dce04f7f
CY
8397 * image.el (image-type-from-buffer): Only return supported image
8398 type (Bug#9045).
8399
cb3e7ae0
CY
8400 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8401 value, for symmetry with diff-end-of-hunk.
8402 (diff-split-hunk, diff-find-source-location)
8403 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8404 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8405 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8406 compute the relevant hunk or file properly (Bug#6005).
8407 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8408
0d42eb3e
SM
84092012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * vc/vc-mtn.el:
8412 * vc/vc-hg.el:
8413 * vc/vc-git.el:
8414 * vc/vc-dir.el:
8415 * vc/vc-cvs.el:
8416 * vc/vc-bzr.el:
8417 * vc/vc-arch.el:
8418 * vc/vc.el: Replace lexical-let by lexical-binding.
8419 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8420 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8421 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8422
f08ae1c9
CY
84232012-04-26 Chong Yidong <cyd@gnu.org>
8424
8b71081d
CY
8425 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8426 (diff-mode-shared-map): Bind it to / and [remap undo].
8427
f08ae1c9
CY
8428 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8429 (ediff-window-setup-function): Use it as the default, to set up
8430 windows based on whether the current frame is graphical (Bug#2138).
8431 (ediff-choose-window-setup-function-automatically): Make obsolete.
8432
8433 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8434
ef24141c
SM
84352012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8436
cc356a5d
SM
8437 * ffap.el: Remove old code for obsolete package.
8438 (ffap-complete-as-file-p): Remove.
8439
b4ff4f1f
SM
8440 Use completion-table-with-quoting for comint and pcomplete.
8441 * comint.el (comint--unquote&requote-argument)
8442 (comint--unquote-argument, comint--requote-argument): New functions.
8443 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8444 (comint-quote-filename): Use regexp-opt-charset.
8445 (comint--common-suffix, comint--common-quoted-suffix)
8446 (comint--table-subvert): Remove.
8447 (comint-unquote-function, comint-requote-function): New vars.
8448 (comint--complete-file-name-data): Use them with
8449 completion-table-with-quoting.
8450 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8451 * pcomplete.el (pcomplete-arg-quote-list)
8452 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8453 (pcomplete-unquote-argument-function): Default to non-nil.
8454 (pcomplete-unquote-argument): Simplify.
8455 (pcomplete--common-quoted-suffix): Remove.
8456 (pcomplete-requote-argument-function): New var.
8457 (pcomplete--common-suffix): New function.
8458 (pcomplete-completions-at-point): Use completion-table-with-quoting
8459 and completion-table-subvert.
8460
79c4eeb4
SM
8461 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8462 (minibuffer--double-dollars): Preserve properties.
8463 (completion--sifn-requote): New function.
8464 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8465
ef24141c
SM
8466 * minibuffer.el: Add support for completion of quoted/escaped data.
8467 (completion-table-with-quoting, completion-table-subvert): New funs.
8468 (completion--twq-try, completion--twq-all): New functions.
8469 (completion--nth-completion): New function.
8470 (completion-try-completion, completion-all-completions): Use it.
8471
784e7d6e
LL
84722012-04-25 Leo Liu <sdl.web@gmail.com>
8473
dd2ac746
SM
8474 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8475 Use compilation-message if available to find real filename.
784e7d6e 8476
07875ee7
CY
84772012-04-25 Chong Yidong <cyd@gnu.org>
8478
8479 * vc/diff-mode.el (diff-setup-whitespace): New function.
8480 (diff-mode): Use it.
8481
8482 * vc/diff.el (diff-sentinel):
8483 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8484 Whitespace mode variables based on diff style (Bug#8612).
8485
5055880d
LL
84862012-04-25 Leo Liu <sdl.web@gmail.com>
8487
daf75653
LL
8488 * progmodes/python.el (python-send-region): Add suffix .py to the
8489 temp file.
8490
5055880d
LL
8491 * files.el (auto-mode-alist): Use javascript-mode instead.
8492
db9b177b
AH
84932012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8494
ef24141c 8495 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8496
090bd7cb 8497 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8498 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8499 references, see Bug#9.
ef24141c 8500 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8501 when receiving a fault reply.
ef24141c 8502 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8503
090bd7cb 8504 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8505 (soap-inspect-simple-type): New function.
db9b177b 8506
090bd7cb 8507 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8508 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8509 (soap-decode-basic-type, soap-encode-basic-type):
8510 support unsignedInt and double basic types.
db9b177b 8511 (soap-resolve-references-for-simple-type)
ef24141c
SM
8512 (soap-parse-simple-type, soap-encode-simple-type): New function.
8513 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8514
090bd7cb 8515 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8516 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8517 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8518 the local name of "soapenc:Array".
8519 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8520 decoding integer, byte and anyURI xsd types.
8521
1fc6097b
CY
85222012-04-25 Chong Yidong <cyd@gnu.org>
8523
8524 * cus-edit.el (custom-buffer-create-internal): Update header text.
8525
afc6df87
EZ
85262012-04-25 Eli Zaretskii <eliz@gnu.org>
8527
8528 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8529 settings on 'system-type', not on 'window-system'. On MS-Windows,
8530 set interactive-mode on in GDB.
8531
dfbd787f
SM
85322012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8535 (ruby-syntax-propertize-regexp): Remove.
8536 (ruby-syntax-propertize-function): Split regexp into chunks.
8537 Match following code directly.
8538
85222d44
DG
85392012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8540
51a8ea2a
DG
8541 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8542 (ruby-syntax-propertize-regexp): New function.
8543 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8544 by a special keyword.
8545
85222d44
DG
8546 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8547 (ruby-syntax-general-delimiters-goto-beg)
8548 (ruby-syntax-propertize-general-delimiters): New functions.
8549 (ruby-syntax-propertize-function): Use them to handle GDL.
8550 (ruby-font-lock-keywords): Move old handling of GDL...
8551 (ruby-font-lock-syntactic-keywords): .. to here.
8552 (ruby-calculate-indent): Adjust indentation for GDL.
8553
b613912b
MA
85542012-04-24 Michael Albinus <michael.albinus@gmx.de>
8555
b5380639
MA
8556 * notifications.el (top): Remove unneeded declarations.
8557 (notifications-specification-version): Change to "1.2".
e43042fe 8558 (notifications-interface, notifications-notify-method)
b613912b
MA
8559 (notifications-close-notification-method): Fix docstring.
8560 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8561 (notifications-notify): Add :action-items, :resident and
8562 :transient hints. Change "image_data" to "image-data" and
8563 "image_path" to "image-path".
b613912b
MA
8564 (notifications-get-capabilities): New defun.
8565
257440aa
LL
85662012-04-24 Leo Liu <sdl.web@gmail.com>
8567
8568 * progmodes/python.el: Move hideshow setup to the end.
8569
b1bac16e
MR
85702012-04-24 Martin Rudalics <rudalics@gmx.at>
8571
8572 * window.el (handle-select-window): Clear echo area since this is
8573 no more done by read_char (Bug#11304).
8574
d81bd059
SM
85752012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8576
8577 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8578 and `/ M' to filter-derived-mode.
8579 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8580 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8581 (ibuffer-mark-by-mode): Use default rather than initial-input.
8582 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8583
c4cf6d91
IA
85842012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8585
8586 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8587 (ibuffer-filter-by-derived-mode): New filter.
8588 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8589
7511ded8
CY
85902012-04-23 Andreas Politz <politza@fh-trier.de>
8591
8592 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8593
775c916b
CY
85942012-04-23 Chong Yidong <cyd@gnu.org>
8595
8596 * cus-edit.el (customize-apropos, customize-apropos-options):
8597 Disable matching of non-option variables (Bug#11176).
8598 (customize-option, customize-option-other-window)
8599 (customize-changed-options): Doc fix.
8600 (customize-apropos-options, customize-apropos-faces)
8601 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8602
8603 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8604 Fix word list splitting (Bug#11132).
46c71e23
CY
8605 (apropos-symbol, apropos-keybinding, apropos-label)
8606 (apropos-property, apropos-function-button)
8607 (apropos-variable-button, apropos-misc-button): New faces.
8608 (apropos-symbol-face, apropos-keybinding-face)
8609 (apropos-label-face, apropos-property-face, apropos-match-face):
8610 Variables removed (Bug#8396).
8611 (apropos-library-button, apropos-format-plist, apropos-print)
8612 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8613
2df41f9c
MA
86142012-04-23 Michael Albinus <michael.albinus@gmx.de>
8615
8616 * net/xesam.el (xesam-mode-map): Use let-bound map in
8617 initialization. (Bug#11292)
8618
da00640a
AM
86192012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8620
8621 Preserve ispell session localwords when switching back to
8622 original buffer.
8623
090bd7cb
JB
8624 * textmodes/ispell.el (ispell-buffer-session-localwords):
8625 New buffer-local variable to hold buffer session localwords.
ed9265fc 8626 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8627 localwords.
8628 (ispell-command-loop, ispell-change-dictionary)
8629 (ispell-buffer-local-words): Preserve session localwords when
8630 needed.
8631
090bd7cb
JB
8632 * textmodes/flyspell.el (flyspell-process-localwords)
8633 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8634
f621ccf5
AM
86352012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8636
090bd7cb
JB
8637 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8638 using obsolete `translation-table-for-input'.
ef24141c
SM
8639 (ispell-word, ispell-process-line, ispell-complete-word):
8640 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8641
c2d1019e
CY
86422012-04-22 Chong Yidong <cyd@gnu.org>
8643
8644 * cus-edit.el (custom-variable-menu)
8645 (custom-variable-reset-saved, custom-face-menu)
8646 (custom-face-reset-saved): If there is no saved value, make the
8647 "reset-saved" operation bring back the default (Bug#9509).
8648 (custom-face-state): Properly detect themed faces.
8649
eeddc531
CY
8650 * faces.el (face-spec-set): Stop supporting deprecated form of
8651 third arg.
8652
dcbf5805
MA
86532012-04-22 Michael Albinus <michael.albinus@gmx.de>
8654
8655 Move functions from C to Lisp. Make non-blocking method calls
8656 the default. Implement further D-Bus standard interfaces.
8657
ef24141c
SM
8658 * net/dbus.el (dbus-message-internal): Declare function.
8659 Remove unneeded function declarations.
dcbf5805
MA
8660 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8661 (dbus-message-type-method-return, dbus-message-type-error)
8662 (dbus-message-type-signal): Declare variables. Remove local
8663 definitions.
8664 (dbus-interface-dbus, dbus-interface-peer)
8665 (dbus-interface-introspectable, dbus-interface-properties)
8666 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8667 Adapt docstring.
8668 (dbus-interface-objectmanager): New defconst.
8669 (dbus-call-method, dbus-call-method-asynchronously)
8670 (dbus-send-signal, dbus-method-return-internal)
8671 (dbus-method-error-internal, dbus-register-service)
8672 (dbus-register-signal, dbus-register-method): New defuns, moved
8673 from dbusbind.c
8674 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8675 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8676 New defuns.
dcbf5805
MA
8677 (dbus-call-method-non-blocking): Make it an obsolete function.
8678 (dbus-unregister-object, dbus-unregister-service)
8679 (dbus-handle-event, dbus-register-property)
8680 (dbus-property-handler): Obey the new structure of
8681 `bus-registered-objects'.
8682 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8683 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8684 Use `dbus-call-method'.
8685
cf20dee0
CY
86862012-04-22 Chong Yidong <cyd@gnu.org>
8687
8688 * cus-edit.el (custom-commands, custom-reset-menu)
8689 (Custom-reset-standard): Tweak labels.
8690 (custom-reset-button-menu): Change default to t.
8691 (custom-buffer-create-internal): For the custom-reset-button-menu
8692 case, put the revert button first.
8693 (custom-group-subtitle): New face.
8694 (custom-group-value-create): Align docstring to a specific column.
8695
8696 * wid-edit.el (widget-documentation-link-add): Don't handle
8697 indentation in this function.
8698 (widget-documentation-string-indent-to): New function.
8699 (widget-documentation-string-value-create): Use it.
8700
8701 * autorevert.el (auto-revert):
8702 * epg-config.el (epg):
8703 * ibuffer.el (ibuffer):
8704 * mpc.el (mpc):
8705 * ses.el (ses):
8706 * eshell/eshell.el (eshell):
8707 * net/ange-ftp.el (ange-ftp):
8708 * progmodes/ebnf2ps.el (postscript):
8709 * progmodes/flymake.el (flymake):
8710 * progmodes/prolog.el (prolog):
8711 * progmodes/verilog-mode.el (verilog-mode):
8712 * progmodes/which-func.el (which-func):
8713 * term/xterm.el (xterm):
8714 * textmodes/picture.el (picture):
8715 * textmodes/tildify.el (tildify):
8716 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8717 customization buffers.
8718
583e23bd
AM
87192012-04-22 Alan Mackenzie <acm@muc.de>
8720
8721 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8722 Adding a ) can hide the resulting (..) from searches. Fix it.
8723 Bound the backward search to the position of the existing (.
8724
7dd51bf1
JB
87252012-04-21 Juanma Barranquero <lekktu@gmail.com>
8726
8727 * progmodes/verilog-mode.el (verilog-mode): Check whether
8728 which-func-modes is t before adding verilog-mode.
8729 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8730
d64a438f
LL
87312012-04-21 Leo Liu <sdl.web@gmail.com>
8732
7dd51bf1 8733 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8734
081e8d65
MV
87352012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8736
8737 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8738 filling of the last column of a table (Bug#5635).
8739 (woman-find-next-control-line): New arg, specifying an additional
8740 regexp component for the control line.
8741 (woman2-roff-buffer): Use it.
8742 (woman-break-table): New function.
8743 (woman2-TS): Use it.
8744
87452012-04-21 Chong Yidong <cyd@gnu.org>
8746
8747 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8748 (woman-horizontal-escapes, woman-negative-vertical-space)
8749 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8750 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8751
ed571ccb
SM
87522012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * minibuffer.el (completion-file-name-table): Complete user names.
8755
39773899
LL
87562012-04-20 Leo Liu <sdl.web@gmail.com>
8757
8758 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8759 and pcase-let*.
8760
de6ff46d
CY
87612012-04-20 Chong Yidong <cyd@gnu.org>
8762
8763 * server.el (server-execute): Respect initial-buffer-choice if it
8764 is a string and there are no files to open (Bug#2825).
8765 (server-create-window-system-frame, server-create-tty-frame):
8766 Don't switch buffers here.
2d0e8e61
CY
8767 (server-process-filter): Only try to open a window system frame if
8768 compiled with graphical support (Bug#8314).
de6ff46d 8769
54071013
DN
87702012-04-20 Dan Nicolaescu <dann@gnu.org>
8771
8772 * battery.el (battery-echo-area-format): Display remaining time
8773 for sysfs backend too (Bug#11269).
8774 (battery-linux-sysfs): Fix conditional for the charge.
8775
f30d612a
CY
87762012-04-20 Chong Yidong <cyd@gnu.org>
8777
c07a4c0b 8778 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8779 (gdb-inferior-io--init-proc): New function.
8780 (gdb-init-1): Use it.
8781 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8782 responsible for allocating a new pty and hooking it to gdb when
8783 the old pty gets an EIO due to process exit.
8784 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8785 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8786 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8787
2116e93c
EZ
87882012-04-20 Eli Zaretskii <eliz@gnu.org>
8789
8790 * window.el (window-min-size, window-sizable, window-min-delta)
8791 (window-max-delta, window--resizable, window-resizable)
8792 (window-total-size, window-full-height-p, window-full-width-p)
8793 (window-in-direction, window--resize-mini-window, window-resize)
8794 (window--resize-child-windows-normal)
8795 (window--resize-child-windows, window--resize-siblings)
8796 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8797 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8798
c07a4c0b 87992012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8800
ef24141c
SM
8801 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8802 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8803 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8804 pty process (Bug#11273).
8805 (gdb-update): New arg to suppress talking to the gdb process.
8806 (gdb-done-or-error): Use it.
8807 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8808 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8809 sentinel not being called.
8810
8811 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8812
d02766ab
CY
8813 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8814
c07a4c0b 88152012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8816
8817 * net/network-stream.el (open-network-stream): Doc fix.
8818
c07a4c0b 88192012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8820
8821 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8822
c07a4c0b 88232012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8824
8825 Ensure searching for keywords is case sensitive.
8826
8827 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8828 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8829 (c-defun-name, c-mark-function, c-cpp-define-name)
8830 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8831 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8832
ef24141c
SM
8833 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8834 Bind case-fold-search to nil.
f0f6bc35 8835
c07a4c0b 88362012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8837
8838 * mail/sendmail.el (mail-bury): Call return action with the right
8839 Rmail buffer (Bug#11242).
8840
9a864fa2
CY
8841 * server.el (server-process-filter): Handle corner case where both
8842 tty and nowait options are present (Bug#11102).
8843
539aa513
EZ
88442012-04-20 Eli Zaretskii <eliz@gnu.org>
8845
8846 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8847 (top level): Put into the executable the ident-style '$Id:' tag on
8848 windows-nt as well.
539aa513 8849
cfc7d5da
SM
88502012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8851
8852 * electric.el (electric-indent-post-self-insert-function): Check that
8853 electric-indent-mode is enabled in current buffer.
8854
5b01685c
JB
88552012-04-19 Juanma Barranquero <lekktu@gmail.com>
8856
8857 * imenu.el (imenu-progress-message): Restore; it is "used" in
8858 erc/erc-imenu.el and net/snmp-mode.el.
8859
4d6769e1
JB
88602012-04-19 Juanma Barranquero <lekktu@gmail.com>
8861
8862 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8863 (mouse-avoidance-nudge-mouse): Remove unused binding.
8864
8865 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8866
8867 * descr-text.el (describe-char):
8868 * progmodes/python.el (python-describe-symbol):
8869 Don't call `toggle-read-only', set `buffer-read-only'.
8870
8871 * imenu.el (imenu-default-goto-function): Mark unused args.
8872 (imenu-progress-message): Remove obsolete macro; all callers changed.
8873
8874 * subr.el (keymap-canonicalize): Remove unused binding.
8875 (read-passwd): Mark unused arg.
8876
8877 * tutorial.el (tutorial--display-changes): Remove unused binding.
8878 (tutorial--save-tutorial-to): Remove unused variable.
8879
8880 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8881 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8882 (package-generate-autoloads, package-menu--generate)
8883 (package-menu--find-upgrades): Remove unused bindings.
8884
8885 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8886 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8887 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8888 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8889 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8890 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8891 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8892 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8893 (cua-delete-char-rectangle): Mark unused args.
8894 (cua-align-rectangle): Remove unused binding.
8895
8896 * mail/rmail.el (compilation--message->loc)
8897 (epa--find-coding-system-for-mime-charset): Declare.
8898
8899 * net/dbus.el (dbus-register-service): Declare.
8900 (dbus-name-owner-changed-handler): Remove unused binding.
8901
8902 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8903 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8904 (nxml-scan-backward-within): Mark unused arg.
8905 (nxml-dynamic-markup-word): Remove unused binding.
8906
8907 * mouse.el (mouse-menu-major-mode-map):
8908 * emacs-lisp/authors.el (authors-scan-change-log)
8909 (authors-add-to-author-list):
8910 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8911 * emacs-lisp/smie.el (smie-auto-fill):
8912 * mail/sendmail.el (mail-bury):
8913 * mail/unrmail.el (unrmail):
8914 * net/tls.el (open-tls-stream):
8915 * textmodes/picture.el (picture-mouse-set-point):
8916 Remove unused bindings.
8917
8c8fc5df
MA
89182012-04-19 Michael Albinus <michael.albinus@gmx.de>
8919
8920 * net/tramp.el (tramp-action-password): Let-bind
8921 `enable-recursive-minibuffers' to t.
8922
a77b0ac9
SS
89232012-04-18 Sam Steingold <sds@gnu.org>
8924
8925 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8926 instead of 'string to accommodate values like [f11].
8927 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8928 * progmodes/gdb-mi.el: Likewise.
8929
12a106a9
LL
89302012-04-18 Leo Liu <sdl.web@gmail.com>
8931
8932 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8933 current buffer.
8934 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8935 LOCAL is nil.
8936
bc6494ef
CY
89372012-04-18 Chong Yidong <cyd@gnu.org>
8938
8939 * simple.el (line-move): Use forward-line if in batch mode
8940 (Bug#11053).
8941
c09c46b2
CS
89422012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8943
8944 * files.el (after-find-file): Do not try to add a final newline if
8945 the buffer is read-only (Bug#11156).
8946
5f6530ea
RS
89472012-04-17 Richard Stallman <rms@gnu.org>
8948
8949 * mail/rmail.el (rmail-start-mail):
8950 Pass (rmail-mail-return...) for the return-action.
8951 Pass (rmail-yank-current-message...) for the yank-action.
8952 (rmail-yank-current-message): New function.
8953 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8954 (rmail-reply): Likewise.
8955 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8956
8957 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8958 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8959 buffer, not newbuf.
8960
197b6f3c
JB
89612012-04-17 Juanma Barranquero <lekktu@gmail.com>
8962
8963 * server.el (server-ensure-safe-dir): Simplify.
8964
2311d8e5 89652012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8966
2311d8e5
GM
8967 * emacs-lisp/smie.el: Provide smarter auto-filling.
8968 (smie-auto-fill): New function.
8969 (smie-setup): Use it.
98fb480e 8970
2311d8e5
GM
8971 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8972
89732012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8974
8975 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8976 (comment-indent): Use it.
8977
2311d8e5 89782012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8979
8980 * ses.el: The overall change is to add cell renaming, that is
8981 setting fancy names for cell symbols other than name matching
8982 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8983 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8984 (ses-create-cell-variable): New defun.
2311d8e5 8985 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8986 (ses-relocate-formula): Relocate formulas only for cells the
8987 symbols of which are not renamed, i.e. symbols whose names do not
8988 match regexp "\\`[A-Z]+[0-9]+\\'".
8989 (ses-relocate-all): Relocate values only for cells the symbols of
8990 which are not renamed.
8991 (ses-load): Create cells variables as the (ses-cell ...) are read,
8992 in order to check row col consistency with cell symbol name only
8993 for cells that are not renamed.
8994 (ses-replace-name-in-formula): New defun.
8995 (ses-rename-cell): New defun.
4bdf2ad2 8996
fc72b15c
PO
89972012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8998
8999 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9000 New option (bug#11118).
9001 (perl-calculate-indent): Respect it.
9002
12e10e61
GM
90032012-04-17 Glenn Morris <rgm@gnu.org>
9004
9005 * dired-aux.el (dired-mark-read-string): Doc fix.
9006
30009afd
DA
90072012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9008
9009 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9010 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9011
41f03f4d
GM
90122012-04-17 Glenn Morris <rgm@gnu.org>
9013
9014 * mouse.el (mouse-drag-track):
9015 * speedbar.el (speedbar-frame-mode):
9016 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9017
f45f90f3
LL
90182012-04-16 Leo Liu <sdl.web@gmail.com>
9019
9020 * progmodes/python.el: Trivial cleanup.
9021
94ee8db5
GM
90222012-04-16 Glenn Morris <rgm@gnu.org>
9023
121b8917
GM
9024 * vc/vc.el (vc-string-prefix-p):
9025 * vc/pcvs-util.el (cvs-string-prefix-p):
9026 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9027 * mpc.el (mpc-string-prefix-p):
9028 Make all of these into obsolete aliases for string-prefix-p.
9029 Update callers.
9030 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9031
1197ecfa
GM
9032 * textmodes/two-column.el: Move custom options to the start.
9033 (frame-width): Remove compat definition.
9034 (2C-associate-buffer, 2C-dissociate):
9035 Use with-current-buffer rather than save-excursion.
9036 (2C-dissociate): Force a mode-line update.
9037 (2C-autoscroll): Use ignore-errors.
9038
099e7202
GM
9039 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9040 Autoload trivia.
9041
bf350d6a
GM
9042 * emacs-lisp/cl-extra.el (*random-state*):
9043 Remove unnecessary declaration.
9044
0e829eab
GM
9045 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9046
e3ad7552
GM
9047 * play/cookie1.el (cookie-snarf):
9048 Give an explicit error if input file cannot be read.
9049
68892d27
GM
9050 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9051
20f0c46d
GM
9052 * progmodes/perl-mode.el (c-macro-expand):
9053 Remove unnecessary autoload (it is in loaddefs.el).
9054
5a0978ce
GM
9055 * textmodes/picture.el (picture-desired-column)
9056 (picture-update-desired-column): Convert comments to doc-strings.
9057 (picture-substitute): Remove function.
9058 (picture-mode-map): Initialize in the defvar.
9059
6b955486
GM
9060 * woman.el: Remove eval-after-load for tar-mode.
9061 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9062 (woman-tar-extract-file): Autoload it.
9063
94ee8db5
GM
9064 * frame.el (automatic-hscrolling): Make this alias obsolete.
9065
177eca34
AM
90662012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9067
090bd7cb 9068 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9069 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9070 (ispell-dictionary-base-alist): Revert to original XEmacs
9071 friendly version for default. [:alpha:] will be added in
090bd7cb 9072 `ispell-set-spellchecker-params' if needed.
177eca34 9073
c505aaeb
CY
90742012-04-16 Chong Yidong <cyd@gnu.org>
9075
b19dd9d1 9076 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9077 (imagemagick-register-types): Use it.
9078 (imagemagick-types-inhibit): Add :set function. Allow new value
9079 of t to inhibit all types.
9080
9081 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9082 so we can preload it.
9083
9084 * loadup.el (fboundp): Preload regexp-opt, needed by
9085 imagemagick-register-types.
9086
60efac0f
CY
90872012-04-15 Chong Yidong <cyd@gnu.org>
9088
9089 * frame.el (scrolling): Remove nearly unused customization group.
9090
9091 * scroll-all.el (scroll-all-mode): Move to windows group.
9092
5dd1713e
CY
90932012-04-15 Chong Yidong <cyd@gnu.org>
9094
9095 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9096
e6fd457e
CY
90972012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9100 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9101
e153c136
GM
91022012-04-15 Glenn Morris <rgm@gnu.org>
9103
9104 * simple.el (process-file-side-effects): Doc fix.
9105
e6fd457e 91062012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9107
9108 * international/mule-cmds.el (set-language-environment): Doc fix.
9109
3603c3b1
JB
91102012-04-14 Juanma Barranquero <lekktu@gmail.com>
9111
9112 * server.el (server-auth-key, server-generate-key): Doc fixes.
9113 (server-get-auth-key): Doc fix. Use `string-match-p'.
9114 (server-start): Reflow docstring.
9115
e6de100c
LI
91162012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9117
9118 * server.el (server-generate-key): `called-interactively-p'
9119 requires a parameter.
9120
29734c21
MN
91212012-04-14 Michal Nazarewicz <mina86@mina86.com>
9122
9123 * server.el (server-auth-key): New variable.
75f1671a 9124 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9125 (server-start): Use the new variable and functions to allow
9126 setting a permanent server key (bug#9423).
9127
d65c9521
LL
91282012-04-14 Leo Liu <sdl.web@gmail.com>
9129
9130 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9131
5ae255c7
PE
91322012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9133
9134 Spelling fixes.
9135 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9136 Emacs uses American spelling.
9137
d5e6342e
JB
91382012-04-14 Juanma Barranquero <lekktu@gmail.com>
9139
9140 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9141 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9142 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9143 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9144
ab036cd7
SM
91452012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9146
9147 * progmodes/which-func.el (which-func-modes): Change default.
9148
35dc09a1 91492012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9150
9151 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9152 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9153
35dc09a1 91542012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9155
9156 * custom.el (custom-theme-set-variables): Doc fix.
9157
35dc09a1 91582012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9159
9160 * international/mule.el (set-auto-coding-for-load): Doc fix.
9161
35dc09a1 91622012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9163
35dc09a1
GM
9164 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9165 imenu work again for Objective C Mode. Correct the *-index values,
9166 these having been disturbed by a previous change in 2011-08.
57f845ee 9167
0de3da9f
AM
9168 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9169 Correct two search limits.
9170
35dc09a1 91712012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9172
9173 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9174
35dc09a1 91752012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9176
9177 * international/characters.el: Fix sorting.
9178
35dc09a1 91792012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9180
9181 * international/characters.el: Add more missing Latin case pairs.
9182
35dc09a1 91832012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9184
9185 * files.el (dir-locals-set-class-variables): Doc fix.
9186
35dc09a1 91872012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9188
3f1b5bf8
EZ
9189 * international/characters.el: Add set-case-syntax-pair call for
9190 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9191 counterpart. (Bug#11209)
9192
9f847f41
EZ
9193 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9194
35dc09a1 91952012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9196
9197 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9198
35dc09a1 91992012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9200
35dc09a1
GM
9201 * textmodes/ispell.el (ispell-dictionary-base-alist):
9202 Add data for Hebrew.
e2627d21 9203
35dc09a1 92042012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9205
35dc09a1
GM
9206 * net/rcirc.el (rcirc-cmd-quit):
9207 Revert 2012-03-18 change (Bug#11192).
5c14e333 9208
35dc09a1 92092012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9210
9211 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9212
35dc09a1 92132012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9214
4517fe3a
SM
9215 * minibuffer.el (completion-in-region-mode-map):
9216 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9217
b472a594
VD
92182012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9219
9220 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9221
09b95ce3
MY
92222012-04-13 Masatake YAMATO <yamato@redhat.com>
9223
9224 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9225 to allow `C-M-f' and `C-M-b' to move to the nearest path
9226 separator (bug#9511).
9227
4b63a9ca
LI
92282012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9229
9230 * avoid.el: Require cl when compiling. And also move the
9231 `provide' to the end.
9232
7b55b8bf
TV
92332012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9234
9235 * avoid.el (mouse-avoidance-banish-position): New variable.
9236 (mouse-avoidance-banish-destination): Use it (bug#10165).
9237
adedaa1f
LL
92382012-04-13 Leo Liu <sdl.web@gmail.com>
9239
9240 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9241
70e74021
KB
92422012-04-13 Ken Brown <kbrown@cornell.edu>
9243
9244 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9245 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9246 (browse-url-filename-alist): For the same reason, don't modify
9247 file:// URLs on Cygwin.
9248
e75e89ba
SM
92492012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9250
9251 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9252 the region on shift if the binding is already shifted (bug#11221).
9253
82f289a4
GM
92542012-04-12 Glenn Morris <rgm@gnu.org>
9255
9256 * mail/mailpost.el: Move to obsolete/.
9257
d333dc4c
DA
92582012-04-12 Drew Adams <drew.adams@oracle.com>
9259
9260 * imenu.el (imenu--generic-function): Ignore invisible definitions
9261 (bug#10123).
9262
0d15b5ba
VD
92632012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9264
9265 * hexl.el (hexl-bits): New variable.
9266 (hexl-options): Mention the variable in the doc string.
75f1671a 9267 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9268 (hexl-mode): Mention the new variable.
75f1671a
JB
9269 (hexl-mode, hexl-current-address, hexl-current-address):
9270 Use the displen.
0d15b5ba
VD
9271 (hexl-ascii-start-column): New function.
9272 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9273 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9274
64a440db
AM
92752012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9276
9277 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9278 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9279 the encoding, as expected by hunspell.
9280
6decb6c2
SM
92812012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 * battery.el (battery--linux-sysfs-regexp): New const.
9284 (battery-status-function): Use it. Remove yeeloong special case.
9285 (battery-yeeloong-sysfs): Remove.
9286 (battery-echo-area-format): Remove yeeloong special case.
9287
088be6fb
SM
92882012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9289
6622e416
SM
9290 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9291 Reported by Noah Friedman.
9292
088be6fb
SM
9293 * subr.el (read-passwd): Use read-string.
9294
b49f886e
LMI
92952012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9296
9297 * vcursor.el (vcursor-move): Increase the priority of the overlay
9298 (bug#9663).
9299
a63067fc
DD
93002012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9301
9302 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9303 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9304
ac3cf14a
WS
93052012-04-11 William Stevenson <yhvh2000@gmail.com>
9306
9307 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9308 define-minor-mode (bug#10760).
9309
c4fc691b 93102012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9311
4d6769e1 9312 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9313 that directories matching `grep-find-ignored-files' won't be
9314 pruned (bug#10351).
9315
af23e2e5
CY
93162012-04-11 Chong Yidong <cyd@gnu.org>
9317
9318 * startup.el (command-line): Remove support for long-obsolete
9319 variable font-lock-face-attributes.
9320
ab7ce8c1
GM
93212012-04-11 Glenn Morris <rgm@gnu.org>
9322
9323 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9324
de8c03dc
SM
93252012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9326
9327 * window.el (window--state-get-1): Obey window-point-insertion-type.
9328
050cc68b
LB
93292012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9330
9331 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9332 to previous function when point is on the first character of a
75f1671a 9333 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9334
a38c310c
GM
93352012-04-11 Glenn Morris <rgm@gnu.org>
9336
effed0c2
GM
9337 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9338 not just file-errors.
9339
a38c310c
GM
9340 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9341 (vc-bzr-sha1): Use internal sha1.
9342
0221e323
SM
93432012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9346
43956923
SG
93472012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9348
9349 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9350 that start in the middle of the line (bug#10496).
9351
6a8c9eaf
DN
93522012-04-10 Dan Nicolaescu <dann@gnu.org>
9353
9354 * battery.el (battery-linux-proc-acpi): Only one battery is
9355 discharged at a time, but that seems to confuse battery.el when
9356 computing `rate-type' for the battery not being discharged
9357 (bug#10332).
9358
1930bf5d
SM
93592012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9360
2a718f6f
SM
9361 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9362
599430d0
SM
9363 * international/quail.el: Use dolist and simplify.
9364 (quail-define-package, quail-update-keyboard-layout)
9365 (quail-define-rules): Use dolist.
9366 (quail-insert-kbd-layout, quail-get-translation): CSE.
9367
a2754b6c
SM
9368 * tmm.el: Use dolist, remove left over hook.
9369 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9370 Use dolist.
9371 (calendar-load-hook): Don't mess with it.
9372
1930bf5d
SM
9373 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9374 Use derived-mode-p. Run the diff asynchronously.
9375
9f67961c
LMI
93762012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9377
9378 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9379
2a8ce227
JB
93802012-04-10 Juanma Barranquero <lekktu@gmail.com>
9381
9382 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9383 (list-dynamic-libraries--loaded): New function.
9384 (list-dynamic-libraries--refresh): Use it.
9385
8f33b5f8
NW
93862012-04-10 Nathan Weizenbaum <nweiz@google.com>
9387
1930bf5d
SM
9388 * progmodes/python.el (python-fill-paragraph):
9389 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9390 disabled (bug#7018).
9391
b12f0439
L
93922012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9393
1930bf5d 9394 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9395 DOS/MS Windows for the Baltic languages. There are still plenty
9396 of texts written in this encoding/codepage (bug#6519).
b12f0439 9397
57c3bd01
GM
93982012-04-10 Glenn Morris <rgm@gnu.org>
9399
9400 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9401 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9402
6c3eab30
FA
94032012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9404
1930bf5d 9405 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9406 next-line "n" and previous-line "p" in order to make recentf more
9407 consistent with ibuffer, dired or org-mode (bug#9387).
9408
24d78a88
LMI
94092012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9410
bc72b5d9
LMI
9411 * image.el (put-image): Return the overlay created instead of the
9412 optional input string (bug#7834). Note that this may break code
9413 that is (for some reason or other) depending on `put-image'
9414 returning the string.
9415
bd2dba5a
LMI
9416 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9417
74beb59f
LMI
9418 * simple.el (zap-to-char): Allow zapping using input methods
9419 (bug#1580).
9420
24d78a88
LMI
9421 * textmodes/fill.el (fill-region): Leave point and mark where they
9422 were before filling (bug#5399).
9423
263f20cd
GM
94242012-04-09 Glenn Morris <rgm@gnu.org>
9425
9426 * version.el (emacs-bzr-get-version):
9427 Handle lightweight checkouts of local branches.
9428
58d1f797
AS
94292012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9430
263f20cd 9431 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9432
b4d3bc10
CY
94332012-04-09 Chong Yidong <cyd@gnu.org>
9434
9435 * custom.el (custom-variable-p): Return nil for non-symbol
9436 arguments instead of signaling an error.
9437 (user-variable-p): Obsolete alias for custom-variable-p.
9438
9439 * apropos.el (apropos-variable):
9440 * files-x.el (read-file-local-variable):
9441 * simple.el (set-variable):
9442 * woman.el (woman-mini-help):
9443 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9444
fd06db5d
GM
94452012-04-09 Glenn Morris <rgm@gnu.org>
9446
e5fcdb5e
GM
9447 * startup.el (normal-top-level): Don't look for leim-list.el
9448 in places where it will not be found. (Bug#910)
9449
fd06db5d
GM
9450 * international/mule-cmds.el (set-default-coding-systems):
9451 * files.el (normal-mode):
9452 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9453 This function was removed with ucs-tables.el in 2008.
9454
b39bb7e1
EZ
94552012-04-08 Eli Zaretskii <eliz@gnu.org>
9456
9457 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9458 ispell-encoding8-command to "-i", without a trailing space.
9459 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9460 separate command-line arguments, to specify the encoding, since
9461 that's how hunspell expects it.
9462
5c5b8e23
GM
94632012-04-08 Glenn Morris <rgm@gnu.org>
9464
9465 * loadup.el: Load bindings before cus-start.
9466 This reduces somewhat the number of "rogue" settings in emacs -Q.
9467
a1ed8b05
GM
94682012-04-07 Glenn Morris <rgm@gnu.org>
9469
9470 * version.el (emacs-bzr-get-version): New function.
dfae128a 9471 (emacs-bzr-version): New variable.
a1ed8b05
GM
9472 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9473 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9474
b142f158
EZ
94752012-04-07 Eli Zaretskii <eliz@gnu.org>
9476
dfae128a
GM
9477 * international/uni-bidi.el, international/uni-category.el:
9478 * international/uni-combining.el, international/uni-decimal.el:
9479 * international/uni-decomposition.el, international/uni-digit.el:
9480 * international/uni-lowercase.el, international/uni-mirrored.el:
9481 * international/uni-name.el, international/uni-numeric.el:
9482 * international/uni-titlecase.el, international/uni-uppercase.el:
9483 Update for Unicode 6.1.
b142f158 9484
9078ead6
EZ
94852012-04-07 Eli Zaretskii <eliz@gnu.org>
9486
9487 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9488
f23d2c7d
LMI
94892012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9490
9491 * window.el (shrink-window): Mention the `window-min-height'
9492 variable in the doc string.
9493
0a0a3573
BG
94942012-04-05 Bastien Guerry <bzg@altern.org>
9495
9496 * color.el (color-lighten-name): Fix typo.
9497
e5248ac9
SM
94982012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9499
9500 * server.el (server--on-display-p): New function.
9501 (server--on-display-p): Use it.
9502
b4243e22
GV
95032012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9504
9505 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9506 (bug#11145).
9507
305d9f44
SM
95082012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9509
9510 * comint.el (comint--common-quoted-suffix): Check string boundary
9511 before comparing (bug#11158).
9512 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9513
3d439cd1
CY
95142012-04-04 Chong Yidong <cyd@gnu.org>
9515
321cc491
CY
9516 * minibuffer.el (completion-extra-properties): Doc fix.
9517
3d439cd1
CY
9518 * subr.el (delayed-warnings-hook): Doc fix.
9519
2d562c0f
DU
95202012-04-04 Daiki Ueno <ueno@unixuser.org>
9521
9522 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9523 selection (Bug#11159).
9524 (epa-insert-keys): Inform that the default public key will be
9525 exported if no key is selected.
9526
4443f204
RS
95272012-04-04 Richard Stallman <rms@gnu.org>
9528
9529 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9530
529c06b6
CY
95312012-04-03 Chong Yidong <cyd@gnu.org>
9532
9533 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9534 mail-insert-file, not its obsolete alias mail-attach-file.
9535
66b907dc
MA
95362012-04-03 Michael Albinus <michael.albinus@gmx.de>
9537
9538 * notifications.el (notifications-notify): Fix docstring.
9539
c0ea195d
GM
95402012-04-02 Glenn Morris <rgm@gnu.org>
9541
9542 * emacs-lisp/authors.el (authors-aliases): Another addition.
9543
5ca64e00
MA
95442012-04-02 Michael Albinus <michael.albinus@gmx.de>
9545
9546 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9547 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9548 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9549
42ee526b
CY
95502012-04-01 Chong Yidong <cyd@gnu.org>
9551
9552 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9553 Handle root directory properly.
9554 (copy-directory): Caller changed.
9555
9556 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9557 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9558
0b021094
GM
95592012-03-31 Glenn Morris <rgm@gnu.org>
9560
40f86458
GM
9561 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9562
7019c177
GM
9563 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9564
a1daddd6
GM
9565 * calendar/calendar.el (calendar-window-list)
9566 (calendar-hide-window): Restore. (Bug#11140)
9567 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9568
0b021094
GM
9569 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9570
40311efc
TV
95712012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9572
9573 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9574 Check if file is a symlink (Bug#10489).
9575
9576 * files.el (copy-directory): Likewise.
9577
5319014e
CY
95782012-03-30 Chong Yidong <cyd@gnu.org>
9579
9580 * image.el (imagemagick-types-inhibit)
9581 (imagemagick-register-types): Doc fix.
9582
935d1290
AM
95832012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9584
090bd7cb 9585 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9586 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9587 and treats ~word as ordinary words in pipe mode.
935d1290 9588
61c6e8fd
GM
95892012-03-30 Glenn Morris <rgm@gnu.org>
9590
9591 * tutorial.el (help-with-tutorial): Ensure local variables don't
9592 happen to make the buffer read-only. (Bug#11127)
9593
81fdff00
SM
95942012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9595
9596 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9597 (perl-calculate-indent): Return `noindent' in strings.
9598
6e7a6ec0
SS
95992012-03-28 Sam Steingold <sds@gnu.org>
9600
9601 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9602 instead of the broken adhockery which does not prevent calendar
9603 buffers from being displayed at random after exit.
9604 (calendar-window-list, calendar-hide-window): Remove the broken
9605 adhockery.
9606
fee88ca0
GM
96072012-03-28 Glenn Morris <rgm@gnu.org>
9608
9609 * replace.el (query-replace-map): Doc fix.
9610
38de3354
AS
96112012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9612
9613 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9614 contents. (Bug#11109)
9615
b973155e
SM
96162012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9617
9618 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9619 (bug#11077).
9620 (avl-tree--check, avl-tree--check-node): New funs.
9621
dcb6e7b3
MR
96222012-03-27 Martin Rudalics <rudalics@gmx.at>
9623
9624 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9625 (switch-to-prev-buffer, switch-to-next-buffer):
9626 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9627 showing a buffer already is done on the same frame.
9628
b4fa35fa
GM
96292012-03-27 Glenn Morris <rgm@gnu.org>
9630
9631 * startup.el (mail-host-address): Doc fix.
9632
f9210e18
SM
96332012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9634
9635 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9636 than 197 variables.
9637
c0bf7753
AF
96382012-03-26 Ami Fischman <ami@fischman.org>
9639
9640 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9641
33da7b16
GM
96422012-03-26 Glenn Morris <rgm@gnu.org>
9643
02243d9d
GM
9644 * files.el (save-buffers-kill-emacs): Doc fix.
9645
33da7b16
GM
9646 * startup.el (normal-top-level, command-line, command-line-1):
9647 Give them doc strings.
9648
e5a69fd0
EZ
96492012-03-25 Eli Zaretskii <eliz@gnu.org>
9650
9651 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9652 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9653
9a69676a
CY
96542012-03-25 Chong Yidong <cyd@gnu.org>
9655
4125cb8b
CY
9656 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9657 theme if it was previously enabled before (Bug#11031).
9658
dd470960
CY
9659 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9660 spec with custom-face-get-current-spec if its :shown-value is not
9661 determined yet (Bug#9337).
4125cb8b 9662 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9663
9a69676a
CY
9664 * button.el (button-at): Minor addition to docstring.
9665
6e7e90fa
SL
96662012-03-24 Simon Leinen <simon.leinen@gmail.com>
9667
9668 * vc/vc.el (vc-merge): Fix a prompt.
9669
f06e2758
CY
96702012-03-24 Chong Yidong <cyd@gnu.org>
9671
9672 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9673 point (Bug#9623).
9674
6e7e90fa
SL
9675 * button.el (button-at): Minor addition to docstring.
9676
b9d0879b
SM
96772012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9678
9679 * newcomment.el (comment-choose-indent): No space after BOL.
9680
e71cebb3
SS
96812012-03-22 Sam Steingold <sds@gnu.org>
9682
9683 * window.el (switch-to-prev-buffer): Revert last patch because the
9684 bug turned out to be an advertised feature (Elisp manual 28.14).
9685
335aff35
GM
96862012-03-22 Glenn Morris <rgm@gnu.org>
9687
9688 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9689 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9690
c676576a
LMI
96912012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9692
9693 * net/network-stream.el (network-stream-open-starttls): Make error
9694 message under Windows be less misleading.
9695
126f3d39
LW
96962012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9697
9698 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9699 understands (bug#9942).
9700
64fee311
CY
97012012-03-22 Chong Yidong <cyd@gnu.org>
9702
9703 * simple.el (end-of-visible-line): Handle return value of
9704 next-single-property-change properly (Bug#9371).
9705
a640d29a
KH
97062012-03-22 Kenichi Handa <handa@m17n.org>
9707
9708 * international/quail.el (quail-insert-kbd-layout): Fix previous
9709 change. To avoid unwanted bidi reordering, use
9710 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9711
39675016
DG
97122012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9713
9714 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9715 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9716 (ruby-beginning-of-indent): Be more careful with the difference
9717 between word-boundary and symbol boundary.
9718 (ruby-mode-syntax-table): Make : a symbol constituent.
9719
0a6934fc 97202012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9721
3d008e4f
SM
9722 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9723
0a6934fc
SM
97242012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9725
af67c9d7
SM
9726 * progmodes/etags.el (tags-completion-at-point-function):
9727 Improve last fix.
9728
1acad97c
SM
9729 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9730
e298b5da
SS
97312012-03-21 Sam Steingold <sds@gnu.org>
9732
9733 * progmodes/etags.el (tags-completion-at-point-function):
9734 Avoid the error when point is inside the pattern.
9735
91d82a70
JY
97362012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9737
9738 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9739 line (Bug#10855).
9740
69188b79
CY
97412012-03-21 Drew Adams <drew.adams@oracle.com>
9742
9743 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9744
99fc91fe
AK
97452012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9746
9747 * ido.el (ido-set-current-directory, ido-read-internal)
9748 (ido-choose-completion-string, ido-completion-help): Handle nil
9749 value of ido-completion-buffer (Bug#11008).
9750
087bbb4c
SS
97512012-03-21 Sam Steingold <sds@gnu.org>
9752
9753 * window.el (switch-to-prev-buffer): Do not switch to a visible
9754 window previous buffer, just like with the frame previous buffers.
9755
fb5b8aca
CY
97562012-03-21 Chong Yidong <cyd@gnu.org>
9757
9758 * faces.el (make-face, make-empty-face, copy-face):
9759 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9760 Doc fixes.
9761
dc9924b8
SM
97622012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9765 (widget-complete): Remove broken use of it.
9766
f0bcceb9
CY
97672012-03-20 Chong Yidong <cyd@gnu.org>
9768
dc9924b8
SM
9769 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9770 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9771 characters.
9772
ee52ebf3
TH
97732012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9774
9775 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9776 to draw rectangles, not squares. (Regression introduced by revno
9777 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9778
4c5779ab
CY
97792012-03-18 Chong Yidong <cyd@gnu.org>
9780
9781 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9782 it is not yet defined (for temacs).
9783
15360934
LL
97842012-03-18 Leo Liu <sdl.web@gmail.com>
9785
735135f9
PE
9786 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9787 prefix.
15360934 9788
d9a8eb66
EZ
97892012-03-17 Eli Zaretskii <eliz@gnu.org>
9790
9791 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9792 (ispell-choices-win-default-height, ispell-silently-savep)
9793 (ispell-dictionary-alist, ispell-encoding8-command)
9794 (ispell-check-version, ispell-aspell-find-dictionary)
9795 (ispell-valid-dictionary-list, ispell-words-keyword)
9796 (ispell-get-word, ispell-internal-change-dictionary)
9797 (ispell-region, ispell-skip-region-list)
9798 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9799 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9800 (ispell-message-text-end, ispell-message)
9801 (ispell-buffer-local-parsing): Doc fix.
9802
f02ff80d
J
98032012-03-13 Jambunathan K <kjambunathan@gmail.com>
9804
9805 * htmlfontify.el: Add support for code block fontification for ODT
9806 export (Bug #9914).
9807 (hfy-optimisations): Define new option
9808 `body-text-only'
9809 (hfy-fontify-buffer): Honor above setting.
9810 (hfy-begin-span, hfy-end-span): New routines factored out form
9811 `hfy-fontify-buffer'.
9812 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9813 that permit insertion of custom tags.
9814 (hfy-fontify-buffer): Use above handlers.
9815 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9816 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9817 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9818 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9819 bind a special variable `hfy-user-sheet-assoc'.
9820 (htmlfontify-string): New defun.
9821 (hfy-compile-face-map): Make sure that the last char in the
9822 buffer is correctly fontified.
9823 (hfy-face-resolve-face): Whitespace only change.
9824
9ac7a13f
EZ
98252012-03-17 Eli Zaretskii <eliz@gnu.org>
9826
9827 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9828 message more clear.
9829
e2b5bdd7
LL
98302012-03-16 Leo Liu <sdl.web@gmail.com>
9831
9832 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9833
2e492df3
AM
98342012-03-16 Alan Mackenzie <acm@muc.de>
9835
9836 Further optimise the handling of large macros.
9837
9838 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9839 limit to a call of `c-literal-limits'.
9840 (c-determine-+ve-limit): New function.
dc9924b8
SM
9841 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9842 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9843 In CASE 5B, restrict a search limit to 500.
9844 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9845
9846 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9847 Restrict macro bounds to +-500 from after-change's BEG END.
9848
50e94f0c
LL
98492012-03-16 Leo Liu <sdl.web@gmail.com>
9850
9851 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9852
6f09f6ed
AH
98532012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9854
9855 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9856 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9857
c7e73d51
GM
98582012-03-16 Glenn Morris <rgm@gnu.org>
9859
da986230
GM
9860 * view.el (view-buffer, view-buffer-other-window)
9861 (view-buffer-other-frame): Doc fixes re special mode-class.
9862
0835f01e
GM
9863 * subr.el (eval-after-load): If named feature is provided not from
9864 a file, run after-load forms. (Bug#10946)
9865
c7e73d51
GM
9866 * calendar/calendar.el (calendar-insert-at-column):
9867 Handle non-unit-width characters a bit better. (Bug#10978)
9868
3f2eafd1
CY
98692012-03-15 Chong Yidong <cyd@gnu.org>
9870
9871 * emacs-lisp/ring.el (ring-extend): New function.
9872 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9873
9874 * comint.el (comint-read-input-ring)
9875 (comint-add-to-input-history): Grow comint-input-ring lazily.
9876
103af3fe
SM
98772012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9878
663b1677
SM
9879 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9880 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9881
103af3fe
SM
9882 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9883 (imenu-add-to-menubar): Don't add a redundant index.
9884 (imenu-update-menubar): Handle a dynamically composed keymap.
9885
899cb7cb
KY
98862012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9887
9888 * mail/sendmail.el (mail-encode-header):
9889 Bind rfc2047-encode-encoded-words to nil.
9890
3809f91d
GM
98912012-03-13 Glenn Morris <rgm@gnu.org>
9892
9893 * calendar/calendar.el (calendar-string-spread):
9894 Handle non-unit-width characters a bit better. (Bug#10978)
9895
9e345a01
LL
98962012-03-13 Leo Liu <sdl.web@gmail.com>
9897
9898 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9899 directory and file as argument (Bug#10822).
9900
4a07df36
KS
99012012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9902
9903 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9904 For dynamically generated code, follow $PC.
9905 (gdb-disassembly-handler-custom): Handle no function name case.
9906
4aaa9356
TL
99072012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9908
9909 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9910 * emulation/ws-mode.el (ws-query-replace):
9911 * sort.el (sort-regexp-fields):
9912 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9913
225979da
SM
99142012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9915
9916 * dabbrev.el: Fix cycle completion order (bug#10963).
9917 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9918 (dabbrev-completion): Don't use an obarray; provide
9919 a cycle-sort-function.
9920
e2f1fdab
LL
99212012-03-12 Leo Liu <sdl.web@gmail.com>
9922
dc9924b8 9923 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9924 (kill-do-not-save-duplicates): Doc fix.
9925
b19490ed
SM
99262012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9927
9928 * dabbrev.el: Fix cycle completion (bug#10963).
9929 Use lexical binding and wrap to 80 columns.
9930 (dabbrev-completion): Delay computing the list of completions.
9931
4b05d722
KH
99322012-03-12 Kenichi Handa <handa@m17n.org>
9933
9934 * international/quail.el (quail-insert-kbd-layout): Surround each
9935 row by LRO and PDF instead of inserting many LRMs. Pad the left
9936 and right of each non-spacing marks. Insert invisible space
9937 between lower and upper characters to prevent composition.
9938
dbbc2e69
SM
99392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * minibuffer.el (minibuffer-complete): Don't get confused when the
9942 function is run twice via different commands (bug#10958).
9943 (complete-with-action): Fix docstring.
9944
292112ed
CY
99452012-03-12 Chong Yidong <cyd@gnu.org>
9946
5d1ac394
CY
9947 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9948 (nxml-completion-at-point-function): New function.
9949 (nxml-mode): Use it.
9950 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9951
292112ed
CY
9952 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9953 Load generated autoloads file before byte compiling (Bug#10970).
9954 (package--make-autoloads-and-compile): New helper fun.
9955
4098f8f7
CS
99562012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9957
9958 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9959
8f754691
MA
99602012-03-11 Michael Albinus <michael.albinus@gmx.de>
9961
9962 * autorevert.el (auto-revert-handler): Ensure, that
9963 file-readable-p is applied only for local files or in
9964 auto-revert-tail-mode.
9965
e29ab36b
AS
99662012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9967
dbbc2e69
SM
9968 * server.el (server-eval-at): Handle non-tcp connections.
9969 Decode result string.
ad0bf5b6 9970
e29ab36b
AS
9971 * server.el (server-msg-size): New constant.
9972 (server-reply-print): New function.
9973 (server-eval-and-print): Use it.
9974 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9975 Handle -print-nonl.
9976
de5939ba
CS
99772012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9978
9979 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9980 (Bug#10987).
9981
0c93eabf
CY
99822012-03-11 Chong Yidong <cyd@gnu.org>
9983
397a688f
CY
9984 * simple.el (goto-line): Doc fix (Bug#9938).
9985
2cc775f9
CY
9986 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9987
0c93eabf
CY
9988 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9989 when finished (Bug#10963).
9990
c491fa41
MR
99912012-03-11 Martin Rudalics <rudalics@gmx.at>
9992
9993 * window.el (split-window-below): Fix bug in case where
9994 split-window-keep-point is nil (Bug#10971).
9995
300e8fa5
JL
99962012-03-11 Juri Linkov <juri@jurta.org>
9997
9998 * replace.el (replace-highlight): Set isearch-word to nil
9999 unconditionally. (Bug#10887)
10000
dbf6c5a1
EZ
100012012-03-10 Eli Zaretskii <eliz@gnu.org>
10002
10003 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10004 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10005 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10006 (mairix-widget-create-query): Add usage information about mairix
10007 search forms: negating words, searching for substrings, etc.
10008
b9e501de
JP
100092012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10010
10011 * international/fontset.el (font-encoding-alist): Add an entry for
10012 ksx1001 (Bug#5667).
10013
92795c91
RS
100142012-03-10 Richard Stallman <rms@gnu.org>
10015
1694e6c1
RS
10016 * mail/sendmail.el (mail-encode-header):
10017 Set rfc2047-encode-encoded-words.
10018
607e8555
RS
10019 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10020
de3bc99a
RS
10021 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10022 view buffer means not swapped.
10023 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10024 (rmail-write-region-annotate): Error if real text has disappeared.
10025
92795c91
RS
10026 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10027
699bd04e
CY
100282012-03-10 Chong Yidong <cyd@gnu.org>
10029
10030 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10031 * emulation/cua-base.el (cua--init-keymaps):
10032 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10033
570a1714
MR
100342012-03-10 Martin Rudalics <rudalics@gmx.at>
10035
dbbc2e69
SM
10036 * speedbar.el (speedbar-unhighlight-one-tag-line):
10037 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10038
82dcf4e4
CY
100392012-03-10 Chong Yidong <cyd@gnu.org>
10040
7a2c7ca7
CY
10041 * minibuffer.el (completion-in-region, completion-help-at-point):
10042 Give the completion field overlay a high priority (Bug#6830).
10043
82dcf4e4
CY
10044 * dired.el (dired-goto-file): Recognize absolute file name
10045 listings (Bug#7126).
10046 (dired-goto-file-1): New helper function.
10047 (dired-toggle-read-only): Inhibit warnings.
10048
052e28ac
MA
100492012-03-09 Michael Albinus <michael.albinus@gmx.de>
10050
75f1671a 10051 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10052 there are no properties.
10053
95d5e396
LL
100542012-03-09 Leo Liu <sdl.web@gmail.com>
10055
10056 * savehist.el (savehist-printable): Stricter check for string
10057 value (Bug#10937).
10058
3f018d6d
EZ
100592012-03-09 Eli Zaretskii <eliz@gnu.org>
10060
dbbc2e69
SM
10061 * mail/smtpmail.el (smtpmail-send-it):
10062 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10063 valid mbox format.
10064
f7fd3d79
GM
100652012-03-09 Glenn Morris <rgm@gnu.org>
10066
10067 * files.el (dir-locals-find-file):
10068 Don't check result is regular, readable.
10069 (dir-locals-read-from-file): Demote errors.
10070
6ff6e72f
EZ
100712012-03-08 Eli Zaretskii <eliz@gnu.org>
10072
dbbc2e69
SM
10073 * international/quail.el (quail-insert-kbd-layout):
10074 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10075 layout cell, to prevent their reordering by bidi display engine.
10076 For details, see the discussion in
10077 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10078
9cec7834
AM
100792012-03-08 Alan Mackenzie <acm@muc.de>
10080
10081 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10082 the starting position; make it extend the marked region when
10083 invoked repeatedly - all under appropriate circumstances.
10084 Fixes bugs #5525, #10906.
10085
9a40b8d4
GM
100862012-03-08 Glenn Morris <rgm@gnu.org>
10087
10088 * files.el (locate-dominating-file, dir-locals-find-file):
10089 Undo 2012-03-06 change.
10090
7a08ed35
EZ
100912012-03-07 Eli Zaretskii <eliz@gnu.org>
10092
dbbc2e69
SM
10093 * international/quail.el (quail-help):
10094 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10095 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10096 for the reason.
10097
5aca4f71 100982012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10099
10100 Avoid superfluous registering of signals. (Bug#10807)
10101
10102 * notifications.el (notifications-on-action-object)
10103 (notifications-on-close-object): New defvars.
10104 (notifications-on-action-signal, notifications-on-closed-signal):
10105 Unregister the signal if not needed any longer.
10106 (notifications-notify): Register `notifications-action-signal' or
10107 `notifications-closed-signal', if :on-action or :on-close has been
10108 passed as argument.
10109
78e8b10a
CY
101102012-03-07 Chong Yidong <cyd@gnu.org>
10111
10112 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10113 non-X platforms.
10114
69481eb8
GM
101152012-03-06 Glenn Morris <rgm@gnu.org>
10116
10117 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10118 (x-disown-selection-internal, x-get-selection-internal):
10119 Doc fix (add arglist signatures). (Bug#10783)
10120
133b8e11
KS
101212012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10122
10123 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10124 Handle breakpoints with no "type".
10125
99a83064
GM
101262012-03-06 Glenn Morris <rgm@gnu.org>
10127
10128 * files.el (locate-dominating-file): Add optional predicate argument.
10129 (dir-locals-find-file): Make use of above change.
10130
17798e78
TTN
101312012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10132
10133 * info.el (Info-insert-dir): Also try "dir.gz".
10134
eb182446
GM
101352012-03-06 Glenn Morris <rgm@gnu.org>
10136
8f2114ee
GM
10137 * files.el (dir-locals-find-file):
10138 Ignore non-readable or non-regular files. (Bug#10928)
10139
eb182446
GM
10140 * files.el (locate-dominating-file): Doc fix.
10141
24679323
AS
101422012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10143
10144 * calendar/calendar.el (calendar-set-mode-line):
10145 `getenv' returns a string. (Bug#10951)
10146
01d972a9
LL
101472012-03-05 Leo Liu <sdl.web@gmail.com>
10148
109aa8a9
LL
10149 * simple.el (backward-delete-char-untabify): Constrain point to
10150 field (Bug#10939).
10151
01d972a9
LL
10152 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10153
10607bea
CY
101542012-03-05 Chong Yidong <cyd@gnu.org>
10155
10156 * simple.el (count-words): If called from Lisp, return the word
10157 count, for symmetry with `count-lines'. Arglist changed.
10158 (count-words--message): Args changed. Consolidate counting code
10159 from count-words and count-words-region.
10160 (count-words-region): Caller changed.
10161 (count-lines-region): Make it an obsolete alias.
10162
5dd11cfe
TH
101632012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10164
10165 * saveplace.el (save-place-to-alist)
10166 (save-place-ignore-files-regexp): Allow value nil to disable this
10167 feature.
10168
c349f4e6
CY
101692012-03-04 Chong Yidong <cyd@gnu.org>
10170
10171 * faces.el (face-spec-reset-face): For the default face, reset the
10172 attributes to default values (Bug#10748).
10173
e627be4c
LMI
101742012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10175
10176 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10177 previous patch: Check `message-send-mail-function', and not the
10178 default function (bug#10897).
10179
ebeabff4
MA
101802012-03-04 Michael Albinus <michael.albinus@gmx.de>
10181
a41a6cf4
MA
10182 * notifications.el (notifications-on-action-signal)
10183 (notifications-on-closed-signal): Check for unique service name of
10184 incoming event. Fix error in removing entry.
ebeabff4 10185 (top): Register for signals with wildcard service name.
a41a6cf4 10186 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10187
c1ca42b4
CY
101882012-03-04 Chong Yidong <cyd@gnu.org>
10189
dc9924b8 10190 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10191
ea16568d
GM
101922012-03-04 Glenn Morris <rgm@gnu.org>
10193
10194 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10195 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10196 (expand-abbrev, define-abbrev-table): Doc fixes.
10197
fbae4637
LMI
101982012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10199
10200 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10201 `message-default-send-mail-function' and not `send-mail-function'
10202 when doing the prompting for `sendmail-query-once' before sending
10203 in Message buffers (bug#10897).
10204
a1e7225c
LMI
10205 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10206 This is inconsistent with all the other stream functions, which leave
10207 the setting up to the higher levels (if so wanted) (bug#10931).
10208
56d093a9
AM
102092012-03-02 Alan Mackenzie <acm@muc.de>
10210
10211 Depessimize the handling of very large macros.
10212
10213 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10214 (c-macro-cache-syntactic): New variables to implement a one
10215 element macro cache.
10216 (c-invalidate-macro-cache): New function.
10217 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10218 Adapt to use the new cache.
10219 (c-state-safe-place): Use better the cache of safe positions.
10220 (c-state-semi-nonlit-pos-cache)
10221 (c-state-semi-nonlit-pos-cache-limit):
10222 New variables for...
10223 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10224 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10225 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10226 Use c-state-semi-safe-place.
56d093a9 10227
dbbc2e69
SM
10228 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10229 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10230
817e5c3d
MA
102312012-03-02 Michael Albinus <michael.albinus@gmx.de>
10232
dbbc2e69
SM
10233 * jka-compr.el (jka-compr-call-process):
10234 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10235 not remote.
10236
a032a702
MA
102372012-03-01 Michael Albinus <michael.albinus@gmx.de>
10238
10239 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10240 access of FILE2, if FILE1 does not exist.
10241
99a54f21
MA
10242 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10243 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10244
10245 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10246 Add "PAGER=" to `process-environment'.
10247
f6561e1f
MM
102482012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10249
10250 * progmodes/sql.el: Bug fix
10251 (sql-get-login-ext): Save login values in globals.
10252 (sql-get-login): Use new version of `sql-get-login-ext'.
10253 (sql-interactive-mode): Set global `sql-connection' to nil.
10254 (sql-connect): Set global values for connection.
10255 (sql-product-interactive): Save global values as buffer local.
10256
2d44d9cc
LL
102572012-02-29 Leo Liu <sdl.web@gmail.com>
10258
10259 * abbrev.el (define-abbrevs): Reset sys to nil.
10260
96b49301 102612012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10262
bf7f9bc5
JB
10263 * files.el (file-equal-p): Rename from `files-equal-p'.
10264 Return nil when one or both files don't exist.
96b49301 10265 (file-subdir-of-p): Now only top directory must exists,
10266 return nil if it doesn't.
bf7f9bc5
JB
10267 (copy-directory): No need to test with `file-subdir-of-p' after
10268 creating dir.
10269 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10270 to `file-equal-p'.
96b49301 10271
44e97401
GM
102722012-02-28 Glenn Morris <rgm@gnu.org>
10273
10274 * shell.el (shell-mode):
10275 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10276 * play/landmark.el (landmark-font-lock-face-O):
10277 * play/handwrite.el (handwrite):
10278 * play/gomoku.el (gomoku-O):
10279 * net/browse-url.el (browse-url-browser-display):
10280 * international/mule.el (define-charset):
10281 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10282 * filesets.el (filesets-find-file-delay):
10283 * eshell/em-xtra.el (eshell-xtra):
10284 * eshell/em-unix.el (eshell-grep):
10285 * emulation/viper.el (viper-mode):
10286 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10287 * emacs-lisp/easymenu.el (easy-menu-define):
10288 * calendar/timeclock.el (timeclock-use-display-time):
10289 * bs.el (bs-mode):
10290 * bookmark.el (bookmark-save-flag):
10291 Doc fix (standardize possessive apostrophe usage).
10292
c98c6276
CY
102932012-02-27 Chong Yidong <cyd@gnu.org>
10294
bf7f9bc5
JB
10295 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10296 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 10297
c98c6276
CY
10298 * font-lock.el (font-lock-specified-p): Rename from
10299 font-lock-spec-present. Callers changed.
10300
9c62cd04 103012012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 10302
bf7f9bc5
JB
10303 * emacs-lisp/package.el (package-compute-transaction):
10304 Handle holding a package version to t in package-load-list.
8ac9e529 10305
530739c9
MA
103062012-02-26 Michael Albinus <michael.albinus@gmx.de>
10307
10308 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10309 (tramp-get-inode, tramp-get-device): Use cached values.
10310
487915d7
AM
103112012-02-26 Alan Mackenzie <acm@muc.de>
10312
10313 Check there is a font-lock specification before doing initial
10314 fontification.
10315
10316 * font-core.el (font-lock-mode): Move the conditional from
10317 :after-hook to font-lock-initial-fontify.
10318 (font-lock-default-function): Move the check for a specification
10319 to font-lock-spec-present.
10320
dc9924b8 10321 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10322 (font-lock-spec-present): New function.
10323
4fd96557
JB
103242012-02-26 Jim Blandy <jimb@red-bean.com>
10325
10326 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10327 (gdb-send): Apply it to the operand of the '-interpreter-exec
10328 console' command, so that we can pass arguments with (say) quotes
10329 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10330
9a4888c0
CY
103312012-02-26 Chong Yidong <cyd@gnu.org>
10332
07498861
CY
10333 * help-fns.el (describe-function-1): Clarify description of
10334 remapping (Bug#10844).
10335
9a4888c0
CY
10336 * files.el (files-equal-p): Doc fix.
10337 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10338 and quit the loop once a mismatch is found.
10339
ea8fb88d
JB
103402012-02-25 Juanma Barranquero <lekktu@gmail.com>
10341
10342 * bs.el (bs--show-with-configuration): Don't throw an error
10343 if the window cannot be split; otherwise, subsequent calls to
10344 bs-show fail, restoring a stale window config. (Bug#10882)
10345
525795c1
JD
103462012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10347
10348 * term/ns-win.el (global-map): Bind ns-drag-file to
10349 ns-find-file (Bug#5855, Bug#10050).
10350
f008086f
AS
103512012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10352
10353 * calendar/parse-time.el (parse-time-string): Allow extractor to
10354 return nil.
10355
a3fcfa99
MA
103562012-02-25 Michael Albinus <michael.albinus@gmx.de>
10357
91027d08
JB
10358 * net/tramp.el (tramp-file-name-for-operation):
10359 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10360
10361 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10362 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10363 Add COPY-CONTENTS argument.
a3fcfa99 10364
67b0de11
CY
103652012-02-25 Chong Yidong <cyd@gnu.org>
10366
10367 Add custom groups for VC backends, for consistency with vc-bzr.
10368
10369 * vc/vc-arch.el (vc-arch):
10370 * vc/vc-cvs.el (vc-cvs):
10371 * vc/vc-git.el (vc-git):
10372 * vc/vc-hg.el (vc-hg):
10373 * vc/vc-mtn.el (vc-mtn):
10374 * vc/vc-rcs.el (vc-rcs):
10375 * vc/vc-sccs.el (vc-sccs):
10376 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10377 All relevant defcustoms reassigned.
10378
3c9dfce6
CY
103792012-02-25 Chong Yidong <cyd@gnu.org>
10380
1339bf43
CY
10381 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10382
3c9dfce6
CY
10383 * term/x-win.el (x-initialize-window-system): Reduce default for
10384 x-selection-timeout to 5 seconds (Bug#8869).
10385
25b2e303 103862012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10387
ec70a47d
GM
10388 * files.el (files-equal-p, file-subdir-of-p): New functions.
10389 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10390 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10391 * dired-aux.el (dired-copy-file-recursive): Same.
10392 (dired-create-files): Modify destination when source is equal to
10393 dest when copying files.
53a46cd0 10394 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10395
914260cd
MA
103962012-02-24 Michael Albinus <michael.albinus@gmx.de>
10397
10398 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10399 (Bug#10874)
10400
2cb228f7
AM
104012012-02-23 Alan Mackenzie <acm@muc.de>
10402
10403 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10404 parameter "after-hook:" to allow the expansion to run code after
10405 the execution of the mode hooks.
10406
10407 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10408 from font-lock-mode-internal.
2cb228f7 10409
91027d08 10410 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10411 :after-hook.
10412
8f0fde21
SM
104132012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10414
3e88618b
SM
10415 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10416 (completion--cache-all-sorted-completions): New function.
10417 (completion-all-sorted-completions): Use it.
10418 (completion--do-completion, minibuffer-force-complete):
10419 Use it to re-instate the flush hook.
10420
8f0fde21
SM
10421 * icomplete.el (icomplete-completions): Replace last fix with a better
10422 one (bug#10850).
10423
8e911f6f
DG
104242012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10425
10426 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10427 when it might call us back infinitely (bug#10797).
10428
49fe4321
GM
104292012-02-23 Glenn Morris <rgm@gnu.org>
10430
10431 * minibuffer.el (completion-category-overrides): Doc fix.
10432
b291b572
SM
104332012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10434
10435 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10436 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10437
31a9ef2e
GM
104382012-02-23 Glenn Morris <rgm@gnu.org>
10439
5e6e6794 10440 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10441 (authors-obsolete-files-regexps, authors-ignored-files)
10442 (authors-ambiguous-files, authors-renamed-files-alist):
10443 Add more entries.
10444
0bd1e074
JL
104452012-02-23 Juri Linkov <juri@jurta.org>
10446
10447 * isearch.el (isearch-occur): Sync interactive spec with occur's
10448 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10449
b617673c
JL
10450 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10451
19e9789e
JL
104522012-02-22 Juri Linkov <juri@jurta.org>
10453
10454 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10455 (ucs-insert): Doc fix. Check for hex digits in the string.
10456 Don't display `nil' in the error message. (Bug#10857)
10457
f41ce09d
AM
104582012-02-22 Alan Mackenzie <acm@muc.de>
10459
7a71b18d 10460 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10461
ac2eceee
GM
104622012-02-22 Glenn Morris <rgm@gnu.org>
10463
10464 * ffap.el (ffap-c-path):
10465 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10466
abd1f678
CY
104672012-02-22 Chong Yidong <cyd@gnu.org>
10468
10469 * custom.el (load-theme): Doc fix.
10470
f25aef2e
GM
104712012-02-22 Glenn Morris <rgm@gnu.org>
10472
10473 * dired-x.el (dired-guess-shell-alist-default):
10474 Remove escape sequences from nroff output. (Bug#172)
10475
5f8dc2ca
GM
104762012-02-21 Glenn Morris <rgm@gnu.org>
10477
6ff86ec4
GM
10478 * vc/emerge.el (emerge-defvar-local):
10479 Set `permanent-local' property rather than unused `preserved'.
10480
be3223a3 10481 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10482 (picture-mode-map): Use it. (Bug#10860)
10483 (picture-mode): Doc fix.
10484
3fe58f4f
JB
104852012-02-21 Juanma Barranquero <lekktu@gmail.com>
10486
10487 * newcomment.el (uncomment-region-default): Remove unused binding.
10488
f9a998c3
GM
104892012-02-21 Glenn Morris <rgm@gnu.org>
10490
10491 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10492 (picture-self-insert, picture-tab-chars): Doc fix.
10493 (picture-mode-map): Fix C-a, C-e.
10494
c6029348
GM
104952012-02-20 Glenn Morris <rgm@gnu.org>
10496
10497 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10498
ab1ce9d7
LL
104992012-02-20 Leo Liu <sdl.web@gmail.com>
10500
10501 * icomplete.el (icomplete-completions): Check FROM arg before
10502 passing to substring (Bug#10850).
10503
0fd40f89
CY
105042012-02-19 Chong Yidong <cyd@gnu.org>
10505
10506 * comint.el: Require ansi-color.
10507 (comint-output-filter-functions): Add ansi-color-process-output.
10508
10509 * ansi-color.el: Don't set comint-output-filter-functions; it is
10510 now in the initial value defined in comint.el.
10511 (ansi-color-apply-face-function): New variable.
10512 (ansi-color-apply-on-region): Use it.
10513 (ansi-color-apply-overlay-face): New function.
10514
10515 * shell.el (shell): No need to require ansi-color.
10516 (shell-mode): Use ansi-color-apply-face-function to highlight
10517 color escapes using font-lock-face property (Bug#10835).
10518
20af2394
CY
105192012-02-19 Chong Yidong <cyd@gnu.org>
10520
10521 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10522 mode-line formats (Bug#10839).
10523
e23a3fbe
GM
105242012-02-18 Glenn Morris <rgm@gnu.org>
10525
b474519e
GM
10526 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10527
10528 * mail/undigest.el (unforward-rmail-message): Doc fix.
10529
e23a3fbe
GM
10530 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10531
57939ff4
EZ
105322012-02-18 Eli Zaretskii <eliz@gnu.org>
10533
10534 * international/characters.el (script-list): Sync with the latest
10535 Unicode Character Database.
10536
0c23686e
AS
105372012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10538
10539 * international/titdic-cnv.el: Remove duplicate coding tag.
10540 * language/cham.el: Likewise.
10541 * language/tai-viet.el: Likewise.
10542
6818b449
GM
105432012-02-18 Glenn Morris <rgm@gnu.org>
10544
10545 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10546 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10547 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10548 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10549 * calendar/holidays.el (holiday-bahai-holidays)
10550 (calendar-holidays, list-holidays):
10551 Use utf-8 Bahá'í in doc-strings, menus, etc.
10552
0311a3fc
TH
105532012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10554
10555 * saveplace.el (save-place-ignore-files-regexp): New variable
10556 allowing for excluding files from saving their location of point.
10557 The default value matches the temporary commit message editing
10558 files from Git, SVN, Bazaar, and Mercurial.
10559 (save-place-to-alist): Use it.
10560
d209e2fb 105612012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10562 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10563
10564 * newcomment.el (uncomment-region-default): Don't leave extra space
10565 when an arg is provided (bug#8150).
10566
ee0ce425
TZ
105672012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10568
eb864a71 10569 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10570
95ddf442
GM
105712012-02-17 Glenn Morris <rgm@gnu.org>
10572
10573 * net/socks.el: Require network-stream. (Bug#10599)
10574
48dd1e39 105752012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10576
10577 * international/charprop.el:
10578 * international/uni-name.el:
10579 * international/uni-old-name.el:
10580 * international/uni-comment.el: Regenerate.
10581
d68cd087
GM
105822012-02-16 Glenn Morris <rgm@gnu.org>
10583
10584 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10585 Interactively in calendar buffer, give an error if not on a date.
10586
13932042
GM
105872012-02-15 Glenn Morris <rgm@gnu.org>
10588
10589 * shell.el (shell-delimiter-argument-list):
10590 Revert 2011-02-17 change. (Bug#8027)
10591
c3a70e2b
CY
105922012-02-15 Chong Yidong <cyd@gnu.org>
10593
60236b0d
CY
10594 * minibuffer.el (completion-at-point-functions): Doc fix.
10595
c3a70e2b
CY
10596 * custom.el (defcustom): Doc fix; note use of defvar.
10597
9f26dc24
GM
105982012-02-15 Glenn Morris <rgm@gnu.org>
10599
10600 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10601 Doc fixes.
10602
6546b134
GM
106032012-02-14 Glenn Morris <rgm@gnu.org>
10604
10605 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10606
d29b2b4c
LI
106072012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10608
10609 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10610 way the ports list is computed.
835bdcba
LI
10611 (smtpmail-query-smtp-server): Prompt the user for a port number if
10612 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10613
08dcdbc9
TZ
106142012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10615
10616 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10617
2605051a
GM
106182012-02-13 Glenn Morris <rgm@gnu.org>
10619
10620 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10621
7ee99f32
TZ
106222012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10623
10624 * net/gnutls.el (gnutls-trustfiles): New variable.
10625 (gnutls-negotiate): Use it.
10626
5f0af64f
LI
106272012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10628
10629 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10630 does its stuff if Gnus is running.
10631
c14fcc95
AM
106322012-02-13 Alan Mackenzie <acm@muc.de>
10633
10634 Fix a loop in c-set-fl-decl-start.
10635
7a71b18d 10636 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10637 c-backward-syntactic-ws actually moves backwards.
10638
142b4d90
LL
106392012-02-13 Leo Liu <sdl.web@gmail.com>
10640
10641 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10642 beginning so that all \C-o chars are removed.
10643
fa9958a6
TZ
106442012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10645
dc9924b8 10646 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10647
0bc5886a
AM
106482012-02-12 Alan Mackenzie <acm@muc.de>
10649
10650 Fix infinite loop with long macros.
4d6769e1 10651 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10652
d4bd55e7
CY
106532012-02-12 Chong Yidong <cyd@gnu.org>
10654
10655 * window.el (display-buffer): Doc fix (Bug#10785).
10656
66f3fe22
GM
106572012-02-12 Glenn Morris <rgm@gnu.org>
10658
bd7da63e
GM
10659 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10660 (x-disown-selection-internal, x-get-selection-internal):
10661 Sync docs with the xselect.c versions.
10662
66f3fe22
GM
10663 * allout-widgets.el: Add missing license notice.
10664
3e0d2fa7
GM
106652012-02-11 Glenn Morris <rgm@gnu.org>
10666
cfecdf09
GM
10667 * select.el (x-get-selection-internal, x-own-selection-internal)
10668 (x-disown-selection-internal):
10669 * x-dnd.el (x-get-selection-internal): Update declarations.
10670
6d216d7f
GM
10671 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10672
2bed3f04
GM
10673 * window.el (window-sides-slots):
10674 * tool-bar.el (tool-bar-position):
10675 * term/xterm.el (xterm-extra-capabilities):
10676 * ses.el (ses-self-reference-early-detection):
10677 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10678 (verilog-auto-wire-type)
10679 (verilog-auto-delete-trailing-whitespace)
10680 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10681 (verilog-auto-tieoff-declaration):
10682 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10683 (sql-oracle-statement-starters, sql-oracle-scan-on):
10684 * progmodes/prolog.el (prolog-align-comments-flag)
10685 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10686 (prolog-left-indent-regexp, prolog-paren-indent-p)
10687 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10688 (prolog-types, prolog-mode-specificators)
10689 (prolog-determinism-specificators, prolog-directives)
10690 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10691 (prolog-electric-dot-flag)
10692 (prolog-electric-dot-full-predicate-template)
10693 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10694 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10695 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10696 (prolog-program-switches, prolog-prompt-regexp)
10697 (prolog-debug-on-string, prolog-debug-off-string)
10698 (prolog-trace-on-string, prolog-trace-off-string)
10699 (prolog-zip-on-string, prolog-zip-off-string)
10700 (prolog-use-standard-consult-compile-method-flag)
10701 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10702 (prolog-imenu-max-lines, prolog-info-predicate-index)
10703 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10704 (prolog-char-quote-workaround):
10705 * progmodes/cc-vars.el (c-defun-tactic):
10706 * net/tramp.el (tramp-encoding-command-interactive)
10707 (tramp-local-end-of-line):
10708 * net/soap-client.el (soap-client):
10709 * net/netrc.el (netrc-file):
10710 * net/gnutls.el (gnutls):
10711 * minibuffer.el (completion-category-overrides)
10712 (completion-cycle-threshold)
10713 (completion-pcm-complete-word-inserts-delimiters):
10714 * man.el (Man-name-local-regexp):
10715 * mail/feedmail.el (feedmail-display-full-frame):
10716 * international/characters.el (glyphless-char-display-control):
10717 * eshell/em-ls.el (eshell-ls-date-format):
10718 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10719 (lisp-lambda-list-keyword-parameter-indentation)
10720 (lisp-lambda-list-keyword-parameter-alignment):
10721 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10722 * dired-x.el (dired-omit-verbose):
10723 * cus-theme.el (custom-theme-allow-multiple-selections):
10724 * calc/calc.el (calc-highlight-selections-with-faces)
10725 (calc-lu-field-reference, calc-lu-power-reference)
10726 (calc-note-threshold):
10727 * battery.el (battery-mode-line-limit):
10728 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10729 (archive-7z-update):
10730 * allout.el (allout-prefixed-keybindings)
10731 (allout-unprefixed-keybindings)
10732 (allout-inhibit-auto-fill-on-headline)
10733 (allout-flattened-numbering-abbreviation):
10734 * allout-widgets.el (allout-widgets-auto-activation)
10735 (allout-widgets-icons-dark-subdir)
10736 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10737 (allout-widgets-theme-dark-background)
10738 (allout-widgets-theme-light-background)
10739 (allout-widgets-item-image-properties-emacs)
10740 (allout-widgets-item-image-properties-xemacs)
10741 (allout-widgets-run-unit-tests-on-load)
10742 (allout-widgets-time-decoration-activity)
10743 (allout-widgets-hook-error-post-time)
10744 (allout-widgets-track-decoration):
10745 Add missing :version tags to new defcustoms and defgroups.
10746
5fec1b8e
GM
10747 * progmodes/sql.el (sql-ansi-statement-starters)
10748 (sql-oracle-statement-starters): Add custom type.
10749
3e0d2fa7
GM
10750 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10751 (prolog-system-version): Give it a type.
10752
90b671e2
EZ
107532012-02-11 Eli Zaretskii <eliz@gnu.org>
10754
10755 * term/pc-win.el (x-select-text, x-selection-owner-p)
10756 (x-own-selection-internal, x-disown-selection-internal)
10757 (x-get-selection-internal): Sync doc strings and argument lists
10758 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10759
5eac0c02
LL
107602012-02-11 Leo Liu <sdl.web@gmail.com>
10761
10762 * progmodes/python.el (python-end-of-statement): Fix infinite
10763 loop. (Bug#10788)
10764
f82cb659
GM
107652012-02-10 Glenn Morris <rgm@gnu.org>
10766
10767 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10768 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10769
cc26d239
LI
107702012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10771
10772 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10773 about SMTP before checking the From header.
10774
91027d08 10775 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10776 into own function for reuse by emacsbug.el.
10777
1be3ca5a
LL
107782012-02-10 Leo Liu <sdl.web@gmail.com>
10779
10780 * subr.el (condition-case-unless-debug): Rename from
10781 condition-case-no-debug. All callers changed.
10782 (with-demoted-errors): Fix caller.
10783
10784 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10785 * nxml/rng-valid.el (rng-do-some-validation):
10786 * emacs-lisp/package.el (package-refresh-contents)
10787 (package-menu-execute):
10788 * desktop.el (desktop-create-buffer):
91027d08 10789 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10790
b011fbfe
GM
107912012-02-10 Glenn Morris <rgm@gnu.org>
10792
b2096d72
GM
10793 * textmodes/bibtex.el:
10794 Add missing :version tags for new/changed defcustoms.
10795
b011fbfe
GM
10796 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10797
4c7e65bf
LI
107982012-02-09 Lars Ingebrigtsen <larsi@rusty>
10799
10800 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10801 (smtpmail-via-smtp): Use it, or fall back on the From address.
10802 (smtpmail-send-it): Ditto.
10803
f3934f6f
SM
108042012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10805
10806 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10807 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10808 (byte-compile-tmp-var): New const.
10809 (byte-compile-defvar): Use it to minimize .elc size.
10810 Just use `defvar' rather than simulate it (bug#10761).
10811
a075a2c5
GM
108122012-02-09 Glenn Morris <rgm@gnu.org>
10813
cf3aa21b
GM
10814 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10815
354998cd
GM
10816 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10817 Add :version tags.
10818
dc9924b8
SM
10819 * progmodes/compile.el (compilation-error-screen-columns)
10820 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10821
dab3703d
GM
10822 * vc/log-view.el (log-view-toggle-entry-display):
10823 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10824
3f88cd72
GM
10825 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10826 (report-emacs-bug-can-use-xdg-email):
10827 (report-emacs-bug-insert-to-mailer): Doc fixes.
10828 (report-emacs-bug): Message fix.
10829
d95b247d
GM
10830 * net/browse-url.el (browse-url-can-use-xdg-open)
10831 (browse-url-xdg-open): Doc fixes.
10832
a075a2c5
GM
10833 * electric.el (electric-indent-mode, electric-pair-mode)
10834 (electric-layout-rules, electric-layout-mode): Doc fixes.
10835 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10836
ffb6157e
MR
108372012-02-08 Martin Rudalics <rudalics@gmx.at>
10838
10839 * server.el (server-unselect-display): Don't inadvertently kill
10840 the current buffer. (Bug#10729)
10841
e1ac4066
GM
108422012-02-08 Glenn Morris <rgm@gnu.org>
10843
34e8a2da
GM
10844 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10845 (sql-list-table): Doc fixes.
10846
b4ac6e8c
GM
10847 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10848 Comment out (does nothing).
10849
e1ac4066
GM
10850 * completion.el (dynamic-completion-mode):
10851 * dirtrack.el (dirtrack-debug-mode):
10852 * electric.el (electric-layout-mode):
10853 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10854 * face-remap.el (text-scale-mode, buffer-face-mode):
10855 * iimage.el (iimage-mode):
10856 * image-mode.el (image-transform-mode):
10857 * minibuffer.el (completion-in-region-mode):
10858 * scroll-lock.el (scroll-lock-mode):
10859 * simple.el (next-error-follow-minor-mode):
10860 * tar-mode.el (tar-subfile-mode):
10861 * tooltip.el (tooltip-mode):
10862 * vcursor.el (vcursor-use-vcursor-map):
10863 * wid-browse.el (widget-minor-mode):
10864 * emulation/tpu-edt.el (tpu-edt-mode):
10865 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10866 * international/iso-ascii.el (iso-ascii-mode):
10867 * language/thai-util.el (thai-word-mode):
10868 * mail/supercite.el (sc-minor-mode):
10869 * net/goto-addr.el (goto-address-mode):
10870 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10871 * progmodes/cwarn.el (cwarn-mode):
10872 * progmodes/flymake.el (flymake-mode):
10873 * progmodes/glasses.el (glasses-mode):
10874 * progmodes/hideshow.el (hs-minor-mode):
10875 * progmodes/pascal.el (pascal-outline-mode):
10876 * textmodes/enriched.el (enriched-mode):
10877 * vc/smerge-mode.el (smerge-mode):
10878 Doc fixes (minor mode argument).
10879
5e0d957f
EZ
108802012-02-07 Eli Zaretskii <eliz@gnu.org>
10881
10882 * ls-lisp.el (ls-lisp-sanitize): New function.
10883 (ls-lisp-insert-directory): Use it to fix or remove any elements
10884 in file-alist with missing attributes. (Bug#4673)
10885
98d7371e
AM
108862012-02-07 Alan Mackenzie <acm@muc.de>
10887
10888 Fix spurious recognition of c-in-knr-argdecl.
10889
10890 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10891 putative K&R region.
10892
667ced3a
AM
108932012-02-07 Alan Mackenzie <acm@muc.de>
10894
eb864a71
LM
10895 * progmodes/cc-engine.el (c-forward-objc-directive):
10896 Prevent looping in "#pragma mark @implementation".
667ced3a 10897
5b77774d
MA
108982012-02-07 Michael Albinus <michael.albinus@gmx.de>
10899
10900 * notifications.el (notifications-on-closed-signal): Make `reason'
10901 optional. (Bug#10744)
10902
af008560
GM
109032012-02-07 Glenn Morris <rgm@gnu.org>
10904
60d47423
GM
10905 * emacs-lisp/easy-mmode.el (define-minor-mode):
10906 Doc fixes for the macro and the mode it defines.
10907
dd605cc4
GM
10908 * image.el (imagemagick-types-inhibit): Doc fix.
10909
af008560
GM
10910 * cus-start.el (imagemagick-render-type): Add it.
10911
5cc59a37
LI
109122012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10913
4d6769e1
JB
10914 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10915 Set the default at load time, too, so that `font-lock-fontify-buffer'
10916 can be called without setting up the entire mode first. This fixes
10917 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10918
9a6dd747
CY
109192012-02-06 Chong Yidong <cyd@gnu.org>
10920
2d16b285
CY
10921 * simple.el (list-processes--refresh): Delete exited processes
10922 (Bug#8094).
10923
171e9b6e
CY
10924 * comint.el (comint-next-prompt): next-single-char-property-change
10925 and prev-single-char-property-change never return nil (Bug#8657).
10926
9a6dd747
CY
10927 * custom.el (defcustom): Doc fix (Bug#9711).
10928
aa4589a7
CY
109292012-02-05 Chong Yidong <cyd@gnu.org>
10930
5c2a252f
CY
10931 * cus-edit.el (custom-variable-reset-backup): Quote the value
10932 before storing it in the customized-value property (Bug#6712).
4aab9006 10933 (custom-display): Add a customization type tag.
983b9602 10934 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10935
aa4589a7
CY
10936 * wid-edit.el (widget-field-value-get): New optional arg to
10937 suppress trailing whitespace truncation.
10938 (character): Use it (Bug#2689).
10939
1ff980ae
AS
109402012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10941
10942 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10943 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10944
03988c98
CY
109452012-02-05 Chong Yidong <cyd@gnu.org>
10946
eeb6cc88
CY
10947 * cus-edit.el (custom-variable-value-create): For mismatched
10948 types, show the current value (Bug#7600).
10949
03988c98
CY
10950 * custom.el (defcustom): Doc fix.
10951
f8cdeef0
GM
109522012-02-05 Glenn Morris <rgm@gnu.org>
10953
10954 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10955
0696d255
JB
109562012-02-05 Juanma Barranquero <lekktu@gmail.com>
10957
10958 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10959 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10960 (pp-last-sexp): Use `looking-at-p'.
10961
34c99998
GM
109622012-02-04 Glenn Morris <rgm@gnu.org>
10963
8f05da42
GM
10964 * files.el (revert-buffer):
10965 Doc fix (mention revert-buffer-in-progress-p).
10966
f160676e
GM
10967 * emacs-lisp/ert-x.el (ert-simulate-command):
10968 Check deferred-action-list (which is obsolete) is bound.
10969
c7291ad9
GM
10970 * subr.el (with-wrapper-hook): Doc fixes.
10971
34c99998
GM
10972 * simple.el (filter-buffer-substring-functions)
10973 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10974
6283a7d3
LL
109752012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10976
10977 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10978 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10979
e96e3013
LL
109802012-02-04 Leo Liu <sdl.web@gmail.com>
10981
10982 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10983
8ded50f2
GM
109842012-02-04 Glenn Morris <rgm@gnu.org>
10985
82ff1d13
GM
10986 * image.el (image-extension-data): Add obsolete alias.
10987
987a0a16
GM
10988 * isearch.el (isearch-update): Doc fix.
10989
ea32ef46
GM
10990 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10991
8ded50f2
GM
10992 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10993
eea14f31
GM
109942012-02-03 Glenn Morris <rgm@gnu.org>
10995
10996 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10997 (image-animate-timeout): Doc fix.
10998
10999 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11000
12f381b7
GM
110012012-02-02 Glenn Morris <rgm@gnu.org>
11002
953cebf5
GM
11003 * server.el (server-auth-dir): Doc fix.
11004 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11005
12f381b7
GM
11006 * subr.el (run-mode-hooks): Doc fix.
11007
953a8c3b
JL
110082012-02-02 Juri Linkov <juri@jurta.org>
11009
11010 * image-mode.el (image-toggle-display-image): Remove tautological
11011 `major-mode' from the `derived-mode-p' test.
11012
c5d3843c
KH
110132012-02-02 Kenichi Handa <handa@m17n.org>
11014
9f6e692e 11015 * composite.el (compose-region): Cancel previous change.
c5d3843c 11016
159462d4 110172012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11018
11019 * composite.el (compose-region, compose-string): Signal error for
11020 a null string component (Bug#6988).
11021
9f562668
CY
110222012-02-01 Chong Yidong <cyd@gnu.org>
11023
e2cef717
CY
11024 * view.el (view-buffer-other-window, view-buffer-other-frame):
11025 Handle special modes like view-buffer (Bug#10650).
11026 (view-buffer): Simplify.
11027
9f562668
CY
11028 * frame.el (set-frame-font): Tweak meaning of third argument.
11029
9f6e692e
JB
11030 * dynamic-setting.el (font-setting-change-default-font):
11031 Use set-frame-font (Bug#9982).
9f562668 11032
781acb9f
GM
110332012-02-01 Glenn Morris <rgm@gnu.org>
11034
6035be52
GM
11035 * progmodes/compile.el (compilation-internal-error-properties):
11036 Respect compilation-first-column in the "*compilation*" buffer.
11037
781acb9f
GM
11038 * emacs-lisp/easy-mmode.el (define-minor-mode):
11039 Relax :variable's test for a named function.
11040
abbceb00
AM
110412012-01-31 Alan Mackenzie <acm@muc.de>
11042
11043 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11044 off by one error.
11045
fce3fdeb
CY
110462012-01-31 Chong Yidong <cyd@gnu.org>
11047
11048 * frame.el (set-frame-font): New arg ALL-FRAMES.
11049
11050 * menu-bar.el (menu-set-font): Use set-frame-font.
11051
11052 * faces.el (face-spec-reset-face): Don't apply unspecified
11053 attribute values to the default face.
11054
47893581
JB
110552012-01-31 Juanma Barranquero <lekktu@gmail.com>
11056
11057 * progmodes/cwarn.el (cwarn): Remove dead link.
11058 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11059 Remove * from defcustom docstrings.
11060 (turn-on-cwarn-mode): Make obsolete.
11061 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11062 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11063
e58e988a
GM
110642012-01-31 Glenn Morris <rgm@gnu.org>
11065
60dc2671 11066 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11067 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11068 Allow named functions to be used as the cdr of :variable.
e58e988a 11069
7a3f511d
GM
110702012-01-30 Glenn Morris <rgm@gnu.org>
11071
11072 * emacs-lisp/authors.el (authors-fixed-entries):
11073 Remove reference to deleted file rnewspost.el.
11074
cb882333
JB
110752012-01-29 Juanma Barranquero <lekktu@gmail.com>
11076
11077 * window.el (window-with-parameter): Remove unused variable `windows'.
11078 (window--side-check): Remove unused variable `code'.
11079 (window--resize-siblings): Remove unused variable `first'.
11080 (adjust-window-trailing-edge): Remove unused variable `failed'.
11081 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11082 Use `let', not `let*'.
11083 (balance-windows-2): Remove unused variable `found'.
11084 (window--state-put-2): Remove unused variable `splits'.
11085 (window-state-put): Remove unused variable `selected'.
11086 (same-window-p): Use `string-match-p'.
11087 (display-buffer-assq-regexp): Remove unused variable `value'.
11088 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11089 Mark argument ALIST as ignored.
11090 (pop-to-buffer): Remove unused variable `old-window'.
11091
907201af
EZ
110922012-01-29 Eli Zaretskii <eliz@gnu.org>
11093
11094 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11095 and .lzma compressed files.
11096
ea162670
CY
110972012-01-29 Chong Yidong <cyd@gnu.org>
11098
5b95ee8a
CY
11099 * frame.el (window-system-default-frame-alist): Doc fix.
11100
ea162670
CY
11101 * dynamic-setting.el (font-setting-change-default-font): Don't
11102 change the default face if SET-FONT argument is non-nil (Bug#9982).
11103
d6e6f4b1
SB
111042012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11105
11106 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11107
0f29fa41 111082012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11109
11110 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11111 breakpoints in files outside current directory (Bug#6098).
11112
db174434
CY
111132012-01-29 Chong Yidong <cyd@gnu.org>
11114
6b25e4e2
SE
11115 * progmodes/python.el: Require ansi-color at top-level.
11116
6df6ae42
JB
11117 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11118 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11119 (lisp-mode-abbrev-table): Add doc.
11120 (lisp-mode-variables): Don't set local-abbrev-table.
11121 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11122
e70ee681
RW
111232012-01-28 Roland Winkler <winkler@gnu.org>
11124
11125 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11126
ace88aa2
RW
111272012-01-28 Roland Winkler <winkler@gnu.org>
11128
11129 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11130 (bibtex-set-dialect): Use it. Either set global values of
11131 dialect-dependent variables or bind these variables buffer-locally
11132 (Bug#10254).
11133 (bibtex-mode): Call bibtex-set-dialect via
11134 hack-local-variables-hook.
eb864a71
LM
11135 (bibtex-dialect): Update docstring.
11136 Add safe-local-variable predicate.
ace88aa2
RW
11137 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11138 bibtex-set-dialect.
11139 (bibtex-mode-map): Define menu for each dialect.
11140 (bibtex-entry): Fix docstring.
11141
93376c5b
CY
111422012-01-28 Chong Yidong <cyd@gnu.org>
11143
11144 * eshell/esh-arg.el (eshell-quote-argument): New function.
11145
11146 * eshell/esh-ext.el (eshell-invoke-batch-file):
11147 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11148 first arg to eshell-parse-command (Bug#10523).
11149
4372494f
DA
111502012-01-28 Drew Adams <drew.adams@oracle.com>
11151
11152 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11153 `default-directory' is non-nil.
11154
4d4ec1f8
EZ
111552012-01-28 Eli Zaretskii <eliz@gnu.org>
11156
11157 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11158 line that displays system-configuration-options. (Bug#9924)
11159
7c188927
DA
111602012-01-28 Drew Adams <drew.adams@oracle.com>
11161
11162 * descr-text.el (describe-char): Show information about POS, in
11163 addition to information about the character at POS. Improve and
11164 update the doc string. Change "code point" to "code point in
11165 charset", to avoid confusion with the character's Unicode code
11166 point shown above that. (Bug#10129)
11167
e0da685a
EZ
111682012-01-28 Eli Zaretskii <eliz@gnu.org>
11169
11170 * descr-text.el (describe-char): Show the raw character, not only
11171 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11172 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11173 for the reasons.
11174
70550acf
PH
111752012-01-28 Phil Hagelberg <phil@hagelb.org>
11176
eb864a71
LM
11177 * emacs-lisp/package.el (package-install):
11178 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11179
0ce8e868
CY
111802012-01-28 Chong Yidong <cyd@gnu.org>
11181
cb882333
JB
11182 * emacs-lisp/package.el (package-maybe-load-descriptor):
11183 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11184 (package-maybe-load-descriptor): Use it.
11185 (package-download-transaction): Fully load required packages
11186 inside the loop, so that `require' calls work (Bug#10593).
11187 (package-install): No need to call package-initialize now.
11188
2e7f3bea
CY
111892012-01-28 Chong Yidong <cyd@gnu.org>
11190
6e9bad14
CY
11191 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11192
f823b8ca
CY
11193 * tooltip.el (tooltip-mode): Doc fix.
11194 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11195
2680c309
CY
11196 * frame.el (set-cursor-color): Doc fix (Bug#352).
11197
d7a9e63b
CY
11198 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11199 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11200
2e7f3bea
CY
11201 * cus-edit.el (custom-buffer-create-internal): Fix search button
11202 action (Bug#10542).
2ae01800 11203 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11204
fc4f7a23
EW
112052012-01-27 Eduard Wiebe <usenet@pusto.de>
11206
11207 * dired.el (dired-mark-files-regexp):
11208 Include any subdirectory components. (Bug#10445)
11209
7dd37071
ML
112102012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11211
11212 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11213 Handle [host]:port syntax. (Bug#10533)
11214
a268160b
AH
112152012-01-27 Alex Harsanyi <harsanyi@mac.com>
11216
11217 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11218
e43273ef
GM
112192012-01-26 Glenn Morris <rgm@gnu.org>
11220
11221 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11222 * term.el (term-raw-escape-map): Use Control-X-prefix.
11223 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11224
1edf595d
MR
112252012-01-25 Martin Rudalics <rudalics@gmx.at>
11226
11227 * window.el (window-state-get, window--state-get-1): Don't deal
11228 with fixed-sizeness of windows. Simplify code.
11229
fa8eafef
JC
112302012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11231
6df6ae42
JB
11232 * window.el (window--state-get-1, window--state-put-2):
11233 Don't save and restore the mark.
fa8eafef 11234
0b21c100
CY
112352012-01-25 Chong Yidong <cyd@gnu.org>
11236
11237 * custom.el (custom-variable-p): Doc fix.
11238
5ae1a6c8
GM
112392012-01-25 Glenn Morris <rgm@gnu.org>
11240
40047858
GM
11241 * dired.el (dired-goto-file): Handle some of the more common
11242 characters that `ls -b' escapes. (Bug#10596)
11243
5ddce96c
GM
11244 * progmodes/compile.el (compilation-next-error-function):
11245 Respect compilation-first-column in the "*compilation*" buffer.
11246 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11247
5ae1a6c8
GM
11248 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11249
b559f1a9
GM
112502012-01-24 Glenn Morris <rgm@gnu.org>
11251
11252 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11253
6725d21a
JD
112542012-01-24 Julien Danjou <julien@danjou.info>
11255
11256 * color.el (color-rgb-to-hsl): Fix value computing.
11257 (color-hue-to-rgb): New function.
11258 (color-hsl-to-rgb): New function.
11259 (color-clamp, color-saturate-hsl, color-saturate-name)
11260 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11261 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11262
70df4bbe
GM
112632012-01-24 Glenn Morris <rgm@gnu.org>
11264
11265 * vc/vc-rcs.el (vc-rcs-create-tag):
11266 * vc/vc-sccs.el (vc-sccs-create-tag):
11267 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11268
802a2ae2
ML
112692012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11270
11271 * eshell/esh-util.el (eshell-read-hosts-file):
11272 Skip comment lines. (Bug#10549)
11273
d7128bb1
ML
11274 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11275
d1a5c3b4
JB
112762012-01-23 Juanma Barranquero <lekktu@gmail.com>
11277
2724d9c7
JB
11278 * subr.el (display-delayed-warnings): Doc fix.
11279 (collapse-delayed-warnings): New function to collapse identical
11280 adjacent warnings.
11281 (delayed-warnings-hook): Add it.
d1a5c3b4 11282
a5509865
MA
112832012-01-22 Michael Albinus <michael.albinus@gmx.de>
11284
11285 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11286
a5509865
MA
11287 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11288 (tramp-default-user-alist): Don't add "pscp".
11289 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11290 property "login-as", if set. (Bug#10530)
11291
cc6d5805
MA
112922012-01-21 Michael Albinus <michael.albinus@gmx.de>
11293
11294 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11295 "plink1" and "psftp". (Bug#10530)
11296
112972012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
11298
11299 * international/mule-cmds.el (prefer-coding-system): Show a
11300 warning message if the default value of file-name-coding-system
11301 was not changed.
11302
f0960428
JC
113032012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11304
cb882333
JB
11305 * windmove.el (windmove-reference-loc):
11306 Fix windmove-reference-loc miscalculation.
f0960428 11307
dd6f2a63
JB
113082012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11309
11310 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11311 default unit.
11312
7b447e9b
GM
113132012-01-21 Glenn Morris <rgm@gnu.org>
11314
117a9ea1
GM
11315 * international/mule.el (auto-coding-alist): Add .tbz.
11316
7b447e9b
GM
11317 * files.el (local-enable-local-variables): Doc fix.
11318 (inhibit-local-variables-regexps): Rename from
11319 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11320 Doc fix. Add some extensions from auto-coding-alist.
11321 (inhibit-local-variables-suffixes):
11322 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11323 (inhibit-local-variables-p):
11324 New function, extracted from set-auto-mode-1.
11325 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11326 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11327 (hack-local-variables): Doc fix. Make the mode-only case
11328 respect enable-local-variables and friends.
11329 Respect inhibit-local-variables-regexps for file-locals, but
11330 not for directory-locals.
11331 (set-visited-file-name):
11332 Take account of inhibit-local-variables-regexps.
11333 Whether it applies may change as the file name is changed.
11334 * jka-cmpr-hook.el (jka-compr-install):
11335 * jka-compr.el (jka-compr-uninstall):
11336 Update for inhibit-first-line-modes-suffixes name change.
11337
dd6e3cdd
MR
113382012-01-20 Martin Rudalics <rudalics@gmx.at>
11339
11340 * help-macro.el (make-help-screen): Temporarily restore original
11341 binding for minor-mode-map-alist (Bug#10454).
11342
0d0deb38
JD
113432012-01-19 Julien Danjou <julien@danjou.info>
11344
11345 * color.el (color-name-to-rgb): Use the white color to find the max
11346 color component value and return correctly computed values.
11347 (color-name-to-rgb): Add missing float conversion for max value.
11348
34a02f46
MR
113492012-01-19 Martin Rudalics <rudalics@gmx.at>
11350
11351 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11352 special state value for window-persistent-parameters.
11353 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11354 (window--state-put-2): Reset all window parameters to nil before
11355 assigning values of persistent parameters.
11356
606c44c4
AM
113572012-01-18 Alan Mackenzie <acm@muc.de>
11358
11359 Eliminate sluggishness and hangs in fontification of "semicolon
11360 deserts".
11361
cb882333
JB
11362 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11363 Change value 10000 -> 3000.
606c44c4
AM
11364 (c-state-safe-place): Reformulate so it doesn't stack up an
11365 infinite number of wrong entries in c-state-nonlit-pos-cache.
11366 (c-determine-limit-get-base, c-determine-limit): New functions to
11367 determine backward search limits disregarding literals.
11368 (c-find-decl-spots): Amend commenting.
11369 (c-cheap-inside-bracelist-p): New function which detects "={".
11370
11371 * progmodes/cc-fonts.el
11372 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11373 backward search.
11374 (c-font-lock-declarations): Fix an occurrence of point being
11375 undefined. Check additionally for point being in a bracelist or
11376 near a macro invocation without a semicolon so as to avoid a
11377 fruitless time consuming search for a declarator. Give a more
11378 precise search limit for declarators using the new
11379 c-determine-limit.
11380
f3860cea
GM
113812012-01-18 Glenn Morris <rgm@gnu.org>
11382
11383 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11384 (set-auto-mode): Doc fixes.
11385
1db03b16
GM
113862012-01-17 Glenn Morris <rgm@gnu.org>
11387
0e6038be
GM
11388 * isearch.el (search-nonincremental-instead): Fix doc typo.
11389
1db03b16
GM
11390 * dired.el (dired-insert-directory): Handle newlines in directory name.
11391 (dired-build-subdir-alist): Unescape newlines in directory name.
11392
4cb0aa75
MA
113932012-01-17 Michael Albinus <michael.albinus@gmx.de>
11394
11395 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11396 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11397 (tramp-action-terminal): Use it. (Bug#10530)
11398
1d00653d
SM
113992012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11400
11401 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11402
6a6ee00d
MR
114032012-01-16 Martin Rudalics <rudalics@gmx.at>
11404
11405 * window.el (window-state-ignored-parameters): Remove variable.
11406 (window--state-get-1): Rename argument MARKERS to IGNORE.
11407 Handle persistent window parameters. Make copy of clone-of
11408 parameter only if requested. (Bug#10348)
11409 (window--state-put-2): Install a window parameter only if it has
11410 a non-nil value or an existing parameter shall be overwritten.
11411
97912def
MA
114122012-01-15 Michael Albinus <michael.albinus@gmx.de>
11413
11414 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11415
688070a5
EZ
114162012-01-14 Eli Zaretskii <eliz@gnu.org>
11417
11418 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11419 don't pass the (nil) value of `upnode' to string-match.
11420
301afadc
CY
114212012-01-14 Chong Yidong <cyd@gnu.org>
11422
11423 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11424 Fix values recognized by the cursorBlink resource.
301afadc 11425
9e5788aa
PE
114262012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11427
11428 * epg.el (epg--make-temp-file): Avoid permission race condition
11429 when running on old Emacs versions (bug#10403).
11430
3cdb7f5a
GM
114312012-01-14 Glenn Morris <rgm@gnu.org>
11432
11433 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11434
8c82b1b4
AM
114352012-01-13 Alan Mackenzie <acm@muc.de>
11436
11437 Fix filling for when filladapt mode is enabled.
11438
11439 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11440 c-mask-paragraph, pass in `fill-paragraph' rather than
11441 `fill-region-as-paragraph'. (This is a reversion of a previous
11442 change.)
eb864a71
LM
11443 * progmodes/cc-mode.el (c-basic-common-init):
11444 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11445
e517eda4
GM
114462012-01-13 Glenn Morris <rgm@gnu.org>
11447
1498536e
GM
11448 * dired.el (dired-switches-escape-p): New function.
11449 (dired-insert-directory): Use dired-switches-escape-p.
11450 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11451
e517eda4
GM
11452 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11453
328f984d
GM
114542012-01-12 Glenn Morris <rgm@gnu.org>
11455
11456 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11457 changes in adaptive-fill-regexp. (Bug#10276)
11458
2cc769a8
AM
114592012-01-11 Alan Mackenzie <acm@muc.de>
11460
11461 Fix Emacs bug #10463 - put `widen's around the critical spots.
11462
1d00653d 11463 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11464 widen around each invocation of c-state-pp-to-literal. Remove an
11465 unused let variable.
11466
e52c37fa
GM
114672012-01-11 Glenn Morris <rgm@gnu.org>
11468
11469 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11470 Doc fix.
e52c37fa 11471
96f8741e
CY
114722012-01-10 Chong Yidong <cyd@gnu.org>
11473
1d00653d
SM
11474 * net/network-stream.el (network-stream-open-starttls):
11475 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11476 response to the capability command.
11477
b09a806e
GM
114782012-01-10 Glenn Morris <rgm@gnu.org>
11479
11480 * mail/unrmail.el (unrmail): Tweak previous change.
11481
7655cb66
CY
114822012-01-09 Chong Yidong <cyd@gnu.org>
11483
11484 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11485
9d5a8f0b
AM
114862012-01-08 Alan Mackenzie <acm@muc.de>
11487
11488 Optimise font locking in long enum definitions.
11489
11490 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11491 arm to a cond form to handle enums.
11492 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11493 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11494
9a0115ab 114952012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11496
11497 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11498 (Bug#10401)
6bb72cbd 11499
f186bb95
LMI
115002012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11501
29232a68
LMI
11502 * faces.el (set-face-attribute): Clarify the meaning of the nil
11503 frame (bug#10294).
11504
4e5d086d
LMI
11505 * subr.el (with-selected-frame): Mention that the selected frame
11506 is restored (bug#9980).
11507
8e66aebe
LMI
11508 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11509 (bug#9759).
11510
cd394be1 11511 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11512 (password-read): Don't autoload unused function.
11513
adf4e762
JB
115142012-01-07 Juanma Barranquero <lekktu@gmail.com>
11515
11516 * progmodes/which-func.el (which-func-mode): Turn into a
11517 non-interactive function and mark as obsolete (bug#10428).
11518
89bd9ccd
CY
115192012-01-06 Chong Yidong <cyd@gnu.org>
11520
11521 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11522 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11523 functions, along with 1 and -1.
11524
4afee9d5
EZ
115252012-01-06 Eli Zaretskii <eliz@gnu.org>
11526
11527 * time.el (display-time-load-average)
11528 (display-time-default-load-average): Doc fixes. See the thread
11529 starting at
11530 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11531 for the details.
11532
536aea70
GM
115332012-01-06 Glenn Morris <rgm@gnu.org>
11534
665ae865
GM
11535 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11536 has no messages. (Bug#10377)
11537
c869783d
GM
11538 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11539 than Info-edit. (Bug#10385)
11540
2bb4227e
GM
11541 * time.el (display-time-load-average, display-time-next-load-average):
11542 Doc fixes.
11543
7d5944b9
GM
11544 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11545 local setting of buffer-read-only to the input buffer. (Bug#10419)
11546
536aea70
GM
11547 * calendar/calendar.el (calendar-mode):
11548 Locally set scroll-margin to 0. (Bug#10379)
11549
7dccca16
UM
115502012-01-06 Ulrich Mueller <ulm@gentoo.org>
11551
11552 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11553
afbb7930
GM
115542012-01-05 Glenn Morris <rgm@gnu.org>
11555
11556 * eshell/em-unix.el (diff-no-select): Autoload it.
11557 (eshell/diff): Use diff-no-select. (Bug#10420)
11558
04482335
CY
115592012-01-05 Chong Yidong <cyd@gnu.org>
11560
7baca3bc
CY
11561 * shell.el (shell-dynamic-complete-functions): Revert last change.
11562 (shell-command-completion-function): New function.
11563 (shell-completion-vars): Use it to implement
11564 shell-completion-execonly (Bug#10417).
11565
04482335
CY
11566 * custom.el (enable-theme): Don't set custom-safe-themes.
11567
1d00653d
SM
11568 * cus-theme.el (custom-theme-merge-theme):
11569 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11570
bb5aa5d6
MM
115712012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11572
11573 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11574 first prompt in `sql-interacive-mode'.
11575 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11576 keywords.
6df6ae42 11577 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11578 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11579 context of original buffer. Invoke `sql-login-hook'.
11580
a7183d7c
EZ
115812012-01-04 Eli Zaretskii <eliz@gnu.org>
11582
11583 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11584 letters in cite-prefix.
11585
a1eacd1e
LMI
115862012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11587
11588 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11589
787cdb34
CY
115902012-01-03 Chong Yidong <cyd@gnu.org>
11591
1d00653d
SM
11592 * shell.el (shell-dynamic-complete-functions):
11593 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11594 comint-filename-completion first (Bug#10417).
11595
30710442
RS
115962012-01-02 Richard Stallman <rms@gnu.org>
11597
11598 * battery.el (battery-status-function):
11599 Detect when to use battery-yeeloong-sysfs.
11600 (battery-echo-area-format): Add string for Yeeloong.
11601 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11602 (battery-yeeloong-sysfs): New function.
11603
f75bfc33
CY
116042012-01-02 Chong Yidong <cyd@gnu.org>
11605
11606 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11607 (dirtrack): Merge code for handling relative filenames in prompt
11608 from shell-dir-cookie-watcher.
11609 (dirtrack-debug-message): New arg to avoid excess format calls.
11610
11611 * shell.el (shell-dir-cookie-re): Variable deleted.
11612 (shell-dir-cookie-watcher): Function deleted.
11613 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11614 with dirtrack-mode.
11615
651e947e
EZ
116162012-01-01 Eli Zaretskii <eliz@gnu.org>
11617
1d00653d
SM
11618 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11619 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11620 libgnutls-26.dll.
11621
94d4c7dc
AS
116222011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11623
11624 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11625
8d43f3cd
EZ
116262011-12-31 Eli Zaretskii <eliz@gnu.org>
11627
11628 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11629 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11630
98c8795a
MA
116312011-12-29 Michael Albinus <michael.albinus@gmx.de>
11632
11633 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11634 also for alternative shells.
11635 (tramp-open-connection-setup-interactive-shell): Check, whether
11636 the shell is a busybox.
11637 (tramp-send-command): Don't suppress multiple prompts for
11638 busyboxes, it hurts.
11639
51281b32
CY
116402011-12-28 Chong Yidong <cyd@gnu.org>
11641
11642 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11643 (gdb-get-source-file): Move mode line update to
11644 gdb-get-source-file (Bug#10087).
11645
2170cb53
CY
116462011-12-25 Chong Yidong <cyd@gnu.org>
11647
11648 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11649 gud-gdb-marker-filter without taking it as an argument.
11650 (gud-gdb-run-command-fetch-lines): Caller changed.
11651 (gud-gdb-completion-function): New variable.
11652 (gud-gdb-completion-at-point): Use it.
11653 (gud-gdb-completions-1): Split from gud-gdb-completions.
11654
11655 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11656 function as separate arguments.
11657 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11658 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11659 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11660 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11661 (gdb-stopped, def-gdb-auto-update-trigger)
11662 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11663 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11664 Callers changed.
2170cb53
CY
11665 (gud-gdbmi-completions): New function.
11666 (gdb): Use it for generating the completion table.
11667
be8b11bb
AM
116682011-12-24 Alan Mackenzie <acm@muc.de>
11669
11670 Introduce a mechanism to widen the region used in context font
1d00653d 11671 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11672
1d00653d
SM
11673 * progmodes/cc-langs.el (c-before-font-lock-functions):
11674 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11675 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11676 functions to be run just before context (etc.) font locking.
11677
11678 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11679 New, functionality extracted from
be8b11bb 11680 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11681 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11682 (c-after-change): Set c-in-after-change-fontification.
11683 (c-set-fl-decl-start): Rejig its interface, so it can be called
11684 from both after-change and context fontifying.
b81d40f0
JB
11685 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11686 New functions.
11687 (c-standard-font-lock-fontify-region-function): New variable.
11688 (c-font-lock-fontify-region): New function.
be8b11bb 11689
341cf6ac
JL
116902011-12-24 Juri Linkov <juri@jurta.org>
11691
11692 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11693 (Bug#10348)
11694
bffcee0a
MA
116952011-12-23 Michael Albinus <michael.albinus@gmx.de>
11696
11697 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11698 existence of source file. (Bug#10325)
11699
cb5e207c
AM
117002011-12-23 Alan Mackenzie <acm@muc.de>
11701
11702 Fix unstable fontification inside templates.
11703
b81d40f0
JB
11704 * progmodes/cc-langs.el (c-before-font-lock-functions):
11705 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11706 additionally has c-set-fl-decl-start. The other languages (apart
11707 from AWK) have that as a single entry.
11708
b81d40f0
JB
11709 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11710 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11711 c-set-fl-decl-start.
11712
b81d40f0
JB
11713 * progmodes/cc-mode.el (c-common-init, c-after-change):
11714 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11715 (c-set-fl-decl-start): New function, extracted from
11716 c-font-lock-enclosing-decls and enhanced.
11717
60ff536c
JB
117182011-12-23 Juanma Barranquero <lekktu@gmail.com>
11719
11720 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11721
1c4757d6
JL
117222011-12-22 Juri Linkov <juri@jurta.org>
11723
11724 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11725
d031f2c7
CY
117262011-12-22 Chong Yidong <cyd@gnu.org>
11727
11728 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11729
bace743a
DA
117302011-12-21 Drew Adams <drew.adams@oracle.com>
11731
11732 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11733
728a1f2b
JC
117342011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11735
11736 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11737
0d373f73
TZ
117382011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11739
fec0aaa4
TZ
11740 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11741 highlighting and support. Fix up comments for capitalization.
11742 (cfengine-mode-debug): New var.
11743 (cfengine3-mode): Change the modeline indicator to "CFE3".
11744 (cfengine3-font-lock-keywords): Improve defun highlighting.
11745 (cfengine2-actions): Rename from `cfengine-actions'.
11746 (cfengine2-font-lock-keywords): Rename from
11747 `cfengine-font-lock-keywords'.
11748 (cfengine2-imenu-expression): Rename from
11749 `cfengine-imenu-expression'.
11750 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11751 (cfengine2-beginning-of-defun): Rename from
11752 `cfengine-beginning-of-defun'.
11753 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11754 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11755 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11756 modeline indicator to "CFE2".
11757 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11758 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11759
bc86f573
CY
117602011-12-21 Chong Yidong <cyd@gnu.org>
11761
11762 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11763 filename argument.
11764
d45ba96b
MR
117652011-12-20 Martin Rudalics <rudalics@gmx.at>
11766
11767 * window.el (window-normalize-buffer-to-display): Remove.
11768 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11769
a6198c90
CY
117702011-12-19 Chong Yidong <cyd@gnu.org>
11771
11772 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11773 Don't signal an error in a predicate function; return non-nil.
11774 (vc-dir-mark-file): Move the error here.
11775 (vc-dir-mark-unmark): If acting on the region, keep going if one
11776 of the entries cannot be marked/unmarked.
11777 (vc-dir-mark-all-files): If current entry is a directory, mark
11778 only child files, as documented.
11779
34c5fb55
VB
117802011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11781
11782 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11783 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11784 addition.
11785
c803b2b7
JD
117862011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11787
11788 * term/ns-win.el (ns-get-selection-internal)
11789 (ns-store-selection-internal): Declare.
1154d12e
JB
11790 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11791 Declare as obsolete.
11792 (ns-get-pasteboard, ns-paste-secondary):
11793 Use ns-get-selection-internal.
41e9b956 11794 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11795 Use ns-store-selection-internal.
c803b2b7 11796
9cff91f8 117972011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11798
11799 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11800 (vc-deduce-fileset): Doc fix.
99a289d9 11801
f16c898a
AS
118022011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11803
11804 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11805
763237c4
SS
118062011-12-13 Sam Steingold <sds@gnu.org>
11807
11808 * man.el (Man-getpage-in-background): When running under a
11809 window-system, ignore $MANWIDTH and $COLUMNS.
11810
5fc1c122
KH
118112011-12-15 Kenichi Handa <handa@m17n.org>
11812
11813 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11814 (setup-ethiopic-environment-internal): Comment out key-binding for
11815 ethio-toggle-punctuation.
11816
13d49cbb
AM
118172011-12-13 Alan Mackenzie <acm@muc.de>
11818
898169a2
AM
11819 Add the switch statement to AWK Mode.
11820
7a71b18d 11821 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11822 "default" to the keywords regexp.
11823
7a71b18d 11824 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11825 expression as the rest.
1d00653d
SM
11826 (c-nonlabel-token-key): Allow string literals for AWK.
11827 Refactor for the other modes.
898169a2 11828
13d49cbb 11829 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11830 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11831 routines. Limit backward searching in c-font-lock-enclosing.decl.
11832
11833 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11834 pp-state and literal type in addition to the limits.
1d00653d 11835 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11836 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11837 (c-slow-in-literal, c-fast-in-literal): Remove.
11838 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11839
11840 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11841 being in a literal. Add a limit for backward searching.
11842
11843 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11844 c-slow-in-literal.
11845
15e0efc7
SM
118462011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11847
11848 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11849
454592a6
MR
118502011-12-13 Martin Rudalics <rudalics@gmx.at>
11851
11852 * window.el (delete-other-windows): Use correct frame in call to
11853 window-with-parameter.
11854
87393f26
DP
118552011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11856
11857 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11858 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11859 (makefile-gmake-statements, makefile-makepp-statements):
11860 Use it and add new makepp keywords.
11861 (makefile-makepp-font-lock-keywords): Add new patterns.
11862 (makefile-match-function-end): Match new [...] and [[...]].
11863
11636b22
JB
118642011-12-11 Juanma Barranquero <lekktu@gmail.com>
11865
11866 * ses.el (ses-call-printer-return, ses-cell-property-get)
11867 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11868 (ses-create-cell-variable, ses-reset-header-string)
11869 (ses-cell-set-formula, ses-repair-cell-reference-all)
11870 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11871 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11872 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11873 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11874 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11875 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11876 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11877 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11878 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11879 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11880 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11881 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11882
cf018193
VB
118832011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11884
11885 * ses.el: The overall change is to add cell renaming, that is
11886 setting fancy names for cell symbols other than name matching
11887 "\\`[A-Z]+[0-9]+\\'" regexp .
11888 (ses-create-cell-variable): New defun.
11889 (ses-relocate-formula): Relocate formulas only for cells the
11890 symbols of which are not renamed, i.e. symbols whose names do not
11891 match regexp "\\`[A-Z]+[0-9]+\\'".
11892 (ses-relocate-all): Relocate values only for cells the symbols of
11893 which are not renamed.
11894 (ses-load): Create cells variables as the (ses-cell ...) are read,
11895 in order to check row col consistency with cell symbol name only
11896 for cells that are not renamed.
11897 (ses-replace-name-in-formula): New defun.
11898 (ses-rename-cell): New defun.
11899
ee957461
CY
119002011-12-11 Chong Yidong <cyd@gnu.org>
11901
11902 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11903 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11904
9a9e9ef0
MR
119052011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11906
11907 * window.el (other-window): Fix docstring.
11908
92a8eba5
EZ
119092011-12-10 Eli Zaretskii <eliz@gnu.org>
11910
11911 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11912 `from' or `to' address before taking its substring.
11913 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11914 encoded name is chopped in the middle of the encoded string, and
11915 thus displayed encoded.
11916
e152e577
JB
119172011-12-10 Juanma Barranquero <lekktu@gmail.com>
11918
11919 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11920
e5d84bfe
EZ
119212011-12-10 Eli Zaretskii <eliz@gnu.org>
11922
11923 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11924 to use texinfo-update-node and commands that call it if the
11925 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11926 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11927 (texinfo-all-menus-update, texinfo-master-menu)
11928 (texinfo-update-node, texinfo-every-node-update)
11929 (texinfo-multiple-files-update): Doc fix. Warn against updating
11930 all the @node lines.
11931 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11932 argument is numeric. Explain better in the doc string what the
11933 function really does.
11934 (texinfo-insert-master-menu-list): Improve the error message
11935 displayed if there's no menu in the Top node.
11936 (Bug#2975) See also this thread:
e5d84bfe
EZ
11937 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11938
1d84e9bb
MG
119392011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11940
11941 * speedbar.el (speedbar-supported-extension-expressions):
11942 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11943
382c953b
JB
119442011-12-09 Juanma Barranquero <lekktu@gmail.com>
11945
11946 * printing.el (pr-mode-alist):
11947 * simple.el (filter-buffer-substring-functions)
11948 (completion-list-insert-choice-function):
11949 * window.el (window-with-parameter, window-atom-root)
11950 (window-sides-slots, window-size-fixed, window-min-delta)
11951 (window-max-delta, window--resize-mini-window)
11952 (window--resize-child-windows-normal, window-tree)
11953 (delete-other-windows, quit-window, split-window)
11954 (display-buffer-record-window, special-display-buffer-names)
11955 (special-display-regexps, special-display-popup-frame)
11956 (same-window-p, split-window-sensibly)
11957 (display-buffer-overriding-action, display-buffer-alist)
11958 (display-buffer-base-action, display-buffer, switch-to-buffer)
11959 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11960 (fit-window-to-buffer, recenter-positions)
11961 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11962 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11963 and remove unneeded backslashes in docstrings.
11964
39c9faef
SM
119652011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11966
98449af8
SM
11967 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11968
39c9faef
SM
11969 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11970 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11971 end in ".mk".
11972 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11973 when reading the makefile (bug#10116).
11974
86ed9fdc
SM
119752011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11976
11977 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11978 (bug#10116).
11979
5580f89d
GM
119802011-12-06 Glenn Morris <rgm@gnu.org>
11981
11982 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11983
28d3917c
CY
119842011-12-06 Chong Yidong <cyd@gnu.org>
11985
11986 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11987
a98edce9
JB
119882011-12-06 Juanma Barranquero <lekktu@gmail.com>
11989
11990 * textmodes/table.el (table-shorten-cell): Fix typo.
11991
e65adfac
CG
119922011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11993
11994 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11995
71cc0b74
EZ
119962011-12-05 Eli Zaretskii <eliz@gnu.org>
11997
11998 * descr-text.el (describe-char): Fix display of strong
11999 right-to-left characters and directional embeddings and overrides.
12000
12001 * simple.el (what-cursor-position): Fix display of codepoints of
12002 strong right-to-left characters.
12003
315bc30d
CY
120042011-12-05 Chong Yidong <cyd@gnu.org>
12005
12006 * faces.el (read-color): Doc fix.
12007
58a70b94
GM
120082011-12-05 Glenn Morris <rgm@gnu.org>
12009
12010 * align.el (align--set-marker): Add doc-string.
12011 Don't try to move something that is not a marker. (Bug#10216)
12012
5158face
GM
120132011-12-04 Glenn Morris <rgm@gnu.org>
12014
12015 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12016 overly zealous deletion of trailing whitespace.
12017
520fca41
JB
120182011-12-04 Juanma Barranquero <lekktu@gmail.com>
12019
12020 * server.el (server-delete-client): On Windows, do not try to delete
12021 the only terminal.
12022 (server-process-filter): On Windows, treat requests for a tty frame as
12023 if they were for a GUI frame if the running server is in GUI mode.
12024
5e605a2e
GM
120252011-12-03 Glenn Morris <rgm@gnu.org>
12026
12027 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12028
5c3fe83f
SM
120292011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12030
6f5e57e7
SM
12031 * electric.el: Streamline electric-indent's hook.
12032 (electric-indent-chars): Revert to simple list.
12033 (electric-indent-functions): New var.
12034 (electric-indent-post-self-insert-function): Use it.
12035
5c3fe83f
SM
12036 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12037 there's no inferior buffer (bug#10196).
12038 (prolog-consult-compile): Don't use toggle-read-only.
12039
6bdac736
MA
120402011-12-02 Michael Albinus <michael.albinus@gmx.de>
12041
12042 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12043 interrupt. (Bug#10187)
12044
6131ba7f
SM
120452011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12046
99c79fee
SM
12047 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12048 (bug#9160).
12049
6131ba7f
SM
12050 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12051 (bug#10191).
12052
cb0a02ea
JL
120532011-12-02 Juri Linkov <juri@jurta.org>
12054
12055 * info.el (Info-search): Display "end of manual" when Isearch
12056 reaches the end of single-file Info manual. (Bug#9918)
12057
66e0570c
EZ
120582011-12-02 Eli Zaretskii <eliz@gnu.org>
12059
12060 * isearch.el (isearch-message-prefix): Run the input method part
12061 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12062
02b16839
JL
120632011-12-02 Juri Linkov <juri@jurta.org>
12064
12065 * isearch.el (isearch-occur): Use `word-search-regexp' for
12066 `isearch-word'.
12067 (isearch-search-and-update): Add condition for `isearch-word' and
12068 call `word-search-regexp'. (Bug#10145)
12069
0b950688
GM
120702011-12-01 Glenn Morris <rgm@gnu.org>
12071
12072 * eshell/em-hist.el (eshell-hist-initialize):
12073 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12074 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12075
9505c3c7
SM
120762011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12077
12078 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12079
1bbe96b2 120802011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12081
a1beca85
SM
12082 * progmodes/verilog-mode.el (verilog-pretty-expr):
12083 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12084 verilog, such as += *= and the like.
12085 (verilog-assignment-operator-re): Regular expression to find the
12086 assigment operator in a verilog assignment.
12087 (verilog-assignment-operation-re): Regular expression to find an
12088 assignment statement for pretty-expr.
12089 (verilog-in-attribute-p): Query returns true if point is in an
12090 attribute context; used to skip these for expression line up from
12091 pretty-expr.
12092 (verilog-in-parameter-p): Query returns true if point is in an
12093 parameter definition context; used to skip these for expression
12094 line up from pretty-expr.
12095 (verilog-in-parenthesis-p): Query returns true if point is in a
12096 parenthetical expression, specifically ( ) but not [ ] or { };
12097 used by pretty-expr.
12098 (verilog-just-one-space): If there is no space, don't add one.
12099 (verilog-get-lineup-indent-2): Specifically skip just attribute
12100 contexts for expression lineup, rather than skipping all
12101 parenthetical expressions.
12102 (verilog-calculate-indent): Fix comment, and fix indent.
12103 (verilog-do-indent): Indent declarations in lists (suggested by
12104 Joachim Lechner).
12105 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12106 skeleton items.
12107 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12108 by Alain Mellan).
12109
1bbe96b2 121102011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12111
12112 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12113 parameters with embedded comments. Reported by Ray Stevens.
12114 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12115 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12116 Reported by Tim Holt.
12117 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12118 instantiated by upper module causing wrong expansion until AUTOed a
12119 second time. Reported by K C Buckenmaier.
12120 (verilog-diff-auto): Fix showing .* as a difference when
12121 `verilog-auto-star-save' off. Reported by Dan Dever.
12122 (verilog-auto-reset, verilog-read-always-signals)
12123 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12124 temporary signals in reset list if
12125 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12126 style to each signal's assignment type, bug381.
12127 Reported by Thomas Esposito.
6288f0ca
WS
12128 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12129 (verilog-uvm-statement-re): Support UVM indentation and
12130 highlighting, with old OVM keywords only.
a1beca85 12131 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12132 Support AUTOTIEOFF creating non-wire data types.
12133 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12134 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12135 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12136 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12137 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12138 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12139 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12140 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12141 non-numeric vector width. Reported by Alex Reed.
12142 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12143 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12144 (verilog-auto-delete-trailing-whitespace):
12145 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12146 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12147 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12148 Fix verilog-scan-cache corruption when running user AUTO expansion
12149 hooks that call indentation routines.
12150 (verilog-simplify-range-expression): Fix typo ignoring lower case
12151 identifiers.
12152 (verilog-delete-auto): Fix delete-autos to also remove user created
12153 automatics, as long as they start with AUTO.
12154 (verilog-batch-diff-auto, verilog-diff-auto)
12155 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12156 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12157 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12158 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12159 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12160 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12161 is disabled and its cache will get corrupt, causing AUTOS not to
12162 expand. Instead use only -quick functions.
12163 (verilog-scan-region): Fix scanning over escaped quotes.
12164 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12165 (verilog-re-search-backward-quick)
12166 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12167 related functions now ignore strings, to fix misparsing of strings
12168 with magic comments embedded in them.
a1beca85
SM
12169 (verilog-read-auto-template):
12170 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12171 Reported by Brad Dobbie.
12172 (verilog-read-auto-template):
12173 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12174 Reported by Brad Dobbie.
6288f0ca
WS
12175 (verilog-auto-inst, verilog-auto-inst-param)
12176 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12177 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12178 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12179 debugging templates without merge conflicts, bug357.
12180 Reported by Brad Dobbie.
12181 (verilog-read-auto-template):
12182 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12183 Reported by Brad Dobbie.
12184 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12185 abbrevs so user won't be asked to save.
12186 (verilog-read-auto-lisp-present): Fix to start at beginning of
12187 buffer in case called outside of verilog-auto.
12188 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12189 to "X-2". Reported by Matthew Myers.
12190 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12191 all inputs from module templates. Reported by Leith Johnson.
12192 (verilog-module-inside-filename-p): Fix locating programs as with
12193 modules.
12194 (verilog-auto-inst-port): Fix vl-width expressions when using
12195 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12196 (verilog-decls-get-regs, verilog-decls-get-signals,
12197 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12198 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12199 verilog-read-decls): Combine reg and wire structures into one var
12200 structure to represent SystemVerilog concepts.
12201 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12202 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12203 (verilog-auto-wire-type, verilog-insert-definition):
12204 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12205 SystemVerilog "logic" keyword instead of "wire"/"reg".
12206 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12207 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12208 ifdef or generate if so there's not a driver conflict).
12209 Reported by Matthew Myers.
12210 (verilog-auto-declare-nettype, verilog-insert-definition):
12211 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12212 `default_nettype none. Reported by Julian Gorfajn.
12213 (verilog-read-always-signals-recurse, verilog-read-decls)
12214 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12215 malformed end statement, bug325. Reported by Joshua Wise and
12216 Andrew Drake.
12217 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12218 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12219 when expanding .* in interfaces, bug320.
12220 Reported by Pierre-David Pfister.
6288f0ca 12221 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12222 name and open parenthesis, bug317.
12223 Reported by Pierre-David Pfister.
6288f0ca
WS
12224 (verilog-simplify-range-expression): Fix simplification of
12225 multiplications inside AUTOWIRE connections, bug303.
12226 (verilog-auto-inst-port): Support parameter expansion in
12227 multidimensional arrays.
12228 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12229 after "assert property". Reported by Julian Gorfajn.
12230 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12231 with multiplication, bug303.
12232 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12233 Reported by Jan Frode Lonnum.
12234
1bbe96b2
GM
122352011-11-30 Juanma Barranquero <lekktu@gmail.com>
12236
12237 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12238 (hfy-shell-file-name, hfy-shell):
12239 * international/fontset.el (x-decompose-font-name): Fix typos.
12240
122412011-11-29 Ken Brown <kbrown@cornell.edu>
12242
12243 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12244 (gdb-version): Remove defvar.
12245 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12246 (gdb-gud-context-command, gdb-non-stop-handler)
12247 (gdb-current-context-command, gdb-stopped): Use it.
12248 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12249 (gdb-non-stop-handler): Don't enable pretty-printing here.
12250 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12251 non-stop mode. Use the following.
12252 (gdb-check-target-async): New defun.
12253 (gud-watch, gdb-stopped): Fix whitespace.
12254 (gdb-get-source-file): Don't try to display the source file if
12255 `gdb-main-file' is nil.
12256
122572011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12258
12259 * align.el: Try to generate fewer markers (bug#10047).
12260 (align--set-marker): New macro.
12261 (align-region): Use it.
12262
c935221f
SM
122632011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12264
12265 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12266
e70b5064
CY
122672011-11-29 Chong Yidong <cyd@gnu.org>
12268
12269 * indent.el (indent-for-tab-command, indent-according-to-mode):
12270 Doc fix.
12271 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12272
f3af92b7
MA
122732011-11-29 Michael Albinus <michael.albinus@gmx.de>
12274
12275 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12276 aware of remote file names. (Bug#10124)
12277
ed472be9
CY
122782011-11-29 Chong Yidong <cyd@gnu.org>
12279
12280 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12281
24510c22
SM
122822011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12283
12284 * files.el (find-file): Don't use force-same-window (bug#10144).
12285 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12286 use pop-to-buffer if the selected window can't be used.
12287 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12288
c60c3703
EZ
122892011-11-28 Eli Zaretskii <eliz@gnu.org>
12290
12291 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12292 special-mode-map.
12293
e95def75
CY
122942011-11-28 Chong Yidong <cyd@gnu.org>
12295
12296 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12297
c3f1c606
NR
122982011-11-27 Nick Roberts <nickrob@snap.net.nz>
12299
12300 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12301 gdb-get-source-file-list on gdb-create-source-file-list.
12302
00db469c
EZ
123032011-11-26 Eli Zaretskii <eliz@gnu.org>
12304
12305 * whitespace.el (whitespace-newline): Use a different foreground
12306 color for 16-color light-background displays.
12307
4ad3bc2a
CY
123082011-11-24 Chong Yidong <cyd@gnu.org>
12309
12310 * window.el (display-buffer--special-action): Doc fix.
12311
e9fce1ac
JB
123122011-11-25 Juanma Barranquero <lekktu@gmail.com>
12313
12314 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12315 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12316 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12317 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12318 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12319 (avl-tree-stack-first):
12320 * emacs-lisp/cconv.el (cconv--analyse-use):
12321 * net/gnutls.el (gnutls-negotiate): Fix typos.
12322
cb825e5d
GM
123232011-11-24 Glenn Morris <rgm@gnu.org>
12324
3adbe224
GM
12325 * lpr.el (lpr-windows-system, lpr-lp-system):
12326 * mail/binhex.el (binhex-begin-line):
12327 * progmodes/grep.el (grep-history, grep-find-history):
12328 * textmodes/flyspell.el:
12329 * vc/pcvs-defs.el (cvs-global-menu):
12330 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12331 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12332 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12333
321decc8
GM
12334 * net/tls.el: Fix case of "GnuTLS".
12335
420b63ad
GM
12336 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12337
cb825e5d
GM
12338 * version.el (emacs-build-system): Give it a doc-string.
12339
a0649f08
JL
123402011-11-24 Juri Linkov <juri@jurta.org>
12341
12342 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12343
c0bc0fd4
GM
123442011-11-24 Glenn Morris <rgm@gnu.org>
12345
12346 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12347 if called on a non-mime message just toggle the headers. (Bug#8006)
12348
20db1522
JB
123492011-11-24 Juanma Barranquero <lekktu@gmail.com>
12350
12351 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12352 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12353 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12354 (allout-rebullet-heading, allout-open-sibtopic)
12355 (allout-toggle-current-subtree-encryption)
12356 (allout-toggle-subtree-encryption, allout-encrypt-string)
12357 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12358 (allout-distinctive-bullets-string, allout-auto-activation):
12359 * window.el (window-normalize-buffer-to-display):
12360 * progmodes/verilog-mode.el (verilog-batch-indent):
12361 * textmodes/bibtex.el (bibtex-field-braces-opt)
12362 (bibtex-field-strings-opt):
12363 * vc/cvs-status.el (cvs-tree-merge):
12364 Fix typos.
12365
7262a87c
MA
123662011-11-23 Michael Albinus <michael.albinus@gmx.de>
12367
12368 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12369 `non-essential' to t, in order to avoid remote connections.
12370
283430a1
EZ
123712011-11-23 Eli Zaretskii <eliz@gnu.org>
12372
a1beca85
SM
12373 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12374 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12375 case-insensitively.
12376
d2992a38
ML
123772011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12378
12379 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12380
50419064
GM
123812011-11-23 Glenn Morris <rgm@gnu.org>
12382
da94eca1
GM
12383 * paths.el (rmail-file-name): Reformat the doc-string so that it
12384 is picked up.
12385
9aac4de2
GM
12386 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12387 (rmail-auto-file): Ignore case in the "special" field names,
12388 as mail-fetch-field does for all others.
12389
8038d2d2
GM
12390 * mail/rmail.el (rmail-forward):
12391 * mail/rmailkwd.el (rmail-set-label):
12392 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12393 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12394
f3fe222a
GM
12395 * mail/rmail.el (rmail-current-message): Doc fix.
12396
50419064
GM
12397 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12398
28109f49
SM
123992011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12400
12401 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12402
394c65f1
GM
124032011-11-22 Glenn Morris <rgm@gnu.org>
12404
12405 * mail/rmailmm.el (test-rmail-mime-handler)
12406 (test-rmail-mime-bulk-handler)
12407 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12408
f2a0aa3a
JL
124092011-11-21 Juri Linkov <juri@jurta.org>
12410
1154d12e
JB
12411 * calc/calc.el (calc-read-key-sequence):
12412 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12413
9c34a344
LMI
124142011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12415
12416 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12417 Tell the caller that the next line needs recomputation, even
12418 though it doesn't start a sexp (bug#10094).
12419
f04a3be9
SM
124202011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12421
12422 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12423
7978747f
SM
124242011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12425
f04a3be9
SM
12426 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12427 Use force-same-window.
7978747f 12428
fe7a3057
JB
124292011-11-20 Juanma Barranquero <lekktu@gmail.com>
12430
12431 * descr-text.el (describe-char-unicode-data):
12432 * json.el (json-string-escape):
12433 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12434 (Footnote-unicode, Footnote-style-p):
12435 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12436
24901d61
CY
124372011-11-20 Chong Yidong <cyd@gnu.org>
12438
12439 * window.el (replace-buffer-in-windows): Restore interactive spec.
12440
bac7ff22
SM
124412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12442
24f3d7b9
SM
12443 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12444
bac7ff22
SM
12445 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12446 (byte-compile-global-not-obsolete-vars): New var.
12447 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12448 Use it.
12449 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12450
cd1181db
JB
124512011-11-20 Juanma Barranquero <lekktu@gmail.com>
12452
12453 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12454 * progmodes/pascal.el (electric-pascal-equal):
12455 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12456 * xml.el (xml-substitute-special): Fix typos.
12457
7fb18e9e
GM
124582011-11-20 Glenn Morris <rgm@gnu.org>
12459
12460 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12461 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12462 Doc fixes.
12463 (rmail-decode-mime-charset): Mark as obsolete.
12464
12465 * mail/rmailsum.el (rmail-message-regexp-p-1):
12466 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12467 Before using mime functions, check they are set. (Bug#10077)
12468
d5a6b3ba
JL
124692011-11-19 Juri Linkov <juri@jurta.org>
12470
12471 * info.el (Info-finder-find-node): Use `package--builtins' instead
12472 of `package-alist'. Use node names formed by the pattern "Keyword "
12473 and the keyword name.
12474
e981b61f
AS
124752011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12476
1d00653d 12477 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12478
3ffbc301
JL
124792011-11-19 Juri Linkov <juri@jurta.org>
12480
12481 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12482 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12483 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12484 `old-history', `old-history-forward'. Add let-binding
12485 `window-selected'. Remove calls to `kill-buffer',
12486 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12487 before calling `Info-find-node', so `Info-find-node-2' will reread
12488 the Info file. Restore window positions only when `window-selected'
12489 is non-nil.
12490
30c62133
JL
124912011-11-19 Juri Linkov <juri@jurta.org>
12492
12493 * isearch.el (isearch-lazy-highlight-new-loop):
12494 Remove condition `(not isearch-error)'. (Bug#9918)
12495
12496 * misearch.el (multi-isearch-search-fun): Add condition
12497 `(not bound)' to ignore lazy-highlighting search.
12498 Add the search-failed message "end of multi" when the end of
12499 multi-sequence is reached. Uncapitalize the search-failed
12500 message "Repeat for next buffer".
12501
12502 * info.el (Info-search): Add the search-failed message
12503 "end of the manual" when the end of the manual is reached
12504 in Isearch mode.
12505
645ca9cf
JL
125062011-11-19 Juri Linkov <juri@jurta.org>
12507
12508 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12509 Use non-destructive `remove' instead of `delete' because
12510 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12511 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12512
df754f66
JL
125132011-11-19 Juri Linkov <juri@jurta.org>
12514
12515 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12516 to nil instead of binding `search-ring' and `regexp-search-ring'.
12517 (Bug#9185)
12518
0e23d96a
EZ
125192011-11-19 Eli Zaretskii <eliz@gnu.org>
12520
12521 * simple.el (line-move): Force movement by logical lines for any
12522 hscrolled window, not only when auto-hscroll-mode is on.
12523 (line-move-visual): Update doc string to that effect. (Bug#10076)
12524
8a6ccb66
AS
125252011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12526
12527 * language/european.el (macintosh): Define as alias for mac-roman.
12528
49ae5b39
EZ
125292011-11-19 Eli Zaretskii <eliz@gnu.org>
12530
12531 * mail/rmailmm.el (rmail-mime-display-header)
12532 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12533 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12534 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12535 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12536 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12537 of a raw aref.
12538 (rmail-mime-entity-segment): To get past the tagline, move forward
12539 2 more lines, to account for the 2 empty lines that precede and
12540 follow the line with the buttons.
12541 (rmail-mime-update-tagline): Move one more line, to get past the
12542 empty line that follows the buttons in the tagline. (Bug#9520)
12543
c56cad4a
MR
125442011-11-19 Martin Rudalics <rudalics@gmx.at>
12545
12546 * window.el (window-max-delta-1, window-min-delta-1)
12547 (window-min-size-1, window-state-get-1, window-state-put-1)
12548 (window-state-put-2): Use "window--" prefix.
12549
cbe71af3
SM
125502011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12551
2ad52c60
SM
12552 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12553 (smie-warning-count): New var.
12554 (smie-set-prec2tab): Use it.
12555 (smie-bnf->prec2): Improve warnings. Add docstring.
12556 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12557 (smie-bnf--set-class): New function.
12558 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12559 corner case.
12560
6944dbc1
SM
12561 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12562 (compilation-error-properties, compilation-move-to-column):
12563 Handle compilation-first-column while in the target buffer.
12564
c400c4d7
SM
12565 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12566 Don't hardcode point-min==1.
12567
6dbe3e96
SM
12568 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12569 (eshell-rewrite-for-command): Remove workaround.
12570 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12571 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12572 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12573
cbe71af3
SM
12574 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12575
a8e1496d
GM
125762011-11-17 Glenn Morris <rgm@gnu.org>
12577
12578 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12579 Ignore buffer-local generated-autoload-file if it is the same
12580 as the global value. (Bug#10049)
12581
df85d315
JB
125822011-11-17 Juanma Barranquero <lekktu@gmail.com>
12583
12584 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12585 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12586 (reftex-toc-previous-heading, reftex-toc-max-level)
12587 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12588 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12589 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12590 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12591 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12592 (reftex-toc-rename-label, reftex-toc-visit-location)
12593 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12594 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12595 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12596 leaving "*toc*" only for references to the buffer.
12597
a0c2d0ae
MR
125982011-11-17 Martin Rudalics <rudalics@gmx.at>
12599
12600 * window.el (window-resize, delete-window, split-window):
12601 Replace window-splits by window-combination-resize.
1d00653d 12602 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12603
35c0bac8
GM
126042011-11-17 Glenn Morris <rgm@gnu.org>
12605
12606 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12607 Make bash entry derive from sh entry, not shell entry.
12608
d0c8fc8a
MA
126092011-11-16 Michael Albinus <michael.albinus@gmx.de>
12610
7262a87c
MA
12611 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12612 local file name.
12613
7877f373
JB
126142011-11-16 Juanma Barranquero <lekktu@gmail.com>
12615
12616 * menu-bar.el (menu-bar-file-menu):
12617 * printing.el (pr-ps-utility):
12618 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12619 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12620 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12621 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12622 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12623 (icalendar--convert-cyclic-to-ical)
12624 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12625 (icalendar--convert-ical-to-diary)
12626 (icalendar--convert-recurring-to-diary)
12627 (icalendar--convert-non-recurring-all-day-to-diary)
12628 (icalendar-import-format-sample):
12629 * progmodes/idlw-shell.el (idlwave-shell-mode):
12630 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12631 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12632 (vhdl-ps-print-init): Fix typos.
12633
10649b82
KM
126342011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12635
9d0cfcd6
GM
12636 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12637 FSF and collapse date sequence, obscure author/maintainer email address
12638 better, remove extra version line, track relocation of author's webpage.
10649b82 12639
9d0cfcd6
GM
12640 * progmodes/python.el (python-pdbtrack-input-prompt)
12641 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12642 regular python pdb prompts. Adjustments shamelessly taken exactly as
12643 suggested in EmacsWiki page (tiny change):
12644 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12645
58179cce
JB
126462011-11-16 Juanma Barranquero <lekktu@gmail.com>
12647
12648 * expand.el (expand-pos, expand-index, expand-point):
12649 Remove redundant info from docstring.
12650 (expand-add-abbrevs): Doc fix.
12651 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12652 (expand-sample-perl-mode-expand-list): Fix typos.
12653
12654 * net/dbus.el (dbus-event-member-name):
12655 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12656 * term/pc-win.el (msdos-create-frame-with-faces):
12657 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12658
b6f67890
MR
126592011-11-16 Martin Rudalics <rudalics@gmx.at>
12660
12661 * window.el (split-window, window-state-get-1)
12662 (window-state-put-1, window-state-put-2): Rename occurrences of
12663 window-nest to window-combination-limit.
1d00653d 12664 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12665
ce7ddba0
CY
126662011-11-16 Chong Yidong <cyd@gnu.org>
12667
12668 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12669 regexp (Bug#10033).
12670
3ae704f4
SM
126712011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12672
12673 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12674 `completing-read' will remove *Completions* and will preserve
12675 current-buffer for us.
12676 (tmm-add-prompt): Users of *Completions* will always (re)set its
12677 major mode.
12678 (tmm-old-comp-map): Remove.
12679
6ad1cdde
GM
126802011-11-16 Glenn Morris <rgm@gnu.org>
12681
12682 * mail/rmailedit.el: Require rmailmm when compiling.
12683 (rmail-old-mime-state): New declaration.
12684 (rmail-edit-current-message): If editing a mime message,
12685 edit the "raw" message from the mbox buffer.
12686 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12687
d20faa20
GM
126882011-11-15 Glenn Morris <rgm@gnu.org>
12689
12690 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12691 which wasn't being used. Add optional arg to force given state.
12692 (rmail-mime): Add optional arg to force given state.
12693
c7015153
JB
126942011-11-15 Juanma Barranquero <lekktu@gmail.com>
12695
12696 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12697 * frame.el (display-mm-dimensions-alist):
12698 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12699 (outline-move-subtree-down):
12700 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12701 (newsticker--treeview-do-get-node):
12702 * net/quickurl.el (quickurl-list-buffer-name):
12703 * progmodes/dcl-mode.el (dcl-mode):
12704 * progmodes/gdb-mi.el (gdb-mapcar*):
12705 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12706
45261b50
GM
127072011-11-15 Glenn Morris <rgm@gnu.org>
12708
12709 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12710 in a boolean sense, so just make it a boolean, and fix the doc.
12711 (rmail-show-mime-function, rmail-mime-feature)
12712 (rmail-require-mime-maybe): Doc fixes.
12713 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12714
12715 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12716
0d26e0b6
JB
127172011-11-15 Juanma Barranquero <lekktu@gmail.com>
12718
12719 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12720 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12721 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12722 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12723
447f30f6
GM
127242011-11-15 Glenn Morris <rgm@gnu.org>
12725
672b871d
GM
12726 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12727 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12728 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12729 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12730 (rmail-mime, rmail-show-mime): Doc fixes.
12731
f6aa5bb1
GM
12732 * term/ns-win.el (mode-line-frame-identification):
12733 Leave it alone. (Bug#10051)
12734
947cd66b
GM
12735 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12736
447f30f6
GM
12737 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12738 Handle empty buffers. (Bug#9978)
12739
0b381c7e
JB
127402011-11-14 Juanma Barranquero <lekktu@gmail.com>
12741
12742 * international/mule.el (define-charset):
12743 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12744 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12745 * progmodes/verilog-mode.el (verilog-backward-token):
12746 * textmodes/ispell.el (lookup-words):
12747 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12748
71e027ac
GM
127492011-11-14 Glenn Morris <rgm@gnu.org>
12750
56632ce4
GM
12751 * progmodes/executable.el
12752 (executable-make-buffer-file-executable-if-script-p):
12753 Handle file-modes returning nil.
12754
40500957
GM
12755 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12756 message - not necessary, and causes problems. (Bug#9831)
12757
071c2340
GM
12758 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12759
d3cfca60
GM
12760 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12761
71e027ac
GM
12762 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12763 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12764 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12765
89d61221
MR
127662011-11-12 Martin Rudalics <rudalics@gmx.at>
12767
12768 * window.el (window-resize, delete-window): Use window-splits
12769 variable instead of function.
12770 (window-state-get-1, window-state-put-2, window-state-put):
12771 Don't deal with windows' splits status.
12772
98282f6f
GM
127732011-11-12 Glenn Morris <rgm@gnu.org>
12774
12775 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12776 (apropos-documentation): Doc fixes.
12777
40a8bdf6
JB
127782011-11-11 Juanma Barranquero <lekktu@gmail.com>
12779
12780 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12781 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12782
65bd19ff
SM
127832011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12784
12785 * electric.el (electric-indent-post-self-insert-function): Make it
12786 possible for a char to only indent in some circumstances.
12787 (electric-indent-mode): Simplify.
12788
54f9154c
MR
127892011-11-11 Martin Rudalics <rudalics@gmx.at>
12790
12791 * window.el (windows-with-parameter): Remove unused function.
12792 (windows-at-side): Rename to window-at-side-list.
12793 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12794 (window-side-check, window-size-ignore, window-size-fixed-1)
12795 (window-in-direction-2): Prefix with "window--".
12796 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12797
68cbc58b
GM
127982011-11-11 Glenn Morris <rgm@gnu.org>
12799
12800 * subr.el (eval-after-load): If FILE is already loaded,
12801 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12802
b2621720
GM
128032011-11-10 Glenn Morris <rgm@gnu.org>
12804
9a4de110
GM
12805 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12806 Call svn via vc-svn-command rather than vc-do-command.
12807 (vc-svn-command): Add --non-interactive. (Bug#9993)
12808 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12809
b2621720
GM
12810 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12811 Add toggle-read-only. (Bug#7292)
12812 * files.el (toggle-read-only): Mention that it should only
12813 be used interactively. (Bug#10006)
12814
1dce7193
SM
128152011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12816
d9ac1a1e
SM
12817 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12818 Adjust regexp for OCaml warnings.
12819
0c325082
SM
12820 * electric.el (electric-pair-post-self-insert-function): Let user
12821 turn it off buffer-locally (bug#9932).
12822
90132c14
SM
12823 * progmodes/python.el (python-beginning-of-statement):
12824 Rewrite (bug#2703).
12825
1dce7193
SM
12826 * progmodes/compile.el: Better handle TABs (bug#9749).
12827 (compilation-internal-error-properties)
12828 (compilation-next-error-function): Obey the target buffer's
12829 compilation-error-screen-columns.
12830
c4e7c63a
JB
128312011-11-09 Juanma Barranquero <lekktu@gmail.com>
12832
12833 * progmodes/meta-mode.el: Remove obsolete comments.
12834 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12835 Fix typos in docstrings.
12836
2cffd681
MR
128372011-11-09 Martin Rudalics <rudalics@gmx.at>
12838
12839 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12840 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12841 (window--resizable): New function. Make all callers of
12842 window-resizable call window--resizable instead.
12843 (window-resizable): Rewrite in terms of window--resizable.
12844
0edcba87
GM
128452011-11-08 Glenn Morris <rgm@gnu.org>
12846
12847 * progmodes/delphi.el (delphi-mode-syntax-table):
12848 Let define-derived-mode define a proper syntax table. (Bug#9994)
12849
4b0d61e3
SM
128502011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12851
12852 * window.el: Stay away from defsubst.
12853 (window-list-no-nils): Remove.
12854 (window-state-get-1, window-state-get): Use backquote instead.
12855
cd394be1 128562011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12857
4b0d61e3 12858 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12859 Fix incorrect use of default argument in `completing-read'.
12860
e1c2c6f2
MR
128612011-11-08 Martin Rudalics <rudalics@gmx.at>
12862
12863 * window.el (display-buffer-function, special-display-function):
12864 Mention display-buffer-record-window but do not mention
12865 help-setup parameter in doc-strings.
b3f4a882 12866 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12867
105216ed
CY
128682011-11-08 Chong Yidong <cyd@gnu.org>
12869
12870 * window.el (window-total-height, window-total-width): Doc fix.
12871 (window-body-size): Move from C.
12872 (window-body-height, window-body-width): Move to C.
12873
0a9f9ab5
SM
128742011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12875
12876 * window.el: Make special-display like display-buffer-alist (bug#9532).
12877 (display-buffer--special-action): New function, morphed
12878 from display-buffer--special.
12879 (display-buffer): Use it to handle special-display-buffers at higher
12880 priority (just after display-buffer-alist).
12881 (display-buffer-fallback-action, display-buffer--other-frame-action)
12882 (pop-to-buffer-same-window): Remove display-buffer--special.
12883
a769dd15
GM
128842011-11-07 Glenn Morris <rgm@gnu.org>
12885
12886 * calendar/cal-menu.el (cal-menu-set-date-title):
12887 Do nothing if not in a calendar. (Bug#9976)
12888
05a61ee3
SM
128892011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12890
12891 * files.el (find-file): Always use selected-window.
12892
be7f5545
MR
128932011-11-07 Martin Rudalics <rudalics@gmx.at>
12894
12895 * window.el (window-combinations): Make WINDOW argument
12896 mandatory. Rewrite doc-string.
12897 (walk-window-subtree, window-atom-check, window-min-delta)
12898 (window-max-delta, window--resize-this-window)
12899 (window--resize-root-window-vertically, window-tree)
12900 (balance-windows, window-state-put): Rewrite doc-strings as to
12901 not mention the term "subwindow".
12902 (window--resize-subwindows-skip-p): Rename to
12903 window--resize-child-windows-skip-p.
12904 (window--resize-subwindows-normal): Rename to
12905 window--resize-child-windows-normal.
12906 (window--resize-subwindows): Rename to
12907 window--resize-child-windows.
12908 (window-or-subwindow-p): Rename to window--in-subtree-p.
12909
3c6702ef
ML
129102011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12911
12912 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12913 Ensure that mbox format messages end in two newlines (Bug#9974).
12914
49745b39
CY
129152011-11-06 Chong Yidong <cyd@gnu.org>
12916
12917 * window.el (window-combination-p): Function deleted; its
12918 side-effect is not used in any existing code.
12919 (window-combinations, window-combined-p): Call window-*-child
12920 directly.
12921
24300f5f
CY
129222011-11-05 Chong Yidong <cyd@gnu.org>
12923
12924 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12925 (window-size-ignore, window-state-get): Callers changed.
12926 (window-normalize-window): Rename from window-normalize-any-window.
12927 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12928 (window-normalize-live-window): Delete.
447f16b8
CY
12929 (window-combination-p, window-combined-p, window-combinations)
12930 (walk-window-subtree, window-atom-root, window-min-size)
12931 (window-sizable, window-sizable-p, window-size-fixed-p)
12932 (window-min-delta, window-max-delta, window-resizable)
12933 (window-resizable-p, window-full-height-p, window-full-width-p)
12934 (window-current-scroll-bars, window-point-1, set-window-point-1)
12935 (window-at-side-p, window-in-direction, window-resize)
12936 (adjust-window-trailing-edge, maximize-window, minimize-window)
12937 (window-deletable-p, delete-window, delete-other-windows)
12938 (record-window-buffer, unrecord-window-buffer)
12939 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12940 (quit-window, split-window, window-state-put)
12941 (set-window-text-height, fit-window-to-buffer)
12942 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12943
89bd5ee1
EZ
129442011-11-04 Eli Zaretskii <eliz@gnu.org>
12945
53479029
EZ
12946 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12947 rfc2047-decode-string.
12948 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12949 warnings.
12950
89bd5ee1
EZ
12951 * window.el (window-body-height, window-body-width): Mention in
12952 the doc string that the return values are in frame's canonical
12953 units. (Bug#9949)
12954
bd17fdee
AM
129552011-11-03 Alan Mackenzie <acm@muc.de>
12956
12957 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12958 change in cc-engine.el.
12959
acc825c5
SM
129602011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12961
12962 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12963
1885e5b8
MR
129642011-11-02 Martin Rudalics <rudalics@gmx.at>
12965
12966 * window.el (quit-window): Call unrecord-window-buffer after
12967 showing another buffer in the window. (Bug#9937)
acc825c5 12968 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12969
ebe06da9
JB
129702011-11-02 Juanma Barranquero <lekktu@gmail.com>
12971
12972 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12973 Accept status with more than 9 shelves. (Bug#9935)
12974 Reported by Colin D Bennett <colin@gibibit.com>.
12975
4ee88440
MR
129762011-11-01 Martin Rudalics <rudalics@gmx.at>
12977
12978 * help.el (with-help-window): Don't reference
12979 temp-buffer-show-specifiers in doc-string.
12980
08e1d82c
AS
129812011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12982
12983 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12984 menu-item.
12985
84bd6e9e
VJL
129862011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12987
12988 * whitespace.el: New version 13.2.2.
12989 (whitespace-newline-mode): Disable properly. Reported by Sarah
12990 <EmacsWiki>.
12991
dba0634a
UJ
129922011-10-30 Ulf Jasper <ulf.jasper@web.de>
12993
12994 * net/newst-treeview.el: Remove "Time-stamp".
12995 (newsticker--group-manage-orphan-feeds): Do not call
12996 newsticker--treeview-tree-update.
db22a3c2
JB
12997 (newsticker-treeview-update, newsticker-treeview):
12998 Call newsticker--treeview-tree-update if necessary.
dba0634a 12999
3d8daefe
MR
130002011-10-30 Martin Rudalics <rudalics@gmx.at>
13001
13002 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13003 (window-iso-combinations): Remove "iso-" infix.
13004 Suggested by Chong Yidong.
3d8daefe
MR
13005 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13006 (window-max-delta-1, window-resize, window--resize-siblings)
13007 (window--resize-this-window, adjust-window-trailing-edge)
13008 (split-window, balance-windows-1)
13009 (shrink-window-if-larger-than-buffer):
13010 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13011 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13012
1bc4c3ae
SM
130132011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13014
13015 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13016 in place (bug#9907).
13017 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13018 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13019 (eshell-structure-basic-command, eshell-rewrite-while-command)
13020 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13021 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13022 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13023 (eshell-do-pipelines-synchronously, eshell-eval-command):
13024 Use backquotes and prefer setq to set.
13025 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13026 (eshell-macrop): Use functionp.
c1e2f5fa 13027 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13028
30b65d9c
CY
130292011-10-30 Chong Yidong <cyd@gnu.org>
13030
13031 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13032 instead of set-mark (Bug#9810).
13033
2d197ffb
CY
130342011-10-30 Chong Yidong <cyd@gnu.org>
13035
13036 * window.el (split-window-below, split-window-right): Rename from
13037 split-window-above-each-other and split-window-side-by-side
13038 respectively. All callers changed.
13039 (split-window-sensibly, split-window-sensibly): Use them.
13040 (split-window-keep-point): Doc fix.
13041
13042 * isearch.el: Add isearch-scroll property to split-window-below
13043 and split-window-right.
13044
13045 * follow.el (follow-mode):
13046 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13047 * progmodes/ada-xref.el (ada-gdb-application):
13048 * emulation/vip.el (vip-buffer-in-two-windows):
13049 * image-dired.el (image-dired-dired-with-window-configuration):
13050 * dired-x.el (dired-do-find-marked-files):
13051 * dired.el (dired-pop-to-buffer):
13052 * bs.el (bs--show-with-configuration):
13053 * vc/emerge.el (emerge-setup-windows):
13054 * textmodes/two-column.el (2C-two-columns):
13055 * textmodes/reftex-toc.el (reftex-toc):
13056 * progmodes/gdb-mi.el (gdb-setup-windows):
13057 * progmodes/fortran.el (fortran-window-create):
13058 * net/newst-treeview.el (newsticker--treeview-window-init):
13059 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13060 * emulation/tpu-edt.el (tpu-gold-map):
13061 * emulation/crisp.el (crisp-mode-map):
13062 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13063
38bb2ca8
CY
130642011-10-29 Chong Yidong <cyd@gnu.org>
13065
aa4de341
CY
13066 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13067
e1eb5385
CY
13068 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13069
5d2ece3c
CY
13070 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13071 forged Ispell output (Bug#7904).
13072
38bb2ca8
CY
13073 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13074
d0af9f77
SM
130752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13076
13077 * doc-view.el: Avoid ugly errors about not finding nil.
13078 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13079 (doc-view-dvipdf-program, doc-view-unoconv-program)
13080 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13081 Avoid nil or absolute file name as default value.
13082 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13083
52bedd34
AM
130842011-10-28 Alan Mackenzie <acm@muc.de>
13085
db22a3c2 13086 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13087
7e43cfa5
AM
130882011-10-28 Alan Mackenzie <acm@muc.de>
13089
13090 Amend the handling of c-beginning/end-of-defun in nested declaration
13091 scopes.
13092
52bedd34
AM
13093 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13094 cc-langs.el. Change it to a defcustom.
7e43cfa5 13095
52bedd34
AM
13096 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13097 cc-vars.el.
7e43cfa5 13098
d0af9f77
SM
13099 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13100 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13101
52bedd34 13102 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13103 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13104 (c-widen-to-enclosing-decl-scope): New function.
13105 (c-while-widening-to-decl-block): New macro.
13106 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13107 outward for defun boundaries, and correspondingly change symbol
13108 `respect-enclosure' to `go-outward'.
13109 (c-declaration-limits): Change algorithm to report only the "innermost"
13110 defun's boundaries.
13111
1a2ce9ee
DD
131122011-10-28 Deniz Dogan <deniz@dogan.se>
13113
13114 * net/rcirc.el (rcirc-mode): Use hard newlines.
13115
bc97a826
AM
131162011-10-28 Alan Mackenzie <acm@muc.de>
13117
13118 Amend to indent and fontify macros "which include their own semicolon"
13119 correctly, using the "virtual semicolon" mechanism.
13120
52bedd34 13121 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13122
d0af9f77 13123 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13124 Recode to scan one line at a time rather than having \n and \r
58179cce 13125 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13126 (c-forward-label): Amend for virtual semicolons.
58179cce 13127 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13128
52bedd34
AM
13129 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13130 of the new C macros.
bc97a826 13131
52bedd34 13132 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13133 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13134 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13135 (c-opt-cpp-macro-define): Make into a full language variable.
13136 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13137 AWK Mode (including \n, \r) removed, no longer needed.
13138
d0af9f77
SM
13139 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13140 Invoke c-make-macro-with-semi-re.
bc97a826 13141
52bedd34
AM
13142 * progmodes/cc-vars.el (c-macro-with-semi-re):
13143 (c-macro-names-with-semicolon): New variables.
58179cce 13144 (c-make-macro-with-semi-re): New function.
bc97a826 13145
7a6c0941
SM
131462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13147
13148 * vc/log-edit.el: Fill empty field rather than adding new one.
13149 (log-edit-add-field): New function.
13150 (log-edit-insert-changelog): Use it.
13151
b0c4cdcf
ML
131522011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13153
13154 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13155
ee1f1da9
SM
131562011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13157
13158 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13159 (gdb--check-interpreter): New function.
13160 (gdb): Use it.
13161
51bc5f8b
GM
131622011-10-27 Glenn Morris <rgm@gnu.org>
13163
416a2c45
GM
13164 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13165 (least-positive-float, least-negative-float)
13166 (least-positive-normalized-float, least-negative-normalized-float)
13167 (float-epsilon, float-negative-epsilon):
13168 Remove unnecessary declarations.
13169
13170 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13171 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13172 (least-positive-float, least-negative-float)
13173 (least-positive-normalized-float, least-negative-normalized-float)
13174 (float-epsilon, float-negative-epsilon): Add doc-strings,
13175 based on those in cl.texi.
13176
51bc5f8b
GM
13177 * files.el (set-visited-file-name): If the major-mode changed,
13178 reload the local variables. (Bug#9796)
13179
15de15c6
CY
131802011-10-27 Chong Yidong <cyd@gnu.org>
13181
13182 * subr.el (change-major-mode-after-body-hook): New hook.
13183 (run-mode-hooks): Run it.
13184
ee1f1da9
SM
13185 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13186 Use change-major-mode-before-body-hook.
15de15c6
CY
13187
13188 * simple.el (fundamental-mode):
13189 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13190 change introducing fundamental-mode-hook.
13191
5430d399
JB
131922011-10-26 Juanma Barranquero <lekktu@gmail.com>
13193
acc825c5 13194 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13195
ad74a69e
MA
131962011-10-26 Michael Albinus <michael.albinus@gmx.de>
13197
13198 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13199 tramp.el explicitly. (Bug#7583)
ad74a69e 13200
71d4c2a5
SM
132012011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13202
13203 * progmodes/octave-mod.el:
13204 * progmodes/octave-inf.el: Update maintainer.
13205
b1f6fa26
CY
132062011-10-26 Chong Yidong <cyd@gnu.org>
13207
13208 * subr.el (with-wrapper-hook): Rewrite doc.
13209
3f04efd6
MA
132102011-10-25 Michael Albinus <michael.albinus@gmx.de>
13211
13212 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13213 filenames "/method:foo:". (Bug#9793)
3f04efd6 13214
410488d3
SM
132152011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13216
13217 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13218 (bug#9865).
13219
c1ebb47e
GM
132202011-10-24 Glenn Morris <rgm@gnu.org>
13221
13222 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13223
7f5c46c7
MA
132242011-10-24 Michael Albinus <michael.albinus@gmx.de>
13225
13226 * notifications.el: Add the requirement of a running D-Bus session
13227 bus to the Commentary.
13228
db2440b6
JL
132292011-10-24 Juri Linkov <juri@jurta.org>
13230
13231 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13232 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13233 (Bug#9364)
13234
feecf435
JL
132352011-10-24 Juri Linkov <juri@jurta.org>
13236
13237 * info.el (Info-following-node-name-re): Add newline to the list
13238 of allowed characters for leading space. (Bug#9824)
13239
a3839de2
SM
132402011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13241
acc825c5
SM
13242 * progmodes/octave-inf.el (inferior-octave-mode-map):
13243 Fix C-c C-h binding.
a3839de2
SM
13244 * progmodes/octave-mod.el (octave-help): Remove.
13245
09388e76
MA
132462011-10-23 Michael Albinus <michael.albinus@gmx.de>
13247
13248 Sync with Tramp 2.2.3.
13249
13250 * net/tramp-cache.el (top): Pacify byte-compiler using
13251 `init-file-user' and `site-run-file'.
13252
13253 * net/trampver.el: Update release number.
13254
86c60681
CY
132552011-10-23 Chong Yidong <cyd@gnu.org>
13256
13257 * files.el (toggle-read-only): Remove obsolete comment about
13258 version control.
13259
13260 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13261 for toggle-read-only. Note that this hasn't called vc-next-action
13262 since 2008-05-02, though it wasn't documented at the time.
13263
a3839de2
SM
13264 * vc/ediff-init.el (ediff-toggle-read-only-function):
13265 Use toggle-read-only.
86c60681 13266
cd5495ff
AM
132672011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13268
13269 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13270 of c-parse-state.
13271
00b77525 13272 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13273 correct faulty logical expression.
cd5495ff
AM
13274 (c-parse-state-state, c-record-parse-state-state):
13275 (c-replay-parse-state-state): New defvar/defuns.
13276 (c-debug-parse-state): Use new functions.
13277
42ee24ed
MR
132782011-10-22 Martin Rudalics <rudalics@gmx.at>
13279
13280 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 13281 last fix. Use window-in-direction correctly.
42ee24ed 13282
a7dee7e7
CY
132832011-10-21 Chong Yidong <cyd@gnu.org>
13284
13285 * progmodes/idlwave.el (idlwave-mode):
13286 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
13287 require-final-newline; that's done in prog-mode.
13288 Suggested by Stefan Monnier.
a7dee7e7 13289
e07b9a6d
MR
132902011-10-21 Martin Rudalics <rudalics@gmx.at>
13291
13292 * mouse.el (mouse-drag-window-above)
13293 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13294 (mouse-drag-mode-line-1, mouse-drag-header-line)
13295 (mouse-drag-vertical-line-rightward-window): Remove.
13296 (mouse-drag-line): New function.
13297 (mouse-drag-mode-line, mouse-drag-header-line)
13298 (mouse-drag-vertical-line): Call mouse-drag-line.
13299 * window.el (window-at-side-p, windows-at-side): New functions.
13300
7e1361d9
UM
133012011-10-21 Ulrich Mueller <ulm@gentoo.org>
13302
13303 * tar-mode.el (tar-grind-file-mode):
13304 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13305
30fcaf3a
CY
133062011-10-21 Chong Yidong <cyd@gnu.org>
13307
13308 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13309 * progmodes/vera-mode.el (vera-mode):
13310 Use mode-require-final-newline.
30fcaf3a 13311
516eddb0
GM
133122011-10-20 Glenn Morris <rgm@gnu.org>
13313
db22a3c2 13314 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13315
10d5f513
CS
133162011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13317
13318 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13319
ac6c8639
CY
133202011-10-20 Chong Yidong <cyd@gnu.org>
13321
13322 * emulation/cua-base.el (cua-mode):
13323 * mail/footnote.el (footnote-mode):
13324 * mail/mailabbrev.el (mail-abbrevs-mode):
13325 * net/xesam.el (xesam-minor-mode):
13326 * progmodes/bug-reference.el (bug-reference-mode):
13327 * progmodes/cap-words.el (capitalized-words-mode):
13328 * progmodes/compile.el (compilation-minor-mode)
13329 (compilation-shell-minor-mode):
13330 * progmodes/gud.el (gud-tooltip-mode):
13331 * progmodes/hideif.el (hide-ifdef-mode):
13332 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13333 * progmodes/subword.el (subword-mode):
13334 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13335 * progmodes/which-func.el (which-function-mode):
13336 * term/tvi970.el (tvi970-set-keypad-mode):
13337 * term/vt100.el (vt100-wide-mode):
13338 * textmodes/flyspell.el (flyspell-mode):
13339 * textmodes/ispell.el (ispell-minor-mode):
13340 * textmodes/nroff-mode.el (nroff-electric-mode):
13341 * textmodes/paragraphs.el (use-hard-newlines):
13342 * textmodes/refill.el (refill-mode):
13343 * textmodes/reftex.el (reftex-mode):
13344 * textmodes/rst.el (rst-minor-mode):
13345 * textmodes/sgml-mode.el (html-autoview-mode)
13346 (sgml-electric-tag-pair-mode):
13347 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13348 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13349 * emulation/crisp.el (crisp-mode):
13350 * emacs-lisp/eldoc.el (eldoc-mode):
13351 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13352 minor mode behavior.
13353
aa42ab43
JL
133542011-10-19 Juri Linkov <juri@jurta.org>
13355
13356 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13357 the list of hard-coded chars with escape-glyph face.
13358
89400f1d
SM
133592011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13360
13361 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13362
305c07f6
MA
133632011-10-19 Michael Albinus <michael.albinus@gmx.de>
13364
13365 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13366 running process.
13367
13754b54
GM
133682011-10-19 Glenn Morris <rgm@gnu.org>
13369
13370 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13371 Ignore ignored files. (Bug#9726)
13372
06e21633
CY
133732011-10-19 Chong Yidong <cyd@gnu.org>
13374
13375 Doc fix for minor modes, stating that an omitted argument enables
13376 the mode unconditionally when called from Lisp.
13377
13378 * abbrev.el (abbrev-mode):
13379 * allout.el (allout-mode):
13380 * autoinsert.el (auto-insert-mode):
13381 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13382 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13383 (global-auto-revert-mode):
13384 * battery.el (display-battery-mode):
13385 * composite.el (global-auto-composition-mode)
13386 (auto-composition-mode):
13387 * delsel.el (delete-selection-mode):
13388 * desktop.el (desktop-save-mode):
13389 * dired-x.el (dired-omit-mode):
13390 * dirtrack.el (dirtrack-mode):
13391 * doc-view.el (doc-view-minor-mode):
13392 * double.el (double-mode):
13393 * electric.el (electric-indent-mode, electric-pair-mode):
13394 * emacs-lock.el (emacs-lock-mode):
13395 * epa-hook.el (auto-encryption-mode):
13396 * follow.el (follow-mode):
13397 * font-core.el (font-lock-mode):
13398 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13399 * help.el (temp-buffer-resize-mode):
13400 * hilit-chg.el (highlight-changes-mode)
13401 (highlight-changes-visible-mode):
13402 * hi-lock.el (hi-lock-mode):
13403 * hl-line.el (hl-line-mode, global-hl-line-mode):
13404 * icomplete.el (icomplete-mode):
13405 * ido.el (ido-everywhere):
13406 * image-file.el (auto-image-file-mode):
13407 * image-mode.el (image-minor-mode):
13408 * iswitchb.el (iswitchb-mode):
13409 * jka-cmpr-hook.el (auto-compression-mode):
13410 * linum.el (linum-mode):
13411 * longlines.el (longlines-mode):
13412 * master.el (master-mode):
13413 * mb-depth.el (minibuffer-depth-indicate-mode):
13414 * menu-bar.el (menu-bar-mode):
13415 * minibuf-eldef.el (minibuffer-electric-default-mode):
13416 * mouse-sel.el (mouse-sel-mode):
13417 * msb.el (msb-mode):
13418 * mwheel.el (mouse-wheel-mode):
13419 * outline.el (outline-minor-mode):
13420 * paren.el (show-paren-mode):
13421 * recentf.el (recentf-mode):
13422 * reveal.el (reveal-mode, global-reveal-mode):
13423 * rfn-eshadow.el (file-name-shadow-mode):
13424 * ruler-mode.el (ruler-mode):
13425 * savehist.el (savehist-mode):
13426 * scroll-all.el (scroll-all-mode):
13427 * scroll-bar.el (scroll-bar-mode):
13428 * server.el (server-mode):
13429 * shell.el (shell-dirtrack-mode):
13430 * simple.el (auto-fill-mode, transient-mark-mode)
13431 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13432 (line-number-mode, column-number-mode, size-indication-mode)
13433 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13434 * strokes.el (strokes-mode):
13435 * time.el (display-time-mode):
13436 * t-mouse.el (gpm-mouse-mode):
13437 * tool-bar.el (tool-bar-mode):
13438 * tooltip.el (tooltip-mode):
13439 * type-break.el (type-break-mode-line-message-mode)
13440 (type-break-query-mode):
13441 * view.el (view-mode):
13442 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13443 (global-whitespace-mode, global-whitespace-newline-mode):
13444 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13445
a3839de2
SM
13446 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13447 Fix autogenerated docstring.
06e21633 13448
5214e501
JL
134492011-10-19 Juri Linkov <juri@jurta.org>
13450
13451 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13452 by checking environment variables "DESKTOP_SESSION" and
13453 "XDG_CURRENT_DESKTOP". (Bug#9779)
13454
195f8db9
JL
134552011-10-19 Juri Linkov <juri@jurta.org>
13456
13457 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13458 (browse-url-chromium-program, browse-url-chromium-arguments):
13459 New defcustoms.
13460 (browse-url-default-browser): Check for `browse-url-chromium' and
13461 call `browse-url-chromium-program'.
13462 (browse-url-chromium): New command. (Bug#9779)
13463
343a34ff
JB
134642011-10-18 Juanma Barranquero <lekktu@gmail.com>
13465
13466 * facemenu.el (list-colors-duplicates): On Windows, detect more
13467 duplicates by assuming that only colors matching "^System" are
13468 special "system colors". (Bug#9722)
13469
6978a151
SM
134702011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13471
13472 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13473 to distinguish the author from the committer.
13474
6a80b297
MA
134752011-10-18 Michael Albinus <michael.albinus@gmx.de>
13476
13477 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13478
b31a5677
JK
134792011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13480
13481 * international/mule.el (sgml-html-meta-auto-coding-function):
13482 Add support for detecting encoding in HTML5 specified only as
13483 <meta charset="UTF-8">. Implementation just makes http-equiv and
13484 content-type parts from HTML4 encoding string optional. (Bug#9716)
13485
80c6d77f
GM
134862011-10-18 Glenn Morris <rgm@gnu.org>
13487
13488 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13489
08b0fee8
CY
134902011-10-18 Chong Yidong <cyd@gnu.org>
13491
13492 * faces.el (cursor): Doc fix.
13493
67e729a5
CY
134942011-10-17 Chong Yidong <cyd@gnu.org>
13495
13496 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13497
343a34ff 134982011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13499
13500 * dirtrack.el (dirtrack): Support shell buffers with path
13501 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13502
0bc06380
TZ
135032011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13504
13505 * json.el: Bump version to 1.3 and note change in History.
13506 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13507
8b79f3e0
SM
135082011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13509
5a7c536b
SM
13510 * comint.el (comint-insert-input, comint-send-input)
13511 (comint-get-old-input-default, comint-backward-matching-input)
13512 (comint-next-prompt): Use nil instead of `input' for field property of
13513 past user input (bug#114).
13514
96a8a0df
SM
13515 * minibuffer.el (completion--replace): Inherit surrounding properties
13516 (bug#114).
13517 (minibuffer-complete-and-exit): Use it.
13518
8b79f3e0
SM
13519 * comint.el (comint--table-subvert): Quote the all-completions output
13520 (bug#9160).
13521
b8f7ff0d
MR
135222011-10-17 Martin Rudalics <rudalics@gmx.at>
13523
8b79f3e0 13524 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13525
b8f7ff0d 13526 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13527 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13528 entries and separate them from frame entries.
13529
c235b555
GM
135302011-10-15 Glenn Morris <rgm@gnu.org>
13531
13532 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13533 Doc fixes.
13534
6bbfa6e1
CY
135352011-10-15 Chong Yidong <cyd@stupidchicken.com>
13536
8b79f3e0
SM
13537 * net/network-stream.el (network-stream-open-starttls):
13538 Improve detection of failure due to lack of TLS support.
ec5c990d 13539
6bbfa6e1
CY
13540 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13541 putting the input text in front and in bold.
13542
98488977
SM
135432011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13544
3d1337be
SM
13545 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13546
ee0b45e4
SM
13547 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13548 empty buffer.
13549
98488977
SM
13550 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13551 unread-command-events rather than pushing yet-another event.
13552
186f4720
EZ
135532011-10-14 Eli Zaretskii <eliz@gnu.org>
13554
13555 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13556 the explanation of the possible choices. Make the options passed
13557 to completing-read shorter.
13558
8b7a997c
AM
135592011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13560
13561 * textmodes/flyspell.el (flyspell-large-region): Make sure
13562 extended character mode is used if defined (Bug#1339).
13563
12587bbb
EZ
135642011-10-13 Eli Zaretskii <eliz@gnu.org>
13565
13566 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13567 character info for LRE, LRO, RLE, and RLO characters by appending
13568 an invisible PDF.
12587bbb 13569
bad41229
SM
135702011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13571
13572 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13573 even in case of error; add debug spec; simplify data flow.
13574 (with-timeout-handler): Remove.
13575
28dbc92f
MA
135762011-10-12 Michael Albinus <michael.albinus@gmx.de>
13577
13578 Fix Bug#6019, Bug#9315.
13579
13580 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13581 complete `buffer-file-name', the local file name part could look
13582 remotely (for example on VMS).
13583
13584 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13585 `tramp-run-real-handler'.
13586 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13587 already quoted by '"'.
13588
13589 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13590 Let `file-name-handler-alist' be nil, the local file name part
13591 could look remotely (for example on VMS).
13592
e1b0b23a
SM
135932011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13594
13595 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13596 from here...
13597 (flyspell-post-command-hook): ...to here.
13598
a120bde9
SM
135992011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13600
13601 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13602 if not needed.
13603 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13604 using completion. Protect against "slow" callers.
13605 Remove the "message hack".
13606
7ce7717b
JL
136072011-10-11 Juri Linkov <juri@jurta.org>
13608
13609 * isearch.el (isearch-lazy-highlight-word): New variable.
13610 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13611 Use it. (Bug#9727)
13612
c02ee9d6
GM
136132011-10-11 Glenn Morris <rgm@gnu.org>
13614
13615 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13616 like f90-previous-statement does.
13617
93e616fd 136182011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13619
1f190e73 13620 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13621 only in interactive use, to avoid error.
13622
af7b6078
SM
136232011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13624
13625 * minibuffer.el (completion-file-name-table): Fix last change,
13626 i.e. ignore normal errors but not the other ones.
13627
0563dae9
MR
136282011-10-10 Martin Rudalics <rudalics@gmx.at>
13629
13630 * window.el (special-display-buffer-names)
13631 (special-display-regexps): Remove some remnants of earlier
13632 changes from doc-strings.
366ca7f3
MR
13633 (quit-windows-on): New function.
13634
13635 * vc/vc.el (vc-revert, vc-rollback):
13636 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13637 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13638 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13639
49677495
MR
136402011-10-09 Martin Rudalics <rudalics@gmx.at>
13641
13642 * window.el (frame-auto-hide-function): Add version tag.
13643 (Bug#9699)
13644
56f2d1e1
MA
136452011-10-09 Michael Albinus <michael.albinus@gmx.de>
13646
13647 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13648 condition.
13649
112a6592
LL
136502011-10-09 Leo Liu <sdl.web@gmail.com>
13651
13652 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13653 (Bug#9701)
13654
0812589b
GM
136552011-10-08 Glenn Morris <rgm@gnu.org>
13656
13657 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13658 before the first code statement zero indent. (Bug#9690)
13659
b2b0776e
CY
136602011-10-08 Chong Yidong <cyd@stupidchicken.com>
13661
13662 * simple.el (count-words-region): Always count in the region.
13663 Report the number of lines and characters too.
13664 (count-words): New command, which counts in the buffer if the
13665 region is inactive, as count-words-region used to.
13666 (count-words--message): New function. Handle plurals.
13667 (count-lines-region): Make it an alias for count-words-region.
13668
13669 * bindings.el (esc-map): Replace count-lines-region with
13670 count-words-region.
13671
c557cd6b
MR
136722011-10-08 Martin Rudalics <rudalics@gmx.at>
13673
13674 * window.el (window--delete): Delete dedicated frame
13675 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13676 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13677
61a57ef4 136782011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13679
3a7d293b 13680 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13681
c3833279
CY
136822011-10-07 Chong Yidong <cyd@stupidchicken.com>
13683
13684 * bindings.el ([M-left],[M-right]): Bind to left-word and
13685 right-word respectively.
13686
21ce8245
GM
136872011-10-07 Glenn Morris <rgm@gnu.org>
13688
13689 * cus-start.el (debug-on-quit): Fix custom type.
13690
6d823bb2
LMI
136912011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13692
0181e193
LMI
13693 * subr.el (define-key-after): Clarify that the function is not
13694 useful for non-menu keymaps.
13695
6d823bb2
LMI
13696 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13697
8e3459ce 136982011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13699
21ce8245 13700 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13701 in current minibuffer (Fix bug with recursive minibuffers).
13702
a1c2d21e
CY
137032011-10-06 Chong Yidong <cyd@stupidchicken.com>
13704
13705 * progmodes/gdb-mi.el (gdb): Doc fix.
13706
5a4cf282
MR
137072011-10-05 Martin Rudalics <rudalics@gmx.at>
13708
13709 * window.el (frame-auto-hide-function): New option replacing
13710 frame-auto-delete. Suggested by Stefan Monnier.
13711 (window--delete): Call frame-auto-hide-function instead of
13712 investigating frame-auto-delete.
c96111ea
MR
13713 (window-point-1, set-window-point-1): New functions.
13714 (window-in-direction, record-window-buffer, window-state-get-1)
13715 (display-buffer-record-window): Use window-point-1 instead of
13716 window-point.
13717 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13718
9854542e
SM
137192011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13720
13721 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13722
8943cfb0
GM
137232011-10-05 Glenn Morris <rgm@gnu.org>
13724
13725 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13726 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13727
647ab967
LL
137282011-10-05 Leo Liu <sdl.web@gmail.com>
13729
13730 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13731 works with buffer object.
13732
3ddfbced
SM
137332011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13734
13735 * mpc.el (mpc-tool-bar-map): Add labels.
13736
bdfa5dd2
GM
137372011-10-04 Glenn Morris <rgm@gnu.org>
13738
13739 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13740
0e2070b5
MR
137412011-10-04 Martin Rudalics <rudalics@gmx.at>
13742
13743 * window.el (window--delete): New function.
13744 (frame-auto-delete): Resuscitate option.
13745 (bury-buffer, replace-buffer-in-windows)
13746 (quit-window): Rewrite using window--delete.
13747 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13748 Pass display-buffer-mark-dedicated to window--display-buffer-2
13749 (Bug#9639).
13750
3dc61a09
SM
137512011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13752
915a9b64
SM
13753 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13754 returns a list (bug#9554). Add remote file name completion.
13755 * comint.el (comint--table-subvert): Curry and get quote&unquote
13756 functions as arguments.
13757 (comint--complete-file-name-data): Adjust call accordingly.
13758 * pcomplete.el (pcomplete--table-subvert): Remove.
13759 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13760
3dc61a09
SM
13761 * minibuffer.el (completion-table-case-fold): Use currying.
13762 (completion--styles-type, completion--cycling-threshold-type):
13763 New constants.
13764 (completion-styles, completion-category-overrides)
13765 (completion-cycle-threshold): Use them.
13766 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13767 completion-table-case-fold.
13768
8ea0a993
SB
137692011-10-03 Stephen Berman <stephen.berman@gmx.net>
13770
13771 * minibuffer.el (completion-category-overrides): Fix type of styles
13772 and add more user friendly tags (bug#9660).
13773
8c24b7f6
SM
137742011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13775
13776 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13777 (mule-input-method-string): New widget.
13778 (default-input-method, language-info-custom-alist): Use it.
13779
428fe61a
SM
137802011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13781
32c1fffd
SM
13782 * pcomplete.el: Require comint.
13783 (pcomplete--common-suffix): Remove.
13784 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13785 (pcomplete--table-subvert): Sync with comint--table-subvert.
13786 (pcomplete--entries): Use comint-completion-file-name-table.
13787 * comint.el (comint-unquote-filename): Simplify.
13788 (comint-completion-file-name-table): New function (bug#9616).
13789 (comint--complete-file-name-data): Use it.
13790
428fe61a
SM
13791 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13792 (pcmpl-gnu-tar-buffer): Remove.
13793 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13794 around. Make sure pcomplete-suffix-list is only changed temporarily.
13795 Don't look inside the tar's file if it's too large.
428fe61a 13796
04c52e2f
CY
137972011-10-01 Chong Yidong <cyd@stupidchicken.com>
13798
ce3cefcc
CY
13799 * cus-edit.el (custom-mode-map):
13800 * epa.el (epa-key-list-mode-map):
13801 * man.el (Man-mode-map):
13802 * startup.el (splash-screen-keymap):
13803 * simple.el (special-mode-map): Use scroll-up-command and
13804 scroll-down-command.
13805
13806 * progmodes/idlw-help.el (idlwave-help-mode-map):
13807 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13808 * net/newst-plainview.el (newsticker-mode-map):
13809 * emulation/ws-mode.el (wordstar-mode-map):
13810 * emulation/vi.el (vi-com-map):
13811 * calc/calc-graph.el (calc-graph-show-dumb):
13812 * term/sun.el (terminal-init-sun):
13813 * term/ns-win.el (global-map):
13814 * progmodes/grep.el (grep-mode-map):
13815 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13816 * mail/rmail.el (rmail-mode-map):
13817 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13818
04c52e2f
CY
13819 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13820 custom-safe-themes as special.
13821
79adf8c8
JD
138222011-10-01 Julien Danjou <julien@danjou.info>
13823
13824 * notifications.el (notifications-notify): Fix docstring.
13825
63bd50d3
PS
138262011-10-01 Per Starbäck <per@starback.se>
13827
13828 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13829
199e4c7e
MR
138302011-09-30 Martin Rudalics <rudalics@gmx.at>
13831
13832 * startup.el (command-line-1): Fix last fix by inserting
13833 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13834 (Bug#9605) and (Bug#9636)
199e4c7e 13835
fe5f08dd
EZ
138362011-09-29 Eli Zaretskii <eliz@gnu.org>
13837
13838 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13839 window is hscrolled, move by logical lines. (Bug#9607)
13840 (line-move-visual): Update the doc string to the above effect.
13841
b5516bbd
MR
138422011-09-29 Martin Rudalics <rudalics@gmx.at>
13843
ccee00c0
MR
13844 * window.el (display-buffer-record-window): When WINDOW is the
13845 selected window use `point' instead of `window-point'. (Bug#9626)
13846
b5516bbd
MR
13847 * startup.el (command-line-1): Use insert-before-markers when
13848 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13849
b5516bbd
MR
13850 * help.el (help-window): Remove variable.
13851
52aa0014
GM
138522011-09-29 Glenn Morris <rgm@gnu.org>
13853
13854 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13855
df9a7357
JB
138562011-09-29 Juanma Barranquero <lekktu@gmail.com>
13857
13858 * descr-text.el (describe-char-categories): Accept category
13859 descriptions more than one line long.
13860
a8406c20
SM
138612011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13862
88d9610c
SM
13863 * simple.el (delete-trailing-whitespace): Fix last change.
13864
a5daf810
SM
13865 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13866 Don't confuse "y => 3" as the beginning of a `y' operation.
13867
a8406c20
SM
13868 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13869 object has more than 4 slots (bug#9613).
13870
a239d4e9
JB
138712011-09-28 Juanma Barranquero <lekktu@gmail.com>
13872
13873 * subr.el (with-output-to-temp-buffer):
13874 * net/quickurl.el (quickurl, quickurl-browse-url):
13875 Fix typos in docstrings.
13876
693fbdb6
EZ
138772011-09-27 Eli Zaretskii <eliz@gnu.org>
13878
13879 * minibuffer.el (completion-styles)
13880 (completion-category-overrides): Cross reference each other in doc
13881 strings.
13882
8b457e28
GM
138832011-09-27 Glenn Morris <rgm@gnu.org>
13884
13885 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13886 to split-string. (Bug#9606)
13887
85a16208
LMI
138882011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13889
13890 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13891 (bug#9615).
13892
502f9ebd
CY
138932011-09-27 Chong Yidong <cyd@stupidchicken.com>
13894
13895 * emacs-lisp/package.el (list-packages): Fix echo area message.
13896
7690bdea
LL
138972011-09-27 Leo Liu <sdl.web@gmail.com>
13898
13899 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13900
e2ee6f30
MA
139012011-09-25 Michael Albinus <michael.albinus@gmx.de>
13902
13903 * net/dbus.el (dbus-unregister-object): Don't release services for
13904 registered signals. (Bug#9581)
13905
f3f98342
TZ
139062011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13907
13908 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13909 function that picks between cfengine 2 and 3 support
13910 automatically. Update docs accordingly.
13911
dd7aa8dd
KH
139122011-09-22 Kenichi Handa <handa@m17n.org>
13913
13914 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13915 ZERO.
13916 (indian-itrans-v5-table-for-tamil): New variable.
13917 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13918
3f2b07f8
KM
139192011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13920
13921 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13922 that's true if the current command involved collapsing of text.
13923 It's reset to false at the beginning of the next command.
13924 (allout-post-command-business): Move the cursor to the beginning
13925 of entry if the cursor is hidden and collapsing activity just
13926 happened.
13927
371d6a61
CY
139282011-09-24 Chong Yidong <cyd@stupidchicken.com>
13929
13930 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13931 tracking (Bug#9541).
13932
2ac2721a
UJ
139332011-09-24 Ulf Jasper <ulf.jasper@web.de>
13934
13935 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13936 (newsticker-show-news): Automatically load html rendering package
13937 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13938 because w3m-fill-column is let-bound" and the error "Symbol's value
13939 as variable is void: w3m-fill-column".
2ac2721a 13940
fac7ae53
MA
139412011-09-24 Michael Albinus <michael.albinus@gmx.de>
13942
13943 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13944 Release services only if they are defined. (Bug#9581)
13945
e08b633b
RS
139462011-09-23 Richard Stallman <rms@gnu.org>
13947
e488d29c
RS
13948 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13949 distinguish start of paragraph from start of its text.
13950
19c38752
RS
13951 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13952
e08b633b
RS
13953 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13954 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13955 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13956
0a39f27e
AS
139572011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13958
13959 * international/mule-diag.el (mule-diag): Insert a newline after
13960 each fontset description.
13961
db4e950d
SM
139622011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13963
13964 * simple.el (delete-trailing-whitespace):
13965 Document last change; simplify.
13966
eca3f3ea
PW
139672011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13968
d68e189a
PW
13969 * simple.el (delete-trailing-whitespace): Also delete
13970 extra newlines at the end of the buffer.
13971
eca3f3ea
PW
13972 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13973 (picture-newline): Use forward-line so as to ignore fields.
13974
01c157cc
SM
139752011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13976
13977 * subr.el (with-wrapper-hook): Fix edebug spec.
13978
022de23e
LMI
139792011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13980
13981 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13982 (bug#4538).
13983
91683089
MA
139842011-09-23 Michael Albinus <michael.albinus@gmx.de>
13985
eca3f3ea
PW
13986 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13987 Fix nasty bug using wrong cached values.
91683089 13988
5bdd6fa4
AM
139892011-09-23 Alan Mackenzie <acm@muc.de>
13990
13991 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13992
97adfb97
CY
139932011-09-23 Chong Yidong <cyd@stupidchicken.com>
13994
13995 * window.el (pop-to-buffer): Ensure right window is selected if we
13996 chose another frame.
13997
d4ef2b50
EZ
139982011-09-22 Eli Zaretskii <eliz@gnu.org>
13999
14000 * simple.el (what-cursor-position): Use get-char-property-change
14001 and next-single-char-property-change, to be able to show display
14002 properties that come from overlays as well as text properties.
14003
72258fe5
CY
140042011-09-22 Chong Yidong <cyd@stupidchicken.com>
14005
14006 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14007
14008 * cmuscheme.el (run-scheme, switch-to-scheme):
14009 * cus-edit.el (customize-group, custom-buffer-create)
14010 (customize-browse):
14011 * info.el (info):
14012 * shell.el (shell):
14013 * mail/sendmail.el (mail):
14014 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14015
8f098516
RS
140162011-09-22 Richard Stallman <rms@gnu.org>
14017
14018 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14019 move back only to line beg, don't move back over blank lines.
14020
e74f1bb6
MA
140212011-09-22 Michael Albinus <michael.albinus@gmx.de>
14022
14023 * files.el (copy-directory): Set directory attributes only in case
14024 they could be retrieved from the source directory. (Bug#9565)
14025
bfeef8b6
DK
140262011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14027
14028 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14029 (hs-find-block-beginning, hs-hide-level-recursive):
14030 Ignore strings as well as comments. (Bug#9502)
14031
7e423bb8
AS
140322011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14033
14034 * progmodes/sql.el (sql-comint-postgres):
14035 Convert port number to a string. (Bug#9566)
14036
b4d72fcf
MR
140372011-09-22 Martin Rudalics <rudalics@gmx.at>
14038
14039 * window.el (quit-window): Undedicate window when switching to
14040 previous buffer. Reported by Thierry Volpiatto
14041 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14042 (special-display-popup-frame): When popping up a new frame reset
14043 its previous buffers to nil. Simplify code.
b4d72fcf 14044
a7b88dc6
MA
140452011-09-21 Michael Albinus <michael.albinus@gmx.de>
14046
14047 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14048 and process filter, as done also in `shell-command'.
14049
cf4eacfd
MR
140502011-09-21 Martin Rudalics <rudalics@gmx.at>
14051
eca3f3ea 14052 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14053 Call set-window-start with NOFORCE argument t.
14054 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14055 (quit-window): Reword doc-string. Handle new format of
14056 quit-restore parameter. Don't delete window if it has a
14057 previous buffer we can show instead of the present one.
14058 (display-buffer-record-window): Rewrite using a new format for
14059 the quit-restore window parameter
14060 (special-display-popup-frame, display-buffer-same-window)
14061 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14062 (display-buffer-pop-up-window, display-buffer-use-some-window):
14063 Adapt symbol passed to display-buffer-record-window.
14064 * help.el (help-window-setup): Handle new format of quit-restore
14065 parameter.
14066
8d28cb95
SM
140672011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14068
94ab793f
SM
14069 * faces.el (face-list): Fix docstring (bug#9564).
14070
8d28cb95
SM
14071 * window.el (display-buffer--action-function-custom-type):
14072 Don't include internal functions in the Custom interface.
14073
3820edeb
JL
140742011-09-20 Juri Linkov <juri@jurta.org>
14075
14076 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14077 (Info-forward-node, Info-backward-node, Info-next-preorder)
14078 (Info-last-preorder): Use it. (Bug#9528)
14079
5147931d
JL
140802011-09-20 Juri Linkov <juri@jurta.org>
14081
14082 * info.el (Info-last-preorder): Visit last menu item only when
14083 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14084
cf499a1a
JD
140852011-09-20 Julien Danjou <julien@danjou.info>
14086
14087 * password-cache.el (password-cache-remove): Remove entries even if the
14088 value is nil, so that password with a nil value (negative caching) is
14089 possible to invalidate.
14090
f84e2fe2
LM
140912011-09-20 Lawrence Mitchell <wence@gmx.li>
14092
14093 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14094 all whitespace around breakpoint. (Bug#9553)
14095 (f90-find-breakpoint): Only break at whitespace inside a comment.
14096
78054a46
SM
140972011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14098
14099 * minibuffer.el (completion-file-name-table): Keep track of errors.
14100 (completion-table-with-predicate): Handle the case where pred1 is nil.
14101 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14102
345083b2
SM
141032011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14104
e24e27be
SM
14105 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14106 (debugger-return-value): Signal an error if the debugging context does
14107 not await any return value.
14108
345083b2
SM
14109 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14110 * image-mode.el (image-toggle-display-text)
14111 (image-toggle-display-image): Stay away from evil `intangible'.
14112
08d355e3
LL
141132011-09-19 Leo Liu <sdl.web@gmail.com>
14114
14115 * replace.el (occur-revert-arguments): Make it permanent-local.
14116 (occur-mode): Don't call font-lock-defontify.
14117
f01da43f
CY
141182011-09-19 Chong Yidong <cyd@stupidchicken.com>
14119
14120 * net/ldap.el (ldap-search-internal): Don't push empty search
14121 result (Bug#9508).
14122
b6072fa6
SM
141232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14124
14125 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14126
443d6696
MA
141272011-09-19 Michael Albinus <michael.albinus@gmx.de>
14128
14129 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14130 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14131
7cc6e154
JL
141322011-09-18 Juri Linkov <juri@jurta.org>
14133
14134 * buff-menu.el (Buffer-menu-mode-map):
14135 * dired.el (dired-mode-map):
14136 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14137 (lisp-interaction-mode-map):
14138 * emacs-lisp/package.el (package-menu-mode-map):
14139 * epa.el (epa-key-list-mode-map):
14140 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14141 (menu-bar-options-menu):
14142 * outline.el (outline-mode-menu-bar-map):
14143 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14144 * vc/vc-dir.el (vc-dir-menu-map):
14145 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14146 Capitalize non-function content words in menu item strings.
14147
14148 * dired.el (dired-mode-map): Add menu item for
14149 `image-dired-dired-toggle-marked-thumbs'.
14150
80302a81
JL
141512011-09-18 Juri Linkov <juri@jurta.org>
14152
14153 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14154 to `isearch-case-fold-search' and restore its original value
14155 after the `isearch-mode' call.
14156
46c5cf66
JL
141572011-09-18 Juri Linkov <juri@jurta.org>
14158
14159 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14160 because `zgrep' returns 1 for successful matches (bug#9226).
14161
d18b513b
JL
141622011-09-18 Juri Linkov <juri@jurta.org>
14163
14164 * info.el (Info-extract-menu-node-name): Check the second match
14165 for empty string (second test-case of bug#9528).
14166 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14167 intermediate nodes to the history (first test-case of bug#9528).
14168
72753f87
JL
141692011-09-18 Juri Linkov <juri@jurta.org>
14170
14171 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14172 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14173
c9384295
JL
141742011-09-18 Juri Linkov <juri@jurta.org>
14175
1154d12e
JB
14176 * info.el (Info-file-supports-index-cookies):
14177 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14178 outputs one more line for long file names (bug#4142).
c9384295 14179
d473dce8
CY
141802011-09-18 Chong Yidong <cyd@stupidchicken.com>
14181
14182 * newcomment.el (comment-normalize-vars): If prompting for
14183 comment-start, set comment-start-skip too (Bug#8424).
14184
2176854d
JB
141852011-09-18 Johan Bockgård <bojohan@gnu.org>
14186
14187 * icomplete.el: Fix previous fix of Bug#5849.
14188 (icomplete-mode): Don't set completion-show-inline-help.
14189 (icomplete-minibuffer-setup): Set completion-show-inline-help
14190 locally during icompletion.
14191
3aace4e4
CY
141922011-09-18 Chong Yidong <cyd@stupidchicken.com>
14193
c940224f
CY
14194 * woman.el (woman2-process-escapes): Don't delete unrecognized
14195 escapes (Bug#7843).
14196
3aace4e4
CY
14197 * files.el (inhibit-first-line-modes-regexps): Add image files.
14198 (hack-local-variables-prop-line): Return nil for malformed
14199 prop-lines (Bug#9044).
14200
710dec63
MA
142012011-09-18 Michael Albinus <michael.albinus@gmx.de>
14202
14203 * net/tramp.el (top): Don't require 'shell.
14204 (tramp-methods): Fix docstring.
14205 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14206 Return complete remote file name. Handle "smb" case.
14207 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14208 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14209
14210 * net/tramp-compat.el (top): Require 'shell.
14211
14212 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14213 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14214 `tramp-current-host'.
14215 (tramp-get-remote-tmpdir): Remove.
14216
14217 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14218 `tramp-tmpdir' entries.
14219 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14220 (tramp-smb-handle-file-attributes): Ignore errors.
14221 (tramp-smb-wait-for-output): Check also for process end.
14222
5d5ac8ec
LMI
142232011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14224
14225 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14226 when sending QUIT (bug#9312).
14227
8c0f49f0
CY
142282011-09-17 Chong Yidong <cyd@stupidchicken.com>
14229
14230 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14231 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14232 occur-mode-display-occurrence.
14233 (occur-edit-mode): Add usage message.
14234 (occur-cease-edit): New command.
14235 (occur-after-change-function): Use text properties to find the
14236 position of the prefix text.
14237 (occur-engine): Set stickiness of prefix text properties.
14238
8f1383f7
GM
142392011-09-17 Glenn Morris <rgm@gnu.org>
14240
14241 * progmodes/etags.el (complete-tag):
14242 Fix call to completion-in-region. (Bug#9526)
14243
744ba0e3
JL
142442011-09-17 Juri Linkov <juri@jurta.org>
14245
14246 * textmodes/ispell.el (ispell-word): Add to the error message
14247 the word, ispell program name and current dictionary (bug#9121).
14248 (ispell-tex-arg-end): Capitalize "error" in the error message.
14249
d9bbf400
AS
142502011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14251
14252 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14253 check. (Bug#4251)
14254
8da11505
JL
142552011-09-17 Juri Linkov <juri@jurta.org>
14256
14257 * window.el (window-safe-min-height, window-safe-min-width):
14258 Fix typos (followup to bug#9522).
14259
a91adc7e
SJ
142602011-09-17 Sven Joachim <svenjoac@gmx.de>
14261
14262 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14263
064f328a
EZ
142642011-09-16 Eli Zaretskii <eliz@gnu.org>
14265
14266 * simple.el (line-move): If goal-column is set, move by logical
14267 lines, not by display lines. (Bug#971)
14268 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14269 to reflect the above change.
14270
e69df516
SM
142712011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14272
14273 * image.el (imagemagick-register-types): Use regexp-opt.
14274
cbb0f9ab
CY
142752011-09-15 Chong Yidong <cyd@stupidchicken.com>
14276
14277 * window.el (display-buffer-base-action): Rename from
14278 display-buffer-default-action. Make default value empty.
14279 (display-buffer-overriding-action): Convert to defvar.
14280 (display-buffer-fallback-action): New var.
14281
25322144
CY
142822011-09-15 Chong Yidong <cyd@stupidchicken.com>
14283
14284 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14285 declaration.
14286 (package--add-to-archive-contents): If there is a duplicate entry
14287 with an older version, remove it.
14288 (package-menu-mark-delete, package-menu-mark-install)
14289 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
14290 (package-menu-mark-obsolete-for-deletion):
14291 Use package-menu-get-status instead of a regexp search.
25322144
CY
14292 (package-menu-get-status): Use tabulated-list-entry.
14293 (package-menu-mark-upgrades): New command.
d770725a 14294 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
14295 (package-menu-execute): Do installation before deletion.
14296 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14297 instead of checking major-mode.
14298 (package-menu--find-upgrades): New function.
14299
7520339c
LMI
143002011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14301
14302 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14303 passwords in the log buffer.
65a046c4
LMI
14304 (smtpmail-process-filter): Update the process marker so that the
14305 "broken by peer" status message is inserted in the right place.
7520339c 14306
d3c30954
SM
143072011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14308
3fe48822
SM
14309 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14310 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14311 bibtex-completion-at-point-function.
14312 (bibtex-completion-at-point-function): Use them.
14313
1b8b3954
SM
14314 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14315
d3c30954
SM
14316 * mpc.el (mpc-constraints-tag-lookup): New function.
14317 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14318 also to browser "album|playlist".
14319
72779976
JL
143202011-09-14 Juri Linkov <juri@jurta.org>
14321
14322 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14323 (isearch-edit-string): Use length of `isearch-string' when
14324 `isearch-fail-pos' returns nil.
14325 (isearch-message): Remove duplicate code and call
14326 `isearch-fail-pos' with arg `t'.
14327
a0bf2bcd
CY
143282011-09-14 Chong Yidong <cyd@stupidchicken.com>
14329
17bb0a2d
CY
14330 * replace.el (occur-mode-goto-occurrence): Don't force using other
14331 window (Bug#9499).
14332
a0bf2bcd
CY
14333 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14334
f678e0b6
MR
143352011-09-14 Martin Rudalics <rudalics@gmx.at>
14336
14337 * window.el (display-buffer-window): Remove.
14338 (display-buffer-record-window): Use help-setup window parameter
14339 instead of variable display-buffer-window.
14340 (display-buffer-function, special-display-buffer-names)
14341 (special-display-function): Mention help-setup parameter instead
14342 of display-buffer-window in doc-string.
d3c30954
SM
14343 * help.el (help-window-setup): New argument help-window.
14344 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14345 Reword some messages.
14346 (with-help-window): Pass window used for displaying the buffer
14347 to help-window-setup. Don't set display-buffer-window.
14348
8e39b2e8
GM
143492011-09-13 Glenn Morris <rgm@gnu.org>
14350
14351 * emacs-lisp/debug.el (debugger-make-xrefs):
14352 Preserve point. (Bug#9462)
14353
85e9c04b
CY
143542011-09-13 Chong Yidong <cyd@stupidchicken.com>
14355
14356 * window.el (window-deletable-p): Use next-frame.
14357
1b36ed6a
MR
143582011-09-13 Martin Rudalics <rudalics@gmx.at>
14359
14360 * window.el (window-auto-delete): Remove.
14361 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14362 dedication and previous buffers.
1b36ed6a
MR
14363 (switch-to-prev-buffer): Don't delete window.
14364 (delete-windows-on): Delete a window's frame if and only if the
14365 window is dedicated.
14366 (replace-buffer-in-windows): Delete buffer's window or frame if
14367 and only if window is dedicated.
14368 (quit-window): Handle quit-restore as before last change.
4d61f28d 14369 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14370
ef8ef9fb
CY
143712011-09-13 Chong Yidong <cyd@stupidchicken.com>
14372
14373 * window.el (window-deletable-p): Never delete the last frame on a
14374 given terminal.
14375
b2cba41e
GM
143762011-09-13 Glenn Morris <rgm@gnu.org>
14377
14378 * help.el (describe-key-briefly): Copy previous standard-output change.
14379
51553db6 143802011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14381
14382 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14383
b7556719
GM
143842011-09-13 Glenn Morris <rgm@gnu.org>
14385
14386 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14387 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14388
64b51947
CY
143892011-09-12 Chong Yidong <cyd@stupidchicken.com>
14390
14391 * dired-aux.el (dired-mark-read-string): Don't return default
14392 value on empty input (Bug#9361).
14393 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14394 Omit initial minibuffer contents.
14395 (dired-do-chmod): Signal an error on empty input.
14396 (dired-mark-read-string): Don't return default on empty input.
14397
14398 * files.el (file-modes-symbolic-to-number): Doc fix.
14399
393a301e
SM
144002011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14401
14402 * international/mule-cmds.el (ucs-completions): Remove.
14403 (read-char-by-name): Use complete-with-action instead; add metadata.
14404
fa5660f9
CY
144052011-09-11 Chong Yidong <cyd@stupidchicken.com>
14406
14407 * window.el (display-buffer--action-function-custom-type)
14408 (display-buffer--action-custom-type): New vars.
14409 (display-buffer-alist, display-buffer-default-action)
14410 (display-buffer-overriding-action): Add defcustom types.
14411
4a592f66
CY
14412 * frame.el (delete-other-frames): Doc fix (Bug#276).
14413
73d56dbd
LMI
144142011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14415
14416 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14417
37ac18a3
CY
144182011-09-11 Chong Yidong <cyd@stupidchicken.com>
14419
14420 Change modes that used same-window-* vars to use switch-to-buffer.
14421
14422 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14423 Use switch-to-buffer.
14424
14425 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14426 (customize-browse, custom-buffer-create-other-window):
14427 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14428
14429 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14430 (Info-prev, Info-up, Info-speedbar-goto-node)
14431 (info-display-manual): Use switch-to-buffer.
14432 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14433
14434 * mail/sendmail.el (mail): Use switch-to-buffer.
14435 (mail-recover): Use switch-to-buffer-other-window.
14436
14437 * cmuscheme.el (run-scheme, switch-to-scheme):
14438 * ielm.el (ielm):
14439 * shell.el (shell):
14440 * net/rlogin.el (rlogin):
14441 * net/telnet.el (telnet, rsh):
14442 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14443
10195bd6
AS
144442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14445
14446 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14447
b322f63a
LMI
144482011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14449
39d7fed6
LMI
14450 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14451 so don't mention it (bug#9301).
ba5a81f1 14452 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14453
ee0e9f11
LMI
14454 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14455 match `x', `w32' and `ns', like the manual says (bug#9029).
14456
0b1c89c1 14457 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14458 (process-kill-buffer-query-function): Mention the buffer name in
14459 the query.
0b1c89c1 14460
77549ea8
LMI
14461 * image-mode.el (image-next-line): The line parameter is mandatory
14462 (bug#9258).
14463
803ef892
LMI
14464 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14465 which can be useful (bug#9301).
14466
12980837
LMI
14467 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14468
91054f8f
LMI
14469 * subr.el (match-string): Mention that the current buffer should
14470 be the same as the search was done in (bug#9282).
14471
b322f63a
LMI
14472 * facemenu.el: Disable the remove-* commands if the mark isn't
14473 active (bug#9162).
14474
3199b96f
CY
144752011-09-10 Chong Yidong <cyd@stupidchicken.com>
14476
14477 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14478 of display-buffer.
14479 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14480
14481 * replace.el (occur-mode-goto-occurrence)
14482 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14483 and display-buffer.
14484
14485 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14486 display-buffer.
14487
14488 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14489 special-display and same-window variables.
14490 (mail-other-window): Use switch-to-buffer-other-window.
14491 (mail-other-frame): USe switch-to-buffer-other-frame.
14492
393a301e
SM
14493 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14494 Use display-buffer-other-frame.
3199b96f
CY
14495 (gdb-display-gdb-buffer): Use pop-to-buffer.
14496
14497 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14498
14499 * progmodes/python.el: Don't set same-window-buffer-names.
14500
14501 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14502
14503 * window.el (display-buffer-alist): Add *Python*.
14504
8319e0bf
CY
145052011-09-10 Chong Yidong <cyd@stupidchicken.com>
14506
14507 * window.el (display-buffer-alist): Add entry for buffers
14508 previously handled same-window-*.
14509 (display-buffer-alist, display-buffer-default-action)
14510 (display-buffer-overriding-action): Mark as risky.
14511 (display-buffer-alist): Document action function changes.
14512 (display-buffer--same-window-action)
14513 (display-buffer--other-frame-action): New variables.
14514 (switch-to-buffer, display-buffer-other-frame): Use them.
14515 (display-buffer): Rename reuse-frame entry to reusable-frames.
14516 (display-buffer-reuse-selected-window): Function deleted.
14517 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14518 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14519 (display-buffer-special): New function.
14520 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14521 display-buffer-reuse-or-pop-window. Split off special-display
14522 part into display-buffer-special.
14523 (display-buffer-use-some-window): Don't perform any special
14524 pop-up-frames handling.
14525 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14526 (display-buffer--maybe-same-window): Rename from
0d3ff375 14527 display-buffer-maybe-same-window.
8319e0bf 14528
919a69aa
CY
14529 * info.el: Don't set same-window-regexps.
14530 (info-setup): New function.
14531 (info-other-window, info): Call it.
14532
14533 * cus-edit.el: Don't set same-window-regexps.
14534 (customize-group): New argument.
14535 (customize-group-other-window): Use it.
14536 (customize-face, customize-face-other-window): Likewise.
14537 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14538
8319e0bf
CY
14539 * net/rlogin.el:
14540 * net/telnet.el:
14541 * progmodes/gud.el: Don't set same-window-regexps.
14542
14543 * cmuscheme.el:
14544 * ielm.el:
14545 * shell.el:
14546 * mail/sendmail.el:
14547 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14548
25173000
JL
145492011-09-10 Juri Linkov <juri@jurta.org>
14550
14551 * isearch.el (isearch-edit-string): Remove obsolete mention of
14552 `C-w' (`isearch-yank-word-or-char') from docstring.
14553 (isearch-query-replace): Fix typo in docstring (bug#9466).
14554
056e44ef
JL
145552011-09-10 Juri Linkov <juri@jurta.org>
14556
14557 * paren.el (show-paren-function): Don't show escaped parens.
14558 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14559
c3760c17
EZ
145602011-09-10 Eli Zaretskii <eliz@gnu.org>
14561
14562 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14563 (mm-default-file-encoding): Remove autoload forms, they are
14564 replaced with autoload cookies in mml.el and mm-encode.el.
14565 (mail-add-attachment): New command.
14566 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14567 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14568 the doc string.
14569 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14570
fece895e
RT
145712011-09-10 Reuben Thomas <rrt@sc3d.org>
14572
e69df516
SM
14573 * simple.el (count-words-region): Use buffer if there's no region
14574 (bug#9429).
fece895e 14575
5e68ce4a
JL
145762011-09-09 Juri Linkov <juri@jurta.org>
14577
14578 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14579 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14580 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14581
0a6b9622
AM
145822011-09-09 Alan Mackenzie <acm@muc.de>
14583
14584 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14585 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14586
14a29deb
EZ
145872011-09-09 Eli Zaretskii <eliz@gnu.org>
14588
14589 Fix for Savannah bug#9392.
14590 * simple.el (mail-encode-mml): New defvar.
14591
14592 * mail/rmail.el (mail-encode-mml): Add a defvar.
14593 (rmail-enable-mime-composing): Default to t.
14594 (rmail-forward): Use MIME method of forwarding only if both
14595 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14596 Set mail-encode-mml non-nil if the MIME method was used.
14597
14598 * mail/sendmail.el (mml-to-mime): Add autoload form.
14599 (mail-encode-mml): Add a defvar.
14600 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14601 to nil.
14602 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14603 message through mml-to-mime, and reset mail-encode-mml to nil.
14604
28c45130
GM
146052011-09-09 Glenn Morris <rgm@gnu.org>
14606
14607 * woman.el (woman-if-body): When processing an .el block,
14608 do not delete the next .el block as well. (Bug#9447)
69f4b618 14609 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14610
9b1c252e
MR
146112011-09-08 Martin Rudalics <rudalics@gmx.at>
14612
14613 * window.el (window-deletable-p): Make sure window is live before
14614 invoking window-prev-buffers.
14615
567457e3
LL
146162011-09-08 Leo Liu <sdl.web@gmail.com>
14617
14618 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14619
97f05794
JL
146202011-09-08 Juri Linkov <juri@jurta.org>
14621
14622 * progmodes/compile.el (compilation-environment): Make it
14623 a defcustom (bug#8340).
14624
8b0874b5
MR
146252011-09-08 Martin Rudalics <rudalics@gmx.at>
14626
14627 * window.el (frame-auto-delete): Rename to window-auto-delete.
14628 Make it control auto-deletion of windows and/or frames.
14629 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14630 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14631 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14632 Rewrite handling of case when window/frame can be deleted.
14633 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14634 argument t. (Bug#9456)
8b0874b5 14635
4feb6e73
CY
146362011-09-07 Chong Yidong <cyd@stupidchicken.com>
14637
14638 * help-mode.el (help-mode): Restore autoload.
14639
91ab9c13
JL
146402011-09-07 Juri Linkov <juri@jurta.org>
14641
14642 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14643 `compilation-environment'. Set buffer-local
14644 `compilation-environment' to `thisenv' later after (funcall mode).
14645 (Bug#8340)
14646
14647 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14648 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14649 instead of replacing its value. (Bug#8340)
14650
0527e251
JL
146512011-09-07 Juri Linkov <juri@jurta.org>
14652
14653 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14654 based on text properties put by `grep-filter' instead of matching
14655 escape sequences.
14656 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14657 to the value of `grep-error-screen-columns' (bug#9438).
14658
249f792c
JL
146592011-09-07 Juri Linkov <juri@jurta.org>
14660
14661 * simple.el (next-error-highlight, next-error-highlight-no-select):
14662 Doc fix (bug#9432).
14663
ff7271b9
OT
146642011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14665
14666 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14667 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14668
183fc730
LL
146692011-09-07 Leo Liu <sdl.web@gmail.com>
14670
14671 * net/rcirc.el (rcirc-mode): Conditionally initialize
14672 rcirc-input-ring.
14673
77694924
SM
146742011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14675
14676 * emacs-lisp/find-func.el (find-function-C-source): Only set
14677 find-function-C-source-directory after checking that we found a source
14678 file there (bug#9440).
14679
d809b8eb
AM
146802011-09-06 Alan Mackenzie <acm@muc.de>
14681
14682 * isearch.el (isearch-other-meta-char): Wherever a key list is
14683 unread, "unread" the prefix arg, too. This fixes bug #8901.
14684
453de99f
OG
146852011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14686
14687 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14688
90439906
JL
146892011-09-05 Juri Linkov <juri@jurta.org>
14690
14691 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14692
f62bd846
JL
146932011-09-05 Juri Linkov <juri@jurta.org>
14694
14695 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14696 keeping point where processing of grep matches begins, and
14697 continue to delete remaining escape sequences from the same point.
14698 (grep-filter): Make leading zero optional in "0?1;31m" because
14699 git-grep emits "\033[1;31m" escape sequences unlike expected
14700 "\033[01;31m" as GNU Grep does (bug#9408).
14701 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14702
045820ec
JL
147032011-09-05 Juri Linkov <juri@jurta.org>
14704
14705 * subr.el (y-or-n-p): Capitalize "yes".
14706
f5e29b9b
MA
147072011-09-04 Michael Albinus <michael.albinus@gmx.de>
14708
14709 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14710 `tramp-cache-unload-hook' where appropriate.
14711 (tramp-methods): Rename `tramp-remote-sh' to
14712 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14713 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14714
14715 * net/tramp-sh.el (top): Don't require 'shell.
14716 (tramp-methods): Add `tramp-remote-shell' and
14717 `tramp-remote-shell-args' entries.
14718 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14719 (tramp-sh-handle-shell-command): Remove.
14720 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14721 Use `tramp-remote-shell'.
14722
2784c434
CY
147232011-09-03 Chong Yidong <cyd@stupidchicken.com>
14724
393a301e 14725 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14726 (sendmail-query-once): Save directly to send-mail-function.
14727 Update message-send-mail-function too.
14728
14729 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14730
464cdf56
CS
147312011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14732
14733 * progmodes/python.el (python-mode-map): Use correct function to
14734 start python interpreter from menu-bar (as reported by Geert
14735 Kloosterman).
14736 (inferior-python-mode-map): Fix typo.
393a301e 14737 (python-shell-map): Remove.
464cdf56 14738
d37e5c87
DD
147392011-09-03 Deniz Dogan <deniz@dogan.se>
14740
14741 * net/rcirc.el (rcirc-print): Simplify code for
14742 rcirc-scroll-show-maximum-output. There is no need to walk
14743 through all windows to find the right one.
14744
f3ada0ee
CS
147452011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14746
14747 * help.el (help-return-method): Doc fix.
14748
1f3c99ca
MR
147492011-09-03 Martin Rudalics <rudalics@gmx.at>
14750
14751 * window.el (window-deletable-p): Don't return a non-nil value
14752 when there's a buffer that was shown in the window before.
14753 (Bug#9419)
393a301e
SM
14754 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14755 Set window's previous buffers to nil.
1f3c99ca 14756
a3cf097f
EZ
147572011-09-03 Eli Zaretskii <eliz@gnu.org>
14758
14759 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14760 newline before and after the tag line, so it doesn't interfere
14761 with determining the paragraph direction of bidirectional text.
14762
3d03de90
LL
147632011-09-03 Leo Liu <sdl.web@gmail.com>
14764
14765 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14766
c3313451
CY
147672011-09-02 Chong Yidong <cyd@stupidchicken.com>
14768
393a301e 14769 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14770 (pop-to-buffer): Change interactive spec. Pass second argument
14771 directly to display-buffer.
14772 (display-buffer): Fix interactive spec. Use functionp to
14773 distinguish between a function and a list of functions.
14774
14775 * abbrev.el (edit-abbrevs):
14776 * arc-mode.el (archive-extract):
14777 * autoinsert.el (auto-insert):
14778 * bookmark.el (bookmark-bmenu-list):
14779 * files.el (find-file):
14780 * view.el (view-buffer):
14781 * progmodes/compile.el (compilation-goto-locus):
14782 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14783
89894cd8
CY
147842011-09-02 Chong Yidong <cyd@stupidchicken.com>
14785
14786 * window.el (display-buffer-alist): Doc fix.
14787 (display-buffer): Add docstring. Don't treat
14788 display-buffer-default specially.
14789 (display-buffer-reuse-selected-window)
14790 (display-buffer-same-window, display-buffer-maybe-same-window)
14791 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14792 (display-buffer-pop-up-window)
14793 (display-buffer-reuse-or-pop-window)
14794 (display-buffer-use-some-window): New functions.
14795 (display-buffer-default-action): Use them.
393a301e 14796 (display-buffer-default): Delete.
89894cd8
CY
14797 (pop-to-buffer-1): Fix choice of actions.
14798
ae0bc9fb
SM
147992011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * minibuffer.el (completion--insert-strings): Don't get confused by
14802 completion entries that end with an LF char.
14803
e9d90883
EZ
148042011-09-01 Eli Zaretskii <eliz@gnu.org>
14805
14806 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14807
437014c8
CY
148082011-09-01 Chong Yidong <cyd@stupidchicken.com>
14809
14810 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14811 (display-buffer-same-window, display-buffer-other-window):
14812 New functions.
437014c8
CY
14813 (pop-to-buffer-1): New function. Use the above.
14814 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14815 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14816
14817 * view.el (view-buffer-other-window, view-buffer-other-frame):
14818 Just use pop-to-buffer.
14819
a5e063d5
TV
148202011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14821
14822 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14823
793d32bb
WH
148242011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14825
14826 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14827
d65e4c15
RS
148282011-08-31 Richard Stallman <rms@gnu.org>
14829
14830 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14831 of the separation of rmail-view-buffer from rmail-buffer.
14832 If you say no to "replace original", the decrypt is in the
14833 view buffer. If you say yes, the decrypt goes into the
14834 rmail buffer also.
14835
f818cd2a
MR
148362011-08-31 Martin Rudalics <rudalics@gmx.at>
14837
14838 * window.el (display-buffer-window): Rewrite doc-string.
14839 (display-buffer-record-window): New function.
14840 (display-buffer-macro-specifiers)
14841 (display-buffer-even-window-sizes, display-buffer-set-height)
14842 (display-buffer-set-width, display-buffer-in-window)
14843 (display-buffer-reuse-window, display-buffer-split-specifiers)
14844 (display-buffer-side-specifiers, display-buffer-split-window-1)
14845 (display-buffer-split-window, display-buffer-split-atom-window)
14846 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14847 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14848 (display-buffer-other-window-means-other-frame)
14849 (display-buffer-normalize-special)
14850 (display-buffer-normalize-default)
14851 (display-buffer-normalize-argument)
14852 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14853 (display-buffer-normalize-specifiers, display-buffer-frame)
14854 (display-buffer-same-window, display-buffer-same-frame)
14855 (display-buffer-other-window)
14856 (display-buffer-same-frame-other-window)
14857 (display-buffer-other-frame, pop-to-buffer-same-window)
14858 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14859 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14860 (switch-to-buffer-same-frame)
14861 (switch-to-buffer-other-window-same-frame)
14862 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14863 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14864 (display-buffer-alist-set): Remove.
14865 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14866 (special-display-regexps, special-display-function):
14867 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14868 parameter.
14869 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14870 (special-display-frame-alist, special-display-popup-frame)
14871 (same-window-buffer-names, same-window-regexps, same-window-p)
14872 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14873 (split-window-preferred-function, split-height-threshold)
14874 (split-width-threshold, window-splittable-p)
14875 (split-window-sensibly, window--try-to-split-window)
14876 (window--frame-usable-p, even-window-heights)
14877 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14878 (window--display-buffer-2, display-buffer-other-frame):
14879 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14880 (display-buffer-default, display-buffer-assq-regexp): New functions.
14881 (display-buffer-alist): Rewrite doc-string.
14882 (display-buffer-default-action)
14883 (display-buffer-overriding-action): New variables.
14884 (display-buffer, switch-to-buffer): Rewrite.
14885 (pop-to-buffer): Restore Emacs 23 behavior but use
14886 window-normalize-buffer-to-display.
14887 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14888 Restore Emacs 23 behavior but use
14889 window-normalize-buffer-to-switch-to.
14890 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14891 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14892 Rewrite using Emacs 23 options.
f818cd2a 14893
5bc3b51d
MA
148942011-08-31 Michael Albinus <michael.albinus@gmx.de>
14895
14896 * net/tramp.el (tramp-root-regexp): Remove.
14897 (tramp-completion-file-name-regexp-unified)
14898 (tramp-completion-file-name-regexp-separate)
14899 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14900 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14901 (tramp-drop-volume-letter): Simplify definition.
14902 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14903
b1a4f8e1
SM
149042011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14905
14906 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14907 (bug#9356).
14908
5664fa7b
RT
149092011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14910
b1a4f8e1 14911 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14912
9a45d6c3
JL
149132011-08-29 Juri Linkov <juri@jurta.org>
14914
14915 * isearch.el (isearch-done): Don't display message "Mark saved"
14916 when arg `edit' is non-nil to prevent its flicker in the echo area.
14917
fb87e0fb
CY
149182011-08-28 Chong Yidong <cyd@stupidchicken.com>
14919
14920 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14921 obsolete packages for deletion.
14922
09ac1c2a
CS
149232011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14924
14925 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14926 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14927 view-mode from help-mode.
14928 (help-xref-override-view-map): Remove.
14929 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14930 view-mode is not used anymore.
14931
7a1ff57f
CY
149322011-08-28 Chong Yidong <cyd@stupidchicken.com>
14933
14934 * server.el (server-port): Doc fix.
14935
b9696605
CY
14936 * cus-theme.el (custom-theme-choose-mode): Inherit from
14937 special-mode (Bug#9124).
14938 (custom-theme-choose-mode-map): Add special-mode to parent.
14939
ef8cdf8c
AM
149402011-08-28 Alan Mackenzie <acm@muc.de>
14941
14942 * progmodes/cc-fonts.el
14943 (c-make-font-lock-BO-decl-search-function): New function.
14944 (c-basic-matchers-after - "Fontify the clauses after various
14945 keywords"): Extract the three keyword lists for the 3 erroneous
14946 constructs from the list of four, and use the new function above
14947 in place of an old one.
14948
27de4e20
DD
149492011-08-28 Deniz Dogan <deniz@dogan.se>
14950
14951 * net/rcirc.el (rcirc-insert-prev-input)
14952 (rcirc-insert-next-input): Remove unused argument.
14953
356a3681
SM
149542011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14955
14956 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14957
3fc9b218
AM
149582011-08-27 Alan Mackenzie <acm@muc.de>
14959
14960 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14961 handle function pointer parameters properly.
14962
538a061c
MR
149632011-08-27 Martin Rudalics <rudalics@gmx.at>
14964
14965 * window.el (display-buffer-reuse-window): Fix case where
14966 selected window was reused with non-nil OTHER-WINDOW argument.
14967 (Bug#9381)
14968
35b1c40c
DD
149692011-08-27 Deniz Dogan <deniz@dogan.se>
14970
14971 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14972 oftc's NickServ messages.
14973
2f6a3e79
GM
149742011-08-27 Glenn Morris <rgm@gnu.org>
14975
14976 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14977
7254299e
CY
149782011-08-26 Chong Yidong <cyd@stupidchicken.com>
14979
14980 * emacs-lisp/package.el (package-install): Call package-initialize
14981 if called interactively.
14982
f8ccf167
LL
149832011-08-26 Leo Liu <sdl.web@gmail.com>
14984
14985 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14986
3e8cd5ce
JL
149872011-08-25 Juri Linkov <juri@jurta.org>
14988
14989 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14990 `search-whitespace-regexp' (bug#9364).
14991
93eb7113
JL
149922011-08-25 Juri Linkov <juri@jurta.org>
14993
14994 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14995 `regexp-search-ring' to their global values to protect from
14996 updating by `read-from-minibuffer' (bug#9185).
14997
f65d1611
JL
149982011-08-25 Juri Linkov <juri@jurta.org>
14999
15000 * textmodes/ispell.el (ispell-command-loop): Add newline
15001 at the end of the "Use option `i'..." line.
15002
f1cf7a31
JL
150032011-08-25 Juri Linkov <juri@jurta.org>
15004
15005 * battery.el (display-battery-mode): If `battery-status-function'
15006 or `battery-mode-line-format' is nil, display the message and set
15007 `display-battery-mode' to nil (bug#9363).
15008
0c95fcf7
EZ
150092011-08-25 Eli Zaretskii <eliz@gnu.org>
15010
15011 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15012 bidi-string-mark-left-to-right; they are unnecessary now.
15013
a2ebe600
DD
150142011-08-25 Deniz Dogan <deniz@dogan.se>
15015
15016 * net/quickurl.el: Documentation typo fixes.
15017
e4ed06f1
CY
150182011-08-25 Chong Yidong <cyd@stupidchicken.com>
15019
15020 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15021
e5f1c99e
GM
150222011-08-25 Glenn Morris <rgm@gnu.org>
15023
b2948976
GM
15024 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15025
e5f1c99e
GM
15026 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15027 (smtpmail-via-smtp): Handle nil response from smtp.
15028
f22f4808
JL
150292011-08-24 Juri Linkov <juri@jurta.org>
15030
15031 * proced.el (proced-marked): Inherit from `error' instead of
15032 `font-lock-warning-face'.
15033
15034 * ibuffer.el (ibuffer-marked-face): Change default face from
15035 `font-lock-warning-face' to `warning'.
15036 (ibuffer-deletion-face): Change default face from
15037 `font-lock-type-face' to `error'.
15038
15039 * battery.el (battery-update): Use the face `error' instead of
15040 `font-lock-warning-face' (bug#6117).
15041
6a93965e
JL
150422011-08-24 Juri Linkov <juri@jurta.org>
15043
15044 * faces.el (success): Change face color from "Green3" to
15045 "ForestGreen" on light background (bug#9353).
15046
1ed43b09
CY
150472011-08-24 Chong Yidong <cyd@stupidchicken.com>
15048
5664fa7b
RT
15049 * window.el (quit-window): Rename from quit-restore-window.
15050 Use same arglist as old quit-window.
1ed43b09
CY
15051 (frame-auto-delete): Doc fix.
15052
15053 * view.el (view-mode-exit): Use quit-window.
15054
11dcdbb2
JL
150552011-08-24 Juri Linkov <juri@jurta.org>
15056
15057 * isearch.el (isearch-ring-adjust1): Start visiting previous
15058 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15059 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15060 for empty search string (when the last search string is reused
15061 automatically) to adjust the isearch ring to the last element and
15062 prepare the correct index for further M-p commands (bug#9185).
15063
de62b4df
KH
150642011-08-24 Kenichi Handa <handa@m17n.org>
15065
15066 * international/ucs-normalize.el: If decomposition property of
15067 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15068 nil.
15069 (nfd, nfkd): Likewise.
15070
963b492b
SM
150712011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15072
15073 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15074 from process filters aren't reliably transmitted to the surrounding
15075 accept-process-output.
15076 (mpc-proc-check): New function.
15077 (mpc-proc-sync): Use it (bug#8293)
15078
93b6b5e1
SM
150792011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15080
15081 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15082 Add compatibility functions (bug#9313).
15083
bca633fb
EZ
150842011-08-23 Eli Zaretskii <eliz@gnu.org>
15085
b177498a
EZ
15086 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15087
6df6ae42 15088 * international/uni-bidi.el: Regenerate.
bca633fb 15089
0902a04e
KH
150902011-08-23 Kenichi Handa <handa@m17n.org>
15091
15092 * international/charprop.el:
15093 * international/uni-bidi.el:
15094 * international/uni-category.el:
15095 * international/uni-combining.el:
15096 * international/uni-comment.el:
15097 * international/uni-decimal.el:
15098 * international/uni-decomposition.el:
15099 * international/uni-digit.el:
15100 * international/uni-lowercase.el:
15101 * international/uni-mirrored.el:
15102 * international/uni-name.el:
15103 * international/uni-numeric.el:
15104 * international/uni-old-name.el:
15105 * international/uni-titlecase.el:
15106 * international/uni-uppercase.el: Regenerate.
15107
3bbf23bc
MR
151082011-08-23 Martin Rudalics <rudalics@gmx.at>
15109
15110 * help.el (help-window-setup): Fix message displayed when other
15111 window is reused. (Bug#9341)
15112
b3fd59bd
SM
151132011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15114
1802e444
SM
15115 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15116 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15117
b3fd59bd
SM
15118 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15119 Mark obsolete.
15120 * shell.el (shell-parse-pcomplete-arguments): New function.
15121 (shell-completion-vars): Use it instead (bug#9160).
15122
4eb61348
SM
151232011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15124
867cab74
SM
15125 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15126 strings and comments (bug#9333).
15127
4eb61348
SM
15128 * emacs-lisp/debug.el (debug-arglist): New function.
15129 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15130 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15131
262a1439
JL
151322011-08-22 Juri Linkov <juri@jurta.org>
15133
56ee679c
JL
15134 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15135 Revert regexp that highlights output switches to its old
15136 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15137
262a1439
JL
15138 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15139 to check for empty output (bug#9226).
15140
f13f86fb
CY
151412011-08-22 Chong Yidong <cyd@stupidchicken.com>
15142
15143 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15144 symbol-constituent as the default, as that stops font-lock from
15145 working properly (Bug#8843).
15146
c65c9622
LMI
151472011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15148
15149 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15150 `coding-system-for-*' around the process open call to avoid
15151 auth-source side effects.
e7f2c178 15152 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15153 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15154 probe hangs.
c65c9622 15155
23a8a5ab
CY
151562011-08-21 Chong Yidong <cyd@stupidchicken.com>
15157
ff98b2dd
CY
15158 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15159
23a8a5ab
CY
15160 * emacs-lisp/find-func.el (find-function-noselect): New arg
15161 lisp-only.
15162
15163 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15164 signal an error for built-in functions (Bug#6664).
15165
f5e3c598
LMI
151662011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15167
15168 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15169 (smtpmail-try-auth-methods): Use it.
15170
a3f2468a
CY
151712011-08-21 Chong Yidong <cyd@stupidchicken.com>
15172
2c34e8da
CY
15173 * font-lock.el (font-lock-fontify-region)
15174 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15175 (font-lock-default-unfontify-buffer)
15176 (font-lock-default-fontify-region)
15177 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15178
b3fd59bd
SM
15179 * progmodes/compile.el (compilation-error-properties):
15180 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15181 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15182 `ant' regexp.
ee31aabc 15183
a3f2468a
CY
15184 * net/browse-url.el (browse-url-firefox): Don't call
15185 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15186
8e999f70
GM
151872011-08-20 Glenn Morris <rgm@gnu.org>
15188
c21a496a
GM
15189 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15190
59ee0542
GM
15191 * tutorial.el (tutorial--default-keys): Update some default bindings.
15192
8e999f70
GM
15193 * files.el (hack-local-variables): Fully ignore case for "mode:".
15194
e3715033
AM
151952011-08-20 Alan Mackenzie <acm@muc.de>
15196
15197 Resolve invalid use of a regexp in regexp-opt.
15198
4d61f28d
JB
15199 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15200 detection for a java annotation.
e3715033 15201
4d61f28d 15202 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15203 detection for a java annotation.
15204
4d61f28d
JB
15205 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15206 handling for java.
e3715033
AM
15207 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15208
04ed2e9c
CY
152092011-08-20 Chong Yidong <cyd@stupidchicken.com>
15210
15211 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15212 (Bug#9274).
15213
826cee64
AM
152142011-08-20 Alan Mackenzie <acm@muc.de>
15215
58179cce 15216 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15217 such a construct. Mainly for when jit-lock etc. starts a chunk
15218 here.
15219
58179cce 15220 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15221 variable.
58179cce 15222 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15223 c-make-font-lock-search-function.
15224 (c-make-font-lock-search-function): Use the above function.
15225 (c-make-font-lock-context-search-function): New function.
15226 (c-cpp-matchers): Enhance the preprocessor expression case with
15227 the above function
15228 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15229 which takes an expression.
15230
15231 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15232
13009bd8
MR
152332011-08-20 Martin Rudalics <rudalics@gmx.at>
15234
15235 * window.el (display-buffer-reuse-window)
15236 (display-buffer-pop-up-window): Don't reuse or split a side
15237 window.
15238
9234ff7f
GM
152392011-08-19 Glenn Morris <rgm@gnu.org>
15240
15241 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15242 Downcase "Mode:". (Bug#9331)
9234ff7f 15243
f635daa1
CY
152442011-08-18 Chong Yidong <cyd@stupidchicken.com>
15245
15246 * international/characters.el: Add L and R categories.
15247
15248 * subr.el (bidi-string-mark-left-to-right): Rename from
15249 string-mark-left-to-right. Use category search.
15250
15251 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15252
bc987f8b
JL
152532011-08-18 Juri Linkov <juri@jurta.org>
15254
15255 * faces.el (error, warning, success): New faces with definitions
15256 copied from old default values of `font-lock-warning-face',
15257 `compilation-warning', `compilation-info' (bug#6117).
15258
15259 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15260
15261 * progmodes/compile.el (compilation-error): Inherit from `error'.
15262 (compilation-warning): Inherit from `warning'.
15263 (compilation-info): Inherit from `success'.
15264
15265 * dired.el (dired-marked): Inherit from `warning'.
15266 (dired-flagged): Inherit from `error'.
15267
57173b96
LMI
152682011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15269
3e79eb87
LMI
15270 * mail/smtpmail.el (auth-source): Require to avoid problems with
15271 binding variables (bug#9298). Also clean up some unused
15272 autoloads.
15273
b3fd59bd
SM
15274 * net/network-stream.el (network-stream-open-starttls):
15275 Support using starttls.el without using gnutls-cli.
57173b96 15276
02b404de
JL
152772011-08-17 Juri Linkov <juri@jurta.org>
15278
15279 * progmodes/grep.el (rgrep): Handle the case when
15280 `grep-find-command' is a cons cell (bug#9278).
15281
8c9177f2
MR
152822011-08-17 Martin Rudalics <rudalics@gmx.at>
15283
15284 * window.el (display-buffer-pop-up-frame): Run frame creation
15285 function with BUFFER current (as special-display-popup-frame
15286 does). Reported by Drew Adams.
15287
3644a0ab
DU
152882011-08-17 Daiki Ueno <ueno@unixuser.org>
15289
15290 * epa-mail.el: Simplify GnuPG group expansion using
15291 epg-expand-group.
15292 (epa-mail-group-alist, epa-mail-group-modtime)
15293 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15294 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15295 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15296 Remove.
15297
5e617bc2 152982011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
15299
15300 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15301
9c4aeabf
AM
153022011-08-16 Alan Mackenzie <acm@muc.de>
15303
15304 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15305 Correct, to avoid the inside of macros.
15306
3a99bf64
RS
153072011-08-16 Richard Stallman <rms@gnu.org>
15308
04963aa8
RS
15309 * epa-mail.el: Handle GnuPG group definitions.
15310 (epa-mail-group-alist, epa-mail-group-modtime)
15311 (epa-mail-gnupg-conf-file): New variables.
15312 (epa-mail-parse-groups, epa-mail-sync-groups)
15313 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15314 (epa-mail-expand-recipients): New functions.
15315 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15316
177549d0
RS
15317 * mail/rmail.el (rmail-epa-decrypt): New command.
15318
fe38beef
RS
15319 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15320 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15321 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15322 (epa-decrypt-armor-in-region): Make error message clearer.
15323
934eacb9
SM
153242011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15325
15326 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15327 and "a2b" to "ab" for `prefix'.
15328
d024fb4e
CY
153292011-08-14 Chong Yidong <cyd@stupidchicken.com>
15330
15331 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15332 filter groups.
de148fee
CY
15333 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15334 Fourquet (Bug#8804).
d024fb4e 15335
62f1ca49
JB
153362011-08-12 Juanma Barranquero <lekktu@gmail.com>
15337
15338 * startup.el (argi): Declare as global variable (bug#9275).
15339
9ccaaa4b
CY
153402011-08-12 Chong Yidong <cyd@stupidchicken.com>
15341
15342 * subr.el (string-mark-left-to-right): Search the entire string
15343 for RTL script, not just the terminating character. Doc fix.
15344
a3dae87a
SM
153452011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15346
6cd18349
SM
15347 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15348 New function.
15349 (js--regexp-literal, js-syntax-propertize-function): Remove.
15350 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15351 (js-mode-map): Don't rebind electric keys.
15352 (js-insert-and-indent): Remove.
15353 (js-mode): Setup electric-layout and electric-indent instead.
15354
a3dae87a
SM
15355 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15356
9d5cb631
DU
153572011-08-12 Daiki Ueno <ueno@unixuser.org>
15358
15359 * epa.el (epa-progress-callback-function): Fix the logic of
15360 displaying progress.
15361 * epa-file.el (epa-file-insert-file-contents): Make progress
15362 display more user-friendly.
15363 (epa-file-write-region): Ditto.
15364
3e26a4a2
CY
153652011-08-10 Chong Yidong <cyd@stupidchicken.com>
15366
15367 * subr.el (string-mark-left-to-right): New function.
15368
15369 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15370 Use string-mark-left-to-right.
15371 (list-buffers-noselect): Caller changed.
15372
a3dae87a
SM
15373 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15374 Use string-mark-left-to-right.
3e26a4a2
CY
15375 (tabulated-list-print): Recenter after moving point.
15376
ac8cf6e6
JL
153772011-08-10 Juri Linkov <juri@jurta.org>
15378
15379 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15380 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15381 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15382
8d96c9a4
CY
153832011-08-09 Chong Yidong <cyd@stupidchicken.com>
15384
15385 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15386 (Bug#7554).
15387
7be1c708 153882011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15389
15390 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15391 character. (Bug#6594)
15392
37e11a63
CY
153932011-08-08 Chong Yidong <cyd@stupidchicken.com>
15394
839dde57
CY
15395 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15396 (image-dired--with-db-file): New macro.
15397 (image-dired-write-tags, image-dired-remove-tag)
15398 (image-dired-create-gallery-lists, image-dired-write-comments)
15399 (image-dired-get-comment, image-dired-mark-tagged-files)
15400 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15401 (image-dired-gallery-generate): Use insert-file-contents.
15402
37e11a63
CY
15403 * time.el (display-time-world-list, display-time-world-display):
15404 * time-stamp.el (time-stamp-string):
15405 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15406 set-time-zone-rule (Bug#7337).
15407
0b4946c4
DU
154082011-08-08 Daiki Ueno <ueno@unixuser.org>
15409
15410 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15411 (epg-error-to-string, epg-errors-to-string): New function.
15412 (epg-wait-for-completion): Reverse errors list.
15413 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15414 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15415 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15416 (epg-sign-keys, epg-generate-key-from-file)
15417 (epg-generate-key-from-string): Format errors by using
15418 epg-errors-to-string (bug#9255).
15419 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15420
75bfc667
JL
154212011-08-07 Juri Linkov <juri@jurta.org>
15422
15423 * faces.el (list-faces-display): Remove extra angle bracket
15424 from `help-mode-map'.
15425
15426 * info.el (Info-history-toc-nodes): Doc fix.
15427
15428 * longlines.el (longlines-mode): Doc fix.
15429
673e08bb
SM
154302011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15431
4640dd88
SM
15432 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15433 of statements and in a few more cases (bug#9183).
15434
673e08bb
SM
15435 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15436 New functions.
15437 (cl-transform-lambda): Use them (bug#9239).
15438
89b3f019
MR
154392011-08-05 Martin Rudalics <rudalics@gmx.at>
15440
15441 * window.el (display-buffer-same-window)
15442 (display-buffer-same-frame, display-buffer-other-window)
15443 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15444 (pop-to-buffer-other-window)
15445 (pop-to-buffer-same-frame-other-window)
15446 (pop-to-buffer-other-frame): Make them defuns.
15447 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15448
640c8776
SM
154492011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15450
15451 * subr.el (make-composed-keymap): Move from C. Change calling
15452 convention, and improve docstring to bring attention to a subtle point.
15453 * minibuffer.el (completing-read-default): Adjust accordingly.
15454
63648a95
MA
154552011-08-03 Michael Albinus <michael.albinus@gmx.de>
15456
15457 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15458 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15459
15460 * net/trampver.el: Update release number.
15461
b796c9b7
SM
154622011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15463
15464 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15465 "in" (bug#9190).
15466
2239d7d5
LMI
154672011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15468
e07dd7c3
LMI
15469 * mail/sendmail.el (sendmail-query-once): Restore the current
15470 buffer after querying (bug#9074).
15471
0e6a2bd7
LMI
15472 * dired.el (dired-flagged): Use different faces for marked and
15473 flagged files (bug#6117).
15474
ce887515
LMI
15475 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15476 (bug#4433).
15477
92f2affc
LMI
15478 * ido.el (ido-mode): Switch off the message if called
15479 non-interactively.
15480
57d5aff0
LMI
15481 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15482 before 587, since it appears that that's more likely to work for
15483 more people.
15484
98cd6c18 15485 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15486 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15487 exist.
15488
b96dec83
LMI
15489 * info.el: Remove the `Info-beginning-of-buffer' function
15490 (bug#8325).
15491
b796c9b7
SM
15492 * net/network-stream.el (network-stream-open-starttls):
15493 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15494
d90e2ea0
MR
154952011-08-01 Martin Rudalics <rudalics@gmx.at>
15496
15497 * window.el (display-buffer-in-window): Don't set dedicated status
15498 of window here (Bug#9215).
15499 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15500 (display-buffer-pop-up-side-window)
b796c9b7 15501 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15502
cca09170
SM
155032011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15504
15505 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15506 before binding generated-autoload-file.
15507
027b979c
DD
155082011-08-01 Deniz Dogan <deniz@dogan.se>
15509
15510 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15511
3c7ee4f3
MA
155122011-07-30 Michael Albinus <michael.albinus@gmx.de>
15513
15514 Sync with Tramp 2.2.2.
15515
15516 * net/trampver.el: Update release number.
15517
2cc8e51a
JL
155182011-07-30 Juri Linkov <juri@jurta.org>
15519
15520 * dired-aux.el (dired-touch-initial): Remove function.
15521 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15522 current time, and `default' to the last modification time of the
15523 current marked file (bug#6887).
15524
a514d856
JM
155252011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15526
15527 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15528 numeric argument to read-number (bug#9163).
a514d856 15529
8a7eddd7
MA
155302011-07-27 Michael Albinus <michael.albinus@gmx.de>
15531
15532 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15533 connection process, it could be nil.
15534
1ddd96f5
LL
155352011-07-27 Leo Liu <sdl.web@gmail.com>
15536
15537 Simplify url handling in rcirc-mode.
15538
15539 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15540 (rcirc-browse-url-at-mouse): Remove.
15541 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15542
b248a85d
AM
155432011-07-26 Alan Mackenzie <acm@muc.de>
15544
15545 Fontify bitfield declarations properly.
15546
15547 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15548 (c-symbol-chars): Now exported as a lang variable.
15549 (c-not-primitive-type-keywords): New lang variable.
15550
15551 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15552 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15553 parsed as a bitfield declaration.
b248a85d 15554
b796c9b7
SM
15555 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15556 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15557 (c-punctuation-in): New function.
15558 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15559 declarations properly.
15560
68575ab0
UJ
155612011-07-26 Ulf Jasper <ulf.jasper@web.de>
15562
15563 * calendar/icalendar.el (icalendar--all-events): Take care of
15564 multiple vcalendars in a single file.
b796c9b7 15565 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15566
0f0a88b9
DD
155672011-07-25 Deniz Dogan <deniz@dogan.se>
15568
15569 * image.el (insert-image): Clarifying docstring.
15570
0b3f36df
MA
155712011-07-24 Michael Albinus <michael.albinus@gmx.de>
15572
15573 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15574 `tramp-send-command-and-check' if there is no error.
15575 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15576
a9901f61
AM
155772011-07-22 Alan Mackenzie <acm@muc.de>
15578
15579 Prevent cc-langs.elc being loaded at run time.
15580
15581 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15582 cc-langs.
15583
4d61f28d 15584 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15585 "(require 'cc-langs)". Quote a form so it will evaluate at
15586 (cc-mode's) compilation time.
15587
11d074b2
MA
155882011-07-22 Michael Albinus <michael.albinus@gmx.de>
15589
15590 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15591 loading. (Bug#9114)
15592
938b94c8
MR
155932011-07-21 Martin Rudalics <rudalics@gmx.at>
15594
15595 * window.el (display-buffer-pop-up-window)
15596 (display-buffer-pop-up-side-window)
15597 (display-buffer-in-side-window): Call display-buffer-set-height
15598 and display-buffer-set-width after setting the new window's
b796c9b7 15599 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15600
bfa4f190
SS
156012011-07-20 Sam Steingold <sds@gnu.org>
15602
15603 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15604 (etags-tags-included-tables): Call `convert-standard-filename' on
15605 the file names contained in TAGS so that windows Emacs can handle
15606 TAGS files created by cygwin ctags.
15607
8ca42262
LMI
156082011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15609
15610 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15611 which apparently didn't work.
15612
5db2afd2 156132011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15614
5db2afd2
RW
15615 * proced.el (proced-send-signal): For *Marked Processes* buffer
15616 put point at beginning of buffer.
15617
92e15d10
SB
156182011-07-19 Stephen Berman <stephen.berman@gmx.net>
15619
15620 * proced.el (proced-format): Make header lines align with the text
15621 (bug#1779).
15622
1bfd59e5
LMI
156232011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15624
15625 * view.el (view-buffer): Allow running in `special' modes if we're
15626 visiting a file (bug#8615).
15627
f5aae37c
MR
156282011-07-19 Martin Rudalics <rudalics@gmx.at>
15629
15630 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15631 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15632 New functions.
f5aae37c
MR
15633 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15634 more accurately.
15635
bf2c1571
AM
156362011-07-18 Alan Mackenzie <acm@muc.de>
15637
15638 Fontify declarators properly when, e.g., a jit-lock chunk begins
15639 inside a declaration.
15640
15641 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15642
b796c9b7
SM
15643 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15644 New function.
bf2c1571
AM
15645 (c-complex-decl-matchers): Insert reference to
15646 c-font-lock-enclosing-decls.
15647
15648 * progmodes/cc-engine.el (c-backward-single-comment):
15649 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15650 to nil around calls to (forward-comment -1).
15651
4e190b80
LMI
156522011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15653
12dc863d
LMI
15654 * image.el (put-image): Doc typo fix.
15655
a762e966
LMI
15656 * progmodes/etags.el (tags-search): Doc typo fix.
15657
4e190b80
LMI
15658 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15659 password if we get errors 550 to 554.
15660
f019fb21
LMI
156612011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15662
b796c9b7 15663 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15664
81746738
LMI
15665 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15666 indentation character (bug#6380).
15667
3ee3a1b5
LMI
15668 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15669
c82f64de
LMI
15670 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15671 to clarify what the problem is (bug#4291).
15672
f019fb21
LMI
15673 * simple.el (current-kill): Clarify what
15674 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15675 (auto-fill-mode): Document `auto-fill-function' in relation to
15676 `auto-fill-mode' (bug#2470).
f019fb21 15677
0794775d
LM
156782011-07-16 Lawrence Mitchell <wence@gmx.li>
15679
15680 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15681 method if slot is read-only (bug#9035).
15682
be39b8cc
MR
156832011-07-16 Martin Rudalics <rudalics@gmx.at>
15684
b796c9b7 15685 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15686 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15687 selected before, see discussion of (Bug#8615), (Bug#6954).
15688 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15689
6ccf7859
GM
156902011-07-15 Glenn Morris <rgm@gnu.org>
15691
15692 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15693 Respect help-form.
6ccf7859 15694
87e86684
LM
156952011-07-09 Lawrence Mitchell <wence@gmx.li>
15696
15697 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15698 (gnutls-negotiate): Use it.
15699
d6066239
LMI
157002011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15701
b796c9b7
SM
15702 * net/gnutls.el (gnutls-negotiate):
15703 Upcase `gnutls-algorithm-priority'.
d6066239 15704
bd23ebc0
GM
157052011-07-15 Glenn Morris <rgm@gnu.org>
15706
c65bca65
GM
15707 * jka-compr.el (jka-compr-verbose): Move from here...
15708 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15709 Add missing :version tag.
15710 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15711
478615cc
LMI
157122011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15713
7b41decb
LMI
15714 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15715 (gnutls-negotiate): Use it.
15716
dbc44fcd
LMI
15717 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15718
06789f97
LMI
15719 * info.el (Info-beginning-of-buffer): New command.
15720 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15721 announcing `b' as the key (bug#8325).
ab896c37 15722 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15723
c39da690
LMI
15724 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15725
3aa5f34b
LMI
15726 * international/mule-cmds.el
15727 (describe-specified-language-support): Make the error message
15728 clearer (bug#8905).
15729
4bf0979f
LMI
15730 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15731
478615cc
LMI
15732 * isearch.el (isearch-barrier): Add a doc string, since it's
15733 mentioned in a function doc string (bug#8678).
15734
75c68aa1
MR
157352011-07-15 Martin Rudalics <rudalics@gmx.at>
15736
15737 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15738 buffer argument (Bug#9083) and self-identifying label argument.
15739
a7c33da2
GM
157402011-07-15 Glenn Morris <rgm@gnu.org>
15741
15742 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15743
2f5c6024
LMI
157442011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15745
15746 * man.el (Man-fontify-manpage): Fix message when formatting the
15747 man page (bug#7929).
15748
0bb23927 157492011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15750
15751 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15752 argument LRM; if non-nil, append an invisible LRM character to the
15753 buffer name.
15754 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15755 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15756 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15757 paragraph direction.
cce4b0a7 15758
621ef9ab
LMI
157592011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15760
d1583c48
LMI
15761 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15762 the man page name (bug#7929).
15763
6a57fb5f
LMI
15764 * image.el (put-image): Mention the `put-image' overlay property
15765 (bug#7834).
15766
d7956b14
LMI
15767 * scroll-bar.el (set-scroll-bar-mode): Mention that
15768 `scroll-bar-mode' lists the values (bug#7772).
15769
5b2d4a66
LMI
15770 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15771 command (bug#7729).
15772
7509a874
LMI
15773 * rect.el (apply-on-rectangle): Return the point after the last
15774 operation.
15775 (string-rectangle): Go to the point after the last operation
15776 (bug#7522).
15777
4fe74b19
LMI
15778 * printing.el (pr-toggle-region): Clarify the documentation
15779 slightly (bug#7493).
15780
b796c9b7
SM
15781 * time.el (display-time-update):
15782 Allow `display-time-mail-function' to return nil (bug#7158).
15783 Fix suggested by Detlev Zundel.
ab283561 15784
fc233c9d
LMI
15785 * vc/diff.el (diff): Clarify the order the file names are read
15786 (bug#7111).
15787
43f5740b
LMI
15788 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15789 the doc string (bug#7015).
15790
f2182a76
LMI
15791 * font-lock.el (font-lock-maximum-decoration): Mention what
15792 numeric levels mean (bug#6935).
15793
621ef9ab
LMI
15794 * startup.el (initial-buffer-choice): Don't mention the `none'
15795 selection, which is against policy.
15796
adc47434
MR
157972011-07-14 Martin Rudalics <rudalics@gmx.at>
15798
b796c9b7
SM
15799 * window.el (display-buffer-normalize-special):
15800 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15801
7e5bfb8f
EZ
158022011-07-14 Eli Zaretskii <eliz@gnu.org>
15803
15804 * subr.el (version<, version<=, version=): Mention "-CVS" and
15805 "-12345" alpha version numbers.
15806
27fa387a
CY
158072011-07-14 Chong Yidong <cyd@stupidchicken.com>
15808
15809 * bindings.el: Add advertised binding for set-mark-command
15810 (Bug#5772).
15811
8bdfa064
CY
158122011-07-14 Chong Yidong <cyd@stupidchicken.com>
15813
15814 * bindings.el (mode-line-other-buffer):
15815 * bookmark.el (bookmark-bmenu-2-window):
15816 * bs.el (bs-cycle-next, bs-cycle-previous):
15817 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15818 switch-to-buffer.
15819
15820 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15821 Delete.
8bdfa064 15822
5eba16a3
JB
158232011-07-14 Juanma Barranquero <lekktu@gmail.com>
15824
15825 * follow.el (follow-debug-message, follow-redisplay):
15826 * jka-cmpr-hook.el (with-auto-compression-mode):
15827 Fix typos in docstrings.
15828
15853710
LMI
158292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15830
a28e4607
LMI
15831 * subr.el (with-silent-modifications): Clarify somewhat what the
15832 macro inhibits (bug#6525).
15833
15853710
LMI
15834 * simple.el (eval-expression): Note what it does if called
15835 interactively (bug#6495).
15836
bee0fcef
CY
158372011-07-13 Chong Yidong <cyd@stupidchicken.com>
15838
b796c9b7
SM
15839 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15840 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15841
15842 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15843 Remove switch-to-buffer.
15844
58274504
LMI
158452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15846
bd2fcc8d
LMI
15847 * files.el (make-directory): Clarify that an error will be raised
15848 if there's an error (bug#6397).
15849
0f04b32c
LMI
15850 * startup.el (initial-buffer-choice): Add `none' as a choice
15851 (bug#6234).
15852
465c5fc8
LMI
15853 * subr.el (add-hook): Clarify section about buffer-local hooks
15854 (bug#6218).
15855
58274504
LMI
15856 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15857
bead9a43
JB
158582011-07-13 Juanma Barranquero <lekktu@gmail.com>
15859
15860 * tabify.el (untabify): Preserve the current column so that point
15861 doesn't move (bug#6032).
15862
3af98a7b
LMI
158632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15864
b796c9b7
SM
15865 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15866 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15867
6240145a
GM
158682011-07-13 Glenn Morris <rgm@gnu.org>
15869
15870 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15871 (dired-insert-directory): Give a message the first time
15872 if ls is found not to support --dired.
15873
1d8c2ccc
LMI
158742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15875
15876 * simple.el (toggle-truncate-lines): Clarify what is toggled
15877 (bug#5580). Text by Drew Adams.
15878
5fc4038e
CY
158792011-07-13 Chong Yidong <cyd@stupidchicken.com>
15880
15881 * simple.el (blink-matching-open): Make the error message from the
15882 last change less verbose.
15883
bf6012e5
DN
158842011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15885
15886 * font-lock.el (font-lock-comment-face): Use the high contrast
15887 "yellow" color for font-lock-comment-face on low color terminals
15888 using a dark background color (bug#4221).
15889
343c3b5a
LMI
158902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15891
7e9505c5
LMI
15892 * dired.el (dired-insert-set-properties): Make the doc string
15893 reflect what it does now (bug#5325).
15894
c26fdcf5
LMI
15895 * simple.el (blink-matching-open): Say that we were unable to find
15896 the match within the limit, if we're limited (bug#5122).
15897
bb388cc5
LMI
15898 * international/mule-cmds.el (prefer-coding-system): Add an
15899 example (bug#4869).
15900
343c3b5a
LMI
15901 * progmodes/etags.el (tags-search): Document `file-list-form'
15902 (bug#4731).
15903
2a517d45
LM
159042011-07-13 Lawrence Mitchell <wence@gmx.li>
15905
15906 * net/browse-url.el (browse-url-default-browser)
15907 (browse-url-browser-function): Make the default browser choice a
15908 bit more logical (bug#4300). Also clean up the doc string.
15909
b6c78ef2
JB
159102011-07-13 Juanma Barranquero <lekktu@gmail.com>
15911
15912 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15913 binary endings (bug#4440).
15914
1c4dd947
LMI
159152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15916
a2014063
LMI
15917 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15918 which can be pretty annoying (bug#8971).
15919
9c9c2d88
LMI
15920 * jka-compr.el (jka-compr-verbose): New variable, and use
15921 throughout (bug#8971).
15922
1c4dd947
LMI
15923 * info.el (Info-find-file): Fall back on the installation
15924 directory if we can't find the info node anywhere else.
15925
a1c9f41b
SO
159262011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15927
15928 * vc/vc.el (vc-revert-file):
15929 Don't set file time-stamp in the past. (Bug#5181)
15930
536f3d36
LMI
159312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15932
7152b011
LMI
15933 * files.el (after-find-file): Give a better error message when
15934 trying to find a symlink that points to a file that doesn't exist
15935 (bug#4398).
15936
536f3d36
LMI
15937 * progmodes/cc-vars.el: Remove (probably) misleading comment
15938 (bug#4396).
15939
460c0fba
JB
159402011-07-12 Johan Bockgård <bojohan@gnu.org>
15941
15942 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15943
7a6bda45
CY
159442011-07-12 Chong Yidong <cyd@stupidchicken.com>
15945
15946 * mouse-sel.el: Hack restoring functionality, while keeping
15947 compatibility with 2010-07-03 changes to mouse selection.
15948 (mouse-sel-primary-overlay): New var.
15949 (mouse-sel-selection-alist): Use it.
15950 (mouse-sel-mode): Doc fix; remove points that are default features
15951 of mouse.el.
15952
c79598ef
JB
159532011-07-12 Johan Bockgård <bojohan@gnu.org>
15954
15955 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15956 Fix previous fix (bug#2490).
15957
ff8be6ef
RW
159582011-07-12 Roland Winkler <winkler@gnu.org>
15959
b796c9b7
SM
15960 * textmodes/bibtex.el (bibtex-initialize):
15961 Use pop-to-buffer-same-window.
ff8be6ef
RW
15962 (bibtex-search-entries): Fix interactive call.
15963
296ba3ee
LMI
159642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15965
f5242a02 15966 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15967 Fontise bytecomp Error lines more correctly (bug#2490).
15968 Fix suggested by Johan Bockgård.
f5242a02 15969
296ba3ee
LMI
15970 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15971
15972 * dired-x.el (dired-guess-default): Use `delete-dups'.
15973
f69fd0d2
CY
159742011-07-12 Chong Yidong <cyd@stupidchicken.com>
15975
15976 * dired.el (dired-mark-prompt):
15977 * dired-aux.el (dired-read-shell-command): Doc fix.
15978
eab5dc07
LMI
159792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15980
b796c9b7
SM
15981 * mail/sendmail.el (sendmail-query-once):
15982 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15983 emacs -Q.
15984
15985 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15986
eab5dc07
LMI
15987 * cus-edit.el (custom-file): Take an optional no-error variable.
15988 (customize-save-variable): Set the variable, and give a warning if
15989 running under "emacs -q".
15990
a1e65d42
JB
159912011-07-11 Juanma Barranquero <lekktu@gmail.com>
15992
15993 * loadhist.el (unload-feature-special-hooks):
15994 Add `auto-coding-functions', `fill-nobreak-predicate' and
15995 `find-directory-functions' (bug#5327).
15996
1d52da10
LMI
159972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15998
be958f1d
LMI
15999 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16000
5bedb26c
LMI
16001 * cus-edit.el (custom-guess-name-alist): -alist variables should
16002 use the `alist' type (bug#3120). Suggested by Drew Adams.
16003
1d52da10
LMI
16004 * printing.el: Add documentation to all the `pr-toggle-' commands.
16005
cd394be1 160062011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16007
16008 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16009 backends where it makes sense (bug#2623).
16010
dcc88d8a
LMI
160112011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16012
c3de9feb
LMI
16013 * dired-x.el (dired-guess-default): Remove duplicate shell command
16014 entries (bug#2028).
8a93078b 16015 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16016 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16017
dcc88d8a
LMI
16018 * subr.el (remove-duplicates): New conveniency function.
16019
505e3645
LMI
160202011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16021
16022 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16023 (bug#1526).
16024
160252011-07-10 Martin Rudalics <rudalics@gmx.at>
16026
16027 * window.el (display-buffer-normalize-default): Don't invert
16028 meaning of even-window-heights. Reported by Eli Zaretskii
16029 <eliz@gnu.org>.
16030
455e4fa1
BR
160312011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16032
16033 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16034
8e0bc3e9
CY
160352011-07-10 Chong Yidong <cyd@stupidchicken.com>
16036
16037 * window.el (display-buffer): Fix arguments to
16038 display-buffer-reuse-window in last change.
16039
fa7c3228
CY
16040 * faces.el (link): Use a less saturated blue on light backgrounds.
16041
16042 * startup.el (fancy-startup-text, fancy-about-text)
16043 (fancy-startup-tail): Use font-lock faces, for background safety.
16044
c0a7f300
BN
160452011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16046
b796c9b7
SM
16047 * emulation/viper-cmd.el (viper-change-state-to-vi):
16048 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16049
4dc2a129
MR
160502011-07-09 Martin Rudalics <rudalics@gmx.at>
16051
16052 * window.el (display-buffer-default-specifiers): Remove.
16053 (display-buffer-macro-specifiers): Remove default specifiers.
16054 (display-buffer-alist): Default to nil.
b796c9b7 16055 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16056 (display-buffer-pop-up-window): Allow splitting internal
16057 windows. Check whether a live window was created.
16058 (display-buffer-other-window-means-other-frame)
16059 (display-buffer-normalize-arguments): Rename to
16060 display-buffer-normalize-argument and rewrite. Set the
16061 other-window specifier.
16062 (display-buffer-normalize-special): New function.
16063 (display-buffer-normalize-options): Rename to
16064 display-buffer-normalize-default and rewrite.
16065 (display-buffer-normalize-options-inhibit): Remove.
16066 (display-buffer-normalize-specifiers): Rewrite.
16067 (display-buffer): Process other-window specifier and call
16068 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16069 more faithfully.
b796c9b7 16070 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16071 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16072 (display-buffer-in-window, display-buffer-alist-set):
16073 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16074 <tassilo@member.fsf.org>.
16075
2d43b8c9
LL
160762011-07-09 Leo Liu <sdl.web@gmail.com>
16077
16078 * register.el (insert-register): Restore accidental change on
16079 2011-06-26. (Bug#9028)
16080
7f9b7c53
GM
160812011-07-09 Glenn Morris <rgm@gnu.org>
16082
16083 * subr.el (remq): Handle the empty list. (Bug#9024)
16084
f042cfd8
AS
160852011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16086
16087 * mail/sendmail.el (send-mail-function): No longer delay custom
16088 initialization.
16089 * custom.el (custom-initialize-delay): Doc fix.
16090
856b2f11
SM
160912011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16092
16093 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16094
afae1d68
MA
160952011-07-08 Michael Albinus <michael.albinus@gmx.de>
16096
16097 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16098 human-friendly prompt.
16099
0757af94
SM
161002011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16101
16102 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16103 provided by a particular plugin.
16104
d760b731
LMI
161052011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16106
16107 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16108 save customizations (with "emacs -Q"), just set the variable
16109 instead of erroring out.
16110
16111 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16112
cd79ce90
JL
161132011-07-08 Juri Linkov <juri@jurta.org>
16114
16115 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16116 (archive-zip-update-case): Use 7z if found by `executable-find'.
16117 The order of searching the available programs is the same as in
16118 `archive-zip-extract' (bug#8968).
16119
14cc04aa
CY
161202011-07-07 Chong Yidong <cyd@stupidchicken.com>
16121
16122 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16123 (menu-bar-options-menu): Tweak descriptions.
16124
0a1848ec
LMI
161252011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16126
16127 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16128 menu items into verb phrases (bug#1421). Also refill to fit under
16129 80 columns.
16130
f5bd0689
CY
161312011-07-07 Chong Yidong <cyd@stupidchicken.com>
16132
538e85c6
CY
16133 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16134 (Info-read-node-name): Doc fix (Bug#1084).
16135
f5bd0689
CY
16136 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16137 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16138 (end-of-sexp, beginning-of-sexp)
16139 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16140 (forward-symbol, forward-same-syntax, word-at-point)
16141 (sentence-at-point): Doc fix (Bug#1144).
16142
56ec5115
LMI
161432011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16144
f3f8e37f
LMI
16145 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16146 should cover it (bug#1281).
16147
0757af94 16148 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16149
e9fce1ac 16150 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16151 negotiation fails, then possibly try again with a non-encrypted
16152 connection (bug#9017).
16153
56ec5115
LMI
16154 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16155 be used.
16156
c2f9aec8
RS
161572011-07-07 Richard Stallman <rms@gnu.org>
16158
16159 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16160 property, and handle its changed format.
16161 Look for the correct line number.
16162 Use file's line contents (but not past first =) to find
16163 correct line in message.
16164
ef7b981d 161652011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16166
16167 * international/characters.el (build-unicode-category-table):
16168 Delete it.
0757af94 16169 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16170
0757af94 16171 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16172 to src/chartab.c.
16173 (get-char-code-property): Call unicode-property-table-internal to
16174 load a file. Call get-unicode-property-internal where necessary.
16175 (put-char-code-property): Call unicode-property-table-internal to
16176 load a file. Call put-unicode-property-internal where necessary.
16177 put-unicode-property-internal where necessary.
0757af94
SM
16178 (char-code-property-description):
16179 Call unicode-property-table-internal to load a file.
c805dec0
KH
16180
16181 * international/charprop.el:
16182 * international/uni-bidi.el:
16183 * international/uni-category.el:
16184 * international/uni-combining.el:
16185 * international/uni-comment.el:
16186 * international/uni-decimal.el:
16187 * international/uni-decomposition.el:
16188 * international/uni-digit.el:
16189 * international/uni-lowercase.el:
16190 * international/uni-mirrored.el:
16191 * international/uni-name.el:
16192 * international/uni-numeric.el:
16193 * international/uni-old-name.el:
16194 * international/uni-titlecase.el:
16195 * international/uni-uppercase.el: Regenerate.
16196
16197 * loadup.el: Load international/charprop.el before
16198 international/characters.
16199
e14b388a
CY
162002011-07-07 Chong Yidong <cyd@stupidchicken.com>
16201
16202 * window.el (next-buffer, previous-buffer): Signal an error if
16203 called from a minibuffer window.
16204
16205 * bindings.el: Revert 2011-07-04 change.
16206
354cf0ba
RS
162072011-07-06 Richard Stallman <rms@gnu.org>
16208
16209 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16210 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16211 Treat markers like ints.
16212 (rmail-mime-entity): Doc fix.
16213
a48868a7
LMI
162142011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16215
4906cd3d
LMI
16216 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16217 defcustom again for backwards compatibility.
16218
e0457abe
LMI
16219 * simple.el (shell-command-on-region): Fill.
16220
d67f7e1f
LMI
16221 * dired-aux.el (dired-kill-line): Add a doc string.
16222
fe204702
LMI
16223 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16224 to "\\sw\\|\\s_" (bug#358).
16225
a48868a7
LMI
16226 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16227 (dired-unmark-backward): Ditto.
16228 (dired-flag-backup-files): Ditto.
16229
16230 * dired-x.el (dired-mark-sexp): Ditto.
16231
aa8a705c
RS
162322011-07-06 Richard Stallman <rms@gnu.org>
16233
16234 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16235 (rmail-mime-entity): New arg TRUNCATED.
16236 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16237 New functions.
16238 (rmail-mime-save): Warn if entity is truncated.
16239 (rmail-mime-toggle-hidden): Likewise, for showing.
16240 (rmail-mime-process-multipart): Record when an entity is truncated.
16241
a9a936b9
RS
16242 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16243 if ENTITY is a string.
16244
1f2b92cb
LMI
162452011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16246
f4f73198 16247 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16248 of faces when `M-C-x'-ing their definitions (bug#8378).
16249 Also clean up the code slightly.
f4f73198 16250
12b16734 16251 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16252 because that makes the colors go away.
12b16734 16253
f0691d22
LMI
16254 * mail/sendmail.el (send-mail-function): Change the default to
16255 `sendmail-query-once'.
9e87df06 16256 (sendmail-query-once): Add an autoload cookie.
f0691d22 16257
1f2b92cb
LMI
16258 * net/network-stream.el (network-stream-open-starttls): Try using
16259 a plain connection even if the server offered STARTTLS, and we
16260 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16261 capability. This should make smtpmail.el work in slightly more
16262 configurations.
16263
1cdd2a1b
MA
162642011-07-06 Michael Albinus <michael.albinus@gmx.de>
16265
16266 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16267 New defun.
16268 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16269
fbcc67e2
MM
162702011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16271
16272 * progmodes/sql.el: Version 3.0
0757af94 16273 (sql-product-alist): Add product :completion-object,
fbcc67e2 16274 :completion-column, and :statement attributes.
0757af94 16275 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16276 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16277 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16278 ansi keywords.
16279 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 16280 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
16281 (sql-oracle-show-reserved-words): New function for development.
16282 (sql-product-font-lock): Simplify for source code buffers.
16283 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16284 New functions.
16285 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
16286 (sql-mode-map): Add statement movement functions.
16287 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16288 New variable.
fbcc67e2
MM
16289 (sql-statement-regexp, sql-beginning-of-statement)
16290 (sql-end-of-statement, sql-signum): New functions.
0757af94 16291 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
16292 (sql-show-sqli-buffer): Bug fix.
16293 (sql-interactive-mode): Store connection data as buffer local.
0757af94 16294 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
16295 with sql-interactive-mode.
16296 (sql-save-connection): Save buffer local settings.
0757af94 16297 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
16298 (sql-product-interactive): Bug fix.
16299 (sql-preoutput-hold): New variable.
16300 (sql-interactive-remove-continuation-prompt): Bug fixes.
16301 (sql-debug-redirect): New variable.
16302 (sql-str-literal): New function.
16303 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 16304 Redesign.
fbcc67e2
MM
16305 (sql-oracle-save-settings, sql-oracle-restore-settings)
16306 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16307 (sql-completion-object, sql-completion-column)
16308 (sql-completion-sqlbuf): New variables.
16309 (sql-build-completions-1, sql-build-completions)
16310 (sql-try-completion): New functions.
16311 (sql-read-table-name): Use them.
16312 (sql-contains-names): New buffer local variable.
16313 (sql-list-all, sql-list-table): Use it.
16314 (sql-oracle-completion-types): New variable.
16315 (sql-oracle-completion-object, sql-sqlite-completion-object)
16316 (sql-postgres-completion-object): New functions.
16317
d4eaeab1
GM
163182011-07-06 Glenn Morris <rgm@gnu.org>
16319
16320 * window.el (pop-to-buffer): Doc fix.
16321
322b7dab 163222011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16323
16324 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16325
322b7dab 163262011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16327
322b7dab 16328 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16329
322b7dab 16330 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16331
605dd5bf
CY
163322011-07-05 Chong Yidong <cyd@stupidchicken.com>
16333
16334 * button.el (button): Inherit from link face. Suggested by Dan
16335 Nicolaescu.
16336
7dbfa719
SM
163372011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16338
3db614b0
SM
16339 * progmodes/gdb-mi.el: Fit in 80 columns.
16340 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16341 switch-to-buffer.
16342
7dbfa719
SM
16343 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16344 if imenu is simply not configured (bug#8941).
16345
919d884a
KM
163462011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16347
16348 * allout.el (allout-post-undo-hook): New allout outline-change
16349 event hook to signal undo activity.
16350 (allout-post-command-business): Run allout-post-undo-hook if an
16351 undo just occurred.
7dbfa719
SM
16352 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16353 * allout-widgets.el (allout-widgets-after-undo-function):
16354 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16355 in the vicinity of an undo.
16356 (allout-widgets-mode): Include allout-widgets-after-undo-function
16357 on the new allout-post-undo-hook.
16358
450a0f09
SM
163592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16360
16361 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16362 Let define-derived-mode define it.
16363 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16364 cycles of abbrev-table inheritance (bug#8998).
16365
2de69e00
RW
163662011-07-05 Roland Winkler <winkler@gnu.org>
16367
16368 * textmodes/bibtex.el: Add support for biblatex.
16369 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16370 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16371 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16372 (bibtex-entry-alist, bibtex-field-alist): New variables.
16373 (bibtex-entry-field-alist): Obsolete alias for
16374 bibtex-BibTeX-entry-alist.
16375 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16376 (bibtex-set-dialect): New command.
16377 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16378 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16379 Bind via bibtex-set-dialect.
2de69e00
RW
16380 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16381 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16382 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16383 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16384 Define via bibtex-set-dialect.
450a0f09
SM
16385 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16386 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16387 (bibtex-vec-push, bibtex-vec-incr): New functions.
16388 (bibtex-format-entry, bibtex-field-list)
16389 (bibtex-print-help-message, bibtex-validate)
16390 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16391
2dcdbdd9
SM
163922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16393
16394 * progmodes/compile.el (compilation-goto-locus):
16395 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16396 * bs.el (bs-cycle-next, bs-cycle-previous):
16397 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16398 * bindings.el (mode-line-other-buffer):
16399 * autoinsert.el (auto-insert):
16400 * arc-mode.el (archive-extract):
16401 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16402
b27640fe
JB
164032011-07-05 Juanma Barranquero <lekktu@gmail.com>
16404
16405 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16406 Fix check of `emacs-lock-unlockable-modes'.
16407 Coerce true values of `emacs-lock--try-unlocking' to t.
16408
53bbe3ad
JB
164092011-07-05 Juanma Barranquero <lekktu@gmail.com>
16410
16411 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16412 * emacs-lock.el: New file.
16413
1d3cdbc7
JD
164142011-07-05 Julien Danjou <julien@danjou.info>
16415
16416 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16417 than `boundp' to check if face is set.
16418
9173deec
JB
164192011-07-05 Juanma Barranquero <lekktu@gmail.com>
16420
16421 * register.el (registerv-make):
16422 * window.el (window-min-height): Fix typos in docstrings.
16423
869795d6
JD
164242011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16425
9173deec 16426 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16427 Update doc string.
16428
b768cdcd
JB
164292011-07-04 Juanma Barranquero <lekktu@gmail.com>
16430
16431 * server.el (server-execute): Catch quit and call
16432 `server-return-error' to pass the error back to emacsclient and
16433 close the connection (bug#8942).
16434
13aa217b
KM
164352011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16436
16437 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16438 insecure exception for current topic. Also note that auto-saves
16439 are handled differently.
16440
5d3385a0 16441 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16442 State variables for tracking auto-save inhibition situation.
16443
16444 (allout-write-contents-hook-handler): Rename from
16445 'allout-write-file-hook-handler', and describe how it depends on
16446 write-contents-functions sensitivity to non-nil value to prevent
16447 file write.
16448
16449 (allout-auto-save-hook-handler): Remove. auto-save does not check
16450 this in individual buffers, only in the starting buffer, so this
16451 is not the right way for us to inhibit auto-save in a buffer
16452 according to its condition.
16453
16454 (allout-mode): Use new allout-write-contents-hook-handler, and
16455 only with write-contents-functions. Remove auto-save provisions -
16456 they're implemented elsewhere.
16457
16458 (allout-before-change-handler): If undo is in progress, note that
16459 for attention of allout-post-command-business.
16460
16461 (allout-post-command-business): If the command we're following was
16462 an undo, check for change in the status of encrypted items and
16463 adjust auto-save inhibitions accordingly.
16464
16465 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16466 according to whether there are or aren't any plain-text topics
16467 pending encryption.
16468
2dcdbdd9 16469 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16470 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16471 if there are plain-text topics pending encryption.
13aa217b
KM
16472
16473 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16474 buffer-saved-size and some allout state to not inhibit auto-saves
16475 if there are no longer any plain-text topics pending encryption.
16476
0757af94
SM
16477 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16478 No longer provide for exemption of the current topic.
13aa217b 16479
ac89b32c
JL
164802011-07-04 Juri Linkov <juri@jurta.org>
16481
16482 Add 7z operations to delete and save changed members (bug#8968).
16483 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16484 New defcustoms.
16485 (archive-7z-write-file-member): New function.
16486 (archive-7z-summarize): Fix the number of dashes in the
16487 listing output.
16488
8fa39615
SM
164892011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16490
16491 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16492 (bug#8958).
16493
2f11b3f1
CY
164942011-07-04 Chong Yidong <cyd@stupidchicken.com>
16495
d66fef2b
CY
16496 * bindings.el: Ignore next-buffer and previous-buffer in
16497 minibuffer-local-map.
16498
2f11b3f1
CY
16499 * font-lock.el (font-lock-builtin-face): Change light background
16500 color to dark slate blue (Bug#6693).
16501
f932a347
WD
165022011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16503
16504 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16505
c8af70e1
SM
165062011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16507
16508 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16509 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16510 Add switch-to-buffer.
16511
f158badc
LMI
165122011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16513
16514 * isearch.el (isearch-search-fun-function): Clarify further the
16515 meaning of the function returned.
16516
6d95bd46
MA
165172011-07-04 Michael Albinus <michael.albinus@gmx.de>
16518
16519 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16520
16521 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16522 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16523 Use it.
16524 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16525 `tramp-default-remote-path' does not exist.
16526 (tramp-send-command-and-read): New optional argument NOERROR.
16527 (tramp-open-connection-setup-interactive-shell)
16528 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16529 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16530 (tramp-process-sentinel): Flush also process' connection property.
16531 (tramp-sh-handle-start-file-process): Do not set process
16532 sentinel. It is done now ...
16533 (tramp-maybe-open-connection): ... here. (Bug#8929)
16534
909e6b67
MK
165352011-07-04 MON KEY <monkey@sandpframing.com>
16536
16537 * play/animate.el (animate-string): Doc fixes and allow changing
16538 the buffer name (bug#5417).
16539
165402011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16541
c8af70e1 16542 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16543
f34755dc
PE
165442011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16545
396cec72
PE
16546 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16547 This is simpler and helps future-proof the code.
16548 (timer-until): Use time-subtract and float-time.
08235028 16549 (timer--time-less-p): Use time-less-p.
f34755dc 16550
56e6cc31
JB
165512011-07-04 Juanma Barranquero <lekktu@gmail.com>
16552
3abb79e5
JB
16553 * type-break.el (timep): Use the value of `float-time' to avoid a
16554 byte-compiler warning.
16555
56e6cc31
JB
16556 * server.el (server-eval-and-print): Return any result, even nil.
16557
7b9430b4
PE
165582011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16559
16560 * type-break.el: Accept time formats that the builtins accept.
16561 (timep, type-break-time-difference): Accept any format that
16562 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16563 This is simpler and helps future-proof the code.
16564 (type-break-time-difference): Round rather than ignoring
16565 subseconds components.
16566
3034e9e7
LMI
165672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16568
16569 * info.el (Info-apropos-matches): Make non-interactive, since it
16570 doesn't seem to do anything useful as a command (bug#8829).
16571
1485f4c0
CY
165722011-07-03 Chong Yidong <cyd@stupidchicken.com>
16573
16574 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16575 Move from faces.el.
1485f4c0
CY
16576 (frame-default-terminal-background): New function.
16577
16578 * custom.el (custom-push-theme): Don't record faces in `changed'
16579 theme; this doesn't work correctly for per-frame face settings.
16580 (disable-theme): Use face-set-after-frame-default to reset faces.
16581 (custom--frame-color-default): New function.
16582
9fa3dd45
LMI
165832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16584
c8af70e1 16585 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16586 (bug#8769).
16587
6cbbc20c
KR
165882011-03-29 Kevin Ryde <user42@zip.com.au>
16589
16590 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16591 `perl-Test2' extend to match possible "fail #N" rep count
16592 (bug#8377).
16593
c7f98048
LMI
165942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16595
65676592
LMI
16596 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16597 `smtpmail-via-smtp' now returns the error instead of nil.
16598
c7f98048
LMI
16599 * isearch.el (isearch-search-fun-function): Clarify the doc string
16600 (bug#8101).
16601
56e6cc31 166022011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16603
16604 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16605 unnecessary spaces (bug#8987).
16606
2b216704
LMI
166072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16608
16609 * net/network-stream.el (open-network-stream): Use the
16610 :end-of-capability command thoughout.
16611
166122011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16613
16614 * net/network-stream.el (open-network-stream): Add the
16615 :end-of-capability command parameter, used by pop3.el.
16616
36adf6ce
LMI
166172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16618
1ca0da0e
LMI
16619 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16620
fc00f69c
LMI
16621 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16622 for list)" (bug#6475).
16623
28fd8759 16624 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16625 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16626 an error (bug#6297).
16627
0dd8b6da
LMI
16628 * man.el (Man-reference-regexp): Allow matching possible
16629 word-wrapped references (bug#6289).
16630
ce1438d6
LMI
16631 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16632 for consistency with the other vc buffers (bug#6197).
16633 (vc-checkin): Ditto.
16634
16635 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16636
36adf6ce
LMI
16637 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16638
e83cc1f7
LMI
166392011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16640
8a20ca4c
LMI
16641 * custom.el (defcustom): Clarify that :set is only used in the
16642 Customize user interface (bug#6089).
16643
83319045
LMI
16644 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16645 associated with a file, refuse to run instead of erroring out
16646 (bug#6084).
16647
a8392169
LMI
16648 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16649 the doc string, since it appears that using `fill-column' always
16650 controls the width (bug#7845).
16651
e83cc1f7
LMI
16652 * simple.el (shell-command-on-region): Say where the error output
16653 went if `shell-command-default-error-buffer' is set (bug#6857).
16654
e47ca23b
KM
166552011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16656
16657 * allout.el (allout-yank-processing): Adjust cursor position for
16658 backwards-deleted space.
16659
16660 (allout-rebullet-heading): Register changes with
16661 allout-exposure-changed-hook, so the modified topic is properly
16662 decorated.
16663
5cf56143
LMI
166642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16665
08549772
LMI
16666 * minibuffer.el (completion-in-region): Document PREDICATE
16667 (bug#7136).
16668
48e96771
LMI
16669 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16670 of keyword/argument pairs (bug#6904).
16671
c8af70e1
SM
16672 * replace.el (multi-occur):
16673 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16674
e17d05e2
LMI
166752011-07-02 Drew Adams <drew.adams@oracle.com>
16676
16677 * dired.el (dired-mark-if): Make the message about whether it's
16678 marking or unmarking clearer (bug#8523).
16679
063b0e45
LMI
166802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16681
16682 * disp-table.el (display-table-print-array): New function.
16683 (describe-display-table): Use it to print the vectors more pretty
16684 (Bug#8859).
16685
28545e04
MR
166862011-07-02 Martin Rudalics <rudalics@gmx.at>
16687
16688 * window.el (window-state-get-1): Don't assign clone numbers.
16689 Add clone-of item to list of window parameters.
16690 (window-state-put-2): Don't process clone numbers.
16691 (display-buffer-alist): Fix doc-string.
16692
3349e122
SM
166932011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16694
16695 * subr.el (remq): Don't allocate if it's not needed.
16696 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16697 (keymap--merge-bindings): New functions.
16698 (keymap-canonicalize): Use them to refine the canonicalization.
16699 * minibuffer.el (minibuffer-local-completion-map)
16700 (minibuffer-local-must-match-map): Move initialization from C.
16701 (minibuffer-local-filename-completion-map): Move initialization from C;
16702 don't inherit from anything here.
16703 (minibuffer-local-filename-must-match-map): Make obsolete.
16704 (completing-read-default): Use make-composed-keymap to combine
16705 minibuffer-local-filename-completion-map with either
16706 minibuffer-local-must-match-map or
16707 minibuffer-local-filename-completion-map.
16708
d224ac83
GM
167092011-07-01 Glenn Morris <rgm@gnu.org>
16710
3de63bf8
GM
16711 * type-break.el (type-break-time-sum): Use dolist.
16712
d224ac83
GM
16713 * textmodes/flyspell.el (flyspell-word-search-backward):
16714 Replace CL function.
16715
1a1e3f32
SM
167162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16717
fe3f64d5
SM
16718 * mouse.el (mouse--strip-first-event): New function.
16719 (function-key-map): Use it to map fringe clicks to normal clicks
16720 by default.
16721
eb604e34
SM
16722 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16723 (vc-bzr-revision-completion-table): Add support for annotate and date.
16724
1a1e3f32
SM
16725 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16726 inherit from parent.
16727
5bd35902
LMI
167282011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16729
ace6c69c 16730 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16731 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16732
191e2bed
LMI
16733 * dired.el (dired-mode): Fix up the doc string as suggested by
16734 Drew Adams (bug#8817).
16735
5bd35902
LMI
16736 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16737 cookie, since the manual says that it should be possible to add
16738 this function to `find-file-hook' (bug#8709).
16739
eee8207a
TZ
167402011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16741
16742 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16743 here. Noted Ted Zlatanov as the maintainer.
16744 (cfengine-common-settings, cfengine-common-syntax): New functions
16745 to set up common things between `cfengine-mode' and
16746 `cfengine3-mode'.
16747 (cfengine3-mode): New mode.
16748 (cfengine3-defuns cfengine3-defuns-regex
16749 (cfengine3-class-selector-regex cfengine3-category-regex)
16750 (cfengine3-vartypes cfengine3-font-lock-keywords)
16751 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16752 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16753
36b148cf
MA
167542011-07-01 Michael Albinus <michael.albinus@gmx.de>
16755
16756 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16757
16758 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16759
0bf4ba9a
MR
167602011-07-01 Martin Rudalics <rudalics@gmx.at>
16761
16762 * window.el (same-window-buffer-names, same-window-regexps)
16763 (same-window-p, special-display-frame-alist)
16764 (special-display-popup-frame, special-display-function)
16765 (special-display-buffer-names, special-display-regexps)
16766 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16767 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16768 (split-window-preferred-function, split-height-threshold)
16769 (split-width-threshold, even-window-heights)
16770 (display-buffer-mark-dedicated, window-splittable-p)
16771 (split-window-sensibly, window-safely-shrinkable-p):
16772 Un-obsolete.
16773 (display-buffer): Don't spread args with function specifier
16774 because special-display-popup-frame won't like it.
16775
35837f51
PE
167762011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16777
d0672f86
PE
16778 Time-stamp simplifications and fixes.
16779 These improve accuracy slightly, and future-proof the code
16780 against some potential changes to current-time format.
16781
b9444d97
PE
16782 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16783 by using time-since and float-time.
16784
0ef923dc
PE
16785 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16786 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16787 + NNN microseconds".
16788
2f81380d
PE
16789 * type-break.el (type-break-time-sum): Rewrite using time-add.
16790
845b5c3e
PE
16791 * play/hanoi.el (hanoi-current-time-float): Remove.
16792 All uses replaced by float-time.
16793
ee6f1be0
PE
16794 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16795 This yields a more-accurate answer.
16796 (rng-time-to-float): Remove; no longer needed.
16797
fe955043
PE
16798 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16799
5777162a
PE
16800 * calendar/timeclock.el (timeclock-seconds-to-time):
16801 Defalias to seconds-to-time, since they're the same thing.
16802
3103f8b6 16803 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16804 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16805 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16806
0e61a35f
SM
168072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16808
16809 * window.el (bury-buffer): Don't iconify the only frame.
16810 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16811 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16812
ddd63a1e
CY
168132011-07-01 Chong Yidong <cyd@stupidchicken.com>
16814
0e61a35f
SM
16815 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16816 Add mouse-yank-primary.
ddd63a1e 16817
055f4923
TZ
168182011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16819
16820 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16821
6a2fb145
SM
168222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16823
16824 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16825 (find-library-name): Use it to find relative load names when provided
16826 absolute file name (bug#8803).
16827
fd4983f2
LMI
168282011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16829
887d14ad
LMI
16830 * textmodes/flyspell.el (flyspell-word): Consider words that
16831 differ only in case as potential doublons (bug#5687).
16832
c53dc7fc
LMI
16833 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16834 Remove two rather uninteresting debugging-like messages to make
16835 debbugs.el more silent.
16836
fd4983f2
LMI
16837 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16838 a password-like phrase.
16839
7a71b18d 168402011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16841
16842 * progmodes/cc-guess.el: New file.
16843
6a2fb145 16844 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16845
16846 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16847 derived from `c-basic-common-init'.
16848
16849 * progmodes/cc-mode.el (top-level): Require cc-guess.
16850 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16851
1fa280a3
LM
168522011-06-30 Lawrence Mitchell <wence@gmx.li>
16853
16854 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16855
e6597158
AM
168562011-06-30 Alan Mackenzie <acm@muc.de>
16857
1fa280a3
LM
16858 * progmodes/cc-engine.el (c-guess-continued-construct):
16859 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16860 lock is disabled. Name this case as "CASE G".
16861
68ba37fb
KM
168622011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16863
16864 * allout.el (allout-yank-processing): Fix injection of extra space
16865 between bullet and non-whitespace character in first topic when
16866 pasting, ensuring that the actual spacing in the pasted topic
16867 following the bullet char is preserved. This extra space was
16868 causing pasted encrypted topics to get a decrypted status even
16869 when the content was actually still encrypted. Now the decryption
16870 status from before the paste is preserved.
16871
16872 (allout-flag-region): Set all allout overlays so they evaporate
16873 when reduced to zero length (evanescent), to prevent overlay
16874 leakage.
16875
887a0b34
GM
168762011-06-30 Glenn Morris <rgm@gnu.org>
16877
94b9acce
GM
16878 * w32-fns.el (w32-charset-info-alist): Declare.
16879
1d9b46d4
GM
16880 * find-dired.el (find-grep-options): Simplify.
16881
cc232200
GM
16882 * term/ns-win.el (ns-set-resource): Declare.
16883
28e77c46
GM
16884 * ses.el (row, col): Declare dynamic variables honestly.
16885
887a0b34
GM
16886 * textmodes/reftex-parse.el (index-tags): Declare.
16887
658d8eb8
CY
168882011-06-30 Chong Yidong <cyd@stupidchicken.com>
16889
16890 * cus-edit.el (customize-push-and-save): New function.
16891
16892 * files.el (hack-local-variables-confirm): Use it.
16893
1fa280a3
LM
16894 * custom.el (load-theme): New arg NO-CONFIRM.
16895 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16896 (custom-enabled-themes): Doc fix.
16897
16898 * cus-theme.el (customize-create-theme)
16899 (custom-theme-merge-theme): Callers to load-theme changed.
16900
bb617717
LMI
169012011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16902
d61bdd5d
LMI
16903 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16904 short URLs have at least one dot in them (bug #7614).
16905
bb617717
LMI
16906 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16907 nil, because using a pty is apparently too slow (bug #895).
16908
2f31f37a
LMI
169092011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16910
16911 * mail/sendmail.el (sendmail-query-once): New function.
16912 (sendmail-query-once-function): New variable.
16913
3076b24e
GM
169142011-06-29 Glenn Morris <rgm@gnu.org>
16915
faf2a174
GM
16916 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16917
3076b24e
GM
16918 * ses.el (top-level): Require cl when compiling.
16919 (ses-set-localvars): Fix error statement.
16920 Call it at compile time to silence a storm of warnings.
16921
5386012d
MR
169222011-06-29 Martin Rudalics <rudalics@gmx.at>
16923
16924 * window.el (normalize-live-buffer): Rename to
16925 window-normalize-buffer.
16926 (normalize-live-frame): Rename to window-normalize-frame.
16927 (normalize-any-window): Rename to window-normalize-any-window.
16928 (normalize-live-window): Rename to window-normalize-live-window.
16929 (make-window-atom): Rename to window-make-atom.
16930 (window-resize-reset): Rename to window--resize-reset.
16931 (window-resize-reset-1): Rename to window--resize-reset-1.
16932 (resize-mini-window): Rename to window--resize-mini-window.
16933 (resize-subwindows-skip-p): Rename to
16934 window--resize-subwindows-skip-p.
16935 (resize-subwindows-normal): Rename to
16936 window--resize-subwindows-normal.
16937 (resize-subwindows): Rename to window--resize-subwindows.
16938 (resize-other-windows): Rename to window--resize-siblings.
16939 (resize-this-window): Rename to window--resize-this-window.
16940 (resize-root-window): Rename to window--resize-root-window.
16941 (resize-root-window-vertically): Rename to
16942 window--resize-root-window-vertically.
16943 (normalize-buffer-to-display): Rename to
16944 window-normalize-buffer-to-display.
16945 (normalize-buffer-to-switch-to): Rename to
16946 window-normalize-buffer-to-switch-to.
16947 Correspondingly update all callers of the functions listed
16948 above.
16949 (display-buffer-alist, display-buffer-normalize-arguments)
16950 (display-buffer-normalize-options, display-buffer)
16951 (display-buffer-alist-set): Use "function" instead of
16952 "fun-with-args".
16953
1176868d
CY
169542011-06-28 Chong Yidong <cyd@stupidchicken.com>
16955
16956 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16957 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16958 debbugs.gnu.org. Mention acknowledgment email.
16959
20a7a65f
LMI
169602011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16961
16962 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16963 buffer multibyteness, since it shouldn't matter.
16964
5f45cca5
MR
169652011-06-28 Martin Rudalics <rudalics@gmx.at>
16966
16967 * window.el (display-buffer-in-side-window): Handle dedicated
16968 windows as in display-buffer-reuse-window.
16969 (display-buffer-normalize-alist): Use value of override
16970 specifier.
16971 (display-buffer-normalize-specifiers): Use value of
16972 other-window-means-other-frame specifier.
16973 (display-buffer-alist): Rewrite some texts in widgets.
16974 (display-buffer): Spread arguments when calling function
16975 specified by fun-with-args.
16976
ad85fe1f
DD
169772011-06-28 Deniz Dogan <deniz@dogan.se>
16978
1fa280a3
LM
16979 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16980 Unnest `let'.
da68c4c8 16981
ad85fe1f
DD
16982 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16983 selectors (Bug#5732).
ec49bd31 16984 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16985
a08cc025
JA
169862011-06-27 Jari Aalto <jari.aalto@cante.net>
16987
16988 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16989 (eshell-ls-date-format): New defcustom.
16990 (eshell-ls-file): Use it.
16991
e2b551c5
SM
169922011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16993
16994 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16995
8982b231
KY
169962011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16997
16998 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16999 (ange-ftp-make-tmp-name): New arg.
17000 (ange-ftp-file-local-copy): Use it.
17001
36c9fa27
J
170022011-06-27 Jambunathan K <kjambunathan@gmail.com>
17003
17004 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17005 no-conversion (Bug#8870).
17006
d68443dc
MR
170072011-06-27 Martin Rudalics <rudalics@gmx.at>
17008
17009 * window.el (window-right, window-left, window-child)
17010 (window-child-count, window-last-child)
17011 (window-iso-combination-p, walk-window-tree-1)
17012 (window-atom-check-1, window-tree-1, delete-window)
17013 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17014 new naming conventions - window-vchild, window-hchild,
17015 window-next and window-prev are now called window-top-child,
17016 window-left-child, window-next-sibling and window-prev-sibling
17017 respectively.
d615d6d2
MR
17018 (resize-window-reset): Rename to window-resize-reset.
17019 (resize-window-reset-1): Rename to window-resize-reset-1.
17020 (resize-window): Rename to window-resize.
17021 (window-min-height, window-min-width)
17022 (resize-mini-window, resize-this-window, resize-root-window)
17023 (resize-root-window-vertically, adjust-window-trailing-edge)
17024 (enlarge-window, shrink-window, maximize-window)
17025 (minimize-window, delete-window, quit-restore-window)
17026 (split-window, balance-windows, balance-windows-area-adjust)
17027 (balance-windows-area, window-state-put-2)
17028 (display-buffer-even-window-sizes, display-buffer-set-height)
17029 (display-buffer-set-width, set-window-text-height)
17030 (fit-window-to-buffer): Rename all "resize-window" prefixed
17031 calls to use the "window-resize" prefix convention.
17032 (display-buffer-alist): Fix symbol for label specifier.
17033 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17034 corresponding specifier.
17035 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17036
b6458526
VB
170372011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17038
17039 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17040 convention.
17041 (ses-call-printer): Does not pass an empty string to formatter when the
17042 cell is empty to keep from barking printer Calc math-format-value.
17043
d31fd9ac
RS
170442011-06-27 Richard Stallman <rms@gnu.org>
17045
43d5bf84
RS
17046 * battery.el (battery-mode-line-limit): New variable.
17047 (battery-update): Handle it.
17048
d31fd9ac
RS
17049 * mail/rmailmm.el (rmail-mime-process-multipart):
17050 Handle truncated messages.
17051
819a6054
GM
170522011-06-27 Glenn Morris <rgm@gnu.org>
17053
17054 * progmodes/flymake.el (flymake-err-line-patterns):
17055 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17056
cedc73f2
VB
170572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17058
819a6054 17059 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17060 (ses--clean-!, ses--clean-_): New functions.
17061 (ses-range): Add configurability of readout order, and conversion
17062 to Calc vector.
17063
5e5d49b6
VB
17064 * ses.el (ses-repair-cell-reference-all): New function.
17065 (ses-cell-symbol): Set macro as safe, so that it can be used in
17066 formulas.
17067
56e6cc31 17068 * ses.el: Update cycle detection algorithm.
90ca8b49 17069 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17070 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17071 (ses-set-localvars): New function.
17072 (ses-make-cell): Add property-list as a cell element.
17073 (ses-cell-property-get-fun, ses-cell-property-get)
17074 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17075 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17076 New functions.
90ca8b49
VB
17077 (ses-cell-property-set, ses-cell-property-pop)
17078 (ses-cell-property-get-handle): New macro.
17079 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17080 New aliases, used for code readability.
17081 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17082 cycle detection.
17083 (ses-self-reference-early-detection): New defcustom.
fac916bf 17084 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17085 (ses-mode): Use ses-set-localvars.
17086 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17087 before lauching the update processing.
17088 (ses-initialize-Dijkstra-attempt): New function.
17089 (ses-recalculate-cell): Update for cycle detection based on
17090 Dijkstra algorithm.
17091
2bb63e81
VB
17092 * ses.el: Fix commenting and indenting convention.
17093
c9d29fb8
SM
170942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17095
17096 * bs.el (bs-cycle-next): Complete last change.
17097
d8e4b68b
JB
170982011-06-27 Drew Adams <drew.adams@oracle.com>
17099
17100 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17101
40098786
LMI
171022011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17103
c9d29fb8
SM
17104 * net/network-stream.el (network-stream-open-starttls):
17105 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17106 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17107
40098786
LMI
17108 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17109 to binary to possibly avoid line encoding issues on Windows (among
17110 other things).
17111
468d09d4
LMI
171122011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17113
17114 * net/network-stream.el (open-network-stream): Return an :error
17115 saying what the problem was, if possible.
17116
17117 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17118 server.
17119
17120 * net/network-stream.el (network-stream-open-starttls): If we
17121 wanted to use STARTTLS, and the server offered it, but we weren't
17122 able to because we had no STARTTLS support, then close the connection.
17123 (open-network-stream): Return an :error element, if present.
17124
16f07dd7
CY
171252011-06-26 Chong Yidong <cyd@stupidchicken.com>
17126
88821ca0
CY
17127 * hl-line.el (hl-line-sticky-flag): Doc fix.
17128 (global-hl-line-sticky-flag): New option (Bug#8323).
17129 (global-hl-line-highlight): Obey it.
17130
16f07dd7
CY
17131 * vc/vc.el (vc-revert-show-diff): Default to t.
17132
6b5ccddf
KM
171332011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17134
c9d29fb8
SM
17135 * allout-widgets.el (allout-widgets-post-command-business):
17136 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17137 undecorated when an isearch is continued past, and isearch
17138 automatically collapses them. This leads to "widget leaks", where
17139 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17140 hidden widgets can slow down cursor travel, substantially.
17141 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17142 so we're doing without this nicety.
17143
17144 (allout-widgets-tally-string): Don't try to do a hash-table-count
17145 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17146 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17147 *Messages* when allout-widgets-maintain-tally is t.
17148
355f2e07
MR
171492011-06-26 Martin Rudalics <rudalics@gmx.at>
17150
17151 * window.el (display-buffer-normalize-argument): Rename to
17152 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17153 LABEL argument. Respect special-display-function when popping up
17154 a new frame. Fix code searching for a window showing the buffer
17155 on another frame.
c9d29fb8
SM
17156 (display-buffer-normalize-specifiers):
17157 Call display-buffer-normalize-arguments.
355f2e07
MR
17158 (display-buffer-in-window): Don't undedicate the window if its
17159 buffer remains the same.
17160 Reported by Drew Adams <drew.adams@oracle.com>.
17161 (display-buffer-alist): Add choice for same-window macro
17162 specfier.
17163 (display-buffer): Mention special meaning of LABEL argument in
17164 doc-string. Fix quoting. Don't pop up a new frame even as
17165 fallback.
17166
7ca8fc42
JB
171672011-06-26 Juanma Barranquero <lekktu@gmail.com>
17168
17169 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17170 avoid deleting the current window in some cases (bug#8911).
17171
bc312254
AS
171722011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17173
17174 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17175 (Bug#8934)
17176
2db18f3f
LMI
171772011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17178
c9d29fb8
SM
17179 * net/network-stream.el (network-stream-open-starttls):
17180 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17181 (network-stream-open-tls): Ditto.
17182
6302e0d3
LL
171832011-06-26 Leo Liu <sdl.web@gmail.com>
17184
17185 * register.el (registerv): New struct.
17186 (registerv-make): New function.
c9d29fb8
SM
17187 (jump-to-register, describe-register-1, insert-register):
17188 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17189 struct. (Bug#8415)
17190
5fdd4046
CY
171912011-06-26 Chong Yidong <cyd@stupidchicken.com>
17192
2afef60a
CY
17193 * vc/vc.el (vc-revert-show-diff): New defcustom.
17194 (vc-diff-internal): New arg specifying diff buffer.
17195 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17196 reuse an existing *vc-diff* buffer (Bug#8927).
17197
5fdd4046
CY
17198 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17199
e93db24a
GM
172002011-06-26 Glenn Morris <rgm@gnu.org>
17201
17202 * progmodes/f90.el (f90-critical-indent): New option.
17203 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17204 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17205 (f90-mode): Doc fix.
17206 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17207 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17208 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17209 (f90-match-end): Handle block, critical.
17210
eefff499
GM
172112011-06-25 Glenn Morris <rgm@gnu.org>
17212
f6ba4cc9
GM
17213 * calendar/diary-lib.el (diary-included-files): Doc fix.
17214 (diary-include-files): New function, extracted from
17215 diary-include-other-diary-files and diary-mark-included-diary-files.
17216 (diary-include-other-diary-files, diary-mark-included-diary-files):
17217 Just call diary-include-files.
17218 (diary-mark-entries): Reset diary-included-files on first call.
17219
16712304
GM
17220 * calendar/diary-lib.el (diary-mark-entries)
17221 (diary-mark-included-diary-files):
17222 Visit included diary-files in temp buffers.
17223
5d8e0d43
GM
17224 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17225 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17226 (f90-start-block-re, f90-imenu-generic-expression)
17227 (f90-looking-at-program-block-start, f90-no-block-limit):
17228 Add support for submodules.
17229
ccf7a5d5
GM
17230 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17231 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17232
11fdef7d 172332011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17234
17235 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17236 buffer-file-type before setting its value, to avoid disastrous
eefff499 17237 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17238
74f53697
JB
172392011-06-25 Juanma Barranquero <lekktu@gmail.com>
17240
17241 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17242
17243 * ses.el (ses-unload-function):
17244 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17245
17246 * proced.el (proced-unload-function):
17247 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17248
18a4ce5e
AR
172492011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17250
17251 * server.el (server-create-window-system-frame): Add parameters arg.
17252 (server-process-filter): Doc fix. Handle frame-parameters.
17253
519d22cc
JB
172542011-06-25 Juanma Barranquero <lekktu@gmail.com>
17255
17256 Fix bug#8730, bug#8781.
17257
17258 * loadhist.el (unload--set-major-mode): New function.
17259 (unload-feature): Use it.
17260
17261 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17262 (python-unload-function): New function.
17263
c206f5b0
SM
172642011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17265
17266 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17267
f9ad64f3
GS
172682011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17269
17270 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17271 the candidates list.
17272
7d0da90e
JB
172732011-06-24 Juanma Barranquero <lekktu@gmail.com>
17274
17275 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17276
14b4e83d
RS
172772011-06-23 Richard Stallman <rms@gnu.org>
17278
17279 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17280 (rmail-variables): Set next-error-move-function.
17281 (rmail-what-message): Take argument POS.
17282 (rmail-next-error-move): New function.
17283
273d2baf
SM
172842011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17285
17286 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17287 messages for adjacent non-terminals.
17288
56c2cc9a
RS
172892011-06-23 Richard Stallman <rms@gnu.org>
17290
17291 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 17292 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
17293 (rmail-start-mail): Don't specify use of rmail-mail-return;
17294 that's done by mail-bury now.
17295 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 17296
d59eb518
MA
172972011-06-23 Michael Albinus <michael.albinus@gmx.de>
17298
17299 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17300 SIZE is a number.
17301
02cfc6d6
MR
173022011-06-23 Martin Rudalics <rudalics@gmx.at>
17303
17304 * window.el (get-lru-window, get-mru-window)
17305 (get-largest-window): Never return a minibuffer window.
17306 (display-buffer-pop-up-window): Fix a bug that could lead to
17307 reusing the minibuffer window.
17308 (display-buffer): Pass original specifier argument to
17309 display-buffer-function instead of the normalized one.
17310 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17311
4e323265
LL
173122011-06-22 Leo Liu <sdl.web@gmail.com>
17313
17314 * minibuffer.el (completing-read-function)
1f9f395d 17315 (completing-read-default): Move from minibuf.c.
4e323265 17316
7a70468f
RS
173172011-06-22 Richard Stallman <rms@gnu.org>
17318
50718fc2
RS
17319 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17320 to Rmail even if not started by a special Rmail command.
17321
7a70468f
RS
17322 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17323 Copy the buffer currently showing just one message.
17324
297dde5a
RW
173252011-06-22 Roland Winkler <winkler@gnu.org>
17326
17327 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17328 (bibtex-clean-entry): First delete the old key so that a
17329 customized algorithm for generating the new key does not get
17330 confused by the old key.
17331 (bibtex-url): Obey regexp of first step.
17332 (bibtex-search-entries): Do not use add-to-list with local
17333 list-var.
17334
97bb1093
LMI
173352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17336
17337 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17338 stored a user name, then query for the password first, instead of
17339 waiting for SMTP to give an error message and the trying again.
17340
1c0f1a19
JD
173412011-06-22 Lawrence Mitchell <wence@gmx.li>
17342
17343 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17344 BUFFER in call-process.
17345
396f7c9d
LMI
173462011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17347
17348 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17349 QUIT twice.
ddb7ffee
LMI
17350 (smtpmail-try-auth-methods): Require user name and password from
17351 auth-source.
396f7c9d 17352
8998d1b3
MR
173532011-06-22 Martin Rudalics <rudalics@gmx.at>
17354
17355 * window.el (display-buffer-default-specifiers)
17356 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17357 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17358 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17359
17360 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17361 (special-display-frame-alist, special-display-popup-frame):
17362 Remove duplicate declarations. These are now in window.el.
17363
4ea31e07
LMI
173642011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17365
c9d29fb8
SM
17366 * mail/smtpmail.el (smtpmail-via-smtp):
17367 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17368 server supports it. SMTP servers that support STARTTLS commonly
17369 require it.
17370
17371 * net/network-stream.el (network-stream-open-starttls): Support
17372 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17373 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17374
95f41d9a
LMI
17375 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17376 upgrades with `open-network-stream', and rely solely on
17377 auth-source for all credentials. Big changes throughout the file,
17378 but in particular:
c9d29fb8
SM
17379 (smtpmail-auth-credentials): Remove.
17380 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17381 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17382 MAIL FROM, too.
95f41d9a 17383
c9d29fb8
SM
17384 * net/network-stream.el (network-stream-open-starttls):
17385 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17386 STARTTLS.
17387 (auth-source): Require.
17388 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17389 (network-stream-certificate): Change cert-cert to cert and
17390 cert-key to key.
4ea31e07 17391
065ec2c7
MA
173922011-06-21 Michael Albinus <michael.albinus@gmx.de>
17393
17394 * net/tramp-cache.el (top): Don't load the persistency file when
17395 "emacs -Q" has been called.
17396
cd93b359
DR
173972011-06-21 Tim Harper <timcharper@gmail.com>
17398
d8e4b68b
JB
17399 * term/ns-win.el (ns-initialize-window-system):
17400 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17401 resource to NO as it is not yet supported by the NS port.
17402
ae9c0411
JB
174032011-06-21 Juanma Barranquero <lekktu@gmail.com>
17404
17405 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17406 (list-dynamic-libraries): ...not here.
17407
7f3f739f
LL
174082011-06-21 Leo Liu <sdl.web@gmail.com>
17409
17410 * subr.el (sha1): Implement sha1 using secure-hash.
17411
327c8fb1
MR
174122011-06-21 Martin Rudalics <rudalics@gmx.at>
17413
17414 * window.el (display-buffer-alist): In default value do not
17415 enforce searching a window on any but the selected frame.
17416 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17417 (display-buffer-select-window): Remove function.
17418 (display-buffer-in-window): When a window on another frame gets
17419 reused, do not select it any more but just raise its frame if
17420 necessary (Bug#8851) and (Bug#8856).
17421 (display-buffer-normalize-options): Handle pop-up-frames related
17422 options more faithfully.
17423 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17424 window if it is on another frame.
c9d29fb8
SM
17425 (display-buffer-alist, display-buffer-default-specifiers):
17426 Don't make new frame unsplittable by default.
9e9de014
MR
17427 (display-buffer-normalize-argument): Fix doc-string typo and use
17428 'same-frame-other-window instead of 'other-window when associating
17429 with display-buffer-macro-specifiers.
327c8fb1 17430
7cf3f556
VB
174312011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17432
17433 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17434 New functions.
17435 (5x5-mode-map, 5x5-mode-menu): Bind them.
17436 (5x5-draw-grid): Tweak the solver's rendering.
17437
60a406cf
SM
174382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17439
17440 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17441 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17442
d8e4b68b 174432011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17444
17445 * menu-bar.el: Use function variable instead of switch-to-buffer.
17446 (menu-bar-select-buffer-function): New variable.
60a406cf 17447 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17448
478d6f95
SM
174492011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17450
17451 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17452 variable's status.
17453
ca530739
JD
174542011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17455
17456 * x-dnd.el (x-dnd-version-from-flags)
17457 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17458 and long as number (Bug#8899).
17459 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17460
bcd70d97
SM
174612011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17462
60a406cf 17463 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17464 (completion-try-completion, completion-all-completions): Compute the
17465 metadata argument if it's missing; make it optional (bug#8795).
17466
60a406cf 17467 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17468 (widget-complete): Use new :completion-function property.
17469 (widget-completions-at-point): New function.
17470 (default): Use :completion-function instead of :complete.
60a406cf
SM
17471 (widget-default-completions): Rename from widget-default-complete;
17472 Rewrite.
bcd70d97
SM
17473 (widget-string-complete, widget-file-complete, widget-color-complete):
17474 Remove functions.
17475 (file, symbol, function, variable, coding-system, color):
17476 * international/mule-cmds.el (default-input-method, charset)
17477 (language-info-custom-alist):
17478 * cus-edit.el (face): Use new property :completions.
17479
17480 * progmodes/pascal.el (pascal-completions-at-point): New function.
17481 (pascal-mode): Use it.
17482 (pascal-mode-map): Use completion-at-point.
17483 (pascal-toggle-completions): Make obsolete.
17484 (pascal-complete-word, pascal-show-completions):
17485 * progmodes/octave-mod.el (octave-complete-symbol):
17486 Redefine as obsolete alias.
17487 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17488 Signal absence of completion info for old Octave,
17489 (inferior-octave-complete): Redefine as obsolete alias.
17490 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17491 (meta-completions-at-point): Rename from meta-complete-symbol and
17492 adapt it for use on completion-at-point-functions.
17493 (meta-common-mode): Use it.
17494 (meta-looking-at-backward, meta-match-buffer): Remove.
17495 (meta-complete-symbol): Redefine as obsolete alias.
17496 (meta-common-mode-map): Use completion-at-point.
17497 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17498 (makefile-mode-map): Use completion-at-point.
17499 (makefile-completions-at-point): Rename from makefile-complete and
17500 adapt it for use on completion-at-point-functions.
17501 (makefile-mode): Use it.
17502 (makefile-complete): Redefine as obsolete alias.
17503
aebf69c8
DD
175042011-06-20 Deniz Dogan <deniz@dogan.se>
17505
17506 * net/rcirc.el: Delete trailing whitespaces once and for all.
17507
bfbbb27d
DC
175082011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17509
17510 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17511
d264a46b
CY
175122011-06-19 Chong Yidong <cyd@stupidchicken.com>
17513
4ca009e5
CY
17514 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17515
d264a46b
CY
17516 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17517
fbf5b3ce
MR
175182011-06-19 Martin Rudalics <rudalics@gmx.at>
17519
17520 * window.el (display-buffer-other-window-means-other-frame):
17521 Call display-buffer-normalize-alist.
17522 (display-buffer-normalize-specifiers-1): Rename to
17523 display-buffer-normalize-argument. New argument other-frame.
17524 Rewrite.
17525 (display-buffer-normalize-specifiers-2): Rename to
17526 display-buffer-normalize-options.
17527 (display-buffer-normalize-alist-1): New function.
17528 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17529 display-buffer-normalize-alist.
17530 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17531 (display-buffer-normalize-options-inhibit): New variable.
17532 (display-buffer-normalize-specifiers): Rewrite calling
17533 display-buffer-normalize-alist,
17534 display-buffer-normalize-argument, and
17535 display-buffer-normalize-options. Don't call the latter if
17536 display-buffer-normalize-options-inhibit is non-nil.
17537 (frame-auto-delete): New option.
17538 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17539 (window-list-no-nils, window-state-ignored-parameters)
17540 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17541 (window-state-put-1, window-state-put-2, window-state-put):
17542 New functions.
9a028c23
MR
17543 (display-buffer-normalize-options): Move special-display-p group
17544 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17545
6d10d800
CY
175462011-06-18 Chong Yidong <cyd@stupidchicken.com>
17547
6420d28b
CY
17548 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17549 groups (Bug#8776).
17550 (rx-submatch-n): New function.
17551 (rx): Document it.
17552
ddb8b596
CY
17553 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17554 (Bug#8768).
17555
17556 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17557
77080289
CY
17558 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17559
61dfb316
CY
17560 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17561 anytime existing face settings are present (Bug#8889).
17562
6d10d800
CY
17563 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17564 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17565 Remove unused argument.
17566
be3fb2b8
MR
175672011-06-18 Martin Rudalics <rudalics@gmx.at>
17568
bcd70d97
SM
17569 * window.el (display-buffer-default-specifiers):
17570 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17571 pop-up-window-min-width, and another reuse-window specifier
17572 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17573 (display-buffer-normalize-specifiers-2):
17574 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17575 pop-up-windows is unset. Add a reuse-window specifier for the
17576 case popping up a new window fails.
17577 (special-display-popup-frame): Remove double quoting.
28dec25a 17578 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17579
1c6d8c76
SM
175802011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17581
17582 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17583 according to comint-completion-addsuffix.
17584
17585 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17586 (pcomplete-suffix-list): Mark as obsolete.
17587 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17588 pcomplete-seen in the closure.
17589 (pcomplete-comint-setup): Setup completion-at-point as well.
17590 (pcomplete--entries): New function.
17591 (pcomplete--env-regexp): New var.
17592 (pcomplete-entries): Rewrite to work with partial-completion and
17593 without relying on pcomplete-suffix-list.
17594 (pcomplete-pare-list): Remove, unused.
17595
25aef8b8
MR
175962011-06-17 Martin Rudalics <rudalics@gmx.at>
17597
17598 * window.el (display-buffer-alist): Set pop-up-window-min-height
17599 and pop-up-window-min-width in default value. Reported by
17600 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17601 other-window-means-other-frame.
17602 (display-buffer-macro-specifiers): Comment out entry for
17603 other-window specifier.
17604 (display-buffer-other-window-means-other-frame): New function.
17605 (display-buffer-normalize-specifiers-1): New arguments
17606 buffer-name and label. Treat other-window case specially.
17607 (display-buffer-normalize-specifiers-2): Treat other-window case
17608 specially.
17609 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17610 (display-buffer-normalize-specifiers):
17611 Call display-buffer-normalize-specifiers-3.
25aef8b8 17612
dbad4f69
MR
176132011-06-17 Martin Rudalics <rudalics@gmx.at>
17614
17615 * window.el (same-window-p): Fix two typos introduced when
17616 adding with-no-warnings.
d1067961
MR
17617 (display-buffer-normalize-specifiers-1): Don't check
17618 pop-up-frames for 'unset initialization.
17619 (display-buffer-normalize-specifiers-2): Major rewrite using
17620 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17621 (pop-up-frames, display-buffer-reuse-frames)
17622 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17623 Suggested by David Engster <deng@randomsample.de>.
17624 (even-window-heights): Initialize to 'unset.
17625 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17626 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17627 other window case.
dbad4f69 17628
9b9c9e3a
MR
176292011-06-16 Martin Rudalics <rudalics@gmx.at>
17630
bcd70d97
SM
17631 * window.el (display-buffer-normalize-specifiers-1):
17632 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17633 second argument of display-buffer (Bug#8865).
981d5c09
MR
17634 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17635 (switch-to-buffer-other-window-same-frame)
17636 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17637 Adams (Bug#8875).
9c2755e9
MR
17638 (display-buffer): Don't check noninteractive when calling
17639 display-buffer-pop-up-frame.
17640 (display-buffer-pop-up-frame): Never pop up a frame in
17641 noninteractive mode (Bug#8857).
67222e1d
MR
17642 (enlarge-window, shrink-window): Don't report an error when the
17643 window can't be resized as requested (Bug#8862).
9b9c9e3a 17644
2b75be67
SM
176452011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17646
9ffdd3ba
SM
17647 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17648
cb581a67
SM
17649 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17650
2b75be67
SM
17651 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17652
8c0e3589
AM
176532011-06-15 Alan Mackenzie <acm@muc.de>
17654
cb581a67
SM
17655 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17656 for declarators, disable knr checking to speed up for normal files.
17657 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17658
b96e6cde
LMI
176592011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17660
4bba86e6
LMI
17661 * net/network-stream.el (open-network-stream): Add the keyword
17662 :always-query-capabilities for the case where you want to force a
17663 `plain' network connection, but the protocol still requires the
17664 capabilitiy command (i.e., SMTP and EHLO).
17665
2b75be67 17666 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17667 consistency with other `-live-p' functions.
17668
efdcdbf8
SM
176692011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17670
17671 * window.el (same-window-buffer-names, same-window-regexps)
17672 (special-display-frame-alist, special-display-popup-frame)
17673 (special-display-function, special-display-buffer-names)
17674 (special-display-regexps, pop-up-frame-alist)
17675 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17676 (pop-up-windows, split-window-preferred-function)
17677 (split-height-threshold, split-width-threshold, even-window-heights)
17678 (display-buffer-mark-dedicated): Don't encourage the use of
17679 display-buffer-alist from Elisp code.
17680
c5cde042
DN
176812011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17682
17683 * progmodes/python.el (python-mode): Derive from prog-mode.
17684 * progmodes/ps-mode.el (ps-mode):
17685 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17686 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17687 * progmodes/ld-script.el (ld-script-mode): Likewise.
17688
baa1c9ab
MR
176892011-06-15 Martin Rudalics <rudalics@gmx.at>
17690
17691 * window.el (display-buffer-alist): Trim default value to avoid
17692 popping up a new frame (Bug#8857) or reusing an arbitrary window
17693 on another frame.
17694 (display-buffer): Do not fall back on popping up a new frame in
17695 batch mode (Bug#8857).
17696
c5dd5a51
CY
176972011-06-14 Chong Yidong <cyd@stupidchicken.com>
17698
17699 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17700 (custom-theme-summary): New function.
17701 (customize-themes): Use it.
17702
d647b7c4
GM
177032011-06-13 Glenn Morris <rgm@gnu.org>
17704
17705 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17706
9481c002
MR
177072011-06-13 Martin Rudalics <rudalics@gmx.at>
17708
357f93d2
MR
17709 * help.el (help-window): Remove variable.
17710 (help-window-point-marker, temp-buffer-max-height)
17711 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17712 (help-print-return-message): Don't set help-window.
17713 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17714 (help-window-setup-finish): Remove.
17715 (help-window-display-message, help-window-setup)
17716 (with-help-window): Major rewrite based on new
17717 display-buffer-window variable.
17718
17719 * help-mode.el (help-mode-finish): Remove help-window related
17720 code.
17721
17722 * view.el (view-exits-all-viewing-windows): Remove reference to
17723 view-return-to-alist in doc-string.
17724 (view-return-to-alist): Make obsolete.
17725 (view-buffer): Call pop-to-buffer-same-window and remove
17726 undo-window code.
17727 (view-buffer-other-window): Call pop-to-buffer-other-window and
17728 simplify code. Ignore second argument.
17729 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17730 simplify code. Ignore second argument.
17731 (view-return-to-alist-update): Make obsolete.
17732 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17733 Rewrite using quit-restore window parameters.
2b75be67
SM
17734 (view-mode-exit): Rename second argument to EXIT-ONLY.
17735 Rewrite using quit-restore-window.
357f93d2
MR
17736 (View-exit, View-exit-and-edit, View-leave, View-quit)
17737 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17738 appropriate arguments.
17739 (view-end-message): Use quit-restore window parameter.
17740
9481c002
MR
17741 * window.el (display-buffer-function): Rewrite doc-string.
17742 (display-buffer-window, display-buffer-alist): New variables.
17743 (display-buffer-split-specifiers)
17744 (display-buffer-side-specifiers)
17745 (display-buffer-macro-specifiers): New constants.
17746 (display-buffer-even-window-sizes, display-buffer-set-height)
17747 (display-buffer-set-width, display-buffer-select-window)
17748 (display-buffer-in-window, display-buffer-reuse-window)
17749 (display-buffer-split-window-1, display-buffer-split-window)
17750 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17751 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17752 (display-buffer-in-side-window, normalize-buffer-to-display)
17753 (display-buffer-normalize-specifiers-1)
17754 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17755 (display-buffer-normalize-specifiers, display-buffer-frame):
17756 New functions.
9481c002
MR
17757 (display-buffer): Major rewrite.
17758 (display-buffer-other-window, display-buffer-other-frame)
17759 (pop-to-buffer, switch-to-buffer-other-window)
17760 (switch-to-buffer-other-frame): Rewrite.
17761 (display-buffer-same-window, display-buffer-same-frame)
17762 (display-buffer-same-frame-other-window)
17763 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17764 (pop-to-buffer-other-window)
17765 (pop-to-buffer-same-frame-other-window)
17766 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17767 (switch-to-buffer-other-window-same-frame): New functions.
17768 (same-window-p, special-display-p): Rewrite disabling warnings.
17769 Make obsolete.
17770 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17771 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17772 Make obsolete
17773 (same-window-buffer-names, same-window-regexps)
17774 (special-display-frame-alist, special-display-popup-frame)
17775 (special-display-function, special-display-buffer-names)
17776 (special-display-regexps, pop-up-frame-alist)
17777 (pop-up-frame-function, split-window-preferred-function)
17778 (split-height-threshold, split-width-threshold)
17779 (even-window-heights): Make obsolete.
17780
9db51aca
GM
177812011-06-12 Glenn Morris <rgm@gnu.org>
17782
17783 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17784 Misc simplifications.
9db51aca 17785
39cffb44
MR
177862011-06-12 Martin Rudalics <rudalics@gmx.at>
17787
17788 * window.el (window-safely-shrinkable-p): Restore function which
17789 was inadvertently removed in change from 2011-06-11. Declare as
17790 obsolete.
17791
2b75be67
SM
17792 * calendar/calendar.el (calendar-generate-window):
17793 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17794 window-safely-shrinkable-p.
17795
a8955be7
GM
177962011-06-12 Glenn Morris <rgm@gnu.org>
17797
17798 * progmodes/fortran.el (fortran-mode-syntax-table):
17799 * progmodes/f90.el (f90-mode-syntax-table):
17800 Set % to punctuation. (Bug#8820)
17801 (f90-find-tag-default): Remove, no longer needed.
17802
f0d4059d
DC
178032011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17804
17805 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17806
1100a63c
CY
178072011-06-11 Chong Yidong <cyd@stupidchicken.com>
17808
17809 * image.el (image-animated-p): Return animation delay in seconds.
17810 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17811 (image-animate-timeout): Remove DELAY argument. Don't assume
17812 every subimage has the same delay; get it from image-animated-p.
17813 (image-animate): Caller changed.
17814
def722bf
MA
178152011-06-11 Michael Albinus <michael.albinus@gmx.de>
17816
17817 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17818 to ignored backtrace functions.
17819
0a2bb1a9
GM
178202011-06-11 Glenn Morris <rgm@gnu.org>
17821
17822 * calendar/appt.el (appt-disp-window-function): Doc fix.
17823 (appt-check): Handle overlapping appointments. (Bug#8337)
17824
6198ccd0
MR
178252011-06-11 Martin Rudalics <rudalics@gmx.at>
17826
17827 * window.el (window-tree-1, window-tree): New functions, moving
17828 the latter to window.el.
17829 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17830 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17831 (bw-refresh-edges): Remove.
17832 (balance-windows-1, balance-windows-2): New functions.
17833 (balance-windows): Rewrite in terms of window tree functions,
17834 balance-windows-1 and balance-windows-2.
17835 (bw-adjust-window): Remove.
17836 (balance-windows-area-adjust): New function with functionality of
17837 bw-adjust-window but using resize-window.
2b75be67
SM
17838 (set-window-text-height): Rewrite doc-string.
17839 Use normalize-live-window and resize-window.
17840 (enlarge-window-horizontally, shrink-window-horizontally):
17841 Rename argument to DELTA.
6198ccd0
MR
17842 (window-buffer-height): New function.
17843 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17844 Rewrite using new window resize routines.
2b75be67
SM
17845 (kill-buffer-and-window, mouse-autoselect-window-select):
17846 Use ignore-errors instead of condition-case.
6198ccd0
MR
17847 (quit-window): Call delete-frame instead of delete-windows-on
17848 for the only buffer on frame.
17849
9397e56f
MR
178502011-06-10 Martin Rudalics <rudalics@gmx.at>
17851
17852 * loadup.el (top-level): Load window before files for the sake
17853 of replace-buffer-in-windows.
17854
17855 * files.el (read-buffer-to-switch)
17856 (switch-to-buffer-other-window)
2b75be67
SM
17857 (switch-to-buffer-other-frame, display-buffer-other-frame):
17858 Move to window.el.
9397e56f
MR
17859
17860 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17861 (previous-buffer): Move to window.el.
17862
17863 * bindings.el (unbury-buffer): Move to window.el.
17864
17865 * window.el (delete-other-windows-vertically): Move after
17866 definition of delete-other-windows.
17867 (other-window, delete-windows-on, replace-buffer-in-windows):
17868 Move here from window.c.
17869 (record-window-buffer, unrecord-window-buffer)
17870 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17871 (switch-to-next-buffer): New functions.
17872 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17873 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17874 (previous-buffer): Move here from simple.el.
17875 Call switch-to-prev-buffer.
9397e56f
MR
17876 (bury-buffer): Move here from buffer.c. Switch to previous
17877 buffer when window cannot be deleted.
17878 (unbury-buffer): Move here from bindings.el.
17879 (ctl-x-map): Move binding for other-window from window.c to
17880 here.
17881 (read-buffer-to-switch, switch-to-buffer-other-window)
17882 (switch-to-buffer-other-frame): Move here from files.el.
17883 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17884 (switch-to-buffer): Move here from buffer.c.
17885 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17886
562dd5e9
MR
178872011-06-10 Martin Rudalics <rudalics@gmx.at>
17888
17889 * window.el (window-min-height, window-min-width): Move here
17890 from window.c. Add defcustoms and rewrite doc-strings.
17891 (resize-mini-window, resize-window): New functions.
17892 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17893 Move here from window.c.
17894 (maximize-window, minimize-window): New functions.
17895 (delete-window, delete-other-windows, split-window): Move here
17896 from window.c.
17897 (window-split-min-size): New function.
17898 (split-window-keep-point): Mention split-window-above-each-other
17899 instead of split-window-vertically.
2b75be67 17900 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17901 Rename split-window-vertically to split-window-above-each-other
17902 and provide defalias for old definition.
17903 (split-window-side-by-side, split-window-horizontally):
17904 Rename split-window-horizontally to split-window-side-by-side
17905 and provide defalias for the old definition.
562dd5e9
MR
17906 (ctl-x-map): Move bindings for delete-window,
17907 delete-other-windows and enlarge-window here from window.c.
17908 Replace bindings for split-window-vertically and
17909 split-window-horizontally by bindings for
17910 split-window-above-each-other and split-window-side-by-side.
17911
17912 * cus-start.el (all): Remove entries for window-min-height and
17913 window-min-width. Add entries for window-splits and
17914 window-nest.
17915
f0da764a
GM
179162011-06-09 Glenn Morris <rgm@gnu.org>
17917
80675c21
GM
17918 * calendar/appt.el (appt-mode-line): New function.
17919 (appt-check, appt-disp-window): Use it.
17920
f0da764a
GM
17921 * files.el (hack-one-local-variable-eval-safep):
17922 Allow minor-modes with explicit +/-1 arguments.
17923
59f623b7
TZ
179242011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17925
17926 * term/xterm.el (xterm): Add defgroup.
17927 (xterm-extra-capabilities): Add defcustom to supply known xterm
17928 capabilities, skip querying them, or query them (default).
17929 (terminal-init-xterm): Use it.
17930 (terminal-init-xterm-modify-other-keys): New function to set up
17931 modifyOtherKeys support to simplify `terminal-init-xterm'.
17932
9aab8e0d
MR
179332011-06-09 Martin Rudalics <rudalics@gmx.at>
17934
17935 * window.el (resize-window-reset, resize-window-reset-1)
17936 (resize-subwindows-skip-p, resize-subwindows-normal)
17937 (resize-subwindows, resize-other-windows, resize-this-window)
17938 (resize-root-window, resize-root-window-vertically)
17939 (window-deletable-p, window-or-subwindow-p)
17940 (frame-root-window-p): New functions.
17941
e8b08aee
GM
179422011-06-09 Glenn Morris <rgm@gnu.org>
17943
17944 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17945 (ange-ftp-get-files): Use it.
17946
254c37a5
AK
179472011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17948
17949 * mail/sendmail.el (mail-recover-1, mail-recover):
17950 * files.el (recover-file, recover-session):
17951 Handle dired-listing-switches not being just a single short option.
17952
35d7dbd3
GM
179532011-06-09 Glenn Morris <rgm@gnu.org>
17954
17955 * calendar/appt.el (appt-display-message, appt-disp-window):
17956 Handle lists of appointments.
17957
387522b2
MR
179582011-06-08 Martin Rudalics <rudalics@gmx.at>
17959
2b75be67
SM
17960 * window.el (one-window-p): Move down in code.
17961 Rewrite doc-string.
17962 (window-current-scroll-bars): Rewrite doc-string.
17963 Normalize live window argument.
387522b2
MR
17964 (walk-windows, get-window-with-predicate, count-windows):
17965 Rewrite doc-string. Use window-list-1.
17966 (window-in-direction-2, window-in-direction, get-mru-window):
17967 New functions.
17968
d8e4b68b 179692011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17970
17971 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17972 Doc fix (Bug#8713).
17973
179742011-06-08 Chong Yidong <cyd@stupidchicken.com>
17975
17976 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17977
179782011-06-08 Juanma Barranquero <lekktu@gmail.com>
17979
17980 * loadhist.el (unload-feature-special-hooks):
17981 Add `comint-output-filter-functions'.
17982
0de12c52
IK
179832011-06-08 Ivan Kanis <gnu@kanis.fr>
17984
17985 * calendar/appt.el (appt-check): Move some initializations into the let.
17986
f3d1777e
MR
179872011-06-08 Martin Rudalics <rudalics@gmx.at>
17988
17989 * window.el (window-height): Defalias to window-total-height.
17990 (window-width): Defalias to window-body-width.
17991
18af70d0
CY
179922011-06-07 Chong Yidong <cyd@stupidchicken.com>
17993
17994 * image-mode.el (image-toggle-animation): New command.
17995 (image-mode-map): Bind it to RET.
17996 (image-mode): Update message.
17997 (image-toggle-display-image): Avoid a spurious cache flush.
17998 (image-transform-rotation): Doc fix.
17999 (image-transform-properties): Return quickly in the normal case.
18000 (image-animate-loop): Rename from image-animate-max-time.
18001
2b75be67 18002 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18003 (create-animated-image): Remove unnecessary function.
18004 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18005 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18006 (image-animate-timer): Use car-safe.
18007 (image-animate-timeout): Rename argument.
18008
190b47e6
MR
180092011-06-07 Martin Rudalics <rudalics@gmx.at>
18010
18011 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18012 window.c. Rename first argument to ALL-FRAMES.
18013 Rephrase doc-strings.
18014 (get-buffer-window-list): Rewrite using window-list-1.
18015 Rephrase doc-string.
a1511caf
MR
18016 (window-safe-min-height, window-safe-min-width): New constants.
18017 (window-size-ignore, window-min-size, window-min-size-1)
18018 (window-sizable, window-sizable-p, window-size-fixed-1)
18019 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18020 (window-max-delta-1, window-max-delta, window-resizable)
18021 (window-resizable-p, window-total-height, window-total-width)
18022 (window-body-width): New functions.
18023 (window-full-height-p, window-full-width-p): Rewrite using
18024 window-total-size.
18025 (window-body-height): Rewrite using window-body-size.
190b47e6 18026
85cc1f11
MR
180272011-06-06 Martin Rudalics <rudalics@gmx.at>
18028
18029 * window.el (window-right, window-left, window-child)
18030 (window-child-count, window-last-child, window-any-p)
18031 (normalize-live-buffer, normalize-live-frame)
18032 (normalize-any-window, normalize-live-window)
18033 (window-iso-combination-p, window-iso-combined-p)
18034 (window-iso-combinations)
18035 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18036 (windows-with-parameter, window-with-parameter)
18037 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18038 (window-atom-check, window-side-check, window-check):
18039 New functions.
85cc1f11
MR
18040 (ignore-window-parameters, window-sides, window-sides-vertical)
18041 (window-sides-slots): New variables.
18042 (window-size-fixed): Move down in code. Minor doc-string fix.
18043
e7156492
AS
180442011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18045
18046 * comint.el (comint-dynamic-complete-as-filename)
18047 (comint-dynamic-complete-filename): Correctly call
18048 completion-in-region.
18049
7e821d0d
DD
180502011-06-05 Deniz Dogan <deniz@dogan.se>
18051
18052 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18053 in last change.
18054
ac09b8a1
DD
180552011-06-05 Deniz Dogan <deniz@dogan.se>
18056
18057 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18058 (rcirc): Use it to prompt for encryption.
18059
34699b85
RW
180602011-06-05 Roland Winkler <winkler@gnu.org>
18061
18062 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18063 (bibtex-search-entries): New command bound to C-c C-a.
18064 (bibtex-display-entries): New function.
18065
004dedd3
RW
180662011-06-05 Roland Winkler <winkler@gnu.org>
18067
18068 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18069 (bibtex-insert-kill): After yanking insert newline if necessary.
18070 (bibtex-initialize): Call bibtex-string-files-init only once.
18071 (bibtex-mode): Do not call easy-menu-add.
18072 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18073 (bibtex-yank): Set arg properly if nil.
18074
022fe7ce
RW
180752011-06-05 Roland Winkler <winkler@gnu.org>
18076
2b75be67
SM
18077 * textmodes/bibtex.el (bibtex-search-entry-globally):
18078 New variable.
022fe7ce
RW
18079 (bibtex-search-entry): Use it.
18080
b7c3692a
RW
180812011-06-05 Roland Winkler <winkler@gnu.org>
18082
18083 * textmodes/bibtex.el (bibtex-entry-format): New option
18084 sort-fields.
18085 (bibtex-format-entry, bibtex-reformat): Honor this option.
18086 (bibtex-parse-entry): Return fields in proper order.
18087
8eda563d
JB
180882011-06-05 Juanma Barranquero <lekktu@gmail.com>
18089
18090 * doc-view.el (doc-view-remove-if): Move computation of result out
18091 of `dolist' to silence misleading lexical-binding warning.
18092
7dbe3dbc
CY
180932011-06-04 Chong Yidong <cyd@stupidchicken.com>
18094
18095 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18096 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18097
0c33dd17
MA
180982011-06-04 Michael Albinus <michael.albinus@gmx.de>
18099
18100 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18101 "SunOS 5.10".
18102
f8f91c2b
MA
181032011-06-04 Michael Albinus <michael.albinus@gmx.de>
18104
18105 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18106 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18107 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18108 (tramp-parse-putty):
18109 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18110 (tramp-completion-function-alist-ssh)
18111 (tramp-completion-function-alist-telnet)
18112 (tramp-completion-function-alist-su)
18113 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18114 cookie.
18115
18116 * net/tramp-ftp.el:
18117 * net/tramp-sh.el:
18118 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18119 load "tramp.el" `tramp-set-completion-function'.
18120
e17d9003
SM
181212011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18122
18123 * shell.el: Require and use pcomplete.
18124 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18125 (shell-completion-vars): Set pcomplete-default-completion-function.
18126
6c4cab03
DD
181272011-06-04 Deniz Dogan <deniz@dogan.se>
18128
18129 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18130 `memq' (Bug#8799).
18131
ea9fafe0
SM
181322011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18133
18134 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18135
b3e945d3
JB
181362011-06-02 Juanma Barranquero <lekktu@gmail.com>
18137
18138 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18139 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18140 * vc/log-view.el (log-view-beginning-of-defun):
18141 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18142 (smerge-refine-forward, smerge-refine-chopup-region):
18143 Silence warning for unused `dotimes' counter variables.
18144
7d520089
SM
181452011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18146
18147 * net/tramp.el (tramp-with-progress-reporter): Rename from
18148 with-progress-reporter. Use `declare'.
18149 * net/tramp-smb.el:
18150 * net/tramp-sh.el:
18151 * net/tramp-gvfs.el: Update all uses.
18152
a1c2400f
JB
181532011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18154
18155 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18156 buffer isn't killed before making it current.
18157
2403c841
SM
181582011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18159
18160 Silence various byte-compiler warnings.
18161 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18162 `access-type' and new obsolescence format.
18163 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18164 new format.
18165 (byte-compile-check-variable): New `access-type' argument.
18166 Only warn if the access-type is obsolete.
18167 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18168 (byte-compile-variable-set): Adjust callers.
18169 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18170 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18171 setting it as obsolete.
18172 * simple.el (minibuffer-completing-symbol):
18173 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18174 access as obsolete.
18175 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18176 obsolete yet.
18177 * international/quail.el (quail-mouse-choose-completion): Remove unused
18178 code referring to obsolete var.
18179 (quail-choose-completion-string): Remove.
18180 * server.el (server-clients-with, server-kill-buffer-query-function)
18181 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18182 * proced.el (proced-send-signal):
18183 * emacs-lisp/lisp.el (lisp-complete-symbol):
18184 Replace completion-annotate-function with completion-extra-properties.
18185
2462470b
SM
181862011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18187
fb5b2591
SM
18188 * simple.el (goto-line): Use read-number.
18189 (overriding-map-is-bound): Remove.
18190 (saved-overriding-map): Change default.
18191 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18192 Take the map as argument.
18193 (universal-argument, negative-argument, digit-argument): Use it.
18194 (restore-overriding-map): Adjust.
18195 (do-auto-fill): Use fill-forward-paragraph.
18196 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18197
fd6fa53f
SM
18198 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18199 (minibuffer-inactive-mode): New major mode.
18200 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18201 the *Messages* buffer" hack.
18202 (mouse-popup-menubar): Don't burp if the event is a normal key.
18203
2462470b
SM
18204 Miscellaneous tweaks.
18205 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18206 lexical scoping as in subr.el's dolist and dotimes.
18207 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18208 Silence compiler warning.
18209 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18210 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18211 * international/ccl.el (ccl-compile): Trivial simplification.
18212 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18213 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18214 `printflag' argument.
18215 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18216 Purecopy the whole obsolescence data.
18217
108bf785
LL
182182011-06-01 Leo Liu <sdl.web@gmail.com>
18219
18220 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18221 improve doc-string as suggested by Marco Pessotto
18222 <melmothx@gmail.com>.
18223 (rcirc-print): Fix last change.
18224
30a23501
SM
182252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18226
18227 * minibuffer.el (complete-with-action): Return nil for the metadata and
18228 boundaries of non-functional tables.
18229 (completion-table-dynamic): Return nil for the metadata.
18230 (completion-table-with-terminator): Add default case, using
18231 complete-with-action.
18232 (completion--metadata): New function.
18233 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18234 to try and avoid pathological performance problems.
18235 (completion--embedded-envvar-table): Return `category' metadata.
18236
bcd54f83
LMI
182372011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18238
18239 * subr.el (process-alive-p): New tiny convenience function.
18240
e227544d
SM
182412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18242
18243 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18244 content but also its previous major mode.
18245
e8296fdc
HE
182462011-05-31 Helmut Eller <eller.helmut@gmail.com>
18247
4d61f28d 18248 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18249 *Backtrace* buffer when we exit with C-M-c.
18250
620c53a6
SM
182512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18252
18253 * minibuffer.el: Add metadata method to completion tables.
18254 (completion-category-overrides): New defcustom.
18255 (completion-metadata, completion--field-metadata)
18256 (completion-metadata-get, completion--styles)
18257 (completion--cycle-threshold): New functions.
18258 (completion-try-completion, completion-all-completions):
18259 Add `metadata' argument to choose completion-styles.
18260 (completion--do-completion): Use metadata to choose cycling.
18261 (completion-all-sorted-completions): Use metadata for sorting.
18262 Remove :completion-cycle-penalty which is not needed any more.
18263 (completion--try-word-completion): Add `metadata' argument.
18264 (minibuffer-completion-help): Check metadata for annotation function
18265 and sorting.
18266 (completion-file-name-table): Return `category' metadata.
18267 (minibuffer-completing-file-name): Make obsolete.
18268 * simple.el (minibuffer-completing-symbol): Make obsolete.
18269 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18270 completion-try-completion.
18271
1257e755
SM
182722011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18273
18274 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18275
3767e706
LL
182762011-05-30 Leo Liu <sdl.web@gmail.com>
18277
18278 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18279 (rcirc-print): Decode all incoming messages (bug#8744).
18280 (rcirc-decode-coding-system): Allow value nil for automatic coding
18281 system detection.
3767e706 18282
d1a5d56a
GM
182832011-06-01 Glenn Morris <rgm@gnu.org>
18284
18285 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18286
e8cbec34
CY
182872011-05-29 Chong Yidong <cyd@stupidchicken.com>
18288
18289 * image.el (image-animate-max-time): Allow nil and t values.
18290 Default to nil.
18291 (create-animated-image): Doc fix.
18292 (image-animate-start): Remove second arg; just use
18293 image-animate-max-time.
18294 (image-animate-timeout): Doc fix. Args changed.
18295
18296 * image-mode.el (image-toggle-display-image): Ensure that the
18297 image spec passed to the animate timer is the same object as in
58179cce 18298 the buffer's display property (Bug#6981).
e8cbec34
CY
18299 (image-transform-properties): Doc fix.
18300
18301 * image.el (image-animate-max-time): Default to nil.
18302
159daf87
MR
183032011-05-29 Martin Rudalics <rudalics@gmx.at>
18304
18305 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18306 entire buffer list (Bug#8184).
18307
d66c4c7c
CY
183082011-05-29 Chong Yidong <cyd@stupidchicken.com>
18309
18310 * image.el (imagemagick-types-inhibit)
18311 (imagemagick-register-types): Doc fix.
18312
80aec780
DD
183132011-05-29 Deniz Dogan <deniz@dogan.se>
18314
18315 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18316 default.
18317
1dd3c2d9
CY
183182011-05-29 Chong Yidong <cyd@stupidchicken.com>
18319
18320 * select.el: Don't perform clipboard-manager saving in hooks;
18321 leave the hooks empty.
18322
60e56523
LL
183232011-05-28 Leo Liu <sdl.web@gmail.com>
18324
18325 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18326 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18327 (occur-edit-mode): New major mode (Bug#8463).
18328 (occur-after-change-function): New function.
18329 (occur-engine): Give Occur tags a read-only property.
18330
2b1e1a22
KR
183312011-05-28 Kevin Ryde <user42@zip.com.au>
18332
18333 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18334
5d344e88
CY
183352011-05-28 Chong Yidong <cyd@stupidchicken.com>
18336
8e6ca83d
CY
18337 * bindings.el (help-echo): Make the initial non-indicator dash
18338 empty on graphical terminals (Bug#7295).
18339
5d344e88
CY
18340 * files.el (auto-mode-alist): Move config rule after the
18341 in-stripping one (Bug#8547).
18342
bfbbace7
CY
18343 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18344
fbeba6e2
CY
18345 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18346 setting (Bug#8740).
18347
60ed8c72
AA
183482011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18349
4ac619f0
AA
18350 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18351 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18352 (Bug#8539).
60ed8c72 18353
23db196e
CY
183542011-05-28 Chong Yidong <cyd@stupidchicken.com>
18355
18356 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18357
5012f24c
DK
183582011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18359
18360 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18361 (hs-hide-block-at-point, hs-find-block-beginning)
18362 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18363 (Bug#8279).
18364
6a639b16
GM
183652011-05-28 Glenn Morris <rgm@gnu.org>
18366
18367 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18368
d43eaf2c
CY
183692011-05-28 Chong Yidong <cyd@stupidchicken.com>
18370
5199bde1
CY
18371 * help-fns.el (describe-function-1): If the function is a derived
18372 major mode, print the parent mode.
18373
d43eaf2c
CY
18374 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18375 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18376
423428a8
SM
183772011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18378
0ff8e1ba 18379 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18380 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18381 * progmodes/etags.el (tags-completion-at-point-function):
18382 * info-look.el (info-lookup-completions-at-point): Mark as
18383 non-exclusive.
18384 (info-complete): Adjust accordingly.
18385
423428a8
SM
18386 * info-look.el: Convert to lexical-binding and completion-at-point.
18387 (info-lookup-completions-at-point): New function.
18388 (info-complete): Use it and completion-in-region.
18389
b74aa22b
DA
183902011-05-28 Drew Adams <drew.adams@oracle.com>
18391
18392 * isearch.el: Let M-e start with point at the first mismatched char.
18393 (isearch-fail-pos): New function.
18394 (isearch-edit-string): Use it.
18395
66e2e71d
DK
183962011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18397
18398 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18399
b1890b0f 184002011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18401
18402 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18403 traversal functions for avl-trees.
18404 (avl-tree--stack): New struct.
18405 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18406 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18407 (avl-tree--do-enter): Add optional `updatefun' arg.
18408 Change return value.
eb95d01d 18409 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18410 (avl-tree--do-delete): Add `test' and `nilflag' args.
18411 Change return value.
eb95d01d
TC
18412 (avl-tree-member): Add optional `nilflag'
18413 (avl-tree-member-p): New function.
18414 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18415 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18416 (avl-tree-stack-empty-p): New functions.
18417
3769ddcf
TC
18418 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18419 avl-tree--del-balance1 and make it work both ways.
18420 (avl-tree--del-balance2): Remove.
18421 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18422 make it work both ways.
18423 (avl-tree--enter-balance2): Remove.
18424 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18425 New macros.
18426 (avl-tree--mapc, avl-tree-map): Add direction argument.
18427
eb95d01d 184282011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18429
18430 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18431
a9f737ee
CY
184322011-05-27 Chong Yidong <cyd@stupidchicken.com>
18433
18434 * select.el: Support clipboard managers with built-in function
18435 x-clipboard-manager-save, via delete-frame-functions and
18436 kill-emacs-hook.
18437 (xselect-convert-to-targets): Add MULTIPLE target to list.
18438 (xselect-convert-to-save-targets): New function.
18439
c92a1e54
KH
184402011-05-27 Kenichi Handa <handa@m17n.org>
18441
18442 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18443 let-binding rfc2047-encode-encoded-words to nil.
18444
e145f188
GM
184452011-05-27 Glenn Morris <rgm@gnu.org>
18446
5ec8a862
GM
18447 * mail/emacsbug.el: Don't require url-util.
18448
4b29d9fb
GM
18449 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18450
e145f188
GM
18451 * files.el (set-auto-mode):
18452 Also respect mode: entries at the end of the file. (Bug#8586)
18453
7d15102b
GM
184542011-05-26 Glenn Morris <rgm@gnu.org>
18455
98f593b8
GM
18456 * files.el (hack-local-variables-prop-line, hack-local-variables):
18457 Downcase mode names, as seems to be traditional.
27b48e63 18458 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18459
7d15102b
GM
18460 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18461 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18462
51d5b4ec
JD
184632011-05-25 Julien Danjou <julien@danjou.info>
18464
18465 * textmodes/rst.el (rst-define-level-faces): Do not define face
18466 symbol if it is already defined.
18467
91513f63
VB
184682011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18469
18470 * play/5x5.el (5x5-new-game, 5x5-randomize):
18471 Reset 5x5-solver-output to nil when a new grid is cast.
18472 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18473 these debugging traces, as defmacro breaks the compiled code.
18474
4d90d6d0
DK
184752011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18476
18477 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18478
e1b90ef6
LL
184792011-05-24 Leo Liu <sdl.web@gmail.com>
18480
18481 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18482 (vc-bzr-sha1): Adapt.
18483
d8e4b68b 18484 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18485
18486 * bindings.el: Provide sha1 feature.
18487
db0406bb 184882011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18489
18490 * mail/sendmail.el: Require `rfc2047'.
18491 (mail-insert-from-field): Do not perform RFC2047 encoding.
18492 (mail-encode-header): New function.
18493 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18494 buffer to the return value of select-message-coding-system.
18495 Call mail-encode-header.
b8d747b9
KH
18496
18497 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18498
db0406bb 184992011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18500
4d90d6d0
DK
18501 * mail/supercite.el (sc-default-cite-frame):
18502 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18503
eb8a5e9b
GM
185042011-05-24 Glenn Morris <rgm@gnu.org>
18505
f8630703
GM
18506 * progmodes/python.el (brm-menu): Declare.
18507
8831bbed
GM
18508 * emulation/viper.el (viper-set-hooks): Declare.
18509
eb8a5e9b
GM
18510 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18511 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18512 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18513 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18514 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18515 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18516
a2a25d24
SM
185172011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18518
18519 Add an :exit-function for completion-at-point.
18520
18521 * minibuffer.el (completion--done): New fun.
18522 (completion--do-completion): Use it. New arg `expect-exact'.
18523 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18524 since completion--do-completion does it for us now.
18525 (minibuffer-force-complete): Use completion--done and
18526 completion--replace. Handle sole-completion case with more care.
18527 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18528 (completion-extra-properties): New var.
18529 (completion-annotate-function): Make obsolete.
18530 (minibuffer-completion-help): Adjust accordingly.
18531 Use completion-list-insert-choice-function.
18532 (completion-at-point, completion-help-at-point):
18533 Bind completion-extra-properties.
18534 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18535 * simple.el (completion-list-insert-choice-function): New var.
18536 (completion-setup-function): Preserve it.
18537 (choose-completion): Pay attention to it, shuffle the code a bit.
18538 (choose-completion-string): New arg `insert-function'.
18539
18540 * textmodes/bibtex.el: Convert to lexical binding.
18541 (bibtex-mode-map): Use completion-at-point.
18542 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18543 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18544 (bibtex-complete): Define as obsolete alias.
18545 (bibtex-complete-internal): Remove.
18546 (bibtex-format-entry): Remove unused sub-group in regexp.
18547 * shell.el (shell--command-completion-data)
18548 (shell-environment-variable-completion):
18549 * pcomplete.el (pcomplete-completions-at-point):
18550 * comint.el (comint--complete-file-name-data): Use :exit-function
18551 instead of completion-table-with-terminator so it also works for
18552 choose-completion.
18553
e44e373d
SM
185542011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18555
4f91a816
SM
18556 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18557
782fc819
SM
18558 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18559 (bug#8710).
18560
e44e373d
SM
18561 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18562
381987c3
KM
185632011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18564
18565 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18566 customization variable and implement: If non-nil, auto-fill will
18567 be inhibited while on topic's header line.
18568
b776bc70
VB
185692011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18570
18571 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18572 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18573 always have a solution in grid size = 5 cases.
18574 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18575 (5x5-solver-output, 5x5-log-buffer): New vars.
18576 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18577 Make these variables buffer local to achieve 5x5 multi-session-ness.
18578 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18579 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18580 (5x5-solve-suggest): New funs.
18581 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18582 randomize a grid so that we ensure that there is always a solution.
18583 (5x5-make-random-grid): Allow other movement than flipping.
18584
7de88b6e
KR
185852011-05-23 Kevin Ryde <user42@zip.com.au>
18586
18587 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18588 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18589 advice and passes PREDICATE.
18590
b1ef1257
SM
185912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18592
bbca48fe
SM
18593 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18594 byte-compile-lambda if it's actually a lambda.
18595
b1ef1257
SM
18596 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18597 Fix function quoting. Use backquote better.
18598
92a9cc65
YS
185992011-05-22 Yuanle Song <sylecn@gmail.com>
18600
18601 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18602 matching (Bug#8516).
18603
f0fb8059
JA
186042011-01-22 Jari Aalto <jari.aalto@cante.net>
18605
18606 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18607 different face (Bug#8178).
18608
d5b44c93
CY
186092011-05-22 Chong Yidong <cyd@stupidchicken.com>
18610
18611 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18612 defface (Bug#8144).
18613
79106a44
SM
186142011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18615
9c848d8a
SM
18616 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18617 funcall as well (bug#8712). Warn when performing those conversions.
18618 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18619
79106a44
SM
18620 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18621
88dfa756
GM
186222011-05-22 Glenn Morris <rgm@gnu.org>
18623
18624 * files.el (hack-local-variables-prop-line): Small simplifications.
18625 (hack-local-variables, hack-local-variables-prop-line):
18626 If MODE-ONLY, return the mode, rather than just `t'.
18627
b7cf2c79
SM
186282011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18629
18630 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18631
3f1a8558
GM
186322011-05-21 Glenn Morris <rgm@gnu.org>
18633
7e4ccca3
GM
18634 * files.el (hack-local-variables-prop-line, hack-local-variables):
18635 If only interested in the mode, don't bother doing the other stuff.
18636
637d46ca
GM
18637 * image-mode.el (image-after-revert-hook):
18638 Redraw all frames on which the image is visible. (Bug#8567)
18639
973d955b
GM
18640 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18641
3f1a8558
GM
18642 * wid-edit.el (widget-checklist-match-inline):
18643 Fix 2011-04-19 change. (Bug#8649)
18644
96479927
SM
186452011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18646
1dcf791f
SM
18647 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18648 Also allow singlespace after single-letter capitals followed by a dot.
18649
96479927
SM
18650 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18651 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18652
35fd0881
N
186532011-05-20 Nix <nix@esperi.org.uk>
18654
18655 * files.el (basic-save-buffer-2):
18656 Fix handling of break-hardlink-on-save with non-existent files.
18657
82745640
DD
186582011-05-19 Deniz Dogan <deniz@dogan.se>
18659
18660 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18661 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18662
4a720484
GM
186632011-05-19 Glenn Morris <rgm@gnu.org>
18664
d1f21341
GM
18665 * progmodes/f90.el (f90-type-def-re):
18666 Handle "type, bind(c)". (Bug#8691)
18667
4a720484
GM
18668 * emacs-lisp/autoload.el (batch-update-autoloads):
18669 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18670
2fb0a219
MA
186712011-05-18 Michael Albinus <michael.albinus@gmx.de>
18672
18673 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18674 property for the correct connection in case of multihops.
18675
e565dd37
GM
186762011-05-18 Glenn Morris <rgm@gnu.org>
18677
c2571358 18678 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18679 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18680
e565dd37
GM
18681 Rationalize calendar handling of day and month abbrev-arrays.
18682 * calendar/calendar.el (calendar-customized-p): New function.
18683 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18684 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18685 Add :set function.
18686 (calendar-abbrev-length, calendar-day-abbrev-array)
18687 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18688 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18689 Elements may no longer be nil.
18690 (calendar-day-name, calendar-month-name):
18691 Update for changed nature of abbrev arrays.
18692 * calendar/diary-lib.el (diary-name-pattern):
18693 Update for changed nature of abbrev arrays.
18694 (diary-mark-entries-1): Update calendar-make-alist calls.
18695 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18696 * calendar/cal-html.el (cal-html-day-abbrev-array):
18697 Simply inherit from calendar-day-abbrev-array.
18698
1d99a745
SM
186992011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18700
18701 * progmodes/grep.el (grep-mode): Disable default
18702 compilation-directory-matcher setting (bug#8684).
18703
7c1d9aa0
MA
187042011-05-17 Michael Albinus <michael.albinus@gmx.de>
18705
18706 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18707 instead of "head" and "tail". There were problems with SunOS 5.9,
18708 and it performs better.
18709
3952e9d8
GM
187102011-05-17 Glenn Morris <rgm@gnu.org>
18711
2dd12e7f
GM
18712 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18713
e4157b9c
GM
18714 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18715 Replace obsolete function.
18716
8e249bbd
GM
18717 * shell.el (pcomplete-parse-arguments-function): Declare.
18718
3952e9d8
GM
18719 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18720 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18721 (appt-check): Doc fixes.
18722 (appt-disp-window-function, appt-delete-window-function):
18723 Remove needless special case in custom :type.
18724 (appt-display-count): Default to 0, not nil.
18725 (appt-check): Reset appt-display-count to 0, not nil.
18726
c71a0d48 187272011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18728
c71a0d48
GM
18729 * progmodes/python.el (python-font-lock-keywords):
18730 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18731
31d55be9
SM
187322011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18733
18734 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18735
3bfacb2f
KR
187362011-05-16 Kevin Ryde <user42@zip.com.au>
18737
18738 * info-look.el (makefile-automake-mode): New setups, looking in
18739 automake manual, then makefile-mode.
18740 (makefile-mode): Remove automake manual, have it just in
18741 makefile-automake-mode since there's various things different or
18742 not relevant to plain make.
18743 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18744 believe a hypothetical automake-mode would go to makefile-mode,
18745 not the other way around.
18746
c8e83751
CY
187472011-05-15 Chong Yidong <cyd@stupidchicken.com>
18748
5e9e35cd
CY
18749 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18750 hunk-end tags (Bug#8672).
18751
c8e83751
CY
18752 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18753 vc-annotate-show-diff-revision-at-line (Bug#8671).
18754
50b23e5a
GM
187552011-05-14 Glenn Morris <rgm@gnu.org>
18756
7210a739
GM
18757 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18758 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18759 (change-log-font-lock-keywords): Also handle multiple author lines
18760 with leading tabs. (Bug#8644)
7210a739 18761
4691905a
GM
18762 * calendar/appt.el (appt-check): Rename some local variables.
18763 Some simplification/reordering.
18764
50b23e5a
GM
18765 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18766 (feedmail-sendmail-f-doesnt-sell-me-out)
18767 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18768 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18769 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18770 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18771 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18772 (feedmail-binmail-gnulinuxish-template):
18773 Rename from feedmail-binmail-linuxish-template.
18774 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18775 Use insert-buffer-substring.
18776
215cda7c
BC
187772011-05-14 Bill Carpenter <bill@carpenter.org>
18778
18779 * mail/feedmail.el (feedmail-patch-level): Increase.
18780 (feedmail-debug): New custom group.
18781 (feedmail-confirm-outgoing-timeout)
18782 (feedmail-sendmail-f-doesnt-sell-me-out)
18783 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18784 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18785 (feedmail-sender-line, feedmail-from-line)
18786 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18787 (feedmail-spray-this-address)
215cda7c
BC
18788 (feedmail-spray-address-fiddle-plex-list)
18789 (feedmail-queue-use-send-time-for-date)
18790 (feedmail-queue-use-send-time-for-message-id)
18791 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18792 (feedmail-buffer-eating-function):
18793 Doc fixes.
18794 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18795 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18796 (feedmail-message-action-scroll-down): New functions.
18797 (feedmail-queue-directory, feedmail-queue-draft-directory):
18798 Use expand-file-name.
18799 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18800 Remove C-v help entry.
18801 (feedmail-queue-buffer-file-name): New variable.
18802 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18803 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18804 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18805 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18806 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18807 (feedmail-message-action-toggle-spray)
18808 (feedmail-run-the-queue-no-prompts)
18809 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18810 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18811 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18812 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18813 (feedmail-envelope-deducer, feedmail-fiddle-from)
18814 (feedmail-fiddle-sender, feedmail-default-date-generator)
18815 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18816 (feedmail-fiddle-spray-address)
18817 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18818 (feedmail-fiddle-list-of-fiddle-plexes)
18819 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18820 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18821 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18822 Change default. Doc fix.
18823 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18824 (feedmail-binmail-linuxish-template): New constant.
18825 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18826 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18827 (feedmail-send-it): Add debug call.
18828 Use feedmail-queue-buffer-file-name, and
18829 feedmail-send-it-immediately-wrapper.
18830 (feedmail-message-action-send): Add debug call.
18831 Use feedmail-send-it-immediately-wrapper.
18832 (feedmail-queue-express-to-queue): Add debug call.
18833 Run feedmail-queue-express-hook.
18834 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18835 (feedmail-message-action-help-blat):
18836 Rename from feedmail-queue-send-edit-prompt-help-first.
18837 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18838 Check line-endings. Handle errors better.
18839 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18840 Doc fix. Add debug call.
18841 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18842 Use feedmail-queue-send-edit-prompt-inner.
18843 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18844 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18845 from feedmail-queue-send-edit-prompt.
18846 (feedmail-queue-send-edit-prompt-help)
18847 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18848 (feedmail-tidy-up-slug): Add debug call.
18849 Respect feedmail-queue-slug-suspect-regexp.
18850 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18851 (feedmail-dump-message-to-queue): Add debug call.
18852 Expand queue-directory.
18853 (feedmail-dump-message-to-queue): Change message slightly.
18854 Use feedmail-say-chatter.
18855 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18856 (feedmail-send-it-immediately-wrapper): New function.
18857 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18858 Insert empty string rather than newline. Handle full-frame case.
18859 Use catch/throw. Use feedmail-say-chatter.
18860 (feedmail-fiddle-from): Try mail-host-address.
18861 (feedmail-default-message-id-generator): Doc fix.
18862 Bind system-time-locale. Handle missing end.
18863 (feedmail-fiddle-x-mailer): Add debug call.
18864 Handle feedmail-x-mailer-line being nil.
18865 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18866 Add debug call. Use buffer-substring-no-properties.
18867 (feedmail-say-debug, feedmail-say-chatter): New functions.
18868 (feedmail-find-eoh): Give an explicit error.
18869
42c7e61e
UJ
188702011-05-13 Ulf Jasper <ulf.jasper@web.de>
18871
c2571358 18872 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18873 family from helvetica to sans.
c2571358 18874 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18875 etc/images/newsticker.
18876
c2571358 18877 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18878 family from helvetica to sans.
18879
18880 * net/newst-plainview.el (newsticker-new-item-face)
18881 (newsticker-old-item-face, newsticker-immortal-item-face)
18882 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18883 (newsticker-statistics-face): Change default family from
42c7e61e 18884 helvetica to sans.
c2571358 18885 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18886 etc/images/newsticker.
18887
5d3385a0
JB
18888 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18889 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18890 auto-marking.
18891
8497a297
DV
188922011-05-13 Didier Verna <didier@xemacs.org>
18893
18894 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18895 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18896 TODO entries.
8497a297
DV
18897 (lisp-lambda-list-keyword-parameter-indentation)
18898 (lisp-lambda-list-keyword-parameter-alignment)
18899 (lisp-lambda-list-keyword-alignment): New customizable user options.
18900 (lisp-indent-defun-method): Improve docstring.
18901 (extended-loop-p): Fix comment.
18902 (lisp-indent-lambda-list-keywords-regexp): New variable.
18903 (lisp-indent-lambda-list): New function.
18904 (lisp-indent-259): Use it.
18905 (lisp-indent-defmethod): Support for more than one
18906 method qualifier and properly indent methods lambda-lists.
18907 (defgeneric): Provide a missing common-lisp-indent-function property.
18908
f278f87f
SM
189092011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18910
18911 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18912 bounds for the empty string (bug#8667).
18913
5233edd7
GM
189142011-05-13 Glenn Morris <rgm@gnu.org>
18915
5237a44f
GM
18916 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18917
8340026c 18918 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18919 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18920
5233edd7 18921 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18922 (appt-time-msg-list): Doc fix.
a5464014 18923 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18924
92d10796
AS
189252011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18926
18927 * progmodes/ld-script.el (ld-script-keywords)
18928 (ld-script-builtins): Update keywords list.
18929
914a0ae1
SM
189302011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18931
c89be45f
SM
18932 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18933
914a0ae1
SM
18934 * shell.el (shell-completion-vars): New function.
18935 (shell-mode):
18936 * simple.el (read-shell-command): Use it.
18937 (blink-matching-open): No need for " [...]" in minibuffer-message.
18938
98dc3df3
GM
189392011-05-12 Glenn Morris <rgm@gnu.org>
18940
18941 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18942 (appt-check): Simplify.
18943
d2fc7e3d 189442011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18945
4d61f28d 18946 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18947 literal "/dev/null".
18948
d2fc7e3d 189492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18950
18951 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18952 Fix typo.
18953
d2fc7e3d 189542011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18955
3f254caa
SM
18956 * progmodes/which-func.el (which-function):
18957 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18958 which might not be defined (Bug#8260).
18959
d45885f7
GM
189602011-05-12 Glenn Morris <rgm@gnu.org>
18961
18962 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18963 Let byte-compile-initial-macro-environment always take precedence.
18964
488086f4
SM
189652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18966
18967 * net/rcirc.el: Add support for SSL/TLS connections.
18968 (rcirc-server-alist): New field `encryption'.
18969 (rcirc): Check `encryption' settings.
18970 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18971 Merge make-local-variable into `set'.
18972 (rcirc--connection-open-p): New function.
18973 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18974 the process is not a network process (e.g. running gnutls-cli).
18975 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18976 Make rcirc-(en|de)code-coding-system local here.
18977 (rcirc-mode): Merge make-local-variable into `set'.
18978 (rcirc-parent-buffer): Make permanent buffer-local.
18979 (rcirc-multiline-minor-mode): Don't do it here.
18980 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18981 there's no server buffer.
18982
7d3b9d44
GM
189832011-05-11 Glenn Morris <rgm@gnu.org>
18984
f64049c6
GM
18985 * newcomment.el (comment-kill): Prefix "unused" local.
18986
93c9df73
GM
18987 * term/w32console.el (get-screen-color): Declare.
18988
7d3b9d44
GM
18989 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18990 Handle symbol elements of byte-compile-initial-macro-environment.
18991
9e2dd53f
LL
189922011-05-10 Leo Liu <sdl.web@gmail.com>
18993
488086f4
SM
18994 * bookmark.el (bookmark-bmenu-mode-map):
18995 Bind bookmark-bmenu-search to `/'.
8b340240 18996
9e2dd53f 18997 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18998 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18999 (Footnote-unicode): New function.
19000 (footnote-style-alist): Add unicode style to the list.
19001 (footnote-style): Doc fix.
9e2dd53f 19002
79b70037
GM
190032011-05-10 Jim Meyering <meyering@redhat.com>
19004
19005 Fix doubled-word typos.
19006 * international/quail.el (quail-insert-kbd-layout): and and -> and
19007 * kermit.el: and and -> and
19008 * net/ldap.el (ldap-search-internal): to to -> to
19009 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19010 * progmodes/js.el (js-mode): and and -> and
19011 * textmodes/artist.el (artist-move-to-xy): at at -> at
19012 (artist-draw-region-trim-line-endings): if if -> if
19013 And Safetyc -> Safety.
19014 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19015
b8f82dc1 190162011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19017 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19018
19019 * files.el (hack-one-local-variable-eval-safep):
19020 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19021
4f99f44b
GM
190222011-05-10 Glenn Morris <rgm@gnu.org>
19023
19024 * calendar/diary-lib.el (diary-list-entries-hook)
19025 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19026 (diary-nongregorian-marking-hook, diary-list-entries)
19027 (diary-include-other-diary-files, diary-mark-entries)
19028 (diary-mark-included-diary-files): Doc fixes.
19029
84f29e6b
JB
190302011-05-09 Juanma Barranquero <lekktu@gmail.com>
19031
19032 * misc.el: Require tabulated-list.el during compilation.
19033
9bedd73a
CY
190342011-05-09 Chong Yidong <cyd@stupidchicken.com>
19035
488086f4
SM
19036 * progmodes/compile.el (compilation-start):
19037 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19038 (compilation-filter-hook): Doc fix.
19039
797c735c
DD
190402011-05-09 Deniz Dogan <deniz@dogan.se>
19041
19042 * wdired.el: Remove outdated installation comment. Fix usage
19043 comment.
19044
5f4b1dfe
JB
190452011-05-09 Juanma Barranquero <lekktu@gmail.com>
19046
19047 * misc.el: Implement new command `list-dynamic-libraries'.
19048 (list-dynamic-libraries--loaded-only-p): New variable.
19049 (list-dynamic-libraries--refresh): New function.
19050 (list-dynamic-libraries): New command.
19051
4c44026c
CY
190522011-05-09 Chong Yidong <cyd@stupidchicken.com>
19053
488086f4
SM
19054 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19055 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19056 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19057 higher priority to avoid clobbering by gnu.
19058
027f966d
CY
190592011-05-08 Chong Yidong <cyd@stupidchicken.com>
19060
19061 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19062 if the face has existing theme settings (Bug#8454).
19063
085f5d7d
CY
190642011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19065
488086f4
SM
19066 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19067 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19068
2a86a00c
RS
19069 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19070 special file names `.' and `..' (Bug#8259).
19071
d9c54a06
CY
190722011-05-08 Chong Yidong <cyd@stupidchicken.com>
19073
488086f4
SM
19074 * progmodes/grep.el (grep-mode-font-lock-keywords):
19075 Remove buffer-changing entries.
d9c54a06
CY
19076 (grep-filter): New function.
19077 (grep-mode): Add it to compilation-filter-hook.
19078
19079 * progmodes/compile.el (compilation-filter-hook)
19080 (compilation-filter-start): New defvars.
19081 (compilation-filter): Call compilation-filter-hook prior to
19082 updating the process mark.
19083
c4662635
SM
190842011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19085
19086 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19087
b0512a1d
EZ
190882011-05-07 Eli Zaretskii <eliz@gnu.org>
19089
605c9376
EZ
19090 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19091 mailclient-send-it even if window-system is nil. (Bug#8595)
19092
c4662635
SM
19093 * term/w32console.el (terminal-init-w32console):
19094 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19095 background-mode. (Bug#8597)
19096
d1dc2cc2
SM
190972011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19098
19099 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19100 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19101 New functions.
19102 (defgeneric, eieio--defmethod): Use them.
19103 (eieio-defgeneric): Remove.
19104 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19105
915d1300
GM
191062011-05-07 Glenn Morris <rgm@gnu.org>
19107
a3961c3e
GM
19108 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19109 Use let rather than let*.
19110 (timeclock-find-discrep): Remove unused local.
19111
314347b9
GM
19112 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19113
915d1300
GM
19114 * calendar/appt.el (appt-time-msg-list): Doc fix.
19115
275b59b0
NF
191162011-05-06 Noah Friedman <friedman@splode.com>
19117
19118 * apropos.el (apropos-print-doc): Only use
19119 emacs-lisp-docstring-fill-column when it is bound to an integer,
19120 per that variable's documentation.
19121
6c19f744
SM
191222011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19123
19124 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19125 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19126
60f884b2
GM
191272011-05-06 Glenn Morris <rgm@gnu.org>
19128
5006e634
GM
19129 * calendar/appt.el (appt-message-warning-time): Doc fix.
19130 (appt-warning-time-regexp): New option.
19131 (appt-make-list): Respect appt-message-warning-time.
19132
548d0a63
GM
19133 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19134 New options.
19135 (diary-add-to-list): Strip comments from the displayed string.
19136 (diary-mode): Set comment-start and comment-end.
19137
60f884b2
GM
19138 * vc/diff-mode.el (smerge-refine-subst): Declare.
19139 (diff-refine-hunk): Don't require smerge-mode when compiling.
19140
989681bb
JB
191412011-05-06 Juanma Barranquero <lekktu@gmail.com>
19142
19143 * simple.el (list-processes): Return nil as the docstring says.
19144
a6bc05e1
MA
191452011-05-05 Michael Albinus <michael.albinus@gmx.de>
19146
19147 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19148 to "".
19149 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19150 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19151 determining of binary transfer. (Bug#7383)
19152
23c22e9a
MA
191532011-05-05 Michael Albinus <michael.albinus@gmx.de>
19154
c4662635
SM
19155 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19156 Fix port computation bug. (Bug#8618)
23c22e9a 19157
0bff894f
GM
191582011-05-05 Glenn Morris <rgm@gnu.org>
19159
b8296902
GM
19160 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19161
1f522ce8
GM
19162 * simple.el (shell-dynamic-complete-functions)
19163 (comint-dynamic-complete-functions): Declare.
19164
cf5bee67
GM
19165 * net/network-stream.el (gnutls-negotiate):
19166 * simple.el (tabulated-list-print): Fix declarations.
19167
19168 * progmodes/gud.el (syntax-symbol, syntax-point):
19169 Remove unnecessary and incorrect declarations.
19170
0bff894f 19171 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19172 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19173
9869b3ae
SM
191742011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19175
19176 Fix earlier half-done eieio-defmethod change (bug#8338).
19177 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19178 Streamline and change calling convention.
19179 (defmethod): Adjust accordingly and simplify.
19180 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19181 new eieio--defmethod.
19182 (slot-boundp): Minor CSE simplification.
19183
9c1d5ac5
MZ
191842011-05-05 Milan Zamazal <pdm@zamazal.org>
19185
19186 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19187 (glasses-make-readable): Use glasses-separate-capital-groups.
19188
455c834e
JB
191892011-05-05 Juanma Barranquero <lekktu@gmail.com>
19190
19191 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19192 (warning-series): Doc fix.
19193 (display-warning): Don't try to create the buffer if we just found it.
19194
9ed7c8cb
CY
191952011-05-04 Chong Yidong <cyd@stupidchicken.com>
19196
19197 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19198 (autoload-find-generated-file): New function.
19199 (generate-file-autoloads): Bind generated-autoload-file to
19200 buffer-file-name.
9869b3ae
SM
19201 (update-file-autoloads, update-directory-autoloads):
19202 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19203 output file (Bug#7989).
19204 (batch-update-autoloads): Doc fix.
19205
0898ca10
JB
192062011-05-04 Juanma Barranquero <lekktu@gmail.com>
19207
19208 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19209
31dfb76c
GM
192102011-05-04 Glenn Morris <rgm@gnu.org>
19211
f330b642
GM
19212 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19213 function, so it follows changes in calendar-date-style.
19214 (diary-fancy-date-matcher): New function.
19215 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19216 (diary-fancy-font-lock-fontify-region-function):
19217 Use diary-fancy-date-pattern as a function.
19218
31dfb76c
GM
19219 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19220 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19221
48e79d6a
TZ
192222011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19223
19224 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19225 instead of positional arguments. Allow :keylist and :crlfiles
19226 arguments.
19227 (open-gnutls-stream): Call it.
19228
19229 * net/network-stream.el (network-stream-open-starttls): Adjust to
19230 call `gnutls-negotiate' with :process and :hostname arguments.
19231
dd5a5ee0
SM
192322011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19233
ef80fc09
SM
19234 * minibuffer.el (completion--message): New function.
19235 (completion--do-completion, minibuffer-complete)
19236 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19237 (completion--do-completion): Don't ignore completion-auto-help when in
19238 icomplete-mode.
19239
dd5a5ee0
SM
19240 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19241 internal encoding (e.g. tibetan zero is not whitespace).
19242 (global-whitespace-mode): Prefer save-current-buffer.
19243 (whitespace-trailing-regexp): Remove useless save-match-data.
19244 (whitespace-empty-at-bob-regexp): Minor simplification.
19245
b7d22a83
CY
192462011-05-03 Chong Yidong <cyd@stupidchicken.com>
19247
19248 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19249
5192af46
AM
192502011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19251
19252 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19253 Use `concat' to create string for insertion.
5192af46 19254
5767d190
SM
192552011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19256
19257 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19258 Avoid open-line which runs post-self-insert-hook.
19259 (bibtex-fill-entry): Remove unused `end' var.
19260
bf242939
AM
192612011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19262
5767d190
SM
19263 * textmodes/ispell.el (ispell-add-per-file-word-list):
19264 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19265
25666126
LL
192662011-05-03 Leo Liu <sdl.web@gmail.com>
19267
19268 * isearch.el (isearch-yank-pop): New command.
5767d190 19269 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19270 (isearch-forward): Mention it.
19271
52d3c2d0
SM
192722011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19273
1bcace58
SM
19274 * simple.el (minibuffer-complete-shell-command): Remove.
19275 (minibuffer-local-shell-command-map): Use completion-at-point.
19276 (read-shell-command): Setup completion vars here instead.
19277 (read-expression-map): Bind TAB to symbol completion.
19278
52d3c2d0
SM
19279 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19280 error directly rather via storing it into `results'.
19281
35813471
LL
192822011-05-02 Leo Liu <sdl.web@gmail.com>
19283
19284 * vc/diff.el: Fix description.
19285
e793a940
LMI
192862011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19287
19288 * server.el (server-eval-at): New function.
19289
8de66e05
LMI
192902011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19291
19292 * net/network-stream.el (open-network-stream): Take a :nowait
19293 parameter and pass it on to `make-network-process'.
19294 (network-stream-open-plain): Ditto.
19295
dcb79f20
AS
192962011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19297
19298 * faces.el (face-spec-set-match-display): Don't match toolkit
19299 options on terminal frames.
19300
14a7fbd8
SM
193012011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19302
7eabc1be
SM
19303 * progmodes/pascal.el: Use lexical binding.
19304 (pascal-mode-map): Remove author preferences.
19305
14a7fbd8
SM
19306 * pcomplete.el (pcomplete-std-complete): Don't abuse
19307 completion-at-point.
19308
50f84510
JB
193092011-04-28 Juanma Barranquero <lekktu@gmail.com>
19310
6e087a44
JB
19311 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19312 removing code that has been dead since 1991 or so.
19313
50f84510
JB
19314 * startup.el (command-line): When warning about "_emacs", use a
19315 delayed warning to allow the user to filter it out.
19316
0ba690bd
DD
193172011-04-28 Deniz Dogan <deniz@dogan.se>
19318
19319 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19320 user has not joined.
19321
08abfaad
SM
193222011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19323
19324 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19325 aren't any completions at point.
19326
638f053a
JB
193272011-04-28 Juanma Barranquero <lekktu@gmail.com>
19328
19329 * subr.el (display-delayed-warnings): New function.
19330 (delayed-warnings-hook): New variable.
19331
8fff8daa
SM
193322011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19333
08abfaad
SM
19334 * minibuffer.el (completion-at-point, completion-help-at-point):
19335 Don't presume that a given completion-at-point-function will always
19336 use the same calling convention.
19337
8fff8daa
SM
19338 * pcomplete.el (pcomplete-completions-at-point):
19339 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19340 pcomplete-seen is non-nil.
19341 (pcomplete-comint-setup): Also recognize the new comint/shell
19342 completion functions.
19343 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19344 pcomplete-seen is non-nil.
19345
841a1577 193462011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19347
841a1577 19348 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19349 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19350 the first character in the entry. This allows for code to add its
211ec907
UJ
19351 own uid to the entry.
19352 (icalendar--convert-float-to-ical): Add export of
19353 `diary-float'-entries save for those with the optional DAY
19354 argument.
19355
2a782793
DC
193562011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19357
19358 * subr.el (shell-quote-argument): Use alternate escaping strategy
19359 when we spot a variable reference in a string.
19360
0438ce91
DC
193612011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19362
19363 * cus-start.el (all): Define customization for debug-on-event.
19364
841a1577 193652011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19366
19367 * subr.el (shell-quote-argument): Escape correctly under Windows.
19368
d090ed6c
SM
193692011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19370
19371 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19372
bfd31217
MA
193732011-04-25 Michael Albinus <michael.albinus@gmx.de>
19374
d090ed6c
SM
19375 * net/tramp.el (tramp-process-actions): Add POS argument.
19376 Delete region between POS and (pos).
bfd31217 19377
d090ed6c
SM
19378 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19379 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19380 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19381
19382 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19383 position in `tramp-process-actions' call.
19384
19385 * net/trampver.el: Update release number.
19386
e92f3bd3
SM
193872011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19388
850256b5
SM
19389 * custom.el (defcustom): Obey lexical-binding.
19390
e92f3bd3
SM
19391 Fix octave-inf completion problems reported by Alexander Klimov.
19392 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19393 Inherit from octave-mode-syntax-table.
19394 (inferior-octave-mode): Set info-lookup-mode.
19395 (inferior-octave-completion-at-point): New function.
19396 (inferior-octave-complete): Use it and completion-in-region.
19397 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19398 comint-filename-completion.
19399 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19400 symbol elements which shouldn't be word elements.
19401 (octave-font-lock-keywords, octave-beginning-of-defun)
19402 (octave-function-header-regexp): Adjust regexps accordingly.
19403 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19404
cd22b309
JB
194052011-04-25 Juanma Barranquero <lekktu@gmail.com>
19406
19407 * net/gnutls.el (gnutls-errorp): Declare before first use.
19408
8b492194
TZ
194092011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19410
19411 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19412 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19413 default trustfile exists before going to use it. Add missing
5a5fa834 19414 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19415 Reported by Claudio Bley <claudio.bley@gmail.com>.
19416 (open-gnutls-stream): Add usage example.
19417
19418 * net/network-stream.el (network-stream-open-starttls): Give host
19419 parameter to `gnutls-negotiate'.
19420 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19421 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19422
841a1577 194232011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19424
cd22b309
JB
19425 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19426 Use correct match group (bug#8438).
05842630 19427
3ba7869c
CY
194282011-04-24 Chong Yidong <cyd@stupidchicken.com>
19429
512e3ae1
CY
19430 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19431 (package-menu--generate): New arg specifying packages to show.
19432 (package-menu-refresh, package-menu-execute, list-packages):
19433 Callers changed.
19434 (package-show-package-list): New function, replacing deleted
19435 package--list-packages (renamed because it is non-internal).
19436
19437 * finder.el (finder-list-matches): Use package-show-package-list
19438 instead of deleted package--list-packages.
19439
e92f3bd3
SM
19440 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19441 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19442 (vc-annotate-mode-map): Bind it to RET.
19443
7031be6d
UR
194442011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19445
19446 * progmodes/etags.el (next-file): Don't use set-buffer to change
19447 buffers (Bug#8478).
19448
4ef177aa
CY
194492011-04-24 Chong Yidong <cyd@stupidchicken.com>
19450
c8d173eb
CY
19451 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19452
4ef177aa
CY
19453 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19454 (apropos-accumulator): Doc fix.
19455 (apropos-function, apropos-macro, apropos-command)
19456 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19457 (apropos-plist): Add face property.
19458 (apropos-symbols-internal): Fix indentation.
19459 (apropos-print): Simplify help, and recognize apropos-multi-type.
19460 (apropos-print-doc): Use button-type-get to extract the button's
19461 face property. Fill docstring (Bug#8352).
19462
4ffd0d6b 194632011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19464
19465 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19466
c6c32125 19467 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19468 (mpuz-mode-map): Use mapc.
c6c32125
JB
19469 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19470 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19471 Fix typos in docstrings.
19472
58d468b4
JB
19473 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19474 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19475
6470c3c6
JB
19476 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19477
4ffd0d6b 194782011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19479
19480 * minibuffer.el (completion--do-completion): Avoid the "Next char
19481 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19482
3ad8bad0
CY
19483 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19484 mouse-2 into unread-command-events, it is interpreted correctly.
19485
71d73c9c 19486 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19487 (image-toggle-display): Doc fix.
71d73c9c 19488
841a1577 194892011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19490
4ffd0d6b
GM
19491 * textmodes/page.el (what-page): Use line-number-at-pos to
19492 calculate line number (Bug#6825).
6e1dbaa9 19493
c2fb1b60
JB
194942011-04-22 Juanma Barranquero <lekktu@gmail.com>
19495
19496 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19497 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19498 Pass argument NO-DEFAULT to `find-tag-interactive'.
19499
e02f48d7
JB
195002011-04-22 Juanma Barranquero <lekktu@gmail.com>
19501
19502 Lexical-binding cleanup.
19503
19504 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19505 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19506 * progmodes/ada-prj.el (ada-prj-initialize-values)
19507 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19508 (ada-prj-show-value):
19509 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19510 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19511 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19512 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19513 * progmodes/bug-reference.el (bug-reference-push-button):
19514 * progmodes/fortran.el (fortran-line-length):
19515 * progmodes/glasses.el (glasses-change):
19516 * progmodes/octave-mod.el (octave-fill-paragraph):
19517 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19518 (python-pdbtrack-grub-for-buffer, python-sentinel):
19519 * progmodes/sql.el (sql-save-connection):
19520 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19521 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19522 Mark unused parameters.
19523
19524 * progmodes/compile.el (compilation--flush-directory-cache)
19525 (compilation--flush-parse, compile-internal): Mark unused parameters.
19526 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19527 (compilation-next-error-function): Remove unused variable `timestamp'.
19528
19529 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19530 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19531
19532 * progmodes/dcl-mode.el (dcl-end-of-command):
19533 Remove unused variable `start'.
19534 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19535 (dcl-option-value-basic, dcl-option-value-offset)
19536 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19537 Mark unused parameters.
19538 (dcl-save-local-variable): Remove unused variable `val'.
19539 (mode): Declare.
19540
19541 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19542 Mark unused parameters.
19543 (delphi-ignore-changes): Move before first use.
19544 (delphi-charset-token-at): Remove unused variable `start'.
19545 (delphi-else-start): Remove unused variable `if-count'.
19546 (delphi-comment-block-start, delphi-comment-block-end):
19547 Remove unused variable `kind'.
19548 (delphi-indent-line): Remove unused variable `new-point'.
19549
19550 * progmodes/ebrowse.el (ebrowse-files-list)
19551 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19552 Mark unused parameters. Don't quote `lambda'.
19553 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19554 Don't quote `lambda'.
19555 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19556 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19557 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19558 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19559 Use `ignore-errors'.
19560 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19561 (ebrowse-view/find-file-and-search-pattern)
19562 (ebrowse-view/find-member-declaration/definition):
19563 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19564 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19565 Rename parameter PREFIX-ARG to PREFIX.
19566 (ebrowse-tags-read-name): Remove unused variables `start' and
19567 `member-info'.
19568 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19569 to `tags-file'.
19570
19571 * progmodes/etags.el (local-find-tag-hook): Declare.
19572 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19573 Mark unused parameters.
19574
19575 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19576 (executable-interpret): Mark unused parameter.
19577
19578 * progmodes/flymake.el (flymake-process-sentinel)
19579 (flymake-after-change-function)
19580 (flymake-create-temp-with-folder-structure)
19581 (flymake-get-include-dirs-dot): Mark unused parameters.
19582 (flymake-safe-delete-directory): Remove unused variable `err'.
19583
19584 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19585 (speedbar-timer-fn, speedbar-line-text)
19586 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19587 (speedbar-center-buffer-smartly): Declare functions.
19588 (gdb-find-watch-expression): Remove unused variable `array'.
19589 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19590 (gdb-starting): Mark unused parameters.
19591 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19592 (gdb-table-string): Remove unused variable `res'.
19593 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19594 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19595 (gdb-display-buffer): Remove unused variable `cur-size'.
19596
19597 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19598 allow lexical-binding compilation.
19599 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19600 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19601 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19602 Mark unused parameters.
19603 (gud-gdb-marker-filter): Remove unused variable `match'.
19604 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19605 lambda expressions and funcall them, instead of using `fset'.
19606
19607 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19608 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19609
19610 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19611 variable `header-beg'; use `let'.
19612
19613 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19614 `restart', `last-sexp' and `at-do'.
19615
19616 * progmodes/js.el (js--debug): Mark unused parameter.
19617 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19618 (js--splice-into-items): Remove unused variable `item'.
19619 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19620
19621 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19622 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19623 (makefile-complete): Remove unused variable `try'.
19624 (makefile-fill-paragraph, makefile-match-function-end):
19625 Mark unused parameters.
19626
19627 * progmodes/octave-inf.el (inferior-octave-complete):
19628 Remove unused variable `proc'.
19629 (inferior-octave-output-digest): Mark unused parameter.
19630
19631 * progmodes/perl-mode.el (perl-calculate-indent):
19632 Remove unused variable `err'.
19633
19634 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19635 (prolog-indent-line): Mark unused parameters.
19636 (prolog-indent-line): Remove unused variable `beg'.
19637
19638 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19639 (reporter-dont-compact-list): Declare.
19640
19641 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19642 Remove unused variable `char'.
19643 (sh-debug): Mark unused parameter.
19644 (sh-get-indent-info): Remove unused variable `start'.
19645 (sh-calculate-indent): Remove unused variable `var'.
19646
19647 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19648 (simula-electric-keyword): Remove unused variable `null'.
19649 (simula-search-backward, simula-search-forward): Remove unused
19650 variables `begin' and `end'.
19651
19652 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19653 Remove unused variable `pos'.
19654 (vera-electric-tab, vera-comment-uncomment-region):
19655 Mark unused parameters.
19656 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19657
7ede3b65
CY
196582011-04-22 Chong Yidong <cyd@stupidchicken.com>
19659
19660 * emacs-lisp/package.el (package--builtins, package-alist)
19661 (package-load-descriptor, package-built-in-p, package-activate)
19662 (define-package, package-installed-p)
19663 (package-compute-transaction, package-buffer-info)
19664 (package--push): Doc fix. Distinguish more clearly between
19665 version strings and version lists.
19666
121656e9
JB
196672011-04-21 Juanma Barranquero <lekktu@gmail.com>
19668
19669 Lexical-binding cleanup.
19670
19671 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19672 (5x5-make-mutate-best):
19673 * play/fortune.el (fortune-in-buffer):
19674 * play/gomoku.el (gomoku-init-display):
19675 * play/solitaire.el (solitaire, solitaire-do-check):
19676 * play/tetris.el (tetris-default-update-speed-function):
19677 Mark unused parameters.
19678
19679 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19680 (bubbles--shift): Remove unused variable `char-org'.
19681 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19682 (bubbles--show-images): Remove unused variable `char'.
19683
19684 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19685 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19686 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19687 (decipher-analyze-buffer): Use ?\s.
19688 (decipher-make-checkpoint): Remove unused variable `mapping'.
19689
19690 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19691
19692 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19693 Remove unused variable `result'; use `let'.
19694
19695 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19696 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19697 (gametree-children-shown-p, gametree-compute-reduced-score):
19698 Use `ignore-errors'.
19699
19700 * play/handwrite.el (ps-lpr-switches): Declare.
19701 (handwrite): Remove unused variables `pmin' and `lastp'.
19702
19703 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19704
19705 * play/landmark.el (landmark-init-display)
19706 (landmark-update-naught-weights): Mark unused parameters.
19707 (landmark-y): Remove unused variable `noise'. Simplify.
19708 (landmark-human-plays): Remove unused variable `score'.
19709
19710 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19711 (mpuz-try-proposal): Remove unused variable `game'.
19712
19713 * play/zone.el (life-patterns): Declare.
19714
80f499c7
JB
197152011-04-20 Juanma Barranquero <lekktu@gmail.com>
19716
19717 * vc/vc.el (ediff-vc-internal): Declare function.
19718
024ff170
SM
197192011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19720
c0a193ea
SM
19721 * shell.el: Use lexical-binding and std completion UI.
19722 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19723 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19724 comint-preoutput-filter-functions rather than on
19725 comint-output-filter-functions.
19726 (shell-command-completion, shell--command-completion-data)
19727 (shell-filename-completion, shell-environment-variable-completion)
19728 (shell-c-a-p-replace-by-expanded-directory): New functions.
19729 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19730 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19731 (shell-dynamic-complete-environment-variable): Use them.
19732 (shell-dynamic-complete-as-environment-variable)
19733 (shell-dynamic-complete-as-command): Remove.
19734 (shell-match-partial-variable): Match past point.
19735 * comint.el: Clean up use of completion-at-point-functions.
19736 (comint-completion-at-point): New function.
19737 (comint-mode): Use it completion-at-point-functions.
19738 (comint-dynamic-complete): Make it obsolete.
19739 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19740 (comint-c-a-p-replace-by-expanded-history): New function.
19741 (comint-dynamic-complete-functions)
19742 (comint-replace-by-expanded-history): Use it.
19743 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19744 termination strings. Try harder to avoid second try-completion.
19745 (completion-in-region-mode-map): Disable bindings that don't work yet.
19746
2dbaa080
SM
19747 * comint.el: Use lexical-binding. Require CL.
19748 (comint-dynamic-complete-functions): Use comint-filename-completion.
19749 (comint-completion-addsuffix): Tweak custom type.
19750 (comint-filename-completion, comint--common-suffix)
19751 (comint--common-quoted-suffix, comint--table-subvert)
19752 (comint--complete-file-name-data): New functions.
19753 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19754 (comint-dynamic-list-filename-completions): Use them.
19755 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19756
2dbaa080
SM
19757 * minibuffer.el (completion-in-region-mode):
19758 Keep completion-in-region-mode--predicate global.
19759 (completion-in-region--postch):
19760 Assume completion-in-region-mode--predicate is not null.
19761
c79a6f38
SM
19762 * progmodes/flymake.el (flymake-start-syntax-check-process):
19763 Obey `dir'. Simplify.
19764
024ff170
SM
19765 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19766 we're in VC after all.
19767
1c6c854e
CS
197682011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19769
19770 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19771 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19772 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19773
bed7f140
SM
197742011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19775
332e62ab
SM
19776 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19777 add sanity check.
19778
bed7f140
SM
19779 * obsolete/erc-hecomplete.el: Make obsolete.
19780 * obsolete/: Standardize obsolescence info in the header.
19781
f195c582
GM
197822011-04-20 Glenn Morris <rgm@gnu.org>
19783
19784 * calendar/solar.el (solar-horizontal-coordinates):
19785 Use the longitude argument rather than `calendar-longitude'.
19786 (solar-date-next-longitude): Remove unused locals.
19787
cb79b8c0
VJL
197882011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19789
19790 * whitespace.el: New version 13.2.1.
19791
197922011-04-20 felix <EmacsWiki> (tiny change)
19793
d8e4b68b 19794 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19795 switching between major modes on a file.
19796
602ea69d
SM
197972011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19798
19799 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19800 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19801 multi-line comments as well.
19802
06b60517
JB
198032011-04-19 Juanma Barranquero <lekktu@gmail.com>
19804
19805 Lexical-binding cleanup.
19806
19807 * arc-mode.el (archive-mode-revert):
19808 * cmuscheme.el (scheme-interactively-start-process):
19809 * custom.el (custom-initialize-delay):
19810 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19811 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19812 * emacs-lock.el (emacs-lock-clear-sentinel):
19813 * ezimage.el (defezimage):
19814 * follow.el (follow-avoid-tail-recenter):
19815 * fringe.el (set-fringe-mode-1):
19816 * generic-x.el (bat-generic-mode-compile):
19817 * help-mode.el (help-info-variable, help-do-xref)
19818 (help-mode-revert-buffer):
19819 * help.el (view-emacs-todo):
19820 * iswitchb.el (iswitchb-completion-help):
19821 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19822 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19823 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19824 * locate.el (locate-update):
19825 * longlines.el (longlines-encode-region)
19826 (longlines-after-change-function):
19827 * outline.el (outline-isearch-open-invisible):
19828 * ps-def.el (declare-function, charset-dimension, char-width)
19829 (encode-char):
19830 * ps-mule.el (ps-mule-plot-string):
19831 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19832 (recentf-edit-list-select, recentf-edit-list-validate)
19833 (recentf-open-files-action):
19834 * rect.el (delete-whitespace-rectangle-line)
19835 (rectangle-number-line-callback):
19836 * register.el (window-configuration-to-register)
19837 (frame-configuration-to-register):
19838 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19839 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19840 (xselect-convert-to-targets, xselect-convert-to-delete)
19841 (xselect-convert-to-filename, xselect-convert-to-charpos)
19842 (xselect-convert-to-lineno, xselect-convert-to-colno)
19843 (xselect-convert-to-os, xselect-convert-to-host)
19844 (xselect-convert-to-user, xselect-convert-to-class)
19845 (xselect-convert-to-name, xselect-convert-to-integer)
19846 (xselect-convert-to-atom, xselect-convert-to-identity):
19847 * subr.el (declare, ignore, process-kill-without-query)
19848 (text-clone-maintain):
19849 * terminal.el (te-get-char, te-tic-sentinel):
19850 * tool-bar.el (tool-bar-make-keymap):
19851 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19852 * type-break.el (type-break-mode, type-break-noninteractive-query):
19853 * view.el (View-back-to-mark):
19854 * wid-browse.el (widget-browse-action, widget-browse-widget)
19855 (widget-browse-widgets, widget-browse-sexp):
19856 * widget.el (define-widget-keywords):
19857 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19858 Mark unused parameters.
19859
19860 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19861 (align-areas): Remove unused variable `look'.
19862 (align-region): Remove unused variables `real-end' and `pos-list'.
19863
19864 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19865
19866 * bindings.el (mode-line-modified, mode-line-remote):
19867 Mark unused parameters.
19868 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19869
19870 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19871 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19872
19873 * comint.el (comint-history-isearch-pop-state)
19874 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19875 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19876 (comint-substitute-in-file-name): Doc fix.
19877
19878 * completion.el (cmpl-statistics-block): Mark unused parameter.
19879 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19880 (save-completions-to-file, load-completions-from-file):
19881 Remove unused local variable `e'.
19882
19883 * composite.el (compose-chars): Remove unused variable `len'.
19884 (lgstring-insert-glyph): Remove unused variable `g'.
19885 (compose-glyph-string): Remove unused variables `ascent',
19886 `descent', `lbearing' and `rbearing'.
19887 (compose-glyph-string-relative): Remove unused variables
19888 `lbearing', `rbearing' and `wadjust'.
19889 (compose-gstring-for-graphic): Remove unused variables `header',
19890 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19891 (compose-gstring-for-terminal): Remove unused variables `header'
19892 and `nchars'. Use `let', not `let*'.
19893
19894 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19895 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19896 (Custom-buffer-done, custom-buffer-create-internal)
19897 (custom-browse-visibility-action, custom-browse-group-tag-action)
19898 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19899 (widget-magic-mouse-down-action, custom-toggle-parent)
19900 (custom-add-parent-links, custom-toggle-hide-variable)
19901 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19902 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19903 (custom-face-menu-create, custom-variable-menu-create, get)
19904 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19905 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19906 (customize-apropos): Remove unused variable `tests'.
19907 (custom-group-value-create): Remove unused variable `hidden-p'.
19908 (sort-fold-case): Declare.
19909
19910 * cus-theme.el (custom-reset-standard-faces-list)
19911 (custom-reset-standard-variables-list): Declare.
19912 (customize-create-theme, custom-theme-revert, custom-theme-write)
19913 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19914 Mark unused parameters.
19915
19916 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19917
19918 * delim-col.el (delimit-columns-max): Move defvar before first use.
19919
19920 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19921 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19922
19923 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19924 (auto-insert): Declare.
19925 (desktop-restore-file-buffer): Rename desktop-* parameters;
19926 mark unused ones.
19927 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19928 (desktop-buffer): Rename desktop-* parameters.
19929
19930 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19931 (dframe-reposition-frame-xemacs, dframe-help-echo)
19932 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19933 Mark unused parameters.
19934
19935 * dired-aux.el (backup-extract-version-start, overwrite-query)
19936 (overwrite-backup-query, rename-regexp-query)
19937 (rename-non-directory-query): Declare.
19938 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19939 (dired-add-entry): Remove unused variable `orig-file-name'.
19940 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19941 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19942 `dired-copy-preserve-time' directly.
19943 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19944 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19945
19946 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19947 (dired-virtual-revert, dired-make-relative-symlink):
19948 Mark unused parameters.
19949 (manual-program): Declare.
19950 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19951 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19952 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19953
19954 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19955
19956 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19957
19958 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19959 Declare.
19960
19961 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19962
19963 * electric.el (Electric-command-loop): Rename parameter
19964 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19965
19966 * expand.el (expand-in-literal): Remove unused variable `here'.
19967
19968 * facemenu.el (facemenu-add-new-color):
19969 Remove unused variable `docstring'.
19970
19971 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19972 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19973 (face-attr-construct): Mark unused parameter. Doc fix.
19974 (read-color): Remove unused variable `hex-string'.
19975
19976 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19977 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19978 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19979 (display-buffer-other-frame): Remove unused variable `old-window'.
19980 (kill-buffer-hook): Declare.
19981 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19982 Mark unused parameters.
19983 (after-find-file): Pass 1 to `auto-save-mode', not t.
19984
19985 * files-x.el (auto-insert): Declare.
19986 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19987
19988 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19989 variable `buf'. Mark unused parameter.
06b60517
JB
19990 (find-lisp-insert-directory): Mark unused parameter.
19991
19992 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19993 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19994 (format-common-tail): Remove, unused.
19995 (format-deannotate-region): Remove unused variable `loc'.
19996 (format-annotate-region): Remove unused variable `p'.
19997 (format-annotate-single-property-change): Remove unused variables
19998 `default' and `tail'.
19999
20000 * forms.el (read-file-filter): Declare.
20001 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20002
20003 * frame.el (frame-creation-function-alist): Mark unused parameter.
20004 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20005
20006 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20007 Remove unused parameters.
20008 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20009 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20010
20011 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20012 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20013 (hfy-prepare-tag-map): Mark unused parameters.
20014 (htmlfontify-buffer): Use `called-interactively-p'.
20015
20016 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20017 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20018 (ibuffer-do-occur): Mark unused parameters.
20019 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20020 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20021
20022 * ibuffer.el: Don't quote `lambda'.
20023 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20024 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20025 Mark unused parameters.
20026
20027 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20028 (ido-completing-read): Mark unused parameters.
20029 (ido-copy-current-word): Mark unused parameters;
20030 remove unused variable `name'.
20031 (ido-sort-merged-list): Remove unused parameter `dirs'.
20032
20033 * ielm.el (ielm-input-sender): Mark unused parameter.
20034 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20035 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20036 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20037 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20038 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20039
20040 * image-dired.el (image-dired-display-thumbs): Remove unused
20041 variables `curr-file' and `count'.
20042 (image-dired-remove-tag): Remove unused variable `start'.
20043 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20044 variable `curr-file'
20045 (image-dired-rotate-original): Remove unused variable `temp-file'.
20046 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20047 Remove unused variable `file'.
20048 (image-dired-gallery-generate): Remove unused variable `curr'.
20049 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20050
20051 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20052
20053 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20054
20055 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20056
20057 * isearch.el (minibuffer-history-symbol): Declare.
20058 (isearch-edit-string): Remove unused variable `err'.
20059 (isearch-message-prefix, isearch-message-suffix):
20060 Mark unused parameters.
20061
20062 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20063
20064 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20065
20066 * makesum.el (double-column): Remove unused variable `cnt'.
20067
20068 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20069 (ido-ignore-item-temp-list): Declare.
20070
20071 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20072 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20073 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20074 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20075 `mouse-col-delta'.
20076
20077 * mouse-sel.el (mouse-extend-internal):
20078 Remove unused variable `orig-window-frame'.
20079
20080 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20081 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20082 Move declarations before first use.
20083 (pcomplete-opt): Mark unused parameters; doc fix.
20084
20085 * proced.el (proced-revert): Mark unused parameter.
20086 (proced-send-signal): Remove unused variable `err'.
20087
20088 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20089 Rename parameter PREFIX-ARG to ARG.
20090 (ps-basic-plot-string, ps-basic-plot-whitespace):
20091 Mark unused parameters.
20092
20093 * replace.el (replace-count): Define.
20094 (occur-revert-function): Mark unused parameters.
20095 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20096 (isearch-case-fold-search, isearch-string): Declare.
20097 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20098 bind `case-fold-search'. Remove unused variables `beg' and `end',
20099 and simplify.
20100 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20101 COUNT and bind `replace-count'.
20102 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20103 to COUNT.
20104
20105 * savehist.el (print-readably, print-string-length): Declare.
20106
20107 * shadowfile.el (shadow-expand-cluster-in-file-name):
20108 Remove unused variable `cluster'.
20109 (shadow-copy-file): Remove unused variable `i'.
20110 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20111 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20112 (shadow-define-literal-group, shadow-define-regexp-group)
20113 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20114
20115 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20116 (shell): Use `called-interactively-p'.
20117 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20118
20119 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20120 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20121 (delete-backward-char): Remove unused variable `ocol'.
20122 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20123 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20124 (event-apply-hyper-modifier, event-apply-shift-modifier)
20125 (event-apply-control-modifier, event-apply-meta-modifier):
20126 Mark unused parameters.
20127 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20128 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20129
20130 * speedbar.el (speedbar-ignored-directory-expressions)
20131 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20132 (speedbar-find-file, speedbar-dir-follow)
20133 (speedbar-directory-buttons-follow, speedbar-tag-find)
20134 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20135 (speedbar-buffers-line-directory, speedbar-buffer-click):
20136 Mark unused parameters.
20137 (speedbar-tag-file): Remove unused variable `mode'.
20138 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20139
20140 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20141
20142 * talk.el (talk): Remove unused variable `display'.
20143
20144 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20145 (tar-write-region-annotate): Mark unused parameter.
20146
20147 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20148 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20149 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20150 warning by another.
20151
20152 * time-stamp.el (time-stamp-string-preprocess):
20153 Remove unused variable `require-padding'.
20154
20155 * tree-widget.el (widget-glyph-enable): Declare.
20156 (tree-widget-action): Mark unused parameter.
20157
20158 * w32-fns.el (x-get-selection): Mark unused parameter.
20159 (autoload-make-program, generated-autoload-file): Declare.
20160
20161 * wdired.el (wdired-revert): Mark unused parameters.
20162 (wdired-xcase-word): Remove unused variable `err'.
20163
20164 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20165 (whitespace-help-scroll): Remove unused variable `data-help'.
20166
20167 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20168 (widget-image-insert, widget-after-change, default)
20169 (widget-default-format-handler, widget-default-notify)
20170 (widget-default-prompt-value, widget-info-link-action)
20171 (widget-url-link-action, widget-function-link-action)
20172 (widget-variable-link-action, widget-file-link-action)
20173 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20174 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20175 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20176 (widget-insert-button-action, widget-delete-button-action, visibility)
20177 (widget-documentation-link-action, widget-documentation-string-action)
20178 (widget-const-prompt-value, widget-regexp-match, symbol)
20179 (widget-coding-system-prompt-value)
20180 (widget-key-sequence-value-to-external, sexp)
20181 (widget-sexp-value-to-internal, character, vector, cons)
20182 (widget-choice-prompt-value, widget-boolean-prompt-value)
20183 (widget-color--choose-action): Mark unused parameters.
20184 (widget-item-match-inline, widget-choice-match-inline)
20185 (widget-checklist-match, widget-checklist-match-inline)
20186 (widget-group-match): Rename parameter VALUES to VALS.
20187 (widget-field-value-set): Remove unused variable `size'.
20188 (widget-color-action): Remove unused variables `value' and `start'.
20189
20190 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20191 variable `dir'. Doc fix.
06b60517
JB
20192 (windmove-find-other-window): Don't pass it.
20193
20194 * window.el (count-windows): Mark unused parameter.
20195 (bw-adjust-window): Remove unused variable `err'.
20196
20197 * woman.el (woman-file-name): Remove unused variable `default'.
20198 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20199 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20200 (global-font-lock-mode): Declare.
20201 (woman-decode-region): Mark unused parameter.
20202 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20203
20204 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20205 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20206 (x-dnd-handle-moz-url): Remove unused variable `title'.
20207 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20208
20209 * xml.el (xml-parse-tag, xml-parse-attlist):
20210 Remove unused variable `pos'.
20211
bc4f7f3d
GM
202122011-04-19 Glenn Morris <rgm@gnu.org>
20213
20214 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20215 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20216 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20217 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20218 * calendar/cal-html.el (cal-html-insert-minical):
20219 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20220 (calendar-mark-date-pattern):
20221 Prefix "unused" locals.
20222
20223 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20224 optional argument `style'.
20225
20226 * calendar/appt.el (appt-make-list):
20227 * calendar/cal-china.el (calendar-chinese-date-string):
20228 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20229 (diary-hebrew-yahrzeit):
20230 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20231 * calendar/calendar.el (calendar-generate-window):
20232 * calendar/time-date.el (time-to-days):
20233 Remove unused local variables.
20234
16a43933
CY
202352011-04-18 Chong Yidong <cyd@stupidchicken.com>
20236
20237 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20238 glyphless-char-display table.
20239 (tabulated-list-glyphless-char-display): New var.
20240
7eed1860
SS
202412011-04-18 Sam Steingold <sds@gnu.org>
20242
20243 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20244 to acknowledgments.
20245
4d2d1ccd
GM
202462011-04-17 Glenn Morris <rgm@gnu.org>
20247
20248 * calendar/diary-lib.el (diary-sexp-entry):
20249 * calendar/holidays.el (holiday-sexp):
20250 Set debug-on-error rather than the removed stack-trace-on-error.
20251
239da61d
GM
202522011-04-16 Glenn Morris <rgm@gnu.org>
20253
20254 * progmodes/f90.el: Use lexical-binding.
20255 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20256
8b05752a
SM
202572011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20258
daca8ba5
SM
20259 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20260 (mail-mode): Setup mailalias completion here instead.
20261 * mail/mailalias.el: Use lexical-binding.
20262 (pattern, mailalias-done): Declare dynamic.
20263 (mail-completion-at-point-function): New function, from mail-complete.
20264 (mail-complete): Use it.
20265 (mail-completion-expand): New function.
20266 (mail-get-names): Use it.
20267 (mail-directory, mail-directory-process, mail-directory-stream):
20268 Don't use `pattern' for lexically bound arg.
20269
6f542485
SM
20270 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20271
037e7c3f
SM
20272 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20273 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20274 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20275
8b05752a
SM
20276 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20277 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20278 (byte-interactive-p): Define them again, for use when inlining
20279 old code.
20280
49093f60
JB
202812011-04-15 Juanma Barranquero <lekktu@gmail.com>
20282
20283 * loadup.el: Use `string-to-number', not `string-to-int'.
20284
b5b8e7de
SM
202852011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20286
20287 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20288 gud-gdb-complete-command.
20289 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20290 (gud-gdb-completion-at-point): New function.
20291 (gud-gdb-completions): Remove.
20292
f42efeb5
MA
202932011-04-14 Michael Albinus <michael.albinus@gmx.de>
20294
49093f60
JB
20295 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20296 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20297 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20298 whether `executable-find' is bound.
f42efeb5
MA
20299
20300 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20301
e240cc21
SM
203022011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20303
20304 * minibuffer.el (completion-in-region-mode-predicate)
20305 (completion-in-region-mode--predicate): New vars.
20306 (completion-in-region, completion-in-region--postch)
20307 (completion-in-region-mode): Use them.
20308 (completion--capf-wrapper): Also return the hook function.
20309 (completion-at-point, completion-help-at-point):
20310 Adjust and provide a predicate.
c2bd2ab0
SM
20311
20312 Preserve arg names for advice of subr and lexical functions (bug#8457).
20313 * help-fns.el (help-function-arglist): Consolidate the subr and
20314 new-byte-code cases. Add argument `preserve-names' to extract names
20315 from the docstring when needed.
20316 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20317 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20318 (ad-arglist): Use help-function-arglist's new arg.
20319 (ad-definition-type): Use cond.
20320
c183f693
JB
203212011-04-13 Juanma Barranquero <lekktu@gmail.com>
20322
06641a47
JB
20323 * autorevert.el (auto-revert-handler):
20324 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20325 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20326 Don't quote lambda.
20327
c183f693
JB
20328 * image-mode.el (image-transform-set-scale):
20329 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20330
1e3b6001
G
203312011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20332
20333 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20334 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20335 Upgrades via gnutls-cli are too slow to be done opportunistically.
20336
2d6af8dd
JB
203372011-04-12 Juanma Barranquero <lekktu@gmail.com>
20338
20339 * dframe.el (dframe-current-frame): Remove spurious quote.
20340
c0749a51
GM
203412011-04-12 Glenn Morris <rgm@gnu.org>
20342
088d0d61
GM
20343 * calendar/cal-tex.el (cal-tex-end-document):
20344 Try to automatically use latin1 input if needed.
20345
c0749a51
GM
20346 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20347 Don't try to cons a mark onto an empty element.
20348
5c90fde0
LL
203492011-04-11 Leo Liu <sdl.web@gmail.com>
20350
20351 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20352 buffers.
20353 (ido-kill-buffer-at-head): Support killing virtual buffers.
20354
369e974d
CY
203552011-04-10 Chong Yidong <cyd@stupidchicken.com>
20356
20357 * minibuffer.el (completion-show-inline-help): New var.
20358 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20359 (minibuffer-force-complete, minibuffer-complete-word):
20360 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20361
20362 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20363 to avoid interference from inline help (Bug#5849).
20364
37f1c930
LL
203652011-04-10 Leo Liu <sdl.web@gmail.com>
20366
099c39a4
JB
20367 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20368 Fix typo.
37f1c930 20369
a32d4040
CY
203702011-04-09 Chong Yidong <cyd@stupidchicken.com>
20371
20372 * image-mode.el (image-toggle-display-image): Signal an error if
20373 not in Image mode.
20374 (image-transform-mode, image-transform-resize)
20375 (image-transform-set-rotation): Doc fix.
daca8ba5 20376 (image-transform-set-resize): Delete.
a32d4040
CY
20377 (image-transform-set-scale, image-transform-fit-to-height)
20378 (image-transform-fit-to-width): Handle image-toggle-display-image
20379 and image-transform-resize directly.
20380
099c39a4 203812011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20382
20383 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20384 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20385 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20386 (doc-view-mode-map): Add bindings for the new functions.
20387
099c39a4 203882011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20389
4d61f28d 20390 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20391 Fix typo in docstring.
20392
3726838a
EZ
203932011-04-08 Eli Zaretskii <eliz@gnu.org>
20394
04f33f1e
EZ
20395 * files.el (file-size-human-readable): Produce one digit after
20396 decimal, like "ls -lh" does.
20397
20398 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20399 the file size representation.
20400
3726838a
EZ
20401 * simple.el (list-processes): If async subprocesses are not
20402 available, error out with a clear error message.
20403
cbb59342
CY
204042011-04-08 Chong Yidong <cyd@stupidchicken.com>
20405
20406 * help.el (help-form-show): New function, to be called from C.
20407 Put help-form output in a buffer named differently than *Help*.
20408
e3971c44
EZ
204092011-04-08 Eli Zaretskii <eliz@gnu.org>
20410
20411 * files.el (file-size-human-readable): New function.
20412
20413 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20414 computing the representation inline. Don't require `cl'.
20415
12544bbe
GM
204162011-04-08 Glenn Morris <rgm@gnu.org>
20417
a1de6c6a
GM
20418 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20419
3c4671f4
GM
20420 * net/browse-url.el (browse-url-firefox):
20421 Test system-type, not system-configuration.
20422
b605679c
GM
20423 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20424 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20425 Use log-edit-empty-buffer-p. (Bug#7598)
20426
56442f0c
GM
20427 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20428 (rlogin-mode-map): Initialize in the defvar.
20429 (rlogin): Use ignore-errors.
20430
12544bbe
GM
20431 * replace.el (occur-mode-map): Some fixes for menu items.
20432
eb237b0f
AH
204332011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20434
20435 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20436
7d668f2c
CY
204372011-04-06 Chong Yidong <cyd@stupidchicken.com>
20438
e67a13ab
CY
20439 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20440 issuing unused warnings.
20441
20442 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20443 macro directly.
20444
7d668f2c
CY
20445 * simple.el: Lisp reimplement of list-processes. Based on an
20446 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20447 (process-menu-mode): New major mode.
20448 (list-processes--refresh, list-processes):
20449 (process-menu-visit-buffer): New functions.
20450
20451 * files.el (save-buffers-kill-emacs): Don't assume any return
20452 value of list-processes, which is undocumented anyway.
20453
a83ec3c9
CY
204542011-04-06 Chong Yidong <cyd@stupidchicken.com>
20455
20456 * emacs-lisp/tabulated-list.el: New file.
20457
e91a96fe
CY
20458 * emacs-lisp/package.el: Use Tabulated List mode.
20459 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20460 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20461 table format using Tabulated List mode variables.
20462 (package--push): New macro, replacing package-list-maybe-add.
20463 (package-menu--generate): Use package--push. Renamed from
20464 package--generate-package-list.
20465 (package-menu-refresh, list-packages): Use it.
daca8ba5 20466 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20467 Return insertion data instead of inserting it directly.
099c39a4
JB
20468 (package-menu-describe-package, package-menu-execute):
20469 Use tabulated-list-get-id.
e91a96fe
CY
20470 (package-menu-mark-delete, package-menu-mark-install)
20471 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20472 (package-menu-mark-obsolete-for-deletion):
20473 Use tabulated-list-put-tag.
e91a96fe
CY
20474 (package--list-packages, package-menu-revert)
20475 (package-menu-get-package, package-menu-get-version)
20476 (package-menu-sort-by-column): Functions deleted.
20477 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20478 (package-menu--status-predicate, package-menu--version-predicate)
20479 (package-menu--name-predicate)
20480 (package-menu--description-predicate): Handle arguments in the
20481 Tabulated List format.
20482 (package-list-packages-no-fetch): Call list-packages.
20483
3e214b50
JB
204842011-04-06 Juanma Barranquero <lekktu@gmail.com>
20485
20486 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20487 (after-find-file): Don't bind it.
3e214b50
JB
20488 (revert-buffer-in-progress-p): New variable.
20489 (revert-buffer): Bind it.
20490 Pass nil for `after-find-file-from-revert-buffer'.
20491
20492 * saveplace.el (save-place-find-file-hook): Use new variable
20493 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20494
3f0f1700
GM
204952011-04-06 Glenn Morris <rgm@gnu.org>
20496
c0274801
GM
20497 * Makefile.in (AUTOGEN_VCS): New variable.
20498 (autoloads): Use $AUTOGEN_VCS.
20499
3f0f1700
GM
20500 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20501 * calendar/calendar.el (calendar-mode-map):
20502 Check for toolkit scroll bars. (Bug#8305)
20503
41ea9e48
CY
205042011-04-05 Chong Yidong <cyd@stupidchicken.com>
20505
20506 * minibuffer.el (completion-in-region--postch)
20507 (completion-in-region-mode): Remove unnecessary messages.
20508
6194c800
JB
205092011-04-05 Juanma Barranquero <lekktu@gmail.com>
20510
33256f14
JB
20511 * font-lock.el (font-lock-refresh-defaults):
20512 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20513 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20514
6194c800
JB
20515 * info.el (Info-directory-list, Info-read-node-name-2)
20516 (Info-split-parameter-string): Doc fixes.
20517 (Info-virtual-nodes): Reflow docstring.
20518 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20519 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20520 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20521 Fix typos in docstrings.
20522 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20523 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20524 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20525 (Info-restore-desktop-buffer): Mark unused parameters.
20526 (Info-directory-find-file, Info-directory-find-node)
20527 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20528 (Info-virtual-index-find-node, Info-apropos-find-file)
20529 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20530 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20531 (Info-virtual-index): Remove unused local variable `nodename'.
20532
b87a8200 205332011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20534
b87a8200
DD
20535 * net/rcirc.el: Update my e-mail address.
20536 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20537
3b2ff876
CY
205382011-04-05 Chong Yidong <cyd@stupidchicken.com>
20539
20540 * startup.el (command-line): Save the cursor's theme-face
20541 directly, instead of using face-override-spec.
20542
20543 * custom.el (load-theme): Minor optimization in assigning faces.
20544
8d17e7ca
JB
205452011-04-04 Juanma Barranquero <lekktu@gmail.com>
20546
20547 * help-fns.el (describe-variable): Complete all variables having
20548 documentation, including keywords.
20549 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20550
2fbc1934
JB
205512011-04-04 Juanma Barranquero <lekktu@gmail.com>
20552
20553 Convert to lexical-binding.
20554
20555 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20556 (bs--get-marked-string, bs--get-modified-string)
20557 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20558 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20559 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20560
20561 * ehelp.el (electric-help-execute-extended)
20562 (electric-help-ctrl-x-prefix):
20563 * hexl.el (hexl-revert-buffer-function):
20564 * linum.el (linum-after-change, linum-after-scroll):
20565 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20566
20567 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20568
74f50695
DU
205692011-04-04 Daiki Ueno <ueno@unixuser.org>
20570
20571 * epa-dired.el:
20572 * epa-mail.el:
20573 * epa-hook.el:
20574 * epa-file.el:
20575 * epa.el:
20576 * epg.el: Use lexical binding.
20577
c11325f7
CY
205782011-04-03 Chong Yidong <cyd@stupidchicken.com>
20579
0d9e9a12
CY
20580 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20581
c11325f7 20582 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20583 dictionary case for flyspell-mark-duplications-exceptions.
20584 Use regexp matching for languages.
c11325f7
CY
20585 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20586 default dictionary (Bug#7926).
20587
da91b5f2
CY
205882011-04-02 Chong Yidong <cyd@stupidchicken.com>
20589
099c39a4
JB
20590 * emacs-lisp/package.el (package--with-work-buffer):
20591 Recognize https URLs.
da91b5f2 20592
099c39a4
JB
20593 * net/network-stream.el: Move from gnus/proto-stream.el.
20594 Change prefix to network-stream throughout.
da91b5f2
CY
20595 (open-protocol-stream): Merge into open-network-stream, leaving
20596 open-protocol-stream as an alias. Handle nil BUFFER args.
20597
20598 * subr.el (open-network-stream): Move to net/network-stream.el.
20599
afa8e9f6
GM
206002011-04-02 Glenn Morris <rgm@gnu.org>
20601
1d2e369d
GM
20602 * find-dired.el (find-exec-terminator): New option.
20603 (find-ls-option): Test for -ls support.
20604 (find-ls-subdir-switches): Test for -b in find-ls-option.
20605 (find-dired, find-grep-dired): Doc fixes.
20606 (find-dired): Use find-exec-terminator.
20607
8abb7da8 20608 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20609 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20610 (find-name-arg): Remove purecopy.
8abb7da8 20611
f3ca7378
GM
20612 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20613 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20614 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20615 accordingly. Don't add the null-device if not needed.
20616
afa8e9f6
GM
20617 * files.el (save-some-buffers): Doc fix.
20618
35eae264
EZ
206192011-04-02 Eli Zaretskii <eliz@gnu.org>
20620
20621 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20622
26b51db5
JB
206232011-04-01 Juanma Barranquero <lekktu@gmail.com>
20624
20625 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20626 Use `dolist' rather than `mapcar'.
20627
7200d79c
SM
206282011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20629
03408648 20630 Add lexical binding.
7200d79c 20631
03408648
SM
20632 * subr.el (apply-partially): Use new closures rather than CL.
20633 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20634 (dolist, dotimes): Use slightly different expansion for lexical code.
20635 (functionp): Move to C.
20636 (letrec): New macro.
20637 (with-wrapper-hook): Use it and apply-partially instead of CL.
20638 (eval-after-load): Preserve lexical-binding.
20639 (save-window-excursion, with-output-to-temp-buffer): Turn them
20640 into macros.
7200d79c 20641
03408648
SM
20642 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20643
20644 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20645 than the arglist.
20646 (help-add-fundoc-usage): Don't add `Not documented'.
20647 (help-function-arglist): Handle closures, subroutines, and new
20648 byte-code-functions.
20649 (help-make-usage): Remove leading underscores.
20650 (describe-function-1): Handle closures.
20651 (describe-variable): Use special-variable-p for completion.
20652
20653 * files.el (lexical-binding): Declare safe.
f488fb65 20654
03408648
SM
20655 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20656 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20657 (pcase): Add `let' pattern.
20658 Change memoization so it actually works.
20659 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20660 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20661 <let>: New case.
f488fb65 20662
03408648
SM
20663 * emacs-lisp/macroexp.el: Use lexical binding.
20664 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20665 Don't convert ' to #' without checking that it's indeed quoting
20666 a lambda.
20667
20668 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20669 Use eval-sexp-add-defvars.
03408648
SM
20670 (eval-sexp-add-defvars): New fun.
20671
20672 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20673
20674 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20675 Don't autoload.
20676 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20677 than the internal `byte-compile-lambda'.
20678 (defmethod): Don't hide code under quotes.
20679 (eieio-defmethod): New `code' argument.
20680
20681 * emacs-lisp/eieio-comp.el: Remove.
20682
20683 * emacs-lisp/edebug.el (edebug-eval-defun)
20684 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20685 (edebug-toggle): Avoid `eval'.
20686
20687 * emacs-lisp/disass.el (disassemble-internal): Handle new
20688 `closure' objects.
20689 (disassemble-1): Handle new byte codes.
20690
20691 * emacs-lisp/cl.el (pushnew): Silence warning.
20692
20693 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20694 (cl-byte-compile-throw): Remove.
20695 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20696
20697 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20698 closures.
20699
20700 * emacs-lisp/cconv.el: New file.
20701
20702 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20703 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20704 (byte-compile-initial-macro-environment):
20705 Handle declare-function here.
20706 (byte-compile--lexical-environment): New var.
20707 (byte-stack-ref, byte-stack-set, byte-discardN)
20708 (byte-discardN-preserve-tos): New lap codes.
20709 (byte-interactive-p): Don't use any more.
20710 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20711 New macros.
20712 (byte-compile-lapcode): Use them and handle new lap codes.
20713 (byte-compile-obsolete): Remove.
20714 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20715 (byte-compile-arglist-warn): Check late def of inlinable funs.
20716 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20717 since they should have been expanded by now.
20718 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20719 (byte-compile-from-buffer): Remove unused second arg.
20720 (byte-compile-preprocess): New function.
20721 (byte-compile-toplevel-file-form): New function to distinguish
20722 file-form calls from outside from file-form calls from hunk-handlers.
20723 (byte-compile-file-form): Simplify.
20724 (byte-compile-file-form-defsubst): Remove.
20725 (byte-compile-file-form-defmumble): Simplify now that
20726 byte-compile-lambda always returns a byte-code-function.
20727 (byte-compile): Preprocess.
20728 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20729 Remove, not used any more.
20730 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20731 (byte-compile-make-args-desc): New funs.
20732 (byte-compile-lambda): Handle lexical functions. Always return
20733 a byte-code-function.
20734 (byte-compile-reserved-constants): New var, to make up room for
20735 closed-over variables.
20736 (byte-compile-constants-vector): Obey it.
20737 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20738 (byte-compile-macroexpand-declare-function): New function.
20739 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20740 byte-code-functions.
20741 (byte-compile-form): Check obsolescence here.
20742 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20743 (byte-compile-variable-ref): Remove.
20744 (byte-compile-dynamic-variable-op): New fun.
20745 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20746 (byte-compile-variable-set): New funs.
20747 (byte-compile-discard): Add 2 args.
20748 (byte-compile-stack-ref, byte-compile-stack-set)
20749 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20750 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20751 macroexpand-all instead.
20752 (byte-compile-quote-form): Remove.
20753 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20754 (byte-compile-bind, byte-compile-unbind): New funs.
20755 (byte-compile-let): Handle let* and lexical binding.
20756 (byte-compile-let*): Remove.
20757 (byte-compile-catch, byte-compile-unwind-protect)
20758 (byte-compile-track-mouse, byte-compile-condition-case):
20759 Handle a new :fun-body form, used for lexical scoping.
20760 (byte-compile-save-window-excursion)
20761 (byte-compile-with-output-to-temp-buffer): Remove.
20762 (byte-compile-defun): Simplify.
20763 (byte-compile-stack-adjustment): New fun.
20764 (byte-compile-out): Use it.
20765 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20766
20767 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20768 handler any more.
20769
20770 * emacs-lisp/byte-opt.el: Use lexical binding.
20771 (byte-inline-lapcode): Remove (to bytecomp).
20772 (byte-compile-inline-expand): Pay attention to inlining to/from
20773 lexically bound code.
20774 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20775 any more.
20776 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20777 any more and don't call compiler-macros.
20778 (byte-compile-splice-in-already-compiled-code): Remove.
20779 (byte-code): Don't inline any more.
20780 (disassemble-offset): Receive `bytes' as argument rather than via
20781 dynamic scoping.
20782 (byte-compile-tag-number): Declare before first use.
20783 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20784 `return' even if make-spliceable.
20785 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20786 obsolete interactive-p.
20787 (byte-optimize-lapcode): Optimize new lap-codes.
20788 Don't trip up on new form of `byte-constant' lap code.
20789
20790 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20791
20792 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20793
20794 * custom.el (custom-initialize-default, custom-declare-variable):
20795 Use `defvar'.
20796
20797 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20798 New variables.
20799 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20800 (COMPILE_FIRST): Add macroexp and cconv.
20801 * makefile.w32-in: Mirror changes in Makefile.in.
20802
20803 * vc/cvs-status.el:
20804 * vc/diff-mode.el:
20805 * vc/log-edit.el:
20806 * vc/log-view.el:
20807 * vc/smerge-mode.el:
20808 * textmodes/bibtex-style.el:
090bd7cb 20809 * textmodes/css-mode.el:
03408648
SM
20810 * startup.el:
20811 * uniquify.el:
da91b5f2
CY
20812 * minibuffer.el:
20813 * newcomment.el:
20814 * reveal.el:
20815 * server.el:
20816 * mpc.el:
20817 * emacs-lisp/smie.el:
20818 * doc-view.el:
20819 * dired.el:
03408648
SM
20820 * abbrev.el: Use lexical binding.
20821
0f0c1f27
EZ
208222011-04-01 Eli Zaretskii <eliz@gnu.org>
20823
20824 * info.el (info-display-manual): New function.
20825
c82b2579
SM
208262011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20827
20828 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20829
221ddf68
TH
208302011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20831
20832 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20833 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20834
cba6e77e
GM
208352011-03-31 Glenn Morris <rgm@gnu.org>
20836
e040639f
GM
20837 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20838
cba6e77e
GM
20839 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20840
6d0f1c9e
CS
208412011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20842
20843 * progmodes/python.el (python-default-interpreter)
20844 (python-python-command-args, python-jython-command-args)
20845 (python-which-shell, python-which-args, python-which-bufname)
20846 (python-file-queue, python-comint-output-filter-function)
20847 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20848 variables and functions.
20849
3e2d70fd
SM
208502011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20851
20852 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20853 (completion-in-region-mode): New minor mode.
20854 (completion-in-region): Use it.
20855 (completion-in-region--data, completion-in-region-mode-map): New vars.
20856 (completion-in-region--postch): New function.
20857 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20858 New vars.
20859 (completion--capf-wrapper): New function.
20860 (completion-at-point): Use it to track well-behavedness of
20861 hook functions.
20862 (completion-help-at-point): New command.
20863
f3e4086c
JM
208642011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20865
20866 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20867 syntax class to search for whitespace on a single line
20868 (Message-ID: <4D938140.4030905@redhat.com>).
20869
eb7ffc14
LL
208702011-03-30 Leo Liu <sdl.web@gmail.com>
20871
20872 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20873 New commands.
20874 (edit-abbrevs-map): Bind them here.
20875 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20876
d806ab68
KM
208772011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20878
20879 * allout.el (allout-hide-by-annotation, allout-flag-region):
20880 Reduce possibility of overlay leakage by making them volatile.
20881
20882 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20883 hash is not shared between buffers. Mode initialization is
20884 responsible for giving it a useful starting value.
20885 (allout-item-span): Reduce possibility of overlay leakage by
20886 making them volatile.
20887 (allout-widgets-count-buttons-in-region): Add diagnostic function
20888 for tracking down button overlay leaks.
20889
ea622834
LL
208902011-03-29 Leo Liu <sdl.web@gmail.com>
20891
20892 * ido.el (ido-read-internal): Use the default history var
20893 minibuffer-history if no HISTORY is specified.
20894
b62f8267
G
208952011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20896
03408648
SM
20897 * net/imap.el (imap-shell-open, imap-process-connection-type):
20898 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20899 Kerberos, SSL, other subprocesses.
20900
947b6566
LL
209012011-03-28 Leo Liu <sdl.web@gmail.com>
20902
20903 * abbrev.el (abbrev-table-empty-p): New function.
20904 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20905 nonempty ones. (Bug#5937)
20906
5ffb62aa
JD
209072011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20908
20909 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20910
7a097943
LL
209112011-03-27 Leo Liu <sdl.web@gmail.com>
20912
20913 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20914 for foreground and background colors.
20915 (ansi-color-make-color-map): Adapt.
20916
c5b40130
LL
209172011-03-25 Leo Liu <sdl.web@gmail.com>
20918
1f48f7d2
LL
20919 * midnight.el (midnight-time-float): Remove. Note it calculates
20920 the microsecond component incorrectly and seconds-to-time does the
20921 same job.
625897ec 20922 Remove redundant (require 'timer).
1f48f7d2 20923
c5b40130
LL
20924 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20925 (ido-completions): Remove unused arguments. (Bug#8329)
20926
d86d2721
SM
209272011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20928
20929 * minibuffer.el (completion--flush-all-sorted-completions):
20930 Remove itself from hook.
20931 (completion-at-point): Let the functions perform the completion
20932 immediately and return nil or t.
20933 * comint.el (comint-dynamic-complete-functions): Now identical to
20934 completion-at-point-functions.
20935 (comint-dynamic-list-input-ring): Remove unused var `index'.
20936 (comint--match-partial-filename, comint--unquote&expand-filename):
20937 New funs, split from comint-match-partial-filename.
20938 (comint-dynamic-complete): Use completion-at-point.
20939 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20940
e8974c48
DA
209412011-03-24 Drew Adams <drew.adams@oracle.com>
20942
20943 * thingatpt.el: Support `defun'.
20944
def71b5e
LL
209452011-03-23 Leo Liu <sdl.web@gmail.com>
20946
cb5af48e
LL
20947 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20948
def71b5e
LL
20949 * help-mode.el (help-mode-finish): Tweak regexp.
20950
927c53e7
GM
209512011-03-23 Glenn Morris <rgm@gnu.org>
20952
18d05bed
GM
20953 * eshell/esh-opt.el (eshell-eval-using-options):
20954 Do not bind unused local variable `eshell-option-stub'.
20955
927c53e7
GM
20956 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20957
9d0da923
JB
209582011-03-22 Juanma Barranquero <lekktu@gmail.com>
20959
20960 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20961 keymap variable in `with-no-warnings' to avoid a warning when the
20962 keymap has been already `defconst'ed.
20963
4b978a67
LL
209642011-03-22 Leo Liu <sdl.web@gmail.com>
20965
20966 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20967 encode all chars in abbrevs; otherwise use emacs-mule or
20968 utf-8-emacs. (Bug#8308)
20969
5fd62452
JB
209702011-03-22 Juanma Barranquero <lekktu@gmail.com>
20971
0b1596c6
JB
20972 * simple.el (backward-delete-char-untabify):
20973 Avoid warning about using `delete-backward-char'.
20974
5fd62452
JB
20975 * image.el (image-type-file-name-regexps): Make it variable.
20976 `imagemagick-register-types' modifies it, and the user may want
20977 to add new extensions for known image types.
20978 (imagemagick-register-types): Throw error if not using ImageMagick.
20979
0b4e93f1
LL
209802011-03-22 Leo Liu <sdl.web@gmail.com>
20981
20982 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20983 located before rcirc-prompt-end-marker.
20984 (rcirc-complete): Error if point is not after rcirc prompt.
20985 Handle the case when table is nil.
9882e214 20986 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20987
fccee4ab
CY
209882011-03-22 Chong Yidong <cyd@stupidchicken.com>
20989
20990 * custom.el (custom--inhibit-theme-enable): Make it affect only
20991 custom-theme-set-variables and custom-theme-set-faces.
20992 (provide-theme): Ignore custom--inhibit-theme-enable.
20993 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20994 (custom-enabling-themes): Delete variable.
d86d2721
SM
20995 (enable-theme): Accept only loaded themes as arguments.
20996 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20997 (custom-enabled-themes): Forbid themes from setting this.
20998 Eliminate use of custom-enabling-themes.
20999 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21000
af896da6
LL
210012011-03-21 Leo Liu <sdl.web@gmail.com>
21002
21003 * ido.el (ido-read-internal): Add ido-selected to history instead
21004 of user input.
21005
78f64af0
SM
210062011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21007
21008 * subr.el (deferred-action-list, deferred-action-function):
21009 Mark obsolete.
21010
b16ac1ec
LL
210112011-03-21 Leo Liu <sdl.web@gmail.com>
21012
810f7698
LL
21013 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21014 change on 2011-02-13 (bug#8309).
21015
b16ac1ec
LL
21016 * minibuffer.el (read-file-name-function): Change default value.
21017 (read-file-name--defaults): Rename from read-file-name-defaults.
21018 (read-file-name-default): Rename from read-file-name.
21019 (read-file-name): Call read-file-name-function.
21020
4e05e67e
GM
210212011-03-21 Glenn Morris <rgm@gnu.org>
21022
21023 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21024 Doc fixes.
21025
4359915b
CY
210262011-03-21 Chong Yidong <cyd@stupidchicken.com>
21027
21028 * cus-theme.el: Add missing provide statement.
21029 (customize-create-theme): Extract theme value correctly.
21030 (custom-theme-visit-theme): Autoload.
21031 (customize-create-theme): Prompt before inserting default faces.
21032
1fe275ee
JB
210332011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21034
21035 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21036 units and musical notes.
21037
cd394be1 210382011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21039
21040 * ido.el (ido-read-internal): Use completing-read-default.
21041 (ido-completing-read): Fix compatibility with completing-read.
21042
7d476bde
CO
210432011-03-20 Christian Ohler <ohler@gnu.org>
21044
21045 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21046 (ert-delete-all-tests): Use `called-interactively-p' rather than
21047 `interactive-p'.
21048 (ert--make-xrefs-region): Respect END.
21049
fe0fb33e
CY
210502011-03-19 Chong Yidong <cyd@stupidchicken.com>
21051
ff854b0b
CY
21052 * dired-aux.el (dired-create-directory): Signal an error if the
21053 directory already exists (Bug#8246).
21054
fe0fb33e
CY
21055 * facemenu.el (list-colors-display): Call list-faces-display
21056 inside with-help-window.
21057 (list-colors-print): Use display property to align the final
21058 column, instead of checking window-width.
21059
576bce32
EZ
210602011-03-19 Eli Zaretskii <eliz@gnu.org>
21061
4d61f28d 21062 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21063 windows-nt systems.
21064 (emerge-protect-metachars): Quote correctly for ms-dos and
21065 windows-nt systems.
21066
89c41d68 210672011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21068
21069 * info.el (info-initialize): Replace all uses of `:' with
21070 path-separator for compatibility with non-Unix systems.
21071 Cache quoting of path-separator. (Bug#8258)
21072
b14e3e21 210732011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21074
21075 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21076 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21077 (mouse-avoidance-mode): Fix typos in docstrings.
21078
4525ce3e
CY
210792011-03-19 Chong Yidong <cyd@stupidchicken.com>
21080
21081 * startup.el (package-subdirectory-regexp): Move from package.el.
21082 Omit \\` and \\', and let callers add them.
21083
21084 * emacs-lisp/package.el (package-strip-version)
21085 (package-load-all-descriptors): Add \\` and \\' to
21086 package-subdirectory-regexp before using it.
21087 (package-untar-buffer): New arg DIR; ensure that file untars only
21088 into this expected directory. Remove superfluous delete-region.
21089 (package-unpack): Caller changed.
21090 (package-tar-file-info): Use package-subdirectory-regexp.
21091
a904a09a 210922011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21093
a904a09a
SM
21094 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21095 diff-mode-shared-map (bug#8284).
21096 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21097
210982011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21099
21100 * calendar/time-date.el (format-seconds): Use assoc instead of
21101 assoc-string, since assoc-string doesn't exist in XEmacs.
21102
171fc304
JB
211032011-03-17 Juanma Barranquero <lekktu@gmail.com>
21104
21105 * custom.el (custom-known-themes): Reflow docstring.
21106 (custom-theme-load-path): Fix typo in docstring.
21107 (load-theme): Fix typo in error message.
21108 (custom-available-themes, custom-variable-theme-value):
21109 Use `let', not `let*'.
21110
d71990a1
JB
211112011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21112
21113 * calc/README: Mention inclusion of musical notes.
21114
21115 * calc/calc-units.el (calc-lu-quant): Rename from
21116 `calc-logunits-quantity'.
21117 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21118 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21119 (calc-db): Rename from `calc-dblevel'.
21120 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21121 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21122 (calc-np): Rename from `calc-nplevel'.
21123 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21124 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21125 (calc-lu-plus): Rename from `calc-logunits-add'.
21126 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21127 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21128 (calc-lu-minus): Rename from `calc-logunits-sub'.
21129 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21130 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21131 (calc-lu-times): Rename from `calc-logunits-mul'.
21132 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21133 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21134 (calc-lu-divide): Rename from `calc-logunits-div'.
21135 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21136 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21137
21138 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21139 functions being autoloaded.
21140
21141 * calc/calc.el (calc-lu-power-reference): Rename from
21142 `calc-logunits-power-reference'.
21143 (calc-lu-field-reference): Rename from
21144 `calc-logunits-field-reference'.
21145
7a71b18d
GM
21146 * calc/calc-help.el (calc-l-prefix-help):
21147 Mention musical note functions.
d71990a1 21148
40c2934b
SM
211492011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21150
21151 * minibuffer.el (completion-all-sorted-completions):
21152 Use :completion-cycle-penalty text property if present.
21153
b0911414
KM
211542011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21155
21156 * allout.el (allout-yank-processing): Adjust for new rebulleting
21157 regime so bullet being yanked is used without prompting the user
21158 for a choice.
21159
8a05b668
JB
211602011-03-16 Juanma Barranquero <lekktu@gmail.com>
21161
21162 * startup.el (command-line): Warn the user that _emacs is deprecated.
21163
5ba5fb81
JB
211642011-03-16 Juanma Barranquero <lekktu@gmail.com>
21165
21166 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21167 (delphi-verbose, delphi-comment-face, delphi-string-face)
21168 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21169 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21170 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21171 (delphi-new-comment-line, delphi-font-lock-defaults)
21172 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21173 Fix typos in docstrings.
21174
2dab465b
KM
211752011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21176
5ba5fb81 21177 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21178 Invert the roles of character and string values for INSTEAD, so a
21179 string is used for the more common case of a defaulting prompt.
21180
0adf5618
SM
211812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21182
21183 * progmodes/ruby-mode.el (ruby-backward-sexp):
21184 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21185 * play/gamegrid.el (gamegrid-make-face):
21186 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21187 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21188 * notifications.el (notifications-notify):
21189 * net/xesam.el (xesam-search-engines):
21190 * net/quickurl.el (quickurl-list-insert):
21191 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21192
d72700e5
CY
211932011-03-15 Chong Yidong <cyd@stupidchicken.com>
21194
21195 * startup.el (command-line): Update package subdirectory regexp.
21196
49c5410a
SM
211972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21198
c6eee9aa
SM
21199 * allout.el (allout-abbreviate-flattened-numbering)
21200 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21201
49c5410a
SM
21202 * subr.el (read-char-choice): Only show the cursor after the prompt,
21203 not after the answer.
21204
047b2bb9
KR
212052011-03-15 Kevin Ryde <user42@zip.com.au>
21206
21207 * help-fns.el (variable-at-point): Skip leading quotes, if any
21208 (bug#8253).
21209
0a57d256
SM
212102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21211
21212 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21213 warning message.
21214
77c992bc
MA
212152011-03-14 Michael Albinus <michael.albinus@gmx.de>
21216
21217 * shell.el (shell): When called interactively, offer to change the
21218 shell file name on remote hosts.
21219
eebc475d
TZ
212202011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21221
21222 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21223 integration for LDAP parameters. The host, base, user or binddn,
21224 and secret tokens can be specified in a netrc file, for instance.
21225 This is optional because an `auth-source' parameter must be
21226 specified in the search attributes.
21227
9d05d1ba
JB
212282011-03-13 Juanma Barranquero <lekktu@gmail.com>
21229
21230 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21231
09d9db2c
GM
212322011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21233
21234 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21235 into declaration. Remove redundant and harmful binding.
21236
212372011-03-12 Eli Zaretskii <eliz@gnu.org>
21238
21239 * files.el (file-ownership-preserved-p): Pass `integer' as an
21240 explicit 2nd argument to `file-attributes'. If the file's owner
21241 is the Administrators group on Windows, and the current user is
21242 Administrator, consider that a match.
21243
21244 * server.el (server-ensure-safe-dir): Consider server directory
21245 safe on MS-Windows if its owner is the Administrators group while
21246 the current Emacs user is Administrator. Use `=' to compare
21247 numerical UIDs, since they could be integers or floats.
21248
219bd536
JB
212492011-03-12 Juanma Barranquero <lekktu@gmail.com>
21250
21251 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21252
f3afd36b
MA
212532011-03-12 Michael Albinus <michael.albinus@gmx.de>
21254
21255 Sync with Tramp 2.2.1.
21256
21257 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21258
21259 * net/trampver.el: Update release number.
21260
3aaaa6f1
SM
212612011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21262
94642599
SM
21263 * progmodes/compile.el (compilation--previous-directory): Fix up
21264 various nil/dead-marker mismatches (bug#8014).
21265 (compilation-directory-properties, compilation-error-properties):
21266 Don't call it at a position past the one we're about to change.
21267
3aaaa6f1
SM
21268 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21269 Disable obsolescence warnings in the file that declares it.
21270
14239447
KM
212712011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21272
099c39a4
JB
21273 * allout-widgets.el (allout-widgets-tally):
21274 Initialize allout-widgets-tally as a hash table rather than nil to
21275 prevent mode-line redisplay warnings. Also, clarify the module
21276 description and fix a comment typo.
14239447 21277
135e287c
JB
212782011-03-11 Juanma Barranquero <lekktu@gmail.com>
21279
21280 * help-fns.el (describe-variable): Don't complete keywords.
21281 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21282
ffbf300e
CY
212832011-03-10 Chong Yidong <cyd@stupidchicken.com>
21284
ba08b241
CY
21285 * emacs-lisp/package.el (package-version-join): Impose a standard
21286 string representation for pre/alpha/beta version lists.
21287 (package-unpack-single): Standardize the directory name by passing
21288 it through package-version-join.
21289 (package-strip-rcs-id): Accept any version string that does not
21290 signal an error in version-to-list.
ffbf300e 21291
f346fd6b
MA
212922011-03-10 Michael Albinus <michael.albinus@gmx.de>
21293
21294 * simple.el (delete-trailing-whitespace): Return nil for the
21295 benefit of `write-file-functions'.
21296
ccb55d27
GM
212972011-03-10 Glenn Morris <rgm@gnu.org>
21298
5ceaac0c
GM
21299 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21300
02da65ff
GM
21301 * vc/vc-git.el (vc-git-program): New option.
21302 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21303 (vc-git--call): Use it.
21304
b2f603cc
GM
21305 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21306
5772caab
GM
21307 * cus-edit.el (Custom-newline): If no button at point, look
21308 for a subgroup button at start-of-line. (Bug#2298)
21309
ccb55d27
GM
21310 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21311
ec6ecaed
JD
213122011-03-10 Julien Danjou <julien@danjou.info>
21313
21314 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21315 `cursor-type' is nil.
21316
9d5aa01d
JB
213172011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21318
21319 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21320
b6a5875b
KM
213212011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21322
7a71b18d 21323 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21324 preserves the existing header prefix, rebulleting it if necessary,
21325 rather than replacing it. This is necessary for proper operation
21326 of cooperative addons like allout-widgets.
1154d12e
JB
21327 (allout-make-topic-prefix, allout-rebullet-heading):
21328 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21329 value as alternate bullet to be used, instead of prompting the user
21330 for a bullet character.
b6a5875b 21331
ee545c35
MA
213322011-03-09 Michael Albinus <michael.albinus@gmx.de>
21333
d86d2721
SM
21334 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21335 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21336 `tramp-default-port'.
21337
c47971d7
DD
213382011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21339
21340 * net/rcirc.el (rcirc-handler-001): Remove useless
21341 with-rcirc-process-buffer.
21342 (rcirc-check-auth-status): Swap arguments to string-match.
21343
13522cb4
GM
213442011-03-09 Glenn Morris <rgm@gnu.org>
21345
0be6f4f1
GM
21346 * shell.el (shell-mode):
21347 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21348
13522cb4
GM
21349 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21350 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21351
515de2e3
CY
213522011-03-08 Chong Yidong <cyd@stupidchicken.com>
21353
21354 * emacs-lisp/package.el (package-refresh-contents)
21355 (package-menu-execute): Use condition-case-no-debug.
21356
b511b994
MA
213572011-03-08 Michael Albinus <michael.albinus@gmx.de>
21358
21359 * simple.el (shell-command-to-string): Use `process-file'.
21360
21361 * emacs-lisp/package.el (package-tar-file-info): Handle also
21362 remote files.
21363
d86d2721
SM
21364 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21365 Use `equal' for upload base check.
b511b994 21366
25bbfb31
AM
213672011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21368
21369 * textmodes/texinfo.el (texinfo-environments):
21370 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21371
be996521
GM
213722011-03-08 Glenn Morris <rgm@gnu.org>
21373
e9c8529f
GM
21374 * cus-start.el (cursor-in-non-selected-windows):
21375 Fix :set quoting oddness. (Bug#8192)
21376
be996521
GM
21377 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21378 in some setf expressions. (Bug#2159)
21379
2bb5649e
CY
213802011-03-08 Chong Yidong <cyd@stupidchicken.com>
21381
21382 * custom.el (custom-available-themes): Return themes in
21383 alphabetical order.
21384
33383987 21385See ChangeLog.15 for earlier changes.
e3d51b27
MR
21386
21387;; Local Variables:
21388;; coding: utf-8
e3d51b27
MR
21389;; End:
21390
acaf905b 21391 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
21392
21393 This file is part of GNU Emacs.
21394
21395 GNU Emacs is free software: you can redistribute it and/or modify
21396 it under the terms of the GNU General Public License as published by
21397 the Free Software Foundation, either version 3 of the License, or
21398 (at your option) any later version.
21399
21400 GNU Emacs is distributed in the hope that it will be useful,
21401 but WITHOUT ANY WARRANTY; without even the implied warranty of
21402 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21403 GNU General Public License for more details.
21404
21405 You should have received a copy of the GNU General Public License
21406 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.