Sync Version: headers with -version variables
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
beb6d07d
SM
12013-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4
345f866e
FEG
52013-01-24 Fabián Ezequiel Gallina <fgallina@cuca>
6
7 * progmodes/python.el: Enhancements to header documentation about
8 skeletons. (Bug#5716)
9
ddc62155
FEG
102013-01-23 Fabián Ezequiel Gallina <fgallina@cuca>
11
12 * imenu.el (imenu-default-create-index-function): Remove useless
13 infinite loop check. (Bug#13438)
14
267eacb5
AM
152013-01-23 Alan Mackenzie <acm@muc.de>
16
17 Fix a bug in the state cache mechanism. Refactor this a bit.
18
19 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
20 `cache-pos' element from the return value.
21 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
22 buffer to enable proper searching from beyond HERE. Amend the
23 test for detecting the sought brace pair. Amend the value written
24 to the "brace desert cache" when the brace isn't found.
25 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
26 and several other variables analogously.
27 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
28 parameter to a locally calculated variable.
29 (c-parse-state-1): Change the calling conventions to the two
30 defuns involving `cache-pos'.
31
4d4ddaa7
CY
322013-01-23 Chong Yidong <cyd@gnu.org>
33
34 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
35
2fc71e3c
LL
362013-01-18 Leo Liu <sdl.web@gmail.com>
37
38 * dired.el (dired-get-marked-files): Prune erroneous values due to
39 last change. (Bug#13152)
40
19503d5a
GM
412013-01-17 Glenn Morris <rgm@gnu.org>
42
43 * progmodes/etags.el (tags-table-check-computed-list):
44 Preserve point in tags buffer. (Bug#13412)
45
41b057ad
GM
462013-01-16 Glenn Morris <rgm@gnu.org>
47
f8a42ad6
GM
48 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
49
41b057ad
GM
50 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
51 Revert 2012-12-29 change. Ref:
52 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00360.html>
53
50620051
FEG
542013-01-10 Fabián Ezequiel Gallina <fgallina@cuca>
55
56 * progmodes/python.el (python-nav-end-of-statement): Fix
57 cornercase when handling multiline strings.
58
3c855b96
GM
592013-01-10 Glenn Morris <rgm@gnu.org>
60
61 * emacs-lisp/authors.el (authors-ignored-files)
62 (authors-valid-file-names, authors-renamed-files-alist):
63 Add some more entries.
64
08ce64e6
SM
652013-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
66
67 * image-mode.el (image-mode-winprops): Don't throw away the fallback
68 `t' pseudo-window entry.
69
8cff5feb
AM
702013-01-09 Alan Mackenzie <acm@muc.de>
71
72 Fix bugs in the c-parse-state mechanism. Reuse some markers
73 instead of continually generating new ones.
74
75 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
76 (c-state-old-cpp-end-marker): New variables.
77 (c-append-lower-brace-pair-to-state-cache): Start a backward
78 search for "}" definitively outside CPP constructs.
79 (c-remove-stale-state-cache): Inform the caller of a need to
80 search back for a brace pair in certain circumstances.
81 (c-state-maybe-marker): New macro.
82 (c-parse-state): Reuse markers when appropriate.
83
89c0dda8
GM
842013-01-09 Glenn Morris <rgm@gnu.org>
85
86 * simple.el (execute-extended-command): Doc fix.
87 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
88
5b64ccd7
CY
892013-01-09 Chong Yidong <cyd@gnu.org>
90
91 * faces.el (read-face-name): Doc fix.
92
c5ad92de
GM
932013-01-09 Glenn Morris <rgm@gnu.org>
94
95 * emacs-lisp/trace.el (trace-function, trace-function-background):
96 Doc fix.
97
39a0786e
JL
982013-01-09 Juri Linkov <juri@jurta.org>
99
100 * international/mule-cmds.el (read-char-by-name): Move let-binding
101 of completion-ignore-case around completing-read to fix regression
102 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
103 `string-match-p' using the nil value of `case-fold-search' and
104 `completion-ignore-case' in `completion-pcm--all-completions'.
105 (Bug#12615).
106
06364e64
GM
1072013-01-07 Glenn Morris <rgm@gnu.org>
108
109 * progmodes/compile.el (compilation-parse-errors):
110 Fix typo. (Bug#13369)
111
236a8f0c
VS
1122013-01-07 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
113
114 * comint.el (comint-send-input): Check size of buffer before
115 waiting for process output, in case already accepted. (Bug#13290)
116
f99ced35
MA
1172013-01-04 Michael Albinus <michael.albinus@gmx.de>
118
119 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
120 non-negative integers. Otherwise, the default values are used.
121 (tramp-convert-file-attributes): Convert uid and gid to integers.
122
ad235a8b
GM
1232013-01-03 Glenn Morris <rgm@gnu.org>
124
d2be4dcc
GM
125 * term.el (term-handle-colors-array): Ensure face attributes
126 are fully specified, not nil. (Bug#13337)
127
5b00b749
GM
128 * term.el (term-default-fg-color, term-default-bg-color):
129 Fix custom type.
130
220740a3
GM
131 * progmodes/etags.el (tags-compression-info-list): Doc fix.
132 (tag-find-file-of-tag-noselect): Check auto-compression-mode
133 rather than 'jka-compr being loaded. (Bug#13338)
134
ed5bdeb9
GM
135 * subr.el (eval-after-load): Don't purecopy the form, so that it
136 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
137
ad235a8b
GM
138 * emacs-lisp/byte-run.el (defun): Place cl declarations
139 after any interactive spec. (Bug#13265)
140
5cebef2d
AS
1412012-12-31 Andreas Schwab <schwab@linux-m68k.org>
142
143 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
144 defun. Don't check for DECL if DOCSTRING isn't a string.
145 (defun): Likewise.
146
4cddca30
GM
1472012-12-31 Glenn Morris <rgm@gnu.org>
148
5ee1772e
GM
149 * eshell/em-cmpl.el (eshell-pcomplete):
150 More thoroughly imitate pcomplete. (Bug#13293)
151
4cddca30
GM
152 * files.el (parse-colon-path): Doc fix. (Bug#12351)
153 Return nil for empty path elements. (Bug#13296)
154
6861432e
FEG
1552012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
156
157 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
158 order to improve efficiency (Based on Daniel Colascione's
159 <dancol@dancol.org> patch). (Bug#13182)
160
b83a2ddd
GM
1612012-12-31 Glenn Morris <rgm@gnu.org>
162
163 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
164
df4758b8
FEG
1652012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
166
167 * progmodes/python.el: Support other commands triggering
168 python-indent-line so indentation cycling continues to work.
169 (python-indent-trigger-commands): New defcustom.
170 (python-indent-line): Use it.
171
1722012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
173
174 * progmodes/python.el (python-shell-send-region): Add blank lines
175 for non sent code so backtraces remain correct.
176
bdcad781
AS
1772012-12-31 Andreas Schwab <schwab@linux-m68k.org>
178
179 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
180 neither DOCSTRING nor DECL was given. (Bug#13316)
181
8db39aeb
GM
1822012-12-30 Glenn Morris <rgm@gnu.org>
183
184 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
185 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
186 (rmail-summary-displayed, rmail-summary): Declare.
187 (mairix-rmail-display): Just require rmail.
188
3c94d7a6
CY
1892012-12-29 Chong Yidong <cyd@gnu.org>
190
191 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
192 check for the tarball contents.
193
af39894a
MF
1942012-12-29 Matt Fidler <matt.fidler@alcon.com> (tiny change)
195
196 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
197 tarfile content listings (Bug#13136).
198
bb709253
ML
1992012-12-29 Mark Lillibridge <mark.lillibridge@hp.com>
200
201 * mail/rmailmm.el (rmail-insert-mime-forwarded-message): Insert
202 the undecoded text of the message being forwarded. (Bug#9521)
203
3ee24a3b
MA
2042012-12-28 Michael Albinus <michael.albinus@gmx.de>
205
206 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
207 integers, if they are real numbers. (Bug#13282)
208
db590ef6
DG
2092012-12-26 Dmitry Gutov <dgutov@yandex.ru>
210
211 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
212 "module" and "def" to have indentation before them. Regression
213 from 109911 (see the new test).
214
ea0857a1
DG
2152012-12-24 Dmitry Gutov <dgutov@yandex.ru>
216
217 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
218
3f6b93cd
AM
2192012-12-23 Alan Mackenzie <acm@muc.de>
220
221 Speed up fontification where there's large brace blocks.
222 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
223 to a call of c-beginning-of-decl-1.
224
594f37aa
CY
2252012-12-21 Chong Yidong <cyd@gnu.org>
226
227 * sort.el (sort-subr): Doc fix (Bug#13056).
228
acc650b8
BG
2292012-12-20 Bastien Guerry <bzg@gnu.org>
230
acc650b8
BG
231 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
232
14b8c3d9
AM
2332012-12-11 Alan Mackenzie <acm@muc.de>
234
235 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
236 * progmodes/cc-engine.el (c-backward-comments): Add code to work
237 around `forward-comment' not recognizing ^M as whitespace.
238
2c43a9ad
FEG
2392012-12-11 Fabián Ezequiel Gallina <fgallina@cuca>
240
241 * progmodes/python.el (python-skeleton-class)
242 (python-skeleton-def): Do not add space after defun name.
243
2c066ad3
CY
2442012-12-09 Chong Yidong <cyd@gnu.org>
245
246 * simple.el (set-mark-default-inactive): Mark as obsolete, for
247 removal after 24.3.
248
6ce49f24
DM
2492012-12-08 Dani Moncayo <dmoncayo@gmail.com>
250
251 * simple.el (just-one-space): Doc fix.
252
8d43bd30
EZ
2532012-12-07 Eli Zaretskii <eliz@gnu.org>
254
255 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add
256 "smallexample".
257
3a21537c
LW
2582012-12-07 Le Wang <l26wang@gmail.com>
259
260 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
261 narrowed buffer (bug#12361).
262
61025111
MH
2632012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
264
265 * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
266 Virtually backported from trunk.
267
bf741d33
JB
2682012-12-07 Juanma Barranquero <lekktu@gmail.com>
269
270 * vc/vc-hooks.el (vc-state): Doc fix.
271
07026166
GM
2722012-12-06 Glenn Morris <rgm@gnu.org>
273
274 * mail/rmail.el (rmail-maybe-display-summary):
275 Preserve buffer, in case select-window changes it. (Bug#13066)
276
82e1f390
SM
2772012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
278
279 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
280 cl-load-hook where they belong.
281
e1d51545
CY
2822012-12-06 Chong Yidong <cyd@gnu.org>
283
284 * ffap.el (ffap-replace-file-component): Fix typo.
285
ef54d315
SM
2862012-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
287
288 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
289 fix open-paren-like token test (bug#12785).
290
52d129cd
GM
2912012-12-04 Glenn Morris <rgm@gnu.org>
292
293 * mail/rmailsum.el (rmail-new-summary): Tweak for
294 rmail-maybe-display-summary changing buffer. (Bug#13066)
295
68bf4e09
JL
2962012-12-03 Juri Linkov <juri@jurta.org>
297
298 * info.el (Info-fontify-node): Don't hide the last newline.
299 (Bug#12272)
300
ff3d86d0
LL
3012012-12-01 Leo Liu <sdl.web@gmail.com>
302
303 * files.el (dir-locals-read-from-file): Check file non-empty
304 before reading. (Bug#13038)
305
6247eff5
GM
3062012-11-28 Glenn Morris <rgm@gnu.org>
307
308 * jka-cmpr-hook.el (jka-compr-get-compression-info):
309 Remove any version extension before checking filename. (Bug#13006)
310 (jka-compr-compression-info-list): Belated :version bump.
311
a5bf43ba
CY
3122012-11-28 Chong Yidong <cyd@gnu.org>
313
8ecba97d
CY
314 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
315
a5bf43ba
CY
316 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
317 (buffer-menu): Doc fix (Bug#12294).
318
34755291
RW
3192012-11-27 Roland Winkler <winkler@gnu.org>
320
321 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
322 of diary-show-all-entries in the diary buffer (Bug#12994).
323
c2f5b60a
MA
3242012-11-27 Michael Albinus <michael.albinus@gmx.de>
325
326 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
327 "<STDIN>". This is binary safe.
328
369f945d
SM
3292012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
330
331 * textmodes/table.el (table-insert): Don't use `symbol-name' on
332 lexically scoped variables (bug#13005).
333
999e745e 3342012-11-26 Glenn Morris <rgm@gnu.org>
98f99594 335
999e745e
GM
336 * vc/vc-hooks.el (vc-mistrust-permissions):
337 Default to t, to avoid data-loss. (Bug#11490)
98f99594 338
207cb73c
FEG
3392012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
340
999e745e
GM
341 * progmodes/python.el (python-indent-guess-indent-offset):
342 If indentation is guessed make python-indent-offset buffer-local.
343
207cb73c 344 Fix Imenu regression.
999e745e
GM
345 * progmodes/python.el (python-nav-beginning-of-defun):
346 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
347 (python-imenu-prev-index-position): New function.
348
33a488e4
EZ
3492012-11-26 Eli Zaretskii <eliz@gnu.org>
350
351 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
352
353 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 354 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 355
50207191
GM
3562012-11-26 Glenn Morris <rgm@gnu.org>
357
358 * hippie-exp.el (hippie-expand-try-functions-list):
359 Re-autoload it. (Bug#12982)
360
2147c6ab
EZ
3612012-11-25 Eli Zaretskii <eliz@gnu.org>
362
369f945d
SM
363 * descr-text.el (describe-char-padded-string):
364 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 365
58b1ae1e
AS
3662012-11-24 Andreas Schwab <schwab@linux-m68k.org>
367
368 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
369 and obsoletion message.
370
35a10516
SM
3712012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
372
373 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
374 the constructs to keep outside of the `cl-block' (bug#12977).
375
0c5ef133
CY
3762012-11-24 Chong Yidong <cyd@gnu.org>
377
378 * mouse.el (mouse-drag-line): Even if the line is not draggable,
379 keep reading until we get the up-event anyway, in order to process
380 the up-event for mouse-1-click-follows-link (Bug#12971).
381
002c019c
SM
3822012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
385 lexical-binding (bug#12938).
386
977f9325
WJ
3872012-11-23 Wolfgang Jenkner <wjenkner@inode.at>
388
389 * image-mode.el (image-transform-check-size): Use assertions only
390 for images of type imagemagick.
391
392 Otherwise no error, image-transform-fit-to-{width,height} is
393 silently ignored, as before. Doc fix.
394
bccffa83
CY
3952012-11-23 Chong Yidong <cyd@gnu.org>
396
397 * faces.el (color-defined-p): Doc fix (Bug#12853).
398
61a2a122
JL
3992012-11-23 Juri Linkov <juri@jurta.org>
400
401 * dired.el (dired-mark): Add optional arg `interactive'.
402 Check for `use-region-p' if `interactive' is non-nil.
403 (dired-unmark, dired-flag-file-deletion): Add optional arg
404 `interactive'. Call `dired-mark' with the arg `interactive'.
405 (Bug#10624)
406
cc4c01bd
JL
4072012-11-23 Juri Linkov <juri@jurta.org>
408
409 * wdired.el: Revert 2012-10-17 change partly and replace it with
410 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
411 (wdired-finish-edit): Add marks for new file names to
412 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
413 after `revert-buffer'.
414 (wdired-do-renames): Remove calls to `dired-remove-file',
415 `dired-add-file', `dired-add-entry'. (Bug#11795)
416
b03aabda
AM
4172012-11-21 Alan Mackenzie <acm@muc.de>
418
dc310ed0
AM
419 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
420
b03aabda
AM
421 Fix bugs in the state cache. Enhance a debugging mechanism.
422 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
423 "brace at column zero" strategy for C++.
424 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
425 (c-parse-state-point): New variable.
426 (c-record-parse-state-state): Record old parse state with
427 `copy-tree'. Record previous value of point.
428 (c-debug-parse-state-double-cons): New debugging function.
429 (c-debug-parse-state): Call the above new function.
430 (c-toggle-parse-state-debug): Output a confirmatory message.
431
002c019c
SM
432 * progmodes/cc-mode.el (c-before-change, c-after-change):
433 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
434 `c-after-change'.
435
a16ac13f
DC
4362012-11-20 Daniel Colascione <dancol@dancol.org>
437
002c019c
SM
438 * term/w32-win.el (cygwin-convert-path-from-windows):
439 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
a16ac13f
DC
440 This change is a backport from trunk.
441
7cf95797
EZ
4422012-11-20 Eli Zaretskii <eliz@gnu.org>
443
444 * simple.el (line-move): Don't call line-move-partial if
445 scroll-conservatively is in effect. (Bug#12927)
446
555ccdc2
MA
4472012-11-20 Michael Albinus <michael.albinus@gmx.de>
448
449 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
450 order to distinguish from trunk.
451
bc715d67
SM
4522012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
453
63f25172
SM
454 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
455 non-symbols for compiler macros (yet).
456
93b05041
SM
457 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
458 Fallback on completion-at-point rather than
459 pcomplete-expand-and-complete, and only if pcomplete actually failed.
460 (eshell-cmpl-initialize): Setup completion-at-point.
461
462 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
463
bc715d67
SM
464 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
465
d7f2a65c
MA
4662012-11-19 Michael Albinus <michael.albinus@gmx.de>
467
468 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
469 are remote, check out-of-band property for both.
470
d1c0cddf
SM
4712012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
472
473 * window.el (switch-to-buffer): Re-add the warning that was lost in the
474 code rewrite.
475
0c93aa38
PE
4762012-11-18 Paul Eggert <eggert@cs.ucla.edu>
477
535efd4a
PE
478 More minor time fixes.
479 * calendar/time-date.el: Commentary fix.
480 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
481 too much other code depends on (0 0) time stamps.
482 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
483 Add a couple of FIXME comments.
484
0c93aa38
PE
485 Minor cleanup for times as lists of four integers.
486 * files.el (dir-locals-directory-cache):
487 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
488 Doc fixes.
489 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
490 * ps-bdf.el (bdf-file-newer-than-time):
491 Process four-integers time stamps, not two. Doc fixes.
492
913c8291
GM
4932012-11-18 Glenn Morris <rgm@gnu.org>
494
495 * image.el (insert-image, insert-sliced-image): Doc fix.
496
ec6f8ce6
CY
4972012-11-17 Chong Yidong <cyd@gnu.org>
498
499 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
500 (Bug#12810).
501
c2d07557
CY
5022012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
503
504 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
505 response when the target file is in a subdirectory (Bug#12757).
506
33f8917c
CY
5072012-11-17 Chong Yidong <cyd@gnu.org>
508
509 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
510
65463c40
GM
5112012-11-17 Glenn Morris <rgm@gnu.org>
512
9a5e2ee3
GM
513 * woman.el (woman-non-underline-faces):
514 * emacs-lisp/cl-lib.el (face-underline-p):
515 Use set-face-underline rather than the alias set-face-underline-p.
516
65463c40 517 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
518 * subr.el (with-output-to-temp-buffer):
519 Add doc xref to with-temp-buffer-window.
65463c40 520
cdc5d88c
SM
5212012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * emacs-lisp/cl-lib.el: Set more meaningful version number.
524
0ff7851c
MR
5252012-11-16 Martin Rudalics <rudalics@gmx.at>
526
527 * window.el (enlarge-window, shrink-window): Don't mention return
528 value in doc-string (Bug#12896).
529 (window--display-buffer): Don't resize frames - it won't work
530 with all window managers and defeat pop-up-frame-alist.
531 (display-buffer-alist): In doc-string explain that CONDITION can
532 be a function and which arguments are passed to it (Bug#12854).
533 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
534 expressions (Bug#12854).
535 (display-buffer): Pass ACTION argument to
536 display-buffer-assq-regexp.
537
dedd1884
GM
5382012-11-16 Glenn Morris <rgm@gnu.org>
539
7c82753d
GM
540 * window.el (fit-frame-to-buffer-bottom-margin)
541 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
542
dedd1884
GM
543 * faces.el (face-underline-p): Use face-attribute-specified-or.
544
662b0ee6
JB
5452012-11-15 Juanma Barranquero <lekktu@gmail.com>
546
547 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
548
eb31fa40
SM
5492012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
550
551 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
552
e2e13f18
GM
5532012-11-15 Glenn Morris <rgm@gnu.org>
554
17c083ac
GM
555 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
556 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
557
bde3c6c0
GM
558 * faces.el (face-underline-p): Doc fix. Handle :underline being
559 things other than `t' (a string, a list).
560 (face-inverse-video-p): Doc fix.
561 (set-face-underline): Rename it back from set-face-underline-p.
562 Doc fix. Allow interactive input of values other than t.
563 (read-face-attribute): Apply formatting to :underline,
564 since like :box and :stipple it can take list values.
565
e2e13f18
GM
566 * term.el (ansi-term): Don't let C-x escape-char binding
567 clobber the more standard C-c binding. (Bug#12842)
568
3a514ab0
SM
5692012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
572 (bug#12879).
573
e0ea8060
GM
5742012-11-14 Glenn Morris <rgm@gnu.org>
575
576 * subr.el (set-temporary-overlay-map): Doc fix.
577
92346275
MR
5782012-11-13 Martin Rudalics <rudalics@gmx.at>
579
580 * window.el (record-window-buffer)
581 (display-buffer-record-window): When copying the markers to
582 window-point preserve window-point-insertion-type. (Bug#12588)
583
7b1bf173
GM
5842012-11-13 Glenn Morris <rgm@gnu.org>
585
586 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
587 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
588 Use new names for hooks rather than obsolete aliases.
589
f8705f6e
SM
5902012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
593
9db94175
WJ
5942012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
595
596 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
597 39 and 49. This fixes bug#12792. Also, treat unimplemented
598 parameters as 0, thereby restoring the behavior of revisions prior
599 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
600
2e6625b5
FEG
6012012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
602
603 Fix end-of-defun misbehavior.
604 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
605 python-beginning-of-defun-function. Handle nested defuns
606 correctly.
607 (python-nav-end-of-defun): Rename from
608 python-end-of-defun-function. Ensure forward movement.
f8705f6e 609 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
610 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
611 parent defuns as soon as possible.
612
24c38527
GM
6132012-11-12 Glenn Morris <rgm@gnu.org>
614
615 * progmodes/flymake.el (flymake-error-bitmap)
616 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
617 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
618
d1e1e53d
DG
6192012-11-12 Dmitry Gutov <dgutov@yandex.ru>
620
621 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
622 backward, always stop at indentation. Reverts the change from
623 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
624
68146aa5
GM
6252012-11-11 Glenn Morris <rgm@gnu.org>
626
a1d3e07e
GM
627 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
628 Add ibuffer-filter-by-derived-mode.
629
84acf328
GM
630 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
631 the same name shadowing each other.
632
38785e75
GM
633 * window.el (with-temp-buffer-window): Doc tweak.
634
57fc0fee
GM
635 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
636
6ba6a3e5
GM
637 * help.el (temp-buffer-max-height):
638 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
639 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
640
e4e46889
LL
6412012-11-10 Leo Liu <sdl.web@gmail.com>
642
643 * ido.el (ido-set-matches-1): Fix split-string args to avoid
644 performance issue. (Bug#12796)
645
19e09879
GM
6462012-11-10 Glenn Morris <rgm@gnu.org>
647
bf67dafa
GM
648 * term.el (term-default-fg-color, term-default-bg-color):
649 Make obsolete, rather than just saying "deprecated" in the doc.
650
19e09879
GM
651 * term.el (term): Rename from `term-face'.
652 (term-current-face, ansi-term-color-vector)
653 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
654 Update all users.
655
d743088d
JD
6562012-11-09 Jan Djärv <jan.h.d@swipnet.se>
657
f8705f6e 658 * server.el (server-create-window-system-frame): Improve comment.
d743088d 659
531bdce6
JD
6602012-11-08 Jan Djärv <jan.h.d@swipnet.se>
661
662 * server.el (server-create-window-system-frame): Handle Nextstep
663 specially (Bug#12780).
664
fedb154e
GM
6652012-11-08 Glenn Morris <rgm@gnu.org>
666
667 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
668 Unautoload, and make obsolete. (Bug#7449)
669
9d9e48d9
CY
6702012-11-08 Chong Yidong <cyd@gnu.org>
671
672 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
673 rename from diff-remove-trailing-whitespace (Bug#12831).
674
32170f7f
SM
6752012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
678 miscompilation of trace.el.
679
26f59676
GM
6802012-11-08 Glenn Morris <rgm@gnu.org>
681
682 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
683
41626722
SM
6842012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
685
686 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
687 (bug#12812).
688
7d806bfe
CY
6892012-11-07 Chong Yidong <cyd@gnu.org>
690
691 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
692 a defcustom with an appropriate :set function.
693 (minibuffer-default--in-prompt-regexps): New function.
694
2ee1d59f
GM
6952012-11-07 Glenn Morris <rgm@gnu.org>
696
031b2ea7
GM
697 * emacs-lisp/cl.el (define-setf-expander, defsetf)
698 (define-modify-macro): Doc fixes.
699
2ee1d59f
GM
700 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
701 (gv-define-simple-setter): Update doc of `fix-return'.
702
d57c286e
SM
7032012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
704
b715ed44
SM
705 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
706 twice when `fix-return' is set (bug#12813).
707
d57c286e
SM
708 * emacs-lisp/cl.el (defsetf): Pass the third arg to
709 gv-define-simple-setter (bug#12812).
710
c9cac599
SM
7112012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
712
713 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
714 (bug#12756).
715
6b3770fb
GM
7162012-11-06 Glenn Morris <rgm@gnu.org>
717
718 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
719
5593ed90
GM
7202012-11-05 Glenn Morris <rgm@gnu.org>
721
722 * emacs-lisp/cl-extra.el (cl-prettyexpand):
723 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
724 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
725 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
726
727 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
728
5c677d44
GM
7292012-11-03 Glenn Morris <rgm@gnu.org>
730
49138400
GM
731 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
732 Rename handler properties back from cl-- to cl-. (Bug#12788)
733
5c677d44
GM
734 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
735
1d4341f9
EZ
7362012-11-03 Eli Zaretskii <eliz@gnu.org>
737
738 * term/pc-win.el: Don't load term/internal from here.
739
740 * loadup.el: Load term/internal from here.
741
12fd5ee1
FEG
7422012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
743
744 * progmodes/python.el (inferior-python-mode): Fix hang in
745 jit-lock (Bug#12645).
746
43bcfda6
MR
7472012-11-03 Martin Rudalics <rudalics@gmx.at>
748
749 * window.el (switch-to-visible-buffer)
750 (switch-to-buffer-preserve-window-point): Fix doc-strings.
751
b4b096e4
SB
7522012-11-01 Stephen Berman <stephen.berman@gmx.net>
753
754 * play/gomoku.el (gomoku-display-statistics): Update mode line
755 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
756
218e997a
MR
7572012-10-31 Martin Rudalics <rudalics@gmx.at>
758
759 * window.el (quit-restore-window): If the window has been
760 created on an existing frame and ended up as the sole window on
761 that frame, do not delete it (Bug#12764).
762
b08b6da7
SM
7632012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
764
3618df45
SM
765 * progmodes/sh-script.el (sh--inside-noncommand-expression):
766 Rename from sh--inside-arithmetic-expression, handle more cases
767 (bug#11263).
768
b08b6da7
SM
769 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
770 (sh-font-lock-open-heredoc): Use it (bug#12770).
771
4ddedf94
GM
7722012-10-30 Glenn Morris <rgm@gnu.org>
773
f43a5263
GM
774 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
775
4ddedf94
GM
776 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
777
748b0d84
CY
7782012-10-29 Chong Yidong <cyd@gnu.org>
779
b5dd9a77
CY
780 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
781 function key is stored in a keyboard macro (Bug#4894).
782
748b0d84
CY
783 * thingatpt.el (number-at-point): Apply a thing-at-point property.
784
e07fcbdc
SM
7852012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
786
d7f9cc85
SM
787 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
788 header comments".
789 (diff-unified->context, diff-context->unified)
790 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
791
c606253c
SM
792 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
793
e07fcbdc
SM
794 * files.el (find-alternate-file): Only ask one question (bug#12487).
795
894b9dd9
CY
7962012-10-29 Chong Yidong <cyd@gnu.org>
797
1dc2755a
CY
798 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
799 Suggested by Dan Nicolaescu (Bug#6326).
800
329c48d8
CY
801 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
802
2230fa5b 803 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 804
e84cad57
CY
805 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
806
1913c5f5
CY
807 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
808
894b9dd9
CY
809 * face-remap.el (face-remap-add-relative): Handle the case where a
810 face-remapping-alist entry is a cons cell (Bug#12762).
811
329c48d8
CY
8122012-10-29 Kevin Ryde <user42@zip.com.au>
813
814 * woman.el (woman-parse-numeric-value): Handle picas correctly
815 (Bug#12639).
816
a0ccbcbd
GM
8172012-10-29 Glenn Morris <rgm@gnu.org>
818
819 * emacs-lisp/cl.el (defsetf): Doc fix.
820
b3871e59
SM
8212012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
824 syntax to the matching opener, if any (bug#12547).
825 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
826 matching open as a "case-(".
827 (sh-smie-rc-grammar): Add a corresponding rule for it.
828
cd44022c
DH
8292012-10-28 Daniel Hackney <dan@haxney.org>
830
831 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
832 "PKGNAME-autoloads.el" in case we created it.
833
70edffb1
SM
8342012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
835
86957a0c
SM
836 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
837 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 838 (completion--twq-all): Disable too-strict assertions.
86957a0c 839
70edffb1
SM
840 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
841
d069271c
EZ
8422012-10-27 Eli Zaretskii <eliz@gnu.org>
843
844 * profiler.el (profiler-report-make-entry-part): Fix help-echo
845 text to match the real keybindings.
846
e2f022a3
JL
8472012-10-27 Juri Linkov <juri@jurta.org>
848
849 * wdired.el (wdired-keep-marker-rename): New defcustom.
850 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
851 (Bug#11795)
852
853 * dired.el (dired-keep-marker-rename): Add reference to
854 `wdired-keep-marker-rename' in the docstring.
855 Add default character value ?R to display initially in
856 Customization UI instead of ?@.
857
df171c23
MR
8582012-10-27 Martin Rudalics <rudalics@gmx.at>
859
860 * window.el (display-buffer): In doc-string describe
861 window-height and window-width alist entries.
862
863 * time.el (display-time-world): Restore fit-window-to-buffer
864 behavior.
865
05b621a6
CY
8662012-10-27 Chong Yidong <cyd@gnu.org>
867
868 * subr.el (insert-buffer-substring-as-yank): Doc fix.
869
55f197b2
J
8702012-10-26 Jambunathan K <kjambunathan@gmail.com>
871
872 * minibuffer.el (completion-category-overrides): New completion
873 category `bookmark' (bug#11131).
874
372212df
SM
8752012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
876
150f809c
SM
877 * emacs-lisp/advice.el (ad-assemble-advised-definition):
878 Silence bogus compiler warnings for ad-do-it.
879
372212df
SM
880 * bookmark.el (bookmark-completing-read): Set the completion category
881 to `bookmark' (bug#11131).
882
c5772569
B
8832012-10-26 Bastien <bzg@altern.org>
884 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * face-remap.el: Use lexical-binding.
887 (text-scale-adjust): Improve docstring. Use itself for the temporary
888 overlay-map bindings, so as to repeat the "Use..." message each time.
889
a2be0357
SM
8902012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
891
63314e57
SM
892 * emacs-lisp/macroexp.el (macroexp--expand-all):
893 Obey byte-compile-warning-enabled-p (bug#12486).
894
a2be0357
SM
895 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
896 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
897
8c7727c3
MR
8982012-10-26 Martin Rudalics <rudalics@gmx.at>
899
900 * mouse.el (mouse-drag-line): Move last form into preceding when
901 clause (Bug#12731).
902
903 * help.el (resize-temp-buffer-window): Fix doc-string.
904
3f2a848d
DE
9052012-10-25 David Engster <deng@randomsample.de>
906
907 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 908 Remove. This feature is already integrated in imenu.
3f2a848d
DE
909
910 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
911 always loaded. Require `speedbar' unconditionally.
912
a7723be6
SM
9132012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
914
aaabfc8b
SM
915 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
916
414a8595
SM
917 * minibuffer.el (minibuffer-force-complete): Fix thinko.
918
fb5b9475
SM
919 * net/ldap.el (ldap-search-internal): The official ldif format starts
920 with a "version: 1" header (bug#12724).
921
a7723be6
SM
922 * emacs-lisp/package.el (package-installed-p): Warn if not ready
923 (bug#12721).
924
a05cb6e3
GM
9252012-10-25 Glenn Morris <rgm@gnu.org>
926
927 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
928
3c92de70
SM
9292012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
930
931 * minibuffer.el (minibuffer-force-complete): Use one more marker
932 for the temporary-overlay-map command (bug#12619).
933
a4b6d7c6
CY
9342012-10-24 Chong Yidong <cyd@gnu.org>
935
936 * time.el (display-time-world-mode): Derive from special-mode.
937 (display-time-world): Use display-buffer (Bug#12708).
938 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
939 (display-time-world-display): Wrap the final delete-char inside
940 inhibit-read-only.
a4b6d7c6 941
75e8f9d2
CY
9422012-10-24 Chong Yidong <cyd@gnu.org>
943
cd996018
CY
944 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
945 Doc fix.
946
75e8f9d2
CY
947 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
948
d92df117
SM
9492012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * minibuffer.el (completion--all-sorted-completions-location): New var.
952 (completion--cache-all-sorted-completions)
953 (completion--flush-all-sorted-completions): Use it.
954 (completion-in-region, completion-in-region--postch)
955 (completion-at-point, completion-help-at-point): Use markers in
956 completion-in-region--data (bug#12619).
957
9c3e39f3
SM
9582012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
959
c79825bd
SM
960 * progmodes/compile.el (compilation-start): Try to handle common
961 quoting of `cd' argument (bug#12640).
962
9c3e39f3
SM
963 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
964 (bug#12671).
965
a6709bc7
GM
9662012-10-23 Glenn Morris <rgm@gnu.org>
967
968 * progmodes/gud.el (gud-menu-map):
969 Check gdb-active-process is bound. (Bug#12358)
970
d1069532
SM
9712012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
972
d20d69c0
SM
973 * repeat.el (repeat): Set real-this-command (bug#12232).
974
d1069532
SM
975 * htmlfontify.el (hfy-post-html-hook):
976 * filesets.el (filesets-cache-fill-content-hook):
977 * arc-mode.el (archive-extract-hook):
978 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
979 * net/rcirc.el (rcirc-sentinel-functions)
980 (rcirc-receive-message-functions, rcirc-activity-functions)
981 (rcirc-print-functions):
982 * net/dbus.el (dbus-event-error-functions):
983 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
984 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
985 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
986 * term/sun.el (sun-raw-prefix-hooks):
987 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
988
f7eac6d8
MA
9892012-10-23 Michael Albinus <michael.albinus@gmx.de>
990
d1069532
SM
991 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
992 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
993 (tramp-smb-wait-for-output): Add timeout to
994 `tramp-accept-process-output' calls.
995
608d9d7c
CY
9962012-10-23 Chong Yidong <cyd@gnu.org>
997
49238e7f
CY
998 * faces.el (font-list-limit): Define as an obsolete variable.
999
1000 * startup.el (command-line):
1001 * cus-start.el: Don't refer to font-list-limit.
1002
608d9d7c
CY
1003 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1004
4ff5b1b2
SM
10052012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * subr.el (internal-temp-output-buffer-show): Rename from
1008 temp-output-buffer-show, since previously compiled files expect this name.
1009
ea1d4aac
GM
10102012-10-23 Glenn Morris <rgm@gnu.org>
1011
1012 * image.el (image-type-from-file-name): If multiple types match,
1013 return the first one that is supported. (Bug#9045)
1014
eda82a31
GM
10152012-10-22 Glenn Morris <rgm@gnu.org>
1016
1017 * image.el (imagemagick-enabled-types): Doc fix.
1018
4f020bec
TA
10192012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1020
1021 * progmodes/which-func.el (which-func-current): The hash-table may have
1022 an explicit nil (bug#12338).
1023
c77d37e2
SM
10242012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * electric.el (electric-pair-delete-selection-self-insert-function):
1027 Rename to electric-pair-will-use-region, return a boolean.
1028 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1029
1030 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1031 (delete-selection-pre-hook): Use use-region-p.
1032 (delete-selection-self-insert-function): Remove.
1033 (self-insert-command): Obey self-insert-uses-region-functions.
1034 (self-insert-iso): Revert to previous setting, since we don't actually
1035 know what that command does.
1036 (delete-selection-self-insert-hooks): Remove.
1037
b1d39ccc
SL
10382012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1039
1040 * delsel.el (delete-selection-helper): New function, extracted from
1041 delete-selection-pre-hook.
1042 (delete-selection-pre-hook): Use it.
1043 (delete-selection-self-insert-function): New function.
1044 (delete-selection-self-insert-hooks): New hook.
1045 (self-insert-command, self-insert-iso): Use it.
1046 * electric.el (electric-pair-syntax): New function, extracted from
1047 electric-pair-post-self-insert-function.
1048 (electric-pair-post-self-insert-function): Use it.
1049 (electric-pair-delete-selection-self-insert-function): New function.
1050 (electric-pair-mode): Require delsel and setup
1051 delete-selection-self-insert-hooks (bug#11520).
1052
045ef729
CY
10532012-10-20 Chong Yidong <cyd@gnu.org>
1054
4c5d08a8
CY
1055 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1056 no changes to show (Bug#12586).
1057
045ef729
CY
1058 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1059 list explicitly (Bug#12571).
1060
3503c798 10612012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1062
b1d39ccc
SL
1063 * progmodes/flymake.el (flymake-create-temp-inplace):
1064 Use file-truename.
79e1997a 1065
2068905b
EZ
10662012-10-20 Eli Zaretskii <eliz@gnu.org>
1067
1068 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1069
4c9e9550
JB
10702012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1071
1072 * calc/calc-units.el (math-extract-units): Properly extract powers
1073 of units.
1074
1a6e7e38
DC
10752012-10-20 Daniel Colascione <dancol@dancol.org>
1076
1077 * frame.el (make-frame): Set x-display-name as we used to in order
1078 to unbreak creating an X11 frame from an Emacs daemon started
1079 without a display.
1080
8e808318
SM
10812012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1084 the same completion-field (bug@12221).
1085
fb0104da
MR
10862012-10-19 Martin Rudalics <rudalics@gmx.at>
1087
1088 * emacs-lisp/debug.el (debug): Record height of debugger window
1089 also when debugger will be back (Bug#8789).
1090
8c27235e
CY
10912012-10-18 Chong Yidong <cyd@gnu.org>
1092
1093 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1094 Convert to defcustom.
1095 (gdb-get-source-file): Don't bind pop-up-windows.
1096
1097 * progmodes/gud.el (gud-display-line): Don't specially re-use
1098 other frames for the gdb-mi case (Bug#12648).
1099
90eacf99
SM
11002012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1101
aaf0c300
SM
1102 * emacs-lisp/advice.el: Clean up commentary a bit.
1103 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1104 (byte-code-function-p): Never redefine.
1105
90eacf99
SM
1106 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1107
281c9d2b
GM
11082012-10-18 Glenn Morris <rgm@gnu.org>
1109
40714e3d
GM
1110 * dired.el (dired-sort-toggle): Some ls implementations only allow
1111 a single option string. (Bug#12666)
1112
281c9d2b
GM
1113 * minibuffer.el (completion-cycle-threshold): Doc fix.
1114
b278604e
KH
11152012-10-17 Kenichi Handa <handa@gnu.org>
1116
90eacf99
SM
1117 * international/mule.el (set-keyboard-coding-system):
1118 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1119 Supply TERMINAL arg to set-input-meta-mode.
1120
df171c23 11212012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1122
1123 * wdired.el (wdired-old-marks): New variable.
1124 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1125 (wdired-do-renames): Move point with renamed file and don't lose
1126 mark status (Bug#11795).
1127
e5a94ec4
JL
11282012-10-16 Juri Linkov <juri@jurta.org>
1129
1130 * replace.el (query-replace-help): Mention multi-buffer replacement
1131 keys in the Help message. (Bug#12655)
1132
d18a0d24
CY
11332012-10-15 Chong Yidong <cyd@gnu.org>
1134
1135 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1136
8111f5e6
EZ
11372012-10-14 Eli Zaretskii <eliz@gnu.org>
1138
7b9abf24
EZ
1139 * window.el (display-buffer): Doc fix.
1140
8111f5e6
EZ
1141 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1142 Adjust the msft regexp to the output of Studio 2010, and move msft
1143 before edg-1. See the discussion on emacs-devel,
1144 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1145 for the details.
1146
5046ef67
SM
11472012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1148
9760c73c
SM
1149 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1150 (oset): Move uses of object-class-fast macro after its definition.
1151
5046ef67
SM
1152 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1153
0d11ff1c
CY
11542012-10-13 Chong Yidong <cyd@gnu.org>
1155
1156 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1157 enabled, re-enable it (Bug#11963).
1158
88ded8ac
MR
11592012-10-13 Martin Rudalics <rudalics@gmx.at>
1160
1161 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1162 non-nil, restore window configuration (Bug#12623).
1163
bd0ffffd
SM
11642012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1165
06485aa8
SM
1166 * help-fns.el (describe-variable, describe-function-1):
1167 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1168
bd0ffffd
SM
1169 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1170
3a989246
GM
11712012-10-12 Glenn Morris <rgm@gnu.org>
1172
1173 * mail/rmailsum.el (rmail-header-summary):
1174 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1175
55cd00c8
FEG
11762012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1177
bd0ffffd
SM
1178 * progmodes/python.el (python-mode-map):
1179 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1180 (python-nav--up-list): Fix behavior for blocks on the same level.
1181
ac9fc2c7
SM
11822012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1183
d8cc4c00 1184 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1185
5253a5fd
SM
1186 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1187 changes to the format of load-history.
1188
ac9fc2c7
SM
1189 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1190 completion-ignore-case in case that var is buffer-local (bug#12615).
1191
cde44a77
KH
11922012-10-11 Kenichi Handa <handa@gnu.org>
1193
1194 * international/eucjp-ms.el: Re-generated.
1195
4ef4a10d
KH
11962012-10-10 Kenichi Handa <handa@gnu.org>
1197
1198 * select.el (xselect--encode-string): If a coding is specified for
1199 selection, and that is compatible with COMPOUND_TEXT, use it.
1200
9d7f027b
MR
12012012-10-10 Martin Rudalics <rudalics@gmx.at>
1202
1203 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1204 (switch-to-buffer):
1205 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1206
238f3a58
SM
12072012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1208
1209 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1210 Don't document nil as a useful value (bug#12583).
1211
1d51f99c
MA
12122012-10-09 Michael Albinus <michael.albinus@gmx.de>
1213
238f3a58
SM
1214 * net/tramp.el (tramp-debug-message):
1215 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1216 (with-tramp-progress-reporter): Rename from
1217 `tramp-with-progress-reporter'.
238f3a58
SM
1218 (with-tramp-file-property, with-tramp-connection-property):
1219 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1220 `with-connection-property', respectively.
1221
1222 * net/tramp-cache.el: Remove `with-file-property' and
1223 `with-connection-property'.
1224
1225 * net/tramp.el:
1226 * net/tramp-gvfs.el:
1227 * net/tramp-sh.el:
1228 * net/tramp-smb.el: Adapt callees.
1229
1230 * net/trampver.el: Update release number.
1231
26b77251
GM
12322012-10-09 Glenn Morris <rgm@gnu.org>
1233
9a5f296f
GM
1234 * w32-fns.el (set-message-beep):
1235 * term/w32-win.el (set-message-beep): Update declarations.
1236
94c66ce5
SM
12372012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1238
10766e9e
SM
1239 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1240 (mode-line-widen, mode-line-input-method-map)
1241 (mode-line-coding-system-map, mode-line-remote)
1242 (mode-line-unbury-buffer, mode-line-bury-buffer)
1243 (mode-line-next-buffer, mode-line-previous-buffer):
1244 Replace save-selected-window+select-window => with-selected-window.
1245
f754db08
SM
1246 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1247 * progmodes/cc-vars.el (bq-process): Remove, unused.
1248
94c66ce5
SM
1249 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1250
a4ff7fe1
FEG
12512012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1252
1253 Implemented `backward-up-list'-like navigation.
1254 * progmodes/python.el (python-nav-up-list)
1255 (python-nav-backward-up-list): New functions.
1256 (python-mode-map): Define substitute key for backward-up-list to
1257 python-nav-backward-up-list.
1258
24517d82
FEG
12592012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1260
1261 * progmodes/python.el (python-fill-paragraph): Rename from
1262 python-fill-paragraph-function. Fixed fill-paragraph for
1263 decorators (Bug#12605).
1264
51867ae2
FEG
12652012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1266
1267 * progmodes/python.el (python-shell-output-filter): Handle extra
1268 carriage return in OSX (Bug#12409).
1269
a5b773c4
FEG
12702012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1271
1272 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1273 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1274 (python-syntax-propertize-function): Use it.
1275 (python-shell-output-syntax-table): New var.
1276 (inferior-python-mode): Prevent unbalanced parens/quotes from
1277 previous output mess with current input context.
1278
13373538
JB
12792012-10-08 Juanma Barranquero <lekktu@gmail.com>
1280
1281 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1282 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1283
775a132d
MA
12842012-10-08 Michael Albinus <michael.albinus@gmx.de>
1285
1286 * ffap.el (ffap-replace-file-component): Support Tramp file name
1287 syntax, not only ange-ftp's one.
1288
3ab44929
GM
12892012-10-08 Glenn Morris <rgm@gnu.org>
1290
57f1dee4
GM
1291 * cus-start.el (message-log-max): Set :version.
1292
3ab44929
GM
1293 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1294
6a088630
MR
12952012-10-08 Martin Rudalics <rudalics@gmx.at>
1296
1297 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1298 the minibuffer window (Bug#10851).
1299
8dbce54c
FEG
13002012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1301
1302 Enhancements on forward-sexp movement.
1303 * progmodes/python.el (python-nav-beginning-of-statement)
1304 (python-nav-end-of-statement): Return point-marker.
1305 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1306 (python-info-current-symbol)
1307 (python-info-statement-starts-block-p): Rename from
1308 python-info-beginning-of-block-p.
1309 (python-info-statement-ends-block-p): Rename from
1310 python-info-end-of-block-p.
1311 (python-info-beginning-of-statement-p)
1312 (python-info-end-of-statement-p)
1313 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1314 New functions.
1315
5acd2b3e
SM
13162012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1317
1318 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1319 frame-selected-windows.
1320
e08348a0
DC
13212012-10-08 Daniel Colascione <dancol@dancol.org>
1322
1323 * battery.el (battery-status-function): Check for
1324 w32-battery-status itself, not system-time windows-nt.
1325
1326 * frame.el: Require cl-lib.
1327 (display-format-alist): New variable mapping frame types to
1328 functions that initialize them.
1329 (window-system-for-display): New function: interprets
1330 display-format-alist.
1331 (make-frame-on-display): Remove existing display-selection logic
1332 and just forward to make-frame, which will now DTRT.
1333 (make-frame): Restructure to use window-system-for-display to
1334 figure out how to create a frame on a given display.
1335 (display-mouse-p): Look for frame-type w32, not a particular
1336 system-type.
1337
1338 * loadup.el: Load w32 lisp code when we have the w32 feature.
1339
1340 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1341 system-type windows-nt.
1342
1343 * server.el (server-create-window-system-frame): Look for window
1344 type.
1345 (server-proces-filter): Only force a window system when windows-nt
1346 _and_ w32. Explain why.
1347
1348 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1349 of window systems we configure for the mode.
1350
1351 * startup.el (command-line): Mark window system is initialized
1352 after we've done it.
1353
1354 * common-win.el (x-select-text): Look for w32, not windows-nt.
1355
1356 * ns-win.el: Require cl-lib. Add ourselves to
1357 display-format-alist.
1358 (ns-initialize-window-system): Assert we're not initialized twice.
1359
1360 * w32-win.el: Enable lexical binding; require cl-lib; add
1361 ourselves to display-format-alist.
1362 (w32-handle-dropped-file): Convert incoming dropped files from
1363 Windows paths to Cygwin ones before passing them on to the rest of
1364 Emacs.
1365 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1366 (w32-initialize-window-system): Assert we're not initialized twice.
1367
1368 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1369 (x-initialize-window-system): Assert we're not initialized twice.
1370
1371 * w32-common-fns.el: New File.
1372 (w32-version, w32-using-nt, w32-get-clipboard-data)
1373 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1374 (w32-charset-info-alist, x-last-selected, text)
1375 (x-get-selection-value, x-selection-value): Move here.
1376
1377 * w32-fns.el: Require w32-common-fns.
1378 (w32-version, w32-using-nt, w32-get-clipboard-data)
1379 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1380 (w32-charset-info-alist, x-last-selected, text)
1381 (x-get-selection-value, x-selection-value): Move to
1382 w32-common-fns.
1383
1384 * w32-vars.el:
1385 (w32-allow-system-shell, w32-system-shells): Define only in
1386 non-cygwin case.
1387
795b1482
SM
13882012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1391 (read-passwd): Remove a few more potential sources of leaks.
1392
f27c99dc
FEG
13932012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1394
1395 * progmodes/python.el (inferior-python-mode)
795b1482 1396 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1397 variables copied from parent buffer.
1398
fcacb558
JD
13992012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1400
1401 * term/ns-win.el (ns-read-file-name): Update declaration to match
1402 nsfns.m.
1403 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1404 it is set when font is acted upon.
1405
be0d5bae
FEG
14062012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1407
1408 Enhancements to indentation.
1409 * progmodes/python.el (python-indent-context): Give priority to
1410 inside-string context. Make comments indentation markers.
1411 (python-indent-region): Do not mess with strings, unless it's the
1412 enclosing set of quotes.
1413
13af0d10
SM
14142012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1415
662a9d0e
SM
1416 * window.el (internal--before-save-selected-window)
1417 (internal--after-save-selected-window): New functions extracted from
1418 save-selected-window. Make sure we return the `alist' we construct.
1419 (save-selected-window): Use them.
1420
1421 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1422 Use with-selected-window.
1423
13af0d10
SM
1424 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1425 forms that define macros (bug#12593).
1426
6aa75fb6
KH
14272012-10-07 Kenichi Handa <handa@gnu.org>
1428
13af0d10
SM
1429 * international/mule-conf.el (compound-text-with-extensions):
1430 Add :mime-charset property as x-ctext.
6aa75fb6 1431
78d876b9
SM
14322012-10-07 Stefan Merten <smerten@oekonux.de>
1433
1434 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1435 (rst-indent-literal-normal, rst-indent-literal-minimized)
1436 (rst-indent-comment): Correct :version tag.
557337e9 1437 (rst-official-cvs-rev): Correct version string.
78d876b9 1438
99a1e701
GM
14392012-10-07 Glenn Morris <rgm@gnu.org>
1440
1441 * mail/rmailmm.el (rmail-mime-process-multipart):
1442 Do not confuse a multipart message with an epilogue
1443 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1444
08f18c3d
FEG
14452012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1446
1447 Fix shell output retrieval and comint-prompt-regexp init.
1448 * progmodes/python.el (inferior-python-mode):
1449 (python-shell-make-comint): Fix initialization of
1450 comint-prompt-regexp from copied file local variables.
1451 (python-shell-fetched-lines): Remove var.
1452 (python-shell-output-filter-in-progress): Rename from
1453 python-shell-fetch-lines-in-progress.
1454 (python-shell-output-filter-buffer): Rename from
1455 python-shell-fetch-lines-string.
1456 (python-shell-fetch-lines-filter): Delete function.
1457 (python-shell-output-filter): New function.
1458 (python-shell-send-string-no-output): Use them.
1459
82ed3ab4
GM
14602012-10-07 Glenn Morris <rgm@gnu.org>
1461
1595ecfa
GM
1462 * hi-lock.el (hi-lock-process-phrase):
1463 Try to make it less fragile. (Bug#7161)
1464
82ed3ab4
GM
1465 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1466
f1f4dba0
GM
14672012-10-06 Glenn Morris <rgm@gnu.org>
1468
addc11ed 1469 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1470 non-existent mode `help'.
1471 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1472
460042b8
GM
1473 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1474 (reftex-create-bibtex-footer): Fix custom types.
1475
67667c70
GM
1476 * progmodes/sh-script.el (sh-indent-after-continuation):
1477 Add explicit :group.
1478
18dec750
GM
1479 * textmodes/rst.el (rst-preferred-decorations)
1480 (rst-shift-basic-offset): Clarify obsolescence versions.
1481
d1a1c7e6
GM
1482 * profiler.el (profiler): Add missing group :version tag.
1483 * avoid.el (mouse-avoidance-banish-position):
1484 * proced.el (proced-renice-command):
1485 * calc/calc.el (calc-ensure-consistent-units):
1486 * calendar/icalendar.el (icalendar-import-format-uid):
1487 * net/tramp.el (tramp-save-ad-hoc-proxies):
1488 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1489 * progmodes/flymake.el (flymake-error-bitmap)
1490 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1491 * progmodes/sh-script.el (sh-indent-after-continuation):
1492 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1493 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1494 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1495 (vhdl-array-index-record-field-in-sensitivity-list)
1496 (vhdl-indent-comment-like-next-code-line):
1497 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1498 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1499 (reftex-cite-key-separator, reftex-create-bibtex-header)
1500 (reftex-create-bibtex-footer):
1501 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1502 (rst-indent-literal-normal, rst-indent-literal-minimized)
1503 (rst-indent-comment): Add missing custom :version tags.
1504
ef35abb4
GM
1505 * calendar/timeclock.el (timeclock-modeline-display):
1506 Add missing obsolete alias for renamed user option.
1507
d1aae614
GM
1508 * strokes.el (strokes-modeline-string):
1509 * emulation/crisp.el (crisp-mode-modeline-string):
1510 * eshell/esh-mode.el (eshell-status-in-modeline):
1511 Aliases to defcustoms must come before the defcustom.
1512
f1f4dba0
GM
1513 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1514 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1515 (cal-tex-cursor-week-monday): Doc fixes.
1516 (cal-tex-cursor-week2-summary): Doc fix.
1517 Rename from cal-tex-cursor-week-at-a-glance.
1518
1519 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1520 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1521
1522 * calendar/calendar.el (calendar-mode-map):
1523 Add cal-tex-cursor-week2-summary.
1524
d39109c3
SM
15252012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1526
685f87b0
SM
1527 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1528
d39109c3
SM
1529 * subr.el (read-passwd-map): New var.
1530 (read-passwd): Use `read-string' again.
1531 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1532
5694896d
J
15332012-10-06 Jambunathan K <kjambunathan@gmail.com>
1534
1535 * register.el (append-to-register, prepend-to-register):
1536 Deactivate mark, as does `copy-to-register' (bug#12389).
1537
9414dd8d
CY
15382012-10-06 Chong Yidong <cyd@gnu.org>
1539
1540 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1541
2b89bca4
KH
15422012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1543
1544 * international/characters.el: Fix simple mistake ((car chars) ->
1545 elt), delete duplicated code.
1546
d5acb99a
GM
15472012-10-06 Glenn Morris <rgm@gnu.org>
1548
1549 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1550
123ec157
JS
15512012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1552
1553 * color.el (color-hsl-to-rgb): Fix incorrect results for
1554 small and large hue values. (Bug#12559)
1555
7fa36ccb
FEG
15562012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1557
1558 Enhancements to docstring formatting when filling paragraphs.
1559 * progmodes/python.el (python-fill-docstring-style): Rename from
1560 python-fill-string-style. Added new style.
1561 (python-fill-string): Use new style. Better checks for
1562 docstrings.
1563
d8788e1e
GM
15642012-10-05 Glenn Morris <rgm@gnu.org>
1565
204f3953
GM
1566 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1567
d8788e1e
GM
1568 * color.el (color-name-to-rgb, color-rgb-to-hex)
1569 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1570 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1571 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1572 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1573
8d956cef
GM
1574 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1575
e8757f09 15762012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1577
1578 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1579 to get the correct size across symlinks.
1580
e8757f09
GM
1581 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1582
0e2ae83d
JL
15832012-10-04 Juri Linkov <juri@jurta.org>
1584
1585 * replace.el (query-replace-interactive): Declare obsolete.
1586 (query-replace-read-from): Add the last incremental search string
1587 to the list of default values accessible via M-n.
1588 (map-query-replace-regexp): Use `read-regexp'.
1589 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1590 (map-query-replace-regexp, replace-string, replace-regexp):
1591 Fix docstrings to replace mentions of `query-replace-interactive'
1592 with alternatives. (Bug#12526)
1593
93cacb6d
JL
15942012-10-04 Juri Linkov <juri@jurta.org>
1595
1596 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1597 (dired-pop-to-buffer): Declare obsolete.
1598 (dired-mark-pop-up): Doc fix.
1599
fc345011
FEG
16002012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1601
1602 Allow user to set docstring style for fill-paragraph.
1603 * progmodes/python.el
1604 (python-fill-comment-function, python-fill-string-function)
1605 (python-fill-decorator-function, python-fill-paren-function):
1606 Remove :safe for defcustoms.
1607 (python-fill-string-style): New defcustom
5694896d 1608 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1609 (python-fill-string): Honor python-fill-string-style settings.
1610
6bab5d8b
MR
16112012-10-04 Martin Rudalics <rudalics@gmx.at>
1612
1613 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1614 after setting its buffer (Bug#10805).
1615
a1a9f411
FEG
16162012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1617
1618 Fix cornercase for string syntax.
1619 * progmodes/python.el (python-syntax-propertize-function):
1620 Simplify and enhance the regexp for unescaped quotes. Now it also
1621 matches quotes in weird situations like the single quote in
1622 "something\"'".
1623 (python-syntax-stringify): Simplify num-quotes detecting code.
1624
05e153a6
GM
16252012-10-03 Glenn Morris <rgm@gnu.org>
1626
1627 * help-macro.el (three-step-help):
1628 Revert 2012-09-29 change. (Bug#12567)
1629
2e566ecb
MR
16302012-10-03 Martin Rudalics <rudalics@gmx.at>
1631
96ef9ccd
MR
1632 * menu-bar.el (kill-this-buffer): Don't do anything when
1633 `menu-frame' is not alive or visible (Bug#8184).
1634
2e566ecb
MR
1635 * emacs-lisp/debug.el (debug): When quitting the debugger window
1636 restore current buffer (Bug#12502).
1637
a96e1cb7
CY
16382012-10-02 Chong Yidong <cyd@gnu.org>
1639
5694896d
J
1640 * progmodes/hideif.el (hif-lookup, hif-defined):
1641 Handle semantic-c-takeover-hideif.
a96e1cb7 1642
b3ecad33
PE
16432012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1644
1645 Change sampling interval units from ms to ns.
1646 * profiler.el (profiler-sampling-interval): Change units
1647 from ms to ns, multiplying the default by 1000000 so that
1648 it remains 1 ms.
1649 (profiler-report-cpu-line-format): Give enough room for
1650 the maximum counters on 64-bit hosts.
1651 (profiler-report-render-calltree-1): Call them "CPU samples",
1652 not "Time (ms)", since they are not milliseconds now (and
1653 never really were).
1654
8cb51b66 16552012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1656
5694896d
J
1657 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1658 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1659
fd795bf4
CY
16602012-10-02 Chong Yidong <cyd@gnu.org>
1661
1662 * emacs-lisp/eieio.el: Restore Version header.
1663
fe0a74f9
SM
16642012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1665
6be9197e
SM
1666 * vc/diff-mode.el (diff--auto-refine-data): New var.
1667 (diff-hunk): Use it to delay refinement.
1668 (diff-mode): Remove overlays when we turn off font-lock.
1669
18486139
SM
1670 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1671 (table-initialize-table-fixed-width-mode)
1672 (table-set-table-fixed-width-mode): Remove functions.
1673 (table-command-list): Move initialization into declaration.
1674 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1675 (table-with-cache-buffer): Use `declare'.
1676 (table-span-cell): Simplify via CSE.
1677 (table-fixed-width-mode): Use define-minor-mode.
1678 (table-call-interactively, table-funcall, table-apply): Remove.
1679 (table-function): New function, to replace them.
1680
d83ef976
SM
1681 * bookmark.el (bookmark-search-pattern): Remove var.
1682 (bookmark-read-search-input): Remove function.
1683 (bookmark-bmenu-search): Reimplement using a minibuffer.
1684
cd386662
SM
1685 * faces.el (modeline): Remove obsolete face name.
1686
fe0a74f9
SM
1687 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1688 and give a non-nil default value.
1689 (add-change-log-entry): Simplify accordingly.
1690
9f7b98f8
DG
16912012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1692
1693 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1694 (vc-git-log-edit-toggle-amend): New function.
1695 (vc-git-log-edit-toggle-signoff): New function.
1696 (vc-git-log-edit-mode): New major mode.
1697 (vc-git-log-edit-mode-map): Keymap for it.
1698 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1699
1700 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1701 header names.
1702 (log-edit-toggle-header): New function.
1703 (log-edit-extract-headers): Accept function values in HEADERS alist.
1704
62a81506
CY
17052012-10-01 David Engster <deng@randomsample.de>
1706
1707 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1708 from symbol property and change message to be more consistent with
1709 Emacs proper.
1710 (eieio-describe-generic): Add filename for each implementation.
1711 Fix indices for generic and normal methods.
1712 (eieio-method-def, eieio-class-def): New buttons.
1713 (eieio-help-find-method-definition)
1714 (eieio-help-find-class-definition): New functions.
1715 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1716 class, constructor and method definitions.
1717
1718 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1719 information in symbol property.
1720 (scoped-class): Remove.
1721 (eieio-slot-name-index, call-next-method): Check if it is bound.
1722
17232012-10-01 Leo P. White <lpw25@cam.ac.uk>
1724
1725 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1726 (eieio-custom-mode): New major mode.
1727 (eieio-customize-object): Use it.
1728
17292012-10-01 Eric Ludlam <zappo@gnu.org>
1730
1731 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1732 specifying the expected class, and whether subclassing is allowed.
1733 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1734 (eieio-persistent-validate/fix-slot-value)
1735 (eieio-persistent-slot-type-is-class-p): New functions.
1736 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1737
1738 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1739 Stop using unused publd variable.
1740
1741 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1742 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1743 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1744 (eieio-speedbar-handle-click): Do not specify a class for the
1745 method. Fixes method invocation order problems with EDE.
1746
375e49d4
SM
17472012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1750 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1751
16ce6ccd
KF
17522012-10-01 Karl Fogel <kfogel@red-bean.com>
1753
1754 * bookmark.el (bookmark-version-control): Give tags in the
1755 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1756 (bookmark-write-file): Bind `print-circle' to `t' to allow
1757 circular custom bookmark types. (Bug#12503)
16ce6ccd 1758
19e54a4d
PE
17592012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1760
86ec63ba
PE
1761 Revert the FOLLOW-SYMLINKS change for file-attributes.
1762 * files.el (remote-file-name-inhibit-cache, after-find-file):
1763 * time.el (display-time-file-nonempty-p): Undo last change.
1764
19e54a4d
PE
1765 * profiler.el (profiler-sampling-interval): Change default back to 1.
1766 See Stefan Monnier in
1767 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1768
0478776b
FEG
17692012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1770
1771 Shell output catching a la gud-gdb.
1772 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1773 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1774 New Vars.
0478776b
FEG
1775 (python-shell-fetch-lines-filter): New function.
1776 (python-shell-send-string-no-output): Use them.
1777
c22bac2c
TM
17782012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1779
1780 * profiler.el (profiler-sampling-interval): Rename from
1781 profiler-sample-interval.
1782 (profiler-sampling-interval): Default to 10.
1783 (profiler-find-profile): New command (was profiler-find-log).
1784 (profiler-find-profile-other-window): New command.
1785 (profiler-find-profile-other-frame): New command.
1786 (profiler-profile): Introduce API-level data structure.
1787
e7a2937b
PE
17882012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1789
1790 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1791 * files.el (remote-file-name-inhibit-cache):
1792 * time.el (display-time-file-nonempty-p): Use it.
1793 * files.el (after-find-file): Don't chase links before calling
1794 file-exists-p, as file-exists-p already does the right thing.
1795
4f595e15
RA
17962012-09-30 Ralf Angeli <angeli@caeruleus.net>
1797
1798 Merge from standalone RefTeX repository.
1799
1800 The following ChangeLog entries are shortened versions of the
1801 original ones with file paths adapted. A not so strongly edited
1802 version of the original ChangeLog can be found in the commit log.
1803
1804 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1805 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1806 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1807
1808 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1809 that entries with whitespace at various places are found.
1810 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1811 Include @String definitions in the resulting bib file. Add header
1812 and footer defined in `reftex-create-bibtex-header' and
1813 `reftex-create-bibtex-footer'.
1814 (reftex-do-citation): Make it possible again to insert
1815 non-existent entries. Save match data when asking for optional
1816 arguments. Return all keys, not just the first one.
1817 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1818 all citations in the same line.
1819 (reftex-parse-bibtex-entry): Accept additional optional argument
1820 `raw' and keep quotes or braces if it is non-nil. Match fields
1821 containing hyphens besides word constituents.
1822 (reftex-get-string-refs): New function.
1823 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1824 and ask if it should be reread in case it did.
1825 (reftex-pop-to-bibtex-entry)
1826 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1827 entries with spaces or tabs in front of arguments.
1828 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1829 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1830 Match entries containing numbers and symbol constituents.
1831 (reftex-do-citation, reftex-figure-out-cite-format):
1832 Use `reftex-cite-key-separator'.
4f595e15
RA
1833
1834 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1835 (reftex-mouse-view-crossref): Explain why point is set.
1836
1837 * textmodes/reftex-global.el: Whitespace changes.
1838
1839 * textmodes/reftex-index.el: Move provide statement to end of
1840 file.
1841 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1842 (reftex-index-visit-phrases-buffer): Set marker when visiting
1843 buffer. This allows for returning from the phrases file to the
1844 file one was just editing instead of the file where the last
1845 phrases was added from.
1846 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1847 punctuation syntax as it usually is not used as string quote in
1848 TeX-related modes and may occur unmatched. The change also
1849 prevents fontification of quoted content.
1850 (reftex-index-phrases-mode): Use it.
1851
375e49d4
SM
1852 * textmodes/reftex-parse.el (reftex-parse-from-file):
1853 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1854 (reftex-parse-from-file): Use beginning of match instead of end as
1855 bound.
1856
1857 * textmodes/reftex-ref.el: Adapt creation of
1858 `reftex-<package>-<macro>' functions to new structure of
1859 `reftex-ref-style-alist'.
375e49d4
SM
1860 (reftex-reference): Use `reftex-ref-style-list' function.
1861 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1862 reference macro if `reftex-ref-macro-prompt' is non-nil.
1863 (reftex-reference): Pass refstyle to `reftex-format-special'.
1864 Determine reference macro by looking at
375e49d4
SM
1865 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1866 Use only one special format function.
4f595e15
RA
1867 (reftex-varioref-vref, reftex-fancyref-fref)
1868 (reftex-fancyref-Fref): Remove definitions. The functions are now
1869 generated from `reftex-ref-style-alist'.
1870 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1871 Remove.
1872 (reftex-format-special): New function.
1873
1874 * textmodes/reftex-sel.el
1875 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1876 of `reftex-ref-style-alist'. Remove code for testing macro type.
1877 (reftex-select-toggle-varioref)
1878 (reftex-select-toggle-fancyref): Remove.
1879 (reftex-select-cycle-ref-style-internal)
1880 (reftex-select-cycle-ref-style-forward)
1881 (reftex-select-cycle-ref-style-backward): New functions.
1882 (reftex-select-label-map): Use `v' and `V' for general cycling
1883 through reference styles. Add `p' for switching between number
1884 and page reference types.
1885
375e49d4
SM
1886 * textmodes/reftex-toc.el (reftex-re-enlarge):
1887 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1888 the horizontal version throws an error even if the parameter is 0.
1889
1890 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1891 (reftex-plug-into-AUCTeX): Doc fix.
1892 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1893 string. Adapt to new name.
1894 (reftex-ref-style-alist): Change structure so that it is not
1895 possible to use multiple different package names within a style.
375e49d4
SM
1896 Remove the symbols for symbols for macro type distinction.
1897 Add characters for macro selection.
4f595e15
RA
1898 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1899 (reftex-create-bibtex-footer): New variables.
1900 (reftex-format-ref-function): Mention third argument of special
1901 format function.
375e49d4
SM
1902 (reftex-ref-style-alist, reftex-ref-style-default-list):
1903 New variables.
4f595e15
RA
1904 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1905 to new implementation. Mark as obsolete. Add compatibility code
1906 for honoring the variable values in case they are set.
375e49d4
SM
1907 (reftex-cite-format-builtin, reftex-bibliography-commands):
1908 Add support for ConTeXt.
1909 (reftex-format-ref-function, reftex-format-cite-function):
1910 Fix custom type.
4f595e15
RA
1911 (reftex-cite-key-separator): New variable.
1912
1913 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1914 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1915 `reftex-syntax-table' because parens have to retain their paren
1916 syntax in order for parsing of BibTeX entries like @book(...) to
1917 work.
1918 (reftex-in-comment): Do not error out if `comment-start-skip' is
1919 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1920 (reftex-tie-multifile-symbols): Add doc string.
1921 Initialize `reftex-ref-style-list'.
4f595e15
RA
1922 (reftex-untie-multifile-symbols): Add doc string.
1923 (reftex-add-index-macros): Doc fix.
1924 (reftex-ref-style-activate, reftex-ref-style-toggle)
1925 (reftex-ref-style-list): New functions.
1926 (reftex-mode-menu): Use them. Adapt to new structure of
1927 `reftex-ref-style-alist'.
1928 (reftex-select-with-char): Kill the RefTeX Select buffer when
1929 done.
1930 (reftex-remove-if): New function.
1931 (reftex-erase-all-selection-and-index-buffers)
1932 (reftex-mode-menu): Reference styles are now computed from
1933 `reftex-ref-style-alist'. Fix typo.
1934 (reftex-report-bug): New function.
1935 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1936 algorithms with O(n log n). Introduce optional argument SORT (not
1937 yet used).
1938
440ba395
FEG
19392012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1940
1941 Enhancements for triple-quote string syntax.
375e49d4
SM
1942 * progmodes/python.el (python-syntax-propertize-function):
1943 Match both quote cases in one regexp.
440ba395
FEG
1944 (python-syntax-stringify): Handle matches properly.
1945
4c478e6b
JL
19462012-09-30 Juri Linkov <juri@jurta.org>
1947
1948 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1949 to nil around the call to `insert' to prevent
4c478e6b
JL
1950 directory time modification by lock_file. (Bug#2295)
1951 * tar-mode.el (tar-summarize-buffer): Idem.
1952
d80d54b2
JL
19532012-09-30 Juri Linkov <juri@jurta.org>
1954
1955 * facemenu.el (list-colors-sort): Add option "Luminance".
1956 (list-colors-sort-key): Implement it.
1957
1958 * vc/diff-mode.el (diff-refine-removed):
1959 * vc/ediff-init.el (ediff-fine-diff-A):
1960 * vc/smerge-mode.el (smerge-refined-removed):
1961 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1962
d7e642cc
JD
19632012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1964
1965 * term/ns-win.el (x-file-dialog): New function.
1966
ee41332b
JB
19672012-09-30 Juanma Barranquero <lekktu@gmail.com>
1968
1969 * ido.el (ido-max-directory-size): Default to nil; the current
1970 default is small for POSIX systems, and impractical on Windows 7
1971 now that lstat returns directory sizes for NTFS.
1972
5938d519
MR
19732012-09-30 Martin Rudalics <rudalics@gmx.at>
1974
1975 In buffer display functions handle window-height/window-width
1976 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1977 * window.el (window--display-buffer): New argument ALIST.
1978 Obey window-height and window-width alist entries.
1979 (window--try-to-split-window): New argument ALIST.
1980 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1981 changed and window-combination-limit equals `window-size'.
1982 (display-buffer-in-atom-window)
1983 (display-buffer-in-major-side-window)
1984 (display-buffer-in-side-window, display-buffer-same-window)
1985 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1986 (display-buffer-pop-up-window, display-buffer-below-selected)
1987 (display-buffer-at-bottom, display-buffer-in-previous-window)
1988 (display-buffer-use-some-window): Adjust all callers of
1989 window--display-buffer and window--try-to-split-window.
1990 (fit-frame-to-buffer): New option.
1991 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1992 is non-nil.
1993 (display-buffer-in-major-side-window): Evaluate window-height /
1994 window-width alist entries.
1995
1996 * help.el (temp-buffer-resize-frames)
1997 (temp-buffer-resize-regexps): Remove options.
1998 (temp-buffer-resize-mode): Adjust doc-string.
1999 (resize-temp-buffer-window): Don't consult
2000 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2001 temp-buffer-resize-frames.
2002
375e49d4
SM
2003 * dired.el (dired-mark-pop-up):
2004 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
2005 entry.
2006
c4c0c2df
CY
20072012-09-30 Chong Yidong <cyd@gnu.org>
2008
48de8b12
CY
2009 * server.el (server-host): Document the security implications.
2010 (server-auth-key): Doc fix.
2011
2012 * startup.el (initial-buffer-choice): Doc fix.
2013
2014 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2015
a97dc380
CY
2016 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2017 restriction change.
2018
d39d3c8e
CY
2019 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2020
c4c0c2df
CY
2021 * help-fns.el (help-fns--obsolete): Fix last change.
2022
98a5e33b
SM
20232012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2024
34cf6f39
SM
2025 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2026 (minor-mode-map-alist): Remove redundant code.
2027
e01c13fe
SM
2028 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2029 visited in a buffer.
2030 (cvs-insert-visited-file): New function.
2031 (find-file-hook): Use it.
2032
2033 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2034
02661b3a
SM
2035 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2036 chose face.
2037 (log-edit-empty-buffer-p): Don't require a space after a header.
2038
43711d4b
SM
2039 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2040
38a30d64
SM
2041 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2042
4ffb41a9
SM
2043 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2044 a proper minor-mode.
2045
98a5e33b
SM
2046 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2047
de82e29b
GM
20482012-09-29 Glenn Morris <rgm@gnu.org>
2049
5cc2e639
GM
2050 * winner.el (winner-mode): Remove variable (let define-minor-mode
2051 handle it).
2052 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2053 Doc fixes.
2054 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2055 (winner-mode): Use define-minor-mode.
2056
7bd302eb
GM
2057 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2058 the full definition in loaddefs, rather than duplicating it.
2059
2923922f 2060 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2061
0e3e4156
GM
2062 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2063 (inferior-lisp-program, inferior-lisp-load-command)
2064 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2065 No need to autoload defcustoms.
0e3e4156 2066
de82e29b
GM
2067 * hippie-exp.el (hippie-expand-try-functions-list)
2068 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2069 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2070 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2071 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2072 * progmodes/vhdl-mode.el (vhdl-line-expand):
2073 Explicitly load hippie-exp, so it does not get autoloaded
2074 while hippie-expand-try-functions-list is let-bound.
2075
e60b51ab
GM
20762012-09-28 Glenn Morris <rgm@gnu.org>
2077
277f0cfa
GM
2078 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2079
e60b51ab
GM
2080 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2081 Only "cl.el" counts as cl these days.
2082
53baf48a
JL
20832012-09-28 Juri Linkov <juri@jurta.org>
2084
2085 Display archive errors in the echo area instead of inserting
2086 to the file buffer.
2087
2088 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2089 to STDERR-TEST that can be a regexp matching a successful output.
2090 Create a temporary file and redirect stderr to it. Search for
2091 STDERR-TEST in the stderr output and display it in the echo area
2092 if no match is found.
2093 (archive-extract-by-file): New function like
2094 `archive-extract-by-stdout' but extracting archives to files
2095 and looking for successful matches in stdout. Function body is
2096 mostly copied from `archive-rar-extract'.
2097 (archive-rar-extract): Use `archive-extract-by-file'.
2098 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2099
9c1228c3
LL
21002012-09-28 Leo Liu <sdl.web@gmail.com>
2101
375e49d4
SM
2102 * pcomplete.el (pcomplete-show-completions):
2103 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2104
9c1228c3
LL
2105 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2106
7f457c06
SM
21072012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2108
3df749b0
SM
2109 * type-break.el: Use lexical-binding.
2110 (type-break-mode): Use define-minor-mode.
2111
7f457c06
SM
2112 * emacs-lisp/pcase.el (pcase--mark-used): New.
2113 (pcase--u1): Use it (bug#12512).
2114
2115 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2116 in load-history with the right file name.
2117
c00ebc98
TH
21182012-09-28 Tassilo Horn <tsdh@gnu.org>
2119
2120 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2121 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2122 (doc-view-get-bounding-box): Make bounding box slicing work for
2123 ODF and DVI documents.
2124
96fb7170
GM
21252012-09-28 Glenn Morris <rgm@gnu.org>
2126
2127 * type-break.el (type-break-mode, type-break-interval)
2128 (type-break-good-rest-interval, type-break-keystroke-threshold):
2129 No need to autoload.
2130 (type-break-good-rest-interval, type-break-keystroke-threshold):
2131 Add :set-after.
2132
5bc93c67
CY
21332012-09-28 Chong Yidong <cyd@gnu.org>
2134
2135 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2136 Add :version tag.
2137
9cad61d6
SM
21382012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2139
e28e67b3 2140 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2141
daee954c
GM
21422012-09-27 Glenn Morris <rgm@gnu.org>
2143
a88324d4
GM
2144 * faces.el (x-display-name): Declare (for without-x builds).
2145
8e5064e5
GM
2146 * linum.el (linum-format): Don't autoload it. Improve :type.
2147
cc1783c2
GM
2148 * progmodes/tcl.el: Don't require outline when compiling.
2149 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2150 * textmodes/sgml-mode.el: Don't require outline when compiling.
2151 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2152
48c339f2
GM
2153 * term.el (term-ansi-reset):
2154 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2155
daee954c
GM
2156 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2157 files for RCS and SCCS. (Bug#9781)
2158
b7f42161
CY
21592012-09-27 Chong Yidong <cyd@gnu.org>
2160
2161 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2162 change; value should be t.
2163
a2e770db
SM
21642012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2165
83600dc8
SM
2166 * image-mode.el: Use lexical-binding.
2167 (image-mode-winprops): Use t to stand for the window of
2168 a buffer that's not displayed.
2169 * doc-view.el (doc-view-new-window-function): Handle the new
2170 t in winprops.
2171 (doc-view-enlarge): Make it a real nop if the size is not changed.
2172 (doc-view-display): Handle the case where the buffer is not (yet?)
2173 displayed in any window.
2174 (doc-view-saved-settings): New var.
2175 (doc-view-mode): Use it.
2176 (doc-view-fallback-mode): Set it.
2177
a2e770db
SM
2178 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2179 Set lexical-binding.
2180 (minibuffer-eldef-shorten-default): New var.
2181 (minibuffer-default-in-prompt-regexps): Use it for new default.
2182 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2183
e3b60857
JB
21842012-09-26 Juanma Barranquero <lekktu@gmail.com>
2185
2186 * international/uni-bidi.el:
2187 * international/uni-category.el:
2188 * international/uni-name.el:
2189 * international/uni-numeric.el: Regenerate.
2190
3a880af4
SM
21912012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2192 Stefan Monnier <monnier@iro.umontreal.ca>
2193
2194 * profiler.el: New file.
2195
07b1a5fb
SM
21962012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2198 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2199 (testcover-reinstrument): Simplify with CSE.
2200
42019c2e
JB
22012012-09-26 Juanma Barranquero <lekktu@gmail.com>
2202
2203 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2204
179f044b
WS
22052012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2206
2207 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2208 (verilog-auto-input, verilog-auto-insert-lisp)
2209 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2210 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2211 (verilog-auto-unused, verilog-auto-wire)
2212 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2213 newline. Reported by Andrew Jones.
2214 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2215 Reported by Brad Dobbie.
07b1a5fb
SM
2216 (verilog-batch-delete-trailing-whitespace):
2217 Create verilog-batch-delete-trailing-whitespace.
2218 Reported by Brad Dobbie.
179f044b
WS
2219 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2220 parameters from another module. Reported by Dan Katz.
2221 (verilog-auto, verilog-auto-assign-modport)
2222 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2223 AUTOINOUTMODPORT for UVM interface module shell generation.
2224 Reported by Brad Dobbie.
2225 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2226 standard behavior.
2227 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2228 Reported by Matt Martin.
2229
9c52dd5a
MR
22302012-09-25 Martin Rudalics <rudalics@gmx.at>
2231
2232 * window.el (window--resize-child-windows): When resizing child
2233 windows proportionally, process them in reverse order to
2234 preserve the "when splitting a window the new one gets the odd
2235 line" behavior.
2236 (window--resize-root-window-vertically): When resizing the
2237 minibuffer window try to affect only windows at the bottom of the
2238 frame. (Bug#12419)
2239
863666eb
CY
22402012-09-25 Chong Yidong <cyd@gnu.org>
2241
2242 * subr.el (declare): Doc fix.
2243
2244 * help-fns.el (help-fns--obsolete): Handle macros properly.
2245
59f7af81
CY
22462012-09-25 Chong Yidong <cyd@gnu.org>
2247
2248 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2249 this function obsolete.
2250
2251 * calendar/cal-x.el (calendar-two-frame-setup)
2252 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2253 * calendar/calendar.el (american-calendar, european-calendar)
2254 (calendar-for-loop):
2255 * comint.el (comint-dynamic-simple-complete)
2256 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2257 * desktop.el (desktop-load-default):
2258 * dired-x.el (dired-omit-here-always)
2259 (dired-hack-local-variables, dired-default-directory):
2260 * emacs-lisp/derived.el (derived-mode-class):
2261 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2262 * emacs-lock.el (toggle-emacs-lock):
2263 * epa.el (epa-display-verify-result):
2264 * epg.el (epg-sign-keys, epg-start-sign-keys)
2265 (epg-passphrase-callback-function):
2266 * eshell/esh-util.el (eshell-for):
2267 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2268 (eshell-add-to-window-buffer-names):
2269 * files.el (locate-file-completion):
2270 * imenu.el (imenu-example--create-c-index)
2271 (imenu-example--create-lisp-index)
2272 (imenu-example--lisp-extract-index-name)
2273 (imenu-example--name-and-position):
2274 * international/mule-cmds.el (princ-list):
2275 * international/mule-diag.el (decode-codepage-char):
2276 * international/mule-util.el (detect-coding-with-priority):
2277 * iswitchb.el (iswitchb-read-buffer):
2278 * mail/mailalias.el (mail-complete):
2279 * mail/sendmail.el (mail-sent-via):
2280 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2281 (mouse-major-mode-menu):
2282 * password-cache.el (password-read-and-add):
2283 * pcomplete.el (pcomplete-parse-comint-arguments):
2284 * progmodes/sh-script.el (sh-maybe-here-document):
2285 * replace.el (query-replace-regexp-eval):
2286 * savehist.el (savehist-load):
2287 * simple.el (choose-completion-delete-max-match):
2288 * term.el (term-dynamic-simple-complete):
2289 * vc/ediff-init.el (ediff-check-version):
2290 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2291 * vc/vc.el (vc-diff-switches-list):
2292 * view.el (view-return-to-alist-update): Likewise.
2293
2294 * subr.el (eval-next-after-load, makehash, insert-string)
2295 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2296 mark obsolete.
2297 (mode-line-inverse-video): Variable deleted.
2298
2299 * international/mule-util.el (string-to-sequence): Remove.
2300
2301 * calendar/calendar.el (calendar-version):
2302 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2303 (icalendar-convert-diary-to-ical):
2304 * cus-edit.el (custom-mode):
2305 * ansi-color.el (ansi-color-unfontify-region):
2306 * international/latin1-disp.el (latin1-char-displayable-p):
2307 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2308 * progmodes/which-func.el (which-func-update-1):
2309 Use define-obsolete-function-alias.
59f7af81
CY
2310
2311 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2312 * net/newst-treeview.el (newsticker-groups-filename):
2313 Fix incorrect obsolescence declaration.
59f7af81
CY
2314
2315 * allout.el (allout-passphrase-hint-string): Likewise.
2316 (allout-init): Use a declare form to mark obsolete.
2317
2318 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2319 this applies to functions.
2320
2321 * iswitchb.el (iswitchb-read-buffer): Move code of
2322 iswitchb-define-mode-map here, and delete that obsolete function.
2323
2324 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2325 font-lock-reference-face.
2326
cca96c97
GM
23272012-09-25 Glenn Morris <rgm@gnu.org>
2328
b06eeda8
GM
2329 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2330 Doc fixes.
2331
cca96c97
GM
2332 * eshell/em-term.el (eshell-term-name):
2333 Default to term-term-name. (Bug#12485)
2334
dc4f818b
FEG
23352012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2336
cca96c97
GM
2337 * progmodes/python.el (python-shell-send-buffer): Better handling
2338 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2339
289c24bd
GM
23402012-09-24 Glenn Morris <rgm@gnu.org>
2341
2342 * eshell/esh-cmd.el (eshell-find-alias-function):
2343 Tighten up file-name regexp. (Bug#12499)
2344
8fb8b88f
FEG
23452012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2346
2347 Enhancements for triple-quote string syntax.
2348 * progmodes/python.el (python-quote-syntax): Remove.
2349 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2350 (python-syntax-count-quotes, python-syntax-stringify):
2351 New functions.
8fb8b88f 2352
6c27f0f8
CY
23532012-09-24 Chong Yidong <cyd@gnu.org>
2354
a5f2b6ec
CY
2355 * mail/supercite.el (sc-version): Remove obsolete function.
2356 (sc-describe): Don't mark as obsolete, since it is bound.
2357 (sc-submit-bug-report): Remove.
2358
2359 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2360 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2361 (log-edit-require-final-newline)
2362 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2363
2364 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2365 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2366 * vc/vc.el (vc-checkout-carefully): Likewise.
2367
2368 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2369 (emerge-version): Remove.
2370
2371 * progmodes/compile.el (compile-internal): Remove.
2372 (compilation-parse-errors-function): Fix typo.
2373
2374 * international/mule.el (set-char-table-default): Remove.
2375 (set-coding-priority, make-coding-system, generic-char-p)
2376 (charset-list, charset-bytes, charset-id): Use declare to mark
2377 functions as obsolete.
2378
2379 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2380 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2381 * vc/vc-hooks.el (vc-default-registered): Don't use
2382 vc-master-templates.
2383
07b1a5fb
SM
2384 * font-lock.el (font-lock-reference-face):
2385 Use define-obsolete-variable-alias.
6c27f0f8
CY
2386
2387 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2388 * calendar/calendar.el (calendar-font-lock-keywords):
2389 * calendar/diary-lib.el (diary-font-lock-keywords)
2390 (diary-fancy-font-lock-keywords):
2391 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2392 * textmodes/reftex-index.el (reftex-insert-index):
2393 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2394 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2395 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2396 * progmodes/prolog.el (prolog-font-lock-keywords):
2397 * progmodes/idlwave.el (idlwave-idl-keywords):
2398 * progmodes/ada-mode.el (ada-font-lock-keywords):
2399 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2400
bcc0adbf
GM
24012012-09-24 Glenn Morris <rgm@gnu.org>
2402
2403 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2404
095bb823
FEG
24052012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2406
2407 * progmodes/python.el (python-indent-line): More consistent cursor
2408 movement behavior.
2409
70efc5c9
SM
24102012-09-23 Stefan Merten <smerten@oekonux.de>
2411
2412 * textmodes/rst.el: Fix compiler warning.
2413
2f438239
RW
24142012-09-23 Roland Winkler <winkler@gnu.org>
2415
07b1a5fb
SM
2416 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2417 Transcribe also LaTeX hyphenation.
2f438239
RW
2418 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2419 bibtex-reformat-previous-options.
2420
936ad041
RW
24212012-09-23 Roland Winkler <winkler@gnu.org>
2422
2423 * proced.el (proced-renice-command): New variable.
2424 (proced-marked-processes): New function.
2425 (proced-with-processes-buffer): New macro.
2426 (proced-send-signal): Use them.
2427 (proced-renice): New command bound to r.
2428
6fab0274
RW
24292012-09-23 Roland Winkler <winkler@gnu.org>
2430
2431 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2432 ibuffer-saved-filter-groups has one element, shortcut the call of
2433 completing-read. (Bug#12331)
2434
9a930676
CY
24352012-09-23 Chong Yidong <cyd@gnu.org>
2436
2437 * bindings.el (mode-line-toggle-read-only):
2438 * bs.el (bs-toggle-readonly):
2439 * buff-menu.el (Buffer-menu-toggle-read-only):
2440 * dired.el (dired-toggle-read-only):
2441 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2442
d07ff9db
CY
24432012-09-23 Chong Yidong <cyd@gnu.org>
2444
2445 * image.el (image-type-available-p): Adapt to init-image-library
2446 argument changes.
2447
51c4474e
JL
24482012-09-22 Juri Linkov <juri@jurta.org>
2449
2450 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2451 `dired-toggle-read-only'. (Bug#12462)
2452
43bf5e8e
MR
24532012-09-22 Martin Rudalics <rudalics@gmx.at>
2454
2455 * subr.el (temp-output-buffer-show): New function.
2456 (with-output-to-temp-buffer): Call temp-output-buffer-show
2457 instead of internal-temp-output-buffer-show.
2458
c88b867f
CY
24592012-09-22 Chong Yidong <cyd@gnu.org>
2460
3df47cd5
CY
2461 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2462 (Bug#12462).
2463
c88b867f
CY
2464 * repeat.el (repeat): Doc fix (Bug#12348).
2465
2466 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2467 (Bug#10909).
2468
2469 * simple.el (shell-command-on-region): Doc fix.
3171e303 2470 (read-only-mode): Doc fix.
c88b867f 2471
df9685f3
EZ
24722012-09-22 Eli Zaretskii <eliz@gnu.org>
2473
2474 * emacs-lisp/timer.el (run-with-idle-timer)
2475 (timer-activate-when-idle): Warn against reinvoking an idle timer
2476 from within its own timer action. (Bug#12447)
2477
8e17c9ba
MR
24782012-09-22 Martin Rudalics <rudalics@gmx.at>
2479
2480 * cus-start.el (window-combination-limit): Add new optional
2481 values.
2482 * window.el (temp-buffer-window-show)
2483 (window--try-to-split-window): Handle new values of
2484 window-combination-limit (Bug#1806).
2485 (split-window): Test window-combination-limit for t instead of
2486 non-nil.
2487 (display-buffer-at-bottom): New buffer display action function.
2488 * help.el (temp-buffer-resize-regexps): New option.
2489 (temp-buffer-resize-mode): Rewrite doc-string.
2490 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2491 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2492
48a24920
SM
24932012-09-22 Stefan Merten <smerten@oekonux.de>
2494
70efc5c9 2495 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2496 (rst-official-version)
2497 (rst-package-emacs-version-alist): Sync with official version
2498 V1.4.0.
2499 (rst-faces-defaults, rst-set-level-default)
2500 (rst-level-face-max, rst-level-face-base-color)
2501 (rst-level-face-base-light, rst-level-face-format-light)
2502 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2503 (rst-adornment-faces-alist): Match new setup.
2504 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2505 (rst-level-5, rst-level-6): New faces.
2506
82f8cd94
CY
25072012-09-22 Chong Yidong <cyd@gnu.org>
2508
2509 * simple.el (undo): Handle indirect buffers (Bug#8207).
2510
acfa068f 25112012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2512
2513 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2514 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2515 (ido-set-matches-1): Use it. (Bug#2042)
2516
acfa068f 25172012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2518
2519 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2520 Fix 2011-05-17 change. (Bug#12418)
2521
acfa068f 25222012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2523
2524 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2525
acfa068f 25262012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2527
2528 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2529 Be more robust about locating simple.el.
2530
acfa068f 25312012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2532
2533 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2534
acfa068f
CY
25352012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2536
2537 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2538
41a97e6f
JL
25392012-09-20 Juri Linkov <juri@jurta.org>
2540
eb2deaff
JL
2541 * replace.el (query-replace-read-from): Use `read-regexp' instead
2542 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2543 (occur-read-primary-args): Use `read-regexp' instead of
2544 `read-string'.
2545 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2546 `read-from-minibuffer'.
2547 * isearch.el (isearch-occur): Use `read-regexp' instead of
2548 `read-string'.
2549 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2550 `read-from-minibuffer'.
2551 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2552 of `read-string'. (Bug#7567)
2553
5825610b
JL
2554 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2555 and allow accepting a list of strings prepended to a list of
2556 standard default values. Doc fix. (Bug#12321)
2557
eebbf404
JL
2558 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2559
41a97e6f
JL
2560 * replace.el (read-regexp): Don't add ": " when PROMPT already
2561 ends with a colon and space. (Bug#12321)
2562
c9e452d3
TH
25632012-09-20 Tassilo Horn <tsdh@gnu.org>
2564
2565 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2566 error.
2567
ee97deee
SM
25682012-09-20 Stefan Merten <smerten@oekonux.de>
2569
70efc5c9 2570 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2571 Fixes feature request bug#11711.
2572 (rst-mode): Create `imenu-create-index-function'.
2573 (rst-get-stripped-line): Delete after refactoring.
2574 (rst-section-tree, rst-section-tree-rec)
2575 (rst-section-tree-point): Refactor and document properly.
2576 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2577 (rst-imenu-convert-cell, rst-imenu-create-index):
2578 New function.
ee97deee 2579
f490dab9
SM
25802012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2581
95b9712e
SM
2582 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2583 (macroexp--expand-all): Use it.
2584 (macroexp--funcall-and-return): Remove by folding it into its sole
2585 caller (macroexp--warn-and-return).
2586 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2587 Use macroexp--obsolete-warning.
2588
f490dab9
SM
2589 * calc/calc.el: Fix last change by removing the whole chunk, since it
2590 was only needed back when Calc was not bundled.
2591
96e8d411
MR
25922012-09-20 Martin Rudalics <rudalics@gmx.at>
2593
2594 * emacs-lisp/debug.el (debug): Restore assignment to
2595 debugger-old-buffer removed on 2012-09-08.
2596
0876a82d
JL
25972012-09-20 Juri Linkov <juri@jurta.org>
2598
2599 * dired-aux.el (dired-diff): Remove (require 'diff) since
2600 `diff-latest-backup-file' is now autoloaded.
2601
9f7c28f0
CY
26022012-09-20 Chong Yidong <cyd@gnu.org>
2603
2604 * vc/diff.el (diff-latest-backup-file): Autoload.
2605
7a04bee9
SM
26062012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2607
e6f0a80d
SM
2608 * calc/calc.el: Remove redundant autoload shape check.
2609 (sel-mode): Don't defvar.
2610 (calc-get-stack-element): Add `sel-mode' arg instead.
2611 (calc-top, calc-top-list): Pass it this additional argument.
2612 * calc/calc-store.el (calc-store-map):
2613 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2614 (calc-map-equation, calc-outer-product, calc-inner-product):
2615 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2616
7a04bee9
SM
2617 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2618
12734222
JL
26192012-09-19 Juri Linkov <juri@jurta.org>
2620
2621 * dired-aux.el (dired-diff): Add (require 'diff) because
2622 `diff-latest-backup-file' is not autoloaded.
2623 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2624 of `dired-get-filename' to t to not report error when there is
2625 no default file on the current line.
2626
46624b4f
SM
26272012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2628
ce97595b
SM
2629 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2630 macroexp--eval-if-compile.
2631 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2632 (macroexp--expand-all): Use them (bug#12371).
2633
46624b4f
SM
2634 * doc-view.el (doc-view-guess-paper-size)
2635 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2636
db8a5a18
TH
26372012-09-19 Tassilo Horn <tsdh@gnu.org>
2638
2639 New feature: set optimal slice from BoundingBox information.
2640 * doc-view.el (doc-view-mode-map): Add keybinding.
2641 (doc-view-menu): Add menu entry.
2642 (doc-view-set-slice): Adapt docstring.
2643 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2644 (doc-view-scale-bounding-box)
2645 (doc-view-set-slice-from-bounding-box): New functions.
2646 (doc-view-paper-sizes): New defvar.
2647
69f6644c
GM
26482012-09-19 Glenn Morris <rgm@gnu.org>
2649
35f5b19d
GM
2650 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2651 (byte-compile-log-warning): Autoload. (Bug#12371)
2652
69f6644c
GM
2653 * calendar/calendar.el (calendar-american-month-header)
2654 (calendar-european-month-header, calendar-iso-month-header)
2655 (calendar-month-header): New options.
2656 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2657 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2658
e543ae91
JD
26592012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2660
2661 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2662
2fd5e67d
JL
26632012-09-18 Juri Linkov <juri@jurta.org>
2664
2665 * dired-aux.el (dired-diff): Restore original functionality of
2666 getting the default value, but keep new feature of using the
2667 latest existing backup file (`diff-latest-backup-file').
2668
42917e79
JL
26692012-09-18 Juri Linkov <juri@jurta.org>
2670
2671 * dired.el (dired-mark): If the region is active in Transient Mark
2672 mode, mark all files in the active region. Doc fix.
2673 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2674 Doc fix. (Bug#10624)
2675
20f70ede
JL
26762012-09-18 Juri Linkov <juri@jurta.org>
2677
2678 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2679 attributes for M-n are pulled from the file at point.
2680 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2681 Suggested by Drew Adams. (Bug#10624)
2682
32fb8162
DG
26832012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2684
2685 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2686 whitespace after "end".
2687 (ruby-do-end-to-brace): Collapse block to one line if it fits
2688 within fill-column.
2689
37ab5092
MR
26902012-09-18 Martin Rudalics <rudalics@gmx.at>
2691
2692 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2693 value.
2694 (debug): Don't remove debugger window when debugger is expected
2695 to be back.
2696
ed1f0bd3
CY
26972012-09-18 Chong Yidong <cyd@gnu.org>
2698
2699 * custom.el (defface): Doc fix.
2700
2701 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2702
a11035b8
MB
27032012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2704
2705 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2706 to initialize query-on-exit; then test that instead (bug#12288).
2707
64f6a736
SM
27082012-09-17 Stefan Merten <smerten@oekonux.de>
2709
70efc5c9 2710 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2711 (rst-defcustom-testcover, rst-testcover-add-compose)
2712 (rst-testcover-add-1value): New functions.
2713 (rst-portable-mark-active-p): Replace by `use-region-p'.
2714 (rst-update-section, rst-classify-adornment)
2715 (rst-find-title-line): Mark `1value' forms.
2716 (rst-classify-adornment): Remove superfluous form.
2717 (rst-update-section, rst-get-adornments-around)
2718 (rst-adornment-complete-p, rst-get-next-adornment)
2719 (rst-adjust, rst-promote-region)
2720 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2721 (rst-find-pfx-in-region, rst-section-tree-rec)
2722 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2723 (rst-toc-node, rst-toc, rst-forward-section)
2724 (rst-iterate-leftmost-paragraphs)
2725 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2726 (rst-bullet-list-region)
2727 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2728 (rst-compile-find-conf, rst-compile)
2729 (rst-repeat-last-character): Fix style.
2730
580bd868
CY
27312012-09-17 Chong Yidong <cyd@gnu.org>
2732
2733 * comint.el (comint--complete-file-name-data): Don't add a space
2734 if the status is `sole'; that adds a gratuitous space in the
2735 completion-cycling case (Bug#12092).
2736
2737 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2738
69de3ec6
RS
27392012-09-17 Richard Stallman <rms@gnu.org>
2740
0dee970c
RS
2741 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2742 only in the mime-shown mode, not in raw mode.
2743 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2744 mime processing. (Bug#12305)
0dee970c 2745
6b250df6
GM
2746 * mail/rmail.el (rmail-retry-failure):
2747 Turn off mime processing first. (Bug#12037)
acb1c47b 2748
69de3ec6
RS
2749 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2750
d079ee5f
CY
27512012-09-17 Chong Yidong <cyd@gnu.org>
2752
2753 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2754 (shell-dynamic-complete-functions): Convert to defcustom.
2755 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2756
865fe16f
CY
2757 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2758 * comint.el (comint-prompt-read-only):
2759 * custom.el (defcustom):
2760 * hi-lock.el (hi-lock-mode):
2761 * ibuffer.el (ibuffer-formats):
2762 * ielm.el (ielm-prompt-read-only):
2763 * novice.el (disable-command):
2764 * saveplace.el (toggle-save-place):
2765 * speedbar.el (speedbar-supported-extension-expressions):
2766 * startup.el (auto-save-list-file-prefix, init-file-user)
2767 (after-init-hook, inhibit-startup-echo-area-message):
2768 * strokes.el (strokes-help):
2769 * time-stamp.el (time-stamp):
2770 * calendar/calendar.el (calendar, diary-file):
2771 * calendar/diary-lib.el (diary-mail-entries, diary)
2772 (diary-list-entries-hook):
2773 * calendar/holidays.el (holidays, calendar-holidays):
2774 * calendar/lunar.el (lunar-phases):
2775 * calendar/solar.el (sunrise-sunset):
2776 * emulation/edt.el (edt-load-keys):
2777 * emulation/viper.el (viper-mode):
2778 * eshell/em-alias.el (eshell-command-aliases-list):
2779 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2780 * international/ogonek.el (ogonek-information):
2781 * net/tramp-cmds.el (tramp-bug):
2782 * net/quickurl.el (quickurl-reread-hook-postfix):
2783 * play/decipher.el (decipher-font-lock-keywords):
2784 * progmodes/cc-styles.el (c-set-style):
2785 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2786 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2787 * progmodes/octave-mod.el (octave-mode):
2788 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2789 * progmodes/verilog-mode.el (verilog-read-defines):
2790 * textmodes/two-column.el (2C-mode): Likewise.
2791
48093eb9
KY
27922012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2793
2794 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2795 that holds many addresses.
2796
c584eaf9
CY
27972012-09-16 Chong Yidong <cyd@gnu.org>
2798
40d70ecb
CY
2799 * align.el (align-areas): Call the indication function with
2800 positions instead of markers for arguments (Bug#12343).
2801
1667e065
CY
2802 * files.el (parse-colon-path): Use split-string (Bug#12351).
2803
fdc2806d 2804 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2805 (display-buffer-function): Mark as obsolete.
fdc2806d 2806
f1be615c 2807 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2808 values similar to font-lock-keywords (Bug#12136).
2809 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2810 (compilation-error-regexp-alist): Doc fix.
2811
f40a9709
GM
28122012-09-15 Glenn Morris <rgm@gnu.org>
2813
72aa16e1
GM
2814 * version.el (emacs-bzr-version-bzr): New function.
2815 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2816
82375160
GM
2817 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2818 checkouts, check the parent dirstate matches the branch.
2819 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2820 empty string.
2821
f40a9709
GM
2822 * version.el (emacs-bzr-version): Doc fix.
2823 (emacs-bzr-version-dirstate): New function.
2824 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2825 is local try and check that it matches the branch. If not, just
2826 use dirstate information. (Bug#12441)
2827
cb26b7f5
JL
28282012-09-14 Juri Linkov <juri@jurta.org>
2829
2830 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2831 (Bug#12399)
2832
2de39f08
SM
28332012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2834
0fb3cb7c
SM
2835 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2836
2de39f08
SM
2837 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2838 Remove obsolete byte-compiler hack that tried to silence some warnings.
2839 (edebug-submit-bug-report): Remove.
2840 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2841 Remove aliases, use the un-prefixed name instead.
2842 (edebug-pop-to-buffer): Consider other frames.
2843 (edebug-original-read):: Make it more obvious that it's always defined.
2844 (edebug--make-form-data-entry, edebug--form-data-name)
2845 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2846 single-dashed name, and implement with cl-defstruct.
2847 (edebug-set-form-data-entry): Use the standard accessors.
2848 (edebug-make-top-form-data-entry): Use push.
2849 (edebug-no-match): Drop useless `funcall'.
2850 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2851 to functions.
2852 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2853 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2854 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2855 (easy-menu-define, with-custom-print): Remove redundant specs.
2856 (edebug-outside-overriding-local-map)
2857 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2858 (edebug--display): Bind unread-command-events directly to nil rather
2859 than binding it to unread-command-events and later setting it to nil.
2860 (edebug--display): Kill edebug-eval-buffer here...
2861 (edebug--recursive-edit): ...rather than here.
2862 Bind standard-output and standard-input.
2863 (edebug-eval): Check cl-macroexpand-all is fboundp.
2864 (edebug-temp-display-freq-count): Fix last change.
2865
2866 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2867 * subr.el (noreturn, 1value): Add `debug' spec.
2868 * emacs-lisp/advice.el: Require cl-lib.
2869 (ad-copy-tree): Remove, use copy-tree instead.
2870 (ad-dolist): Remove use dolist or cl-dolist instead.
2871 (ad-do-return): Remove, use cl-return instead.
2872 (defadvice): Add `debug' spec.
2873
5b68b333
JL
28742012-09-13 Juri Linkov <juri@jurta.org>
2875
2876 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2877 (Bug#12399)
2878
b9800ec4
GM
28792012-09-13 Glenn Morris <rgm@gnu.org>
2880
6a2e6868
GM
2881 * calc/calc.el (math-compose-expr):
2882 * calc/calc-ext.el (math-compose-expr):
2883 * progmodes/cc-defs.el (cl-macroexpand-all):
2884 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2885 (cl-macroexpand-all): Update declarations.
2886
b9800ec4
GM
2887 * vc/vc.el: No need to require ediff.
2888 (ediff-load-version-control): Declare.
2889 (ediff-vc-internal): Fix declaration.
2890 (vc-version-ediff): Require ediff.
2891
c18e885b
PE
28922012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2893
2894 Use a more backwards-compatible timer format (Bug#12430).
2895 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2896 being right after USECS, as that better supports old code that
2897 inadvisedly looked directly at the timer vector.
2898
d607d303
KH
28992012-09-13 Kenichi Handa <handa@gnu.org>
2900
2901 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2902 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2903 `coding-priority' property of these language environment.
2904
72eac303
PE
29052012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2906
2907 Fix glitches caused by addition of psec to timers (Bug#12430).
2908 * image.el (image-animate-timer):
2909 * time.el (display-time-world-timer):
2910 Use timer--function and timer--args rather than raw access to
2911 timer vector.
2912
2168fe4f
GM
29132012-09-13 Glenn Morris <rgm@gnu.org>
2914
2915 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2916 If not compiling a file, try using load-file-name.
2917
bd8d6108
SM
29182012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2919
c0c54fbd
SM
2920 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2921 Fix last change.
2922 (edebug-update-eval-list): Use `push'.
2923
bd8d6108
SM
2924 * emacs-lisp/edebug.el: Use lexical-binding.
2925 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2926 Mark unused args with underscore.
2927 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2928 (edebug-form-data): Use defvar-local.
2929 (edebug-make-before-and-after-form, edebug-make-after-form):
2930 Use backquote.
2931 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2932 Not dynamically scoped any more.
2933 (edebug--enter-trace): Add arguments `function' and `args'.
2934 Rename from edebug-enter-trace.
2935 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2936 (edebug--update-coverage): Add `after-index' and `value' args.
2937 Rename from edebug-update-coverage.
2938 (edebug-slow-after): Call it accordingly.
2939 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2940 edebug-recursive-edit.
2941 (edebug--display): Call it accordingly. Add args `value',
2942 `offset-index', and `arg-mode'. Rename from edebug-display.
2943 (edebug-debugger, edebug): Call it accordingly.
2944 (edebug-eval-display-list): Use dolist.
2945
a9f9d9de
JL
29462012-09-12 Juri Linkov <juri@jurta.org>
2947
2948 * info.el (Info-search): Don't check for isearch-mode and
2949 isearch-regexp before let-binding search-spaces-regexp to
2950 Info-search-whitespace-regexp.
2951 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2952 search-whitespace-regexp if isearch-lax-whitespace or
2953 isearch-regexp-lax-whitespace is non-nil.
2954 (Info-mode): Don't set local variable search-whitespace-regexp.
2955 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2956
bfeae2cf
SM
29572012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2960 (debugger-env-macro): Remove support for unread-command-char.
2961
2962 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2963 the temporary map re-appearing on emulation-mode-map-alists.
2964
2965 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2966 since 22.1.
2967
2968 * ehelp.el (with-electric-help): Accept functions in
2969 electric-help-form-to-execute.
2970 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2971 And replace unread-command-char -> unread-command-events.
2972
fbbcaf1b
MA
29732012-09-12 Michael Albinus <michael.albinus@gmx.de>
2974
2975 Sync with Tramp 2.2.6.
2976
2977 * net/tramp.el (tramp-accept-process-output): Don't use
2978 JUST-THIS-ONE in the XEmacs case.
2979
2980 * net/trampver.el: Update release number.
2981
4dece104
MR
29822012-09-12 Martin Rudalics <rudalics@gmx.at>
2983
bfeae2cf
SM
2984 * emacs-lisp/debug.el (debugger-previous-window-height):
2985 New variable.
4dece104
MR
2986 (debug): When debugger-jumping-flag is non-nil try to restore
2987 height of debugger window. (Bug#8789)
2988
45b82ad0
SM
29892012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2990
60c49c0f
SM
2991 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2992 overriding-local-map and pre/post-command-hook here.
2993 (edebug-recursive-edit): Do it here instead (bug#12345).
2994 (edebug-outside-unread-command-char): Remove all uses of
2995 unread-command-char.
2996
45b82ad0
SM
2997 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2998 inhibit-debugger is bound instead.
2999
baa26ea0
BG
30002012-09-11 Bastien Guerry <bzg@gnu.org>
3001
3002 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 3003 (Bug#12346)
baa26ea0 3004
04e8abfa
BG
30052012-09-11 Bastien Guerry <bzg@gnu.org>
3006
96d03571 3007 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 3008 (Bug#12347)
96d03571
BG
3009
30102012-09-11 Bastien Guerry <bzg@gnu.org>
3011
fc0c31f8 3012 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3013
04e082b0
MM
30142012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3015
3016 * progmodes/sql.el: Version 3.1
3017 (sql-db2-escape-newlines): New variable.
3018 (sql-escape-newlines-filter): Use it.
3019
399a361b
JB
30202012-09-10 Juanma Barranquero <lekktu@gmail.com>
3021
3022 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3023
0780c517
DN
30242012-09-10 Dan Nicolaescu <dann@gnu.org>
3025
45b82ad0
SM
3026 * vc/diff-mode.el (diff-mode-menu):
3027 Bind diff-remove-trailing-whitespace.
0780c517 3028
9b851e25
SM
30292012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3032 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3033 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3034 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3035 (eval-defun-2): Remove bogus interactive spec.
3036 (lisp-indent-line): Remove redundant whole-exp code, now done in
3037 indent-according-to-mode.
3038 (save-match-data): Remove redundant indent data.
3039
3040 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3041 Use `declare'.
3042
3231d532
JL
30432012-09-09 Juri Linkov <juri@jurta.org>
3044
3045 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3046 (replace-lax-whitespace, query-replace-regexp)
3047 (query-replace-regexp-eval, replace-regexp): Doc fix.
3048 (perform-replace, replace-highlight): Let-bind
3049 isearch-lax-whitespace to replace-lax-whitespace and
3050 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3051
3052 * isearch.el (isearch-query-replace): Let-bind
3053 replace-lax-whitespace to isearch-lax-whitespace and
3054 replace-regexp-lax-whitespace to
3055 isearch-regexp-lax-whitespace. (Bug#10885)
3056
70fe8236
SM
30572012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3060
8ed43f15
AM
30612012-09-09 Alan Mackenzie <acm@muc.de>
3062
70fe8236
SM
3063 * progmodes/cc-engine.el (c-state-cache-init):
3064 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3065 (c-record-parse-state-state):
3066 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3067
bfabf70a
AS
30682012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3069
3070 * register.el (register-separator): Rename from
3071 separator-register. All uses changed. Doc fix.
3072 (register): Fix version.
3073
011474aa
CY
30742012-09-09 Chong Yidong <cyd@gnu.org>
3075
3076 * replace.el (query-replace-map): Bind four new symbols for
3077 requesting window scrolling.
3078
3079 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3080 query-replace-map (Bug#8948).
3081
3082 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3083
3084 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3085 since they are now in query-replace-map.
3086
3087 * window.el (scroll-other-window-down): Make the arg optional.
3088
a8b7cd8d
CY
30892012-09-09 Chong Yidong <cyd@gnu.org>
3090
3091 * files.el (hack-local-variables-confirm): Use quit-window to kill
3092 the *Local Variables* buffer.
3093
c3268831
DG
30942012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3095
3096 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3097 not just expect to be at its beginning. Adjust callees.
3098 Succeed when do-end block has no space before the pipe character.
3099 (ruby-brace-to-do-end): When the original block is one-liner,
3100 convert to multiline. Reindent the result.
3101
0979429b
J
31022012-09-08 Jambunathan K <kjambunathan@gmail.com>
3103
3104 * register.el (register): New group.
27359e99 3105 (separator-register): New user option.
0979429b
J
3106 (increment-register): Route it to `append-to-register', if
3107 register contains text. Implication is that `C-x r +' can now be
3108 used for appending to a text register (bug#12217).
3109 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3110 `separator-register'.
0979429b 3111
ace2989a
AM
31122012-09-08 Alan Mackenzie <acm@muc.de>
3113
3114 AWK Mode: make auto-newline work when there's "==" in the pattern.
3115 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3116 correctly.
0979429b
J
3117 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3118 Test more rigorously for "=" token.
ace2989a 3119
616c6c36
DG
31202012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3121
0979429b
J
3122 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3123 Only fail when reached LIMIT.
616c6c36 3124
35d98877
CY
31252012-09-08 Chong Yidong <cyd@gnu.org>
3126
3127 * dired.el (dired-mode-map): Don't bind M-=.
3128
3129 * dired-aux.el (dired-diff): Use backup file as default.
3130
1715f2db
DA
31312012-09-08 Drew Adams <drew.adams@oracle.com>
3132
3133 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3134
6dcef6ec
CY
31352012-09-08 Chong Yidong <cyd@gnu.org>
3136
3137 * subr.el (syntax-after, syntax-class): Doc fix.
3138
fa2bcf43
MR
31392012-09-08 Martin Rudalics <rudalics@gmx.at>
3140
3141 * window.el (display-buffer-in-previous-window): New buffer
3142 display action function.
3143
3144 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3145 (debugger-previous-window): New variable.
3146 (debug): Rewrite using display-buffer-in-previous-window,
3147 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3148
daac280a
SM
31492012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3152
9dd40b00
MM
31532012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3154
daac280a
SM
3155 * progmodes/python.el (python-shell-send-string):
3156 When default-directory is remote, create temp file on remote
9dd40b00
MM
3157 filesystem.
3158 (python-shell-send-file): When file is remote, pass local view of
3159 file paths to remote Python interpreter. (Bug#12340)
3160
145823ec
CY
31612012-09-07 Chong Yidong <cyd@gnu.org>
3162
cee2e90d
CY
3163 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3164
0d7eb2ea
CY
3165 * files.el (after-find-file): Don't fail on a read-only buffer if
3166 require-final-newline is `visit' or `visit-save' (Bug#11156).
3167
145823ec
CY
3168 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3169
daac280a
SM
3170 * userlock.el (ask-user-about-supersession-threat):
3171 Use read-char-choice (Bug#12093).
145823ec 3172
74c582e6
CY
31732012-09-07 Chong Yidong <cyd@gnu.org>
3174
e5c2edf7
CY
3175 * subr.el (buffer-narrowed-p): New function.
3176
3177 * ses.el (ses-widen):
3178 * simple.el (count-words--buffer-message):
1f9f395d 3179 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3180
3181 * simple.el (count-words-region): Don't signal an error if there
3182 is a non-nil prefix arg and the mark is not set.
c640e87d 3183
74c582e6
CY
3184 * help.el (describe-key-briefly): Allow the message to be seen
3185 when invoked from the minibuffer (Bug#7014).
3186
d81ceaaf
DG
31872012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3188
3189 * progmodes/ruby-mode.el (ruby-end-of-defun)
3190 (ruby-beginning-of-defun): Simplify, allow indentation before
3191 block beginning and end keywords.
8f06acce
DG
3192 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3193 (ruby-end-of-defun): Expect that the point is at the beginning of
3194 the defun.
d81ceaaf 3195
d458ef98
SM
31962012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3197
3198 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3199 (bug#12367).
3200 (cl--make-usage-args): Strip _ from argument names.
3201
20367d28
RS
32022012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3203
3204 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3205 obsolete alias speedbar-key-map.
3206 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3207 (vhdl-index-menu-init): Don't use obsolete variable
3208 font-lock-maximum-size.
3209
3424a4f6
CY
32102012-09-06 Chong Yidong <cyd@gnu.org>
3211
3212 * frame.el (window-system-version): Mark as obsolete.
3213
fcbfbdea
CY
3214 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3215 of obsolete variable speedbar-key-map.
3216
826b3235
JL
32172012-09-06 Juri Linkov <juri@jurta.org>
3218
3219 * replace.el (replace-lax-whitespace): New defcustom.
3220 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3221 (replace-string, replace-regexp): Mention it in docstrings.
3222 (perform-replace, replace-highlight): Let-bind
3223 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3224 to the values of replace-lax-whitespace and regexp-flag.
3225 Don't let-bind search-whitespace-regexp. (Bug#10885)
3226
3227 * isearch.el (isearch-query-replace): Let-bind
3228 replace-lax-whitespace instead of let-binding
3229 replace-search-function and replace-re-search-function.
3230 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3231 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3232 (isearch-toggle-symbol): Set isearch-regexp to nil
3233 in isearch-word mode (like in isearch-toggle-word).
3234
1ec5e41d
JL
32352012-09-06 Juri Linkov <juri@jurta.org>
3236
3237 * replace.el (replace-search-function)
3238 (replace-re-search-function): Set default values to nil.
3239 (perform-replace): Let-bind isearch-related variables based on
3240 replace-related values, call `isearch-search-fun' and let-bind
3241 the result to `search-function'. Remove code that sets
3242 `search-function' and `search-string' separately for
3243 `delimited-flag'.
3244 (replace-highlight): Add new argument `delimited-flag' and
3245 rename other arguments to the names used in `perform-replace'.
3246 Let-bind `isearch-word' to the argument `delimited-flag'.
3247 (Bug#10885, bug#10887)
3248
0ba2d4b6
DG
32492012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3250
3251 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3252 ruby-beginning-of-indent, simplify, allow all keywords to have
3253 indentation before them.
3254 (ruby-beginning-of-indent): Adjust for above. Search until the
3255 found point is not inside a string or comment.
3256 (ruby-font-lock-keywords): Allow symbols to start with "@"
3257 character, give them higher priority than variables.
3258 (ruby-syntax-propertize-function)
3259 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3260 matchers. Expression expansions are not comments when inside a
3261 string, and there comment syntax status is irrelevant.
3262 (ruby-match-expression-expansion): New function. Check that
3263 expression expansion is inside a string, and it's not escaped.
3264 (ruby-font-lock-keywords): Use it.
3265
ef654460
MR
32662012-09-05 Martin Rudalics <rudalics@gmx.at>
3267
3268 * help.el (temp-buffer-max-height): New default value.
3269 (temp-buffer-resize-frames): New option.
3270 (resize-temp-buffer-window): Optionally resize frame.
3271
3272 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3273 (fit-frame-to-buffer): New function.
3274
7e570fbf 32752012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3276
3277 * emulation/cua-rect.el (cua--init-rectangles):
3278 * textmodes/picture.el (picture-mode-map):
3279 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3280 like forward-char and backward-char. (Bug#12317)
3281
7e570fbf 32822012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3283
3284 * progmodes/flymake.el (flymake-warning-re): New variable.
3285 (flymake-parse-line): Use it.
3286
7e570fbf 32872012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3288
3289 * calendar/holidays.el (holiday-christian-holidays):
3290 Rename an entry. (Bug#12289)
3291
7e570fbf 32922012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3293
3294 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3295 (bug#12222).
3296
972debf2
SM
32972012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3298
3299 * loadup.el: Load macroexp. Remove hack.
3300 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3301 (macroexp--expand-all): Use it to get better warnings.
3302 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3303 (internal-macroexpand-for-load): New functions.
3304 (macroexp--pending-eager-loads): New var.
3305 (emacs-startup-hook): New hack to replace one in loadup.el.
3306 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3307 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3308 (cl-psetf): Simplify.
3309 (cl-defstruct): Add indent rule.
3310
8ce192e3
LI
33112012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3312
3313 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3314 over `user-mail-address' for the SMTP MAIL FROM envelope.
3315 (smtpmail-via-smtp): Ditto.
3316
6578b4d8
DG
33172012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3318
3319 * progmodes/ruby-mode.el: Clean up keybindings.
3320 (ruby-mode-map): Don't bind ruby-electric-brace,
3321 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3322 backward-kill-word, reindent-then-newline-and-indent.
3323 (ruby-mark-defun): Remove.
3324 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3325 (ruby-mode): Set local beginning-of-defun-function and
3326 end-of-defun-function values.
3327
c5e28e39
MR
33282012-09-03 Martin Rudalics <rudalics@gmx.at>
3329
3330 * window.el (temp-buffer-window-setup-hook)
3331 (temp-buffer-window-show-hook): New hooks.
3332 (temp-buffer-window-setup, temp-buffer-window-show)
3333 (with-temp-buffer-window): New functions.
972debf2
SM
3334 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3335 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3336
3337 * help.el (temp-buffer-resize-mode): Fix doc-string.
3338 (resize-temp-buffer-window): New optional argument WINDOW.
3339
3340 * files.el (recover-file, save-buffers-kill-emacs):
3341 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3342
73406194
MA
33432012-09-02 Michael Albinus <michael.albinus@gmx.de>
3344
3345 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3346 remote definition of `default-directory', ensure we can connect.
3347
63dd1c6f
JL
33482012-09-02 Juri Linkov <juri@jurta.org>
3349
3350 Toggle whitespace matching mode with M-s SPC.
3351 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3352
3353 * isearch.el (search-whitespace-regexp): Doc fix.
3354 Remove cons cell customization.
3355 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3356 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3357 New variables.
3358 (isearch-forward, isearch-forward-regexp): Doc fix.
3359 (isearch-toggle-lax-whitespace): New command.
3360 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3361 (re-search-forward-lax-whitespace)
3362 (re-search-backward-lax-whitespace): New functions.
3363 (isearch-whitespace-regexp): Remove function.
3364 (isearch-query-replace): Let-bind replace-search-function and
3365 replace-re-search-function.
3366 (isearch-occur): Let-bind search-spaces-regexp according to the
3367 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3368 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3369 condition for C-q SPC.
3370 (isearch-search-fun-default): Use new functions mentioned above.
3371 (isearch-search-forward, isearch-search-backward): Remove functions.
3372 (isearch-search): Don't let-bind search-spaces-regexp.
3373 (isearch-lazy-highlight-space-regexp): Remove variable.
3374 (isearch-lazy-highlight-lax-whitespace)
3375 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3376 (isearch-lazy-highlight-new-loop): Use them.
3377 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3378
af7dda05
CY
33792012-09-02 Chong Yidong <cyd@gnu.org>
3380
3381 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3382
d67d3afd
GM
33832012-09-02 Glenn Morris <rgm@gnu.org>
3384
3385 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3386
69678719
GM
33872012-09-01 Glenn Morris <rgm@gnu.org>
3388
3389 * term.el: Tidy up menu definitions.
3390 (term-mode-map): Use easymenu for In/Out, Complete menus.
3391 (term-pager-break-map): Initialize in the defvar.
3392 (term-terminal-menu, term-signals-menu): Define with easymenu.
3393 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3394 (term-pager-menu): New, extracted from term-process-pager.
3395 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3396 (term-update-mode-line): Propertize line/char and page items.
3397 (term-process-pager): Move keymap initialization elsewhere.
3398
78dd6ab1
MR
33992012-09-01 Martin Rudalics <rudalics@gmx.at>
3400
3401 * window.el (switch-to-prev-buffer): Handle additional values of
3402 BURY-OR-KILL argument. Don't switch in minibuffer window.
3403 (switch-to-next-buffer): Don't switch in minibuffer window.
3404 (quit-restore-window): New function based on quit-window.
3405 Handle additional values of former KILL argument.
3406 (quit-window): Call quit-restore-window with appropriate
3407 interpretation of KILL argument.
3408 (display-buffer-below-selected): New buffer display action
3409 function.
3410
3d10e134
SM
34112012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3412
3413 * minibuffer.el (completion-at-point-functions): Complete docstring
3414 (bug#12254).
3415
0e23ef9d
PE
34162012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3417
3418 Better seed support for (random).
3419 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3420 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3421 * play/mpuz.el, play/tetris.el, play/zone.el:
3422 * calc/calc-comb.el (math-init-random-base):
3423 * play/blackbox.el (bb-init-board):
3424 * play/life.el (life):
3425 * server.el (server-use-tcp):
3426 * type-break.el (type-break):
3427 Remove unnecessary call to (random t).
3428 * net/sasl.el (sasl-unique-id-function):
3429 Change (random t) to (random), now that the latter is more random.
3430 * play/life.el (life-initialized): Remove no-longer-needed var.
3431
862382df
MR
34322012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3433
3434 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3435 Consider frame's buffer predicate when choosing the buffer.
3436 (Bug#12081)
3437
262a66e1
RS
34382012-08-30 Richard Stallman <rms@gnu.org>
3439
3440 * simple.el (special-mode-map): Delete binding for `z'.
3441
f17e1d00
AS
34422012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3443
3444 * progmodes/compile.el (compilation-always-kill): Doc fix.
3445
24777832
CY
34462012-08-30 Chong Yidong <cyd@gnu.org>
3447
3448 * window.el (display-buffer-reuse-frames): Make the obsolescence
3449 message more informative.
3450
69ba1f04
GM
34512012-08-30 Glenn Morris <rgm@gnu.org>
3452
3453 * paren.el (show-paren-delay):
3454 Add a :set function. Doc fix. (Bug#12297)
3455
f0019ede
MB
34562012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3457
3458 * progmodes/compile.el (compilation-always-kill): New var.
3459 (compilation-start): Use it.
3460
35e62fc9
SM
34612012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3462
af070a1c
SM
3463 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3464 * files.el (read-only-mode): Move to simple.el.
3465
35e62fc9
SM
3466 * files.el (read-only-mode): New minor mode.
3467 (toggle-read-only): Use it and mark obsolete.
3468 (find-file--read-only):
3469 * vc/vc.el (vc-next-action, vc-checkout):
3470 * vc/vc-cvs.el (vc-cvs-checkout):
3471 * obsolete/vc-mcvs.el (vc-mcvs-update):
3472 * ffap.el (ffap--toggle-read-only): Update callers.
3473
c2c43c23
MA
34742012-08-29 Michael Albinus <michael.albinus@gmx.de>
3475
3476 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3477 remote shell scripts.
3478 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3479
3480 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3481 "/usr/local/sbin".
3482
9fba804b
SM
34832012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3486
eada0861 34872012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3488
806f0cc7
LL
3489 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3490 completion-at-point. (Bug#12220)
3491
3bb213b9
LL
3492 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3493
22ab32ef
LL
3494 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3495
eada0861 34962012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3497
19c17fc1
CY
3498 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3499 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3500
eada0861 35012012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3502
3503 * progmodes/hideif.el (hif-compress-define-list):
3504 Fix typo. (Bug#11951)
3505
eada0861 35062012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3507
3508 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3509 buffer local setting.
3510
27d6c5a8
LL
3511 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3512 rcirc-encode-coding-system.
3513
eada0861 35142012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3515
3516 * net/rcirc.el (rcirc-split-message): New function.
3517 (rcirc-send-message): Use it. (Bug#12051)
3518
d44688e4
JL
35192012-08-28 Juri Linkov <juri@jurta.org>
3520
3521 * info.el (Info-fontify-node): Hide empty lines at the end of
3522 the node. (Bug#12272)
3523
34f10d41
MR
35242012-08-27 Drew Adams <drew.adams@oracle.com>
3525
3526 * dired.el (dired-pop-to-buffer): Make window start at beginning
3527 of buffer (Bug#12281).
3528
77f1f99c
CY
35292012-08-26 Chong Yidong <cyd@gnu.org>
3530
3531 * window.el (special-display-regexps, special-display-frame-alist)
3532 (special-display-buffer-names, special-display-function)
3533 (display-buffer-reuse-frames): Mark as obsolete.
3534
3535 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3536
3537 * help.el (help-print-return-message): Don't treat
3538 display-buffer-reuse-frames specially.
3539
d97af5a0
CY
35402012-08-26 Chong Yidong <cyd@gnu.org>
3541
9fba804b
SM
3542 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3543 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3544 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3545 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3546 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3547 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3548 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3549 the functions directly with gdb-display-buffer-other-frame-action.
3550 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3551 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3552 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3553 (gdb-display-registers-buffer): Define directly.
3554 (def-gdb-display-buffer): Macro deleted.
3555 (gdb-display-buffer): Remove second and third args, callers don't
3556 use them. Defer to the default display-buffer behavior, apart
3557 from making windows dedicated.
3558 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3559
3560 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3561
3562 * window.el (display-buffer-pop-up-frame): Handle a
3563 pop-up-frame-parameters alist entry.
3564 (display-buffer): Document it.
3565
dd7ffad6
CY
35662012-08-26 Chong Yidong <cyd@gnu.org>
3567
3568 * isearch.el (search-whitespace-regexp): Make string and nil
3569 values apply to both ordinary and regexp search. Allow a cons
3570 cell value to distinguish between the two.
3571 (isearch-whitespace-regexp, isearch-search-forward)
3572 (isearch-search-backward): New functions.
3573 (isearch-occur, isearch-search-fun-default, isearch-search)
3574 (isearch-lazy-highlight-new-loop): Use them.
3575 (isearch-forward, isearch-forward-regexp): Doc fix.
3576
4c47bd1e
CY
35772012-08-26 Chong Yidong <cyd@gnu.org>
3578
3579 * faces.el (help-argument-name): Always inherit from italic
3580 (Bug#12213).
3581
9aba119d
MR
35822012-08-25 Martin Rudalics <rudalics@gmx.at>
3583
3584 * window.el (window--even-window-heights): Even heights when
3585 WINDOW and the selected window form a vertical combination.
3586 (display-buffer-use-some-window): Provide that window used gets
3587 sized back by quit-window. (Bug#11880) and (Bug#12091)
3588
ca5256ad
PE
35892012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3590
3591 Fix file time stamp problem with bzr and CVS (Bug#12001).
3592 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3593 in the file's time stamp, since the version control system loses
3594 that information.
3595
d1c0d176
JL
35962012-08-22 Juri Linkov <juri@jurta.org>
3597
3598 * info.el (Info-fontify-node): Hide the suffix of the
3599 Info file name in the header line. (Bug#12187)
3600
141562ff
GM
36012012-08-22 Glenn Morris <rgm@gnu.org>
3602
3603 * calendar/cal-tex.el (cal-tex-weekly-common):
3604 Restore leading blank page.
3605
3a21537c 36062012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
3607
3608 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3609 the region under `shift-select-mode'. (Bug#12231)
3610
36112012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3612
3613 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3614 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3615 gives details on why the space is never needed.
3616
ea95074e
MR
36172012-08-22 Martin Rudalics <rudalics@gmx.at>
3618
9fba804b
SM
3619 * window.el (walk-window-tree, window-with-parameter):
3620 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3621 should run on the minibuffer window.
3622 (window-at-side-list): Don't operate on minibuffer window.
3623 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3624 (window--size-ignore): Rename to window--size-ignore-p.
3625 Update callers.
caceae25
MR
3626 (display-buffer-in-atom-window, window--major-non-side-window)
3627 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3628 (delete-side-window, display-buffer-in-side-window):
3629 New functions.
caceae25
MR
3630 (window--side-check, window-deletable-p, delete-window)
3631 (delete-other-windows, split-window): Handle side windows and
3632 atomic windows appropriately.
3633 (window--display-buffer): Call display-buffer-record-window also
3634 when the window buffer did not change.
ea95074e 3635
80a51fa0
CS
36362012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3637
3638 * help-fns.el (help-fns--key-bindings):
3639 Abbreviate non-symbol remap targets. (Bug#12174)
3640
fbb6300b
MR
36412012-08-22 Martin Rudalics <rudalics@gmx.at>
3642
3643 * dired.el (dired-mark-remembered): Don't clobber point.
3644 (Bug#11795)
3645
2b2c0794
GM
36462012-08-22 Glenn Morris <rgm@gnu.org>
3647
3648 * progmodes/bug-reference.el (bug-reference): New custom group.
3649 (bug-reference-bug-regexp): Make it a defcustom.
3650
37219830
DU
36512012-08-22 Daiki Ueno <ueno@unixuser.org>
3652
3653 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3654 (js-paren-indent-offset, js-square-indent-offset)
3655 (js-curly-indent-offset): Add :safe (Bug#12257).
3656
94e0e559
EC
36572012-08-22 Edward O'Connor <hober0@gmail.com>
3658
3659 * json.el (json-key-format): Add error properties.
3660 (json-encode-key): New function.
3661 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3662 Use json-encode-key.
3663
da485f5e
GM
36642012-08-22 Glenn Morris <rgm@gnu.org>
3665
3666 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3667 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3668 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3669 Update for above change.
3670
c6cc78b8
AS
36712012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3672
3673 * cus-face.el (custom-face-attributes): Fix customize type for the
3674 :underline attribute. (Bug#11805)
3675
5481664a
MR
36762012-08-21 Martin Rudalics <rudalics@gmx.at>
3677
3678 * window.el (window-point-1, set-window-point-1): Remove.
3679 (window-in-direction, record-window-buffer)
3680 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3681 (window--state-get-1, display-buffer-record-window):
3682 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3683 window-point and set-window-point respectively.
3684
6d74698e
GM
36852012-08-21 Glenn Morris <rgm@gnu.org>
3686
b7fa2691
GM
3687 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3688 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3689 Use it.
3690
52f56d5a
GM
3691 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3692 (cal-tex-shortday): New function.
3693 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3694 (cal-tex-cursor-filofax-daily): Use the above.
3695
9f1ee09e
GM
3696 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3697 New functions.
3698 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3699 (cal-tex-cursor-filofax-week): Use them.
3700
79858159
GM
3701 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3702 New constants.
3703 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3704 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3705
d346b2b4
GM
3706 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3707 (cal-tex-end-document): Don't rely on buffer name.
3708
b2403709
GM
3709 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3710 Use cal-tex-vspace.
3711 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3712 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3713 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3714 Use cal-tex-arg.
b2403709 3715
1cebb5c0
GM
3716 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3717 (cal-tex-cursor-week, cal-tex-cursor-week2)
3718 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3719 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3720 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3721 (cal-tex-insert-preamble, cal-tex-b-document)
3722 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3723 Improve cal-tex-cmd usage.
3724
c68cd5d4
GM
3725 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3726 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3727 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3728 (cal-tex-weekly-paper): New function.
3729 (cal-tex-cursor-week, cal-tex-cursor-week2)
3730 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3731 (cal-tex-cursor-day): Use it.
3732
9dca4801
GM
3733 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3734 (cal-tex-cursor-filofax-week): Remove leading blank page.
3735
1941e134
GM
3736 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3737 Add autoload cookie. For now at least, don't use color, since
3738 no other cal-tex function does.
3739
6d74698e
GM
3740 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3741 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3742 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3743
64cde199
JL
37442012-08-21 Juri Linkov <juri@jurta.org>
3745
3746 * info.el (Info-file-attributes): New variable.
3747 (info-insert-file-contents): Add file attributes to
3748 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3749 `Info-toc-nodes' when previous modtime of the Info file is less
3750 than new modtime.
3751 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3752 of info.el. (Bug#12230)
3753
32757648
GM
37542012-08-20 Glenn Morris <rgm@gnu.org>
3755
3756 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3757 * calendar/holidays.el (calendar-holiday-list):
3758 Report errors with display-warning rather than beep'n'sleep.
3759
a32fbbcf
MA
37602012-08-20 Michael Albinus <michael.albinus@gmx.de>
3761
3762 * net/tramp.el (tramp-accept-process-output): Accept only output
3763 from PROC. Otherwise, process filters and sentinels might be
3764 confused. (Bug#12145)
3765
a05731a0
CY
37662012-08-20 Chong Yidong <cyd@gnu.org>
3767
3768 * descr-text.el (describe-text-properties-1): Use overlays-in to
3769 report on empty overlays (Bug#3322).
3770
36e8d1eb
GM
37712012-08-20 Glenn Morris <rgm@gnu.org>
3772
3d300447
GM
3773 * mail/rmailout.el (rmail-output-read-file-name):
3774 Trap and report errors in rmail-output-file-alist elements.
3775
36e8d1eb
GM
3776 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3777 since most non-font-lock faces are not also variables).
3778
b96e5814
ER
37792012-08-20 Edward Reingold <reingold@iit.edu>
3780
3781 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3782 New function. (Bug12160)
3783
7cef3569
GM
37842012-08-19 Glenn Morris <rgm@gnu.org>
3785
3786 * mail/rmailout.el (rmail-output-read-file-name):
3787 Fix previous change (when the alist is nil or does not match).
3788
17975d7f
CY
37892012-08-19 Chong Yidong <cyd@gnu.org>
3790
3791 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3792 (Bug#12228).
3793
2170b1bd
CY
37942012-08-18 Chong Yidong <cyd@gnu.org>
3795
3796 * simple.el (yank-handled-properties): New defcustom.
3797 (yank-excluded-properties): Add font-lock-face and category.
3798 (yank): Doc fix.
3799
9fba804b
SM
3800 * subr.el (remove-yank-excluded-properties):
3801 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3802 and category is now done this way, instead of being hard-coded.
3803 (insert-for-yank-1): Remove font-lock-face handling.
3804 (yank-handle-font-lock-face-property)
3805 (yank-handle-category-property): New function.
3806
ee218151
GM
38072012-08-17 Glenn Morris <rgm@gnu.org>
3808
3809 * mail/rmailout.el (rmail-output-read-file-name):
3810 Check rmail-output-file-alist against the full message body
3811 in the correct rmail buffer. (Bug#12214)
3812
4a6bc3fd
MA
38132012-08-17 Michael Albinus <michael.albinus@gmx.de>
3814
9fba804b
SM
3815 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3816 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3817
383dcbf9
CY
38182012-08-17 Chong Yidong <cyd@gnu.org>
3819
3820 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3821 font spec, set the font directly (Bug#3228).
3822
998c4a6a
MR
38232012-08-17 Martin Rudalics <rudalics@gmx.at>
3824
3825 * window.el (delete-window): Fix last fix.
3826
52162052
MR
38272012-08-16 Martin Rudalics <rudalics@gmx.at>
3828
3829 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3830 (window-child, window-child-count, window-last-child)
3831 (window-normalize-window, window-combined-p)
3832 (window-combinations, window-atom-root, window-min-size)
3833 (window-sizable, window-sizable-p, window-size-fixed-p)
3834 (window-min-delta, window-max-delta, window--resizable)
3835 (window--resizable-p, window-resizable, window-total-size)
3836 (window-full-height-p, window-full-width-p, window-body-size)
3837 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3838 (minimize-window, window-deletable-p, delete-window)
3839 (delete-other-windows, set-window-buffer-start-and-point)
3840 (next-buffer, previous-buffer, split-window, balance-windows-2)
3841 (set-window-text-height, window-buffer-height)
3842 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3843 (truncated-partial-width-window-p): Minor code adjustments.
3844 In doc-strings state whether the argument window has to denote a
85c2386b 3845 live, valid or any window.
52162052 3846
1c308380
PS
38472012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3848
3849 * progmodes/subword.el (subword-forward-function)
3850 (subword-backward-function, subword-forward-regexp)
3851 (subword-backward-regexp): New variables.
3852 (subword-forward, subword-forward-internal, subword-backward-internal):
3853 Use new variables, eg so that different "word" definitions
3854 can be easily used. (Bug#11411)
3855
94c9ece1
SM
38562012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3857
3858 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3859 for composite selectors.
3860 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3861 operation just because we can't find a previous revision.
3862
f2045622
CY
38632012-08-15 Chong Yidong <cyd@gnu.org>
3864
3865 * frame.el (set-frame-font): Accept font objects.
3866
582db660
SM
38672012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3868
3869 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3870
2f29c200
WJ
38712012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3872
456e62c2
WJ
3873 * man.el (Man-overstrike-face, Man-underline-face)
3874 (Man-reverse-face): Remove variables.
3875 (Man-overstrike, Man-underline, Man-reverse): New faces.
3876 (Man-fontify-manpage): Use them instead of the variables.
3877 (Man-cleanup-manpage): Comment change.
3878 (Man-ansi-color-map): New variable.
3879 (Man-fontify-manpage): Use it.
3880 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3881
2f29c200
WJ
3882 Implement ANSI SGR parameters 22-27 (bug#12146).
3883 * ansi-color.el (ansi-colors): Doc fix.
3884 (ansi-color-context, ansi-color-context-region): Doc fix.
3885 (ansi-color--find-face): New function.
3886 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3887 Rename the local variable `face' to `codes' since it is now a list of
3888 ansi codes. Doc fix.
3889 (ansi-color-get-face): Remove.
3890 (ansi-color-parse-sequence): New function, derived from
3891 ansi-color-get-face.
3892 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3893 codes 22-27.
3894
b4f5e9df
SM
38952012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3896
3897 * subr.el (read-passwd): Allow use from a minibuffer.
3898
ba025fbd
EZ
38992012-08-14 Eli Zaretskii <eliz@gnu.org>
3900
3901 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3902 inside comments and strings as identifiers.
3903
3904 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3905 expression to evaluate. This allows to evaluate expressions with
3906 embedded whitespace.
3907 (gud-tooltip-tips): Add a blank before the newline in the
3908 message-box text, for the benefit of message-box emulation on
3909 MS-Windows.
3910
3911 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3912 messages from GDB, pop them up in a tooltip to give feedback to
3913 user.
b4f5e9df
SM
3914 (gdb-tooltip-print-1): Quote the expression to evaluate.
3915 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3916 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3917 if the TTY name is nil or empty (which happens when communicating
3918 with the inferior via pipes, e.g. on MS-Windows).
3919 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3920 don't send that to the GUD buffer.
3921
c548f821
GM
39222012-08-14 Glenn Morris <rgm@gnu.org>
3923
3924 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3925 Optimize away setq-default with no args, as for setq. (Bug#12195)
3926
55802e4a
CY
39272012-08-14 Chong Yidong <cyd@gnu.org>
3928
4abcdac8
CY
3929 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3930
55802e4a
CY
3931 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3932 (Bug#12085).
3933
3c3cda1a
GM
39342012-08-14 Glenn Morris <rgm@gnu.org>
3935
3936 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3937
e1873bd0
MA
39382012-08-14 Michael Albinus <michael.albinus@gmx.de>
3939
3940 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3941 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3942 Use cached shell name.
3943
925411b4
FEG
39442012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3945
3946 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3947 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3948
e636fafe
DG
39492012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3950
3951 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3952 (ruby-percent-literal-beg-re): New constant.
3953 (ruby-syntax-general-delimiters-goto-beg): Rename to
3954 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3955 (ruby-syntax-propertize-general-delimiters): Rename to
3956 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3957 popular term. Adjust comments everywhere.
3958 (ruby-syntax-propertize-percent-literal): Only propertize when not
3959 inside a simple string or comment. When the literal is unclosed,
3960 leave the text after it unpropertized.
f063063a
DG
3961 (ruby-syntax-methods-before-regexp): New constant.
3962 (ruby-syntax-propertize-function): Use it to recognize regexps.
3963 Don't look at the text after regexp, just use the whitelist.
e636fafe 3964
e5b19827
AS
39652012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3966
3967 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3968 non-nil always load the compiled file if it exists. (Bug#12197)
3969
a9f6f311
CY
39702012-08-14 Chong Yidong <cyd@gnu.org>
3971
3972 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3973 (hi-lock-set-pattern): When deciding whether to use font lock or
3974 overlays, look at font-lock-mode instead of font-lock-fontified
3975 (Bug#12168).
3976 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3977 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3978
7d806b1e
DU
39792012-08-14 Daiki Ueno <ueno@unixuser.org>
3980
3981 * subr.el (internal--after-with-selected-window): Fix typo
3982 (Bug#12193).
3983
5beed586
FEG
39842012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3985
3986 Use `completion-table-dynamic' for completion functions.
3987 * progmodes/python.el
3988 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3989 (python-shell-completion--get-completions):
3990 Remove functions.
5beed586
FEG
3991 (python-shell-completion-complete-at-point): New function.
3992 (python-completion-complete-at-point): Use it.
3993
92cb3b04
J
39942012-08-13 Jambunathan K <kjambunathan@gmail.com>
3995
3996 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3997 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3998
89660017
SM
39992012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4000
3c98c962
SM
4001 * subr.el (function-get): Refine `autoload' arg so it can also
4002 autoload functions for gv.el (bug#12191).
4003 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4004 autoloads macros.
4005
aa7c6dbe
SM
4006 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4007 Prefer pcase-let over destructuring-bind.
4008 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4009 Also, remove whitespace as we go, rather than after accumulating the
4010 various places.
4011
89660017
SM
4012 * subr.el (internal--before-with-selected-window)
4013 (internal--after-with-selected-window): Fix typo seleted->selected.
4014 (with-selected-window): Adjust callers.
4015 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4016
31cd32c9
BG
40172012-08-13 Bastien Guerry <bzg@gnu.org>
4018
0fcd3d9f 4019 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4020 enhancement. (Bug#12172)
4021
1b15d8ad
AS
40222012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4023
31e54db0
AS
4024 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4025 type 1-6.
4026 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4027 extended headers.
4028
1b15d8ad
AS
4029 * files.el (hack-local-variables-filter): Remove useless eval.
4030
35cb9c06
MR
40312012-08-13 Martin Rudalics <rudalics@gmx.at>
4032
4033 * subr.el (with-selected-window): Fix last change.
4034
1439443b
SM
40352012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4036
4037 * subr.el (internal--before-with-seleted-window)
4038 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4039 (with-selected-window): Use them, to replace dependency on
4040 tty-top-frame.
1439443b 4041
0d9e2599
NN
40422012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4043
4044 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4045 binding for `newline'.
4046 (ruby-move-to-block): When moving backward, stop at block opening,
4047 not indentation.
4048 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4049 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4050 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4051 `ruby-toggle-block'.
4052
ba10c48c
SM
40532012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4054
4055 * ibuffer.el (ibuffer-do-toggle-read-only):
4056 * dired.el (dired-toggle-read-only):
4057 * buff-menu.el (Buffer-menu-toggle-read-only):
4058 * bindings.el (mode-line-toggle-read-only):
4059 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4060
9229c658
AS
40612012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4062
4063 * descr-text.el (describe-char): Put the overlays over the
4064 "displayed as" character.
4065
0fd09128
JB
40662012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4067
4068 * calc/calc-units.el (math-default-units-table): Give an
4069 initial value.
4070 (math-put-default-units): Add options to put composite units and
4071 unit systems in the default units table.
4072 (calc-convert-units): Send composite units to
4073 `math-put-default-units' when appropriate.
4074
9ff9402d 40752012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4076
fbb5e336
GM
4077 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4078
7aacaf15
GM
4079 * tutorial.el (help-with-tutorial):
4080 * emacs-lisp/copyright.el (copyright-update-directory):
4081 * emacs-lisp/autoload.el (autoload-find-generated-file)
4082 (autoload-find-file): Disable local eval: (for insurance).
4083
f40b9f10
GM
4084 * files.el (hack-local-variables-filter): If an eval: form is not
4085 known to be safe, and enable-local-variables is :safe, then ignore
4086 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4087 This is CVE-2012-3479.
f40b9f10 4088
daa9f1a6
SM
40892012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4090
4091 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4092 (rx-form): Simplify.
4093
9cd80478
DG
40942012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4095
0d9e2599
NN
4096 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4097 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4098 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4099 (ruby-syntax-propertize-function): Adjust for changes in
4100 `ruby-syntax-propertize-heredoc'.
4101
41022012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4103
9cd80478
DG
4104 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4105 binding (use `M-;' instead).
9cd80478 4106 (ruby-singleton-class-p): New function.
0d9e2599 4107 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4108
d301b413
SM
41092012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4110
4111 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4112
1530c98e
CY
41132012-08-10 Chong Yidong <cyd@gnu.org>
4114
4115 * progmodes/python.el (python-shell-get-process-name): Don't mess
4116 with same-window-buffer-names.
4117
4118 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4119 (eshell-remove-from-window-buffer-names): Make obsolete.
4120 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4121 (eshell): Just use pop-to-buffer-same-window instead.
4122
e1293765
CY
41232012-08-10 Chong Yidong <cyd@gnu.org>
4124
4125 * bindings.el: Bind M-= back to count-words-region.
4126
4127 * simple.el (count-words-region): Accept a prefix arg for acting
4128 on the entire buffer.
4129 (count-words--buffer-message): New helper function.
4130
e1894109
SM
41312012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4134 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4135 (event-start, event-end): Use posn-at-point to return a more
4136 informative posn.
4137 (posnp): New function.
4138 * mouse.el (popup-menu-normalize-position): Use it.
4139
c69f56a2
MY
41402012-08-10 Masatake YAMATO <yamato@redhat.com>
4141
4142 * mouse.el (popup-menu-normalize-position): New function.
4143 (popup-menu): Use `popup-menu-normalize-position' to normalize
4144 the form for POSITION argument.
4145
4146 * term/x-win.el (x-menu-bar-open):
4147 Use the value returend from (posn-at-point) as position
4148 passed to `popup-menu'.
4149
31673780
JB
41502012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4151
4152 * calc/calccomp.el (math-compose-expr): Add extra argument
4153 indicating that parentheses should be put around products in
4154 denominators. Give multiplication precedence over division during
4155 composition.
4156
dab7711b
CY
41572012-08-09 Chong Yidong <cyd@gnu.org>
4158
dee4ef93
CY
4159 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4160 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4161 (Man-untabify-command, manual-program): Convert to defcustom
4162 (Bug#10429).
4163
73e2bbc5
CY
4164 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4165
3e861c8a
CY
4166 * descr-text.el (describe-char): Don't insert extra newlines
4167 (Bug#10127).
4168
a9f5a649
CY
4169 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4170 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4171
dab7711b
CY
4172 * align.el (align-region): Delete temporary markers (Bug#10047).
4173 Plus some code cleanups.
4174
e0cc4efa
FEG
41752012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4176
4177 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4178 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4179 (python-shell-internal-last-output): Use make-local-variable
4180 instead of make-variable-buffer-local.
4181
489af14f
FEG
41822012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4183
4184 * progmodes/python.el: Enhancements to forward-sexp.
4185 (python-nav-forward-sexp): Rename from
4186 python-nav-forward-sexp-function.
c69f56a2
MY
4187 (python-nav--forward-sexp, python-nav--backward-sexp):
4188 New functions.
489af14f 4189
0fc50303
JB
41902012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4191
4192 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4193 modes and simplification modes.
4194
5d65606a
SM
41952012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * delsel.el (delete-selection-pre-hook): Don't propagate the
4198 file-supersession signals (bug#12161).
4199
4250fdf5
SM
42002012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4203 (cl-map-extents): Add compatibility aliases (bug#12135).
4204
d9f9b465
MA
42052012-08-08 Michael Albinus <michael.albinus@gmx.de>
4206
4207 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4208 tests by `ignore-error'.
4209 (tramp-find-shell): Open also a new shell, when cache is already
4210 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4211
ce0fcefa
JL
42122012-08-08 Juri Linkov <juri@jurta.org>
4213
4214 * bookmark.el: Add `defaults' property to the bookmark record.
4215 (bookmark-current-buffer): Doc fix.
4216 (bookmark-make-record): Add `defaults' property with default values
4217 to the bookmark record.
4218 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4219 with `bookmark-insert-current-bookmark'.
4220 (bookmark-set): Get `defaults' property from the bookmark record
4221 and use it in `read-from-minibuffer'.
4222 (bookmark-insert-current-bookmark): Remove function.
4223
4224 * info.el (Info-bookmark-make-record): Add `defaults' property
4225 with values of canonical Info node name, the current Info file
4226 name and the current Info node name. (Bug#12107)
4227
53fa8652
JL
42282012-08-08 Juri Linkov <juri@jurta.org>
4229
4230 * files.el (basic-save-buffer): Use `buffer-name' as the default
4231 of `read-file-name' when buffer is not visiting a file (bug#12128).
4232
242c0a95
JL
42332012-08-08 Juri Linkov <juri@jurta.org>
4234
4235 * info.el (Info-isearch-search): Doc fix.
4236 (Info-search): Change search-failed message from "initial node" to
4237 "end of node" (bug#12078).
4238 (Info-isearch-search): Change `isearch-string-state' to
4239 `isearch--state-string'.
4240
32ac3a6b
GM
42412012-08-08 Glenn Morris <rgm@gnu.org>
4242
4243 * language/persian.el: Remove file.
f8c1afd5 4244 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4245 * loadup.el: Remove language/persian.
4246
2c2d9c9c
OF
42472012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4248
4249 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4250
2d79ec42
FEG
42512012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4252
3c855b96 4253 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
4254 (python-syntax-context) Rename from python-info-ppss-context.
4255 (python-syntax-context-type): Rename from
4256 python-info-ppss-context-type.
4257 (python-syntax-comment-or-string-p): Rename from
4258 python-info-ppss-comment-or-string-p.
4259
2bd255dd
JB
42602012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4261
4262 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4263
c395097f
AS
42642012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4265
6125983e
AS
4266 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4267 a defcustom that is quoted with backquote.
4268
4250fdf5
SM
4269 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4270 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4271 (math-do-arg-check, math-define-function-body): Use backquote forms.
4272 * calc/calc-ext.el (math-defcache): Likewise.
4273 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4274 * allout.el (allout-new-exposure): Likewise.
4275 * calc/calcalg2.el (math-tracing-integral): Likewise.
4276 * info.el (Info-last-menu-item): Likewise.
4277 * emulation/vip.el (vip-loop): Likewise.
4278 * textmodes/artist.el (artist-funcall): Likewise.
4279 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4280 Construct menu-item directly.
4281
4250fdf5
SM
4282 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4283 Don't declare.
c395097f 4284
5fb50dd3
CY
42852012-08-07 Chong Yidong <cyd@gnu.org>
4286
4287 * simple.el (deactivate-mark): Preserve text properties when
4288 saving the primary selection (Bug#8384).
4289
54eea618
KR
42902012-08-07 Kevin Ryde <user42@zip.com.au>
4291
4292 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4293 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4294 and continue processing (Bug#12110).
4295
638eaeb9
SM
42962012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4299 syntax-propertize-function (bug#10095).
4300
ea376861
SM
43012012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4302
f91b35be
SM
4303 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4304 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4305 describe-function-1.
4306 (describe-function-1): Use them. Move compiler macro after sig.
4307 (help-fns--compiler-macro): Use function-get. Assume we're already in
4308 standard-output. Adjust layout to new call order.
4309
ea376861
SM
4310 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4311 re-binding a symbol that has a symbol-macro (bug#12119).
4312
d5be7bd0
MB
43132012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4314
4315 * language/persian.el: New file. (Bug#11812)
4316 * loadup.el: Add language/persian.el.
4317
90749b53
CY
43182012-08-06 Chong Yidong <cyd@gnu.org>
4319
4320 * window.el (window--maybe-raise-frame): New function.
4321 (window--display-buffer): Split off from here.
4322 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4323 (display-buffer-pop-up-window, display-buffer-use-some-window):
4324 Obey an inhibit-switch-frame action alist entry.
4325 (display-buffer): Update doc.
4326
4327 * replace.el (occur-after-change-function): Avoid losing focus by
4328 using the inhibit-switch-frame display parameter (Bug#12139).
4329
ba7b0154
FEG
43302012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4331
4332 Make internal shell process buffer names start with space.
4333 * progmodes/python.el (python-shell-make-comint): Add optional
4334 argument INTERNAL.
4335 (run-python-internal): Use it.
4336 (python-shell-internal-get-or-create-process): Check for new
4337 internal buffer names.
4338
5eaeacb5
GM
43392012-08-06 Glenn Morris <rgm@gnu.org>
4340
e296d94b 4341 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4342 Do less getting and setting of environment variables.
4343
b7ccbdc2
CY
43442012-08-05 Chong Yidong <cyd@gnu.org>
4345
777fe95e
CY
4346 * proced.el (proced): Add substitution string to docstring to
4347 trigger autoloading of the proced library on C-h f (Bug#1768).
4348
4250fdf5
SM
4349 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4350 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4351
4352 * imenu.el (imenu-generic-expression): Move documentation here
4353 from imenu--generic-function.
4354 (imenu--generic-function): Refer to imenu-generic-expression.
4355
9e3b7800 43562012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4357
4358 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4359 indentation declaration.
4360 (viper-loop): Add indentation declaration (Bug#7025).
4361
e5d9c0d1
CY
43622012-08-05 Chong Yidong <cyd@gnu.org>
4363
f0422feb
CY
4364 * help-fns.el (describe-variable): Add hyperlink for
4365 directory-local variables files. Improve buffer-local and
4366 permanent-local reporting; suggested by MON KEY (Bug#6644).
4367
4368 * help-mode.el (help-dir-local-var-def): New button type.
4369
e5d9c0d1
CY
4370 * files.el (kill-buffer-hook): Provide a defvar.
4371
a4f2deaa
GM
43722012-08-05 Glenn Morris <rgm@gnu.org>
4373
4374 * eshell/esh-ext.el (eshell/addpath):
4375 Also update eshell-path-env. (Bug#12013)
4376
a9dd5754
CY
43772012-08-05 Chong Yidong <cyd@gnu.org>
4378
a4f2deaa 4379 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4380
d014c740
CY
4381 * fringe.el (fringe-styles): Add docstring.
4382 (fringe--check-mode): New function.
4383 (set-fringe-mode, set-fringe-style): Use it.
4384 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4385
a9dd5754
CY
4386 * files.el (set-auto-mode): Fix invalid setq call.
4387
7c2dc8bd
SM
43882012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * isearch.el: Misc simplification; use defstruct.
4391 (isearch-mode-map): Dense maps now work like sparse ones.
4392 (isearch--state): New defstruct.
4393 (isearch-string-state, isearch-message-state, isearch-point-state)
4394 (isearch-success-state, isearch-forward-state)
4395 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4396 (isearch-wrapped-state, isearch-barrier-state)
4397 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4398 replaced by defstruct's accessors.
4399 (isearch--set-state): Rename from isearch-top-state and change
4400 calling convention.
4401 (isearch-push-state): Use new isearch--get-state.
4402 (isearch-toggle-word): Disable regexp when enabling word.
4403 (isearch-message-prefix): Remove unused arg _c-q-hack.
4404 (isearch-message-suffix): Remove unused arg _ellipsis.
4405
7fcc0070
AS
44062012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4407
4408 * simple.el (list-processes--refresh): For a server use :host or
4409 :local as the address.
97ad0769 4410 (list-processes): Doc fix.
7fcc0070 4411
a11035b8 44122012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4413
4414 * lisp/mpc.el: Support password in host argument.
4415 (mpc--proc-connect): Parse and use new password element.
4416 Set mpc-proc variable instead of returning process.
4417 (mpc-proc): Adjust accordingly.
4418
6dad7178
EZ
44192012-08-03 Eli Zaretskii <eliz@gnu.org>
4420
18949c2f
EZ
4421 * whitespace.el (whitespace-display-mappings): Use Unicode
4422 codepoints, instead of emacs-mule codepoints. See
4423 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4424 for the details.
4425
6dad7178
EZ
4426 * files.el (file-truename): Don't skip symlink-chasing part on
4427 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
4428 Windows into the loop that recursively chases symlinks.
4429 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
4430 MS-DOS.
4431
385b0198
CY
44322012-08-03 Chong Yidong <cyd@gnu.org>
4433
6200f3c4
CY
4434 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4435
385b0198
CY
4436 * sort.el (sort-regexp-fields): Doc fix.
4437
b9e74744
TH
44382012-08-03 Tassilo Horn <tsdh@gnu.org>
4439
4440 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4441 labels regex position point at the expected place.
4442
41013cb4
MK
44432012-08-03 MON KEY <monkey@sandpframing.com>
4444
4445 * net/imap.el (imap-interactive-login, imap-authenticate)
4446 (imap-mailbox-lsub, imap-mailbox-list)
4447 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4448 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4449 (imap-parse-response): Doc fix.
4450
0ffee616
JT
44512012-08-03 João Távora <joaotavora@gmail.com>
4452
4453 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4454 if sexp scanning does not move point (Bug#5734).
4455
cfcc9cc8
TH
44562012-08-02 Tassilo Horn <tsdh@gnu.org>
4457
4458 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4459 Add listings, minted, and ctable packages.
4460 (reftex-label-alist-builtin): Move listings, minted, and ctable
4461 entries before LaTeX.
a01bbb84 4462 (reftex-label-alist): Docfix.
cfcc9cc8 4463
66ec2442
BG
44642012-08-02 Bastien Guerry <bzg@gnu.org>
4465
4466 * replace.el (occur): Fix docstring (bug#12122).
4467
837b365b
GM
44682012-08-02 Glenn Morris <rgm@gnu.org>
4469
4470 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4471
e098de97
PE
44722012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4473
4474 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4475 * international/mule-cmds.el: Create
4476 inactivate-current-input-method-function as an obsolete alias for
4477 deactivate-current-input-method-function. See Katsumi Yamaoka in
4478 <http://bugs.gnu.org/10150#46>.
4479
a0f95636
JB
44802012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4481
4482 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4483 of nested `if's.
4484
0d26d7c4
GM
44852012-08-01 Glenn Morris <rgm@gnu.org>
4486
4487 * progmodes/autoconf.el (autoconf-definition-regexp):
4488 Add AH_TEMPLATE, adjust submatch numbering.
4489 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4490 (autoconf-current-defun-function): Update for above change.
4491 (autoconf-current-defun-function): First skip to end of current word.
4492
b686ba06
RS
44932012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4494
4495 * calendar/cal-html.el (cal-html-insert-agenda-days):
4496 Fix typo. (Bug#12018)
4497
0d49da68
FEG
44982012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4499
4500 Shell processes: enhancements to startup and CEDET compatibility.
4501 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4502 (python-shell-make-comint): accept-process-output at startup.
4503 (run-python-internal): Set inferior-python-mode-hook to nil.
4504 (python-shell-internal-get-or-create-process): call sit-for.
4505 (python-preoutput-result): Add obsolete alias.
4506 (python-shell-internal-send-string): Use it.
4507 (python-shell-send-setup-code): Remove call to
4508 accept-process-output.
4509
f1a71c6e
AS
45102012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4511
4512 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4513 (Bug#12108)
4514
d2605269
JB
45152012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4516
4517 * calc-mode.el (calc-basic-simplification-mode): Rename from
4518 `calc-limited-simplification-mode'.
4519 (calc-alg-simplification-mode): New function.
fc0c31f8 4520 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4521
d2605269
JB
4522 * calc.el (calc-set-mode-line): Adjust mode line display for
4523 basic simplification mode.
4524
4525 * calc-help.el (calc-m-prefix-help): Update help message.
4526
4527 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4528 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4529
a3827a43
BG
45302012-07-31 Bastien Guerry <bzg@gnu.org>
4531
4532 * man.el (man): Fix comment. (bug#12101)
4533
502e3f89
MR
45342012-07-31 Martin Rudalics <rudalics@gmx.at>
4535
4536 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4537 Don't return a non-nil value when no suitable buffer was found.
4538
d7714961
FEG
45392012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4540
4541 * progmodes/python.el (run-python-internal): Disable font lock for
4542 internal shells.
4543
1f45e27e
SM
45442012-07-30 Stefan Merten <smerten@oekonux.de>
4545
70efc5c9 4546 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4547 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4548 (rst-official-version, rst-official-cvs-rev)
4549 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4550 (rst-mode-map): New key binding.
4551
0aee6912
PE
45522012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4553
4554 Update .PHONY listings in makefiles.
4555 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4556 autoloads, update-subdirs, updates, bzr-update, update-authors,
4557 compile-onefile, compile-calc, backup-compiled-files,
4558 compile-after-backup, compile-one-process, mh-autoloads,
4559 bootstrap-clean, distclean, maintainer-clean.
4560
9052f9f0
JB
45612012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4562
1823ac5a
JB
4563 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4564 (calc-set-mode-line): Don't display "AlgSimp ".
4565
4566 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4567 (calc-lim-simplify-mode): New function.
4568 (calc-set-simplify-mode): Default to 'alg.
4569 (calc-default-simplify-mode): Make algebraic simplifications
4570 the default.
4571
4572 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4573 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4574
8d7c7eed 4575 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4576 indicate new simplification modes.
4577
1823ac5a
JB
4578 * calc/README: Mention new default simplification mode.
4579
9052f9f0
JB
4580 * calc/calc.el (math-normalize-error): New variable.
4581 (math-normalize): Set `math-normalize-error' to t
4582 when there's an error.
4583
4584 * calc/calc-alg.el (math-simplify): Don't simplify when
4585 `math-normalize' returns an error.
4586
20ba0cb4
EZ
45872012-07-29 Eli Zaretskii <eliz@gnu.org>
4588
4589 * international/mule-cmds.el (set-locale-environment): Revert last
4590 change, since display-graphic-p returns nil when this function is
4591 called during startup. Instead...
4592
4593 * term/w32console.el (terminal-init-w32console): ...setup the
4594 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4595
a5dcc929
JL
45962012-07-29 Juri Linkov <juri@jurta.org>
4597
4598 * simple.el (goto-line): Don't display default line number in the
4599 prompt because it should be displayed by `read-number' (bug#9952).
4600 Add the current line number to the defaults of `goto-line' to
4601 allow its easier modification by users with `M-n' (bug#9201).
4602
4603 * subr.el (read-number): Support multiple default values like in
4604 other minibuffer reading functions. Replace `read' with
4605 `string-to-number' for consistency with `number-to-string'.
4606
72b255c7
PE
46072012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4608
4609 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4610 * emulation/viper-init.el (viper-deactivate-input-method-action):
4611 Rename from viper-inactivate-input-method-action.
4612 (viper-deactivate-input-method):
4613 Rename from viper-inactivate-input-method.
4614 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4615 * international/mule-cmds.el (deactivate-input-method):
4616 Rename from inactivate-input-method.
4617 Also run input-method-deactivate-hook.
4618 (deactivate-current-input-method-function):
4619 Rename from inactivate-current-input-method-function.
4620 (input-method-deactivate-hook): New hook.
4621 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4622 (inactivate-input-method): Mark obsolete.
4623
72b255c7
PE
4624 * international/quail.el (quail-activate):
4625 Also run quail-deactivate-hook.
4626 (quail-deactivate): Rename from quail-inactivate.
4627 * international/robin.el (robin-activate):
4628 Also run robin-deactivate-hook.
4629 (robin-deactivate): Rename from robin-inactivate.
4630
2549c068
CY
46312012-07-29 Chong Yidong <cyd@gnu.org>
4632
4633 * simple.el (indicate-copied-region): New function.
4634 (kill-ring-save): Split off from here.
4635
4636 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4637 (kill-rectangle): Set deactivate-mark to t on read-only error.
4638
4639 * register.el (copy-to-register, copy-rectangle-to-register):
4640 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4641 (append-to-register, prepend-to-register): Call indicate-copied-region.
4642
46432012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4644
4645 * simple.el (async-shell-command-buffer): New defcustom.
4646 (shell-command): Use it. (Bug#4719)
4647
01bd1b0d
EZ
46482012-07-28 Eli Zaretskii <eliz@gnu.org>
4649
4650 * international/mule-cmds.el (set-locale-environment): In a
4651 console session on MS-Windows, set up keyboard and terminal
4652 encoding from the OEM codepage, not the ANSI codepage.
4653 (Bug#12055)
4654
a55739d3
CY
46552012-07-28 Chong Yidong <cyd@gnu.org>
4656
4657 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4658 gdb-get-location.
4659
0e1a094f 46602012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4661
4662 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4663 the alist (bug#12029).
4664
20329d73
EZ
46652012-07-28 Eli Zaretskii <eliz@gnu.org>
4666
4667 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4668 (compile-always, compile-first)
4669 ($(lisp)/calendar/cal-loaddefs.el)
4670 ($(lisp)/calendar/diary-loaddefs.el)
4671 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4672 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4673 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4674 instead of on update-subdirs.
4675 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4676
345a2258
CY
46772012-07-28 Chong Yidong <cyd@gnu.org>
4678
1eee6341
CY
4679 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4680 directory if vc-deduce-backend returns nil (Bug#7350).
4681
345a2258
CY
4682 * simple.el (delete-trailing-lines): New option.
4683 (delete-trailing-whitespace): Obey it (Bug#11879).
4684
049a0936
DE
46852012-07-28 David Engster <deng@randomsample.de>
4686
4687 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4688 Explanation of new 'symbol-qnames feature in doc-strings.
4689 (xml-maybe-do-ns): Return expanded names as plain symbols if
4690 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4691 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4692
aa81af71
FEG
46932012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4694
4695 Consistent completion in inferior python with emacs -nw.
4696 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4697 binding in inferior-python-mode-map with "\t".
4698 (python-shell-completion-complete-at-point)
4699 (python-completion-complete-at-point): Remove interactive spec.
4700
e827b1eb
JB
47012012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4702
4703 * calc/calccomp.el (math-compose-expr): Undo previous change.
4704
a90dfb95
FEG
47052012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4706
4250fdf5 4707 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4708 run-python.
4709 (python-shell-make-comint): Fix pop-to-buffer call.
4710 (run-python): Autoload. New arg SHOW.
4711 (python-shell-get-or-create-process): Do not pop python process
4712 buffer.
4713
32770973 47142012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4715
4716 * notifications.el (notifications-on-action-signal)
4717 (notifications-on-closed-signal): Use also the bus address for the map.
4718 (notifications-notify, notifications-close-notification)
fc0c31f8 4719 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4720
86332df2
TH
47212012-07-27 Tassilo Horn <tsdh@gnu.org>
4722
4250fdf5
SM
4723 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4724 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4725 ctable macro.
4726 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4727 labels written in keyvals syntax.
4728
ca1302a4
JB
47292012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4730
4731 * calc/calccomp.el (math-compose-expr): Use parentheses when
4732 there is a product in the denominator of a fraction.
4733
f8b91036
EZ
47342012-07-26 Eli Zaretskii <eliz@gnu.org>
4735
4736 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4737 ($(lisp)/calendar/diary-loaddefs.el)
4738 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4739 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4740 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4741 rewritten while the autoload files are built at the same time,
4742 which needs to load subdirs.el.
4743
c8e5a42c
MR
47442012-07-26 Martin Rudalics <rudalics@gmx.at>
4745
4746 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4747 (mouse-drag-line): Don't exit tracking when a switch-frame or
4748 switch-window event occurs (Bug#12006).
4749
670d85ea
SM
47502012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4751
4752 * mouse.el (popup-menu): Fix last change.
4753
7abaf5cc
SM
47542012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4755
4756 Autoload from Lisp with more care. Follow aliases when looking for
4757 function properties.
4758 * subr.el (autoloadp): New function.
4759 (symbol-file): Use it.
4760 (function-get): New function.
4761 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4762 autoload-do-load.
4763 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4764 (lisp-indent-function):
4765 * emacs-lisp/gv.el (gv-get):
4766 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4767 * emacs-lisp/byte-opt.el (byte-optimize-form):
4768 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4769 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4770 Use function-get.
4771 * emacs-lisp/cl.el: Don't propagate function properties any more.
4772
4773 * speedbar.el (speedbar-add-localized-speedbar-support):
4774 * emacs-lisp/disass.el (disassemble-internal):
4775 * desktop.el (desktop-load-file):
4776 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4777 (describe-function-1):
4778 * emacs-lisp/find-func.el (find-function-noselect):
4779 * emacs-lisp/elp.el (elp-instrument-function):
4780 * emacs-lisp/advice.el (ad-has-proper-definition):
4781 * apropos.el (apropos-safe-documentation, apropos-macrop):
4782 * emacs-lisp/debug.el (debug-on-entry):
4783 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4784 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4785 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4786
b1364986
AA
47872012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4788
4789 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4790 function, not an obsolete variable (Bug#12046).
4791
67ada220
AS
47922012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4793
4794 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4795
f08088e3
CS
47962012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4797
4798 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4799 window only if it is still live (Bug#12034).
4800
8137e7b3
MR
48012012-07-25 Martin Rudalics <rudalics@gmx.at>
4802
4803 * subr.el (redirect-frame-focus): Add advertised calling
4804 convention (Bug#12030).
4805
09ae5da1
PE
48062012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4807
4808 Prefer typical American spelling for "acknowledgment".
4809 * vc/add-log.el (change-log-acknowledgment): Rename from
4810 change-log-acknowledgement, with an alias for the old name.
4811
3cc5a3a8
JB
48122012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4813
4814 * calc-alg.el (math-simplify-divide): Don't cross multiply
4815 in an equation when the lhs is a variable.
4816
b7af7f62
JD
48172012-07-24 Julien Danjou <julien@danjou.info>
4818
4819 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4820 Remove, unused.
4821
ec1b09b1
EZ
48222012-07-23 Eli Zaretskii <eliz@gnu.org>
4823
4824 * startup.el (command-line): Don't display an empty user name in
4825 the error message about non-existent home directory, when
4826 init-file-user was set to an empty string. See
4827 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4828 for the details and context.
4829
b525fd8a
VB
48302012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4831
4832 * ses.el (ses-cell-formula-aset): New macro.
4833 (ses-cell-references-aset): New macro.
4834 (ses-cell-p): New function.
4835 (ses-rename-cell): Do no longer rely on complex operations like
4836 ses-cell-set-formula or ses-set-cell to change the cell and handle
4837 the undo at the same time, but rather use lower level new macros
4838 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4839 the undo directly. Refresh the mode line.
b525fd8a 4840
2c73e345
LL
48412012-07-21 Leo Liu <sdl.web@gmail.com>
4842
670d85ea
SM
4843 * progmodes/cc-cmds.el (c-defun-name):
4844 Use match-string-no-properties instead for consistency.
2c73e345 4845
542dfbde
LL
48462012-07-20 Leo Liu <sdl.web@gmail.com>
4847
3646bcd6
LL
4848 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4849 (Bug#7879)
4850
542dfbde
LL
4851 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4852
25721031
CY
48532012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4856 * progmodes/bug-reference.el, misearch.el: Provide themselves
4857 (bug#11915).
4858
4859 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4860 of narrowed buffer (bug#11966).
4861
316e68a7
VB
48622012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4863
4864 * ses.el (ses-rename-cell): Set new name also in reference list of
4865 cells of which the renamed cell depends.
4866
bbf0e7d9
MY
48672012-07-20 Masatake YAMATO <yamato@redhat.com>
4868
4869 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4870 to check whether menu-bar is shown or not. If not shown,
4871 show the menu-bar as a popup menu instead of using tmm.
4872 * mouse.el (popup-menu): Accept `point' as `position' argument.
4873
c28662a8
DG
48742012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4875
4876 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4877 up inside string symbol literal (bug#11923).
4878
87ab808f
EZ
48792012-07-20 Eli Zaretskii <eliz@gnu.org>
4880
4881 * startup.el (fancy-startup-text): Read the whole tutorial, not
4882 just its first 256 bytes. Prevents gibberish in display of the
4883 tutorial title.
4884
89dea803
DA
48852012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4886
4887 Drop idle buffer compaction due to an absence of the
4888 proved efficiency.
4889 * compact.el: Remove.
4890
8a4e6db8
SS
48912012-07-19 Sam Steingold <sds@gnu.org>
4892
4893 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4894 vc-bzr-pull & vc-bzr-merge-branch.
4895 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4896 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4897 for consistency with compilation-error-regexp-alist.
4898 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4899 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4900 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4901 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4902
5db81e33
SM
49032012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4904
4905 * emacs-lisp/chart.el: Use lexical-binding.
4906 (chart-emacs-storage): Don't hardcode the list of entries.
4907
5b835e1d
DA
49082012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4909
4910 Next round of tweaks caused by Fgarbage_collect changes.
4911 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4912
9cd47b72
DA
49132012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4914
4915 Compact buffers when idle.
4916 * compact.el: New file.
4917
1d6fc0df
SM
49182012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * subr.el (eventp): Presume that if it looks vaguely like an event,
4921 it's an event (bug#10190).
4922
1d29cc7d
FEG
49232012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4924
4925 Enhancements to ppss related code (thanks Stefan).
4926 * progmodes/python.el (python-indent-context)
4927 (python-indent-calculate-indentation, python-indent-dedent-line)
4928 (python-indent-electric-colon, python-nav-forward-block)
4929 (python-mode-abbrev-table)
1d6fc0df 4930 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4931 for ppss context.
4932 (python-info-continuation-line-p): Cleanup.
4933 (python-info-ppss-context): Do not catch 'quote.
4934 (python-info-ppss-context-type)
4935 (python-info-ppss-comment-or-string-p): Simplify.
4936
d583cbe6
FEG
49372012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4938
4939 * progmodes/python.el: Enhancements to eldoc support.
4940 (python-info-current-symbol): New function.
4941 (python-eldoc-at-point): Use python-info-current-symbol.
4942 (python-info-current-defun): Fix cornercase on first defun scan.
4943 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4944 and signal error when no inferior python process is available.
4945
eceb6feb
DG
49462012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4947
4948 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4949 assume it's always t.
4950 (vc-git-registered): Remove caching, the function is only called
4951 once.
4952 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4953
4c8ff0fe
CY
49542012-07-18 Chong Yidong <cyd@gnu.org>
4955
19fb7186
CY
4956 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4957
9587c688
CY
4958 * simple.el (count-words): Report on narrowing (Bug#9959).
4959
0fe776a1
CY
4960 * bindings.el: Bind M-= to count-words.
4961
4c8ff0fe
CY
4962 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4963
7f5331cc
MY
49642012-07-18 Masatake YAMATO <yamato@redhat.com>
4965
4966 * progmodes/sh-script.el (sh-imenu-generic-expression):
4967 Capture a function with `function' keyword and without parentheses
4968 like "function FOO" (bug#11856).
4969
2dc2a609
TH
49702012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4971
4972 * window.el (split-window-sensibly): Make WINDOW argument
4973 optional.
4974
439f7677
CY
49752012-07-18 Chong Yidong <cyd@gnu.org>
4976
9aeb25a6
CY
4977 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4978
439f7677
CY
4979 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4980 and make C-x 8 RET exit isearch (Bug#11439).
4981
4982 * international/iso-transl.el: Move isearch-mode-map key
4983 definitions to isearch.el.
4984
12999ea8
SM
49852012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4988 (eieio-defclass): Use gv-define-setter when possible.
4989
3ab6e069
DA
49902012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4991
4992 Reflect recent changes in Fgarbage_collect.
4993 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4994 reflect new format of data returned by Fgarbage_collect.
4995
0a60bc10
FEG
49962012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4997
4998 New utility functions + python-info-ppss-context fix (Bug#11910).
4999 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5000 (python-info-ppss-comment-or-string-p): New functions.
5001 (python-info-ppss-context): Small fix for string check.
5002
6dafa0d5
JL
50032012-07-17 Juri Linkov <juri@jurta.org>
5004
5005 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5006 (dired-do-async-shell-command): Don't add `*' at the end of the
5007 command (Bug#11815).
5008 (dired-do-shell-command): Doc fix.
5009 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5010 Join the individual commands using either "&" or ";" as the
5011 separator depending on the values of these trailing characters.
5012 At the end re-add the trailing "&". (Bug#10598)
5013
5014 * simple.el (async-shell-command): Sync the interactive spec with
5015 `shell-command'. Doc fix.
5016 (shell-command): Doc fix.
5017
b19dd9d1
JL
50182012-07-17 Juri Linkov <juri@jurta.org>
5019
5020 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5021
bcdc27d7 50222012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5023
bcdc27d7 5024 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5025 * progmodes/python.el (python-nav-beginning-of-statement):
5026 Rename from python-nav-statement-start.
bcdc27d7
FEG
5027 (python-nav-end-of-statement): Rename from
5028 python-nav-statement-end.
5029 (python-nav-beginning-of-block): Rename from
5030 python-nav-block-start.
5031 (python-nav-end-of-block): Rename from python-nav-block-end.
5032
191da00e
FEG
50332012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5034
7f5331cc
MY
5035 * progmodes/python.el (python-shell-send-string-no-output):
5036 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5037 future interactions (Bug#11868).
5038
4dc7c8d5 50392012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5040
88ecaf8f
SM
5041 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5042
ef501ef0
SM
5043 * emacs-lisp/elint.el (elint-find-args-in-code):
5044 Use help-function-arglist, so as to handle lexical byte-code.
5045
aa7aaf8f
SM
5046 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5047 change (bug#11826).
5048
45fd731c
SM
50492012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5050
2143fa32
SM
5051 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5052 Avoid spuriously marking the buffer as modified because of c-is-sws.
5053
efc26dbe
SM
5054 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5055 as not-a-comment (bug#11946).
5056
f5695c9a
SM
5057 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5058 for uninterned vars.
5059
5060 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5061 Use read-event since we don't really want to read chars but bytes.
5062
45fd731c
SM
5063 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5064 $$..$$ but also $..$ using regexps (bug#11953).
5065 Use tex-verbatim for \url and \path.
5066 (tex-font-lock-keywords): Define as defconst like the others.
5067 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5068
ddfc8813
RK
50692012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5070
5071 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5072 alias for insert-char.
5073
758e556a
FEG
50742012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5075
5076 * progmodes/python.el: Simplified imenu implementation.
5077 (python-nav-jump-to-defun): Remove command.
5078 (python-mode-map): Use `imenu' instead.
5079 (python-nav-list-defun-positions-cache)
5080 (python-imenu-include-defun-type, python-imenu-make-tree)
5081 (python-imenu-subtree-root-label, python-imenu-index-alist):
5082 Remove vars.
5083 (python-nav-list-defun-positions, python-nav-read-defun)
5084 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5085 (python-imenu-make-tree, python-imenu-create-index):
5086 Remove functions.
758e556a
FEG
5087 (python-mode): Update to interact with imenu by setting
5088 `imenu-extract-index-name-function' only.
5089
032d23ab
FEG
50902012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5091
5092 * progmodes/python.el: Enhancements to navigation commands.
5093 (python-nav-backward-sentence)
5094 (python-nav-forward-sentence): Remove.
5095 (python-nav-backward-statement, python-nav-forward-statement)
5096 (python-nav-statement-start, python-nav-statement-end)
5097 (python-nav-backward-block, python-nav-forward-block)
5098 (python-nav-block-start, python-nav-block-end)
5099 (python-nav-forward-sexp-function)
5100 (python-info-current-line-comment-p)
5101 (python-info-current-line-empty-p): New functions.
5102 (python-indent-context): Use `python-nav-statement-start'.
5103
01795a1b
MA
51042012-07-16 Michael Albinus <michael.albinus@gmx.de>
5105
9328d9aa
MA
5106 * eshell/em-ls.el (eshell/ls): Use `apply'.
5107
5108 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5109 multi-hops, instead of Tramp internals.
5110
01795a1b
MA
5111 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5112
5113 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5114 when F1 and F2 are located on different hosts.
5115
63408057
CY
51162012-07-14 Chong Yidong <cyd@gnu.org>
5117
5118 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5119 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5120 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5121 (xterm-mouse--read-event-sequence-1000)
5122 (xterm-mouse--read-event-sequence-1006): New functions. For old
5123 mouse protocol, handle M-mouse-X events correctly.
5124 (xterm-mouse-event): New arg specifying mouse protocol.
5125 (turn-on-xterm-mouse-tracking-on-terminal)
5126 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5127 sequence to toggle extended coordinates on newer XTerms.
5128 This appears to be harmless on terminals which do not support this.
63408057 5129
cd276f6e
LL
51302012-07-14 Leo Liu <sdl.web@gmail.com>
5131
28ca98ac
LL
5132 Add fringe bitmap indicators for flymake. (Bug#11253)
5133 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5134 (flymake-make-overlay): New arg BITMAP.
5135 (flymake-error-bitmap, flymake-warning-bitmap)
5136 (flymake-fringe-indicator-position): New user variables.
5137
cd276f6e
LL
5138 * fringe.el: New bitmap exclamation-mark.
5139
04408072
JD
51402012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5141
5142 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5143 also (Bug#7879).
5144
b5cf7fc4
CY
51452012-07-14 Chong Yidong <cyd@gnu.org>
5146
5147 * electric.el (electric-pair-post-self-insert-function): Fix pair
5148 insertion in empty-region case (Bug#11520).
5149
be755c79
RT
51502012-07-14 Chong Yidong <cyd@gnu.org>
5151
45fd731c
SM
5152 * bindings.el: Consolidate ctl-x-r-map bindings.
5153 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5154
5155 * rect.el, register.el: Move bindings to bindings.el.
5156
51572012-07-14 Reuben Thomas <rrt@sc3d.org>
5158
5159 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5160
7f5b3198
AS
51612012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5162
5163 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5164
97662200
JB
51652012-07-13 Juanma Barranquero <lekktu@gmail.com>
5166
80185fed
JB
5167 * bindings.el (top): Use `mapc' instead of `mapcar'.
5168
97662200
JB
5169 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5170
2bb1ae55
MA
51712012-07-13 Michael Albinus <michael.albinus@gmx.de>
5172
5173 * progmodes/sql.el (sql-comint): Suppress the check for program on
5174 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5175 (Bug#11908)
5176
dea31bd3
CY
51772012-07-13 Chong Yidong <cyd@gnu.org>
5178
5179 * bindings.el: Assign a non-nil permanent-local property to
5180 per-buffer variables which lack a default value (Bug#11930).
5181
5182 * help-fns.el (describe-variable): In the "automatically becomes
5183 local" notice, take note of permanent-local variables.
5184
b68b3337
CY
51852012-07-13 Chong Yidong <cyd@gnu.org>
5186
5187 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5188 to allow printing the message when called from Lisp.
5189
5190 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5191 Remove toggle-read-only.
5192
5193 * bs.el (bs-toggle-readonly):
45fd731c
SM
5194 * buff-menu.el (Buffer-menu-toggle-read-only):
5195 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5196
5197 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5198 Remove with-no-warnings around toggle-read-only.
5199 (ffap-read-only, ffap-read-only-other-window)
5200 (ffap-read-only-other-frame): Callers changed.
5201
5202 * help-mode.el: Don't require view package.
5203 (help-mode-finish): Set buffer-read-only instead of calling
5204 toggle-read-only.
5205
5206 * bindings.el (mode-line-toggle-read-only):
5207 * dired.el (dired-toggle-read-only):
5208 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5209 with non-nil second arg.
5210
5211 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5212 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5213 directly.
5214
56bc1586
EZ
52152012-07-12 Eli Zaretskii <eliz@gnu.org>
5216
5217 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5218 not incf.
5219
a464a6c7
SM
52202012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5221
5222 More CL cleanups and reduction of use of cl.el.
5223 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5224 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5225 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5226 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5227 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5228 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5229 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5230 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5231 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5232 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5233 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5234 * eshell/em-cmpl.el, eshell/em-banner.el:
5235 * calendar/parse-time.el: Use cl-lib.
5236 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5237 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5238 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5239 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5240 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5241 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5242 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5243 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5244 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5245 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5246 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5247 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5248 `lambda' rather than with `quote'.
5249 (eshell-do-opt): Adjust accordingly.
5250 (eshell-process-option): Simplify.
5251 * eshell/esh-var.el:
5252 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5253 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5254 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5255 to `pcase--dontcare'.
5256 * emacs-lisp/cl.el (labels): Mark obsolete.
5257 (cl--letf, letf): Move to cl-lib.
5258 (cl--letf*, letf*): Remove.
5259 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5260 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5261 (cl-progv): Rewrite.
5262 (cl--letf, cl-letf): Move from cl.el.
5263 (cl-letf*): New macro.
5264 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5265
7ad4afe1
MA
52662012-07-11 Michael Albinus <michael.albinus@gmx.de>
5267
5268 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5269
9af57756
CY
52702012-07-11 Chong Yidong <cyd@gnu.org>
5271
5272 * vc/log-edit.el (log-edit-vc-backend): New variable.
5273 (log-edit): Doc fix.
5274
5275 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5276 argument of log-edit to set up all local variables.
5277 (vc-start-logentry): New optional arg specifying VC backend.
5278
5279 * vc/vc.el (vc-checkin): Use it.
5280 (vc-deduce-fileset): Handle Log Edit buffers.
5281 (vc-diff): Make first argument optional too.
5282
5283 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5284
8477cc7a
MA
52852012-07-10 Michael Albinus <michael.albinus@gmx.de>
5286
5287 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5288 command, just in case. The function is not needed anymore.
5289 (eshell-external-command): Do not call `eshell-remote-command'.
5290
19faa8e8
SM
52912012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5292
f58e0fd5
SM
5293 Reduce use of (require 'cl).
5294 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5295 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5296 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5297 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5298 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5299 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5300 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5301 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5302 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5303 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5304 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5305 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5306 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5307 (byte-compile-unfold-bcf, byte-compile-check-variable):
5308 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5309 (byte-compile-nilconstp):
5310 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5311 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5312
2519d43a
SM
5313 * emacs-lisp/gv.el (cond): Make it a valid place.
5314 (if): Simplify slightly.
5315
19faa8e8
SM
5316 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5317 (pcase--self-quoting-p): New function.
5318 (pcase--u1): Use it.
5319
c4907a5e
GM
53202012-07-10 Glenn Morris <rgm@gnu.org>
5321
5322 * emacs-lisp/authors.el (authors-fixed-entries):
5323 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5324
c4444d16
PE
53252012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5326
5327 Rename configure.in to configure.ac (Bug#11603).
5328 * emacs-lisp/authors.el (authors-canonical-file-name):
5329 * progmodes/autoconf.el (autoconf-mode):
5330 Prefer configure.ac to configure.in.
5331
d75be97d
CY
53322012-07-08 Chong Yidong <cyd@gnu.org>
5333
01ac65bd
CY
5334 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5335 Implement the mouse-1-click-follows-link handling properly.
5336
5337 * info.el (Info-link-keymap): Use follow-link mechanism for
5338 header-line links (Bug#374).
5339
d75be97d
CY
5340 * simple.el (deactivate-mark): Do not set the primary selection
5341 if another program has acquired it (Bug#11772).
5342
87a92845 53432012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5344
5345 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5346 (woman-decode-region): Replace escaped-escapes without destroying
5347 bold or underline (Bug#11552).
87a92845 5348 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5349
621b9d6c
CY
53502012-07-07 Chong Yidong <cyd@gnu.org>
5351
5352 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5353 (interprogram-cut-function, interprogram-paste-function):
5354 Mention that we typically mean the clipboard.
621b9d6c 5355
133a11fc
GM
53562012-07-06 Glenn Morris <rgm@gnu.org>
5357
0d27a45e
GM
5358 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5359
133a11fc
GM
5360 * files.el (toggle-read-only): Restrict message to interactive use.
5361
07b151f1
MA
53622012-07-06 Michael Albinus <michael.albinus@gmx.de>
5363
5364 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5365
5366 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5367
211b896b
GM
53682012-07-06 Glenn Morris <rgm@gnu.org>
5369
50394322
GM
5370 * Makefile.in (compile-one-process): Rename from "recompile".
5371
211b896b
GM
5372 * Makefile.in (bzr-update): "compile" is the same as "recompile
5373 autoloads", but parallelizable, so use that instead.
5374
4737eec9
DG
53752012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5376
5377 * window.el (quit-window): Always restore window height when
8137e7b3 5378 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5379
226c3633 53802012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5381
5382 * simple.el (kill-whole-line): Doc tweak.
5383
226c3633 53842012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5385
5386 * files.el (file-relative-name): Compare file names
5387 case-insensitively if on MS-Windows or MS-DOS, or if
5388 read-file-name-completion-ignore-case is non-nil. Don't use
5389 case-fold-search for this purpose. (Bug#11827)
5390
4dc7c8d5
SM
53912012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5392
5393 * calendar/cal-dst.el (calendar-current-time-zone):
5394 Return calendar-current-time-zone-cache if non-nil.
5395
53962012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 53972012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5398
19faa8e8
SM
5399 * calendar/cal-dst.el (calendar-current-time-zone):
5400 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5401
60198fc9
GM
54022012-07-06 Glenn Morris <rgm@gnu.org>
5403
5404 * Makefile.in (cvs-update): Remove old alias.
5405
957b3189
MA
54062012-07-05 Michael Albinus <michael.albinus@gmx.de>
5407
5408 Sync with Tramp 2.2.6-pre.
5409
5410 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5411 compatible declaration.
5412
19faa8e8
SM
5413 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5414 Protect `list-load-path-shadows' call.
957b3189
MA
5415
5416 * net/tramp-compat.el (top): Require packages, which aren't
5417 autoloaded anymore for XEmacs. Protect call of
5418 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5419 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5420 it hurts at least for SXEmacs.
5421 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5422 standard-value for `temporary-file-directory'.
5423
5424 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5425 Redirect stderr to /dev/null.
5426 (tramp-sh-handle-write-region): uid and gid can be floats.
5427 Reported by Russell Sim <russell.sim@gmail.com>.
5428 (tramp-sh-handle-vc-registered): Hide errors.
5429 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5430 and `start-file-process'.
5431 (tramp-maybe-open-connection): Check also whether `non-essential'
5432 is bound.
5433
566df3fc
CY
54342012-07-04 Chong Yidong <cyd@gnu.org>
5435
5436 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5437 (xml-parse-tag): Likewise, and avoid changing entity tables.
5438 (xml-syntax-table): Define from scratch, making sure not to give
5439 x2000 and other Unicode spaces whitespace syntax, since those are
5440 not spaces in XML.
5441 (xml-parse-fragment): Delete unused function.
5442 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5443 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5444 (xml-entity-ref, xml-pe-reference-re)
5445 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5446 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5447 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5448 (xml-entity-value-re): Use syntax references in regexps where
5449 possible; no need to define inside a let-binding.
5450 (xml-parse-dtd): Use xml-pe-reference-re.
5451 (xml-entity-or-char-ref-re): New defconst.
5452 (xml-parse-string, xml-substitute-special): Use it.
5453
30eabd7a
SM
54542012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5455
0781098a
SM
5456 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5457 (find-file--read-only): New function.
5458 (find-file-read-only, find-file-read-only-other-window)
5459 (find-file-read-only-other-frame): Use it.
5460 (insert-file-contents-literally): Don't `fset'.
5461 (get-free-disk-space): Use locate-dominating-file.
5462
b5771c0d
SM
5463 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5464 function is already compiled.
5465
30eabd7a
SM
5466 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5467
b4886f6e
MA
54682012-07-03 Michael Albinus <michael.albinus@gmx.de>
5469
5470 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5471 files on the same host.
5472
b9d82339
AS
54732012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5474
5475 * help-fns.el (describe-function-1): Only call
5476 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5477
a76e6535
CY
54782012-07-03 Chong Yidong <cyd@gnu.org>
5479
5480 * xml.el: Protect parser against XML bombs.
5481 (xml-entity-expansion-limit): New variable.
5482 (xml-parse-string, xml-substitute-special): Use it.
5483 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5484
b544fef2
GM
54852012-07-03 Glenn Morris <rgm@gnu.org>
5486
5487 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5488 Allow linking to specific messages in debbugs reports (eg 123#5).
5489
a7aef6f5
CY
54902012-07-02 Chong Yidong <cyd@gnu.org>
5491
5492 * xml.el: Fix entity and character reference expansion, allowing
5493 them to expand into markup as per XML spec.
5494 (xml-default-ns): New variable.
5495 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5496 (xml-parse-region): Make first two arguments optional.
5497 Discard text properties.
5498 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5499 All callers changed.
a7aef6f5
CY
5500 (xml-parse-tag): Call xml-parse-tag-1. For backward
5501 compatibility, this function should not modify buffer contents.
5502 (xml-parse-tag-1): Fix opening-tag regexp.
5503 (xml-parse-string): Rewrite, handling entity and character
5504 references properly.
5505 (xml--entity-replacement-text): Signal an error if a parameter
5506 entity is undefined.
5507
3df31c9f
SM
55082012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5509
2b5208f1
SM
5510 * comint.el (comint-output-filter): Filter out repeated prompts.
5511
3df31c9f
SM
5512 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5513 and file-name-absolute-p.
5514 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5515 internal calls.
5516
e3ac1281
PE
55172012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5518
5519 Spelling fixes.
5520 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5521 Rename from byte-compile--refiy-function. All uses changed.
5522
fbf2e7ad
CY
55232012-07-01 Chong Yidong <cyd@gnu.org>
5524
5525 * xml.el (xml--parse-buffer): New function. Move most of
5526 xml-parse-region here.
5527 (xml-parse-region): Copy region into a temporary buffer, since
5528 parameter entity substitution requires changing buffer contents.
5529 Use xml--parse-buffer.
5530 (xml-parse-file): Use xml--parse-buffer.
5531 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5532 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5533
9bf0aa15
GM
55342012-06-30 Glenn Morris <rgm@gnu.org>
5535
bbce2853
GM
5536 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5537
9bf0aa15
GM
5538 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5539 Remove outdated and unnecessary dbus declarations.
5540
0d23c240
EZ
55412012-06-30 Eli Zaretskii <eliz@gnu.org>
5542
5543 * emacs-lisp/timer.el (timer-until): Subtract results of
5544 float-time, instead of taking float-time of the result of
5545 time-subtract, since float-time signals an error for negative time
5546 arguments.
5547
b3218de1
CY
55482012-06-30 Chong Yidong <cyd@gnu.org>
5549
5550 * xml.el (xml-*-re): Convert defvars into defconsts, and
5551 eval-and-compile them so eval-and-compile works on derivatives.
5552 (xml--entity-replacement-text): Use eval-and-comple.
5553
a40c87a0
MA
55542012-06-30 Michael Albinus <michael.albinus@gmx.de>
5555
5556 * vc/vc-git.el (vc-git-registered): Use cache property
5557 `git-registered'.
5558 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5559 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5560 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5561
ac87de97
DG
55622012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5563
5564 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5565 removed (likely outside Emacs). (Bug#11757)
ac87de97 5566
ac10fe06
SM
55672012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5568
3df31c9f 5569 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5570
7f3fbd5d
CY
55712012-06-30 Chong Yidong <cyd@gnu.org>
5572
5573 * xml.el: Implement XML parameter entities.
5574 (xml-parameter-entity-alist): New variable.
5575 (xml-parse-region, xml-parse-fragment): Preserve previous values
5576 of xml-entity-alist and xml-parameter-entity-alist, so that
5577 repeated calls on different documents do not change them.
5578 (xml-parse-tag): Fix doctype regexp.
5579 (xml--entity-replacement-text): New function.
5580 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5581 properly requires url retrieval which is unimplemented.
5582 (xml-escape-string): Doc fix.
5583
3cfbebba
SM
55842012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5585
5586 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5587
2af3565e
DA
55882012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5589
5590 * fringe.el (fringe-mode): Doc fix.
5591
929df0e7
MA
55922012-06-29 Michael Albinus <michael.albinus@gmx.de>
5593
5594 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5595 is non-nil.
5596 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5597 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5598
c8d3a25c 55992012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5600
c8d3a25c
GM
5601 * calendar/cal-dst.el (calendar-current-time-zone):
5602 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5603
c8d3a25c 56042012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5605
5606 * progmodes/which-func.el (which-func-format):
5607 Add mouse-face. (Bug#11698)
5608
c8d3a25c
GM
56092012-06-29 Leo Liu <sdl.web@gmail.com>
5610
5611 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5612
56132012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * minibuffer.el (minibuffer-confirm-exit-commands):
5616 Add completion-at-point (bug#11725).
5617
56182012-06-29 Glenn Morris <rgm@gnu.org>
5619
5620 * progmodes/f90.el (f90-font-lock-keywords-2):
5621 Add some preprocessor elements. (Bug#10499)
5622
56232012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5624
5625 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5626 Use syntax-propertize (bug#11739).
5627
2badeec4
JB
56282012-06-28 Juanma Barranquero <lekktu@gmail.com>
5629
5630 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5631
ae4969c2
JD
56322012-06-28 Julien Danjou <julien@danjou.info>
5633
5634 * term.el (term-handle-colors-array): Use a set of new faces to
5635 color the terminal. Also uses :inverse-video property.
5636 (term-default-fg-color): Set to nil by default, deprecate in favor
5637 of `term-face'.
5638 (term-default-bg-color): Set to nil by default, deprecate in favor
5639 of `term-face'.
5640 (term-current-face): Use `term-face' by default.
5641 (term-bold-attribute): Variable deleted.
5642
1c9bd870
GM
56432012-06-28 Glenn Morris <rgm@gnu.org>
5644
5645 * simple.el (completion-list-mode-finish):
5646 Don't use toggle-read-only. (Since completion-list-mode has
5647 a special mode-class, it wasn't doing anything extra anyway.)
5648
c207708c
SM
56492012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5650
5651 Make inlining of other-mode interpreted functions work (bug#11799).
5652 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5653 (byte-compile): Use it to fix compilation of lexical-binding closures.
5654 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5655 function, if needed.
5656
3fd56834
SM
56572012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5658
04901786
SM
5659 * help-mode.el (help-make-xrefs): Don't just withstand
5660 cyclic-variable-indirection but any error in documentation-property.
5661
1ec4b7b2
SM
5662 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5663 memory use.
5664 * bindings.el (bindings--define-key): New function.
5665 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5666 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5667 * bindings.el: Use it to purecopy define-key bindings.
5668
e309e2a5
SM
5669 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5670
d5c6faf9
SM
5671 * emacs-lisp/cl.el (flet): Mark obsolete.
5672 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5673 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5674 * progmodes/js.el (js-c-fill-paragraph):
5675 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5676 (ebrowse-switch-member-buffer-to-derived-class):
5677 * play/5x5.el (5x5-solver): Use cl-flet.
5678
6e9590e2
SM
5679 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5680 (cl--symbol-function): New macro.
5681 (cl--letf, cl--letf*): Use it.
5682
3fd56834
SM
5683 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5684 Strip "toggle-" if any.
5685
35ff222c
GM
56862012-06-27 Glenn Morris <rgm@gnu.org>
5687
1ba6038a
GM
5688 * info.el (Info-default-directory-list): Move here from paths.el.
5689 * paths.el: Remove file, which is now empty.
5690 * loadup.el: No longer load "paths".
5691
0ea0e51b
GM
5692 * custom.el (custom-initialize-delay): Doc fix.
5693
35ff222c
GM
5694 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5695 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5696 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5697 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5698 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5699 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5700 * eshell/eshell.el (eshell-defgroup): Remove alias.
5701
c89926a5
CY
57022012-06-27 Chong Yidong <cyd@gnu.org>
5703
5704 * help.el (help-enable-auto-load): New variable.
5705
5706 * help-fns.el (help-fns--autoloaded-p): New function.
5707 (describe-function-1): Refer to a function as "autoloaded" if it
5708 was autoloaded at any time in the past. Perform autoloading if
5709 help-enable-auto-load is non-nil.
5710
cc06e7e7
EZ
57112012-06-26 Eli Zaretskii <eliz@gnu.org>
5712
5713 * makefile.w32-in (compile, compile-always): Depend on
5714 update-subdirs, not on subdirs.el. Otherwise, several different
5715 sub-targets of 'bootstrap' running in parallel could
5716 simultaneously write to subdirs.el, producing a garbled file.
5717
d2c32364
SS
57182012-06-26 Sam Steingold <sds@gnu.org>
5719
5720 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5721 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5722 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5723 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5724 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5725 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5726 * textmodes/tex-mode.el: Use it.
5727 Did not touch cedet and org because they are maintained elsewhere.
5728
5cf983b2
MR
57292012-06-26 Martin Rudalics <rudalics@gmx.at>
5730
5731 * calendar/calendar.el (calendar-exit): Don't try to delete or
5732 iconify last frame. See:
5733 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5734
8c4f2952
JD
57352012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5736
5737 * server.el (server-process-filter): Remember dir in the
5738 process's `server-client-directory' properties.
5739
772b2e2c
CY
57402012-06-24 Chong Yidong <cyd@gnu.org>
5741
5742 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5743 non-tag text.
5744
711b11e1
JB
57452012-06-23 Juanma Barranquero <lekktu@gmail.com>
5746
5747 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5748
dc5d230c
SM
57492012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5750
5751 * help-fns.el (describe-variable): Don't croak when doc is not found.
5752 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5753 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5754 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5755 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5756 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5757 ((lambda ..) ..).
5758 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5759
136e1c1d
CY
57602012-06-23 Chong Yidong <cyd@gnu.org>
5761
e8c1cabf
CY
5762 * info.el (Info-mouse-follow-link): Accept symbol values of
5763 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5764 (Info-fontify-node): Use Info-link-keymap for all navigation
5765 buttons, with link-args property to perform the desired action.
5766 (Info-link-keymap): Doc fix.
5767 (Info-next-link-keymap, Info-prev-link-keymap)
5768 (Info-up-link-keymap): Delete now-unused keymaps.
5769
0e9e6c6a
CY
57702012-06-23 Chong Yidong <cyd@gnu.org>
5771
05e89fea
CY
5772 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5773
0e9e6c6a
CY
5774 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5775 system abbrevs.
5776
5777 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5778
e33c6771
SM
57792012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5780
b68581e2
SM
5781 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5782 (bug#11719).
5783
e33c6771
SM
5784 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5785 the requote function doesn't work properly (bug#11714).
5786
7117e105
GM
57872012-06-23 Glenn Morris <rgm@gnu.org>
5788
5789 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5790
36cec983
SM
57912012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5792
5793 Further GV/CL cleanups.
5794 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5795 gv-expander.
5796 (gv--defun-declaration): New function.
5797 (defun-declarations-alist): Use it.
5798 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5799 (gv-place): Autoload.
5800 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5801 original definition of dotimes and dolist.
5802 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5803 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5804 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5805 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5806 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5807 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5808 to the function's definition.
5809 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5810 * window.el:
5811 * files.el:
5812 * faces.el:
5813 * env.el: Don't use CL.
5814
d35af63c
PE
58152012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5816
5817 Support higher-resolution time stamps (Bug#9000).
5818
5819 * calendar/time-date.el (with-decoded-time-value): New arg
5820 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5821 (encode-time-value): New optional arg PICO. New type 3.
5822 (time-to-seconds) [!float-time]: Support the new picoseconds
5823 component if it's used.
5824 (seconds-to-time, time-subtract, time-add):
5825 Support ps-resolution time stamps as well.
5826
5827 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5828 (timerp): Timer vectors now have length 9, not 8.
5829 (timer--time): Support new-style (4-part) time stamps.
5830 (timer-next-integral-multiple-of-time): Time stamps now have
5831 picosecond resolution, so take a bit more care about rounding.
5832 (timer-relative-time, timer-inc-time): New optional arg psecs.
5833 (timer-set-time-with-usecs): Set psecs to 0.
5834 (timer--activate): Check psecs component, too.
5835
5836 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5837
ac77b21a
SM
58382012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5839
f143bfe3
SM
5840 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5841 Move the non-essential binding to the post/pre-command-hook where it is
5842 more obviously correct.
5843
ac77b21a
SM
5844 * subr.el (read-passwd): Don't use a history at all.
5845 * savehist.el (savehist-save): Remove password saved accidentally
5846 because of the above bug.
5847
76386c5a
BG
58482012-06-22 Bastien Guerry <bzg@gnu.org>
5849
5850 * files.el (toggle-read-only): Display a message telling whether
5851 the buffer is read-only or not (bug#11726).
5852
2ee3d7f0
SM
58532012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5854
5855 * emacs-lisp/gv.el: New file.
5856 * subr.el (push, pop): Extend to generalized variables.
5857 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5858 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5859 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5860 gv-define-simple-setter, and gv-define-expander.
5861 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5862 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5863 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5864 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5865 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5866 gv-letplace.
5867 (cl-defstruct): Don't define setf-method any more.
5868 * emacs-lisp/cl.el (flet): Don't autoload.
5869 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5870 (define-setf-expander, defsetf, define-modify-macro)
5871 (cl-struct-setf-expander): Move from cl-lib.el.
5872 * emacs-lisp/syntax.el:
5873 * emacs-lisp/ewoc.el:
5874 * emacs-lisp/smie.el:
5875 * emacs-lisp/cconv.el:
5876 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5877 (timer--time): Use gv-define-simple-setter.
5878 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5879 to avoid coding-system problems in subr.el. Adjust all users.
5880 (macroexp--maxsize, macroexp-small-p): New functions.
5881 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5882 * scroll-bar.el (scroll-bar-mode):
5883 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5884 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5885 * winner.el (winner-configuration, winner-make-point-alist)
5886 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5887 * files.el (locate-file-completion-table): Avoid list*.
5888
c5695d1d
CY
58892012-06-22 Chong Yidong <cyd@gnu.org>
5890
5891 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5892 (dired-create-files): Doc fix (Bug#11329).
5893 (dired-do-copy): Doc fix (Bug#11334).
5894 (dired-mark-read-string): Doc fix (Bug#11553).
5895
2ee3d7f0
SM
5896 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5897 Doc fix (Bug#11326).
c5695d1d
CY
5898 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5899 (dired-dwim-target): Doc fix.
5900
5901 * wdired.el (wdired-mode): Doc fix.
5902
89b5595a
GM
59032012-06-22 Glenn Morris <rgm@gnu.org>
5904
575db3f1
GM
5905 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5906 (pcmpl-rpm-cache-stamp-file): New constant.
5907 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5908 (pcmpl-rpm-packages): Optionally cache list of packages.
5909
a4c8dd51
GM
5910 * pcmpl-rpm.el (pcmpl-rpm): New group.
5911 (pcmpl-rpm-query-options): New option.
5912 (pcmpl-rpm-packages): No need to inline it.
5913 Use pcmpl-rpm-query-options.
5914
89b5595a
GM
5915 * calendar/calendar.el (calendar-in-read-only-buffer):
5916 Avoid some needless mode changes.
5917
e76f0800
CY
59182012-06-21 Chong Yidong <cyd@gnu.org>
5919
5920 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5921 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5922 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5923
297a8f1d
CY
59242012-06-20 Chong Yidong <cyd@gnu.org>
5925
5926 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5927
d34c18b1
DR
59282012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5929
5930 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5931 (bug#11201).
5932
32f7f28e
CY
59332012-06-20 Chong Yidong <cyd@gnu.org>
5934
5935 * term.el (term-window-width): Handle the case of a missing right
5936 fringe (Bug#8837).
5937 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5938 (term-mode): Use define-derived-mode. Minor cleanups.
5939 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5940 (term-move-columns, term-insert-char, term-emulate-terminal)
5941 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5942
493c6688
MA
59432012-06-20 Michael Albinus <michael.albinus@gmx.de>
5944
d34c18b1
DR
5945 * net/ange-ftp.el (ange-ftp-get-passwd):
5946 Bind `enable-recursive-minibuffers'.
493c6688
MA
5947 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5948
3f06ecf4
DR
59492012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5950
5951 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5952
68f12411
GM
59532012-06-19 Glenn Morris <rgm@gnu.org>
5954
5955 * progmodes/python.el (python-mode): Derive from prog-mode.
5956
b3820318
KG
59572012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5958
5959 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5960 (edt-user-menu-bar-update-buffers): New functions.
5961 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5962
c6bf3022
CY
59632012-06-19 Chong Yidong <cyd@gnu.org>
5964
5965 * subr.el (with-selected-window): Preserve the selected window's
5966 terminal's top-frame (Bug#4702).
5967
5968 * window.el (save-selected-window): Likewise.
5969
25f09295
SM
59702012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5971
5972 * progmodes/python.el (python-rx-constituents): Move backquote.
5973 (python-skeleton-define, python-define-auxiliary-skeleton):
5974 Use `declare'.
5975
6b11952a
MA
59762012-06-18 Michael Albinus <michael.albinus@gmx.de>
5977
5978 * minibuffer.el (read-file-name-default): Revert the patch from
5979 2012-06-17.
5980
ee4b1330
SM
59812012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5982
5983 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5984 (pcase--u1, pcase--q1): Don't use apply-partially.
5985
35647f79
GM
59862012-06-18 Glenn Morris <rgm@gnu.org>
5987
5988 * progmodes/python.el (python-proc, python-buffer)
5989 (python-send-receive, python-send-string): Fix obsolete versions.
5990
24b0cff0
MR
59912012-06-18 Martin Rudalics <rudalics@gmx.at>
5992
5993 * window.el (special-display-p): Completely remove stringp
5994 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5995
29855149
MA
59962012-06-17 Michael Albinus <michael.albinus@gmx.de>
5997
5998 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5999
6000 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6001
6002 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6003 * net/tramp-sh.el (tramp-maybe-open-connection):
6004 Throw if `non-essential' is non-nil.
6005
07463363
MR
60062012-06-17 Martin Rudalics <rudalics@gmx.at>
6007
6008 * window.el (special-display-p): Signal an error if BUFFER-NAME
6009 is not a string (Bug#11713).
6010
48d1354e
PE
60112012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6012
6013 * progmodes/python.el (python-info-beginning-of-backslash):
6014 Rename from python-info-beginning-of-backlash, as a spelling fix.
6015
eb4a8a9a
CY
60162012-06-17 Chong Yidong <cyd@gnu.org>
6017
6018 * term.el (term-emulate-terminal): If term-check-size is called,
6019 move point to the process mark without resetting point (Bug#4635).
6020
ddfbf826 60212012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6022
6023 * international/mule-cmds.el (mule-menu-keymap)
6024 (set-language-environment, set-locale-environment): Doc tweaks.
6025
9b0e3eba
AA
60262012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6027
6028 * cus-face.el (custom-face-attributes): Add wave-style underline
6029 attribute.
6030 * faces.el (set-face-attribute): Update docstring to describe
6031 wave-style underline attribute.
6032
771e3eae
CY
60332012-06-16 Chong Yidong <cyd@gnu.org>
6034
6035 * term/xterm.el (terminal-init-xterm): Discard input before
6036 querying background mode (Bug#10959).
6037
7ae2ea10
SM
60382012-06-16 Stefan Merten <smerten@oekonux.de>
6039
6040 * textmodes/rst.el: Added and corrected some comments.
6041 (rst-re-alist-def): Improve symbol syntax.
6042 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6043 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6044 (rst-official-version, rst-official-cvs-rev): Update version
6045 information.
7ae2ea10 6046
b6974efa
JB
60472012-06-15 Juanma Barranquero <lekktu@gmail.com>
6048
6049 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6050 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6051
8826d473
GM
60522012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6053
6054 * progmodes/python.el: New python.el merge.
6055 (python-guess-indent): Obsolete var.
6056 (python-indent-guess-indent-offset): New defcustom.
6057 (python-indent): Obsolete var.
6058 (python-indent-offset): New defcustom.
6059 (python-python-command, python-jython-command): Delete var.
6060 (python-shell-interpreter): New defcustom.
6061 (python-pdbtrack-do-tracking-p): Delete var.
6062 (python-pdbtrack-activate): New defcustom.
6063 (python-use-skeletons): Obsolete var.
6064 (python-skeleton-autoinsert): New defcustom.
6065 (inferior-python-filter-regexp, python-continuation-offset)
6066 (python-honour-comment-indentation, python-indent-string-contents)
6067 (python-jython-packages, python-mode-hook)
6068 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6069 (python-shell-prompt-alist)
6070 (python-source-modes): Delete defcustoms.
6071 (python-check-buffer-name, python-eldoc-setup-code)
6072 (python-eldoc-string-code, python-ffap-setup-code)
6073 (python-ffap-string-code, python-fill-comment-function)
6074 (python-fill-decorator-function, python-fill-paren-function)
6075 (python-fill-string-function, python-imenu-include-defun-type)
6076 (python-imenu-make-tree, python-imenu-subtree-root-label)
6077 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6078 (python-shell-compilation-regexp-alist)
6079 (python-shell-completion-module-string-code)
6080 (python-shell-completion-pdb-string-code)
6081 (python-shell-completion-setup-code)
6082 (python-shell-completion-string-code)
6083 (python-shell-enable-font-lock, python-shell-exec-path)
6084 (python-shell-extra-pythonpaths)
6085 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6086 (python-shell-process-environment)
6087 (python-shell-prompt-block-regexp)
6088 (python-shell-prompt-output-regexp)
6089 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6090 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6091 (python-shell-virtualenv-path): New defcustoms.
6092 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6093 (inferior-python-mode-syntax-table, python--prompt-regexp)
6094 (python-buffer, python-command python-python-command)
6095 (python-default-template, python-imports, python-indent-index)
6096 (python-indent-list, python-indent-list-length)
6097 (python-mode-running, python-pdbtrack-is-tracking-p)
6098 (python-preoutput-continuation, python-preoutput-leftover)
6099 (python-preoutput-result, python-preoutput-skip-next-prompt)
6100 (python-prev-dir/file, python-recursing)
6101 (python-saved-check-command, python-version-checked)
6102 (python-which-func-length-limit)
6103 (view-return-to-alist): Delete vars.
6104 (python-check-custom-command, python-dotty-syntax-table)
6105 (python-imenu-index-alist, python-indent-current-level)
6106 (python-indent-dedenters, python-indent-levels)
6107 (python-nav-beginning-of-defun-regexp)
6108 (python-nav-list-defun-positions-cache)
6109 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6110 (python-shell-internal-buffer)
6111 (python-skeleton-available): New vars.
6112 (def-python-skeleton): Delete macro.
6113 (python-skeleton-define): New macro.
6114 (python-define-auxiliary-skeleton, python-rx): New macros.
6115 (python-insert-class): Delete command.
6116 (python-skeleton-class): New command.
6117 (python-insert-def): Delete command.
6118 (python-skeleton-def): New command.
6119 (python-insert-for): Delete command.
6120 (python-skeleton-for): New command.
6121 (python-insert-if): Delete command.
6122 (python-skeleton-if): New command.
6123 (python-insert-try/except, python-insert-try/finally): Delete commands.
6124 (python-skeleton-try): New command.
6125 (python-insert-while): Delete command.
6126 (python-skeleton-while): New command.
6127 (python-backspace): Delete command.
6128 (python-indent-dedent-line-backspace): New command.
6129 (python-electric-colon): Delete command.
6130 (python-indent-electric-colon): New command.
6131 (python-guess-indent): Delete command.
6132 (python-indent-guess-indent-offset): New command.
6133 (python-shift-left): Delete command.
6134 (python-indent-shift-left): New command.
6135 (python-shift-right): Delete command.
6136 (python-indent-shift-right): New command.
6137 (python-find-function): Delete command.
6138 (python-nav-jump-to-defun): New command.
6139 (python-next-statement): Delete command.
6140 (python-nav-forward-sentence): New command.
6141 (python-previous-statement): Delete command.
6142 (python-nav-backward-sentence): New command.
6143 (python-fill-paragraph): Delete command.
6144 (python-fill-paragraph-function): New command.
6145 (python-send-buffer): Delete command.
6146 (python-shell-send-buffer): New command.
6147 (python-send-defun): Delete command.
6148 (python-shell-send-defun): New command.
6149 (python-send-region, python-send-region-and-go): Delete commands.
6150 (python-shell-send-region)
6151 (python-shell-switch-to-shell): New commands.
6152 (python-send-string): Delete command.
6153 (python-shell-send-string): New command.
6154 (python-switch-to-python): Delete command.
6155 (python-shell-switch-to-shell): New command.
6156 (python-describe-symbol): Delete command.
6157 (python-eldoc-at-point): New command.
6158 (python--set-prompt-regexp, python-args-to-list)
6159 (python-after-info-look, python-check-version)
6160 (python-check-comint-prompt, python-find-imports)
6161 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6162 (python-unload-function, python-expand-template)
6163 (python-maybe-jython, python-preoutput-filter)
6164 (python-pdbtrack-get-source-buffer)
6165 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6166 (python-pdbtrack-toggle-stack-tracking)
6167 (python-pdbtrack-track-stack-file, python-initial-text)
6168 (python-first-word, python-comment-line-p, python-send-command)
6169 (python-setup-brm, python-sentinel, python-set-proc)
6170 (python-skip-out, python-input-filter, python-outdent-p)
6171 (python-outline-level, python-backslash-continuation-line-p)
6172 (python-end-of-block, python-end-of-statement, python-mark-block)
6173 (python-beginning-of-block, python-beginning-of-statement)
6174 (python-blank-line-p, python-beginning-of-string)
6175 (python-open-block-statement-p): Delete functions.
6176 (python-indent-line, python-indent-line-1): Delete functions.
6177 (python-indent-line): New function.
6178 (python-indentation-levels): Delete function.
6179 (python-indent-calculate-levels): New function.
6180 (python-proc): Delete function.
6181 (python-shell-get-process): New function.
6182 (python-send-receive): Delete function.
6183 (python-shell-send-string-no-output): New function.
6184 (python-module-path): Delete function.
6185 (python-ffap-module-path): New function.
6186 (python-completion-at-point)
6187 (python-symbol-completions): Delete functions.
6188 (python-completion-complete-at-point): New function.
6189 (python-load-file): Delete function.
6190 (python-shell-send-file): New function.
6191 (python-calculate-indentation): Delete function.
6192 (python-indent-calculate-indentation): New function.
6193 (python-skip-comments/blanks): Delete function.
6194 (python-util-forward-comment): New function.
6195 (python-continuation-line-p): Delete function.
6196 (python-info-continuation-line-p): New function.
6197 (python-which-func, python-current-defun): Delete function.
6198 (python-info-current-defun): New function.
6199 (python-beginning-of-defun): Delete function.
6200 (python-nav-beginning-of-defun): New function.
6201 (python-close-block-statement-p)
6202 (python-block-end-p): Delete function.
6203 (python-info-closing-block): New function.
6204 (python-comint-output-filter-function)
6205 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6206 (python-fill-comment, python-fill-decorator, python-fill-paren)
6207 (python-fill-string, python-imenu-make-element-tree)
6208 (python-imenu-make-tree, python-imenu-tree-assoc)
6209 (python-indent-context, python-indent-dedent-line)
6210 (python-indent-line-function)
6211 (python-indent-post-self-insert-function)
6212 (python-indent-toggle-levels)
6213 (python-info-assignment-continuation-line-p)
6214 (python-info-beginning-of-backlash)
6215 (python-info-block-continuation-line-p)
6216 (python-info-closing-block-message)
6217 (python-info-line-ends-backslash-p)
6218 (python-info-looking-at-beginning-of-defun)
6219 (python-info-ppss-context, python-info-ppss-context-type)
6220 (python-nav-list-defun-positions, python-nav-read-defun)
6221 (python-nav-sentence-end, python-nav-sentence-start)
6222 (python-pdbtrack-comint-output-filter-function)
6223 (python-pdbtrack-set-tracked-buffer)
6224 (python-shell-calculate-exec-path)
6225 (python-shell-calculate-process-environment)
6226 (python-shell-completion--do-completion-at-point)
6227 (python-shell-completion--get-completions)
6228 (python-shell-completion-complete-at-point)
6229 (python-shell-completion-complete-or-indent)
6230 (python-shell-get-or-create-process)
6231 (python-shell-get-process-name)
6232 (python-shell-internal-get-or-create-process)
6233 (python-shell-internal-get-process-name)
6234 (python-shell-internal-send-string, python-shell-make-comint)
6235 (python-shell-parse-command, python-shell-send-setup-code)
6236 (python-skeleton-add-menu-items)
6237 (python-util-clone-local-variables, python-util-position)
6238 (run-python-internal, python-indentation-levels)
6239 (python-nav-beginning-of-defun)
6240 (python-completion-complete-at-point): New functions.
6241 (run-python): Change arguments. New API requirements.
6242
4302f5ba
SM
62432012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6244
f38ea36d
SM
6245 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6246 (bug#11649).
6247
6248 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6249 (macroexp--expand-all): Use it.
6250
4302f5ba
SM
6251 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6252 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6253 Use `cl-function' instead.
6254
33377562
JB
62552012-06-14 Juanma Barranquero <lekktu@gmail.com>
6256
6257 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6258 Suggested by Stefan Monnier while discussing bug#11657.
6259
54c5ba1a
SS
62602012-06-14 Sam Steingold <sds@gnu.org>
6261
6262 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6263
f9f1b1fe
AS
62642012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6265
6266 * play/doctor.el (doctor-doc): Remove parameter and use
6267 doctor-sent instead of sent.
6268 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6269
a81068ba
SM
62702012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6271
5a315f9c
SM
6272 * files.el: Require cl-lib.
6273 (file-name-non-special): Replace case -> cl-case.
6274
6275 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6276
a81068ba
SM
6277 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6278 mapping from #' to function*.
6279
8cca9703
CY
62802012-06-13 Chong Yidong <cyd@gnu.org>
6281
6282 * mouse.el (mouse-drag-track): Do not set the mark if the user
6283 releases the mouse without selecting anything (Bug#11588).
6284
a12ac9d7
SM
62852012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6286
ccf1dc18
SM
6287 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6288 as well (bug#11646).
6289
ef62b23d
SM
6290 * loadup.el: Count byte-code functions as well.
6291
c4c8444a
SM
6292 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6293 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6294
a12ac9d7
SM
6295 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6296 (bug#11649). Add cl-defun and cl-defmacro.
6297
87e6e64f
DA
62982012-06-13 Drew Adams <drew.adams@oracle.com>
6299
6300 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6301 Fix last change.
6302
682cefaf
MA
63032012-06-13 Michael Albinus <michael.albinus@gmx.de>
6304
6305 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6306 Otherwise, it blocks in batch mode.
6307
773e1f08
JB
63082012-06-13 Juanma Barranquero <lekktu@gmail.com>
6309
6310 * help-mode.el (bookmark-make-record-default): Declare.
6311
60057926
CY
63122012-06-13 Chong Yidong <cyd@gnu.org>
6313
6314 * emacs-lisp/package.el (list-packages): Compute a list of
6315 packages that are newly-available since the last list-packages
6316 invocation.
6317 (package-menu--new-package-list): New var.
6318 (package-menu--generate, package-menu--print-info)
6319 (package-menu--status-predicate, package-menu-mark-install):
6320 Handle new status label "new".
6321
ad4d226c
SM
63222012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6325 conversion to backquotes.
6326
f1a4e679
CY
63272012-06-12 Chong Yidong <cyd@gnu.org>
6328
6329 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6330 Rename from gud-inhibit-global-bindings.
6331
6332 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6333
6334 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6335 hook from nxml-glyph-set-hook.
6336
6337 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6338 declaration.
6339
6340 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6341
6342 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6343 Convert to defcustom.
6344
0c9e42b5
DA
63452012-06-12 Drew Adams <drew.adams@oracle.com>
6346
6347 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6348 New functions.
6349 (help-mode): Use them.
6350
09e06855
GM
63512012-06-11 Glenn Morris <rgm@gnu.org>
6352
6353 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6354 Use preprocessor face for directives.
6355 (fortran-directive-re): Doc fix.
6356
71adb94b
SM
63572012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6358
2eb87922
SM
6359 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6360 conversion to backquotes (bug#11652).
6361
71adb94b
SM
6362 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6363 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6364 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6365 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6366 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6367 (cl-ninth, cl-tenth): Mark them as inlinable.
6368 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6369 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6370 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6371 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6372 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6373 (cl-list*, cl-adjoin): Don't put an autoload manually.
6374 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6375 (cl--compiler-macro-list*): Add autoload cookie.
6376 (cl--compiler-macro-cXXr): New function.
2eb87922 6377
71adb94b
SM
6378 * help-fns.el (help-fns--compiler-macro): New function extracted from
6379 describe-function-1; follow aliases and use `compiler-macro' property.
6380 (describe-function-1): Use it.
6381
a6674402
CY
63822012-06-11 Chong Yidong <cyd@gnu.org>
6383
6384 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6385 is uninstalled, if imagemagick is installed.
6386
bb3faf5b
SM
63872012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * emacs-lisp/cl-lib.el: Use lexical-binding.
6390 (cl-map-extents, cl-maclisp-member): Remove.
6391 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6392 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6393 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6394 * emacs-lisp/cl-extra.el: Use lexical-binding.
6395 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6396 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6397 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6398 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6399 * emacs-lisp/cl-seq.el: Use lexical-binding.
6400 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6401 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6402 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6403 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6404 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6405 CL's internals.
6406
2fe4b125
MA
64072012-06-11 Michael Albinus <michael.albinus@gmx.de>
6408
6409 Sync with Tramp 2.2.6-pre.
6410
6411 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6412 `print-length' and `print-level' to nil, in order to avoid
6413 truncation. Reported by Christopher Schmidt
6414 <christopher@ristopher.com>.
6415
6416 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6417
6418 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6419 New defmacro.
6420 (tramp-compat-copy-directory): Add optional argument
6421 COPY-CONTENTS. It is not handled yet.
6422
6423 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6424 (tramp-ftp-file-name-p): Simplify.
6425
6426 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6427 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6428 connection vector.
6429
6430 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6431 (tramp-methods): Do not use `tramp-password-end-of-line'.
6432 (tramp-completion-function-alist-putty): Handle UNIX case.
6433 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6434 (tramp-do-file-attributes-with-stat)
6435 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6436 gid as real numbers. They could run out of integer range on cygwin.
6437 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6438 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
6439 (tramp-open-connection-setup-interactive-shell):
6440 Use `tramp-cleanup'. Move check for busyboxes ...
6441 (tramp-find-shell): ... here. Simplify implementation.
6442 Set "remote-shell" property also for alternative shells.
6443 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6444 If failing, a regular file would be written otherwise.
6445 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
6446 (tramp-find-inline-encoding): Cache the coding commands in the
6447 process cache. Apply test command on the remote side, if defined.
6448 (tramp-find-inline-compress): Cache the compress commands in the
6449 process cache.
6450 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6451 when requested. Handle hops.
6452 (tramp-current-connection): New defvar.
87e6e64f
DA
6453 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6454 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6455 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6456 (tramp-get-inline-compress, tramp-get-inline-coding):
6457 Read connection properties from the process cache.
2fe4b125
MA
6458
6459 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6460 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6461 New defconsts.
2fe4b125
MA
6462 (tramp-smb-prompt): Extend for powershell prompt.
6463 (tramp-smb-file-name-handler-alist): Add handlers for
6464 `process-file', `shell-command' and `start-file-process'.
6465 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6466 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6467 (tramp-smb-file-name-p): Simplify.
6468 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6469 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6470 (tramp-smb-shell-quote-argument): New defuns.
6471 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6472 Implement using "tar". By this, time-stamps are preserved.
6473 (tramp-smb-handle-copy-file): Handle also the case of directories.
6474 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6475 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6476 Use `tramp-get-connection-buffer').
2fe4b125
MA
6477 (tramp-smb-handle-rename-file): Use "rename", when source and
6478 target are on the same share.
87e6e64f
DA
6479 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6480 Use `tramp-smb-server-version'.
2fe4b125
MA
6481 (tramp-smb-wait-for-output): Remove prompt.
6482
6483 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6484 (tramp-methods, tramp-rsh-end-of-line):
6485 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6486 (tramp-save-ad-hoc-proxies): New defcustom.
6487 (tramp-completion-function-alist): Adapt docstring.
6488 (tramp-default-password-end-of-line): Remove defcustom.
6489 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6490 (tramp-user-regexp, tramp-file-name-regexp-unified)
6491 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6492 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6493 (tramp-remote-file-name-spec-regexp): New defconst.
6494 (tramp-file-name-structure): Extend structure for hops.
6495 (tramp-get-method-parameter): Move up.
6496 (tramp-file-name-p, tramp-dissect-file-name)
6497 (with-parsed-tramp-file-name): Handle hops.
6498 (tramp-file-name-hop): New defun.
6499 (tramp-make-tramp-file-name): New optional arg HOP.
6500 (tramp-message-show-progress-reporter-message): New defvar.
6501 (tramp-with-progress-reporter): Use it. We cannot use
6502 `tramp-message-show-message' here, because this suppresses also
6503 error buffers.
6504 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6505 `tramp-message-show-message' is nil.
6506 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6507 (tramp-cleanup): New defun.
6508 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6509 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6510 an error unchanged.
6511 (tramp-completion-handle-file-name-all-completions): Handle hops.
6512 Fix an error when called from ido.
6513 (tramp-completion-dissect-file-name): Use better local variable
6514 name. Add hop to the vector.
6515 (tramp-handle-insert-file-contents): Use progress-reporter for the
6516 whole scenario.
6517 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6518 to `t'.
6519 (tramp-check-for-regexp): Simplify search.
6520 (tramp-enter-password): Remove it. Move implementation ...
6521 (tramp-action-password): ... here.
6522 (tramp-mode-string-to-int, tramp-local-host-p)
6523 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6524 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6525 Set tramp-autoload cookie.
2fe4b125
MA
6526
6527 * net/trampver.el: Update release number.
6528
65292012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6530 Michael Albinus <michael.albinus@gmx.de>
6531
6532 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6533 (tramp-parse-group, tramp-parse-file)
6534 (tramp-parse-shostkeys-sknownhosts): New defuns.
6535 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6536 (tramp-parse-shosts-group, tramp-parse-sconfig)
6537 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6538 (tramp-parse-sknownhosts, tramp-parse-hosts)
6539 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6540 Use them.
6541 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6542 (tramp-parse-putty-group): Don't narrow.
6543 (tramp-parse-putty): Make a loop.
6544 (tramp-file-name-handler): Catch the `suppress' signal.
6545
72834e10
CY
65462012-06-11 Chong Yidong <cyd@gnu.org>
6547
6548 * image.el (imagemagick-register-types): Put the ImageMagick entry
6549 at the end of image-type-file-name-regexps.
6550
a4712e11
JB
65512012-06-11 Johan Bockgård <bojohan@gnu.org>
6552
6553 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6554 (pcase, pcase-let*, pcase-dolist): Use them.
6555
82ad98e3
SM
65562012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * emacs-lisp/pcase.el (pcase--let*): New function.
6559 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6560 (pcase--expand): Use macroexp-let².
6561
f80efb86
SM
65622012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6565 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6566 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6567 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6568 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6569 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6570
31ca4639 65712012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6572
31ca4639
CY
6573 * mail/rmail.el (rmail-yank-current-message): Leave point at
6574 correct position. (Bug#11660)
94f0aa34 6575
31ca4639 65762012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6577
31ca4639 6578 * allout-widgets.el: Fix code header.
9e1b8ec4 6579
31ca4639 65802012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6581
f80efb86
SM
6582 * cus-edit.el (customize-changed-options-previous-release):
6583 Bump to 24.1.
31ca4639 6584
642b6d30
AS
65852012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6586
6587 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6588
4f5d2ba1
CY
65892012-06-09 Chong Yidong <cyd@gnu.org>
6590
6591 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6592
e75852fd
MR
65932012-06-09 Martin Rudalics <rudalics@gmx.at>
6594
6595 * window.el (special-display-popup-frame): Don't use
6596 window--display-buffer (Bug#11651).
6597
1e48e282
EZ
65982012-06-09 Eli Zaretskii <eliz@gnu.org>
6599
8a26b487
EZ
6600 Fix parallel builds: make sure loaddefs.el is not being written
6601 while Lisp files are compiled.
6602 (compile): Don't depend on 'mh-autoloads'.
6603 (compile-CMD, compile-SH): Depend on 'autoloads'.
6604 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6605
1e48e282
EZ
6606 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6607
6175e34b
CY
66082012-06-09 Chong Yidong <cyd@gnu.org>
6609
6610 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6611 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6612 Doc fixes (Bug#11225).
6613
d9857e53
SM
66142012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6617 a function if there's a clear indication that it has a compiler-macro.
6618 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6619 (macro-declarations-alist): Add arglist to declaration functions.
6620 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6621 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6622 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6623 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6624 Also add autoload to find the compiler macro.
6625 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6626 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6627 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6628 (cl--compiler-macro-get): New functions, replacing calls to
6629 cl-define-compiler-macro.
6630 (cl-typep) [compiler-macro]: Use macroexp-let².
6631
f81298f8 66322012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6633
6634 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6635 string properly, fixes Bug#11473.
6636
4b56d0fe
CY
66372012-06-08 Chong Yidong <cyd@gnu.org>
6638
6639 * faces.el (set-face-attribute): Doc fix.
6640 (modify-face): Don't use :bold and :italic.
6641 (error, warning, success): Tweak definitions.
6642
6643 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6644 (custom-modified, custom-set, custom-changed, custom-themed)
6645 (custom-saved, custom-button, custom-button-mouse)
6646 (custom-button-pressed, custom-state, custom-comment-tag)
6647 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6648 (custom-group-subtitle): Use new-style face specs.
6649 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6650 (custom-set-face, custom-changed-face, custom-saved-face)
6651 (custom-button-face, custom-button-pressed-face)
6652 (custom-documentation-face, custom-state-face)
6653 (custom-comment-face, custom-comment-tag-face)
6654 (custom-variable-tag-face, custom-variable-button-face)
6655 (custom-face-tag-face, custom-group-tag-face-1)
6656 (custom-group-tag-face): Remove obsolete face alias.
6657
6658 * epa.el (epa-validity-high, epa-validity-medium)
6659 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6660 (epa-field-name, epa-field-body):
6661 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6662 (font-lock-keyword-face, font-lock-builtin-face)
6663 (font-lock-function-name-face, font-lock-variable-name-face)
6664 (font-lock-type-face, font-lock-constant-face):
6665 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6666 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6667 * speedbar.el (speedbar-button-face, speedbar-file-face)
6668 (speedbar-directory-face, speedbar-tag-face)
6669 (speedbar-selected-face, speedbar-highlight-face)
6670 (speedbar-separator-face):
6671 * whitespace.el (whitespace-newline, whitespace-space)
6672 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6673 (whitespace-line, whitespace-space-before-tab)
6674 (whitespace-space-after-tab, whitespace-indentation)
6675 (whitespace-empty):
6676 * emulation/cua-base.el (cua-global-mark):
6677 * eshell/em-prompt.el (eshell-prompt):
6678 * net/newst-plainview.el (newsticker-new-item-face)
6679 (newsticker-old-item-face, newsticker-immortal-item-face)
6680 (newsticker-obsolete-item-face, newsticker-date-face)
6681 (newsticker-statistics-face, newsticker-default-face):
6682 * net/newst-reader.el (newsticker-feed-face)
6683 (newsticker-extra-face, newsticker-enclosure-face):
6684 * net/newst-treeview.el (newsticker-treeview-face)
6685 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6686 (newsticker-treeview-immortal-face)
6687 (newsticker-treeview-obsolete-face)
6688 (newsticker-treeview-selection-face):
6689 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6690 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6691 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6692 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6693 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6694 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6695 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6696 (mpuz-text):
6697 * progmodes/vera-mode.el (vera-font-lock-number)
6698 (vera-font-lock-function, vera-font-lock-interface):
6699 * textmodes/table.el (table-cell): Use new-style face specs, and
6700 don't use the old :bold and :italic attributes.
6701
6702 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6703 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6704 (ebrowse-member-class, ebrowse-progress): Likewise.
6705 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6706 (ebrowse-file-name-face, ebrowse-default-face)
6707 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6708 (ebrowse-progress-face): Remove obsolete faces.
6709
6710 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6711 Inherit from error and warning faces respectively.
6712
6713 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6714 Likewise.
f80efb86
SM
6715 (flyspell-incorrect-face, flyspell-duplicate-face):
6716 Remove obsolete aliases.
4b56d0fe 6717
03310646
MA
67182012-06-08 Michael Albinus <michael.albinus@gmx.de>
6719
6720 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6721 Avoid infloop.
6722
513749ee
SM
67232012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * startup.el (argv, argi): Make lexically scoped.
6726 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6727 * emacs-lisp/cl-macs.el: Use lexical-binding.
6728 Rename cl-bind-* to cl--bind-*.
6729 * files.el: Don't require `cl' since it doesn't use it.
6730 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6731
595ef4ad
JB
67322012-06-08 Juanma Barranquero <lekktu@gmail.com>
6733
6734 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6735 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6736 instead of calling external sort utility.
6737 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6738
e9f66fcb
EZ
67392012-06-08 Eli Zaretskii <eliz@gnu.org>
6740
6741 * descr-text.el (describe-char): Mention how to insert the
6742 character, if the current input method doesn't support it.
6743 See the discussion in this thread for the details:
6744 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6745
3d10db47
SS
67462012-06-08 Sam Steingold <sds@gnu.org>
6747
6748 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6749 XF86Back to previous-buffer.
6750 (minibuffer-local-map): Bind them to next-history-element and
6751 previous-history-element respectively.
6752 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6753 help-go-back respectively.
6754 * info.el (Info-mode-map): Bind them to Info-history-forward and
6755 Info-history-back respectively.
6756 These are the keys next to Up on the ThinkPad keyboard.
6757
de7e2b36
SM
67582012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6759
6760 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6761 * emacs-lisp/cl-macs.el: Provide itself.
6762 (cl--labels-convert-cache): New var.
6763 (cl--labels-convert): New function.
6764 (cl-flet, cl-labels): New implementation with new semantics, relying on
6765 lexical-binding.
6766 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6767 (cl-closure-vars, cl--function-convert-cache)
6768 (cl--function-convert): Move from cl-macs.el.
6769 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6770 rename by removing the "cl-" prefix.
6771 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6772
6fa6c4ae
SM
67732012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6774
6775 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6776 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6777 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6778 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6779 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6780 (cl-hash-table-count): Add old compatibility aliases.
6781
6782 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6783 Use macroexpand-all-environment instead.
6784 (cl--old-macroexpand): New var.
6785 (cl--sm-macroexpand): New function.
6786 (cl-symbol-macrolet): Use it during macro expansion.
6787 (cl--function-convert-cache): New var.
6788 (cl--function-convert): New function, extracted from
6789 cl-macroexpand-all.
6790 (cl-lexical-let): Use it.
6791
6792 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6793 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6794 (cl-member): Remove old alias.
6795
6796 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6797 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6798 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6799 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6800 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6801 (cl-macroexpand-cmacs): Remove var.
6802 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6803 Use macroexpand-all instead.
6804
4dd1c416
SM
68052012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6806
6807 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6808 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6809 (macroexp-copyable-p): New functions and macros.
6810 * emacs-lisp/edebug.el (edebug-unwrap):
6811 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6812 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6813 (pcase--let*): Remove.
6814 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6815 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6816 macroexp-const-p instead.
6817 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6818
6819 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6820 instead of "cl-" for internal definitions. Use macroexp-const-p.
6821 (cl-old-bc-file-form): Remove var.
6822 (cl-const-exprs-p): Remove fun.
6823 (cl-labels, cl-macrolet): Use backquote.
6824 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6825 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6826 (cl-define-setf-expander): Rename from cl-define-setf-method.
6827 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6828
6829 * international/mule-cmds.el: Don't require CL.
6830 (view-hello-file): Don't use `letf'.
6831
ed8bd4d7
SM
68322012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6833
7287f2f3
SM
6834 * tmm.el (tmm-prompt): Use string-prefix-p.
6835 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6836 (tmm-add-prompt): Use minibuffer-completion-help.
6837 (tmm-delete-map): Remove.
6838
ed8bd4d7
SM
6839 * subr.el (kbd): Make it its own function.
6840
7b4cdbf4
SM
68412012-06-07 Stefan Merten <smerten@oekonux.de>
6842
6843 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6844 Silence compiler warnings. Fix versions.
ed8bd4d7 6845 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6846 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6847 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6848 (rst-package-emacs-version-alist): Correct Emacs version to
6849 represent major merge with upstream.
ed8bd4d7 6850 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6851
2b48d721
GM
68522012-06-06 Glenn Morris <rgm@gnu.org>
6853
6854 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6855 Only print environment variables if set.
6856
fa779ab0
SM
68572012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6860 (macroexp--cons): Rename from maybe-cons.
6861 (macroexp--accumulate): Rename from macroexp-accumulate.
6862 (macroexp--all-forms): Rename from macroexpand-all-forms.
6863 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6864 (macroexp--expand-all): Rename from macroexpand-all-1.
6865
628299e0
SS
68662012-06-06 Sam Steingold <sds@gnu.org>
6867
6868 * calendar/calendar.el (calendar-in-read-only-buffer):
6869 Call `special-mode' to enable the standard read-only keybindings.
6870
b7bb5838
SM
68712012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6872
6873 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6874 with "loading" messages (bug#11635).
6875
dfb308ba
MA
68762012-06-06 Michael Albinus <michael.albinus@gmx.de>
6877
6878 * files.el (enable-remote-dir-locals): New option.
6879 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6880
0372ee92
MA
6881 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6882 Ensure, that the temp directory is local.
6883
6884 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6885 `temporary-file-directory'.
6886
eed0bb91
MA
6887 * progmodes/python.el (python-send-region): Ensure, that the
6888 temporary file is created also in the remote case.
6889
7a58f64d
GM
68902012-06-06 Glenn Morris <rgm@gnu.org>
6891
f7dd4e98
GM
6892 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6893 (vc-rcs-update-changelog): Use it.
6894
090bd7cb 6895 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6896
7a58f64d
GM
6897 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6898 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6899 (vc-sccs-diff): Replace use of the external vcdiff script.
6900
daed4003
GM
69012012-06-05 Glenn Morris <rgm@gnu.org>
6902
6903 * ledit.el: Move to obsolete/.
6904
48c455c7
SS
69052012-06-05 Sam Steingold <sds@gnu.org>
6906
ed9265fc 6907 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6908 patch (Bug#11140).
6909
57a7d507
SM
69102012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6911
090bd7cb 6912 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6913
53aacf21
SM
6914 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6915 compiler-macro expansion.
6916
57a7d507
SM
6917 Add native compiler-macro support.
6918 * emacs-lisp/macroexp.el (macroexpand-all-1):
6919 Support compiler-macros directly. Properly follow aliases and apply
6920 the compiler macros more thoroughly.
6921 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6922 macroexpand now properly follows aliases.
6923 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6924 (cl-compiler-macroexpand): Use new prop.
6925 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6926
6927 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6928
51a5f9d8
MR
69292012-06-05 Martin Rudalics <rudalics@gmx.at>
6930
6931 * window.el (get-lru-window, get-mru-window, get-largest-window):
6932 New argument NOT-SELECTED to avoid picking the selected window.
6933 (window--display-buffer-1, window--display-buffer-2): Replace by
6934 new function window--display-buffer
6935 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6936 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6937 Use window--display-buffer.
51a5f9d8
MR
6938 (display-buffer-use-some-window): Remove temporary dedication
6939 hack by calling get-lru-window and get-largest-window with
6940 NOT-SELECTED argument non-nil. Call window--display-buffer.
6941
08f9f738
GM
69422012-06-05 Glenn Morris <rgm@gnu.org>
6943
6944 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6945 Replace external vcdiff script.
6946
e364a2b7
SM
69472012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6950
041df390
CY
69512012-06-04 Chong Yidong <cyd@gnu.org>
6952
e364a2b7
SM
6953 * image.el (imagemagick-types-inhibit): Revert last change.
6954 Add INFO and M.
47b36b94 6955 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6956
7c1898a7
SM
69572012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * emacs-lisp/cl-lib.el: Rename from cl.el.
6960 * emacs-lisp/cl.el: New compatibility file.
6961 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6962 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6963 to obey the "cl-" prefix.
6964 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6965
0c3461de
GM
69662012-06-03 Glenn Morris <rgm@gnu.org>
6967
1e266c88
GM
6968 * emacs-lisp/authors.el (authors-aliases): Addition.
6969
0c3461de
GM
6970 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6971 Fix :version.
6972
d8a52e15
SM
69732012-06-03 Stefan Merten <smerten@oekonux.de>
6974
6975 * textmodes/rst.el: Add comments.
6976 (rst-transition, rst-adornment): New faces.
6977 (rst-adornment-faces-alist): Make default safe to reevaluate.
6978 Fixes
6979 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6980 Improve customization tags.
6981 (rst-define-level-faces): Clarify meaning.
6982
5205d6f6
CY
69832012-06-03 Chong Yidong <cyd@gnu.org>
6984
6985 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6986 (compilation-mode-line-run, compilation-mode-line-exit):
6987 New faces.
5205d6f6
CY
6988 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6989
757ee657
JD
69902012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6991
7c1898a7
SM
6992 * progmodes/which-func.el (which-func-update-ediff-windows):
6993 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6994
5f2c76c6
CY
69952012-06-03 Chong Yidong <cyd@gnu.org>
6996
6997 * bindings.el: Remove explicit help text from format-mode-line.
6998 It is now supplied by mode-line-default-help-echo.
6999 (mode-line-front-space, mode-line-end-spaces)
7000 (mode-line-misc-info): New variables.
7001 (mode-line-modes, mode-line-position): Move the default value to
7002 the variable definition.
7003 (mode-line-default-help-echo): New defcustom.
383f7350
CY
7004 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7005 (mode-line-modified-help-echo): New functions.
7006 (mode-line-mule-info, mode-line-modified): Use them.
7007 (mode-line-eol-desc, propertized-buffer-identification):
7008 Consistency fixes for help text.
cbe46e5f
CY
7009 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7010 set-buffer-file-coding-system (Bug#289).
7011 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7012
f2d6a3df
SM
70132012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * simple.el (execute-extended-command): Set real-this-command
7016 (bug#11506).
7017
37269466
CY
70182012-06-02 Chong Yidong <cyd@gnu.org>
7019
7020 Remove incorrect uses of "modeline" in comments, docstrings, and
7021 function/variable names (Bug#10329).
7022
7023 * cus-edit.el (mode-line):
7024 * dframe.el (dframe-mouse-hscroll):
7025 * emacs-lisp/re-builder.el:
7026 * emacs-lisp/easy-mmode.el (define-minor-mode):
7027 * frame.el (set-frame-name):
7028 * help.el (lookup-minor-mode-from-indicator):
7029 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7030 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7031 (c-toggle-hungry-state):
7032 * progmodes/antlr-mode.el (antlr-language-alist):
7033 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7034 * progmodes/vhdl-mode.el (vhdl-mode):
7035 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7036 * term/ns-win.el (ns-face-at-pos):
7037 * term/sup-mouse.el (sup-mouse-report):
7038 * textmodes/flyspell.el (flyspell-mode-line-string):
7039 * textmodes/ispell.el (ispell-highlight-face):
7040 * textmodes/reftex-global.el:
7041 * vc/vc-arch.el (vc-arch-mode-line-string):
7042 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7043 * vc/vc-git.el (vc-git-mode-line-string):
7044 * vc/vc-hooks.el (vc-display-status)
7045 (vc-default-mode-line-string):
7046 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7047
7048 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7049
7050 * dired.el (dired-sort-set-mode-line): Rename from
7051 dired-sort-set-modeline. All callers changed.
7052
7053 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7054 eshell-status-in-modeline.
7055
7056 * foldout.el (foldout-mode-line-string): Rename from
7057 foldout-modeline-string. All callers changed.
7058 (foldout-update-mode-line): Rename from foldout-update-modeline.
7059
7060 * subr.el (redraw-modeline): Make into obsolete alias.
7061
7062 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7063 timeclock-modeline-display. Make old name an alias.
7064 (timeclock-update-mode-line): Likewise. All callers changed.
7065 (timeclock-mode-line-display): No need to check before using
7066 add-hook.
7067 (timeclock-relative, timeclock-day-over-hook)
7068 (timeclock-use-elapsed, timeclock-mode-string)
7069 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7070
7071 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7072 crisp-mode-modeline-string.
7073
7074 * play/solitaire.el (solitaire-build-mode-line): Rename from
7075 solitaire-build-modeline. All callers changed.
7076
7077 * play/zone.el (zone-hiding-mode-line): Rename from
7078 zone-hiding-modeline. All callers changed.
7079 (zone): Remove unusued `modeline-hidden-level' property.
7080
7081 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7082 xscheme-modeline-initialize. All callers changed.
7083
7084 * strokes.el (strokes-lighter): Rename from
7085 strokes-modeline-string.
7086
7087 * textmodes/sgml-mode.el (html-face-tag-alist)
7088 (html-tag-face-alist): Use mode-line face instead of obsolete
7089 alias modeline.
7090
42152ee4
SM
70912012-06-02 Stefan Merten <smerten@oekonux.de>
7092
7093 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7094 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7095
95f520b5
CY
70962012-06-02 Chong Yidong <cyd@gnu.org>
7097
7098 * image.el (imagemagick-enabled-types): Rename from
7099 imagemagick-types-enable. Add many more types.
7100 (imagemagick-types-inhibit): Change default to nil.
7101 (imagemagick-filter-types): Caller changed.
7102
4a5f187a
SM
71032012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7104
03fef3e6
SM
7105 * emacs-lisp/cl-macs.el: Use backquotes.
7106 (cl-transform-function-property): Use eval-and-compile rather than
7107 abusing `require'.
7108 (defstruct): Use declare-function instead of with-no-warnings.
7109
4a5f187a
SM
7110 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7111 (byte-compile-output-docform): Re-add the print-circle bindings.
7112 (byte-compile-fix-header): Use #$ just because it's shorter.
7113 (byte-compile-output-file-form): Remove defun/defmacro.
7114
bd56924f
MR
71152012-06-01 Martin Rudalics <rudalics@gmx.at>
7116
7117 * simple.el (choose-completion): Remove now obsolete binding for
7118 owindow.
7119
046e38ce
MA
71202012-06-01 Michael Albinus <michael.albinus@gmx.de>
7121
7122 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7123 in order to avoid "Stack overflow in regexp matcher".
7124
32d72c2f
GM
71252012-05-31 Glenn Morris <rgm@gnu.org>
7126
7127 * image.el: For clarity, call imagemagick-register-types at
7128 top-level, rather than relying on a custom :initialize.
7129 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7130 (imagemagick-filter-types): New function. (Bug#7406)
7131 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7132 If disabling support, remove elements altogether rather
7133 than using an impossible regexp.
7134 (imagemagick-types-inhibit): Give it the default init function.
7135
dd41169b
SM
71362012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7137
4a5f187a
SM
7138 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7139 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7140
efc00ab1 71412012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7142
7143 * desktop.el (desktop-read): Clear previous and next buffers for
7144 all windows and bury *Messages* buffer (bug#11556).
7145
500fcedc
SM
71462012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 Add `declare' for `defun'. Align `defmacro's with it.
7149 * emacs-lisp/easy-mmode.el (define-minor-mode)
7150 (define-globalized-minor-mode): Don't autoload the var definitions.
7151 * emacs-lisp/byte-run.el: Use lexical-binding.
7152 (defun-declarations-alist, macro-declarations-alist): New vars.
7153 (defmacro, defun): Use them.
7154 (make-obsolete, define-obsolete-function-alias)
7155 (make-obsolete-variable, define-obsolete-variable-alias):
7156 Use `declare'.
7157 (macro-declaration-function): Mark obsolete.
7158 * emacs-lisp/autoload.el: Use lexical-binding.
7159 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7160
6e8a1786
AM
71612012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7162
7163 * textmodes/ispell.el (ispell-with-no-warnings):
7164 Define as a macro.
500fcedc
SM
7165 (ispell-kill-ispell, ispell-change-dictionary):
7166 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7167 `interactive-p'.
7168
61b108cc
SM
71692012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7170
7171 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7172 (macro-declaration-function): Move var from C code.
7173 (macro-declaration-function): Define function with defalias.
7174 * emacs-lisp/macroexp.el (macroexpand-all-1):
7175 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7176 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7177 defun/defmacro any more.
7178 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7179 Provide fallback for unknown arglist.
7180 (byte-compile-arglist-warn): Change calling convention.
7181 (byte-compile-output-file-form): Move print-vars binding.
7182 (byte-compile-output-docform): Simplify accordingly.
7183 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7184 (byte-compile-defmacro-declaration): Remove.
7185 (byte-compile-file-form-defmumble): Generalize to defalias.
7186 (byte-compile-output-as-comment): Return byte-positions.
7187 Simplify callers accordingly.
7188 (byte-compile-lambda): Use `assert'.
7189 (byte-compile-defun, byte-compile-defmacro): Remove.
7190 (byte-compile-file-form-defalias):
7191 Use byte-compile-file-form-defmumble.
7192 (byte-compile-defalias-warn): Remove.
7193
6d3f7c2f
SM
71942012-05-29 Stefan Merten <smerten@oekonux.de>
7195
7196 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7197 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7198
7199 (rst-mode-abbrev-table): Merge definition.
7200 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7201 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7202
6dbaa1c7
UJ
72032012-05-29 Ulf Jasper <ulf.jasper@web.de>
7204
7205 * calendar/icalendar.el
7206 (icalendar-export-region): Export UID properly.
7207
d209e2fb 72082012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7209 * calendar/icalendar.el (icalendar-import-format):
7210 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7211 (icalendar-import-format-uid): New.
7212 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7213 Export UID.
7214
6876a58d
SM
72152012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7216
7217 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7218 different alternative patterns.
7219 (pcase-codegen): Be more careful to preserve identity.
7220 (pcase--u1): Don't forget to mark vars as used.
7221
7222 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7223 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7224 (byte-compile-from-buffer): ...rather than here.
7225
7226 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7227 functions from byte-compile-function-environment.
7228
46b7967e
TN
72292012-05-29 Troels Nielsen <bn.troels@gmail.com>
7230
7231 * window.el (window-deletable-p): Avoid deleting the root window
7232 of a frame with an active minibuffer.
7233
69d565e2
MR
72342012-05-29 Martin Rudalics <rudalics@gmx.at>
7235
7236 * simple.el (choose-completion): Use quit-window (Bug#11567).
7237
a149fa51
CY
72382012-05-29 Chong Yidong <cyd@gnu.org>
7239
7240 * whitespace.el (whitespace-cleanup): Fix usage of
7241 whitespace-empty-at-bob-regexp (Bug#11492).
7242
2b311310
AH
72432012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7244
7245 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7246 revert (Bug#11488).
7247
b9cb2387
JL
72482012-05-29 Juri Linkov <juri@jurta.org>
7249
7250 * isearch.el (isearch-mode-map): Bind `M-s _' to
7251 `isearch-toggle-symbol'. Bind `M-s c' to
7252 `isearch-toggle-case-fold'.
7253 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7254 (isearch-forward): Add `M-s _' to the docstring.
7255 (isearch-forward-symbol, isearch-toggle-case-fold)
7256 (isearch-symbol-regexp): New functions. (Bug#11381)
7257
d5e61c1c
JL
72582012-05-29 Juri Linkov <juri@jurta.org>
7259
7260 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7261 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7262 a function, call it to get the regexp.
7263 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7264 property `isearch-message-prefix' instead of the string "word ".
7265 (isearch-search-fun-default): For the case of `isearch-word',
7266 return a lambda that calls re-search-forward/re-search-backward
7267 with a regexp returned by `word-search-regexp' or by the function
7268 in `isearch-word'.
7269
8cbd80f7
JL
72702012-05-29 Juri Linkov <juri@jurta.org>
7271
7272 * isearch.el (isearch-search-fun-default): New function.
7273 (isearch-search-fun): Move default part to the new function
7274 `isearch-search-fun-default'.
7275 (isearch-search-fun-function): Set the default value to
7276 `isearch-search-fun-default'. (Bug#11381)
7277
7278 * comint.el (comint-history-isearch-end):
7279 Use `isearch-search-fun-default'.
7280 (comint-history-isearch-search): Use `isearch-search-fun-default'
7281 and remove spacial case for `isearch-word'.
7282 (comint-history-isearch-wrap): Remove spacial case for
7283 `isearch-word'.
7284
7285 * hexl.el (hexl-isearch-search-function):
7286 Use `isearch-search-fun-default'.
7287
7288 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7289 Use `word-search-regexp' for `isearch-word'.
7290
7291 * misearch.el (multi-isearch-search-fun):
7292 Use `isearch-search-fun-default'.
7293
7294 * simple.el (minibuffer-history-isearch-search):
7295 Use `isearch-search-fun-default' and remove spacial case for
7296 `isearch-word'.
7297 (minibuffer-history-isearch-wrap): Remove spacial case for
7298 `isearch-word'.
7299
7300 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7301 Remove spacial case for `isearch-word'.
7302 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7303
85c8c5b6
AM
73042012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7305
7306 Decrease XEmacs incompatibilities.
7307 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7308 Use `string-match'.
7309 (flyspell-delete-region-overlays): Use alternative definition for
7310 XEmacs.
7311 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7312 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7313 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7314 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7315 `define-obsolete-face-alias' under XEmacs, but old method.
7316
7317 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7318 `with-no-warnings' definition or Emacs alias.
7319 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7320 (ispell-word): Do not use `region-p' if XEmacs.
7321
8cab9efc
AM
73222012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7323
7324 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7325 Check for `ispell-dictionary-base-alist' instead of full
7326 `ispell-dictionary-alist'.
7327 (ispell-init-process): Show spellchecker when starting new Ispell
7328 process.
7329
fda91268
RZ
73302012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7331
7332 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7333 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7334
694ea8e3
JB
73352012-05-27 Juanma Barranquero <lekktu@gmail.com>
7336
7337 * version.el (motif-version-string, gtk-version-string)
7338 (ns-version-string): Declare.
7339
e4d4f539
JL
73402012-05-27 Juri Linkov <juri@jurta.org>
7341
7342 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7343 after the `eval-defun-1' specialcaseing
7344 like in `edebug-eval-defun' (bug#10181).
7345
7346 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7347 like in `eval-defun-1'.
7348
33017faf 73492012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7350
fda91268
RZ
7351 * mail/sendmail.el (mail-yank-region):
7352 Recognize rmail-yank-current-message in addition to insert-buffer.
7353 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7354 a *mail* buffer created through rmail-start-mail with sendmail as
7355 mail-user-agent.
7356
33017faf
GM
73572012-05-27 Chong Yidong <cyd@gnu.org>
7358
7359 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7360 Default to 256 (Bug#11267).
7361
7362 * help.el (describe-mode): Doc fix.
7363
04188bb9
GM
73642012-05-26 Glenn Morris <rgm@gnu.org>
7365
38264cc9
GM
7366 * w32-fns.el (w32-init-info): Remove.
7367 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7368
eb7afdad
GM
7369 * info.el (info-initialize): For self-contained NS builds, put the
7370 included info/ directory at the front. (Bug#2791)
7371
04188bb9
GM
7372 * paths.el (Info-default-directory-list): Make it a defcustom,
7373 mainly so that we can use custom-initialize-delay.
7374
a179e3f7
SM
73752012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7376
43416392
SM
7377 * subr.el (buffer-has-markers-at): Mark obsolete.
7378
a179e3f7 7379 * subr.el (lambda): Use declare.
43416392 7380
a179e3f7
SM
7381 * emacs-lisp/lisp-mode.el (lambda):
7382 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7383
34a008d9
AH
73842012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7385
7386 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7387
0a3b289f
GM
73882012-05-26 Glenn Morris <rgm@gnu.org>
7389
7390 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7391
758c81e8
GM
73922012-05-25 Glenn Morris <rgm@gnu.org>
7393
f9f334f0
GM
7394 * paths.el: Remove no-byte-compile.
7395 * loadup.el: No need to load paths.el uncompiled.
7396
87eb79c2
GM
7397 * image.el (imagemagick-types-inhibit): Doc fix.
7398
758c81e8
GM
7399 * version.el: Remove no-byte-compile and associated formatting.
7400 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7401 is ancient code from when there was an "inc-vers.el".
7402
e7e85dc0
SM
74032012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7404
7405 * progmodes/gdb-mi.el: Minor style changes.
7406 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7407 Turn into minor modes.
7408 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7409 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7410 (gdb-shell): Remove unneeded let-binding.
7411 (gdb-get-many-fields): Eliminate O(n²) behavior.
7412
f31237a4
EZ
74132012-05-25 Eli Zaretskii <eliz@gnu.org>
7414
7415 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7416 platforms that don't link in fontset.c.
7417
bc1b21bb
JL
74182012-05-25 Juri Linkov <juri@jurta.org>
7419
7420 Use the same diff color scheme as in modern VCSes (bug#10181).
7421
7422 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7423 to avoid confusion with `diff-added' that now uses green colors.
7424 (diff-removed): Use shades of red.
7425 (diff-added): Use shades of green.
7426 (diff-changed): Leave just the yellow color.
7427 (diff-use-changed-face): New variable.
7428 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7429 how to highlight context diff changes.
7430 (diff-refine-change): Use shades of yellow.
7431 (diff-refine-removed): New face that uses shades of red.
7432 (diff-refine-added): New face that uses shades of green.
7433 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7434 `diff-refine-removed' in the call to `smerge-refine-subst'
7435 depending on the value of `diff-use-changed-face'.
7436
7437 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7438 (smerge-other): Use shades of green.
7439 (smerge-base): Use shades of yellow.
7440 (smerge-refined-change): Empty face.
7441 (smerge-refined-removed): New face that uses shades of red.
7442 (smerge-refined-added): New face that uses shades of green.
7443 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7444 args `props-r' and `props-a', and use them. Doc fix.
7445 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7446 on its value use different faces `smerge-refined-change',
7447 `smerge-refined-removed', `smerge-refined-added' in the call to
7448 `smerge-refine-subst'.
7449
7450 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7451 Add face condition `min-colors 88' with shades of red.
7452 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7453 `min-colors 88' with shades of green.
7454 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7455 `min-colors 88' with shades of yellow.
7456
6df9112c
GM
74572012-05-24 Glenn Morris <rgm@gnu.org>
7458
ead5edc0
GM
7459 * paths.el (prune-directory-list, remote-shell-program): Move to...
7460 * files.el (prune-directory-list, remote-shell-program): ...here.
7461 For the latter, delay initialization, prefer ssh, just search PATH.
7462
f18b81e6
GM
7463 * paths.el (term-file-prefix): Move to faces.el (the only user).
7464 * faces.el (term-file-prefix): Move here, make it a defcustom.
7465
ee2f89a6
GM
7466 * paths.el (news-directory, news-path, news-inews-program):
7467 Move to gnus/nnspool.el.
61a583ca 7468
f8815e4c
GM
7469 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7470
c8f3b42c
GM
7471 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7472 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7473 Make the latter a defcustom, with a delayed initialization.
7474
6df9112c
GM
7475 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7476 These were deleted from Gnus itself late 2010.
7477
5dadff36
JB
74782012-05-22 Juanma Barranquero <lekktu@gmail.com>
7479
9e1701c6
JB
7480 * progmodes/which-func.el (which-func-ff-hook):
7481 Check against user-error, not error.
7482
bd7239f5 7483 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7484 cl-specs.el, which no longer exists.
7485
3290526d
GM
74862012-05-22 Glenn Morris <rgm@gnu.org>
7487
7488 * info.el (info-emacs-bug): New command.
7489 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7490 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7491
ff0c3cfb
GM
74922012-05-21 Glenn Morris <rgm@gnu.org>
7493
7494 * makefile.w32-in (update-subdirs-SH):
7495 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7496
5814f126
SM
74972012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7498
a52c0aa0
SM
7499 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7500
5814f126
SM
7501 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7502 Simplify Maven regexp, and make sure the file can't start with a space
7503 (bug#11517).
7504
b847032c
GM
75052012-05-21 Glenn Morris <rgm@gnu.org>
7506
7507 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7508 Scrap superfluous subshells.
7509
3858bfe7
SM
75102012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7511
7512 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7513 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7514
d14b0029
JB
75152012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7516
7517 * calc/calc.el (calc-ensure-consistent-units): New variable.
7518
a52c0aa0
SM
7519 * calc/calc-units.el (math-consistent-units-p)
7520 (math-check-unit-consistency): New functions.
7521 (calc-quick-units, calc-convert-units):
7522 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7523 is non-nil.
d14b0029
JB
7524 (calc-extract-units): Fix typo.
7525
60c4db3a
SM
75262012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7527
77f3b62e
SM
7528 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7529
60c4db3a
SM
7530 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7531 (flyspell-default-deplacement-commands): Don't spell check after
7532 repeated window/frame switches (e.g. triggered by mouse-movement).
7533 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7534 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7535 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7536 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7537 Remove unused vars.
7538 (flyspell-get-casechars, flyspell-get-not-casechars):
7539 Simplify; Don't bother removing a ] just to add it back.
7540 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7541
d209e2fb 75422012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7543
7544 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7545 New functions.
bd7239f5 7546 (math-function-table): Add support for more C functions.
b1a10716 7547
3f1b25b5
AM
75482012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7549
090bd7cb
JB
7550 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7551 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7552 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7553
b581bb5c
SM
75542012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7555
7556 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7557 their respective macro declarations.
7558 * skeleton.el (define-skeleton):
7559 * progmodes/compile.el (define-compilation-mode):
7560 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7561 (define-ibuffer-filter):
7562 * emacs-lisp/generic.el (define-generic-mode):
7563 * emacs-lisp/easy-mmode.el (define-minor-mode)
7564 (define-globalized-minor-mode):
7565 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7566 * emacs-lisp/byte-run.el (defsubst):
7567 * custom.el (deftheme): Add doc-string metadata.
7568
70b8ef8f
SM
75692012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7570
7571 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7572
b1198e17
SM
75732012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7574
9abdc45d
SM
7575 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7576
b1198e17
SM
7577 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7578 * emacs-lisp/cl-macs.el: Idem.
7579 * emacs-lisp/cl-specs.el: Remove.
7580
4735906a
SM
75812012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 Minor renaming of internal CL functions and variables.
7584 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7585 (cl--position): Rename from cl-position.
7586 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7587 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7588 (cl--random-state): Rename from *random-state*.
7589
ac348012
SM
75902012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7591
7592 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7593 parens around the arg list (bug#11499).
7594
a0a79cde
JL
75952012-05-17 Juri Linkov <juri@jurta.org>
7596
7597 * isearch.el (word-search-regexp, word-search-backward)
7598 (word-search-forward, word-search-backward-lax)
7599 (word-search-forward-lax): Move functions from search.c
7600 (bug#10145, bug#11381).
7601
65034a51
AM
76022012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7603
090bd7cb
JB
7604 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7605 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7606 Delay for otherchars as for normal word components.
65034a51 7607
1a72a195
SM
76082012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7609
7610 * minibuffer.el (completion--sifn-requote): Fix last change.
7611 (minibuffer-local-must-match-filename-map):
7612 Move define-obsolete-variable-alias before its var.
7613
fdb058c2
SM
76142012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7615
c41045e6
SM
7616 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7617
036dfb8b
SM
7618 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7619 behavior.
7620 (completion--string-equal-p): New function.
7621 (completion--twq-all): Use it to get better assertion failure data.
7622
2473256d
SM
7623 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7624 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7625 (shell--requote-argument): New functions.
7626 (shell-completion-vars): Use them.
7627 (shell--parse-pcomplete-arguments): Rename from
7628 shell-parse-pcomplete-arguments.
7629 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7630 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7631 Obey comint-file-name-quote-list.
7632
fdb058c2
SM
7633 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7634 (smie-indent-keyword): Use it.
7635
51fa99f1
SM
76362012-05-14 Stefan Merten <smerten@oekonux.de>
7637
7638 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7639
e18afed7 76402012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7641
7642 * net/rlogin.el (rlogin-mode-map): Fix last change.
7643
e18afed7 76442012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7645
7646 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7647 the following \r\n using a single `process-send-string', since the
7648 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7649 with two `process-send-string's (Bug#11444).
8633b1f4 7650
e18afed7 76512012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7652
fdb058c2
SM
7653 * shell.el (shell-parse-pcomplete-arguments):
7654 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7655
2d21d7f6
WJ
76562012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7657
e18afed7 7658 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7659 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7660 (image-transform-width, image-transform-fit-width): New functions.
7661 (image-transform-properties): Use them.
7662 (image-transform-check-size): New function.
7663 (image-toggle-display-image): Use it (for testing).
7664 (image-transform-set-rotation): Reduce angle mod 360.
7665 Delete obsolete comment.
7666
7102e6d0
WJ
76672012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7668
7669 * image-mode.el: Fix scaling (bug#11399).
7670 (image-transform-resize): Doc fix.
7671 (image-transform-properties): Default scale is 1 and height should
7672 be an integer.
7673
06bc5e6e
SM
76742012-05-13 Johan Bockgård <bojohan@gnu.org>
7675
7676 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7677 than hard-coding `car', to fix misbehavior when moving forward.
7678
0ae03b6a
CY
76792012-05-13 Chong Yidong <cyd@gnu.org>
7680
7681 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7682 (tabulated-list-entries, tabulated-list-padding)
7683 (tabulated-list-sort-key): Make permanent-local.
7684
7685 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7686 (electric-buffer-list): Put electric buffer menu
7687 command descriptions in this docstring, instead of the docstring
7688 of electric-buffer-menu-mode. Code cleanups.
7689 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7690 Electric-buffer-menu-mode.
7691 (electric-buffer-update-highlight): Minor code cleanup.
7692
205a7391
MA
76932012-05-13 Michael Albinus <michael.albinus@gmx.de>
7694
7695 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7696 (Bug#11447)
7697
e5bd0a28
SM
76982012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 Move define-obsolete-variable-alias before the var's definition.
7701 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7702 * tooltip.el (tooltip-hook):
7703 * textmodes/reftex-toc.el (reftex-toc-map):
7704 * textmodes/reftex-sel.el (reftex-select-label-map)
7705 (reftex-select-bib-map):
7706 * textmodes/reftex-index.el (reftex-index-map)
7707 (reftex-index-phrases-map):
7708 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7709 * progmodes/meta-mode.el (meta-mode-map):
7710 * novice.el (disabled-command-hook):
7711 * loadhist.el (unload-hook-features-list):
7712 * frame.el (blink-cursor):
7713 * files.el (find-file-not-found-hooks, write-file-hooks)
7714 (write-contents-hooks):
7715 * emulation/tpu-edt.el (GOLD-map):
7716 * emacs-lock.el (emacs-lock-from-exiting):
7717 * emacs-lisp/generic.el (generic-font-lock-defaults):
7718 * emacs-lisp/chart.el (chart-map):
7719 * dos-fns.el (register-name-alist):
7720 * dired-x.el (dired-omit-files-p):
7721 * desktop.el (desktop-enable):
7722 * cus-edit.el (custom-mode-hook):
7723 * buff-menu.el (buffer-menu-mode-hook):
7724 * bookmark.el (bookmark-read-annotation-text-func)
7725 (bookmark-exit-hooks):
7726 * allout.el (allout-mode-deactivate-hook)
7727 (allout-exposure-change-hook, allout-structure-added-hook)
7728 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7729 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7730 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7731 comes before the corresponding variable's definition.
7732
ac59c2f6
CY
77332012-05-12 Chong Yidong <cyd@gnu.org>
7734
7735 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7736 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7737 (Buffer-menu-mode-map): Bind it.
7738 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7739
dee6c9a3
SM
77402012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7741
2171cea5
SM
7742 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7743 (prolog-upper-case-string, prolog-lower-case-string)
7744 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7745 (prolog-use-smie, prolog-smie-grammar): New vars.
7746 (prolog-smie-forward-token, prolog-smie-backward-token)
7747 (prolog-smie-rules): New funs.
7748 (prolog-comment-indent): Remove.
7749 (prolog-mode-variables): Use default comment indentation instead.
7750 Setup SMIE.
7751 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7752 (prolog-mode): Don't call them any more.
7753 (prolog-electric-colon, prolog-electric-dash)
7754 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7755
aa0382bd
SM
7756 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7757
dbacb4bd
SM
7758 * minibuffer.el (completion--twq-all): Again, allow case differences.
7759
13bdd94c
SM
7760 * term.el: Move keymap initialization code to be more idiomatic.
7761 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7762 (term-terminal-menu): Move initialization into declaration.
7763 (term-escape-char): Let the user set it in her .emacs.
7764
ff46c759
SM
7765 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7766 Provide SMIE-based indentation (not enabled by default yet).
7767 (sh-mode-map): Don't bind electric keys.
7768 Use electric-pair-mode instead of skeleton-pair.
7769 (sh-assignment-regexp): Fit within 80 columns.
7770 (sh-indent-supported): Specify actual shell name instead of boolean.
7771 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7772 (sh-maybe-here-document): Use it. Make obsolete.
7773 (sh-electric-here-document-mode) New minor mode.
7774 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7775 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7776 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7777 (sh-smie-rc-grammar, sh-use-smie): New vars.
7778 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7779 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7780 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7781 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7782 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7783 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7784 (sh-set-shell): Use smie-setup if requested.
7785
dee6c9a3
SM
7786 * term.el (term-set-escape-char): Properly set term-escape-char.
7787 See http://stackoverflow.com/questions/10524656.
7788
9f9aa044
CY
77892012-05-10 Chong Yidong <cyd@gnu.org>
7790
7791 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7792 Use url-generic-parse-url, and handle host names and Windows
7793 filenames properly.
7794 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7795 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7796 URL schemes to work on.
7797 (ffap--toggle-read-only): New function.
7798 (ffap-read-only, ffap-read-only-other-window)
7799 (ffap-read-only-other-frame): Use it.
7800 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7801 necessary for ffap-url-unwrap-remote.
7802
836d29b3
DA
78032012-05-10 Dave Abrahams <dave@boostpro.com>
7804
7805 * cus-start.el (create-lockfiles): Add it.
7806
00fd78ed
CY
78072012-05-09 Chong Yidong <cyd@gnu.org>
7808
7809 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7810 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7811
666b903b 78122012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7813
7814 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7815
666b903b 78162012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7817
7818 * ansi-color.el (ansi-color-process-output): Check for validity of
7819 comint-last-output-start before using it. This avoids a bad
7820 interaction with gdb-mi's input/output buffer.
7821
666b903b 78222012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7823
7824 * files.el (dir-locals-read-from-file):
7825 Mention dir-locals in any error message.
7826
666b903b 78272012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7828
7829 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7830 package (Bug#11410).
7831
f677562b
CY
7832 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7833 variables into description.
7834
666b903b 78352012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7836
7837 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7838 shell-delimiter-argument-list (bug#11348).
7839 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7840
b499d8d0
JB
78412012-05-09 Juanma Barranquero <lekktu@gmail.com>
7842
8f6b6da8
JB
7843 * textmodes/rst.el: Silence byte-compiler warnings.
7844 (rst-re-alist, rst-reset-section-caches): Move around.
7845 (rst-re): Use `characterp', not `char-valid-p'.
7846 (font-lock-beg, font-lock-end): Declare.
7847
4824146a
JB
7848 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7849 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7850
b499d8d0
JB
7851 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7852
ad89bb83
GM
78532012-05-08 Glenn Morris <rgm@gnu.org>
7854
7855 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7856
8bba5a75
SM
78572012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7858
49ed9c8e
SM
7859 * vc/log-edit.el: Add GNU coding standards highlighting.
7860 (log-edit-font-lock-gnu-style)
7861 (log-edit-font-lock-gnu-keywords): New vars.
7862 (log-edit-font-lock-keywords): New fun.
7863 (log-edit-mode): Don't fold case in font-lock.
7864 (log-edit-font-lock-keywords): Do not assume case-folding.
7865
07d00b56
SM
7866 * imenu.el: Misc cleanup. Make docstrings out of comments.
7867 Use lexical-binding.
7868 (imenu--index-alist, imenu--last-menubar-index-alist)
7869 (imenu-menubar-modified-tick): Use defvar-local.
7870 (imenu--split-menu): Remove unused var.
7871 (imenu--cleanup-seen): Declare as global.
7872 (imenu--cleanup): Use dolist.
7873
8bba5a75
SM
7874 * subr.el (defvar-local): Add debug spec and doc-string position.
7875
5075bdb5
GM
78762012-05-08 Glenn Morris <rgm@gnu.org>
7877
090bd7cb 7878 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7879 * language/english.el, language/georgian.el, language/greek.el:
7880 * language/japanese.el, language/khmer.el, language/korean.el:
7881 * language/lao.el, language/misc-lang.el, language/romanian.el:
7882 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7883 * language/thai.el, language/utf-8-lang.el:
7884 Remove no-byte-compile setting.
7885
5075bdb5
GM
7886 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7887
06f679a7
AH
78882012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7889
7890 * progmodes/make-mode.el (makefile-browse):
7891 Remove unnecessary interactive. (Bug#11324)
7892
03794570
GM
78932012-05-07 Glenn Morris <rgm@gnu.org>
7894
af8630f4
GM
7895 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7896
03794570
GM
7897 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7898
f0809a9d
SM
78992012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7900
28be5ce7
SM
7901 * loadup.el: Preload newcomment.el.
7902 * newcomment.el: Move autoload-only code to toplevel.
7903
f0809a9d
SM
7904 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7905 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7906 Handle new :right-align column property.
7907 (tabulated-list-print-col): Idem, plus use `display' text-property to
7908 try and preserve alignment for variable pitch fonts.
7909
1241b724
CY
79102012-05-07 Chong Yidong <cyd@gnu.org>
7911
7912 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7913 (tabulated-list-use-header-line): New var.
7914 (tabulated-list-init-header): Use it.
7915 (tabulated-list-print-fake-header): New function.
7916 (tabulated-list-print): Use it.
7917 (tabulated-list-sort-button-map): Add non-header-line commands.
7918 (tabulated-list-init-header): Add column name property to basic
7919 labels as well.
7920 (tabulated-list-col-sort): Handle non-header-line button case.
7921 (tabulated-list--sort-by-column-name): Fix a corner case.
7922
f0809a9d
SM
7923 * buff-menu.el (list-buffers--refresh):
7924 Handle Buffer-menu-use-header-line.
1241b724 7925
e5f9458f
CY
79262012-05-06 Chong Yidong <cyd@gnu.org>
7927
7928 * buff-menu.el: Convert to Tabulated List mode.
7929 (Buffer-menu-buffer+size-width): Make obsolete.
7930 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7931 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7932 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7933 documentation into docstring of buffer-menu.
7934 (Buffer-menu-toggle-files-only): Add an informative message.
7935 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7936 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7937 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7938 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7939 (Buffer-menu-execute, Buffer-menu-select)
7940 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7941 (Buffer-menu-bury): Use Tabulated List machinery.
7942 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7943 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7944 Delete.
e5f9458f
CY
7945 (list-buffers--refresh): New function.
7946 (list-buffers-noselect): Use it.
7947 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7948 (Buffer-menu--pretty-file-name): New helper functions.
7949
7950 * loadup.el: Preload tabulated-list.
7951
7952 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7953 tabulated-list-sort-column.
7954 (tabulated-list-init-header): Add the initial aligning space even
7955 if tabulated-list-padding is zero.
7956
e129292c
CS
79572012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7958
7959 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7960 whose cdr is not a cons cell correctly (bug#11038).
7961
6632d361
CY
79622012-05-06 Chong Yidong <cyd@gnu.org>
7963
e129292c
CS
7964 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7965 Accept additional plist in column descriptors.
6632d361
CY
7966 (tabulated-list-init-header): Obey it.
7967 (tabulated-list-get-entry): New function.
7968 (tabulated-list-put-tag): Use it. Use string-width instead of
7969 length.
7970 (tabulated-list--column-number): New function.
7971 (tabulated-list-print): Use it.
e129292c
CS
7972 (tabulated-list-print-col): New function.
7973 Set `tabulated-list-column-name' property on each column's text.
6632d361 7974 (tabulated-list-print-entry): Use it.
e129292c
CS
7975 (tabulated-list-delete-entry, tabulated-list-set-col):
7976 New functions.
6632d361
CY
7977 (tabulated-list-sort-column): New command (Bug#11337).
7978
3cc99f68
CY
7979 * buff-menu.el (list-buffers): Move C-x C-b binding from
7980 buff-menu.el to bindings.el.
7981
7982 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7983 :advertised-binding feature.
7984
52b61776
TN
79852012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7986
7987 * progmodes/compile.el (compilation-internal-error-properties):
7988 Calculate start position correctly when end-col is set but
7989 end-line is not (Bug#11382).
7990
ebfe2597
WJ
79912012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7992
7993 * man.el (Man-unindent): Use text-property-default-nonsticky to
7994 prevent untabify from inheriting face properties (Bug#11408).
7995
6d3f7c2f
SM
79962012-05-05 Stefan Merten <smerten@oekonux.de>
7997
7998 * textmodes/rst.el: Major merge with upstream development up to
7999 Docutils SVN r7399 / rst.el V1.2.1.
8000
8001 Clarify maintainership and authors.
8002
8003 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8004 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8005 (rst-official-version, rst-official-cvs-rev, rst-version)
8006 (rst-package-emacs-version-alist): New functions and variables
8007 for version information.
8008
8009 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8010 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8011 (rst-mode-syntax-table, rst-mode): New and corrected functions
8012 and variables representing reStructuredText features.
8013
8014 (rst-re): New function for reStructuredText regexes. Use in
8015 many places.
8016
8017 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8018 (rst-mode-map): Rebind keys.
8019
8020 (rst-mode-lazy, rst-font-lock-keywords)
8021 (rst-font-lock-extend-region)
8022 (rst-font-lock-extend-region-internal)
8023 (rst-font-lock-extend-region-extend)
8024 (rst-font-lock-find-unindented-line-limit)
8025 (rst-font-lock-find-unindented-line-match)
8026 (rst-adornment-level, rst-font-lock-adornment-level)
8027 (rst-font-lock-adornment-match)
8028 (rst-font-lock-handle-adornment-pre-match-form)
8029 (rst-font-lock-handle-adornment-matcher): Major revision of
8030 font-locking. Integrate with other code. Use `jit-lock-mode'.
8031
8032 (rst-preferred-adornments, rst-adjust-hook)
8033 (rst-new-adornment-down, rst-preferred-bullets)
8034 (rst-preferred-bullets, rst-indent, rst-indent-width)
8035 (rst-indent-field, rst-indent-literal-normal)
8036 (rst-indent-literal-minimized, rst-indent-comment): Change,
8037 extend and improve customization.
8038
8039 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8040 (rst-normalize-cursor-position, rst-get-decoration)
8041 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8042 (rst-rstrip, rst-toc-insert-find-delete-contents)
8043 (rst-shift-fill-region, rst-compute-bullet-tabs)
8044 (rst-debug-print-tabs, rst-debug-mark-found)
8045 (rst-shift-region-guts, rst-shift-region-right)
8046 (rst-shift-region-left, rst-use-char-classes)
8047 (rst-font-lock-keywords-function)
8048 (rst-font-lock-indentation-point)
8049 (rst-font-lock-find-unindented-line-begin)
8050 (rst-font-lock-find-unindented-line-end)
8051 (rst-font-lock-find-unindented-line)
8052 (rst-font-lock-adornment-point, rst-font-lock-level)
8053 (rst-adornment-level-alist): Remove functions and variables.
8054
8055 (rst-compare-adornments, rst-get-adornment-match)
8056 (rst-suggest-new-adornment, rst-get-adornments-around)
8057 (rst-adornment-complete-p, rst-get-next-adornment)
8058 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8059 (rst-straighten-adornments): Standardize function names to
8060 use "adornment" instead of "decoration". Correct callers.
8061 Similar standardizing in many places.
8062
8063 (rst-update-section, rst-adjust, rst-promote-region)
8064 (rst-enumerate-region, rst-bullet-list-region)
8065 (rst-repeat-last-character): Correct use of `interactive'.
8066
8067 (rst-classify-adornment, rst-find-all-adornments)
8068 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8069 (rst-find-leftmost-column, rst-repeat-last-character):
8070 Refactor functions.
8071
8072 (rst-find-title-line, rst-reset-section-caches)
8073 (rst-get-adornments-around, rst-adjust-adornment-work)
8074 (rst-arabic-to-roman, rst-roman-to-arabic)
8075 (rst-insert-list-pos, rst-insert-list-new-item)
8076 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8077 New functions.
8078
8079 (rst-all-sections, rst-section-hierarchy)
8080 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8081 New variables.
8082
8083 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8084 configuration instead of only buffer. Change where necessary.
8085
8086 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8087 (rst-shift-region, rst-adaptive-fill): New functions for
8088 indentation and filling.
8089
8090 (rst-comment-line-break, rst-comment-indent)
8091 (rst-comment-insert-comment, rst-comment-region)
8092 (rst-uncomment-region): New functions for handling comments.
8093
8094 (rst-compile): Quote shell arguments.
8095
8096 (rst-compile-pdf-preview, rst-compile-slides-preview):
8097 Delete temporary files after use.
8098
a43f98b3
GM
80992012-05-05 Glenn Morris <rgm@gnu.org>
8100
48176e8b
GM
8101 * calendar/cal-html.el: Optionally include holidays in the output.
8102 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8103 (cal-html-holidays): New option.
8104 (cal-html-css-default): Add holiday entry.
8105 (holiday-in-range): Autoload it.
8106 (cal-html-htmlify-entry): Add optional class argument.
8107 (cal-html-htmlify-list): Add optional holidays argument.
8108 (cal-html-insert-agenda-days): Include holidays in the output.
8109 (cal-html-one-month): Maybe include holidays.
8110
a43f98b3
GM
8111 * calendar/holidays.el (holiday-in-range):
8112 Move here from cal-tex-list-holidays.
8113 * calendar/cal-tex.el (cal-tex-list-holidays):
8114 Make it an obsolete alias for holiday-in-range. Update all callers.
8115
fef9d149 81162012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8117
8118 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8119 Nextstep.
8120
248da2f4
RW
81212012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8122
8123 * files.el (file-auto-mode-skip): New var.
8124 (set-auto-mode-1): Use it.
8125
f95e9344
SM
81262012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8127
df96ab1e
SM
8128 * repeat.el: Use lexical-binding.
8129 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8130 (repeat-undo-count): Remove.
8131 (repeat):
8132 * progmodes/octave-mod.el (octave-abbrev-start):
8133 * progmodes/f90.el (f90-abbrev-start):
8134 * face-remap.el (text-scale-adjust):
8135 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8136
5342bb06
SM
8137 * emacs-lisp/pcase.el (pcase--let*): New function.
8138 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8139 a bit more.
8140 (pcase--split-pred): Be more clever about ruling out overlap between
8141 a predicate and some constant pattern.
8142 (pcase--q1): Use `null' instead of (eq foo nil).
8143
f95e9344
SM
8144 * subr.el (setq-local, defvar-local): New macros.
8145 (kbd): Redefine as an alias.
8146 (with-selected-window): Leave unrelated frames alone.
8147 (set-temporary-overlay-map): New function.
8148
71873e2b
SM
81492012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8150
8151 * subr.el (user-error): New function.
8152 * window.el (switch-to-buffer):
8153 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8154 (smerge-match-conflict):
8155 * simple.el (previous-matching-history-element)
8156 (next-matching-history-element, goto-history-element, undo-more)
8157 (undo-start):
8158 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8159 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8160 (next-file, tags-loop-scan, list-tags, complete-tag):
8161 * progmodes/compile.el (compilation-loop):
8162 * mouse.el (mouse-minibuffer-check):
8163 * man.el (Man-bgproc-sentinel, Man-goto-page):
8164 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8165 (Info-history-forward, Info-follow-reference, Info-menu)
8166 (Info-extract-menu-item, Info-extract-menu-counting)
8167 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8168 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8169 (Info-next-reference, Info-prev-reference, Info-index)
8170 (Info-index-next, Info-follow-nearest-node)
8171 (Info-copy-current-node-name):
8172 * imenu.el (imenu--make-index-alist)
8173 (imenu-default-create-index-function, imenu-add-to-menubar):
8174 * files.el (basic-save-buffer, recover-file):
8175 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8176 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8177 (checkdoc-message-text, checkdoc-defun):
8178 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8179 * cus-edit.el (customize-changed-options, customize-rogue)
8180 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8181 (custom-variable-mark-to-reset-standard)
8182 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8183 (custom-file):
8184 * completion.el (check-completion-length):
8185 * comint.el (comint-search-arg)
8186 (comint-previous-matching-input-string-position)
8187 (comint-previous-matching-input)
8188 (comint-replace-by-expanded-history-before-point, comint-send-input)
8189 (comint-copy-old-input, comint-backward-matching-input)
8190 (comint-goto-process-mark, comint-set-process-mark):
8191 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8192 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8193
8a61ee22
SM
81942012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8195
66408d1e
SM
8196 * dabbrev.el (dabbrev--ignore-case-p): New function.
8197 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8198 Use it.
8199
8a61ee22
SM
8200 * files.el (automount-dir-prefix): Mark as obsolete.
8201
3c74813a
GM
82022012-05-04 Glenn Morris <rgm@gnu.org>
8203
8204 * patcomp.el, play/bruce.el: Move to obsolete/.
8205
0bfcf5c5
PE
82062012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8207
8208 Fix minor Y10k bugs.
8209 * arc-mode.el (archive-unixdate):
8210 * autoinsert.el (auto-insert-alist):
8211 * calc/calc-forms.el (math-this-year):
8212 * emacs-lisp/copyright.el (copyright-current-year)
8213 (copyright-update-year, copyright):
8214 * tar-mode.el (tar-clip-time-string):
8215 * time.el (display-time-update):
8216 Don't assume years have 4 digits.
8217
78f3273a
CY
82182012-05-04 Chong Yidong <cyd@gnu.org>
8219
8220 * dos-w32.el (file-name-buffer-file-type-alist)
8221 (direct-print-region-use-command-dot-com):
8222 * ffap.el (ffap-menu-regexp):
8223 * find-file.el (ff-special-constructs):
8224 * follow.el (follow-debug):
8225 * forms.el (forms--debug):
8226 * iswitchb.el (iswitchb-all-frames):
8227 * ido.el (ido-all-frames):
8228 * emacs-lisp/timer.el (timer-max-repeats):
8229 * mail/feedmail.el (feedmail-mail-send-hook)
8230 (feedmail-mail-send-hook-queued):
8231 * mail/footnote.el (footnote-signature-separator):
8232 * mail/mailabbrev.el (mail-alias-separator-string)
8233 (mail-abbrev-mode-regexp):
8234 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8235 * progmodes/idlwave.el (idlwave-libinfo-file)
8236 (idlwave-default-completion-case-is-down)
8237 (idlwave-library-routines): Convert defvars to defcustoms.
8238
8239 * mail/rmail.el (rmail-decode-mime-charset):
8240 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8241 (idlwave-shell-fix-inserted-breaks)
8242 (idlwave-shell-activate-alt-keybindings)
8243 (idlwave-shell-use-breakpoint-glyph):
8244 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8245
f7ae6719
SM
82462012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8247
8248 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8249
47086495
WS
82502012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8251
8252 * progmodes/verilog-mode.el (font-lock-keywords):
8253 Fix mis-highligting auto. Reported by Craig Barner.
8254 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8255 defines from global name space. Reported by Dan Dever.
47086495
WS
8256 (verilog-auto-reset, verilog-auto-reset-widths)
8257 (verilog-auto-tieoff): Support using unbased numbers for
8258 AUTORESET and AUTOTIEOFF.
8259 (verilog-submit-bug-report): Update variable list.
8260 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8261 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8262 (verilog-auto-template-lint): Fix hash error when linting modules
8263 with no used templates.
8264 (verilog-warn, verilog-warn-error)
8265 (verilog-warn-fatal): When non-interactive report multiple
8266 warnings before exiting. Suggested by Brad Dobbie.
8267 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8268 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8269 to report unused template errors. Reported by Brad Dobbie.
8270 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8271 nets, bug438. Reported by Vns Blore.
47086495
WS
8272 (verilog-auto-inout-module, verilog-auto-reg)
8273 (verilog-read-decls, verilog-read-sub-decls-sig)
8274 (verilog-signals-edit-wire-reg, verilog-signals-with):
8275 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8276 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8277 "reg" for backwards compatibility presuming Verilog 2001.
8278 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8279 (verilog-preprocess): Fix replication of preprocess output.
8280 Reported by Brad Dobbie.
8281 (verilog-auto-inst-interfaced-ports):
8282 Create verilog-auto-inst-interfaced-ports, bug429.
8283 Reported by Julian Gorfajn.
8284 (verilog-after-save-font-hook)
8285 (verilog-before-save-font-hook): New variable.
8286 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8287 (verilog-save-font-mods): Wrap disabling fontification, reported
8288 by David Rogoff.
8289 (verilog-do-indent, verilog-pretty-declarations-auto)
8290 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8291 Reported by Pierre-David Pfister.
8292 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8293 of class declarations, bug292. Reported by Kevin Heilman.
8294 (verilog-read-decls): Fix 'parameter type' not appearing in
8295 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8296 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8297 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8298 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8299 Reported by David Kravitz.
8300
83012012-05-03 Michael McNamara <mac@mail.brushroad.com>
8302
8303 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8304 assignment with tests in ifs and for loops.
8305 (verilog-extended-complete-re, verilog-complete-reg): Change so
8306 that DPI inport functions don't look like fuction declarations.
8307 (verilog-pretty-expr): Don't line up assignment
8308 operations to the test and increment in if and for loops
8309 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8310 that DPI inport functions don't look like fuction declarations.
47086495 8311
2e51d4b5
KH
83122012-05-03 Kenichi Handa <handa@m17n.org>
8313
8314 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8315 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8316 (Bug#11282).
8317
2bd785a2
SM
83182012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8319
8320 * emacs-lisp/bytecomp.el
8321 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8322 since cconv.el might have introduced :fun-body, internal-make-closure,
8323 and friends for bytecomp to handle (bug#11391).
8324 * custom.el (defcustom): Avoid ((λ ..) ..).
8325
99d27583
SM
83262012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8327
8328 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8329
55a71479
JB
83302012-05-02 Juanma Barranquero <lekktu@gmail.com>
8331
8332 * notifications.el (dbus-debug):
8333 * term/linux.el (gpm-mouse-enable):
8334 * term/screen.el (xterm-register-default-colors): Declare.
8335
7b97c764
CY
83362012-05-02 Chong Yidong <cyd@gnu.org>
8337
2bc356d7
CY
8338 * cus-start.el (gc-cons-percentage, exec-suffixes)
8339 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8340 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8341 (make-cursor-line-fully-visible, void-text-area-pointer)
8342 (font-list-limit): Add customization data.
8343
7b97c764
CY
8344 * allout.el (allout-exposure-change-functions)
8345 (allout-structure-added-functions)
8346 (allout-structure-deleted-functions)
8347 (allout-structure-shifted-functions): Rename abnormal hooks from
8348 *-hook, and convert to defcustoms.
5d3385a0
JB
8349 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8350 Convert to defcustoms.
7b97c764
CY
8351 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8352
8353 * allout-widgets.el: Hook callers changed.
8354
90207a15 83552012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8356
8357 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8358 the yanked message in preference to the default value of
8359 buffer-file-coding-system.
8360
90207a15 83612012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8362
5d3385a0
JB
8363 * window.el (display-buffer--action-function-custom-type):
8364 Fix entry.
d9558cad 8365
90207a15 83662012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8367
8368 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8369
d80ac57b
GM
83702012-05-01 Glenn Morris <rgm@gnu.org>
8371
976f7668
GM
8372 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8373
beb83b5a
GM
8374 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8375
d80ac57b
GM
8376 * cus-edit.el (custom-variable-documentation): Simplify with format.
8377
b593d6a9 83782012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8379 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8380
8381 * simple.el (suggest-key-bindings, execute-extended-command):
8382 Move from keyboard.c.
8383
782fbf2a
CY
83842012-05-01 Chong Yidong <cyd@gnu.org>
8385
8386 * follow.el: Eliminate advice.
8387 (set-process-filter, process-filter, sit-for): Advice deleted.
8388 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8389 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8390 Vars deleted.
782fbf2a
CY
8391 (follow-auto): Use a :set function.
8392 (follow-mode): Rewritten. Don't advise process filters.
8393 (follow-switch-to-current-buffer-all, follow-scroll-up)
8394 (follow-scroll-down): Assume follow-mode is bound.
8395 (follow-comint-scroll-to-bottom)
8396 (follow-align-compilation-windows): New functions.
8397 (follow--window-sorter): New function.
8398 (follow-all-followers): Use it to explicitly sort windows by their
8399 positions; don't make assumptions about next-window order.
8400 (follow-windows-start-end, follow-delete-other-windows-and-split)
8401 (follow-calc-win-start): Doc fix.
8402 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8403 vertical-motion unnecessarily.
8404 (follow-adjust-window): New function.
8405 (follow-post-command-hook): Use it.
8406 (follow-call-set-process-filter, follow-call-process-filter)
8407 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8408 (follow-stop-intercept-process-output, follow-generic-filter):
8409 Functions deleted.
8410 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8411 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8412 New functions, replacing advice on scroll-bar-* commands.
87233a14 8413 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8414
8415 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8416 (comint-postoutput-scroll-to-bottom): Use it.
8417 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8418
290af740
GM
84192012-05-01 Glenn Morris <rgm@gnu.org>
8420
8421 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8422 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8423 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8424 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8425 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8426 Remove no-byte-compile setting.
8427
6eac8dc9
SM
84282012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8429
8430 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8431 all-completions code to not return a number in the last cdr.
8432
9cc7819c
LL
84332012-04-30 Leo Liu <sdl.web@gmail.com>
8434
8435 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8436 read-only error.
8437
c93b886f
CY
84382012-04-29 Chong Yidong <cyd@gnu.org>
8439
8440 * follow.el (follow-calc-win-end): Rewrite to handle partial
8441 screen lines correctly (Bug#8390).
8442 (follow-avoid-tail-recenter): Minor cleanup.
8443
8b6c19f4
SM
84442012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 Avoid the obsolete `assoc' package.
8447 * speedbar.el (speedbar-refresh): Avoid adelete.
8448 (speedbar-file-lists): Simplify and avoid aput.
8449 * man.el (Man--sections, Man--refpages): New vars, replacing
8450 Man-sections-alist and Man-refpages-alist.
8451 (Man-build-section-alist, Man-build-references-alist):
8452 Use them; avoid aput.
8453 (Man--last-section, Man--last-refpage): New vars.
8454 (Man-follow-manual-reference): Use them.
8455 Use the `default' arg of completing-read.
8456 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8457
c5bb7569
CY
84582012-04-27 Chong Yidong <cyd@gnu.org>
8459
d1d2e2e8
CY
8460 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8461
15cd8efd
CY
8462 * startup.el (x-apply-session-resources): New function.
8463
8464 * term/ns-win.el (ns-initialize-window-system):
8465 * term/w32-win.el (w32-initialize-window-system):
8466 * term/x-win.el (x-initialize-window-system): Use it to properly
8467 set menu-bar-mode and other vars from X resources, even if the
8468 initial frame is not a window-system frame (Bug#2299).
8469
c5bb7569
CY
8470 * subr.el (read-key): Avoid running filter function when setting
8471 up temporary tool bar entries (Bug#9922).
8472
a8e7d6d7 84732012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8474
8475 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8476 (Bug#11344)
8477
a8e7d6d7 84782012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8479
8480 * select.el (xselect--encode-string): New function, split from
8481 xselect-convert-to-string.
8482 (xselect-convert-to-string): Use it.
8483 (xselect-convert-to-filename, xselect-convert-to-os)
8484 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8485 returned strings are properly encoded (Bug#11315).
8486
a8e7d6d7 84872012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8488
8489 * simple.el (delete-active-region): Move to killing custom group.
8490
a8e7d6d7 84912012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8492
8493 * progmodes/which-func.el (which-func-current): Quote %
8494 characters for mode-line processing.
8495
578c1d4b 84962012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8497
8498 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8499 reaching eob (Bug#11286).
8500
a8e7d6d7 85012012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8502
8503 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8504 (gdb): Make it buffer-local and init to zero.
8505 (gdb-control-commands-regexp): New variable.
8506 (gdb-send): Don't wrap in "-interpreter-exec console" if
8507 gdb-control-level is positive. Increment gdb-control-level
8508 whenever the command matches gdb-control-commands-regexp, and
8509 decrement it each time the command is "end". (Bug#11279)
8510
a8e7d6d7 85112012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8512
8513 * window.el (adjust-window-trailing-edge, enlarge-window)
8514 (shrink-window, window-resize):
8515 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8516 windows (Bug#11276).
8517
b3608390
CY
85182012-04-27 Chong Yidong <cyd@gnu.org>
8519
8520 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8521 fix "missing prefix" warning. All callers changed.
b3608390 8522
797e6e88
SM
85232012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8524
8525 * emacs-lisp/assoc.el: Move to obsolete/.
8526
e95a67dc
SM
85272012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8528
657c21e4 8529 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8530
8531 * term/ns-win.el (ns-define-service):
8532 * progmodes/pascal.el (pascal-goto-defun):
8533 * progmodes/js.el (js--read-tab):
8534 * progmodes/etags.el (tags-lazy-completion-table):
8535 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8536 * emacs-lisp/ewoc.el (ewoc--wrap):
8537 * emacs-lisp/assoc.el (aput, adelete, amake):
8538 * doc-view.el (doc-view-convert-current-doc):
8539 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8540
cb3e7ae0
CY
85412012-04-26 Chong Yidong <cyd@gnu.org>
8542
dce04f7f
CY
8543 * image.el (image-type-from-buffer): Only return supported image
8544 type (Bug#9045).
8545
cb3e7ae0
CY
8546 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8547 value, for symmetry with diff-end-of-hunk.
8548 (diff-split-hunk, diff-find-source-location)
8549 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8550 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8551 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8552 compute the relevant hunk or file properly (Bug#6005).
8553 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8554
0d42eb3e
SM
85552012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8556
8557 * vc/vc-mtn.el:
8558 * vc/vc-hg.el:
8559 * vc/vc-git.el:
8560 * vc/vc-dir.el:
8561 * vc/vc-cvs.el:
8562 * vc/vc-bzr.el:
8563 * vc/vc-arch.el:
8564 * vc/vc.el: Replace lexical-let by lexical-binding.
8565 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8566 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8567 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8568
f08ae1c9
CY
85692012-04-26 Chong Yidong <cyd@gnu.org>
8570
8b71081d
CY
8571 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8572 (diff-mode-shared-map): Bind it to / and [remap undo].
8573
f08ae1c9
CY
8574 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8575 (ediff-window-setup-function): Use it as the default, to set up
8576 windows based on whether the current frame is graphical (Bug#2138).
8577 (ediff-choose-window-setup-function-automatically): Make obsolete.
8578
8579 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8580
ef24141c
SM
85812012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8582
cc356a5d
SM
8583 * ffap.el: Remove old code for obsolete package.
8584 (ffap-complete-as-file-p): Remove.
8585
b4ff4f1f
SM
8586 Use completion-table-with-quoting for comint and pcomplete.
8587 * comint.el (comint--unquote&requote-argument)
8588 (comint--unquote-argument, comint--requote-argument): New functions.
8589 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8590 (comint-quote-filename): Use regexp-opt-charset.
8591 (comint--common-suffix, comint--common-quoted-suffix)
8592 (comint--table-subvert): Remove.
8593 (comint-unquote-function, comint-requote-function): New vars.
8594 (comint--complete-file-name-data): Use them with
8595 completion-table-with-quoting.
8596 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8597 * pcomplete.el (pcomplete-arg-quote-list)
8598 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8599 (pcomplete-unquote-argument-function): Default to non-nil.
8600 (pcomplete-unquote-argument): Simplify.
8601 (pcomplete--common-quoted-suffix): Remove.
8602 (pcomplete-requote-argument-function): New var.
8603 (pcomplete--common-suffix): New function.
8604 (pcomplete-completions-at-point): Use completion-table-with-quoting
8605 and completion-table-subvert.
8606
79c4eeb4
SM
8607 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8608 (minibuffer--double-dollars): Preserve properties.
8609 (completion--sifn-requote): New function.
8610 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8611
ef24141c
SM
8612 * minibuffer.el: Add support for completion of quoted/escaped data.
8613 (completion-table-with-quoting, completion-table-subvert): New funs.
8614 (completion--twq-try, completion--twq-all): New functions.
8615 (completion--nth-completion): New function.
8616 (completion-try-completion, completion-all-completions): Use it.
8617
784e7d6e
LL
86182012-04-25 Leo Liu <sdl.web@gmail.com>
8619
dd2ac746
SM
8620 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8621 Use compilation-message if available to find real filename.
784e7d6e 8622
07875ee7
CY
86232012-04-25 Chong Yidong <cyd@gnu.org>
8624
8625 * vc/diff-mode.el (diff-setup-whitespace): New function.
8626 (diff-mode): Use it.
8627
8628 * vc/diff.el (diff-sentinel):
8629 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8630 Whitespace mode variables based on diff style (Bug#8612).
8631
5055880d
LL
86322012-04-25 Leo Liu <sdl.web@gmail.com>
8633
daf75653
LL
8634 * progmodes/python.el (python-send-region): Add suffix .py to the
8635 temp file.
8636
5055880d
LL
8637 * files.el (auto-mode-alist): Use javascript-mode instead.
8638
db9b177b
AH
86392012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8640
ef24141c 8641 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8642
090bd7cb 8643 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8644 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8645 references, see Bug#9.
ef24141c 8646 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8647 when receiving a fault reply.
ef24141c 8648 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8649
090bd7cb 8650 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8651 (soap-inspect-simple-type): New function.
db9b177b 8652
090bd7cb 8653 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8654 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8655 (soap-decode-basic-type, soap-encode-basic-type):
8656 support unsignedInt and double basic types.
db9b177b 8657 (soap-resolve-references-for-simple-type)
ef24141c
SM
8658 (soap-parse-simple-type, soap-encode-simple-type): New function.
8659 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8660
090bd7cb 8661 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8662 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8663 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8664 the local name of "soapenc:Array".
8665 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8666 decoding integer, byte and anyURI xsd types.
8667
1fc6097b
CY
86682012-04-25 Chong Yidong <cyd@gnu.org>
8669
8670 * cus-edit.el (custom-buffer-create-internal): Update header text.
8671
afc6df87
EZ
86722012-04-25 Eli Zaretskii <eliz@gnu.org>
8673
8674 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8675 settings on 'system-type', not on 'window-system'. On MS-Windows,
8676 set interactive-mode on in GDB.
8677
dfbd787f
SM
86782012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8679
8680 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8681 (ruby-syntax-propertize-regexp): Remove.
8682 (ruby-syntax-propertize-function): Split regexp into chunks.
8683 Match following code directly.
8684
85222d44
DG
86852012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8686
51a8ea2a
DG
8687 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8688 (ruby-syntax-propertize-regexp): New function.
8689 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8690 by a special keyword.
8691
85222d44
DG
8692 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8693 (ruby-syntax-general-delimiters-goto-beg)
8694 (ruby-syntax-propertize-general-delimiters): New functions.
8695 (ruby-syntax-propertize-function): Use them to handle GDL.
8696 (ruby-font-lock-keywords): Move old handling of GDL...
8697 (ruby-font-lock-syntactic-keywords): .. to here.
8698 (ruby-calculate-indent): Adjust indentation for GDL.
8699
b613912b
MA
87002012-04-24 Michael Albinus <michael.albinus@gmx.de>
8701
b5380639
MA
8702 * notifications.el (top): Remove unneeded declarations.
8703 (notifications-specification-version): Change to "1.2".
e43042fe 8704 (notifications-interface, notifications-notify-method)
b613912b
MA
8705 (notifications-close-notification-method): Fix docstring.
8706 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8707 (notifications-notify): Add :action-items, :resident and
8708 :transient hints. Change "image_data" to "image-data" and
8709 "image_path" to "image-path".
b613912b
MA
8710 (notifications-get-capabilities): New defun.
8711
257440aa
LL
87122012-04-24 Leo Liu <sdl.web@gmail.com>
8713
8714 * progmodes/python.el: Move hideshow setup to the end.
8715
b1bac16e
MR
87162012-04-24 Martin Rudalics <rudalics@gmx.at>
8717
8718 * window.el (handle-select-window): Clear echo area since this is
8719 no more done by read_char (Bug#11304).
8720
d81bd059
SM
87212012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8722
8723 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8724 and `/ M' to filter-derived-mode.
8725 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8726 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8727 (ibuffer-mark-by-mode): Use default rather than initial-input.
8728 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8729
c4cf6d91
IA
87302012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8731
8732 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8733 (ibuffer-filter-by-derived-mode): New filter.
8734 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8735
7511ded8
CY
87362012-04-23 Andreas Politz <politza@fh-trier.de>
8737
8738 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8739
775c916b
CY
87402012-04-23 Chong Yidong <cyd@gnu.org>
8741
8742 * cus-edit.el (customize-apropos, customize-apropos-options):
8743 Disable matching of non-option variables (Bug#11176).
8744 (customize-option, customize-option-other-window)
8745 (customize-changed-options): Doc fix.
8746 (customize-apropos-options, customize-apropos-faces)
8747 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8748
8749 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8750 Fix word list splitting (Bug#11132).
46c71e23
CY
8751 (apropos-symbol, apropos-keybinding, apropos-label)
8752 (apropos-property, apropos-function-button)
8753 (apropos-variable-button, apropos-misc-button): New faces.
8754 (apropos-symbol-face, apropos-keybinding-face)
8755 (apropos-label-face, apropos-property-face, apropos-match-face):
8756 Variables removed (Bug#8396).
8757 (apropos-library-button, apropos-format-plist, apropos-print)
8758 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8759
2df41f9c
MA
87602012-04-23 Michael Albinus <michael.albinus@gmx.de>
8761
8762 * net/xesam.el (xesam-mode-map): Use let-bound map in
8763 initialization. (Bug#11292)
8764
da00640a
AM
87652012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8766
8767 Preserve ispell session localwords when switching back to
8768 original buffer.
8769
090bd7cb
JB
8770 * textmodes/ispell.el (ispell-buffer-session-localwords):
8771 New buffer-local variable to hold buffer session localwords.
ed9265fc 8772 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8773 localwords.
8774 (ispell-command-loop, ispell-change-dictionary)
8775 (ispell-buffer-local-words): Preserve session localwords when
8776 needed.
8777
090bd7cb
JB
8778 * textmodes/flyspell.el (flyspell-process-localwords)
8779 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8780
f621ccf5
AM
87812012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8782
090bd7cb
JB
8783 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8784 using obsolete `translation-table-for-input'.
ef24141c
SM
8785 (ispell-word, ispell-process-line, ispell-complete-word):
8786 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8787
c2d1019e
CY
87882012-04-22 Chong Yidong <cyd@gnu.org>
8789
8790 * cus-edit.el (custom-variable-menu)
8791 (custom-variable-reset-saved, custom-face-menu)
8792 (custom-face-reset-saved): If there is no saved value, make the
8793 "reset-saved" operation bring back the default (Bug#9509).
8794 (custom-face-state): Properly detect themed faces.
8795
eeddc531
CY
8796 * faces.el (face-spec-set): Stop supporting deprecated form of
8797 third arg.
8798
dcbf5805
MA
87992012-04-22 Michael Albinus <michael.albinus@gmx.de>
8800
8801 Move functions from C to Lisp. Make non-blocking method calls
8802 the default. Implement further D-Bus standard interfaces.
8803
ef24141c
SM
8804 * net/dbus.el (dbus-message-internal): Declare function.
8805 Remove unneeded function declarations.
dcbf5805
MA
8806 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8807 (dbus-message-type-method-return, dbus-message-type-error)
8808 (dbus-message-type-signal): Declare variables. Remove local
8809 definitions.
8810 (dbus-interface-dbus, dbus-interface-peer)
8811 (dbus-interface-introspectable, dbus-interface-properties)
8812 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8813 Adapt docstring.
8814 (dbus-interface-objectmanager): New defconst.
8815 (dbus-call-method, dbus-call-method-asynchronously)
8816 (dbus-send-signal, dbus-method-return-internal)
8817 (dbus-method-error-internal, dbus-register-service)
8818 (dbus-register-signal, dbus-register-method): New defuns, moved
8819 from dbusbind.c
8820 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8821 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8822 New defuns.
dcbf5805
MA
8823 (dbus-call-method-non-blocking): Make it an obsolete function.
8824 (dbus-unregister-object, dbus-unregister-service)
8825 (dbus-handle-event, dbus-register-property)
8826 (dbus-property-handler): Obey the new structure of
8827 `bus-registered-objects'.
8828 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8829 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8830 Use `dbus-call-method'.
8831
cf20dee0
CY
88322012-04-22 Chong Yidong <cyd@gnu.org>
8833
8834 * cus-edit.el (custom-commands, custom-reset-menu)
8835 (Custom-reset-standard): Tweak labels.
8836 (custom-reset-button-menu): Change default to t.
8837 (custom-buffer-create-internal): For the custom-reset-button-menu
8838 case, put the revert button first.
8839 (custom-group-subtitle): New face.
8840 (custom-group-value-create): Align docstring to a specific column.
8841
8842 * wid-edit.el (widget-documentation-link-add): Don't handle
8843 indentation in this function.
8844 (widget-documentation-string-indent-to): New function.
8845 (widget-documentation-string-value-create): Use it.
8846
8847 * autorevert.el (auto-revert):
8848 * epg-config.el (epg):
8849 * ibuffer.el (ibuffer):
8850 * mpc.el (mpc):
8851 * ses.el (ses):
8852 * eshell/eshell.el (eshell):
8853 * net/ange-ftp.el (ange-ftp):
8854 * progmodes/ebnf2ps.el (postscript):
8855 * progmodes/flymake.el (flymake):
8856 * progmodes/prolog.el (prolog):
8857 * progmodes/verilog-mode.el (verilog-mode):
8858 * progmodes/which-func.el (which-func):
8859 * term/xterm.el (xterm):
8860 * textmodes/picture.el (picture):
8861 * textmodes/tildify.el (tildify):
8862 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8863 customization buffers.
8864
583e23bd
AM
88652012-04-22 Alan Mackenzie <acm@muc.de>
8866
8867 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8868 Adding a ) can hide the resulting (..) from searches. Fix it.
8869 Bound the backward search to the position of the existing (.
8870
7dd51bf1
JB
88712012-04-21 Juanma Barranquero <lekktu@gmail.com>
8872
8873 * progmodes/verilog-mode.el (verilog-mode): Check whether
8874 which-func-modes is t before adding verilog-mode.
8875 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8876
d64a438f
LL
88772012-04-21 Leo Liu <sdl.web@gmail.com>
8878
7dd51bf1 8879 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8880
081e8d65
MV
88812012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8882
8883 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8884 filling of the last column of a table (Bug#5635).
8885 (woman-find-next-control-line): New arg, specifying an additional
8886 regexp component for the control line.
8887 (woman2-roff-buffer): Use it.
8888 (woman-break-table): New function.
8889 (woman2-TS): Use it.
8890
88912012-04-21 Chong Yidong <cyd@gnu.org>
8892
8893 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8894 (woman-horizontal-escapes, woman-negative-vertical-space)
8895 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8896 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8897
ed571ccb
SM
88982012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * minibuffer.el (completion-file-name-table): Complete user names.
8901
39773899
LL
89022012-04-20 Leo Liu <sdl.web@gmail.com>
8903
8904 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8905 and pcase-let*.
8906
de6ff46d
CY
89072012-04-20 Chong Yidong <cyd@gnu.org>
8908
8909 * server.el (server-execute): Respect initial-buffer-choice if it
8910 is a string and there are no files to open (Bug#2825).
8911 (server-create-window-system-frame, server-create-tty-frame):
8912 Don't switch buffers here.
2d0e8e61
CY
8913 (server-process-filter): Only try to open a window system frame if
8914 compiled with graphical support (Bug#8314).
de6ff46d 8915
54071013
DN
89162012-04-20 Dan Nicolaescu <dann@gnu.org>
8917
8918 * battery.el (battery-echo-area-format): Display remaining time
8919 for sysfs backend too (Bug#11269).
8920 (battery-linux-sysfs): Fix conditional for the charge.
8921
f30d612a
CY
89222012-04-20 Chong Yidong <cyd@gnu.org>
8923
c07a4c0b 8924 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8925 (gdb-inferior-io--init-proc): New function.
8926 (gdb-init-1): Use it.
8927 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8928 responsible for allocating a new pty and hooking it to gdb when
8929 the old pty gets an EIO due to process exit.
8930 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8931 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8932 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8933
2116e93c
EZ
89342012-04-20 Eli Zaretskii <eliz@gnu.org>
8935
8936 * window.el (window-min-size, window-sizable, window-min-delta)
8937 (window-max-delta, window--resizable, window-resizable)
8938 (window-total-size, window-full-height-p, window-full-width-p)
8939 (window-in-direction, window--resize-mini-window, window-resize)
8940 (window--resize-child-windows-normal)
8941 (window--resize-child-windows, window--resize-siblings)
8942 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8943 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8944
c07a4c0b 89452012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8946
ef24141c
SM
8947 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8948 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8949 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8950 pty process (Bug#11273).
8951 (gdb-update): New arg to suppress talking to the gdb process.
8952 (gdb-done-or-error): Use it.
8953 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8954 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8955 sentinel not being called.
8956
8957 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8958
d02766ab
CY
8959 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8960
c07a4c0b 89612012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8962
8963 * net/network-stream.el (open-network-stream): Doc fix.
8964
c07a4c0b 89652012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8966
8967 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8968
c07a4c0b 89692012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8970
8971 Ensure searching for keywords is case sensitive.
8972
8973 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8974 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8975 (c-defun-name, c-mark-function, c-cpp-define-name)
8976 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8977 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8978
ef24141c
SM
8979 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8980 Bind case-fold-search to nil.
f0f6bc35 8981
c07a4c0b 89822012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8983
8984 * mail/sendmail.el (mail-bury): Call return action with the right
8985 Rmail buffer (Bug#11242).
8986
9a864fa2
CY
8987 * server.el (server-process-filter): Handle corner case where both
8988 tty and nowait options are present (Bug#11102).
8989
539aa513
EZ
89902012-04-20 Eli Zaretskii <eliz@gnu.org>
8991
8992 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8993 (top level): Put into the executable the ident-style '$Id:' tag on
8994 windows-nt as well.
539aa513 8995
cfc7d5da
SM
89962012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8997
8998 * electric.el (electric-indent-post-self-insert-function): Check that
8999 electric-indent-mode is enabled in current buffer.
9000
5b01685c
JB
90012012-04-19 Juanma Barranquero <lekktu@gmail.com>
9002
9003 * imenu.el (imenu-progress-message): Restore; it is "used" in
9004 erc/erc-imenu.el and net/snmp-mode.el.
9005
4d6769e1
JB
90062012-04-19 Juanma Barranquero <lekktu@gmail.com>
9007
9008 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9009 (mouse-avoidance-nudge-mouse): Remove unused binding.
9010
9011 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9012
9013 * descr-text.el (describe-char):
9014 * progmodes/python.el (python-describe-symbol):
9015 Don't call `toggle-read-only', set `buffer-read-only'.
9016
9017 * imenu.el (imenu-default-goto-function): Mark unused args.
9018 (imenu-progress-message): Remove obsolete macro; all callers changed.
9019
9020 * subr.el (keymap-canonicalize): Remove unused binding.
9021 (read-passwd): Mark unused arg.
9022
9023 * tutorial.el (tutorial--display-changes): Remove unused binding.
9024 (tutorial--save-tutorial-to): Remove unused variable.
9025
9026 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9027 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9028 (package-generate-autoloads, package-menu--generate)
9029 (package-menu--find-upgrades): Remove unused bindings.
9030
9031 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9032 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9033 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9034 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9035 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9036 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9037 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9038 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9039 (cua-delete-char-rectangle): Mark unused args.
9040 (cua-align-rectangle): Remove unused binding.
9041
9042 * mail/rmail.el (compilation--message->loc)
9043 (epa--find-coding-system-for-mime-charset): Declare.
9044
9045 * net/dbus.el (dbus-register-service): Declare.
9046 (dbus-name-owner-changed-handler): Remove unused binding.
9047
9048 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9049 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9050 (nxml-scan-backward-within): Mark unused arg.
9051 (nxml-dynamic-markup-word): Remove unused binding.
9052
9053 * mouse.el (mouse-menu-major-mode-map):
9054 * emacs-lisp/authors.el (authors-scan-change-log)
9055 (authors-add-to-author-list):
9056 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9057 * emacs-lisp/smie.el (smie-auto-fill):
9058 * mail/sendmail.el (mail-bury):
9059 * mail/unrmail.el (unrmail):
9060 * net/tls.el (open-tls-stream):
9061 * textmodes/picture.el (picture-mouse-set-point):
9062 Remove unused bindings.
9063
8c8fc5df
MA
90642012-04-19 Michael Albinus <michael.albinus@gmx.de>
9065
9066 * net/tramp.el (tramp-action-password): Let-bind
9067 `enable-recursive-minibuffers' to t.
9068
a77b0ac9
SS
90692012-04-18 Sam Steingold <sds@gnu.org>
9070
9071 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9072 instead of 'string to accommodate values like [f11].
9073 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9074 * progmodes/gdb-mi.el: Likewise.
9075
12a106a9
LL
90762012-04-18 Leo Liu <sdl.web@gmail.com>
9077
9078 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9079 current buffer.
9080 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9081 LOCAL is nil.
9082
bc6494ef
CY
90832012-04-18 Chong Yidong <cyd@gnu.org>
9084
9085 * simple.el (line-move): Use forward-line if in batch mode
9086 (Bug#11053).
9087
c09c46b2
CS
90882012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9089
9090 * files.el (after-find-file): Do not try to add a final newline if
9091 the buffer is read-only (Bug#11156).
9092
5f6530ea
RS
90932012-04-17 Richard Stallman <rms@gnu.org>
9094
9095 * mail/rmail.el (rmail-start-mail):
9096 Pass (rmail-mail-return...) for the return-action.
9097 Pass (rmail-yank-current-message...) for the yank-action.
9098 (rmail-yank-current-message): New function.
9099 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9100 (rmail-reply): Likewise.
9101 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9102
9103 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9104 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9105 buffer, not newbuf.
9106
197b6f3c
JB
91072012-04-17 Juanma Barranquero <lekktu@gmail.com>
9108
9109 * server.el (server-ensure-safe-dir): Simplify.
9110
2311d8e5 91112012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9112
2311d8e5
GM
9113 * emacs-lisp/smie.el: Provide smarter auto-filling.
9114 (smie-auto-fill): New function.
9115 (smie-setup): Use it.
98fb480e 9116
2311d8e5
GM
9117 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9118
91192012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9120
9121 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9122 (comment-indent): Use it.
9123
2311d8e5 91242012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9125
9126 * ses.el: The overall change is to add cell renaming, that is
9127 setting fancy names for cell symbols other than name matching
9128 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9129 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9130 (ses-create-cell-variable): New defun.
2311d8e5 9131 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9132 (ses-relocate-formula): Relocate formulas only for cells the
9133 symbols of which are not renamed, i.e. symbols whose names do not
9134 match regexp "\\`[A-Z]+[0-9]+\\'".
9135 (ses-relocate-all): Relocate values only for cells the symbols of
9136 which are not renamed.
9137 (ses-load): Create cells variables as the (ses-cell ...) are read,
9138 in order to check row col consistency with cell symbol name only
9139 for cells that are not renamed.
9140 (ses-replace-name-in-formula): New defun.
9141 (ses-rename-cell): New defun.
4bdf2ad2 9142
fc72b15c
PO
91432012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9144
9145 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9146 New option (bug#11118).
9147 (perl-calculate-indent): Respect it.
9148
12e10e61
GM
91492012-04-17 Glenn Morris <rgm@gnu.org>
9150
9151 * dired-aux.el (dired-mark-read-string): Doc fix.
9152
30009afd
DA
91532012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9154
9155 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9156 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9157
41f03f4d
GM
91582012-04-17 Glenn Morris <rgm@gnu.org>
9159
9160 * mouse.el (mouse-drag-track):
9161 * speedbar.el (speedbar-frame-mode):
9162 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9163
f45f90f3
LL
91642012-04-16 Leo Liu <sdl.web@gmail.com>
9165
9166 * progmodes/python.el: Trivial cleanup.
9167
94ee8db5
GM
91682012-04-16 Glenn Morris <rgm@gnu.org>
9169
121b8917
GM
9170 * vc/vc.el (vc-string-prefix-p):
9171 * vc/pcvs-util.el (cvs-string-prefix-p):
9172 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9173 * mpc.el (mpc-string-prefix-p):
9174 Make all of these into obsolete aliases for string-prefix-p.
9175 Update callers.
9176 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9177
1197ecfa
GM
9178 * textmodes/two-column.el: Move custom options to the start.
9179 (frame-width): Remove compat definition.
9180 (2C-associate-buffer, 2C-dissociate):
9181 Use with-current-buffer rather than save-excursion.
9182 (2C-dissociate): Force a mode-line update.
9183 (2C-autoscroll): Use ignore-errors.
9184
099e7202
GM
9185 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9186 Autoload trivia.
9187
bf350d6a
GM
9188 * emacs-lisp/cl-extra.el (*random-state*):
9189 Remove unnecessary declaration.
9190
0e829eab
GM
9191 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9192
e3ad7552
GM
9193 * play/cookie1.el (cookie-snarf):
9194 Give an explicit error if input file cannot be read.
9195
68892d27
GM
9196 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9197
20f0c46d
GM
9198 * progmodes/perl-mode.el (c-macro-expand):
9199 Remove unnecessary autoload (it is in loaddefs.el).
9200
5a0978ce
GM
9201 * textmodes/picture.el (picture-desired-column)
9202 (picture-update-desired-column): Convert comments to doc-strings.
9203 (picture-substitute): Remove function.
9204 (picture-mode-map): Initialize in the defvar.
9205
6b955486
GM
9206 * woman.el: Remove eval-after-load for tar-mode.
9207 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9208 (woman-tar-extract-file): Autoload it.
9209
94ee8db5
GM
9210 * frame.el (automatic-hscrolling): Make this alias obsolete.
9211
177eca34
AM
92122012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9213
090bd7cb 9214 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9215 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9216 (ispell-dictionary-base-alist): Revert to original XEmacs
9217 friendly version for default. [:alpha:] will be added in
090bd7cb 9218 `ispell-set-spellchecker-params' if needed.
177eca34 9219
c505aaeb
CY
92202012-04-16 Chong Yidong <cyd@gnu.org>
9221
b19dd9d1 9222 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9223 (imagemagick-register-types): Use it.
9224 (imagemagick-types-inhibit): Add :set function. Allow new value
9225 of t to inhibit all types.
9226
9227 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9228 so we can preload it.
9229
9230 * loadup.el (fboundp): Preload regexp-opt, needed by
9231 imagemagick-register-types.
9232
60efac0f
CY
92332012-04-15 Chong Yidong <cyd@gnu.org>
9234
9235 * frame.el (scrolling): Remove nearly unused customization group.
9236
9237 * scroll-all.el (scroll-all-mode): Move to windows group.
9238
5dd1713e
CY
92392012-04-15 Chong Yidong <cyd@gnu.org>
9240
9241 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9242
e6fd457e
CY
92432012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9244
9245 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9246 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9247
e153c136
GM
92482012-04-15 Glenn Morris <rgm@gnu.org>
9249
9250 * simple.el (process-file-side-effects): Doc fix.
9251
e6fd457e 92522012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9253
9254 * international/mule-cmds.el (set-language-environment): Doc fix.
9255
3603c3b1
JB
92562012-04-14 Juanma Barranquero <lekktu@gmail.com>
9257
9258 * server.el (server-auth-key, server-generate-key): Doc fixes.
9259 (server-get-auth-key): Doc fix. Use `string-match-p'.
9260 (server-start): Reflow docstring.
9261
e6de100c
LI
92622012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9263
9264 * server.el (server-generate-key): `called-interactively-p'
9265 requires a parameter.
9266
29734c21
MN
92672012-04-14 Michal Nazarewicz <mina86@mina86.com>
9268
9269 * server.el (server-auth-key): New variable.
75f1671a 9270 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9271 (server-start): Use the new variable and functions to allow
9272 setting a permanent server key (bug#9423).
9273
d65c9521
LL
92742012-04-14 Leo Liu <sdl.web@gmail.com>
9275
9276 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9277
5ae255c7
PE
92782012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9279
9280 Spelling fixes.
9281 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9282 Emacs uses American spelling.
9283
d5e6342e
JB
92842012-04-14 Juanma Barranquero <lekktu@gmail.com>
9285
9286 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9287 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9288 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9289 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9290
ab036cd7
SM
92912012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9292
9293 * progmodes/which-func.el (which-func-modes): Change default.
9294
35dc09a1 92952012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9296
9297 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9298 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9299
35dc09a1 93002012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9301
9302 * custom.el (custom-theme-set-variables): Doc fix.
9303
35dc09a1 93042012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9305
9306 * international/mule.el (set-auto-coding-for-load): Doc fix.
9307
35dc09a1 93082012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9309
35dc09a1
GM
9310 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9311 imenu work again for Objective C Mode. Correct the *-index values,
9312 these having been disturbed by a previous change in 2011-08.
57f845ee 9313
0de3da9f
AM
9314 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9315 Correct two search limits.
9316
35dc09a1 93172012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9318
9319 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9320
35dc09a1 93212012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9322
9323 * international/characters.el: Fix sorting.
9324
35dc09a1 93252012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9326
9327 * international/characters.el: Add more missing Latin case pairs.
9328
35dc09a1 93292012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9330
9331 * files.el (dir-locals-set-class-variables): Doc fix.
9332
35dc09a1 93332012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9334
3f1b5bf8
EZ
9335 * international/characters.el: Add set-case-syntax-pair call for
9336 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9337 counterpart. (Bug#11209)
9338
9f847f41
EZ
9339 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9340
35dc09a1 93412012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9342
9343 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9344
35dc09a1 93452012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9346
35dc09a1
GM
9347 * textmodes/ispell.el (ispell-dictionary-base-alist):
9348 Add data for Hebrew.
e2627d21 9349
35dc09a1 93502012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9351
35dc09a1
GM
9352 * net/rcirc.el (rcirc-cmd-quit):
9353 Revert 2012-03-18 change (Bug#11192).
5c14e333 9354
35dc09a1 93552012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9356
9357 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9358
35dc09a1 93592012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9360
4517fe3a
SM
9361 * minibuffer.el (completion-in-region-mode-map):
9362 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9363
b472a594
VD
93642012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9365
9366 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9367
09b95ce3
MY
93682012-04-13 Masatake YAMATO <yamato@redhat.com>
9369
9370 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9371 to allow `C-M-f' and `C-M-b' to move to the nearest path
9372 separator (bug#9511).
9373
4b63a9ca
LI
93742012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9375
9376 * avoid.el: Require cl when compiling. And also move the
9377 `provide' to the end.
9378
7b55b8bf
TV
93792012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9380
9381 * avoid.el (mouse-avoidance-banish-position): New variable.
9382 (mouse-avoidance-banish-destination): Use it (bug#10165).
9383
adedaa1f
LL
93842012-04-13 Leo Liu <sdl.web@gmail.com>
9385
9386 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9387
70e74021
KB
93882012-04-13 Ken Brown <kbrown@cornell.edu>
9389
9390 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9391 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9392 (browse-url-filename-alist): For the same reason, don't modify
9393 file:// URLs on Cygwin.
9394
e75e89ba
SM
93952012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9396
9397 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9398 the region on shift if the binding is already shifted (bug#11221).
9399
82f289a4
GM
94002012-04-12 Glenn Morris <rgm@gnu.org>
9401
9402 * mail/mailpost.el: Move to obsolete/.
9403
d333dc4c
DA
94042012-04-12 Drew Adams <drew.adams@oracle.com>
9405
9406 * imenu.el (imenu--generic-function): Ignore invisible definitions
9407 (bug#10123).
9408
0d15b5ba
VD
94092012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9410
9411 * hexl.el (hexl-bits): New variable.
9412 (hexl-options): Mention the variable in the doc string.
75f1671a 9413 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9414 (hexl-mode): Mention the new variable.
75f1671a
JB
9415 (hexl-mode, hexl-current-address, hexl-current-address):
9416 Use the displen.
0d15b5ba
VD
9417 (hexl-ascii-start-column): New function.
9418 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9419 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9420
64a440db
AM
94212012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9422
9423 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9424 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9425 the encoding, as expected by hunspell.
9426
6decb6c2
SM
94272012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * battery.el (battery--linux-sysfs-regexp): New const.
9430 (battery-status-function): Use it. Remove yeeloong special case.
9431 (battery-yeeloong-sysfs): Remove.
9432 (battery-echo-area-format): Remove yeeloong special case.
9433
088be6fb
SM
94342012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9435
6622e416
SM
9436 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9437 Reported by Noah Friedman.
9438
088be6fb
SM
9439 * subr.el (read-passwd): Use read-string.
9440
b49f886e
LMI
94412012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9442
9443 * vcursor.el (vcursor-move): Increase the priority of the overlay
9444 (bug#9663).
9445
a63067fc
DD
94462012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9447
9448 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9449 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9450
ac3cf14a
WS
94512012-04-11 William Stevenson <yhvh2000@gmail.com>
9452
9453 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9454 define-minor-mode (bug#10760).
9455
c4fc691b 94562012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9457
4d6769e1 9458 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9459 that directories matching `grep-find-ignored-files' won't be
9460 pruned (bug#10351).
9461
af23e2e5
CY
94622012-04-11 Chong Yidong <cyd@gnu.org>
9463
9464 * startup.el (command-line): Remove support for long-obsolete
9465 variable font-lock-face-attributes.
9466
ab7ce8c1
GM
94672012-04-11 Glenn Morris <rgm@gnu.org>
9468
9469 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9470
de8c03dc
SM
94712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9472
9473 * window.el (window--state-get-1): Obey window-point-insertion-type.
9474
050cc68b
LB
94752012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9476
9477 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9478 to previous function when point is on the first character of a
75f1671a 9479 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9480
a38c310c
GM
94812012-04-11 Glenn Morris <rgm@gnu.org>
9482
effed0c2
GM
9483 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9484 not just file-errors.
9485
a38c310c
GM
9486 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9487 (vc-bzr-sha1): Use internal sha1.
9488
0221e323
SM
94892012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9492
43956923
SG
94932012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9494
9495 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9496 that start in the middle of the line (bug#10496).
9497
6a8c9eaf
DN
94982012-04-10 Dan Nicolaescu <dann@gnu.org>
9499
9500 * battery.el (battery-linux-proc-acpi): Only one battery is
9501 discharged at a time, but that seems to confuse battery.el when
9502 computing `rate-type' for the battery not being discharged
9503 (bug#10332).
9504
1930bf5d
SM
95052012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9506
2a718f6f
SM
9507 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9508
599430d0
SM
9509 * international/quail.el: Use dolist and simplify.
9510 (quail-define-package, quail-update-keyboard-layout)
9511 (quail-define-rules): Use dolist.
9512 (quail-insert-kbd-layout, quail-get-translation): CSE.
9513
a2754b6c
SM
9514 * tmm.el: Use dolist, remove left over hook.
9515 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9516 Use dolist.
9517 (calendar-load-hook): Don't mess with it.
9518
1930bf5d
SM
9519 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9520 Use derived-mode-p. Run the diff asynchronously.
9521
9f67961c
LMI
95222012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9523
9524 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9525
2a8ce227
JB
95262012-04-10 Juanma Barranquero <lekktu@gmail.com>
9527
9528 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9529 (list-dynamic-libraries--loaded): New function.
9530 (list-dynamic-libraries--refresh): Use it.
9531
8f33b5f8
NW
95322012-04-10 Nathan Weizenbaum <nweiz@google.com>
9533
1930bf5d
SM
9534 * progmodes/python.el (python-fill-paragraph):
9535 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9536 disabled (bug#7018).
9537
b12f0439
L
95382012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9539
1930bf5d 9540 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9541 DOS/MS Windows for the Baltic languages. There are still plenty
9542 of texts written in this encoding/codepage (bug#6519).
b12f0439 9543
57c3bd01
GM
95442012-04-10 Glenn Morris <rgm@gnu.org>
9545
9546 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9547 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9548
6c3eab30
FA
95492012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9550
1930bf5d 9551 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9552 next-line "n" and previous-line "p" in order to make recentf more
9553 consistent with ibuffer, dired or org-mode (bug#9387).
9554
24d78a88
LMI
95552012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9556
bc72b5d9
LMI
9557 * image.el (put-image): Return the overlay created instead of the
9558 optional input string (bug#7834). Note that this may break code
9559 that is (for some reason or other) depending on `put-image'
9560 returning the string.
9561
bd2dba5a
LMI
9562 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9563
74beb59f
LMI
9564 * simple.el (zap-to-char): Allow zapping using input methods
9565 (bug#1580).
9566
24d78a88
LMI
9567 * textmodes/fill.el (fill-region): Leave point and mark where they
9568 were before filling (bug#5399).
9569
263f20cd
GM
95702012-04-09 Glenn Morris <rgm@gnu.org>
9571
9572 * version.el (emacs-bzr-get-version):
9573 Handle lightweight checkouts of local branches.
9574
58d1f797
AS
95752012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9576
263f20cd 9577 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9578
b4d3bc10
CY
95792012-04-09 Chong Yidong <cyd@gnu.org>
9580
9581 * custom.el (custom-variable-p): Return nil for non-symbol
9582 arguments instead of signaling an error.
9583 (user-variable-p): Obsolete alias for custom-variable-p.
9584
9585 * apropos.el (apropos-variable):
9586 * files-x.el (read-file-local-variable):
9587 * simple.el (set-variable):
9588 * woman.el (woman-mini-help):
9589 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9590
fd06db5d
GM
95912012-04-09 Glenn Morris <rgm@gnu.org>
9592
e5fcdb5e
GM
9593 * startup.el (normal-top-level): Don't look for leim-list.el
9594 in places where it will not be found. (Bug#910)
9595
fd06db5d
GM
9596 * international/mule-cmds.el (set-default-coding-systems):
9597 * files.el (normal-mode):
9598 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9599 This function was removed with ucs-tables.el in 2008.
9600
b39bb7e1
EZ
96012012-04-08 Eli Zaretskii <eliz@gnu.org>
9602
9603 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9604 ispell-encoding8-command to "-i", without a trailing space.
9605 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9606 separate command-line arguments, to specify the encoding, since
9607 that's how hunspell expects it.
9608
5c5b8e23
GM
96092012-04-08 Glenn Morris <rgm@gnu.org>
9610
9611 * loadup.el: Load bindings before cus-start.
9612 This reduces somewhat the number of "rogue" settings in emacs -Q.
9613
a1ed8b05
GM
96142012-04-07 Glenn Morris <rgm@gnu.org>
9615
9616 * version.el (emacs-bzr-get-version): New function.
dfae128a 9617 (emacs-bzr-version): New variable.
a1ed8b05
GM
9618 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9619 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9620
b142f158
EZ
96212012-04-07 Eli Zaretskii <eliz@gnu.org>
9622
dfae128a
GM
9623 * international/uni-bidi.el, international/uni-category.el:
9624 * international/uni-combining.el, international/uni-decimal.el:
9625 * international/uni-decomposition.el, international/uni-digit.el:
9626 * international/uni-lowercase.el, international/uni-mirrored.el:
9627 * international/uni-name.el, international/uni-numeric.el:
9628 * international/uni-titlecase.el, international/uni-uppercase.el:
9629 Update for Unicode 6.1.
b142f158 9630
9078ead6
EZ
96312012-04-07 Eli Zaretskii <eliz@gnu.org>
9632
9633 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9634
f23d2c7d
LMI
96352012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9636
9637 * window.el (shrink-window): Mention the `window-min-height'
9638 variable in the doc string.
9639
0a0a3573
BG
96402012-04-05 Bastien Guerry <bzg@altern.org>
9641
9642 * color.el (color-lighten-name): Fix typo.
9643
e5248ac9
SM
96442012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * server.el (server--on-display-p): New function.
9647 (server--on-display-p): Use it.
9648
b4243e22
GV
96492012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9650
9651 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9652 (bug#11145).
9653
305d9f44
SM
96542012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * comint.el (comint--common-quoted-suffix): Check string boundary
9657 before comparing (bug#11158).
9658 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9659
3d439cd1
CY
96602012-04-04 Chong Yidong <cyd@gnu.org>
9661
321cc491
CY
9662 * minibuffer.el (completion-extra-properties): Doc fix.
9663
3d439cd1
CY
9664 * subr.el (delayed-warnings-hook): Doc fix.
9665
2d562c0f
DU
96662012-04-04 Daiki Ueno <ueno@unixuser.org>
9667
9668 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9669 selection (Bug#11159).
9670 (epa-insert-keys): Inform that the default public key will be
9671 exported if no key is selected.
9672
4443f204
RS
96732012-04-04 Richard Stallman <rms@gnu.org>
9674
9675 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9676
529c06b6
CY
96772012-04-03 Chong Yidong <cyd@gnu.org>
9678
9679 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9680 mail-insert-file, not its obsolete alias mail-attach-file.
9681
66b907dc
MA
96822012-04-03 Michael Albinus <michael.albinus@gmx.de>
9683
9684 * notifications.el (notifications-notify): Fix docstring.
9685
c0ea195d
GM
96862012-04-02 Glenn Morris <rgm@gnu.org>
9687
9688 * emacs-lisp/authors.el (authors-aliases): Another addition.
9689
5ca64e00
MA
96902012-04-02 Michael Albinus <michael.albinus@gmx.de>
9691
9692 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9693 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9694 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9695
42ee526b
CY
96962012-04-01 Chong Yidong <cyd@gnu.org>
9697
9698 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9699 Handle root directory properly.
9700 (copy-directory): Caller changed.
9701
9702 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9703 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9704
0b021094
GM
97052012-03-31 Glenn Morris <rgm@gnu.org>
9706
40f86458
GM
9707 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9708
7019c177
GM
9709 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9710
a1daddd6
GM
9711 * calendar/calendar.el (calendar-window-list)
9712 (calendar-hide-window): Restore. (Bug#11140)
9713 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9714
0b021094
GM
9715 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9716
40311efc
TV
97172012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9718
9719 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9720 Check if file is a symlink (Bug#10489).
9721
9722 * files.el (copy-directory): Likewise.
9723
5319014e
CY
97242012-03-30 Chong Yidong <cyd@gnu.org>
9725
9726 * image.el (imagemagick-types-inhibit)
9727 (imagemagick-register-types): Doc fix.
9728
935d1290
AM
97292012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9730
090bd7cb 9731 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9732 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9733 and treats ~word as ordinary words in pipe mode.
935d1290 9734
61c6e8fd
GM
97352012-03-30 Glenn Morris <rgm@gnu.org>
9736
9737 * tutorial.el (help-with-tutorial): Ensure local variables don't
9738 happen to make the buffer read-only. (Bug#11127)
9739
81fdff00
SM
97402012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9743 (perl-calculate-indent): Return `noindent' in strings.
9744
6e7a6ec0
SS
97452012-03-28 Sam Steingold <sds@gnu.org>
9746
9747 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9748 instead of the broken adhockery which does not prevent calendar
9749 buffers from being displayed at random after exit.
9750 (calendar-window-list, calendar-hide-window): Remove the broken
9751 adhockery.
9752
fee88ca0
GM
97532012-03-28 Glenn Morris <rgm@gnu.org>
9754
9755 * replace.el (query-replace-map): Doc fix.
9756
38de3354
AS
97572012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9758
9759 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9760 contents. (Bug#11109)
9761
b973155e
SM
97622012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9765 (bug#11077).
9766 (avl-tree--check, avl-tree--check-node): New funs.
9767
dcb6e7b3
MR
97682012-03-27 Martin Rudalics <rudalics@gmx.at>
9769
9770 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9771 (switch-to-prev-buffer, switch-to-next-buffer):
9772 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9773 showing a buffer already is done on the same frame.
9774
b4fa35fa
GM
97752012-03-27 Glenn Morris <rgm@gnu.org>
9776
9777 * startup.el (mail-host-address): Doc fix.
9778
f9210e18
SM
97792012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9782 than 197 variables.
9783
c0bf7753
AF
97842012-03-26 Ami Fischman <ami@fischman.org>
9785
9786 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9787
33da7b16
GM
97882012-03-26 Glenn Morris <rgm@gnu.org>
9789
02243d9d
GM
9790 * files.el (save-buffers-kill-emacs): Doc fix.
9791
33da7b16
GM
9792 * startup.el (normal-top-level, command-line, command-line-1):
9793 Give them doc strings.
9794
e5a69fd0
EZ
97952012-03-25 Eli Zaretskii <eliz@gnu.org>
9796
9797 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9798 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9799
9a69676a
CY
98002012-03-25 Chong Yidong <cyd@gnu.org>
9801
4125cb8b
CY
9802 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9803 theme if it was previously enabled before (Bug#11031).
9804
dd470960
CY
9805 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9806 spec with custom-face-get-current-spec if its :shown-value is not
9807 determined yet (Bug#9337).
4125cb8b 9808 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9809
9a69676a
CY
9810 * button.el (button-at): Minor addition to docstring.
9811
6e7e90fa
SL
98122012-03-24 Simon Leinen <simon.leinen@gmail.com>
9813
9814 * vc/vc.el (vc-merge): Fix a prompt.
9815
f06e2758
CY
98162012-03-24 Chong Yidong <cyd@gnu.org>
9817
9818 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9819 point (Bug#9623).
9820
6e7e90fa
SL
9821 * button.el (button-at): Minor addition to docstring.
9822
b9d0879b
SM
98232012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9824
9825 * newcomment.el (comment-choose-indent): No space after BOL.
9826
e71cebb3
SS
98272012-03-22 Sam Steingold <sds@gnu.org>
9828
9829 * window.el (switch-to-prev-buffer): Revert last patch because the
9830 bug turned out to be an advertised feature (Elisp manual 28.14).
9831
335aff35
GM
98322012-03-22 Glenn Morris <rgm@gnu.org>
9833
9834 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9835 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9836
c676576a
LMI
98372012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9838
9839 * net/network-stream.el (network-stream-open-starttls): Make error
9840 message under Windows be less misleading.
9841
126f3d39
LW
98422012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9843
9844 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9845 understands (bug#9942).
9846
64fee311
CY
98472012-03-22 Chong Yidong <cyd@gnu.org>
9848
9849 * simple.el (end-of-visible-line): Handle return value of
9850 next-single-property-change properly (Bug#9371).
9851
a640d29a
KH
98522012-03-22 Kenichi Handa <handa@m17n.org>
9853
9854 * international/quail.el (quail-insert-kbd-layout): Fix previous
9855 change. To avoid unwanted bidi reordering, use
9856 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9857
39675016
DG
98582012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9859
9860 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9861 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9862 (ruby-beginning-of-indent): Be more careful with the difference
9863 between word-boundary and symbol boundary.
9864 (ruby-mode-syntax-table): Make : a symbol constituent.
9865
0a6934fc 98662012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9867
3d008e4f
SM
9868 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9869
0a6934fc
SM
98702012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9871
af67c9d7
SM
9872 * progmodes/etags.el (tags-completion-at-point-function):
9873 Improve last fix.
9874
1acad97c
SM
9875 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9876
e298b5da
SS
98772012-03-21 Sam Steingold <sds@gnu.org>
9878
9879 * progmodes/etags.el (tags-completion-at-point-function):
9880 Avoid the error when point is inside the pattern.
9881
91d82a70
JY
98822012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9883
9884 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9885 line (Bug#10855).
9886
69188b79
CY
98872012-03-21 Drew Adams <drew.adams@oracle.com>
9888
9889 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9890
99fc91fe
AK
98912012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9892
9893 * ido.el (ido-set-current-directory, ido-read-internal)
9894 (ido-choose-completion-string, ido-completion-help): Handle nil
9895 value of ido-completion-buffer (Bug#11008).
9896
087bbb4c
SS
98972012-03-21 Sam Steingold <sds@gnu.org>
9898
9899 * window.el (switch-to-prev-buffer): Do not switch to a visible
9900 window previous buffer, just like with the frame previous buffers.
9901
fb5b8aca
CY
99022012-03-21 Chong Yidong <cyd@gnu.org>
9903
9904 * faces.el (make-face, make-empty-face, copy-face):
9905 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9906 Doc fixes.
9907
dc9924b8
SM
99082012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9911 (widget-complete): Remove broken use of it.
9912
f0bcceb9
CY
99132012-03-20 Chong Yidong <cyd@gnu.org>
9914
dc9924b8
SM
9915 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9916 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9917 characters.
9918
ee52ebf3
TH
99192012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9920
9921 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9922 to draw rectangles, not squares. (Regression introduced by revno
9923 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9924
4c5779ab
CY
99252012-03-18 Chong Yidong <cyd@gnu.org>
9926
9927 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9928 it is not yet defined (for temacs).
9929
15360934
LL
99302012-03-18 Leo Liu <sdl.web@gmail.com>
9931
735135f9
PE
9932 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9933 prefix.
15360934 9934
d9a8eb66
EZ
99352012-03-17 Eli Zaretskii <eliz@gnu.org>
9936
9937 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9938 (ispell-choices-win-default-height, ispell-silently-savep)
9939 (ispell-dictionary-alist, ispell-encoding8-command)
9940 (ispell-check-version, ispell-aspell-find-dictionary)
9941 (ispell-valid-dictionary-list, ispell-words-keyword)
9942 (ispell-get-word, ispell-internal-change-dictionary)
9943 (ispell-region, ispell-skip-region-list)
9944 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9945 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9946 (ispell-message-text-end, ispell-message)
9947 (ispell-buffer-local-parsing): Doc fix.
9948
f02ff80d
J
99492012-03-13 Jambunathan K <kjambunathan@gmail.com>
9950
9951 * htmlfontify.el: Add support for code block fontification for ODT
9952 export (Bug #9914).
9953 (hfy-optimisations): Define new option
9954 `body-text-only'
9955 (hfy-fontify-buffer): Honor above setting.
9956 (hfy-begin-span, hfy-end-span): New routines factored out form
9957 `hfy-fontify-buffer'.
9958 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9959 that permit insertion of custom tags.
9960 (hfy-fontify-buffer): Use above handlers.
9961 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9962 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9963 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9964 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9965 bind a special variable `hfy-user-sheet-assoc'.
9966 (htmlfontify-string): New defun.
9967 (hfy-compile-face-map): Make sure that the last char in the
9968 buffer is correctly fontified.
9969 (hfy-face-resolve-face): Whitespace only change.
9970
9ac7a13f
EZ
99712012-03-17 Eli Zaretskii <eliz@gnu.org>
9972
9973 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9974 message more clear.
9975
e2b5bdd7
LL
99762012-03-16 Leo Liu <sdl.web@gmail.com>
9977
9978 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9979
2e492df3
AM
99802012-03-16 Alan Mackenzie <acm@muc.de>
9981
9982 Further optimise the handling of large macros.
9983
9984 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9985 limit to a call of `c-literal-limits'.
9986 (c-determine-+ve-limit): New function.
dc9924b8
SM
9987 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9988 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9989 In CASE 5B, restrict a search limit to 500.
9990 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9991
9992 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9993 Restrict macro bounds to +-500 from after-change's BEG END.
9994
50e94f0c
LL
99952012-03-16 Leo Liu <sdl.web@gmail.com>
9996
9997 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9998
6f09f6ed
AH
99992012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10000
10001 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 10002 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 10003
c7e73d51
GM
100042012-03-16 Glenn Morris <rgm@gnu.org>
10005
da986230
GM
10006 * view.el (view-buffer, view-buffer-other-window)
10007 (view-buffer-other-frame): Doc fixes re special mode-class.
10008
0835f01e
GM
10009 * subr.el (eval-after-load): If named feature is provided not from
10010 a file, run after-load forms. (Bug#10946)
10011
c7e73d51
GM
10012 * calendar/calendar.el (calendar-insert-at-column):
10013 Handle non-unit-width characters a bit better. (Bug#10978)
10014
3f2eafd1
CY
100152012-03-15 Chong Yidong <cyd@gnu.org>
10016
10017 * emacs-lisp/ring.el (ring-extend): New function.
10018 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10019
10020 * comint.el (comint-read-input-ring)
10021 (comint-add-to-input-history): Grow comint-input-ring lazily.
10022
103af3fe
SM
100232012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10024
663b1677
SM
10025 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10026 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10027
103af3fe
SM
10028 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10029 (imenu-add-to-menubar): Don't add a redundant index.
10030 (imenu-update-menubar): Handle a dynamically composed keymap.
10031
899cb7cb
KY
100322012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10033
10034 * mail/sendmail.el (mail-encode-header):
10035 Bind rfc2047-encode-encoded-words to nil.
10036
3809f91d
GM
100372012-03-13 Glenn Morris <rgm@gnu.org>
10038
10039 * calendar/calendar.el (calendar-string-spread):
10040 Handle non-unit-width characters a bit better. (Bug#10978)
10041
9e345a01
LL
100422012-03-13 Leo Liu <sdl.web@gmail.com>
10043
10044 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10045 directory and file as argument (Bug#10822).
10046
4a07df36
KS
100472012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10048
10049 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10050 For dynamically generated code, follow $PC.
10051 (gdb-disassembly-handler-custom): Handle no function name case.
10052
4aaa9356
TL
100532012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10054
10055 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10056 * emulation/ws-mode.el (ws-query-replace):
10057 * sort.el (sort-regexp-fields):
10058 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10059
225979da
SM
100602012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10061
10062 * dabbrev.el: Fix cycle completion order (bug#10963).
10063 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10064 (dabbrev-completion): Don't use an obarray; provide
10065 a cycle-sort-function.
10066
e2f1fdab
LL
100672012-03-12 Leo Liu <sdl.web@gmail.com>
10068
dc9924b8 10069 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10070 (kill-do-not-save-duplicates): Doc fix.
10071
b19490ed
SM
100722012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10073
10074 * dabbrev.el: Fix cycle completion (bug#10963).
10075 Use lexical binding and wrap to 80 columns.
10076 (dabbrev-completion): Delay computing the list of completions.
10077
4b05d722
KH
100782012-03-12 Kenichi Handa <handa@m17n.org>
10079
10080 * international/quail.el (quail-insert-kbd-layout): Surround each
10081 row by LRO and PDF instead of inserting many LRMs. Pad the left
10082 and right of each non-spacing marks. Insert invisible space
10083 between lower and upper characters to prevent composition.
10084
dbbc2e69
SM
100852012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10086
10087 * minibuffer.el (minibuffer-complete): Don't get confused when the
10088 function is run twice via different commands (bug#10958).
10089 (complete-with-action): Fix docstring.
10090
292112ed
CY
100912012-03-12 Chong Yidong <cyd@gnu.org>
10092
5d1ac394
CY
10093 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10094 (nxml-completion-at-point-function): New function.
10095 (nxml-mode): Use it.
10096 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10097
292112ed
CY
10098 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10099 Load generated autoloads file before byte compiling (Bug#10970).
10100 (package--make-autoloads-and-compile): New helper fun.
10101
4098f8f7
CS
101022012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10103
10104 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10105
8f754691
MA
101062012-03-11 Michael Albinus <michael.albinus@gmx.de>
10107
10108 * autorevert.el (auto-revert-handler): Ensure, that
10109 file-readable-p is applied only for local files or in
10110 auto-revert-tail-mode.
10111
e29ab36b
AS
101122012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10113
dbbc2e69
SM
10114 * server.el (server-eval-at): Handle non-tcp connections.
10115 Decode result string.
ad0bf5b6 10116
e29ab36b
AS
10117 * server.el (server-msg-size): New constant.
10118 (server-reply-print): New function.
10119 (server-eval-and-print): Use it.
10120 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10121 Handle -print-nonl.
10122
de5939ba
CS
101232012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10124
10125 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10126 (Bug#10987).
10127
0c93eabf
CY
101282012-03-11 Chong Yidong <cyd@gnu.org>
10129
397a688f
CY
10130 * simple.el (goto-line): Doc fix (Bug#9938).
10131
2cc775f9
CY
10132 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10133
0c93eabf
CY
10134 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10135 when finished (Bug#10963).
10136
c491fa41
MR
101372012-03-11 Martin Rudalics <rudalics@gmx.at>
10138
10139 * window.el (split-window-below): Fix bug in case where
10140 split-window-keep-point is nil (Bug#10971).
10141
300e8fa5
JL
101422012-03-11 Juri Linkov <juri@jurta.org>
10143
10144 * replace.el (replace-highlight): Set isearch-word to nil
10145 unconditionally. (Bug#10887)
10146
dbf6c5a1
EZ
101472012-03-10 Eli Zaretskii <eliz@gnu.org>
10148
10149 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10150 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10151 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10152 (mairix-widget-create-query): Add usage information about mairix
10153 search forms: negating words, searching for substrings, etc.
10154
b9e501de
JP
101552012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10156
10157 * international/fontset.el (font-encoding-alist): Add an entry for
10158 ksx1001 (Bug#5667).
10159
92795c91
RS
101602012-03-10 Richard Stallman <rms@gnu.org>
10161
1694e6c1
RS
10162 * mail/sendmail.el (mail-encode-header):
10163 Set rfc2047-encode-encoded-words.
10164
607e8555
RS
10165 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10166
de3bc99a
RS
10167 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10168 view buffer means not swapped.
10169 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10170 (rmail-write-region-annotate): Error if real text has disappeared.
10171
92795c91
RS
10172 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10173
699bd04e
CY
101742012-03-10 Chong Yidong <cyd@gnu.org>
10175
10176 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10177 * emulation/cua-base.el (cua--init-keymaps):
10178 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10179
570a1714
MR
101802012-03-10 Martin Rudalics <rudalics@gmx.at>
10181
dbbc2e69
SM
10182 * speedbar.el (speedbar-unhighlight-one-tag-line):
10183 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10184
82dcf4e4
CY
101852012-03-10 Chong Yidong <cyd@gnu.org>
10186
7a2c7ca7
CY
10187 * minibuffer.el (completion-in-region, completion-help-at-point):
10188 Give the completion field overlay a high priority (Bug#6830).
10189
82dcf4e4
CY
10190 * dired.el (dired-goto-file): Recognize absolute file name
10191 listings (Bug#7126).
10192 (dired-goto-file-1): New helper function.
10193 (dired-toggle-read-only): Inhibit warnings.
10194
052e28ac
MA
101952012-03-09 Michael Albinus <michael.albinus@gmx.de>
10196
75f1671a 10197 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10198 there are no properties.
10199
95d5e396
LL
102002012-03-09 Leo Liu <sdl.web@gmail.com>
10201
10202 * savehist.el (savehist-printable): Stricter check for string
10203 value (Bug#10937).
10204
3f018d6d
EZ
102052012-03-09 Eli Zaretskii <eliz@gnu.org>
10206
dbbc2e69
SM
10207 * mail/smtpmail.el (smtpmail-send-it):
10208 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10209 valid mbox format.
10210
f7fd3d79
GM
102112012-03-09 Glenn Morris <rgm@gnu.org>
10212
10213 * files.el (dir-locals-find-file):
10214 Don't check result is regular, readable.
10215 (dir-locals-read-from-file): Demote errors.
10216
6ff6e72f
EZ
102172012-03-08 Eli Zaretskii <eliz@gnu.org>
10218
dbbc2e69
SM
10219 * international/quail.el (quail-insert-kbd-layout):
10220 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10221 layout cell, to prevent their reordering by bidi display engine.
10222 For details, see the discussion in
10223 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10224
9cec7834
AM
102252012-03-08 Alan Mackenzie <acm@muc.de>
10226
10227 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10228 the starting position; make it extend the marked region when
10229 invoked repeatedly - all under appropriate circumstances.
10230 Fixes bugs #5525, #10906.
10231
9a40b8d4
GM
102322012-03-08 Glenn Morris <rgm@gnu.org>
10233
10234 * files.el (locate-dominating-file, dir-locals-find-file):
10235 Undo 2012-03-06 change.
10236
7a08ed35
EZ
102372012-03-07 Eli Zaretskii <eliz@gnu.org>
10238
dbbc2e69
SM
10239 * international/quail.el (quail-help):
10240 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10241 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10242 for the reason.
10243
5aca4f71 102442012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10245
10246 Avoid superfluous registering of signals. (Bug#10807)
10247
10248 * notifications.el (notifications-on-action-object)
10249 (notifications-on-close-object): New defvars.
10250 (notifications-on-action-signal, notifications-on-closed-signal):
10251 Unregister the signal if not needed any longer.
10252 (notifications-notify): Register `notifications-action-signal' or
10253 `notifications-closed-signal', if :on-action or :on-close has been
10254 passed as argument.
10255
78e8b10a
CY
102562012-03-07 Chong Yidong <cyd@gnu.org>
10257
10258 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10259 non-X platforms.
10260
69481eb8
GM
102612012-03-06 Glenn Morris <rgm@gnu.org>
10262
10263 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10264 (x-disown-selection-internal, x-get-selection-internal):
10265 Doc fix (add arglist signatures). (Bug#10783)
10266
133b8e11
KS
102672012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10268
10269 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10270 Handle breakpoints with no "type".
10271
99a83064
GM
102722012-03-06 Glenn Morris <rgm@gnu.org>
10273
10274 * files.el (locate-dominating-file): Add optional predicate argument.
10275 (dir-locals-find-file): Make use of above change.
10276
17798e78
TTN
102772012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10278
10279 * info.el (Info-insert-dir): Also try "dir.gz".
10280
eb182446
GM
102812012-03-06 Glenn Morris <rgm@gnu.org>
10282
8f2114ee
GM
10283 * files.el (dir-locals-find-file):
10284 Ignore non-readable or non-regular files. (Bug#10928)
10285
eb182446
GM
10286 * files.el (locate-dominating-file): Doc fix.
10287
24679323
AS
102882012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10289
10290 * calendar/calendar.el (calendar-set-mode-line):
10291 `getenv' returns a string. (Bug#10951)
10292
01d972a9
LL
102932012-03-05 Leo Liu <sdl.web@gmail.com>
10294
109aa8a9
LL
10295 * simple.el (backward-delete-char-untabify): Constrain point to
10296 field (Bug#10939).
10297
01d972a9
LL
10298 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10299
10607bea
CY
103002012-03-05 Chong Yidong <cyd@gnu.org>
10301
10302 * simple.el (count-words): If called from Lisp, return the word
10303 count, for symmetry with `count-lines'. Arglist changed.
10304 (count-words--message): Args changed. Consolidate counting code
10305 from count-words and count-words-region.
10306 (count-words-region): Caller changed.
10307 (count-lines-region): Make it an obsolete alias.
10308
5dd11cfe
TH
103092012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10310
10311 * saveplace.el (save-place-to-alist)
10312 (save-place-ignore-files-regexp): Allow value nil to disable this
10313 feature.
10314
c349f4e6
CY
103152012-03-04 Chong Yidong <cyd@gnu.org>
10316
10317 * faces.el (face-spec-reset-face): For the default face, reset the
10318 attributes to default values (Bug#10748).
10319
e627be4c
LMI
103202012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10321
10322 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10323 previous patch: Check `message-send-mail-function', and not the
10324 default function (bug#10897).
10325
ebeabff4
MA
103262012-03-04 Michael Albinus <michael.albinus@gmx.de>
10327
a41a6cf4
MA
10328 * notifications.el (notifications-on-action-signal)
10329 (notifications-on-closed-signal): Check for unique service name of
10330 incoming event. Fix error in removing entry.
ebeabff4 10331 (top): Register for signals with wildcard service name.
a41a6cf4 10332 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10333
c1ca42b4
CY
103342012-03-04 Chong Yidong <cyd@gnu.org>
10335
dc9924b8 10336 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10337
ea16568d
GM
103382012-03-04 Glenn Morris <rgm@gnu.org>
10339
10340 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10341 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10342 (expand-abbrev, define-abbrev-table): Doc fixes.
10343
fbae4637
LMI
103442012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10345
10346 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10347 `message-default-send-mail-function' and not `send-mail-function'
10348 when doing the prompting for `sendmail-query-once' before sending
10349 in Message buffers (bug#10897).
10350
a1e7225c
LMI
10351 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10352 This is inconsistent with all the other stream functions, which leave
10353 the setting up to the higher levels (if so wanted) (bug#10931).
10354
56d093a9
AM
103552012-03-02 Alan Mackenzie <acm@muc.de>
10356
10357 Depessimize the handling of very large macros.
10358
10359 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10360 (c-macro-cache-syntactic): New variables to implement a one
10361 element macro cache.
10362 (c-invalidate-macro-cache): New function.
10363 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10364 Adapt to use the new cache.
10365 (c-state-safe-place): Use better the cache of safe positions.
10366 (c-state-semi-nonlit-pos-cache)
10367 (c-state-semi-nonlit-pos-cache-limit):
10368 New variables for...
10369 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10370 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10371 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10372 Use c-state-semi-safe-place.
56d093a9 10373
dbbc2e69
SM
10374 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10375 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10376
817e5c3d
MA
103772012-03-02 Michael Albinus <michael.albinus@gmx.de>
10378
dbbc2e69
SM
10379 * jka-compr.el (jka-compr-call-process):
10380 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10381 not remote.
10382
a032a702
MA
103832012-03-01 Michael Albinus <michael.albinus@gmx.de>
10384
10385 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10386 access of FILE2, if FILE1 does not exist.
10387
99a54f21
MA
10388 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10389 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10390
10391 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10392 Add "PAGER=" to `process-environment'.
10393
f6561e1f
MM
103942012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10395
10396 * progmodes/sql.el: Bug fix
10397 (sql-get-login-ext): Save login values in globals.
10398 (sql-get-login): Use new version of `sql-get-login-ext'.
10399 (sql-interactive-mode): Set global `sql-connection' to nil.
10400 (sql-connect): Set global values for connection.
10401 (sql-product-interactive): Save global values as buffer local.
10402
2d44d9cc
LL
104032012-02-29 Leo Liu <sdl.web@gmail.com>
10404
10405 * abbrev.el (define-abbrevs): Reset sys to nil.
10406
96b49301 104072012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10408
bf7f9bc5
JB
10409 * files.el (file-equal-p): Rename from `files-equal-p'.
10410 Return nil when one or both files don't exist.
96b49301 10411 (file-subdir-of-p): Now only top directory must exists,
10412 return nil if it doesn't.
bf7f9bc5
JB
10413 (copy-directory): No need to test with `file-subdir-of-p' after
10414 creating dir.
10415 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10416 to `file-equal-p'.
96b49301 10417
44e97401
GM
104182012-02-28 Glenn Morris <rgm@gnu.org>
10419
10420 * shell.el (shell-mode):
10421 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10422 * play/landmark.el (landmark-font-lock-face-O):
10423 * play/handwrite.el (handwrite):
10424 * play/gomoku.el (gomoku-O):
10425 * net/browse-url.el (browse-url-browser-display):
10426 * international/mule.el (define-charset):
10427 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10428 * filesets.el (filesets-find-file-delay):
10429 * eshell/em-xtra.el (eshell-xtra):
10430 * eshell/em-unix.el (eshell-grep):
10431 * emulation/viper.el (viper-mode):
10432 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10433 * emacs-lisp/easymenu.el (easy-menu-define):
10434 * calendar/timeclock.el (timeclock-use-display-time):
10435 * bs.el (bs-mode):
10436 * bookmark.el (bookmark-save-flag):
10437 Doc fix (standardize possessive apostrophe usage).
10438
c98c6276
CY
104392012-02-27 Chong Yidong <cyd@gnu.org>
10440
bf7f9bc5
JB
10441 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10442 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 10443
c98c6276
CY
10444 * font-lock.el (font-lock-specified-p): Rename from
10445 font-lock-spec-present. Callers changed.
10446
9c62cd04 104472012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 10448
bf7f9bc5
JB
10449 * emacs-lisp/package.el (package-compute-transaction):
10450 Handle holding a package version to t in package-load-list.
8ac9e529 10451
530739c9
MA
104522012-02-26 Michael Albinus <michael.albinus@gmx.de>
10453
10454 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10455 (tramp-get-inode, tramp-get-device): Use cached values.
10456
487915d7
AM
104572012-02-26 Alan Mackenzie <acm@muc.de>
10458
10459 Check there is a font-lock specification before doing initial
10460 fontification.
10461
10462 * font-core.el (font-lock-mode): Move the conditional from
10463 :after-hook to font-lock-initial-fontify.
10464 (font-lock-default-function): Move the check for a specification
10465 to font-lock-spec-present.
10466
dc9924b8 10467 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10468 (font-lock-spec-present): New function.
10469
4fd96557
JB
104702012-02-26 Jim Blandy <jimb@red-bean.com>
10471
10472 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10473 (gdb-send): Apply it to the operand of the '-interpreter-exec
10474 console' command, so that we can pass arguments with (say) quotes
10475 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10476
9a4888c0
CY
104772012-02-26 Chong Yidong <cyd@gnu.org>
10478
07498861
CY
10479 * help-fns.el (describe-function-1): Clarify description of
10480 remapping (Bug#10844).
10481
9a4888c0
CY
10482 * files.el (files-equal-p): Doc fix.
10483 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10484 and quit the loop once a mismatch is found.
10485
ea8fb88d
JB
104862012-02-25 Juanma Barranquero <lekktu@gmail.com>
10487
10488 * bs.el (bs--show-with-configuration): Don't throw an error
10489 if the window cannot be split; otherwise, subsequent calls to
10490 bs-show fail, restoring a stale window config. (Bug#10882)
10491
525795c1
JD
104922012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10493
10494 * term/ns-win.el (global-map): Bind ns-drag-file to
10495 ns-find-file (Bug#5855, Bug#10050).
10496
f008086f
AS
104972012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10498
10499 * calendar/parse-time.el (parse-time-string): Allow extractor to
10500 return nil.
10501
a3fcfa99
MA
105022012-02-25 Michael Albinus <michael.albinus@gmx.de>
10503
91027d08
JB
10504 * net/tramp.el (tramp-file-name-for-operation):
10505 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10506
10507 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10508 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10509 Add COPY-CONTENTS argument.
a3fcfa99 10510
67b0de11
CY
105112012-02-25 Chong Yidong <cyd@gnu.org>
10512
10513 Add custom groups for VC backends, for consistency with vc-bzr.
10514
10515 * vc/vc-arch.el (vc-arch):
10516 * vc/vc-cvs.el (vc-cvs):
10517 * vc/vc-git.el (vc-git):
10518 * vc/vc-hg.el (vc-hg):
10519 * vc/vc-mtn.el (vc-mtn):
10520 * vc/vc-rcs.el (vc-rcs):
10521 * vc/vc-sccs.el (vc-sccs):
10522 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10523 All relevant defcustoms reassigned.
10524
3c9dfce6
CY
105252012-02-25 Chong Yidong <cyd@gnu.org>
10526
1339bf43
CY
10527 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10528
3c9dfce6
CY
10529 * term/x-win.el (x-initialize-window-system): Reduce default for
10530 x-selection-timeout to 5 seconds (Bug#8869).
10531
25b2e303 105322012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10533
ec70a47d
GM
10534 * files.el (files-equal-p, file-subdir-of-p): New functions.
10535 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10536 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10537 * dired-aux.el (dired-copy-file-recursive): Same.
10538 (dired-create-files): Modify destination when source is equal to
10539 dest when copying files.
53a46cd0 10540 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10541
914260cd
MA
105422012-02-24 Michael Albinus <michael.albinus@gmx.de>
10543
10544 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10545 (Bug#10874)
10546
2cb228f7
AM
105472012-02-23 Alan Mackenzie <acm@muc.de>
10548
10549 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10550 parameter "after-hook:" to allow the expansion to run code after
10551 the execution of the mode hooks.
10552
10553 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10554 from font-lock-mode-internal.
2cb228f7 10555
91027d08 10556 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10557 :after-hook.
10558
8f0fde21
SM
105592012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10560
3e88618b
SM
10561 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10562 (completion--cache-all-sorted-completions): New function.
10563 (completion-all-sorted-completions): Use it.
10564 (completion--do-completion, minibuffer-force-complete):
10565 Use it to re-instate the flush hook.
10566
8f0fde21
SM
10567 * icomplete.el (icomplete-completions): Replace last fix with a better
10568 one (bug#10850).
10569
8e911f6f
DG
105702012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10571
10572 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10573 when it might call us back infinitely (bug#10797).
10574
49fe4321
GM
105752012-02-23 Glenn Morris <rgm@gnu.org>
10576
10577 * minibuffer.el (completion-category-overrides): Doc fix.
10578
b291b572
SM
105792012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10582 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10583
31a9ef2e
GM
105842012-02-23 Glenn Morris <rgm@gnu.org>
10585
5e6e6794 10586 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10587 (authors-obsolete-files-regexps, authors-ignored-files)
10588 (authors-ambiguous-files, authors-renamed-files-alist):
10589 Add more entries.
10590
0bd1e074
JL
105912012-02-23 Juri Linkov <juri@jurta.org>
10592
10593 * isearch.el (isearch-occur): Sync interactive spec with occur's
10594 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10595
b617673c
JL
10596 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10597
19e9789e
JL
105982012-02-22 Juri Linkov <juri@jurta.org>
10599
10600 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10601 (ucs-insert): Doc fix. Check for hex digits in the string.
10602 Don't display `nil' in the error message. (Bug#10857)
10603
f41ce09d
AM
106042012-02-22 Alan Mackenzie <acm@muc.de>
10605
7a71b18d 10606 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10607
ac2eceee
GM
106082012-02-22 Glenn Morris <rgm@gnu.org>
10609
10610 * ffap.el (ffap-c-path):
10611 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10612
abd1f678
CY
106132012-02-22 Chong Yidong <cyd@gnu.org>
10614
10615 * custom.el (load-theme): Doc fix.
10616
f25aef2e
GM
106172012-02-22 Glenn Morris <rgm@gnu.org>
10618
10619 * dired-x.el (dired-guess-shell-alist-default):
10620 Remove escape sequences from nroff output. (Bug#172)
10621
5f8dc2ca
GM
106222012-02-21 Glenn Morris <rgm@gnu.org>
10623
6ff86ec4
GM
10624 * vc/emerge.el (emerge-defvar-local):
10625 Set `permanent-local' property rather than unused `preserved'.
10626
be3223a3 10627 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10628 (picture-mode-map): Use it. (Bug#10860)
10629 (picture-mode): Doc fix.
10630
3fe58f4f
JB
106312012-02-21 Juanma Barranquero <lekktu@gmail.com>
10632
10633 * newcomment.el (uncomment-region-default): Remove unused binding.
10634
f9a998c3
GM
106352012-02-21 Glenn Morris <rgm@gnu.org>
10636
10637 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10638 (picture-self-insert, picture-tab-chars): Doc fix.
10639 (picture-mode-map): Fix C-a, C-e.
10640
c6029348
GM
106412012-02-20 Glenn Morris <rgm@gnu.org>
10642
10643 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10644
ab1ce9d7
LL
106452012-02-20 Leo Liu <sdl.web@gmail.com>
10646
10647 * icomplete.el (icomplete-completions): Check FROM arg before
10648 passing to substring (Bug#10850).
10649
0fd40f89
CY
106502012-02-19 Chong Yidong <cyd@gnu.org>
10651
10652 * comint.el: Require ansi-color.
10653 (comint-output-filter-functions): Add ansi-color-process-output.
10654
10655 * ansi-color.el: Don't set comint-output-filter-functions; it is
10656 now in the initial value defined in comint.el.
10657 (ansi-color-apply-face-function): New variable.
10658 (ansi-color-apply-on-region): Use it.
10659 (ansi-color-apply-overlay-face): New function.
10660
10661 * shell.el (shell): No need to require ansi-color.
10662 (shell-mode): Use ansi-color-apply-face-function to highlight
10663 color escapes using font-lock-face property (Bug#10835).
10664
20af2394
CY
106652012-02-19 Chong Yidong <cyd@gnu.org>
10666
10667 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10668 mode-line formats (Bug#10839).
10669
e23a3fbe
GM
106702012-02-18 Glenn Morris <rgm@gnu.org>
10671
b474519e
GM
10672 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10673
10674 * mail/undigest.el (unforward-rmail-message): Doc fix.
10675
e23a3fbe
GM
10676 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10677
57939ff4
EZ
106782012-02-18 Eli Zaretskii <eliz@gnu.org>
10679
10680 * international/characters.el (script-list): Sync with the latest
10681 Unicode Character Database.
10682
0c23686e
AS
106832012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10684
10685 * international/titdic-cnv.el: Remove duplicate coding tag.
10686 * language/cham.el: Likewise.
10687 * language/tai-viet.el: Likewise.
10688
6818b449
GM
106892012-02-18 Glenn Morris <rgm@gnu.org>
10690
10691 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10692 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10693 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10694 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10695 * calendar/holidays.el (holiday-bahai-holidays)
10696 (calendar-holidays, list-holidays):
10697 Use utf-8 Bahá'í in doc-strings, menus, etc.
10698
0311a3fc
TH
106992012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10700
10701 * saveplace.el (save-place-ignore-files-regexp): New variable
10702 allowing for excluding files from saving their location of point.
10703 The default value matches the temporary commit message editing
10704 files from Git, SVN, Bazaar, and Mercurial.
10705 (save-place-to-alist): Use it.
10706
d209e2fb 107072012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10708 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10709
10710 * newcomment.el (uncomment-region-default): Don't leave extra space
10711 when an arg is provided (bug#8150).
10712
ee0ce425
TZ
107132012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10714
eb864a71 10715 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10716
95ddf442
GM
107172012-02-17 Glenn Morris <rgm@gnu.org>
10718
10719 * net/socks.el: Require network-stream. (Bug#10599)
10720
48dd1e39 107212012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10722
10723 * international/charprop.el:
10724 * international/uni-name.el:
10725 * international/uni-old-name.el:
10726 * international/uni-comment.el: Regenerate.
10727
d68cd087
GM
107282012-02-16 Glenn Morris <rgm@gnu.org>
10729
10730 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10731 Interactively in calendar buffer, give an error if not on a date.
10732
13932042
GM
107332012-02-15 Glenn Morris <rgm@gnu.org>
10734
10735 * shell.el (shell-delimiter-argument-list):
10736 Revert 2011-02-17 change. (Bug#8027)
10737
c3a70e2b
CY
107382012-02-15 Chong Yidong <cyd@gnu.org>
10739
60236b0d
CY
10740 * minibuffer.el (completion-at-point-functions): Doc fix.
10741
c3a70e2b
CY
10742 * custom.el (defcustom): Doc fix; note use of defvar.
10743
9f26dc24
GM
107442012-02-15 Glenn Morris <rgm@gnu.org>
10745
10746 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10747 Doc fixes.
10748
6546b134
GM
107492012-02-14 Glenn Morris <rgm@gnu.org>
10750
10751 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10752
d29b2b4c
LI
107532012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10754
10755 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10756 way the ports list is computed.
835bdcba
LI
10757 (smtpmail-query-smtp-server): Prompt the user for a port number if
10758 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10759
08dcdbc9
TZ
107602012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10761
10762 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10763
2605051a
GM
107642012-02-13 Glenn Morris <rgm@gnu.org>
10765
10766 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10767
7ee99f32
TZ
107682012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10769
10770 * net/gnutls.el (gnutls-trustfiles): New variable.
10771 (gnutls-negotiate): Use it.
10772
5f0af64f
LI
107732012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10774
10775 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10776 does its stuff if Gnus is running.
10777
c14fcc95
AM
107782012-02-13 Alan Mackenzie <acm@muc.de>
10779
10780 Fix a loop in c-set-fl-decl-start.
10781
7a71b18d 10782 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10783 c-backward-syntactic-ws actually moves backwards.
10784
142b4d90
LL
107852012-02-13 Leo Liu <sdl.web@gmail.com>
10786
10787 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10788 beginning so that all \C-o chars are removed.
10789
fa9958a6
TZ
107902012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10791
dc9924b8 10792 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10793
0bc5886a
AM
107942012-02-12 Alan Mackenzie <acm@muc.de>
10795
10796 Fix infinite loop with long macros.
4d6769e1 10797 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10798
d4bd55e7
CY
107992012-02-12 Chong Yidong <cyd@gnu.org>
10800
10801 * window.el (display-buffer): Doc fix (Bug#10785).
10802
66f3fe22
GM
108032012-02-12 Glenn Morris <rgm@gnu.org>
10804
bd7da63e
GM
10805 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10806 (x-disown-selection-internal, x-get-selection-internal):
10807 Sync docs with the xselect.c versions.
10808
66f3fe22
GM
10809 * allout-widgets.el: Add missing license notice.
10810
3e0d2fa7
GM
108112012-02-11 Glenn Morris <rgm@gnu.org>
10812
cfecdf09
GM
10813 * select.el (x-get-selection-internal, x-own-selection-internal)
10814 (x-disown-selection-internal):
10815 * x-dnd.el (x-get-selection-internal): Update declarations.
10816
6d216d7f
GM
10817 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10818
2bed3f04
GM
10819 * window.el (window-sides-slots):
10820 * tool-bar.el (tool-bar-position):
10821 * term/xterm.el (xterm-extra-capabilities):
10822 * ses.el (ses-self-reference-early-detection):
10823 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10824 (verilog-auto-wire-type)
10825 (verilog-auto-delete-trailing-whitespace)
10826 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10827 (verilog-auto-tieoff-declaration):
10828 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10829 (sql-oracle-statement-starters, sql-oracle-scan-on):
10830 * progmodes/prolog.el (prolog-align-comments-flag)
10831 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10832 (prolog-left-indent-regexp, prolog-paren-indent-p)
10833 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10834 (prolog-types, prolog-mode-specificators)
10835 (prolog-determinism-specificators, prolog-directives)
10836 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10837 (prolog-electric-dot-flag)
10838 (prolog-electric-dot-full-predicate-template)
10839 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10840 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10841 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10842 (prolog-program-switches, prolog-prompt-regexp)
10843 (prolog-debug-on-string, prolog-debug-off-string)
10844 (prolog-trace-on-string, prolog-trace-off-string)
10845 (prolog-zip-on-string, prolog-zip-off-string)
10846 (prolog-use-standard-consult-compile-method-flag)
10847 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10848 (prolog-imenu-max-lines, prolog-info-predicate-index)
10849 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10850 (prolog-char-quote-workaround):
10851 * progmodes/cc-vars.el (c-defun-tactic):
10852 * net/tramp.el (tramp-encoding-command-interactive)
10853 (tramp-local-end-of-line):
10854 * net/soap-client.el (soap-client):
10855 * net/netrc.el (netrc-file):
10856 * net/gnutls.el (gnutls):
10857 * minibuffer.el (completion-category-overrides)
10858 (completion-cycle-threshold)
10859 (completion-pcm-complete-word-inserts-delimiters):
10860 * man.el (Man-name-local-regexp):
10861 * mail/feedmail.el (feedmail-display-full-frame):
10862 * international/characters.el (glyphless-char-display-control):
10863 * eshell/em-ls.el (eshell-ls-date-format):
10864 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10865 (lisp-lambda-list-keyword-parameter-indentation)
10866 (lisp-lambda-list-keyword-parameter-alignment):
10867 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10868 * dired-x.el (dired-omit-verbose):
10869 * cus-theme.el (custom-theme-allow-multiple-selections):
10870 * calc/calc.el (calc-highlight-selections-with-faces)
10871 (calc-lu-field-reference, calc-lu-power-reference)
10872 (calc-note-threshold):
10873 * battery.el (battery-mode-line-limit):
10874 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10875 (archive-7z-update):
10876 * allout.el (allout-prefixed-keybindings)
10877 (allout-unprefixed-keybindings)
10878 (allout-inhibit-auto-fill-on-headline)
10879 (allout-flattened-numbering-abbreviation):
10880 * allout-widgets.el (allout-widgets-auto-activation)
10881 (allout-widgets-icons-dark-subdir)
10882 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10883 (allout-widgets-theme-dark-background)
10884 (allout-widgets-theme-light-background)
10885 (allout-widgets-item-image-properties-emacs)
10886 (allout-widgets-item-image-properties-xemacs)
10887 (allout-widgets-run-unit-tests-on-load)
10888 (allout-widgets-time-decoration-activity)
10889 (allout-widgets-hook-error-post-time)
10890 (allout-widgets-track-decoration):
10891 Add missing :version tags to new defcustoms and defgroups.
10892
5fec1b8e
GM
10893 * progmodes/sql.el (sql-ansi-statement-starters)
10894 (sql-oracle-statement-starters): Add custom type.
10895
3e0d2fa7
GM
10896 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10897 (prolog-system-version): Give it a type.
10898
90b671e2
EZ
108992012-02-11 Eli Zaretskii <eliz@gnu.org>
10900
10901 * term/pc-win.el (x-select-text, x-selection-owner-p)
10902 (x-own-selection-internal, x-disown-selection-internal)
10903 (x-get-selection-internal): Sync doc strings and argument lists
10904 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10905
5eac0c02
LL
109062012-02-11 Leo Liu <sdl.web@gmail.com>
10907
10908 * progmodes/python.el (python-end-of-statement): Fix infinite
10909 loop. (Bug#10788)
10910
f82cb659
GM
109112012-02-10 Glenn Morris <rgm@gnu.org>
10912
10913 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10914 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10915
cc26d239
LI
109162012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10917
10918 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10919 about SMTP before checking the From header.
10920
91027d08 10921 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10922 into own function for reuse by emacsbug.el.
10923
1be3ca5a
LL
109242012-02-10 Leo Liu <sdl.web@gmail.com>
10925
10926 * subr.el (condition-case-unless-debug): Rename from
10927 condition-case-no-debug. All callers changed.
10928 (with-demoted-errors): Fix caller.
10929
10930 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10931 * nxml/rng-valid.el (rng-do-some-validation):
10932 * emacs-lisp/package.el (package-refresh-contents)
10933 (package-menu-execute):
10934 * desktop.el (desktop-create-buffer):
91027d08 10935 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10936
b011fbfe
GM
109372012-02-10 Glenn Morris <rgm@gnu.org>
10938
b2096d72
GM
10939 * textmodes/bibtex.el:
10940 Add missing :version tags for new/changed defcustoms.
10941
b011fbfe
GM
10942 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10943
4c7e65bf
LI
109442012-02-09 Lars Ingebrigtsen <larsi@rusty>
10945
10946 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10947 (smtpmail-via-smtp): Use it, or fall back on the From address.
10948 (smtpmail-send-it): Ditto.
10949
f3934f6f
SM
109502012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10951
10952 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10953 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10954 (byte-compile-tmp-var): New const.
10955 (byte-compile-defvar): Use it to minimize .elc size.
10956 Just use `defvar' rather than simulate it (bug#10761).
10957
a075a2c5
GM
109582012-02-09 Glenn Morris <rgm@gnu.org>
10959
cf3aa21b
GM
10960 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10961
354998cd
GM
10962 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10963 Add :version tags.
10964
dc9924b8
SM
10965 * progmodes/compile.el (compilation-error-screen-columns)
10966 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10967
dab3703d
GM
10968 * vc/log-view.el (log-view-toggle-entry-display):
10969 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10970
3f88cd72
GM
10971 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10972 (report-emacs-bug-can-use-xdg-email):
10973 (report-emacs-bug-insert-to-mailer): Doc fixes.
10974 (report-emacs-bug): Message fix.
10975
d95b247d
GM
10976 * net/browse-url.el (browse-url-can-use-xdg-open)
10977 (browse-url-xdg-open): Doc fixes.
10978
a075a2c5
GM
10979 * electric.el (electric-indent-mode, electric-pair-mode)
10980 (electric-layout-rules, electric-layout-mode): Doc fixes.
10981 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10982
ffb6157e
MR
109832012-02-08 Martin Rudalics <rudalics@gmx.at>
10984
10985 * server.el (server-unselect-display): Don't inadvertently kill
10986 the current buffer. (Bug#10729)
10987
e1ac4066
GM
109882012-02-08 Glenn Morris <rgm@gnu.org>
10989
34e8a2da
GM
10990 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10991 (sql-list-table): Doc fixes.
10992
b4ac6e8c
GM
10993 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10994 Comment out (does nothing).
10995
e1ac4066
GM
10996 * completion.el (dynamic-completion-mode):
10997 * dirtrack.el (dirtrack-debug-mode):
10998 * electric.el (electric-layout-mode):
10999 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11000 * face-remap.el (text-scale-mode, buffer-face-mode):
11001 * iimage.el (iimage-mode):
11002 * image-mode.el (image-transform-mode):
11003 * minibuffer.el (completion-in-region-mode):
11004 * scroll-lock.el (scroll-lock-mode):
11005 * simple.el (next-error-follow-minor-mode):
11006 * tar-mode.el (tar-subfile-mode):
11007 * tooltip.el (tooltip-mode):
11008 * vcursor.el (vcursor-use-vcursor-map):
11009 * wid-browse.el (widget-minor-mode):
11010 * emulation/tpu-edt.el (tpu-edt-mode):
11011 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11012 * international/iso-ascii.el (iso-ascii-mode):
11013 * language/thai-util.el (thai-word-mode):
11014 * mail/supercite.el (sc-minor-mode):
11015 * net/goto-addr.el (goto-address-mode):
11016 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11017 * progmodes/cwarn.el (cwarn-mode):
11018 * progmodes/flymake.el (flymake-mode):
11019 * progmodes/glasses.el (glasses-mode):
11020 * progmodes/hideshow.el (hs-minor-mode):
11021 * progmodes/pascal.el (pascal-outline-mode):
11022 * textmodes/enriched.el (enriched-mode):
11023 * vc/smerge-mode.el (smerge-mode):
11024 Doc fixes (minor mode argument).
11025
5e0d957f
EZ
110262012-02-07 Eli Zaretskii <eliz@gnu.org>
11027
11028 * ls-lisp.el (ls-lisp-sanitize): New function.
11029 (ls-lisp-insert-directory): Use it to fix or remove any elements
11030 in file-alist with missing attributes. (Bug#4673)
11031
98d7371e
AM
110322012-02-07 Alan Mackenzie <acm@muc.de>
11033
11034 Fix spurious recognition of c-in-knr-argdecl.
11035
11036 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11037 putative K&R region.
11038
667ced3a
AM
110392012-02-07 Alan Mackenzie <acm@muc.de>
11040
eb864a71
LM
11041 * progmodes/cc-engine.el (c-forward-objc-directive):
11042 Prevent looping in "#pragma mark @implementation".
667ced3a 11043
5b77774d
MA
110442012-02-07 Michael Albinus <michael.albinus@gmx.de>
11045
11046 * notifications.el (notifications-on-closed-signal): Make `reason'
11047 optional. (Bug#10744)
11048
af008560
GM
110492012-02-07 Glenn Morris <rgm@gnu.org>
11050
60d47423
GM
11051 * emacs-lisp/easy-mmode.el (define-minor-mode):
11052 Doc fixes for the macro and the mode it defines.
11053
dd605cc4
GM
11054 * image.el (imagemagick-types-inhibit): Doc fix.
11055
af008560
GM
11056 * cus-start.el (imagemagick-render-type): Add it.
11057
5cc59a37
LI
110582012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11059
4d6769e1
JB
11060 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11061 Set the default at load time, too, so that `font-lock-fontify-buffer'
11062 can be called without setting up the entire mode first. This fixes
11063 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11064
9a6dd747
CY
110652012-02-06 Chong Yidong <cyd@gnu.org>
11066
2d16b285
CY
11067 * simple.el (list-processes--refresh): Delete exited processes
11068 (Bug#8094).
11069
171e9b6e
CY
11070 * comint.el (comint-next-prompt): next-single-char-property-change
11071 and prev-single-char-property-change never return nil (Bug#8657).
11072
9a6dd747
CY
11073 * custom.el (defcustom): Doc fix (Bug#9711).
11074
aa4589a7
CY
110752012-02-05 Chong Yidong <cyd@gnu.org>
11076
5c2a252f
CY
11077 * cus-edit.el (custom-variable-reset-backup): Quote the value
11078 before storing it in the customized-value property (Bug#6712).
4aab9006 11079 (custom-display): Add a customization type tag.
983b9602 11080 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11081
aa4589a7
CY
11082 * wid-edit.el (widget-field-value-get): New optional arg to
11083 suppress trailing whitespace truncation.
11084 (character): Use it (Bug#2689).
11085
1ff980ae
AS
110862012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11087
11088 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11089 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11090
03988c98
CY
110912012-02-05 Chong Yidong <cyd@gnu.org>
11092
eeb6cc88
CY
11093 * cus-edit.el (custom-variable-value-create): For mismatched
11094 types, show the current value (Bug#7600).
11095
03988c98
CY
11096 * custom.el (defcustom): Doc fix.
11097
f8cdeef0
GM
110982012-02-05 Glenn Morris <rgm@gnu.org>
11099
11100 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11101
0696d255
JB
111022012-02-05 Juanma Barranquero <lekktu@gmail.com>
11103
11104 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11105 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11106 (pp-last-sexp): Use `looking-at-p'.
11107
34c99998
GM
111082012-02-04 Glenn Morris <rgm@gnu.org>
11109
8f05da42
GM
11110 * files.el (revert-buffer):
11111 Doc fix (mention revert-buffer-in-progress-p).
11112
f160676e
GM
11113 * emacs-lisp/ert-x.el (ert-simulate-command):
11114 Check deferred-action-list (which is obsolete) is bound.
11115
c7291ad9
GM
11116 * subr.el (with-wrapper-hook): Doc fixes.
11117
34c99998
GM
11118 * simple.el (filter-buffer-substring-functions)
11119 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11120
6283a7d3
LL
111212012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11122
11123 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11124 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11125
e96e3013
LL
111262012-02-04 Leo Liu <sdl.web@gmail.com>
11127
11128 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11129
8ded50f2
GM
111302012-02-04 Glenn Morris <rgm@gnu.org>
11131
82ff1d13
GM
11132 * image.el (image-extension-data): Add obsolete alias.
11133
987a0a16
GM
11134 * isearch.el (isearch-update): Doc fix.
11135
ea32ef46
GM
11136 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11137
8ded50f2
GM
11138 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11139
eea14f31
GM
111402012-02-03 Glenn Morris <rgm@gnu.org>
11141
11142 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11143 (image-animate-timeout): Doc fix.
11144
11145 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11146
12f381b7
GM
111472012-02-02 Glenn Morris <rgm@gnu.org>
11148
953cebf5
GM
11149 * server.el (server-auth-dir): Doc fix.
11150 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11151
12f381b7
GM
11152 * subr.el (run-mode-hooks): Doc fix.
11153
953a8c3b
JL
111542012-02-02 Juri Linkov <juri@jurta.org>
11155
11156 * image-mode.el (image-toggle-display-image): Remove tautological
11157 `major-mode' from the `derived-mode-p' test.
11158
c5d3843c
KH
111592012-02-02 Kenichi Handa <handa@m17n.org>
11160
9f6e692e 11161 * composite.el (compose-region): Cancel previous change.
c5d3843c 11162
159462d4 111632012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11164
11165 * composite.el (compose-region, compose-string): Signal error for
11166 a null string component (Bug#6988).
11167
9f562668
CY
111682012-02-01 Chong Yidong <cyd@gnu.org>
11169
e2cef717
CY
11170 * view.el (view-buffer-other-window, view-buffer-other-frame):
11171 Handle special modes like view-buffer (Bug#10650).
11172 (view-buffer): Simplify.
11173
9f562668
CY
11174 * frame.el (set-frame-font): Tweak meaning of third argument.
11175
9f6e692e
JB
11176 * dynamic-setting.el (font-setting-change-default-font):
11177 Use set-frame-font (Bug#9982).
9f562668 11178
781acb9f
GM
111792012-02-01 Glenn Morris <rgm@gnu.org>
11180
6035be52
GM
11181 * progmodes/compile.el (compilation-internal-error-properties):
11182 Respect compilation-first-column in the "*compilation*" buffer.
11183
781acb9f
GM
11184 * emacs-lisp/easy-mmode.el (define-minor-mode):
11185 Relax :variable's test for a named function.
11186
abbceb00
AM
111872012-01-31 Alan Mackenzie <acm@muc.de>
11188
11189 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11190 off by one error.
11191
fce3fdeb
CY
111922012-01-31 Chong Yidong <cyd@gnu.org>
11193
11194 * frame.el (set-frame-font): New arg ALL-FRAMES.
11195
11196 * menu-bar.el (menu-set-font): Use set-frame-font.
11197
11198 * faces.el (face-spec-reset-face): Don't apply unspecified
11199 attribute values to the default face.
11200
47893581
JB
112012012-01-31 Juanma Barranquero <lekktu@gmail.com>
11202
11203 * progmodes/cwarn.el (cwarn): Remove dead link.
11204 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11205 Remove * from defcustom docstrings.
11206 (turn-on-cwarn-mode): Make obsolete.
11207 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11208 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11209
e58e988a
GM
112102012-01-31 Glenn Morris <rgm@gnu.org>
11211
60dc2671 11212 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11213 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11214 Allow named functions to be used as the cdr of :variable.
e58e988a 11215
7a3f511d
GM
112162012-01-30 Glenn Morris <rgm@gnu.org>
11217
11218 * emacs-lisp/authors.el (authors-fixed-entries):
11219 Remove reference to deleted file rnewspost.el.
11220
cb882333
JB
112212012-01-29 Juanma Barranquero <lekktu@gmail.com>
11222
11223 * window.el (window-with-parameter): Remove unused variable `windows'.
11224 (window--side-check): Remove unused variable `code'.
11225 (window--resize-siblings): Remove unused variable `first'.
11226 (adjust-window-trailing-edge): Remove unused variable `failed'.
11227 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11228 Use `let', not `let*'.
11229 (balance-windows-2): Remove unused variable `found'.
11230 (window--state-put-2): Remove unused variable `splits'.
11231 (window-state-put): Remove unused variable `selected'.
11232 (same-window-p): Use `string-match-p'.
11233 (display-buffer-assq-regexp): Remove unused variable `value'.
11234 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11235 Mark argument ALIST as ignored.
11236 (pop-to-buffer): Remove unused variable `old-window'.
11237
907201af
EZ
112382012-01-29 Eli Zaretskii <eliz@gnu.org>
11239
11240 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11241 and .lzma compressed files.
11242
ea162670
CY
112432012-01-29 Chong Yidong <cyd@gnu.org>
11244
5b95ee8a
CY
11245 * frame.el (window-system-default-frame-alist): Doc fix.
11246
ea162670
CY
11247 * dynamic-setting.el (font-setting-change-default-font): Don't
11248 change the default face if SET-FONT argument is non-nil (Bug#9982).
11249
d6e6f4b1
SB
112502012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11251
11252 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11253
0f29fa41 112542012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11255
11256 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11257 breakpoints in files outside current directory (Bug#6098).
11258
db174434
CY
112592012-01-29 Chong Yidong <cyd@gnu.org>
11260
6b25e4e2
SE
11261 * progmodes/python.el: Require ansi-color at top-level.
11262
6df6ae42
JB
11263 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11264 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11265 (lisp-mode-abbrev-table): Add doc.
11266 (lisp-mode-variables): Don't set local-abbrev-table.
11267 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11268
e70ee681
RW
112692012-01-28 Roland Winkler <winkler@gnu.org>
11270
11271 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11272
ace88aa2
RW
112732012-01-28 Roland Winkler <winkler@gnu.org>
11274
11275 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11276 (bibtex-set-dialect): Use it. Either set global values of
11277 dialect-dependent variables or bind these variables buffer-locally
11278 (Bug#10254).
11279 (bibtex-mode): Call bibtex-set-dialect via
11280 hack-local-variables-hook.
eb864a71
LM
11281 (bibtex-dialect): Update docstring.
11282 Add safe-local-variable predicate.
ace88aa2
RW
11283 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11284 bibtex-set-dialect.
11285 (bibtex-mode-map): Define menu for each dialect.
11286 (bibtex-entry): Fix docstring.
11287
93376c5b
CY
112882012-01-28 Chong Yidong <cyd@gnu.org>
11289
11290 * eshell/esh-arg.el (eshell-quote-argument): New function.
11291
11292 * eshell/esh-ext.el (eshell-invoke-batch-file):
11293 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11294 first arg to eshell-parse-command (Bug#10523).
11295
4372494f
DA
112962012-01-28 Drew Adams <drew.adams@oracle.com>
11297
11298 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11299 `default-directory' is non-nil.
11300
4d4ec1f8
EZ
113012012-01-28 Eli Zaretskii <eliz@gnu.org>
11302
11303 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11304 line that displays system-configuration-options. (Bug#9924)
11305
7c188927
DA
113062012-01-28 Drew Adams <drew.adams@oracle.com>
11307
11308 * descr-text.el (describe-char): Show information about POS, in
11309 addition to information about the character at POS. Improve and
11310 update the doc string. Change "code point" to "code point in
11311 charset", to avoid confusion with the character's Unicode code
11312 point shown above that. (Bug#10129)
11313
e0da685a
EZ
113142012-01-28 Eli Zaretskii <eliz@gnu.org>
11315
11316 * descr-text.el (describe-char): Show the raw character, not only
11317 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11318 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11319 for the reasons.
11320
70550acf
PH
113212012-01-28 Phil Hagelberg <phil@hagelb.org>
11322
eb864a71
LM
11323 * emacs-lisp/package.el (package-install):
11324 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11325
0ce8e868
CY
113262012-01-28 Chong Yidong <cyd@gnu.org>
11327
cb882333
JB
11328 * emacs-lisp/package.el (package-maybe-load-descriptor):
11329 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11330 (package-maybe-load-descriptor): Use it.
11331 (package-download-transaction): Fully load required packages
11332 inside the loop, so that `require' calls work (Bug#10593).
11333 (package-install): No need to call package-initialize now.
11334
2e7f3bea
CY
113352012-01-28 Chong Yidong <cyd@gnu.org>
11336
6e9bad14
CY
11337 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11338
f823b8ca
CY
11339 * tooltip.el (tooltip-mode): Doc fix.
11340 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11341
2680c309
CY
11342 * frame.el (set-cursor-color): Doc fix (Bug#352).
11343
d7a9e63b
CY
11344 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11345 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11346
2e7f3bea
CY
11347 * cus-edit.el (custom-buffer-create-internal): Fix search button
11348 action (Bug#10542).
2ae01800 11349 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11350
fc4f7a23
EW
113512012-01-27 Eduard Wiebe <usenet@pusto.de>
11352
11353 * dired.el (dired-mark-files-regexp):
11354 Include any subdirectory components. (Bug#10445)
11355
7dd37071
ML
113562012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11357
11358 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11359 Handle [host]:port syntax. (Bug#10533)
11360
a268160b
AH
113612012-01-27 Alex Harsanyi <harsanyi@mac.com>
11362
11363 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11364
e43273ef
GM
113652012-01-26 Glenn Morris <rgm@gnu.org>
11366
11367 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11368 * term.el (term-raw-escape-map): Use Control-X-prefix.
11369 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11370
1edf595d
MR
113712012-01-25 Martin Rudalics <rudalics@gmx.at>
11372
11373 * window.el (window-state-get, window--state-get-1): Don't deal
11374 with fixed-sizeness of windows. Simplify code.
11375
fa8eafef
JC
113762012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11377
6df6ae42
JB
11378 * window.el (window--state-get-1, window--state-put-2):
11379 Don't save and restore the mark.
fa8eafef 11380
0b21c100
CY
113812012-01-25 Chong Yidong <cyd@gnu.org>
11382
11383 * custom.el (custom-variable-p): Doc fix.
11384
5ae1a6c8
GM
113852012-01-25 Glenn Morris <rgm@gnu.org>
11386
40047858
GM
11387 * dired.el (dired-goto-file): Handle some of the more common
11388 characters that `ls -b' escapes. (Bug#10596)
11389
5ddce96c
GM
11390 * progmodes/compile.el (compilation-next-error-function):
11391 Respect compilation-first-column in the "*compilation*" buffer.
11392 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11393
5ae1a6c8
GM
11394 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11395
b559f1a9
GM
113962012-01-24 Glenn Morris <rgm@gnu.org>
11397
11398 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11399
6725d21a
JD
114002012-01-24 Julien Danjou <julien@danjou.info>
11401
11402 * color.el (color-rgb-to-hsl): Fix value computing.
11403 (color-hue-to-rgb): New function.
11404 (color-hsl-to-rgb): New function.
11405 (color-clamp, color-saturate-hsl, color-saturate-name)
11406 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11407 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11408
70df4bbe
GM
114092012-01-24 Glenn Morris <rgm@gnu.org>
11410
11411 * vc/vc-rcs.el (vc-rcs-create-tag):
11412 * vc/vc-sccs.el (vc-sccs-create-tag):
11413 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11414
802a2ae2
ML
114152012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11416
11417 * eshell/esh-util.el (eshell-read-hosts-file):
11418 Skip comment lines. (Bug#10549)
11419
d7128bb1
ML
11420 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11421
d1a5c3b4
JB
114222012-01-23 Juanma Barranquero <lekktu@gmail.com>
11423
2724d9c7
JB
11424 * subr.el (display-delayed-warnings): Doc fix.
11425 (collapse-delayed-warnings): New function to collapse identical
11426 adjacent warnings.
11427 (delayed-warnings-hook): Add it.
d1a5c3b4 11428
a5509865
MA
114292012-01-22 Michael Albinus <michael.albinus@gmx.de>
11430
11431 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11432
a5509865
MA
11433 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11434 (tramp-default-user-alist): Don't add "pscp".
11435 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11436 property "login-as", if set. (Bug#10530)
11437
cc6d5805
MA
114382012-01-21 Michael Albinus <michael.albinus@gmx.de>
11439
11440 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11441 "plink1" and "psftp". (Bug#10530)
11442
114432012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
11444
11445 * international/mule-cmds.el (prefer-coding-system): Show a
11446 warning message if the default value of file-name-coding-system
11447 was not changed.
11448
f0960428
JC
114492012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11450
cb882333
JB
11451 * windmove.el (windmove-reference-loc):
11452 Fix windmove-reference-loc miscalculation.
f0960428 11453
dd6f2a63
JB
114542012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11455
11456 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11457 default unit.
11458
7b447e9b
GM
114592012-01-21 Glenn Morris <rgm@gnu.org>
11460
117a9ea1
GM
11461 * international/mule.el (auto-coding-alist): Add .tbz.
11462
7b447e9b
GM
11463 * files.el (local-enable-local-variables): Doc fix.
11464 (inhibit-local-variables-regexps): Rename from
11465 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11466 Doc fix. Add some extensions from auto-coding-alist.
11467 (inhibit-local-variables-suffixes):
11468 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11469 (inhibit-local-variables-p):
11470 New function, extracted from set-auto-mode-1.
11471 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11472 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11473 (hack-local-variables): Doc fix. Make the mode-only case
11474 respect enable-local-variables and friends.
11475 Respect inhibit-local-variables-regexps for file-locals, but
11476 not for directory-locals.
11477 (set-visited-file-name):
11478 Take account of inhibit-local-variables-regexps.
11479 Whether it applies may change as the file name is changed.
11480 * jka-cmpr-hook.el (jka-compr-install):
11481 * jka-compr.el (jka-compr-uninstall):
11482 Update for inhibit-first-line-modes-suffixes name change.
11483
dd6e3cdd
MR
114842012-01-20 Martin Rudalics <rudalics@gmx.at>
11485
11486 * help-macro.el (make-help-screen): Temporarily restore original
11487 binding for minor-mode-map-alist (Bug#10454).
11488
0d0deb38
JD
114892012-01-19 Julien Danjou <julien@danjou.info>
11490
11491 * color.el (color-name-to-rgb): Use the white color to find the max
11492 color component value and return correctly computed values.
11493 (color-name-to-rgb): Add missing float conversion for max value.
11494
34a02f46
MR
114952012-01-19 Martin Rudalics <rudalics@gmx.at>
11496
11497 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11498 special state value for window-persistent-parameters.
11499 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11500 (window--state-put-2): Reset all window parameters to nil before
11501 assigning values of persistent parameters.
11502
606c44c4
AM
115032012-01-18 Alan Mackenzie <acm@muc.de>
11504
11505 Eliminate sluggishness and hangs in fontification of "semicolon
11506 deserts".
11507
cb882333
JB
11508 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11509 Change value 10000 -> 3000.
606c44c4
AM
11510 (c-state-safe-place): Reformulate so it doesn't stack up an
11511 infinite number of wrong entries in c-state-nonlit-pos-cache.
11512 (c-determine-limit-get-base, c-determine-limit): New functions to
11513 determine backward search limits disregarding literals.
11514 (c-find-decl-spots): Amend commenting.
11515 (c-cheap-inside-bracelist-p): New function which detects "={".
11516
11517 * progmodes/cc-fonts.el
11518 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11519 backward search.
11520 (c-font-lock-declarations): Fix an occurrence of point being
11521 undefined. Check additionally for point being in a bracelist or
11522 near a macro invocation without a semicolon so as to avoid a
11523 fruitless time consuming search for a declarator. Give a more
11524 precise search limit for declarators using the new
11525 c-determine-limit.
11526
f3860cea
GM
115272012-01-18 Glenn Morris <rgm@gnu.org>
11528
11529 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11530 (set-auto-mode): Doc fixes.
11531
1db03b16
GM
115322012-01-17 Glenn Morris <rgm@gnu.org>
11533
0e6038be
GM
11534 * isearch.el (search-nonincremental-instead): Fix doc typo.
11535
1db03b16
GM
11536 * dired.el (dired-insert-directory): Handle newlines in directory name.
11537 (dired-build-subdir-alist): Unescape newlines in directory name.
11538
4cb0aa75
MA
115392012-01-17 Michael Albinus <michael.albinus@gmx.de>
11540
11541 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11542 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11543 (tramp-action-terminal): Use it. (Bug#10530)
11544
1d00653d
SM
115452012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11548
6a6ee00d
MR
115492012-01-16 Martin Rudalics <rudalics@gmx.at>
11550
11551 * window.el (window-state-ignored-parameters): Remove variable.
11552 (window--state-get-1): Rename argument MARKERS to IGNORE.
11553 Handle persistent window parameters. Make copy of clone-of
11554 parameter only if requested. (Bug#10348)
11555 (window--state-put-2): Install a window parameter only if it has
11556 a non-nil value or an existing parameter shall be overwritten.
11557
97912def
MA
115582012-01-15 Michael Albinus <michael.albinus@gmx.de>
11559
11560 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11561
688070a5
EZ
115622012-01-14 Eli Zaretskii <eliz@gnu.org>
11563
11564 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11565 don't pass the (nil) value of `upnode' to string-match.
11566
301afadc
CY
115672012-01-14 Chong Yidong <cyd@gnu.org>
11568
11569 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11570 Fix values recognized by the cursorBlink resource.
301afadc 11571
9e5788aa
PE
115722012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11573
11574 * epg.el (epg--make-temp-file): Avoid permission race condition
11575 when running on old Emacs versions (bug#10403).
11576
3cdb7f5a
GM
115772012-01-14 Glenn Morris <rgm@gnu.org>
11578
11579 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11580
8c82b1b4
AM
115812012-01-13 Alan Mackenzie <acm@muc.de>
11582
11583 Fix filling for when filladapt mode is enabled.
11584
11585 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11586 c-mask-paragraph, pass in `fill-paragraph' rather than
11587 `fill-region-as-paragraph'. (This is a reversion of a previous
11588 change.)
eb864a71
LM
11589 * progmodes/cc-mode.el (c-basic-common-init):
11590 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11591
e517eda4
GM
115922012-01-13 Glenn Morris <rgm@gnu.org>
11593
1498536e
GM
11594 * dired.el (dired-switches-escape-p): New function.
11595 (dired-insert-directory): Use dired-switches-escape-p.
11596 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11597
e517eda4
GM
11598 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11599
328f984d
GM
116002012-01-12 Glenn Morris <rgm@gnu.org>
11601
11602 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11603 changes in adaptive-fill-regexp. (Bug#10276)
11604
2cc769a8
AM
116052012-01-11 Alan Mackenzie <acm@muc.de>
11606
11607 Fix Emacs bug #10463 - put `widen's around the critical spots.
11608
1d00653d 11609 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11610 widen around each invocation of c-state-pp-to-literal. Remove an
11611 unused let variable.
11612
e52c37fa
GM
116132012-01-11 Glenn Morris <rgm@gnu.org>
11614
11615 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11616 Doc fix.
e52c37fa 11617
96f8741e
CY
116182012-01-10 Chong Yidong <cyd@gnu.org>
11619
1d00653d
SM
11620 * net/network-stream.el (network-stream-open-starttls):
11621 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11622 response to the capability command.
11623
b09a806e
GM
116242012-01-10 Glenn Morris <rgm@gnu.org>
11625
11626 * mail/unrmail.el (unrmail): Tweak previous change.
11627
7655cb66
CY
116282012-01-09 Chong Yidong <cyd@gnu.org>
11629
11630 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11631
9d5a8f0b
AM
116322012-01-08 Alan Mackenzie <acm@muc.de>
11633
11634 Optimise font locking in long enum definitions.
11635
11636 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11637 arm to a cond form to handle enums.
11638 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11639 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11640
9a0115ab 116412012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11642
11643 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11644 (Bug#10401)
6bb72cbd 11645
f186bb95
LMI
116462012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11647
29232a68
LMI
11648 * faces.el (set-face-attribute): Clarify the meaning of the nil
11649 frame (bug#10294).
11650
4e5d086d
LMI
11651 * subr.el (with-selected-frame): Mention that the selected frame
11652 is restored (bug#9980).
11653
8e66aebe
LMI
11654 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11655 (bug#9759).
11656
cd394be1 11657 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11658 (password-read): Don't autoload unused function.
11659
adf4e762
JB
116602012-01-07 Juanma Barranquero <lekktu@gmail.com>
11661
11662 * progmodes/which-func.el (which-func-mode): Turn into a
11663 non-interactive function and mark as obsolete (bug#10428).
11664
89bd9ccd
CY
116652012-01-06 Chong Yidong <cyd@gnu.org>
11666
11667 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11668 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11669 functions, along with 1 and -1.
11670
4afee9d5
EZ
116712012-01-06 Eli Zaretskii <eliz@gnu.org>
11672
11673 * time.el (display-time-load-average)
11674 (display-time-default-load-average): Doc fixes. See the thread
11675 starting at
11676 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11677 for the details.
11678
536aea70
GM
116792012-01-06 Glenn Morris <rgm@gnu.org>
11680
665ae865
GM
11681 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11682 has no messages. (Bug#10377)
11683
c869783d
GM
11684 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11685 than Info-edit. (Bug#10385)
11686
2bb4227e
GM
11687 * time.el (display-time-load-average, display-time-next-load-average):
11688 Doc fixes.
11689
7d5944b9
GM
11690 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11691 local setting of buffer-read-only to the input buffer. (Bug#10419)
11692
536aea70
GM
11693 * calendar/calendar.el (calendar-mode):
11694 Locally set scroll-margin to 0. (Bug#10379)
11695
7dccca16
UM
116962012-01-06 Ulrich Mueller <ulm@gentoo.org>
11697
11698 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11699
afbb7930
GM
117002012-01-05 Glenn Morris <rgm@gnu.org>
11701
11702 * eshell/em-unix.el (diff-no-select): Autoload it.
11703 (eshell/diff): Use diff-no-select. (Bug#10420)
11704
04482335
CY
117052012-01-05 Chong Yidong <cyd@gnu.org>
11706
7baca3bc
CY
11707 * shell.el (shell-dynamic-complete-functions): Revert last change.
11708 (shell-command-completion-function): New function.
11709 (shell-completion-vars): Use it to implement
11710 shell-completion-execonly (Bug#10417).
11711
04482335
CY
11712 * custom.el (enable-theme): Don't set custom-safe-themes.
11713
1d00653d
SM
11714 * cus-theme.el (custom-theme-merge-theme):
11715 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11716
bb5aa5d6
MM
117172012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11718
11719 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11720 first prompt in `sql-interacive-mode'.
11721 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11722 keywords.
6df6ae42 11723 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11724 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11725 context of original buffer. Invoke `sql-login-hook'.
11726
a7183d7c
EZ
117272012-01-04 Eli Zaretskii <eliz@gnu.org>
11728
11729 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11730 letters in cite-prefix.
11731
a1eacd1e
LMI
117322012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11733
11734 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11735
787cdb34
CY
117362012-01-03 Chong Yidong <cyd@gnu.org>
11737
1d00653d
SM
11738 * shell.el (shell-dynamic-complete-functions):
11739 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11740 comint-filename-completion first (Bug#10417).
11741
30710442
RS
117422012-01-02 Richard Stallman <rms@gnu.org>
11743
11744 * battery.el (battery-status-function):
11745 Detect when to use battery-yeeloong-sysfs.
11746 (battery-echo-area-format): Add string for Yeeloong.
11747 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11748 (battery-yeeloong-sysfs): New function.
11749
f75bfc33
CY
117502012-01-02 Chong Yidong <cyd@gnu.org>
11751
11752 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11753 (dirtrack): Merge code for handling relative filenames in prompt
11754 from shell-dir-cookie-watcher.
11755 (dirtrack-debug-message): New arg to avoid excess format calls.
11756
11757 * shell.el (shell-dir-cookie-re): Variable deleted.
11758 (shell-dir-cookie-watcher): Function deleted.
11759 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11760 with dirtrack-mode.
11761
651e947e
EZ
117622012-01-01 Eli Zaretskii <eliz@gnu.org>
11763
1d00653d
SM
11764 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11765 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11766 libgnutls-26.dll.
11767
94d4c7dc
AS
117682011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11769
11770 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11771
8d43f3cd
EZ
117722011-12-31 Eli Zaretskii <eliz@gnu.org>
11773
11774 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11775 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11776
98c8795a
MA
117772011-12-29 Michael Albinus <michael.albinus@gmx.de>
11778
11779 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11780 also for alternative shells.
11781 (tramp-open-connection-setup-interactive-shell): Check, whether
11782 the shell is a busybox.
11783 (tramp-send-command): Don't suppress multiple prompts for
11784 busyboxes, it hurts.
11785
51281b32
CY
117862011-12-28 Chong Yidong <cyd@gnu.org>
11787
11788 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11789 (gdb-get-source-file): Move mode line update to
11790 gdb-get-source-file (Bug#10087).
11791
2170cb53
CY
117922011-12-25 Chong Yidong <cyd@gnu.org>
11793
11794 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11795 gud-gdb-marker-filter without taking it as an argument.
11796 (gud-gdb-run-command-fetch-lines): Caller changed.
11797 (gud-gdb-completion-function): New variable.
11798 (gud-gdb-completion-at-point): Use it.
11799 (gud-gdb-completions-1): Split from gud-gdb-completions.
11800
11801 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11802 function as separate arguments.
11803 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11804 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11805 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11806 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11807 (gdb-stopped, def-gdb-auto-update-trigger)
11808 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11809 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11810 Callers changed.
2170cb53
CY
11811 (gud-gdbmi-completions): New function.
11812 (gdb): Use it for generating the completion table.
11813
be8b11bb
AM
118142011-12-24 Alan Mackenzie <acm@muc.de>
11815
11816 Introduce a mechanism to widen the region used in context font
1d00653d 11817 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11818
1d00653d
SM
11819 * progmodes/cc-langs.el (c-before-font-lock-functions):
11820 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11821 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11822 functions to be run just before context (etc.) font locking.
11823
11824 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11825 New, functionality extracted from
be8b11bb 11826 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11827 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11828 (c-after-change): Set c-in-after-change-fontification.
11829 (c-set-fl-decl-start): Rejig its interface, so it can be called
11830 from both after-change and context fontifying.
b81d40f0
JB
11831 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11832 New functions.
11833 (c-standard-font-lock-fontify-region-function): New variable.
11834 (c-font-lock-fontify-region): New function.
be8b11bb 11835
341cf6ac
JL
118362011-12-24 Juri Linkov <juri@jurta.org>
11837
11838 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11839 (Bug#10348)
11840
bffcee0a
MA
118412011-12-23 Michael Albinus <michael.albinus@gmx.de>
11842
11843 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11844 existence of source file. (Bug#10325)
11845
cb5e207c
AM
118462011-12-23 Alan Mackenzie <acm@muc.de>
11847
11848 Fix unstable fontification inside templates.
11849
b81d40f0
JB
11850 * progmodes/cc-langs.el (c-before-font-lock-functions):
11851 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11852 additionally has c-set-fl-decl-start. The other languages (apart
11853 from AWK) have that as a single entry.
11854
b81d40f0
JB
11855 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11856 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11857 c-set-fl-decl-start.
11858
b81d40f0
JB
11859 * progmodes/cc-mode.el (c-common-init, c-after-change):
11860 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11861 (c-set-fl-decl-start): New function, extracted from
11862 c-font-lock-enclosing-decls and enhanced.
11863
60ff536c
JB
118642011-12-23 Juanma Barranquero <lekktu@gmail.com>
11865
11866 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11867
1c4757d6
JL
118682011-12-22 Juri Linkov <juri@jurta.org>
11869
11870 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11871
d031f2c7
CY
118722011-12-22 Chong Yidong <cyd@gnu.org>
11873
11874 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11875
bace743a
DA
118762011-12-21 Drew Adams <drew.adams@oracle.com>
11877
11878 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11879
728a1f2b
JC
118802011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11881
11882 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11883
0d373f73
TZ
118842011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11885
fec0aaa4
TZ
11886 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11887 highlighting and support. Fix up comments for capitalization.
11888 (cfengine-mode-debug): New var.
11889 (cfengine3-mode): Change the modeline indicator to "CFE3".
11890 (cfengine3-font-lock-keywords): Improve defun highlighting.
11891 (cfengine2-actions): Rename from `cfengine-actions'.
11892 (cfengine2-font-lock-keywords): Rename from
11893 `cfengine-font-lock-keywords'.
11894 (cfengine2-imenu-expression): Rename from
11895 `cfengine-imenu-expression'.
11896 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11897 (cfengine2-beginning-of-defun): Rename from
11898 `cfengine-beginning-of-defun'.
11899 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11900 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11901 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11902 modeline indicator to "CFE2".
11903 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11904 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11905
bc86f573
CY
119062011-12-21 Chong Yidong <cyd@gnu.org>
11907
11908 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11909 filename argument.
11910
d45ba96b
MR
119112011-12-20 Martin Rudalics <rudalics@gmx.at>
11912
11913 * window.el (window-normalize-buffer-to-display): Remove.
11914 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11915
a6198c90
CY
119162011-12-19 Chong Yidong <cyd@gnu.org>
11917
11918 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11919 Don't signal an error in a predicate function; return non-nil.
11920 (vc-dir-mark-file): Move the error here.
11921 (vc-dir-mark-unmark): If acting on the region, keep going if one
11922 of the entries cannot be marked/unmarked.
11923 (vc-dir-mark-all-files): If current entry is a directory, mark
11924 only child files, as documented.
11925
34c5fb55
VB
119262011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11927
11928 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11929 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11930 addition.
11931
c803b2b7
JD
119322011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11933
11934 * term/ns-win.el (ns-get-selection-internal)
11935 (ns-store-selection-internal): Declare.
1154d12e
JB
11936 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11937 Declare as obsolete.
11938 (ns-get-pasteboard, ns-paste-secondary):
11939 Use ns-get-selection-internal.
41e9b956 11940 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11941 Use ns-store-selection-internal.
c803b2b7 11942
9cff91f8 119432011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11944
11945 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11946 (vc-deduce-fileset): Doc fix.
99a289d9 11947
f16c898a
AS
119482011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11949
11950 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11951
763237c4
SS
119522011-12-13 Sam Steingold <sds@gnu.org>
11953
11954 * man.el (Man-getpage-in-background): When running under a
11955 window-system, ignore $MANWIDTH and $COLUMNS.
11956
5fc1c122
KH
119572011-12-15 Kenichi Handa <handa@m17n.org>
11958
11959 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11960 (setup-ethiopic-environment-internal): Comment out key-binding for
11961 ethio-toggle-punctuation.
11962
13d49cbb
AM
119632011-12-13 Alan Mackenzie <acm@muc.de>
11964
898169a2
AM
11965 Add the switch statement to AWK Mode.
11966
7a71b18d 11967 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11968 "default" to the keywords regexp.
11969
7a71b18d 11970 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11971 expression as the rest.
1d00653d
SM
11972 (c-nonlabel-token-key): Allow string literals for AWK.
11973 Refactor for the other modes.
898169a2 11974
13d49cbb 11975 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11976 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11977 routines. Limit backward searching in c-font-lock-enclosing.decl.
11978
11979 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11980 pp-state and literal type in addition to the limits.
1d00653d 11981 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11982 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11983 (c-slow-in-literal, c-fast-in-literal): Remove.
11984 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11985
11986 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11987 being in a literal. Add a limit for backward searching.
11988
11989 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11990 c-slow-in-literal.
11991
15e0efc7
SM
119922011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11995
454592a6
MR
119962011-12-13 Martin Rudalics <rudalics@gmx.at>
11997
11998 * window.el (delete-other-windows): Use correct frame in call to
11999 window-with-parameter.
12000
87393f26
DP
120012011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12002
12003 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12004 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12005 (makefile-gmake-statements, makefile-makepp-statements):
12006 Use it and add new makepp keywords.
12007 (makefile-makepp-font-lock-keywords): Add new patterns.
12008 (makefile-match-function-end): Match new [...] and [[...]].
12009
11636b22
JB
120102011-12-11 Juanma Barranquero <lekktu@gmail.com>
12011
12012 * ses.el (ses-call-printer-return, ses-cell-property-get)
12013 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12014 (ses-create-cell-variable, ses-reset-header-string)
12015 (ses-cell-set-formula, ses-repair-cell-reference-all)
12016 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12017 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12018 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12019 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12020 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12021 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12022 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12023 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12024 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12025 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12026 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12027 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12028
cf018193
VB
120292011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12030
12031 * ses.el: The overall change is to add cell renaming, that is
12032 setting fancy names for cell symbols other than name matching
12033 "\\`[A-Z]+[0-9]+\\'" regexp .
12034 (ses-create-cell-variable): New defun.
12035 (ses-relocate-formula): Relocate formulas only for cells the
12036 symbols of which are not renamed, i.e. symbols whose names do not
12037 match regexp "\\`[A-Z]+[0-9]+\\'".
12038 (ses-relocate-all): Relocate values only for cells the symbols of
12039 which are not renamed.
12040 (ses-load): Create cells variables as the (ses-cell ...) are read,
12041 in order to check row col consistency with cell symbol name only
12042 for cells that are not renamed.
12043 (ses-replace-name-in-formula): New defun.
12044 (ses-rename-cell): New defun.
12045
ee957461
CY
120462011-12-11 Chong Yidong <cyd@gnu.org>
12047
12048 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12049 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12050
9a9e9ef0
MR
120512011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12052
12053 * window.el (other-window): Fix docstring.
12054
92a8eba5
EZ
120552011-12-10 Eli Zaretskii <eliz@gnu.org>
12056
12057 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12058 `from' or `to' address before taking its substring.
12059 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12060 encoded name is chopped in the middle of the encoded string, and
12061 thus displayed encoded.
12062
e152e577
JB
120632011-12-10 Juanma Barranquero <lekktu@gmail.com>
12064
12065 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12066
e5d84bfe
EZ
120672011-12-10 Eli Zaretskii <eliz@gnu.org>
12068
12069 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12070 to use texinfo-update-node and commands that call it if the
12071 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12072 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12073 (texinfo-all-menus-update, texinfo-master-menu)
12074 (texinfo-update-node, texinfo-every-node-update)
12075 (texinfo-multiple-files-update): Doc fix. Warn against updating
12076 all the @node lines.
12077 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12078 argument is numeric. Explain better in the doc string what the
12079 function really does.
12080 (texinfo-insert-master-menu-list): Improve the error message
12081 displayed if there's no menu in the Top node.
12082 (Bug#2975) See also this thread:
e5d84bfe
EZ
12083 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12084
1d84e9bb
MG
120852011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12086
12087 * speedbar.el (speedbar-supported-extension-expressions):
12088 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12089
382c953b
JB
120902011-12-09 Juanma Barranquero <lekktu@gmail.com>
12091
12092 * printing.el (pr-mode-alist):
12093 * simple.el (filter-buffer-substring-functions)
12094 (completion-list-insert-choice-function):
12095 * window.el (window-with-parameter, window-atom-root)
12096 (window-sides-slots, window-size-fixed, window-min-delta)
12097 (window-max-delta, window--resize-mini-window)
12098 (window--resize-child-windows-normal, window-tree)
12099 (delete-other-windows, quit-window, split-window)
12100 (display-buffer-record-window, special-display-buffer-names)
12101 (special-display-regexps, special-display-popup-frame)
12102 (same-window-p, split-window-sensibly)
12103 (display-buffer-overriding-action, display-buffer-alist)
12104 (display-buffer-base-action, display-buffer, switch-to-buffer)
12105 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12106 (fit-window-to-buffer, recenter-positions)
12107 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12108 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12109 and remove unneeded backslashes in docstrings.
12110
39c9faef
SM
121112011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12112
98449af8
SM
12113 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12114
39c9faef
SM
12115 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12116 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12117 end in ".mk".
12118 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12119 when reading the makefile (bug#10116).
12120
86ed9fdc
SM
121212011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12124 (bug#10116).
12125
5580f89d
GM
121262011-12-06 Glenn Morris <rgm@gnu.org>
12127
12128 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12129
28d3917c
CY
121302011-12-06 Chong Yidong <cyd@gnu.org>
12131
12132 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12133
a98edce9
JB
121342011-12-06 Juanma Barranquero <lekktu@gmail.com>
12135
12136 * textmodes/table.el (table-shorten-cell): Fix typo.
12137
e65adfac
CG
121382011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12139
12140 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12141
71cc0b74
EZ
121422011-12-05 Eli Zaretskii <eliz@gnu.org>
12143
12144 * descr-text.el (describe-char): Fix display of strong
12145 right-to-left characters and directional embeddings and overrides.
12146
12147 * simple.el (what-cursor-position): Fix display of codepoints of
12148 strong right-to-left characters.
12149
315bc30d
CY
121502011-12-05 Chong Yidong <cyd@gnu.org>
12151
12152 * faces.el (read-color): Doc fix.
12153
58a70b94
GM
121542011-12-05 Glenn Morris <rgm@gnu.org>
12155
12156 * align.el (align--set-marker): Add doc-string.
12157 Don't try to move something that is not a marker. (Bug#10216)
12158
5158face
GM
121592011-12-04 Glenn Morris <rgm@gnu.org>
12160
12161 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12162 overly zealous deletion of trailing whitespace.
12163
520fca41
JB
121642011-12-04 Juanma Barranquero <lekktu@gmail.com>
12165
12166 * server.el (server-delete-client): On Windows, do not try to delete
12167 the only terminal.
12168 (server-process-filter): On Windows, treat requests for a tty frame as
12169 if they were for a GUI frame if the running server is in GUI mode.
12170
5e605a2e
GM
121712011-12-03 Glenn Morris <rgm@gnu.org>
12172
12173 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12174
5c3fe83f
SM
121752011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12176
6f5e57e7
SM
12177 * electric.el: Streamline electric-indent's hook.
12178 (electric-indent-chars): Revert to simple list.
12179 (electric-indent-functions): New var.
12180 (electric-indent-post-self-insert-function): Use it.
12181
5c3fe83f
SM
12182 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12183 there's no inferior buffer (bug#10196).
12184 (prolog-consult-compile): Don't use toggle-read-only.
12185
6bdac736
MA
121862011-12-02 Michael Albinus <michael.albinus@gmx.de>
12187
12188 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12189 interrupt. (Bug#10187)
12190
6131ba7f
SM
121912011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12192
99c79fee
SM
12193 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12194 (bug#9160).
12195
6131ba7f
SM
12196 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12197 (bug#10191).
12198
cb0a02ea
JL
121992011-12-02 Juri Linkov <juri@jurta.org>
12200
12201 * info.el (Info-search): Display "end of manual" when Isearch
12202 reaches the end of single-file Info manual. (Bug#9918)
12203
66e0570c
EZ
122042011-12-02 Eli Zaretskii <eliz@gnu.org>
12205
12206 * isearch.el (isearch-message-prefix): Run the input method part
12207 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12208
02b16839
JL
122092011-12-02 Juri Linkov <juri@jurta.org>
12210
12211 * isearch.el (isearch-occur): Use `word-search-regexp' for
12212 `isearch-word'.
12213 (isearch-search-and-update): Add condition for `isearch-word' and
12214 call `word-search-regexp'. (Bug#10145)
12215
0b950688
GM
122162011-12-01 Glenn Morris <rgm@gnu.org>
12217
12218 * eshell/em-hist.el (eshell-hist-initialize):
12219 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12220 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12221
9505c3c7
SM
122222011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12223
12224 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12225
1bbe96b2 122262011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12227
a1beca85
SM
12228 * progmodes/verilog-mode.el (verilog-pretty-expr):
12229 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12230 verilog, such as += *= and the like.
12231 (verilog-assignment-operator-re): Regular expression to find the
12232 assigment operator in a verilog assignment.
12233 (verilog-assignment-operation-re): Regular expression to find an
12234 assignment statement for pretty-expr.
12235 (verilog-in-attribute-p): Query returns true if point is in an
12236 attribute context; used to skip these for expression line up from
12237 pretty-expr.
12238 (verilog-in-parameter-p): Query returns true if point is in an
12239 parameter definition context; used to skip these for expression
12240 line up from pretty-expr.
12241 (verilog-in-parenthesis-p): Query returns true if point is in a
12242 parenthetical expression, specifically ( ) but not [ ] or { };
12243 used by pretty-expr.
12244 (verilog-just-one-space): If there is no space, don't add one.
12245 (verilog-get-lineup-indent-2): Specifically skip just attribute
12246 contexts for expression lineup, rather than skipping all
12247 parenthetical expressions.
12248 (verilog-calculate-indent): Fix comment, and fix indent.
12249 (verilog-do-indent): Indent declarations in lists (suggested by
12250 Joachim Lechner).
12251 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12252 skeleton items.
12253 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12254 by Alain Mellan).
12255
1bbe96b2 122562011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12257
12258 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12259 parameters with embedded comments. Reported by Ray Stevens.
12260 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12261 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12262 Reported by Tim Holt.
12263 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12264 instantiated by upper module causing wrong expansion until AUTOed a
12265 second time. Reported by K C Buckenmaier.
12266 (verilog-diff-auto): Fix showing .* as a difference when
12267 `verilog-auto-star-save' off. Reported by Dan Dever.
12268 (verilog-auto-reset, verilog-read-always-signals)
12269 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12270 temporary signals in reset list if
12271 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12272 style to each signal's assignment type, bug381.
12273 Reported by Thomas Esposito.
6288f0ca
WS
12274 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12275 (verilog-uvm-statement-re): Support UVM indentation and
12276 highlighting, with old OVM keywords only.
a1beca85 12277 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12278 Support AUTOTIEOFF creating non-wire data types.
12279 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12280 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12281 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12282 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12283 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12284 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12285 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12286 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12287 non-numeric vector width. Reported by Alex Reed.
12288 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12289 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12290 (verilog-auto-delete-trailing-whitespace):
12291 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12292 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12293 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12294 Fix verilog-scan-cache corruption when running user AUTO expansion
12295 hooks that call indentation routines.
12296 (verilog-simplify-range-expression): Fix typo ignoring lower case
12297 identifiers.
12298 (verilog-delete-auto): Fix delete-autos to also remove user created
12299 automatics, as long as they start with AUTO.
12300 (verilog-batch-diff-auto, verilog-diff-auto)
12301 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12302 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12303 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12304 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12305 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12306 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12307 is disabled and its cache will get corrupt, causing AUTOS not to
12308 expand. Instead use only -quick functions.
12309 (verilog-scan-region): Fix scanning over escaped quotes.
12310 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12311 (verilog-re-search-backward-quick)
12312 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12313 related functions now ignore strings, to fix misparsing of strings
12314 with magic comments embedded in them.
a1beca85
SM
12315 (verilog-read-auto-template):
12316 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12317 Reported by Brad Dobbie.
12318 (verilog-read-auto-template):
12319 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12320 Reported by Brad Dobbie.
6288f0ca
WS
12321 (verilog-auto-inst, verilog-auto-inst-param)
12322 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12323 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12324 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12325 debugging templates without merge conflicts, bug357.
12326 Reported by Brad Dobbie.
12327 (verilog-read-auto-template):
12328 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12329 Reported by Brad Dobbie.
12330 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12331 abbrevs so user won't be asked to save.
12332 (verilog-read-auto-lisp-present): Fix to start at beginning of
12333 buffer in case called outside of verilog-auto.
12334 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12335 to "X-2". Reported by Matthew Myers.
12336 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12337 all inputs from module templates. Reported by Leith Johnson.
12338 (verilog-module-inside-filename-p): Fix locating programs as with
12339 modules.
12340 (verilog-auto-inst-port): Fix vl-width expressions when using
12341 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12342 (verilog-decls-get-regs, verilog-decls-get-signals,
12343 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12344 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12345 verilog-read-decls): Combine reg and wire structures into one var
12346 structure to represent SystemVerilog concepts.
12347 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12348 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12349 (verilog-auto-wire-type, verilog-insert-definition):
12350 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12351 SystemVerilog "logic" keyword instead of "wire"/"reg".
12352 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12353 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12354 ifdef or generate if so there's not a driver conflict).
12355 Reported by Matthew Myers.
12356 (verilog-auto-declare-nettype, verilog-insert-definition):
12357 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12358 `default_nettype none. Reported by Julian Gorfajn.
12359 (verilog-read-always-signals-recurse, verilog-read-decls)
12360 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12361 malformed end statement, bug325. Reported by Joshua Wise and
12362 Andrew Drake.
12363 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12364 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12365 when expanding .* in interfaces, bug320.
12366 Reported by Pierre-David Pfister.
6288f0ca 12367 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12368 name and open parenthesis, bug317.
12369 Reported by Pierre-David Pfister.
6288f0ca
WS
12370 (verilog-simplify-range-expression): Fix simplification of
12371 multiplications inside AUTOWIRE connections, bug303.
12372 (verilog-auto-inst-port): Support parameter expansion in
12373 multidimensional arrays.
12374 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12375 after "assert property". Reported by Julian Gorfajn.
12376 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12377 with multiplication, bug303.
12378 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12379 Reported by Jan Frode Lonnum.
12380
1bbe96b2
GM
123812011-11-30 Juanma Barranquero <lekktu@gmail.com>
12382
12383 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12384 (hfy-shell-file-name, hfy-shell):
12385 * international/fontset.el (x-decompose-font-name): Fix typos.
12386
123872011-11-29 Ken Brown <kbrown@cornell.edu>
12388
12389 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12390 (gdb-version): Remove defvar.
12391 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12392 (gdb-gud-context-command, gdb-non-stop-handler)
12393 (gdb-current-context-command, gdb-stopped): Use it.
12394 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12395 (gdb-non-stop-handler): Don't enable pretty-printing here.
12396 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12397 non-stop mode. Use the following.
12398 (gdb-check-target-async): New defun.
12399 (gud-watch, gdb-stopped): Fix whitespace.
12400 (gdb-get-source-file): Don't try to display the source file if
12401 `gdb-main-file' is nil.
12402
124032011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12404
12405 * align.el: Try to generate fewer markers (bug#10047).
12406 (align--set-marker): New macro.
12407 (align-region): Use it.
12408
c935221f
SM
124092011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12410
12411 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12412
e70b5064
CY
124132011-11-29 Chong Yidong <cyd@gnu.org>
12414
12415 * indent.el (indent-for-tab-command, indent-according-to-mode):
12416 Doc fix.
12417 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12418
f3af92b7
MA
124192011-11-29 Michael Albinus <michael.albinus@gmx.de>
12420
12421 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12422 aware of remote file names. (Bug#10124)
12423
ed472be9
CY
124242011-11-29 Chong Yidong <cyd@gnu.org>
12425
12426 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12427
24510c22
SM
124282011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12429
12430 * files.el (find-file): Don't use force-same-window (bug#10144).
12431 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12432 use pop-to-buffer if the selected window can't be used.
12433 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12434
c60c3703
EZ
124352011-11-28 Eli Zaretskii <eliz@gnu.org>
12436
12437 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12438 special-mode-map.
12439
e95def75
CY
124402011-11-28 Chong Yidong <cyd@gnu.org>
12441
12442 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12443
c3f1c606
NR
124442011-11-27 Nick Roberts <nickrob@snap.net.nz>
12445
12446 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12447 gdb-get-source-file-list on gdb-create-source-file-list.
12448
00db469c
EZ
124492011-11-26 Eli Zaretskii <eliz@gnu.org>
12450
12451 * whitespace.el (whitespace-newline): Use a different foreground
12452 color for 16-color light-background displays.
12453
4ad3bc2a
CY
124542011-11-24 Chong Yidong <cyd@gnu.org>
12455
12456 * window.el (display-buffer--special-action): Doc fix.
12457
e9fce1ac
JB
124582011-11-25 Juanma Barranquero <lekktu@gmail.com>
12459
12460 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12461 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12462 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12463 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12464 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12465 (avl-tree-stack-first):
12466 * emacs-lisp/cconv.el (cconv--analyse-use):
12467 * net/gnutls.el (gnutls-negotiate): Fix typos.
12468
cb825e5d
GM
124692011-11-24 Glenn Morris <rgm@gnu.org>
12470
3adbe224
GM
12471 * lpr.el (lpr-windows-system, lpr-lp-system):
12472 * mail/binhex.el (binhex-begin-line):
12473 * progmodes/grep.el (grep-history, grep-find-history):
12474 * textmodes/flyspell.el:
12475 * vc/pcvs-defs.el (cvs-global-menu):
12476 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12477 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12478 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12479
321decc8
GM
12480 * net/tls.el: Fix case of "GnuTLS".
12481
420b63ad
GM
12482 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12483
cb825e5d
GM
12484 * version.el (emacs-build-system): Give it a doc-string.
12485
a0649f08
JL
124862011-11-24 Juri Linkov <juri@jurta.org>
12487
12488 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12489
c0bc0fd4
GM
124902011-11-24 Glenn Morris <rgm@gnu.org>
12491
12492 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12493 if called on a non-mime message just toggle the headers. (Bug#8006)
12494
20db1522
JB
124952011-11-24 Juanma Barranquero <lekktu@gmail.com>
12496
12497 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12498 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12499 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12500 (allout-rebullet-heading, allout-open-sibtopic)
12501 (allout-toggle-current-subtree-encryption)
12502 (allout-toggle-subtree-encryption, allout-encrypt-string)
12503 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12504 (allout-distinctive-bullets-string, allout-auto-activation):
12505 * window.el (window-normalize-buffer-to-display):
12506 * progmodes/verilog-mode.el (verilog-batch-indent):
12507 * textmodes/bibtex.el (bibtex-field-braces-opt)
12508 (bibtex-field-strings-opt):
12509 * vc/cvs-status.el (cvs-tree-merge):
12510 Fix typos.
12511
7262a87c
MA
125122011-11-23 Michael Albinus <michael.albinus@gmx.de>
12513
12514 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12515 `non-essential' to t, in order to avoid remote connections.
12516
283430a1
EZ
125172011-11-23 Eli Zaretskii <eliz@gnu.org>
12518
a1beca85
SM
12519 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12520 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12521 case-insensitively.
12522
d2992a38
ML
125232011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12524
12525 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12526
50419064
GM
125272011-11-23 Glenn Morris <rgm@gnu.org>
12528
da94eca1
GM
12529 * paths.el (rmail-file-name): Reformat the doc-string so that it
12530 is picked up.
12531
9aac4de2
GM
12532 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12533 (rmail-auto-file): Ignore case in the "special" field names,
12534 as mail-fetch-field does for all others.
12535
8038d2d2
GM
12536 * mail/rmail.el (rmail-forward):
12537 * mail/rmailkwd.el (rmail-set-label):
12538 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12539 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12540
f3fe222a
GM
12541 * mail/rmail.el (rmail-current-message): Doc fix.
12542
50419064
GM
12543 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12544
28109f49
SM
125452011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12548
394c65f1
GM
125492011-11-22 Glenn Morris <rgm@gnu.org>
12550
12551 * mail/rmailmm.el (test-rmail-mime-handler)
12552 (test-rmail-mime-bulk-handler)
12553 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12554
f2a0aa3a
JL
125552011-11-21 Juri Linkov <juri@jurta.org>
12556
1154d12e
JB
12557 * calc/calc.el (calc-read-key-sequence):
12558 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12559
9c34a344
LMI
125602011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12561
12562 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12563 Tell the caller that the next line needs recomputation, even
12564 though it doesn't start a sexp (bug#10094).
12565
f04a3be9
SM
125662011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12567
12568 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12569
7978747f
SM
125702011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12571
f04a3be9
SM
12572 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12573 Use force-same-window.
7978747f 12574
fe7a3057
JB
125752011-11-20 Juanma Barranquero <lekktu@gmail.com>
12576
12577 * descr-text.el (describe-char-unicode-data):
12578 * json.el (json-string-escape):
12579 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12580 (Footnote-unicode, Footnote-style-p):
12581 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12582
24901d61
CY
125832011-11-20 Chong Yidong <cyd@gnu.org>
12584
12585 * window.el (replace-buffer-in-windows): Restore interactive spec.
12586
bac7ff22
SM
125872011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12588
24f3d7b9
SM
12589 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12590
bac7ff22
SM
12591 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12592 (byte-compile-global-not-obsolete-vars): New var.
12593 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12594 Use it.
12595 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12596
cd1181db
JB
125972011-11-20 Juanma Barranquero <lekktu@gmail.com>
12598
12599 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12600 * progmodes/pascal.el (electric-pascal-equal):
12601 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12602 * xml.el (xml-substitute-special): Fix typos.
12603
7fb18e9e
GM
126042011-11-20 Glenn Morris <rgm@gnu.org>
12605
12606 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12607 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12608 Doc fixes.
12609 (rmail-decode-mime-charset): Mark as obsolete.
12610
12611 * mail/rmailsum.el (rmail-message-regexp-p-1):
12612 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12613 Before using mime functions, check they are set. (Bug#10077)
12614
d5a6b3ba
JL
126152011-11-19 Juri Linkov <juri@jurta.org>
12616
12617 * info.el (Info-finder-find-node): Use `package--builtins' instead
12618 of `package-alist'. Use node names formed by the pattern "Keyword "
12619 and the keyword name.
12620
e981b61f
AS
126212011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12622
1d00653d 12623 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12624
3ffbc301
JL
126252011-11-19 Juri Linkov <juri@jurta.org>
12626
12627 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12628 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12629 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12630 `old-history', `old-history-forward'. Add let-binding
12631 `window-selected'. Remove calls to `kill-buffer',
12632 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12633 before calling `Info-find-node', so `Info-find-node-2' will reread
12634 the Info file. Restore window positions only when `window-selected'
12635 is non-nil.
12636
30c62133
JL
126372011-11-19 Juri Linkov <juri@jurta.org>
12638
12639 * isearch.el (isearch-lazy-highlight-new-loop):
12640 Remove condition `(not isearch-error)'. (Bug#9918)
12641
12642 * misearch.el (multi-isearch-search-fun): Add condition
12643 `(not bound)' to ignore lazy-highlighting search.
12644 Add the search-failed message "end of multi" when the end of
12645 multi-sequence is reached. Uncapitalize the search-failed
12646 message "Repeat for next buffer".
12647
12648 * info.el (Info-search): Add the search-failed message
12649 "end of the manual" when the end of the manual is reached
12650 in Isearch mode.
12651
645ca9cf
JL
126522011-11-19 Juri Linkov <juri@jurta.org>
12653
12654 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12655 Use non-destructive `remove' instead of `delete' because
12656 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12657 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12658
df754f66
JL
126592011-11-19 Juri Linkov <juri@jurta.org>
12660
12661 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12662 to nil instead of binding `search-ring' and `regexp-search-ring'.
12663 (Bug#9185)
12664
0e23d96a
EZ
126652011-11-19 Eli Zaretskii <eliz@gnu.org>
12666
12667 * simple.el (line-move): Force movement by logical lines for any
12668 hscrolled window, not only when auto-hscroll-mode is on.
12669 (line-move-visual): Update doc string to that effect. (Bug#10076)
12670
8a6ccb66
AS
126712011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12672
12673 * language/european.el (macintosh): Define as alias for mac-roman.
12674
49ae5b39
EZ
126752011-11-19 Eli Zaretskii <eliz@gnu.org>
12676
12677 * mail/rmailmm.el (rmail-mime-display-header)
12678 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12679 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12680 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12681 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12682 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12683 of a raw aref.
12684 (rmail-mime-entity-segment): To get past the tagline, move forward
12685 2 more lines, to account for the 2 empty lines that precede and
12686 follow the line with the buttons.
12687 (rmail-mime-update-tagline): Move one more line, to get past the
12688 empty line that follows the buttons in the tagline. (Bug#9520)
12689
c56cad4a
MR
126902011-11-19 Martin Rudalics <rudalics@gmx.at>
12691
12692 * window.el (window-max-delta-1, window-min-delta-1)
12693 (window-min-size-1, window-state-get-1, window-state-put-1)
12694 (window-state-put-2): Use "window--" prefix.
12695
cbe71af3
SM
126962011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12697
2ad52c60
SM
12698 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12699 (smie-warning-count): New var.
12700 (smie-set-prec2tab): Use it.
12701 (smie-bnf->prec2): Improve warnings. Add docstring.
12702 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12703 (smie-bnf--set-class): New function.
12704 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12705 corner case.
12706
6944dbc1
SM
12707 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12708 (compilation-error-properties, compilation-move-to-column):
12709 Handle compilation-first-column while in the target buffer.
12710
c400c4d7
SM
12711 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12712 Don't hardcode point-min==1.
12713
6dbe3e96
SM
12714 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12715 (eshell-rewrite-for-command): Remove workaround.
12716 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12717 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12718 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12719
cbe71af3
SM
12720 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12721
a8e1496d
GM
127222011-11-17 Glenn Morris <rgm@gnu.org>
12723
12724 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12725 Ignore buffer-local generated-autoload-file if it is the same
12726 as the global value. (Bug#10049)
12727
df85d315
JB
127282011-11-17 Juanma Barranquero <lekktu@gmail.com>
12729
12730 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12731 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12732 (reftex-toc-previous-heading, reftex-toc-max-level)
12733 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12734 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12735 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12736 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12737 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12738 (reftex-toc-rename-label, reftex-toc-visit-location)
12739 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12740 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12741 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12742 leaving "*toc*" only for references to the buffer.
12743
a0c2d0ae
MR
127442011-11-17 Martin Rudalics <rudalics@gmx.at>
12745
12746 * window.el (window-resize, delete-window, split-window):
12747 Replace window-splits by window-combination-resize.
1d00653d 12748 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12749
35c0bac8
GM
127502011-11-17 Glenn Morris <rgm@gnu.org>
12751
12752 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12753 Make bash entry derive from sh entry, not shell entry.
12754
d0c8fc8a
MA
127552011-11-16 Michael Albinus <michael.albinus@gmx.de>
12756
7262a87c
MA
12757 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12758 local file name.
12759
7877f373
JB
127602011-11-16 Juanma Barranquero <lekktu@gmail.com>
12761
12762 * menu-bar.el (menu-bar-file-menu):
12763 * printing.el (pr-ps-utility):
12764 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12765 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12766 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12767 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12768 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12769 (icalendar--convert-cyclic-to-ical)
12770 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12771 (icalendar--convert-ical-to-diary)
12772 (icalendar--convert-recurring-to-diary)
12773 (icalendar--convert-non-recurring-all-day-to-diary)
12774 (icalendar-import-format-sample):
12775 * progmodes/idlw-shell.el (idlwave-shell-mode):
12776 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12777 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12778 (vhdl-ps-print-init): Fix typos.
12779
10649b82
KM
127802011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12781
9d0cfcd6
GM
12782 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12783 FSF and collapse date sequence, obscure author/maintainer email address
12784 better, remove extra version line, track relocation of author's webpage.
10649b82 12785
9d0cfcd6
GM
12786 * progmodes/python.el (python-pdbtrack-input-prompt)
12787 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12788 regular python pdb prompts. Adjustments shamelessly taken exactly as
12789 suggested in EmacsWiki page (tiny change):
12790 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12791
58179cce
JB
127922011-11-16 Juanma Barranquero <lekktu@gmail.com>
12793
12794 * expand.el (expand-pos, expand-index, expand-point):
12795 Remove redundant info from docstring.
12796 (expand-add-abbrevs): Doc fix.
12797 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12798 (expand-sample-perl-mode-expand-list): Fix typos.
12799
12800 * net/dbus.el (dbus-event-member-name):
12801 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12802 * term/pc-win.el (msdos-create-frame-with-faces):
12803 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12804
b6f67890
MR
128052011-11-16 Martin Rudalics <rudalics@gmx.at>
12806
12807 * window.el (split-window, window-state-get-1)
12808 (window-state-put-1, window-state-put-2): Rename occurrences of
12809 window-nest to window-combination-limit.
1d00653d 12810 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12811
ce7ddba0
CY
128122011-11-16 Chong Yidong <cyd@gnu.org>
12813
12814 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12815 regexp (Bug#10033).
12816
3ae704f4
SM
128172011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12818
12819 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12820 `completing-read' will remove *Completions* and will preserve
12821 current-buffer for us.
12822 (tmm-add-prompt): Users of *Completions* will always (re)set its
12823 major mode.
12824 (tmm-old-comp-map): Remove.
12825
6ad1cdde
GM
128262011-11-16 Glenn Morris <rgm@gnu.org>
12827
12828 * mail/rmailedit.el: Require rmailmm when compiling.
12829 (rmail-old-mime-state): New declaration.
12830 (rmail-edit-current-message): If editing a mime message,
12831 edit the "raw" message from the mbox buffer.
12832 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12833
d20faa20
GM
128342011-11-15 Glenn Morris <rgm@gnu.org>
12835
12836 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12837 which wasn't being used. Add optional arg to force given state.
12838 (rmail-mime): Add optional arg to force given state.
12839
c7015153
JB
128402011-11-15 Juanma Barranquero <lekktu@gmail.com>
12841
12842 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12843 * frame.el (display-mm-dimensions-alist):
12844 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12845 (outline-move-subtree-down):
12846 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12847 (newsticker--treeview-do-get-node):
12848 * net/quickurl.el (quickurl-list-buffer-name):
12849 * progmodes/dcl-mode.el (dcl-mode):
12850 * progmodes/gdb-mi.el (gdb-mapcar*):
12851 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12852
45261b50
GM
128532011-11-15 Glenn Morris <rgm@gnu.org>
12854
12855 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12856 in a boolean sense, so just make it a boolean, and fix the doc.
12857 (rmail-show-mime-function, rmail-mime-feature)
12858 (rmail-require-mime-maybe): Doc fixes.
12859 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12860
12861 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12862
0d26e0b6
JB
128632011-11-15 Juanma Barranquero <lekktu@gmail.com>
12864
12865 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12866 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12867 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12868 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12869
447f30f6
GM
128702011-11-15 Glenn Morris <rgm@gnu.org>
12871
672b871d
GM
12872 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12873 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12874 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12875 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12876 (rmail-mime, rmail-show-mime): Doc fixes.
12877
f6aa5bb1
GM
12878 * term/ns-win.el (mode-line-frame-identification):
12879 Leave it alone. (Bug#10051)
12880
947cd66b
GM
12881 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12882
447f30f6
GM
12883 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12884 Handle empty buffers. (Bug#9978)
12885
0b381c7e
JB
128862011-11-14 Juanma Barranquero <lekktu@gmail.com>
12887
12888 * international/mule.el (define-charset):
12889 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12890 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12891 * progmodes/verilog-mode.el (verilog-backward-token):
12892 * textmodes/ispell.el (lookup-words):
12893 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12894
71e027ac
GM
128952011-11-14 Glenn Morris <rgm@gnu.org>
12896
56632ce4
GM
12897 * progmodes/executable.el
12898 (executable-make-buffer-file-executable-if-script-p):
12899 Handle file-modes returning nil.
12900
40500957
GM
12901 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12902 message - not necessary, and causes problems. (Bug#9831)
12903
071c2340
GM
12904 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12905
d3cfca60
GM
12906 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12907
71e027ac
GM
12908 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12909 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12910 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12911
89d61221
MR
129122011-11-12 Martin Rudalics <rudalics@gmx.at>
12913
12914 * window.el (window-resize, delete-window): Use window-splits
12915 variable instead of function.
12916 (window-state-get-1, window-state-put-2, window-state-put):
12917 Don't deal with windows' splits status.
12918
98282f6f
GM
129192011-11-12 Glenn Morris <rgm@gnu.org>
12920
12921 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12922 (apropos-documentation): Doc fixes.
12923
40a8bdf6
JB
129242011-11-11 Juanma Barranquero <lekktu@gmail.com>
12925
12926 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12927 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12928
65bd19ff
SM
129292011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12930
12931 * electric.el (electric-indent-post-self-insert-function): Make it
12932 possible for a char to only indent in some circumstances.
12933 (electric-indent-mode): Simplify.
12934
54f9154c
MR
129352011-11-11 Martin Rudalics <rudalics@gmx.at>
12936
12937 * window.el (windows-with-parameter): Remove unused function.
12938 (windows-at-side): Rename to window-at-side-list.
12939 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12940 (window-side-check, window-size-ignore, window-size-fixed-1)
12941 (window-in-direction-2): Prefix with "window--".
12942 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12943
68cbc58b
GM
129442011-11-11 Glenn Morris <rgm@gnu.org>
12945
12946 * subr.el (eval-after-load): If FILE is already loaded,
12947 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12948
b2621720
GM
129492011-11-10 Glenn Morris <rgm@gnu.org>
12950
9a4de110
GM
12951 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12952 Call svn via vc-svn-command rather than vc-do-command.
12953 (vc-svn-command): Add --non-interactive. (Bug#9993)
12954 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12955
b2621720
GM
12956 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12957 Add toggle-read-only. (Bug#7292)
12958 * files.el (toggle-read-only): Mention that it should only
12959 be used interactively. (Bug#10006)
12960
1dce7193
SM
129612011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12962
d9ac1a1e
SM
12963 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12964 Adjust regexp for OCaml warnings.
12965
0c325082
SM
12966 * electric.el (electric-pair-post-self-insert-function): Let user
12967 turn it off buffer-locally (bug#9932).
12968
90132c14
SM
12969 * progmodes/python.el (python-beginning-of-statement):
12970 Rewrite (bug#2703).
12971
1dce7193
SM
12972 * progmodes/compile.el: Better handle TABs (bug#9749).
12973 (compilation-internal-error-properties)
12974 (compilation-next-error-function): Obey the target buffer's
12975 compilation-error-screen-columns.
12976
c4e7c63a
JB
129772011-11-09 Juanma Barranquero <lekktu@gmail.com>
12978
12979 * progmodes/meta-mode.el: Remove obsolete comments.
12980 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12981 Fix typos in docstrings.
12982
2cffd681
MR
129832011-11-09 Martin Rudalics <rudalics@gmx.at>
12984
12985 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12986 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12987 (window--resizable): New function. Make all callers of
12988 window-resizable call window--resizable instead.
12989 (window-resizable): Rewrite in terms of window--resizable.
12990
0edcba87
GM
129912011-11-08 Glenn Morris <rgm@gnu.org>
12992
12993 * progmodes/delphi.el (delphi-mode-syntax-table):
12994 Let define-derived-mode define a proper syntax table. (Bug#9994)
12995
4b0d61e3
SM
129962011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12997
12998 * window.el: Stay away from defsubst.
12999 (window-list-no-nils): Remove.
13000 (window-state-get-1, window-state-get): Use backquote instead.
13001
cd394be1 130022011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 13003
4b0d61e3 13004 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 13005 Fix incorrect use of default argument in `completing-read'.
13006
e1c2c6f2
MR
130072011-11-08 Martin Rudalics <rudalics@gmx.at>
13008
13009 * window.el (display-buffer-function, special-display-function):
13010 Mention display-buffer-record-window but do not mention
13011 help-setup parameter in doc-strings.
b3f4a882 13012 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13013
105216ed
CY
130142011-11-08 Chong Yidong <cyd@gnu.org>
13015
13016 * window.el (window-total-height, window-total-width): Doc fix.
13017 (window-body-size): Move from C.
13018 (window-body-height, window-body-width): Move to C.
13019
0a9f9ab5
SM
130202011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13021
13022 * window.el: Make special-display like display-buffer-alist (bug#9532).
13023 (display-buffer--special-action): New function, morphed
13024 from display-buffer--special.
13025 (display-buffer): Use it to handle special-display-buffers at higher
13026 priority (just after display-buffer-alist).
13027 (display-buffer-fallback-action, display-buffer--other-frame-action)
13028 (pop-to-buffer-same-window): Remove display-buffer--special.
13029
a769dd15
GM
130302011-11-07 Glenn Morris <rgm@gnu.org>
13031
13032 * calendar/cal-menu.el (cal-menu-set-date-title):
13033 Do nothing if not in a calendar. (Bug#9976)
13034
05a61ee3
SM
130352011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13036
13037 * files.el (find-file): Always use selected-window.
13038
be7f5545
MR
130392011-11-07 Martin Rudalics <rudalics@gmx.at>
13040
13041 * window.el (window-combinations): Make WINDOW argument
13042 mandatory. Rewrite doc-string.
13043 (walk-window-subtree, window-atom-check, window-min-delta)
13044 (window-max-delta, window--resize-this-window)
13045 (window--resize-root-window-vertically, window-tree)
13046 (balance-windows, window-state-put): Rewrite doc-strings as to
13047 not mention the term "subwindow".
13048 (window--resize-subwindows-skip-p): Rename to
13049 window--resize-child-windows-skip-p.
13050 (window--resize-subwindows-normal): Rename to
13051 window--resize-child-windows-normal.
13052 (window--resize-subwindows): Rename to
13053 window--resize-child-windows.
13054 (window-or-subwindow-p): Rename to window--in-subtree-p.
13055
3c6702ef
ML
130562011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13057
13058 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13059 Ensure that mbox format messages end in two newlines (Bug#9974).
13060
49745b39
CY
130612011-11-06 Chong Yidong <cyd@gnu.org>
13062
13063 * window.el (window-combination-p): Function deleted; its
13064 side-effect is not used in any existing code.
13065 (window-combinations, window-combined-p): Call window-*-child
13066 directly.
13067
24300f5f
CY
130682011-11-05 Chong Yidong <cyd@gnu.org>
13069
13070 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13071 (window-size-ignore, window-state-get): Callers changed.
13072 (window-normalize-window): Rename from window-normalize-any-window.
13073 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13074 (window-normalize-live-window): Delete.
447f16b8
CY
13075 (window-combination-p, window-combined-p, window-combinations)
13076 (walk-window-subtree, window-atom-root, window-min-size)
13077 (window-sizable, window-sizable-p, window-size-fixed-p)
13078 (window-min-delta, window-max-delta, window-resizable)
13079 (window-resizable-p, window-full-height-p, window-full-width-p)
13080 (window-current-scroll-bars, window-point-1, set-window-point-1)
13081 (window-at-side-p, window-in-direction, window-resize)
13082 (adjust-window-trailing-edge, maximize-window, minimize-window)
13083 (window-deletable-p, delete-window, delete-other-windows)
13084 (record-window-buffer, unrecord-window-buffer)
13085 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13086 (quit-window, split-window, window-state-put)
13087 (set-window-text-height, fit-window-to-buffer)
13088 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13089
89bd5ee1
EZ
130902011-11-04 Eli Zaretskii <eliz@gnu.org>
13091
53479029
EZ
13092 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13093 rfc2047-decode-string.
13094 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13095 warnings.
13096
89bd5ee1
EZ
13097 * window.el (window-body-height, window-body-width): Mention in
13098 the doc string that the return values are in frame's canonical
13099 units. (Bug#9949)
13100
bd17fdee
AM
131012011-11-03 Alan Mackenzie <acm@muc.de>
13102
13103 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13104 change in cc-engine.el.
13105
acc825c5
SM
131062011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13107
13108 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13109
1885e5b8
MR
131102011-11-02 Martin Rudalics <rudalics@gmx.at>
13111
13112 * window.el (quit-window): Call unrecord-window-buffer after
13113 showing another buffer in the window. (Bug#9937)
acc825c5 13114 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13115
ebe06da9
JB
131162011-11-02 Juanma Barranquero <lekktu@gmail.com>
13117
13118 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13119 Accept status with more than 9 shelves. (Bug#9935)
13120 Reported by Colin D Bennett <colin@gibibit.com>.
13121
4ee88440
MR
131222011-11-01 Martin Rudalics <rudalics@gmx.at>
13123
13124 * help.el (with-help-window): Don't reference
13125 temp-buffer-show-specifiers in doc-string.
13126
08e1d82c
AS
131272011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13128
13129 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13130 menu-item.
13131
84bd6e9e
VJL
131322011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13133
13134 * whitespace.el: New version 13.2.2.
13135 (whitespace-newline-mode): Disable properly. Reported by Sarah
13136 <EmacsWiki>.
13137
dba0634a
UJ
131382011-10-30 Ulf Jasper <ulf.jasper@web.de>
13139
13140 * net/newst-treeview.el: Remove "Time-stamp".
13141 (newsticker--group-manage-orphan-feeds): Do not call
13142 newsticker--treeview-tree-update.
db22a3c2
JB
13143 (newsticker-treeview-update, newsticker-treeview):
13144 Call newsticker--treeview-tree-update if necessary.
dba0634a 13145
3d8daefe
MR
131462011-10-30 Martin Rudalics <rudalics@gmx.at>
13147
13148 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13149 (window-iso-combinations): Remove "iso-" infix.
13150 Suggested by Chong Yidong.
3d8daefe
MR
13151 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13152 (window-max-delta-1, window-resize, window--resize-siblings)
13153 (window--resize-this-window, adjust-window-trailing-edge)
13154 (split-window, balance-windows-1)
13155 (shrink-window-if-larger-than-buffer):
13156 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13157 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13158
1bc4c3ae
SM
131592011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13160
13161 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13162 in place (bug#9907).
13163 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13164 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13165 (eshell-structure-basic-command, eshell-rewrite-while-command)
13166 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13167 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13168 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13169 (eshell-do-pipelines-synchronously, eshell-eval-command):
13170 Use backquotes and prefer setq to set.
13171 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13172 (eshell-macrop): Use functionp.
c1e2f5fa 13173 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13174
30b65d9c
CY
131752011-10-30 Chong Yidong <cyd@gnu.org>
13176
13177 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13178 instead of set-mark (Bug#9810).
13179
2d197ffb
CY
131802011-10-30 Chong Yidong <cyd@gnu.org>
13181
13182 * window.el (split-window-below, split-window-right): Rename from
13183 split-window-above-each-other and split-window-side-by-side
13184 respectively. All callers changed.
13185 (split-window-sensibly, split-window-sensibly): Use them.
13186 (split-window-keep-point): Doc fix.
13187
13188 * isearch.el: Add isearch-scroll property to split-window-below
13189 and split-window-right.
13190
13191 * follow.el (follow-mode):
13192 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13193 * progmodes/ada-xref.el (ada-gdb-application):
13194 * emulation/vip.el (vip-buffer-in-two-windows):
13195 * image-dired.el (image-dired-dired-with-window-configuration):
13196 * dired-x.el (dired-do-find-marked-files):
13197 * dired.el (dired-pop-to-buffer):
13198 * bs.el (bs--show-with-configuration):
13199 * vc/emerge.el (emerge-setup-windows):
13200 * textmodes/two-column.el (2C-two-columns):
13201 * textmodes/reftex-toc.el (reftex-toc):
13202 * progmodes/gdb-mi.el (gdb-setup-windows):
13203 * progmodes/fortran.el (fortran-window-create):
13204 * net/newst-treeview.el (newsticker--treeview-window-init):
13205 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13206 * emulation/tpu-edt.el (tpu-gold-map):
13207 * emulation/crisp.el (crisp-mode-map):
13208 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13209
38bb2ca8
CY
132102011-10-29 Chong Yidong <cyd@gnu.org>
13211
aa4de341
CY
13212 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13213
e1eb5385
CY
13214 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13215
5d2ece3c
CY
13216 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13217 forged Ispell output (Bug#7904).
13218
38bb2ca8
CY
13219 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13220
d0af9f77
SM
132212011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13222
13223 * doc-view.el: Avoid ugly errors about not finding nil.
13224 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13225 (doc-view-dvipdf-program, doc-view-unoconv-program)
13226 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13227 Avoid nil or absolute file name as default value.
13228 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13229
52bedd34
AM
132302011-10-28 Alan Mackenzie <acm@muc.de>
13231
db22a3c2 13232 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13233
7e43cfa5
AM
132342011-10-28 Alan Mackenzie <acm@muc.de>
13235
13236 Amend the handling of c-beginning/end-of-defun in nested declaration
13237 scopes.
13238
52bedd34
AM
13239 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13240 cc-langs.el. Change it to a defcustom.
7e43cfa5 13241
52bedd34
AM
13242 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13243 cc-vars.el.
7e43cfa5 13244
d0af9f77
SM
13245 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13246 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13247
52bedd34 13248 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13249 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13250 (c-widen-to-enclosing-decl-scope): New function.
13251 (c-while-widening-to-decl-block): New macro.
13252 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13253 outward for defun boundaries, and correspondingly change symbol
13254 `respect-enclosure' to `go-outward'.
13255 (c-declaration-limits): Change algorithm to report only the "innermost"
13256 defun's boundaries.
13257
1a2ce9ee
DD
132582011-10-28 Deniz Dogan <deniz@dogan.se>
13259
13260 * net/rcirc.el (rcirc-mode): Use hard newlines.
13261
bc97a826
AM
132622011-10-28 Alan Mackenzie <acm@muc.de>
13263
13264 Amend to indent and fontify macros "which include their own semicolon"
13265 correctly, using the "virtual semicolon" mechanism.
13266
52bedd34 13267 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13268
d0af9f77 13269 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13270 Recode to scan one line at a time rather than having \n and \r
58179cce 13271 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13272 (c-forward-label): Amend for virtual semicolons.
58179cce 13273 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13274
52bedd34
AM
13275 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13276 of the new C macros.
bc97a826 13277
52bedd34 13278 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13279 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13280 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13281 (c-opt-cpp-macro-define): Make into a full language variable.
13282 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13283 AWK Mode (including \n, \r) removed, no longer needed.
13284
d0af9f77
SM
13285 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13286 Invoke c-make-macro-with-semi-re.
bc97a826 13287
52bedd34
AM
13288 * progmodes/cc-vars.el (c-macro-with-semi-re):
13289 (c-macro-names-with-semicolon): New variables.
58179cce 13290 (c-make-macro-with-semi-re): New function.
bc97a826 13291
7a6c0941
SM
132922011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13293
13294 * vc/log-edit.el: Fill empty field rather than adding new one.
13295 (log-edit-add-field): New function.
13296 (log-edit-insert-changelog): Use it.
13297
b0c4cdcf
ML
132982011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13299
13300 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13301
ee1f1da9
SM
133022011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13303
13304 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13305 (gdb--check-interpreter): New function.
13306 (gdb): Use it.
13307
51bc5f8b
GM
133082011-10-27 Glenn Morris <rgm@gnu.org>
13309
416a2c45
GM
13310 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13311 (least-positive-float, least-negative-float)
13312 (least-positive-normalized-float, least-negative-normalized-float)
13313 (float-epsilon, float-negative-epsilon):
13314 Remove unnecessary declarations.
13315
13316 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13317 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13318 (least-positive-float, least-negative-float)
13319 (least-positive-normalized-float, least-negative-normalized-float)
13320 (float-epsilon, float-negative-epsilon): Add doc-strings,
13321 based on those in cl.texi.
13322
51bc5f8b
GM
13323 * files.el (set-visited-file-name): If the major-mode changed,
13324 reload the local variables. (Bug#9796)
13325
15de15c6
CY
133262011-10-27 Chong Yidong <cyd@gnu.org>
13327
13328 * subr.el (change-major-mode-after-body-hook): New hook.
13329 (run-mode-hooks): Run it.
13330
ee1f1da9
SM
13331 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13332 Use change-major-mode-before-body-hook.
15de15c6
CY
13333
13334 * simple.el (fundamental-mode):
13335 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13336 change introducing fundamental-mode-hook.
13337
5430d399
JB
133382011-10-26 Juanma Barranquero <lekktu@gmail.com>
13339
acc825c5 13340 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13341
ad74a69e
MA
133422011-10-26 Michael Albinus <michael.albinus@gmx.de>
13343
13344 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13345 tramp.el explicitly. (Bug#7583)
ad74a69e 13346
71d4c2a5
SM
133472011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13348
13349 * progmodes/octave-mod.el:
13350 * progmodes/octave-inf.el: Update maintainer.
13351
b1f6fa26
CY
133522011-10-26 Chong Yidong <cyd@gnu.org>
13353
13354 * subr.el (with-wrapper-hook): Rewrite doc.
13355
3f04efd6
MA
133562011-10-25 Michael Albinus <michael.albinus@gmx.de>
13357
13358 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13359 filenames "/method:foo:". (Bug#9793)
3f04efd6 13360
410488d3
SM
133612011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13362
13363 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13364 (bug#9865).
13365
c1ebb47e
GM
133662011-10-24 Glenn Morris <rgm@gnu.org>
13367
13368 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13369
7f5c46c7
MA
133702011-10-24 Michael Albinus <michael.albinus@gmx.de>
13371
13372 * notifications.el: Add the requirement of a running D-Bus session
13373 bus to the Commentary.
13374
db2440b6
JL
133752011-10-24 Juri Linkov <juri@jurta.org>
13376
13377 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13378 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13379 (Bug#9364)
13380
feecf435
JL
133812011-10-24 Juri Linkov <juri@jurta.org>
13382
13383 * info.el (Info-following-node-name-re): Add newline to the list
13384 of allowed characters for leading space. (Bug#9824)
13385
a3839de2
SM
133862011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13387
acc825c5
SM
13388 * progmodes/octave-inf.el (inferior-octave-mode-map):
13389 Fix C-c C-h binding.
a3839de2
SM
13390 * progmodes/octave-mod.el (octave-help): Remove.
13391
09388e76
MA
133922011-10-23 Michael Albinus <michael.albinus@gmx.de>
13393
13394 Sync with Tramp 2.2.3.
13395
13396 * net/tramp-cache.el (top): Pacify byte-compiler using
13397 `init-file-user' and `site-run-file'.
13398
13399 * net/trampver.el: Update release number.
13400
86c60681
CY
134012011-10-23 Chong Yidong <cyd@gnu.org>
13402
13403 * files.el (toggle-read-only): Remove obsolete comment about
13404 version control.
13405
13406 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13407 for toggle-read-only. Note that this hasn't called vc-next-action
13408 since 2008-05-02, though it wasn't documented at the time.
13409
a3839de2
SM
13410 * vc/ediff-init.el (ediff-toggle-read-only-function):
13411 Use toggle-read-only.
86c60681 13412
cd5495ff
AM
134132011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13414
13415 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13416 of c-parse-state.
13417
00b77525 13418 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13419 correct faulty logical expression.
cd5495ff
AM
13420 (c-parse-state-state, c-record-parse-state-state):
13421 (c-replay-parse-state-state): New defvar/defuns.
13422 (c-debug-parse-state): Use new functions.
13423
42ee24ed
MR
134242011-10-22 Martin Rudalics <rudalics@gmx.at>
13425
13426 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 13427 last fix. Use window-in-direction correctly.
42ee24ed 13428
a7dee7e7
CY
134292011-10-21 Chong Yidong <cyd@gnu.org>
13430
13431 * progmodes/idlwave.el (idlwave-mode):
13432 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
13433 require-final-newline; that's done in prog-mode.
13434 Suggested by Stefan Monnier.
a7dee7e7 13435
e07b9a6d
MR
134362011-10-21 Martin Rudalics <rudalics@gmx.at>
13437
13438 * mouse.el (mouse-drag-window-above)
13439 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13440 (mouse-drag-mode-line-1, mouse-drag-header-line)
13441 (mouse-drag-vertical-line-rightward-window): Remove.
13442 (mouse-drag-line): New function.
13443 (mouse-drag-mode-line, mouse-drag-header-line)
13444 (mouse-drag-vertical-line): Call mouse-drag-line.
13445 * window.el (window-at-side-p, windows-at-side): New functions.
13446
7e1361d9
UM
134472011-10-21 Ulrich Mueller <ulm@gentoo.org>
13448
13449 * tar-mode.el (tar-grind-file-mode):
13450 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13451
30fcaf3a
CY
134522011-10-21 Chong Yidong <cyd@gnu.org>
13453
13454 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13455 * progmodes/vera-mode.el (vera-mode):
13456 Use mode-require-final-newline.
30fcaf3a 13457
516eddb0
GM
134582011-10-20 Glenn Morris <rgm@gnu.org>
13459
db22a3c2 13460 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13461
10d5f513
CS
134622011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13463
13464 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13465
ac6c8639
CY
134662011-10-20 Chong Yidong <cyd@gnu.org>
13467
13468 * emulation/cua-base.el (cua-mode):
13469 * mail/footnote.el (footnote-mode):
13470 * mail/mailabbrev.el (mail-abbrevs-mode):
13471 * net/xesam.el (xesam-minor-mode):
13472 * progmodes/bug-reference.el (bug-reference-mode):
13473 * progmodes/cap-words.el (capitalized-words-mode):
13474 * progmodes/compile.el (compilation-minor-mode)
13475 (compilation-shell-minor-mode):
13476 * progmodes/gud.el (gud-tooltip-mode):
13477 * progmodes/hideif.el (hide-ifdef-mode):
13478 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13479 * progmodes/subword.el (subword-mode):
13480 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13481 * progmodes/which-func.el (which-function-mode):
13482 * term/tvi970.el (tvi970-set-keypad-mode):
13483 * term/vt100.el (vt100-wide-mode):
13484 * textmodes/flyspell.el (flyspell-mode):
13485 * textmodes/ispell.el (ispell-minor-mode):
13486 * textmodes/nroff-mode.el (nroff-electric-mode):
13487 * textmodes/paragraphs.el (use-hard-newlines):
13488 * textmodes/refill.el (refill-mode):
13489 * textmodes/reftex.el (reftex-mode):
13490 * textmodes/rst.el (rst-minor-mode):
13491 * textmodes/sgml-mode.el (html-autoview-mode)
13492 (sgml-electric-tag-pair-mode):
13493 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13494 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13495 * emulation/crisp.el (crisp-mode):
13496 * emacs-lisp/eldoc.el (eldoc-mode):
13497 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13498 minor mode behavior.
13499
aa42ab43
JL
135002011-10-19 Juri Linkov <juri@jurta.org>
13501
13502 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13503 the list of hard-coded chars with escape-glyph face.
13504
89400f1d
SM
135052011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13506
13507 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13508
305c07f6
MA
135092011-10-19 Michael Albinus <michael.albinus@gmx.de>
13510
13511 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13512 running process.
13513
13754b54
GM
135142011-10-19 Glenn Morris <rgm@gnu.org>
13515
13516 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13517 Ignore ignored files. (Bug#9726)
13518
06e21633
CY
135192011-10-19 Chong Yidong <cyd@gnu.org>
13520
13521 Doc fix for minor modes, stating that an omitted argument enables
13522 the mode unconditionally when called from Lisp.
13523
13524 * abbrev.el (abbrev-mode):
13525 * allout.el (allout-mode):
13526 * autoinsert.el (auto-insert-mode):
13527 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13528 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13529 (global-auto-revert-mode):
13530 * battery.el (display-battery-mode):
13531 * composite.el (global-auto-composition-mode)
13532 (auto-composition-mode):
13533 * delsel.el (delete-selection-mode):
13534 * desktop.el (desktop-save-mode):
13535 * dired-x.el (dired-omit-mode):
13536 * dirtrack.el (dirtrack-mode):
13537 * doc-view.el (doc-view-minor-mode):
13538 * double.el (double-mode):
13539 * electric.el (electric-indent-mode, electric-pair-mode):
13540 * emacs-lock.el (emacs-lock-mode):
13541 * epa-hook.el (auto-encryption-mode):
13542 * follow.el (follow-mode):
13543 * font-core.el (font-lock-mode):
13544 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13545 * help.el (temp-buffer-resize-mode):
13546 * hilit-chg.el (highlight-changes-mode)
13547 (highlight-changes-visible-mode):
13548 * hi-lock.el (hi-lock-mode):
13549 * hl-line.el (hl-line-mode, global-hl-line-mode):
13550 * icomplete.el (icomplete-mode):
13551 * ido.el (ido-everywhere):
13552 * image-file.el (auto-image-file-mode):
13553 * image-mode.el (image-minor-mode):
13554 * iswitchb.el (iswitchb-mode):
13555 * jka-cmpr-hook.el (auto-compression-mode):
13556 * linum.el (linum-mode):
13557 * longlines.el (longlines-mode):
13558 * master.el (master-mode):
13559 * mb-depth.el (minibuffer-depth-indicate-mode):
13560 * menu-bar.el (menu-bar-mode):
13561 * minibuf-eldef.el (minibuffer-electric-default-mode):
13562 * mouse-sel.el (mouse-sel-mode):
13563 * msb.el (msb-mode):
13564 * mwheel.el (mouse-wheel-mode):
13565 * outline.el (outline-minor-mode):
13566 * paren.el (show-paren-mode):
13567 * recentf.el (recentf-mode):
13568 * reveal.el (reveal-mode, global-reveal-mode):
13569 * rfn-eshadow.el (file-name-shadow-mode):
13570 * ruler-mode.el (ruler-mode):
13571 * savehist.el (savehist-mode):
13572 * scroll-all.el (scroll-all-mode):
13573 * scroll-bar.el (scroll-bar-mode):
13574 * server.el (server-mode):
13575 * shell.el (shell-dirtrack-mode):
13576 * simple.el (auto-fill-mode, transient-mark-mode)
13577 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13578 (line-number-mode, column-number-mode, size-indication-mode)
13579 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13580 * strokes.el (strokes-mode):
13581 * time.el (display-time-mode):
13582 * t-mouse.el (gpm-mouse-mode):
13583 * tool-bar.el (tool-bar-mode):
13584 * tooltip.el (tooltip-mode):
13585 * type-break.el (type-break-mode-line-message-mode)
13586 (type-break-query-mode):
13587 * view.el (view-mode):
13588 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13589 (global-whitespace-mode, global-whitespace-newline-mode):
13590 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13591
a3839de2
SM
13592 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13593 Fix autogenerated docstring.
06e21633 13594
5214e501
JL
135952011-10-19 Juri Linkov <juri@jurta.org>
13596
13597 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13598 by checking environment variables "DESKTOP_SESSION" and
13599 "XDG_CURRENT_DESKTOP". (Bug#9779)
13600
195f8db9
JL
136012011-10-19 Juri Linkov <juri@jurta.org>
13602
13603 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13604 (browse-url-chromium-program, browse-url-chromium-arguments):
13605 New defcustoms.
13606 (browse-url-default-browser): Check for `browse-url-chromium' and
13607 call `browse-url-chromium-program'.
13608 (browse-url-chromium): New command. (Bug#9779)
13609
343a34ff
JB
136102011-10-18 Juanma Barranquero <lekktu@gmail.com>
13611
13612 * facemenu.el (list-colors-duplicates): On Windows, detect more
13613 duplicates by assuming that only colors matching "^System" are
13614 special "system colors". (Bug#9722)
13615
6978a151
SM
136162011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13617
13618 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13619 to distinguish the author from the committer.
13620
6a80b297
MA
136212011-10-18 Michael Albinus <michael.albinus@gmx.de>
13622
13623 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13624
b31a5677
JK
136252011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13626
13627 * international/mule.el (sgml-html-meta-auto-coding-function):
13628 Add support for detecting encoding in HTML5 specified only as
13629 <meta charset="UTF-8">. Implementation just makes http-equiv and
13630 content-type parts from HTML4 encoding string optional. (Bug#9716)
13631
80c6d77f
GM
136322011-10-18 Glenn Morris <rgm@gnu.org>
13633
13634 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13635
08b0fee8
CY
136362011-10-18 Chong Yidong <cyd@gnu.org>
13637
13638 * faces.el (cursor): Doc fix.
13639
67e729a5
CY
136402011-10-17 Chong Yidong <cyd@gnu.org>
13641
13642 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13643
343a34ff 136442011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13645
13646 * dirtrack.el (dirtrack): Support shell buffers with path
13647 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13648
0bc06380
TZ
136492011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13650
13651 * json.el: Bump version to 1.3 and note change in History.
13652 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13653
8b79f3e0
SM
136542011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13655
5a7c536b
SM
13656 * comint.el (comint-insert-input, comint-send-input)
13657 (comint-get-old-input-default, comint-backward-matching-input)
13658 (comint-next-prompt): Use nil instead of `input' for field property of
13659 past user input (bug#114).
13660
96a8a0df
SM
13661 * minibuffer.el (completion--replace): Inherit surrounding properties
13662 (bug#114).
13663 (minibuffer-complete-and-exit): Use it.
13664
8b79f3e0
SM
13665 * comint.el (comint--table-subvert): Quote the all-completions output
13666 (bug#9160).
13667
b8f7ff0d
MR
136682011-10-17 Martin Rudalics <rudalics@gmx.at>
13669
8b79f3e0 13670 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13671
b8f7ff0d 13672 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13673 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13674 entries and separate them from frame entries.
13675
c235b555
GM
136762011-10-15 Glenn Morris <rgm@gnu.org>
13677
13678 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13679 Doc fixes.
13680
6bbfa6e1
CY
136812011-10-15 Chong Yidong <cyd@stupidchicken.com>
13682
8b79f3e0
SM
13683 * net/network-stream.el (network-stream-open-starttls):
13684 Improve detection of failure due to lack of TLS support.
ec5c990d 13685
6bbfa6e1
CY
13686 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13687 putting the input text in front and in bold.
13688
98488977
SM
136892011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13690
3d1337be
SM
13691 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13692
ee0b45e4
SM
13693 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13694 empty buffer.
13695
98488977
SM
13696 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13697 unread-command-events rather than pushing yet-another event.
13698
186f4720
EZ
136992011-10-14 Eli Zaretskii <eliz@gnu.org>
13700
13701 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13702 the explanation of the possible choices. Make the options passed
13703 to completing-read shorter.
13704
8b7a997c
AM
137052011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13706
13707 * textmodes/flyspell.el (flyspell-large-region): Make sure
13708 extended character mode is used if defined (Bug#1339).
13709
12587bbb
EZ
137102011-10-13 Eli Zaretskii <eliz@gnu.org>
13711
13712 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13713 character info for LRE, LRO, RLE, and RLO characters by appending
13714 an invisible PDF.
12587bbb 13715
bad41229
SM
137162011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13717
13718 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13719 even in case of error; add debug spec; simplify data flow.
13720 (with-timeout-handler): Remove.
13721
28dbc92f
MA
137222011-10-12 Michael Albinus <michael.albinus@gmx.de>
13723
13724 Fix Bug#6019, Bug#9315.
13725
13726 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13727 complete `buffer-file-name', the local file name part could look
13728 remotely (for example on VMS).
13729
13730 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13731 `tramp-run-real-handler'.
13732 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13733 already quoted by '"'.
13734
13735 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13736 Let `file-name-handler-alist' be nil, the local file name part
13737 could look remotely (for example on VMS).
13738
e1b0b23a
SM
137392011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13740
13741 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13742 from here...
13743 (flyspell-post-command-hook): ...to here.
13744
a120bde9
SM
137452011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13746
13747 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13748 if not needed.
13749 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13750 using completion. Protect against "slow" callers.
13751 Remove the "message hack".
13752
7ce7717b
JL
137532011-10-11 Juri Linkov <juri@jurta.org>
13754
13755 * isearch.el (isearch-lazy-highlight-word): New variable.
13756 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13757 Use it. (Bug#9727)
13758
c02ee9d6
GM
137592011-10-11 Glenn Morris <rgm@gnu.org>
13760
13761 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13762 like f90-previous-statement does.
13763
93e616fd 137642011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13765
1f190e73 13766 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13767 only in interactive use, to avoid error.
13768
af7b6078
SM
137692011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13770
13771 * minibuffer.el (completion-file-name-table): Fix last change,
13772 i.e. ignore normal errors but not the other ones.
13773
0563dae9
MR
137742011-10-10 Martin Rudalics <rudalics@gmx.at>
13775
13776 * window.el (special-display-buffer-names)
13777 (special-display-regexps): Remove some remnants of earlier
13778 changes from doc-strings.
366ca7f3
MR
13779 (quit-windows-on): New function.
13780
13781 * vc/vc.el (vc-revert, vc-rollback):
13782 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13783 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13784 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13785
49677495
MR
137862011-10-09 Martin Rudalics <rudalics@gmx.at>
13787
13788 * window.el (frame-auto-hide-function): Add version tag.
13789 (Bug#9699)
13790
56f2d1e1
MA
137912011-10-09 Michael Albinus <michael.albinus@gmx.de>
13792
13793 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13794 condition.
13795
112a6592
LL
137962011-10-09 Leo Liu <sdl.web@gmail.com>
13797
13798 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13799 (Bug#9701)
13800
0812589b
GM
138012011-10-08 Glenn Morris <rgm@gnu.org>
13802
13803 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13804 before the first code statement zero indent. (Bug#9690)
13805
b2b0776e
CY
138062011-10-08 Chong Yidong <cyd@stupidchicken.com>
13807
13808 * simple.el (count-words-region): Always count in the region.
13809 Report the number of lines and characters too.
13810 (count-words): New command, which counts in the buffer if the
13811 region is inactive, as count-words-region used to.
13812 (count-words--message): New function. Handle plurals.
13813 (count-lines-region): Make it an alias for count-words-region.
13814
13815 * bindings.el (esc-map): Replace count-lines-region with
13816 count-words-region.
13817
c557cd6b
MR
138182011-10-08 Martin Rudalics <rudalics@gmx.at>
13819
13820 * window.el (window--delete): Delete dedicated frame
13821 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13822 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13823
61a57ef4 138242011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13825
3a7d293b 13826 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13827
c3833279
CY
138282011-10-07 Chong Yidong <cyd@stupidchicken.com>
13829
13830 * bindings.el ([M-left],[M-right]): Bind to left-word and
13831 right-word respectively.
13832
21ce8245
GM
138332011-10-07 Glenn Morris <rgm@gnu.org>
13834
13835 * cus-start.el (debug-on-quit): Fix custom type.
13836
6d823bb2
LMI
138372011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13838
0181e193
LMI
13839 * subr.el (define-key-after): Clarify that the function is not
13840 useful for non-menu keymaps.
13841
6d823bb2
LMI
13842 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13843
8e3459ce 138442011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13845
21ce8245 13846 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13847 in current minibuffer (Fix bug with recursive minibuffers).
13848
a1c2d21e
CY
138492011-10-06 Chong Yidong <cyd@stupidchicken.com>
13850
13851 * progmodes/gdb-mi.el (gdb): Doc fix.
13852
5a4cf282
MR
138532011-10-05 Martin Rudalics <rudalics@gmx.at>
13854
13855 * window.el (frame-auto-hide-function): New option replacing
13856 frame-auto-delete. Suggested by Stefan Monnier.
13857 (window--delete): Call frame-auto-hide-function instead of
13858 investigating frame-auto-delete.
c96111ea
MR
13859 (window-point-1, set-window-point-1): New functions.
13860 (window-in-direction, record-window-buffer, window-state-get-1)
13861 (display-buffer-record-window): Use window-point-1 instead of
13862 window-point.
13863 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13864
9854542e
SM
138652011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13866
13867 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13868
8943cfb0
GM
138692011-10-05 Glenn Morris <rgm@gnu.org>
13870
13871 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13872 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13873
647ab967
LL
138742011-10-05 Leo Liu <sdl.web@gmail.com>
13875
13876 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13877 works with buffer object.
13878
3ddfbced
SM
138792011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13880
13881 * mpc.el (mpc-tool-bar-map): Add labels.
13882
bdfa5dd2
GM
138832011-10-04 Glenn Morris <rgm@gnu.org>
13884
13885 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13886
0e2070b5
MR
138872011-10-04 Martin Rudalics <rudalics@gmx.at>
13888
13889 * window.el (window--delete): New function.
13890 (frame-auto-delete): Resuscitate option.
13891 (bury-buffer, replace-buffer-in-windows)
13892 (quit-window): Rewrite using window--delete.
13893 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13894 Pass display-buffer-mark-dedicated to window--display-buffer-2
13895 (Bug#9639).
13896
3dc61a09
SM
138972011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13898
915a9b64
SM
13899 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13900 returns a list (bug#9554). Add remote file name completion.
13901 * comint.el (comint--table-subvert): Curry and get quote&unquote
13902 functions as arguments.
13903 (comint--complete-file-name-data): Adjust call accordingly.
13904 * pcomplete.el (pcomplete--table-subvert): Remove.
13905 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13906
3dc61a09
SM
13907 * minibuffer.el (completion-table-case-fold): Use currying.
13908 (completion--styles-type, completion--cycling-threshold-type):
13909 New constants.
13910 (completion-styles, completion-category-overrides)
13911 (completion-cycle-threshold): Use them.
13912 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13913 completion-table-case-fold.
13914
8ea0a993
SB
139152011-10-03 Stephen Berman <stephen.berman@gmx.net>
13916
13917 * minibuffer.el (completion-category-overrides): Fix type of styles
13918 and add more user friendly tags (bug#9660).
13919
8c24b7f6
SM
139202011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13921
13922 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13923 (mule-input-method-string): New widget.
13924 (default-input-method, language-info-custom-alist): Use it.
13925
428fe61a
SM
139262011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13927
32c1fffd
SM
13928 * pcomplete.el: Require comint.
13929 (pcomplete--common-suffix): Remove.
13930 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13931 (pcomplete--table-subvert): Sync with comint--table-subvert.
13932 (pcomplete--entries): Use comint-completion-file-name-table.
13933 * comint.el (comint-unquote-filename): Simplify.
13934 (comint-completion-file-name-table): New function (bug#9616).
13935 (comint--complete-file-name-data): Use it.
13936
428fe61a
SM
13937 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13938 (pcmpl-gnu-tar-buffer): Remove.
13939 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13940 around. Make sure pcomplete-suffix-list is only changed temporarily.
13941 Don't look inside the tar's file if it's too large.
428fe61a 13942
04c52e2f
CY
139432011-10-01 Chong Yidong <cyd@stupidchicken.com>
13944
ce3cefcc
CY
13945 * cus-edit.el (custom-mode-map):
13946 * epa.el (epa-key-list-mode-map):
13947 * man.el (Man-mode-map):
13948 * startup.el (splash-screen-keymap):
13949 * simple.el (special-mode-map): Use scroll-up-command and
13950 scroll-down-command.
13951
13952 * progmodes/idlw-help.el (idlwave-help-mode-map):
13953 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13954 * net/newst-plainview.el (newsticker-mode-map):
13955 * emulation/ws-mode.el (wordstar-mode-map):
13956 * emulation/vi.el (vi-com-map):
13957 * calc/calc-graph.el (calc-graph-show-dumb):
13958 * term/sun.el (terminal-init-sun):
13959 * term/ns-win.el (global-map):
13960 * progmodes/grep.el (grep-mode-map):
13961 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13962 * mail/rmail.el (rmail-mode-map):
13963 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13964
04c52e2f
CY
13965 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13966 custom-safe-themes as special.
13967
79adf8c8
JD
139682011-10-01 Julien Danjou <julien@danjou.info>
13969
13970 * notifications.el (notifications-notify): Fix docstring.
13971
63bd50d3
PS
139722011-10-01 Per Starbäck <per@starback.se>
13973
13974 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13975
199e4c7e
MR
139762011-09-30 Martin Rudalics <rudalics@gmx.at>
13977
13978 * startup.el (command-line-1): Fix last fix by inserting
13979 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13980 (Bug#9605) and (Bug#9636)
199e4c7e 13981
fe5f08dd
EZ
139822011-09-29 Eli Zaretskii <eliz@gnu.org>
13983
13984 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13985 window is hscrolled, move by logical lines. (Bug#9607)
13986 (line-move-visual): Update the doc string to the above effect.
13987
b5516bbd
MR
139882011-09-29 Martin Rudalics <rudalics@gmx.at>
13989
ccee00c0
MR
13990 * window.el (display-buffer-record-window): When WINDOW is the
13991 selected window use `point' instead of `window-point'. (Bug#9626)
13992
b5516bbd
MR
13993 * startup.el (command-line-1): Use insert-before-markers when
13994 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13995
b5516bbd
MR
13996 * help.el (help-window): Remove variable.
13997
52aa0014
GM
139982011-09-29 Glenn Morris <rgm@gnu.org>
13999
14000 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14001
df9a7357
JB
140022011-09-29 Juanma Barranquero <lekktu@gmail.com>
14003
14004 * descr-text.el (describe-char-categories): Accept category
14005 descriptions more than one line long.
14006
a8406c20
SM
140072011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14008
88d9610c
SM
14009 * simple.el (delete-trailing-whitespace): Fix last change.
14010
a5daf810
SM
14011 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14012 Don't confuse "y => 3" as the beginning of a `y' operation.
14013
a8406c20
SM
14014 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14015 object has more than 4 slots (bug#9613).
14016
a239d4e9
JB
140172011-09-28 Juanma Barranquero <lekktu@gmail.com>
14018
14019 * subr.el (with-output-to-temp-buffer):
14020 * net/quickurl.el (quickurl, quickurl-browse-url):
14021 Fix typos in docstrings.
14022
693fbdb6
EZ
140232011-09-27 Eli Zaretskii <eliz@gnu.org>
14024
14025 * minibuffer.el (completion-styles)
14026 (completion-category-overrides): Cross reference each other in doc
14027 strings.
14028
8b457e28
GM
140292011-09-27 Glenn Morris <rgm@gnu.org>
14030
14031 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14032 to split-string. (Bug#9606)
14033
85a16208
LMI
140342011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14035
14036 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14037 (bug#9615).
14038
502f9ebd
CY
140392011-09-27 Chong Yidong <cyd@stupidchicken.com>
14040
14041 * emacs-lisp/package.el (list-packages): Fix echo area message.
14042
7690bdea
LL
140432011-09-27 Leo Liu <sdl.web@gmail.com>
14044
14045 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14046
e2ee6f30
MA
140472011-09-25 Michael Albinus <michael.albinus@gmx.de>
14048
14049 * net/dbus.el (dbus-unregister-object): Don't release services for
14050 registered signals. (Bug#9581)
14051
f3f98342
TZ
140522011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14053
14054 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14055 function that picks between cfengine 2 and 3 support
14056 automatically. Update docs accordingly.
14057
dd7aa8dd
KH
140582011-09-22 Kenichi Handa <handa@m17n.org>
14059
14060 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14061 ZERO.
14062 (indian-itrans-v5-table-for-tamil): New variable.
14063 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14064
3f2b07f8
KM
140652011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14066
14067 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14068 that's true if the current command involved collapsing of text.
14069 It's reset to false at the beginning of the next command.
14070 (allout-post-command-business): Move the cursor to the beginning
14071 of entry if the cursor is hidden and collapsing activity just
14072 happened.
14073
371d6a61
CY
140742011-09-24 Chong Yidong <cyd@stupidchicken.com>
14075
14076 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14077 tracking (Bug#9541).
14078
2ac2721a
UJ
140792011-09-24 Ulf Jasper <ulf.jasper@web.de>
14080
14081 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14082 (newsticker-show-news): Automatically load html rendering package
14083 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14084 because w3m-fill-column is let-bound" and the error "Symbol's value
14085 as variable is void: w3m-fill-column".
2ac2721a 14086
fac7ae53
MA
140872011-09-24 Michael Albinus <michael.albinus@gmx.de>
14088
14089 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14090 Release services only if they are defined. (Bug#9581)
14091
e08b633b
RS
140922011-09-23 Richard Stallman <rms@gnu.org>
14093
e488d29c
RS
14094 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14095 distinguish start of paragraph from start of its text.
14096
19c38752
RS
14097 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14098
e08b633b
RS
14099 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14100 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14101 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14102
0a39f27e
AS
141032011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14104
14105 * international/mule-diag.el (mule-diag): Insert a newline after
14106 each fontset description.
14107
db4e950d
SM
141082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14109
14110 * simple.el (delete-trailing-whitespace):
14111 Document last change; simplify.
14112
eca3f3ea
PW
141132011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14114
d68e189a
PW
14115 * simple.el (delete-trailing-whitespace): Also delete
14116 extra newlines at the end of the buffer.
14117
eca3f3ea
PW
14118 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14119 (picture-newline): Use forward-line so as to ignore fields.
14120
01c157cc
SM
141212011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14122
14123 * subr.el (with-wrapper-hook): Fix edebug spec.
14124
022de23e
LMI
141252011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14126
14127 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14128 (bug#4538).
14129
91683089
MA
141302011-09-23 Michael Albinus <michael.albinus@gmx.de>
14131
eca3f3ea
PW
14132 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14133 Fix nasty bug using wrong cached values.
91683089 14134
5bdd6fa4
AM
141352011-09-23 Alan Mackenzie <acm@muc.de>
14136
14137 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14138
97adfb97
CY
141392011-09-23 Chong Yidong <cyd@stupidchicken.com>
14140
14141 * window.el (pop-to-buffer): Ensure right window is selected if we
14142 chose another frame.
14143
d4ef2b50
EZ
141442011-09-22 Eli Zaretskii <eliz@gnu.org>
14145
14146 * simple.el (what-cursor-position): Use get-char-property-change
14147 and next-single-char-property-change, to be able to show display
14148 properties that come from overlays as well as text properties.
14149
72258fe5
CY
141502011-09-22 Chong Yidong <cyd@stupidchicken.com>
14151
14152 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14153
14154 * cmuscheme.el (run-scheme, switch-to-scheme):
14155 * cus-edit.el (customize-group, custom-buffer-create)
14156 (customize-browse):
14157 * info.el (info):
14158 * shell.el (shell):
14159 * mail/sendmail.el (mail):
14160 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14161
8f098516
RS
141622011-09-22 Richard Stallman <rms@gnu.org>
14163
14164 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14165 move back only to line beg, don't move back over blank lines.
14166
e74f1bb6
MA
141672011-09-22 Michael Albinus <michael.albinus@gmx.de>
14168
14169 * files.el (copy-directory): Set directory attributes only in case
14170 they could be retrieved from the source directory. (Bug#9565)
14171
bfeef8b6
DK
141722011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14173
14174 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14175 (hs-find-block-beginning, hs-hide-level-recursive):
14176 Ignore strings as well as comments. (Bug#9502)
14177
7e423bb8
AS
141782011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14179
14180 * progmodes/sql.el (sql-comint-postgres):
14181 Convert port number to a string. (Bug#9566)
14182
b4d72fcf
MR
141832011-09-22 Martin Rudalics <rudalics@gmx.at>
14184
14185 * window.el (quit-window): Undedicate window when switching to
14186 previous buffer. Reported by Thierry Volpiatto
14187 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14188 (special-display-popup-frame): When popping up a new frame reset
14189 its previous buffers to nil. Simplify code.
b4d72fcf 14190
a7b88dc6
MA
141912011-09-21 Michael Albinus <michael.albinus@gmx.de>
14192
14193 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14194 and process filter, as done also in `shell-command'.
14195
cf4eacfd
MR
141962011-09-21 Martin Rudalics <rudalics@gmx.at>
14197
eca3f3ea 14198 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14199 Call set-window-start with NOFORCE argument t.
14200 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14201 (quit-window): Reword doc-string. Handle new format of
14202 quit-restore parameter. Don't delete window if it has a
14203 previous buffer we can show instead of the present one.
14204 (display-buffer-record-window): Rewrite using a new format for
14205 the quit-restore window parameter
14206 (special-display-popup-frame, display-buffer-same-window)
14207 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14208 (display-buffer-pop-up-window, display-buffer-use-some-window):
14209 Adapt symbol passed to display-buffer-record-window.
14210 * help.el (help-window-setup): Handle new format of quit-restore
14211 parameter.
14212
8d28cb95
SM
142132011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14214
94ab793f
SM
14215 * faces.el (face-list): Fix docstring (bug#9564).
14216
8d28cb95
SM
14217 * window.el (display-buffer--action-function-custom-type):
14218 Don't include internal functions in the Custom interface.
14219
3820edeb
JL
142202011-09-20 Juri Linkov <juri@jurta.org>
14221
14222 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14223 (Info-forward-node, Info-backward-node, Info-next-preorder)
14224 (Info-last-preorder): Use it. (Bug#9528)
14225
5147931d
JL
142262011-09-20 Juri Linkov <juri@jurta.org>
14227
14228 * info.el (Info-last-preorder): Visit last menu item only when
14229 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14230
cf499a1a
JD
142312011-09-20 Julien Danjou <julien@danjou.info>
14232
14233 * password-cache.el (password-cache-remove): Remove entries even if the
14234 value is nil, so that password with a nil value (negative caching) is
14235 possible to invalidate.
14236
f84e2fe2
LM
142372011-09-20 Lawrence Mitchell <wence@gmx.li>
14238
14239 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14240 all whitespace around breakpoint. (Bug#9553)
14241 (f90-find-breakpoint): Only break at whitespace inside a comment.
14242
78054a46
SM
142432011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14244
14245 * minibuffer.el (completion-file-name-table): Keep track of errors.
14246 (completion-table-with-predicate): Handle the case where pred1 is nil.
14247 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14248
345083b2
SM
142492011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14250
e24e27be
SM
14251 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14252 (debugger-return-value): Signal an error if the debugging context does
14253 not await any return value.
14254
345083b2
SM
14255 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14256 * image-mode.el (image-toggle-display-text)
14257 (image-toggle-display-image): Stay away from evil `intangible'.
14258
08d355e3
LL
142592011-09-19 Leo Liu <sdl.web@gmail.com>
14260
14261 * replace.el (occur-revert-arguments): Make it permanent-local.
14262 (occur-mode): Don't call font-lock-defontify.
14263
f01da43f
CY
142642011-09-19 Chong Yidong <cyd@stupidchicken.com>
14265
14266 * net/ldap.el (ldap-search-internal): Don't push empty search
14267 result (Bug#9508).
14268
b6072fa6
SM
142692011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14270
14271 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14272
443d6696
MA
142732011-09-19 Michael Albinus <michael.albinus@gmx.de>
14274
14275 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14276 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14277
7cc6e154
JL
142782011-09-18 Juri Linkov <juri@jurta.org>
14279
14280 * buff-menu.el (Buffer-menu-mode-map):
14281 * dired.el (dired-mode-map):
14282 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14283 (lisp-interaction-mode-map):
14284 * emacs-lisp/package.el (package-menu-mode-map):
14285 * epa.el (epa-key-list-mode-map):
14286 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14287 (menu-bar-options-menu):
14288 * outline.el (outline-mode-menu-bar-map):
14289 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14290 * vc/vc-dir.el (vc-dir-menu-map):
14291 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14292 Capitalize non-function content words in menu item strings.
14293
14294 * dired.el (dired-mode-map): Add menu item for
14295 `image-dired-dired-toggle-marked-thumbs'.
14296
80302a81
JL
142972011-09-18 Juri Linkov <juri@jurta.org>
14298
14299 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14300 to `isearch-case-fold-search' and restore its original value
14301 after the `isearch-mode' call.
14302
46c5cf66
JL
143032011-09-18 Juri Linkov <juri@jurta.org>
14304
14305 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14306 because `zgrep' returns 1 for successful matches (bug#9226).
14307
d18b513b
JL
143082011-09-18 Juri Linkov <juri@jurta.org>
14309
14310 * info.el (Info-extract-menu-node-name): Check the second match
14311 for empty string (second test-case of bug#9528).
14312 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14313 intermediate nodes to the history (first test-case of bug#9528).
14314
72753f87
JL
143152011-09-18 Juri Linkov <juri@jurta.org>
14316
14317 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14318 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14319
c9384295
JL
143202011-09-18 Juri Linkov <juri@jurta.org>
14321
1154d12e
JB
14322 * info.el (Info-file-supports-index-cookies):
14323 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14324 outputs one more line for long file names (bug#4142).
c9384295 14325
d473dce8
CY
143262011-09-18 Chong Yidong <cyd@stupidchicken.com>
14327
14328 * newcomment.el (comment-normalize-vars): If prompting for
14329 comment-start, set comment-start-skip too (Bug#8424).
14330
2176854d
JB
143312011-09-18 Johan Bockgård <bojohan@gnu.org>
14332
14333 * icomplete.el: Fix previous fix of Bug#5849.
14334 (icomplete-mode): Don't set completion-show-inline-help.
14335 (icomplete-minibuffer-setup): Set completion-show-inline-help
14336 locally during icompletion.
14337
3aace4e4
CY
143382011-09-18 Chong Yidong <cyd@stupidchicken.com>
14339
c940224f
CY
14340 * woman.el (woman2-process-escapes): Don't delete unrecognized
14341 escapes (Bug#7843).
14342
3aace4e4
CY
14343 * files.el (inhibit-first-line-modes-regexps): Add image files.
14344 (hack-local-variables-prop-line): Return nil for malformed
14345 prop-lines (Bug#9044).
14346
710dec63
MA
143472011-09-18 Michael Albinus <michael.albinus@gmx.de>
14348
14349 * net/tramp.el (top): Don't require 'shell.
14350 (tramp-methods): Fix docstring.
14351 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14352 Return complete remote file name. Handle "smb" case.
14353 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14354 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14355
14356 * net/tramp-compat.el (top): Require 'shell.
14357
14358 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14359 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14360 `tramp-current-host'.
14361 (tramp-get-remote-tmpdir): Remove.
14362
14363 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14364 `tramp-tmpdir' entries.
14365 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14366 (tramp-smb-handle-file-attributes): Ignore errors.
14367 (tramp-smb-wait-for-output): Check also for process end.
14368
5d5ac8ec
LMI
143692011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14370
14371 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14372 when sending QUIT (bug#9312).
14373
8c0f49f0
CY
143742011-09-17 Chong Yidong <cyd@stupidchicken.com>
14375
14376 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14377 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14378 occur-mode-display-occurrence.
14379 (occur-edit-mode): Add usage message.
14380 (occur-cease-edit): New command.
14381 (occur-after-change-function): Use text properties to find the
14382 position of the prefix text.
14383 (occur-engine): Set stickiness of prefix text properties.
14384
8f1383f7
GM
143852011-09-17 Glenn Morris <rgm@gnu.org>
14386
14387 * progmodes/etags.el (complete-tag):
14388 Fix call to completion-in-region. (Bug#9526)
14389
744ba0e3
JL
143902011-09-17 Juri Linkov <juri@jurta.org>
14391
14392 * textmodes/ispell.el (ispell-word): Add to the error message
14393 the word, ispell program name and current dictionary (bug#9121).
14394 (ispell-tex-arg-end): Capitalize "error" in the error message.
14395
d9bbf400
AS
143962011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14397
14398 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14399 check. (Bug#4251)
14400
8da11505
JL
144012011-09-17 Juri Linkov <juri@jurta.org>
14402
14403 * window.el (window-safe-min-height, window-safe-min-width):
14404 Fix typos (followup to bug#9522).
14405
a91adc7e
SJ
144062011-09-17 Sven Joachim <svenjoac@gmx.de>
14407
14408 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14409
064f328a
EZ
144102011-09-16 Eli Zaretskii <eliz@gnu.org>
14411
14412 * simple.el (line-move): If goal-column is set, move by logical
14413 lines, not by display lines. (Bug#971)
14414 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14415 to reflect the above change.
14416
e69df516
SM
144172011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14418
14419 * image.el (imagemagick-register-types): Use regexp-opt.
14420
cbb0f9ab
CY
144212011-09-15 Chong Yidong <cyd@stupidchicken.com>
14422
14423 * window.el (display-buffer-base-action): Rename from
14424 display-buffer-default-action. Make default value empty.
14425 (display-buffer-overriding-action): Convert to defvar.
14426 (display-buffer-fallback-action): New var.
14427
25322144
CY
144282011-09-15 Chong Yidong <cyd@stupidchicken.com>
14429
14430 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14431 declaration.
14432 (package--add-to-archive-contents): If there is a duplicate entry
14433 with an older version, remove it.
14434 (package-menu-mark-delete, package-menu-mark-install)
14435 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
14436 (package-menu-mark-obsolete-for-deletion):
14437 Use package-menu-get-status instead of a regexp search.
25322144
CY
14438 (package-menu-get-status): Use tabulated-list-entry.
14439 (package-menu-mark-upgrades): New command.
d770725a 14440 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
14441 (package-menu-execute): Do installation before deletion.
14442 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14443 instead of checking major-mode.
14444 (package-menu--find-upgrades): New function.
14445
7520339c
LMI
144462011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14447
14448 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14449 passwords in the log buffer.
65a046c4
LMI
14450 (smtpmail-process-filter): Update the process marker so that the
14451 "broken by peer" status message is inserted in the right place.
7520339c 14452
d3c30954
SM
144532011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14454
3fe48822
SM
14455 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14456 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14457 bibtex-completion-at-point-function.
14458 (bibtex-completion-at-point-function): Use them.
14459
1b8b3954
SM
14460 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14461
d3c30954
SM
14462 * mpc.el (mpc-constraints-tag-lookup): New function.
14463 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14464 also to browser "album|playlist".
14465
72779976
JL
144662011-09-14 Juri Linkov <juri@jurta.org>
14467
14468 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14469 (isearch-edit-string): Use length of `isearch-string' when
14470 `isearch-fail-pos' returns nil.
14471 (isearch-message): Remove duplicate code and call
14472 `isearch-fail-pos' with arg `t'.
14473
a0bf2bcd
CY
144742011-09-14 Chong Yidong <cyd@stupidchicken.com>
14475
17bb0a2d
CY
14476 * replace.el (occur-mode-goto-occurrence): Don't force using other
14477 window (Bug#9499).
14478
a0bf2bcd
CY
14479 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14480
f678e0b6
MR
144812011-09-14 Martin Rudalics <rudalics@gmx.at>
14482
14483 * window.el (display-buffer-window): Remove.
14484 (display-buffer-record-window): Use help-setup window parameter
14485 instead of variable display-buffer-window.
14486 (display-buffer-function, special-display-buffer-names)
14487 (special-display-function): Mention help-setup parameter instead
14488 of display-buffer-window in doc-string.
d3c30954
SM
14489 * help.el (help-window-setup): New argument help-window.
14490 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14491 Reword some messages.
14492 (with-help-window): Pass window used for displaying the buffer
14493 to help-window-setup. Don't set display-buffer-window.
14494
8e39b2e8
GM
144952011-09-13 Glenn Morris <rgm@gnu.org>
14496
14497 * emacs-lisp/debug.el (debugger-make-xrefs):
14498 Preserve point. (Bug#9462)
14499
85e9c04b
CY
145002011-09-13 Chong Yidong <cyd@stupidchicken.com>
14501
14502 * window.el (window-deletable-p): Use next-frame.
14503
1b36ed6a
MR
145042011-09-13 Martin Rudalics <rudalics@gmx.at>
14505
14506 * window.el (window-auto-delete): Remove.
14507 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14508 dedication and previous buffers.
1b36ed6a
MR
14509 (switch-to-prev-buffer): Don't delete window.
14510 (delete-windows-on): Delete a window's frame if and only if the
14511 window is dedicated.
14512 (replace-buffer-in-windows): Delete buffer's window or frame if
14513 and only if window is dedicated.
14514 (quit-window): Handle quit-restore as before last change.
4d61f28d 14515 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14516
ef8ef9fb
CY
145172011-09-13 Chong Yidong <cyd@stupidchicken.com>
14518
14519 * window.el (window-deletable-p): Never delete the last frame on a
14520 given terminal.
14521
b2cba41e
GM
145222011-09-13 Glenn Morris <rgm@gnu.org>
14523
14524 * help.el (describe-key-briefly): Copy previous standard-output change.
14525
51553db6 145262011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14527
14528 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14529
b7556719
GM
145302011-09-13 Glenn Morris <rgm@gnu.org>
14531
14532 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14533 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14534
64b51947
CY
145352011-09-12 Chong Yidong <cyd@stupidchicken.com>
14536
14537 * dired-aux.el (dired-mark-read-string): Don't return default
14538 value on empty input (Bug#9361).
14539 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14540 Omit initial minibuffer contents.
14541 (dired-do-chmod): Signal an error on empty input.
14542 (dired-mark-read-string): Don't return default on empty input.
14543
14544 * files.el (file-modes-symbolic-to-number): Doc fix.
14545
393a301e
SM
145462011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14547
14548 * international/mule-cmds.el (ucs-completions): Remove.
14549 (read-char-by-name): Use complete-with-action instead; add metadata.
14550
fa5660f9
CY
145512011-09-11 Chong Yidong <cyd@stupidchicken.com>
14552
14553 * window.el (display-buffer--action-function-custom-type)
14554 (display-buffer--action-custom-type): New vars.
14555 (display-buffer-alist, display-buffer-default-action)
14556 (display-buffer-overriding-action): Add defcustom types.
14557
4a592f66
CY
14558 * frame.el (delete-other-frames): Doc fix (Bug#276).
14559
73d56dbd
LMI
145602011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14561
14562 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14563
37ac18a3
CY
145642011-09-11 Chong Yidong <cyd@stupidchicken.com>
14565
14566 Change modes that used same-window-* vars to use switch-to-buffer.
14567
14568 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14569 Use switch-to-buffer.
14570
14571 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14572 (customize-browse, custom-buffer-create-other-window):
14573 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14574
14575 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14576 (Info-prev, Info-up, Info-speedbar-goto-node)
14577 (info-display-manual): Use switch-to-buffer.
14578 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14579
14580 * mail/sendmail.el (mail): Use switch-to-buffer.
14581 (mail-recover): Use switch-to-buffer-other-window.
14582
14583 * cmuscheme.el (run-scheme, switch-to-scheme):
14584 * ielm.el (ielm):
14585 * shell.el (shell):
14586 * net/rlogin.el (rlogin):
14587 * net/telnet.el (telnet, rsh):
14588 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14589
10195bd6
AS
145902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14591
14592 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14593
b322f63a
LMI
145942011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14595
39d7fed6
LMI
14596 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14597 so don't mention it (bug#9301).
ba5a81f1 14598 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14599
ee0e9f11
LMI
14600 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14601 match `x', `w32' and `ns', like the manual says (bug#9029).
14602
0b1c89c1 14603 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14604 (process-kill-buffer-query-function): Mention the buffer name in
14605 the query.
0b1c89c1 14606
77549ea8
LMI
14607 * image-mode.el (image-next-line): The line parameter is mandatory
14608 (bug#9258).
14609
803ef892
LMI
14610 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14611 which can be useful (bug#9301).
14612
12980837
LMI
14613 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14614
91054f8f
LMI
14615 * subr.el (match-string): Mention that the current buffer should
14616 be the same as the search was done in (bug#9282).
14617
b322f63a
LMI
14618 * facemenu.el: Disable the remove-* commands if the mark isn't
14619 active (bug#9162).
14620
3199b96f
CY
146212011-09-10 Chong Yidong <cyd@stupidchicken.com>
14622
14623 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14624 of display-buffer.
14625 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14626
14627 * replace.el (occur-mode-goto-occurrence)
14628 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14629 and display-buffer.
14630
14631 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14632 display-buffer.
14633
14634 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14635 special-display and same-window variables.
14636 (mail-other-window): Use switch-to-buffer-other-window.
14637 (mail-other-frame): USe switch-to-buffer-other-frame.
14638
393a301e
SM
14639 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14640 Use display-buffer-other-frame.
3199b96f
CY
14641 (gdb-display-gdb-buffer): Use pop-to-buffer.
14642
14643 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14644
14645 * progmodes/python.el: Don't set same-window-buffer-names.
14646
14647 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14648
14649 * window.el (display-buffer-alist): Add *Python*.
14650
8319e0bf
CY
146512011-09-10 Chong Yidong <cyd@stupidchicken.com>
14652
14653 * window.el (display-buffer-alist): Add entry for buffers
14654 previously handled same-window-*.
14655 (display-buffer-alist, display-buffer-default-action)
14656 (display-buffer-overriding-action): Mark as risky.
14657 (display-buffer-alist): Document action function changes.
14658 (display-buffer--same-window-action)
14659 (display-buffer--other-frame-action): New variables.
14660 (switch-to-buffer, display-buffer-other-frame): Use them.
14661 (display-buffer): Rename reuse-frame entry to reusable-frames.
14662 (display-buffer-reuse-selected-window): Function deleted.
14663 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14664 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14665 (display-buffer-special): New function.
14666 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14667 display-buffer-reuse-or-pop-window. Split off special-display
14668 part into display-buffer-special.
14669 (display-buffer-use-some-window): Don't perform any special
14670 pop-up-frames handling.
14671 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14672 (display-buffer--maybe-same-window): Rename from
0d3ff375 14673 display-buffer-maybe-same-window.
8319e0bf 14674
919a69aa
CY
14675 * info.el: Don't set same-window-regexps.
14676 (info-setup): New function.
14677 (info-other-window, info): Call it.
14678
14679 * cus-edit.el: Don't set same-window-regexps.
14680 (customize-group): New argument.
14681 (customize-group-other-window): Use it.
14682 (customize-face, customize-face-other-window): Likewise.
14683 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14684
8319e0bf
CY
14685 * net/rlogin.el:
14686 * net/telnet.el:
14687 * progmodes/gud.el: Don't set same-window-regexps.
14688
14689 * cmuscheme.el:
14690 * ielm.el:
14691 * shell.el:
14692 * mail/sendmail.el:
14693 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14694
25173000
JL
146952011-09-10 Juri Linkov <juri@jurta.org>
14696
14697 * isearch.el (isearch-edit-string): Remove obsolete mention of
14698 `C-w' (`isearch-yank-word-or-char') from docstring.
14699 (isearch-query-replace): Fix typo in docstring (bug#9466).
14700
056e44ef
JL
147012011-09-10 Juri Linkov <juri@jurta.org>
14702
14703 * paren.el (show-paren-function): Don't show escaped parens.
14704 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14705
c3760c17
EZ
147062011-09-10 Eli Zaretskii <eliz@gnu.org>
14707
14708 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14709 (mm-default-file-encoding): Remove autoload forms, they are
14710 replaced with autoload cookies in mml.el and mm-encode.el.
14711 (mail-add-attachment): New command.
14712 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14713 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14714 the doc string.
14715 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14716
fece895e
RT
147172011-09-10 Reuben Thomas <rrt@sc3d.org>
14718
e69df516
SM
14719 * simple.el (count-words-region): Use buffer if there's no region
14720 (bug#9429).
fece895e 14721
5e68ce4a
JL
147222011-09-09 Juri Linkov <juri@jurta.org>
14723
14724 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14725 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14726 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14727
0a6b9622
AM
147282011-09-09 Alan Mackenzie <acm@muc.de>
14729
14730 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14731 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14732
14a29deb
EZ
147332011-09-09 Eli Zaretskii <eliz@gnu.org>
14734
14735 Fix for Savannah bug#9392.
14736 * simple.el (mail-encode-mml): New defvar.
14737
14738 * mail/rmail.el (mail-encode-mml): Add a defvar.
14739 (rmail-enable-mime-composing): Default to t.
14740 (rmail-forward): Use MIME method of forwarding only if both
14741 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14742 Set mail-encode-mml non-nil if the MIME method was used.
14743
14744 * mail/sendmail.el (mml-to-mime): Add autoload form.
14745 (mail-encode-mml): Add a defvar.
14746 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14747 to nil.
14748 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14749 message through mml-to-mime, and reset mail-encode-mml to nil.
14750
28c45130
GM
147512011-09-09 Glenn Morris <rgm@gnu.org>
14752
14753 * woman.el (woman-if-body): When processing an .el block,
14754 do not delete the next .el block as well. (Bug#9447)
69f4b618 14755 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14756
9b1c252e
MR
147572011-09-08 Martin Rudalics <rudalics@gmx.at>
14758
14759 * window.el (window-deletable-p): Make sure window is live before
14760 invoking window-prev-buffers.
14761
567457e3
LL
147622011-09-08 Leo Liu <sdl.web@gmail.com>
14763
14764 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14765
97f05794
JL
147662011-09-08 Juri Linkov <juri@jurta.org>
14767
14768 * progmodes/compile.el (compilation-environment): Make it
14769 a defcustom (bug#8340).
14770
8b0874b5
MR
147712011-09-08 Martin Rudalics <rudalics@gmx.at>
14772
14773 * window.el (frame-auto-delete): Rename to window-auto-delete.
14774 Make it control auto-deletion of windows and/or frames.
14775 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14776 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14777 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14778 Rewrite handling of case when window/frame can be deleted.
14779 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14780 argument t. (Bug#9456)
8b0874b5 14781
4feb6e73
CY
147822011-09-07 Chong Yidong <cyd@stupidchicken.com>
14783
14784 * help-mode.el (help-mode): Restore autoload.
14785
91ab9c13
JL
147862011-09-07 Juri Linkov <juri@jurta.org>
14787
14788 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14789 `compilation-environment'. Set buffer-local
14790 `compilation-environment' to `thisenv' later after (funcall mode).
14791 (Bug#8340)
14792
14793 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14794 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14795 instead of replacing its value. (Bug#8340)
14796
0527e251
JL
147972011-09-07 Juri Linkov <juri@jurta.org>
14798
14799 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14800 based on text properties put by `grep-filter' instead of matching
14801 escape sequences.
14802 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14803 to the value of `grep-error-screen-columns' (bug#9438).
14804
249f792c
JL
148052011-09-07 Juri Linkov <juri@jurta.org>
14806
14807 * simple.el (next-error-highlight, next-error-highlight-no-select):
14808 Doc fix (bug#9432).
14809
ff7271b9
OT
148102011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14811
14812 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14813 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14814
183fc730
LL
148152011-09-07 Leo Liu <sdl.web@gmail.com>
14816
14817 * net/rcirc.el (rcirc-mode): Conditionally initialize
14818 rcirc-input-ring.
14819
77694924
SM
148202011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14821
14822 * emacs-lisp/find-func.el (find-function-C-source): Only set
14823 find-function-C-source-directory after checking that we found a source
14824 file there (bug#9440).
14825
d809b8eb
AM
148262011-09-06 Alan Mackenzie <acm@muc.de>
14827
14828 * isearch.el (isearch-other-meta-char): Wherever a key list is
14829 unread, "unread" the prefix arg, too. This fixes bug #8901.
14830
453de99f
OG
148312011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14832
14833 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14834
90439906
JL
148352011-09-05 Juri Linkov <juri@jurta.org>
14836
14837 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14838
f62bd846
JL
148392011-09-05 Juri Linkov <juri@jurta.org>
14840
14841 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14842 keeping point where processing of grep matches begins, and
14843 continue to delete remaining escape sequences from the same point.
14844 (grep-filter): Make leading zero optional in "0?1;31m" because
14845 git-grep emits "\033[1;31m" escape sequences unlike expected
14846 "\033[01;31m" as GNU Grep does (bug#9408).
14847 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14848
045820ec
JL
148492011-09-05 Juri Linkov <juri@jurta.org>
14850
14851 * subr.el (y-or-n-p): Capitalize "yes".
14852
f5e29b9b
MA
148532011-09-04 Michael Albinus <michael.albinus@gmx.de>
14854
14855 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14856 `tramp-cache-unload-hook' where appropriate.
14857 (tramp-methods): Rename `tramp-remote-sh' to
14858 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14859 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14860
14861 * net/tramp-sh.el (top): Don't require 'shell.
14862 (tramp-methods): Add `tramp-remote-shell' and
14863 `tramp-remote-shell-args' entries.
14864 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14865 (tramp-sh-handle-shell-command): Remove.
14866 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14867 Use `tramp-remote-shell'.
14868
2784c434
CY
148692011-09-03 Chong Yidong <cyd@stupidchicken.com>
14870
393a301e 14871 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14872 (sendmail-query-once): Save directly to send-mail-function.
14873 Update message-send-mail-function too.
14874
14875 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14876
464cdf56
CS
148772011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14878
14879 * progmodes/python.el (python-mode-map): Use correct function to
14880 start python interpreter from menu-bar (as reported by Geert
14881 Kloosterman).
14882 (inferior-python-mode-map): Fix typo.
393a301e 14883 (python-shell-map): Remove.
464cdf56 14884
d37e5c87
DD
148852011-09-03 Deniz Dogan <deniz@dogan.se>
14886
14887 * net/rcirc.el (rcirc-print): Simplify code for
14888 rcirc-scroll-show-maximum-output. There is no need to walk
14889 through all windows to find the right one.
14890
f3ada0ee
CS
148912011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14892
14893 * help.el (help-return-method): Doc fix.
14894
1f3c99ca
MR
148952011-09-03 Martin Rudalics <rudalics@gmx.at>
14896
14897 * window.el (window-deletable-p): Don't return a non-nil value
14898 when there's a buffer that was shown in the window before.
14899 (Bug#9419)
393a301e
SM
14900 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14901 Set window's previous buffers to nil.
1f3c99ca 14902
a3cf097f
EZ
149032011-09-03 Eli Zaretskii <eliz@gnu.org>
14904
14905 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14906 newline before and after the tag line, so it doesn't interfere
14907 with determining the paragraph direction of bidirectional text.
14908
3d03de90
LL
149092011-09-03 Leo Liu <sdl.web@gmail.com>
14910
14911 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14912
c3313451
CY
149132011-09-02 Chong Yidong <cyd@stupidchicken.com>
14914
393a301e 14915 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14916 (pop-to-buffer): Change interactive spec. Pass second argument
14917 directly to display-buffer.
14918 (display-buffer): Fix interactive spec. Use functionp to
14919 distinguish between a function and a list of functions.
14920
14921 * abbrev.el (edit-abbrevs):
14922 * arc-mode.el (archive-extract):
14923 * autoinsert.el (auto-insert):
14924 * bookmark.el (bookmark-bmenu-list):
14925 * files.el (find-file):
14926 * view.el (view-buffer):
14927 * progmodes/compile.el (compilation-goto-locus):
14928 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14929
89894cd8
CY
149302011-09-02 Chong Yidong <cyd@stupidchicken.com>
14931
14932 * window.el (display-buffer-alist): Doc fix.
14933 (display-buffer): Add docstring. Don't treat
14934 display-buffer-default specially.
14935 (display-buffer-reuse-selected-window)
14936 (display-buffer-same-window, display-buffer-maybe-same-window)
14937 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14938 (display-buffer-pop-up-window)
14939 (display-buffer-reuse-or-pop-window)
14940 (display-buffer-use-some-window): New functions.
14941 (display-buffer-default-action): Use them.
393a301e 14942 (display-buffer-default): Delete.
89894cd8
CY
14943 (pop-to-buffer-1): Fix choice of actions.
14944
ae0bc9fb
SM
149452011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14946
14947 * minibuffer.el (completion--insert-strings): Don't get confused by
14948 completion entries that end with an LF char.
14949
e9d90883
EZ
149502011-09-01 Eli Zaretskii <eliz@gnu.org>
14951
14952 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14953
437014c8
CY
149542011-09-01 Chong Yidong <cyd@stupidchicken.com>
14955
14956 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14957 (display-buffer-same-window, display-buffer-other-window):
14958 New functions.
437014c8
CY
14959 (pop-to-buffer-1): New function. Use the above.
14960 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14961 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14962
14963 * view.el (view-buffer-other-window, view-buffer-other-frame):
14964 Just use pop-to-buffer.
14965
a5e063d5
TV
149662011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14967
14968 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14969
793d32bb
WH
149702011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14971
14972 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14973
d65e4c15
RS
149742011-08-31 Richard Stallman <rms@gnu.org>
14975
14976 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14977 of the separation of rmail-view-buffer from rmail-buffer.
14978 If you say no to "replace original", the decrypt is in the
14979 view buffer. If you say yes, the decrypt goes into the
14980 rmail buffer also.
14981
f818cd2a
MR
149822011-08-31 Martin Rudalics <rudalics@gmx.at>
14983
14984 * window.el (display-buffer-window): Rewrite doc-string.
14985 (display-buffer-record-window): New function.
14986 (display-buffer-macro-specifiers)
14987 (display-buffer-even-window-sizes, display-buffer-set-height)
14988 (display-buffer-set-width, display-buffer-in-window)
14989 (display-buffer-reuse-window, display-buffer-split-specifiers)
14990 (display-buffer-side-specifiers, display-buffer-split-window-1)
14991 (display-buffer-split-window, display-buffer-split-atom-window)
14992 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14993 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14994 (display-buffer-other-window-means-other-frame)
14995 (display-buffer-normalize-special)
14996 (display-buffer-normalize-default)
14997 (display-buffer-normalize-argument)
14998 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14999 (display-buffer-normalize-specifiers, display-buffer-frame)
15000 (display-buffer-same-window, display-buffer-same-frame)
15001 (display-buffer-other-window)
15002 (display-buffer-same-frame-other-window)
15003 (display-buffer-other-frame, pop-to-buffer-same-window)
15004 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15005 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15006 (switch-to-buffer-same-frame)
15007 (switch-to-buffer-other-window-same-frame)
15008 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15009 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15010 (display-buffer-alist-set): Remove.
15011 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15012 (special-display-regexps, special-display-function):
15013 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15014 parameter.
15015 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15016 (special-display-frame-alist, special-display-popup-frame)
15017 (same-window-buffer-names, same-window-regexps, same-window-p)
15018 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15019 (split-window-preferred-function, split-height-threshold)
15020 (split-width-threshold, window-splittable-p)
15021 (split-window-sensibly, window--try-to-split-window)
15022 (window--frame-usable-p, even-window-heights)
15023 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15024 (window--display-buffer-2, display-buffer-other-frame):
15025 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15026 (display-buffer-default, display-buffer-assq-regexp): New functions.
15027 (display-buffer-alist): Rewrite doc-string.
15028 (display-buffer-default-action)
15029 (display-buffer-overriding-action): New variables.
15030 (display-buffer, switch-to-buffer): Rewrite.
15031 (pop-to-buffer): Restore Emacs 23 behavior but use
15032 window-normalize-buffer-to-display.
15033 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15034 Restore Emacs 23 behavior but use
15035 window-normalize-buffer-to-switch-to.
15036 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15037 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15038 Rewrite using Emacs 23 options.
f818cd2a 15039
5bc3b51d
MA
150402011-08-31 Michael Albinus <michael.albinus@gmx.de>
15041
15042 * net/tramp.el (tramp-root-regexp): Remove.
15043 (tramp-completion-file-name-regexp-unified)
15044 (tramp-completion-file-name-regexp-separate)
15045 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15046 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15047 (tramp-drop-volume-letter): Simplify definition.
15048 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15049
b1a4f8e1
SM
150502011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15051
15052 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15053 (bug#9356).
15054
5664fa7b
RT
150552011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15056
b1a4f8e1 15057 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15058
9a45d6c3
JL
150592011-08-29 Juri Linkov <juri@jurta.org>
15060
15061 * isearch.el (isearch-done): Don't display message "Mark saved"
15062 when arg `edit' is non-nil to prevent its flicker in the echo area.
15063
fb87e0fb
CY
150642011-08-28 Chong Yidong <cyd@stupidchicken.com>
15065
15066 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15067 obsolete packages for deletion.
15068
09ac1c2a
CS
150692011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15070
15071 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15072 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15073 view-mode from help-mode.
15074 (help-xref-override-view-map): Remove.
15075 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15076 view-mode is not used anymore.
15077
7a1ff57f
CY
150782011-08-28 Chong Yidong <cyd@stupidchicken.com>
15079
15080 * server.el (server-port): Doc fix.
15081
b9696605
CY
15082 * cus-theme.el (custom-theme-choose-mode): Inherit from
15083 special-mode (Bug#9124).
15084 (custom-theme-choose-mode-map): Add special-mode to parent.
15085
ef8cdf8c
AM
150862011-08-28 Alan Mackenzie <acm@muc.de>
15087
15088 * progmodes/cc-fonts.el
15089 (c-make-font-lock-BO-decl-search-function): New function.
15090 (c-basic-matchers-after - "Fontify the clauses after various
15091 keywords"): Extract the three keyword lists for the 3 erroneous
15092 constructs from the list of four, and use the new function above
15093 in place of an old one.
15094
27de4e20
DD
150952011-08-28 Deniz Dogan <deniz@dogan.se>
15096
15097 * net/rcirc.el (rcirc-insert-prev-input)
15098 (rcirc-insert-next-input): Remove unused argument.
15099
356a3681
SM
151002011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15101
15102 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15103
3fc9b218
AM
151042011-08-27 Alan Mackenzie <acm@muc.de>
15105
15106 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15107 handle function pointer parameters properly.
15108
538a061c
MR
151092011-08-27 Martin Rudalics <rudalics@gmx.at>
15110
15111 * window.el (display-buffer-reuse-window): Fix case where
15112 selected window was reused with non-nil OTHER-WINDOW argument.
15113 (Bug#9381)
15114
35b1c40c
DD
151152011-08-27 Deniz Dogan <deniz@dogan.se>
15116
15117 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15118 oftc's NickServ messages.
15119
2f6a3e79
GM
151202011-08-27 Glenn Morris <rgm@gnu.org>
15121
15122 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15123
7254299e
CY
151242011-08-26 Chong Yidong <cyd@stupidchicken.com>
15125
15126 * emacs-lisp/package.el (package-install): Call package-initialize
15127 if called interactively.
15128
f8ccf167
LL
151292011-08-26 Leo Liu <sdl.web@gmail.com>
15130
15131 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15132
3e8cd5ce
JL
151332011-08-25 Juri Linkov <juri@jurta.org>
15134
15135 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15136 `search-whitespace-regexp' (bug#9364).
15137
93eb7113
JL
151382011-08-25 Juri Linkov <juri@jurta.org>
15139
15140 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15141 `regexp-search-ring' to their global values to protect from
15142 updating by `read-from-minibuffer' (bug#9185).
15143
f65d1611
JL
151442011-08-25 Juri Linkov <juri@jurta.org>
15145
15146 * textmodes/ispell.el (ispell-command-loop): Add newline
15147 at the end of the "Use option `i'..." line.
15148
f1cf7a31
JL
151492011-08-25 Juri Linkov <juri@jurta.org>
15150
15151 * battery.el (display-battery-mode): If `battery-status-function'
15152 or `battery-mode-line-format' is nil, display the message and set
15153 `display-battery-mode' to nil (bug#9363).
15154
0c95fcf7
EZ
151552011-08-25 Eli Zaretskii <eliz@gnu.org>
15156
15157 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15158 bidi-string-mark-left-to-right; they are unnecessary now.
15159
a2ebe600
DD
151602011-08-25 Deniz Dogan <deniz@dogan.se>
15161
15162 * net/quickurl.el: Documentation typo fixes.
15163
e4ed06f1
CY
151642011-08-25 Chong Yidong <cyd@stupidchicken.com>
15165
15166 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15167
e5f1c99e
GM
151682011-08-25 Glenn Morris <rgm@gnu.org>
15169
b2948976
GM
15170 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15171
e5f1c99e
GM
15172 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15173 (smtpmail-via-smtp): Handle nil response from smtp.
15174
f22f4808
JL
151752011-08-24 Juri Linkov <juri@jurta.org>
15176
15177 * proced.el (proced-marked): Inherit from `error' instead of
15178 `font-lock-warning-face'.
15179
15180 * ibuffer.el (ibuffer-marked-face): Change default face from
15181 `font-lock-warning-face' to `warning'.
15182 (ibuffer-deletion-face): Change default face from
15183 `font-lock-type-face' to `error'.
15184
15185 * battery.el (battery-update): Use the face `error' instead of
15186 `font-lock-warning-face' (bug#6117).
15187
6a93965e
JL
151882011-08-24 Juri Linkov <juri@jurta.org>
15189
15190 * faces.el (success): Change face color from "Green3" to
15191 "ForestGreen" on light background (bug#9353).
15192
1ed43b09
CY
151932011-08-24 Chong Yidong <cyd@stupidchicken.com>
15194
5664fa7b
RT
15195 * window.el (quit-window): Rename from quit-restore-window.
15196 Use same arglist as old quit-window.
1ed43b09
CY
15197 (frame-auto-delete): Doc fix.
15198
15199 * view.el (view-mode-exit): Use quit-window.
15200
11dcdbb2
JL
152012011-08-24 Juri Linkov <juri@jurta.org>
15202
15203 * isearch.el (isearch-ring-adjust1): Start visiting previous
15204 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15205 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15206 for empty search string (when the last search string is reused
15207 automatically) to adjust the isearch ring to the last element and
15208 prepare the correct index for further M-p commands (bug#9185).
15209
de62b4df
KH
152102011-08-24 Kenichi Handa <handa@m17n.org>
15211
15212 * international/ucs-normalize.el: If decomposition property of
15213 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15214 nil.
15215 (nfd, nfkd): Likewise.
15216
963b492b
SM
152172011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15218
15219 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15220 from process filters aren't reliably transmitted to the surrounding
15221 accept-process-output.
15222 (mpc-proc-check): New function.
15223 (mpc-proc-sync): Use it (bug#8293)
15224
93b6b5e1
SM
152252011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15226
15227 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15228 Add compatibility functions (bug#9313).
15229
bca633fb
EZ
152302011-08-23 Eli Zaretskii <eliz@gnu.org>
15231
b177498a
EZ
15232 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15233
6df6ae42 15234 * international/uni-bidi.el: Regenerate.
bca633fb 15235
0902a04e
KH
152362011-08-23 Kenichi Handa <handa@m17n.org>
15237
15238 * international/charprop.el:
15239 * international/uni-bidi.el:
15240 * international/uni-category.el:
15241 * international/uni-combining.el:
15242 * international/uni-comment.el:
15243 * international/uni-decimal.el:
15244 * international/uni-decomposition.el:
15245 * international/uni-digit.el:
15246 * international/uni-lowercase.el:
15247 * international/uni-mirrored.el:
15248 * international/uni-name.el:
15249 * international/uni-numeric.el:
15250 * international/uni-old-name.el:
15251 * international/uni-titlecase.el:
15252 * international/uni-uppercase.el: Regenerate.
15253
3bbf23bc
MR
152542011-08-23 Martin Rudalics <rudalics@gmx.at>
15255
15256 * help.el (help-window-setup): Fix message displayed when other
15257 window is reused. (Bug#9341)
15258
b3fd59bd
SM
152592011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15260
1802e444
SM
15261 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15262 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15263
b3fd59bd
SM
15264 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15265 Mark obsolete.
15266 * shell.el (shell-parse-pcomplete-arguments): New function.
15267 (shell-completion-vars): Use it instead (bug#9160).
15268
4eb61348
SM
152692011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15270
867cab74
SM
15271 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15272 strings and comments (bug#9333).
15273
4eb61348
SM
15274 * emacs-lisp/debug.el (debug-arglist): New function.
15275 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15276 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15277
262a1439
JL
152782011-08-22 Juri Linkov <juri@jurta.org>
15279
56ee679c
JL
15280 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15281 Revert regexp that highlights output switches to its old
15282 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15283
262a1439
JL
15284 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15285 to check for empty output (bug#9226).
15286
f13f86fb
CY
152872011-08-22 Chong Yidong <cyd@stupidchicken.com>
15288
15289 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15290 symbol-constituent as the default, as that stops font-lock from
15291 working properly (Bug#8843).
15292
c65c9622
LMI
152932011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15294
15295 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15296 `coding-system-for-*' around the process open call to avoid
15297 auth-source side effects.
e7f2c178 15298 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15299 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15300 probe hangs.
c65c9622 15301
23a8a5ab
CY
153022011-08-21 Chong Yidong <cyd@stupidchicken.com>
15303
ff98b2dd
CY
15304 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15305
23a8a5ab
CY
15306 * emacs-lisp/find-func.el (find-function-noselect): New arg
15307 lisp-only.
15308
15309 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15310 signal an error for built-in functions (Bug#6664).
15311
f5e3c598
LMI
153122011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15313
15314 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15315 (smtpmail-try-auth-methods): Use it.
15316
a3f2468a
CY
153172011-08-21 Chong Yidong <cyd@stupidchicken.com>
15318
2c34e8da
CY
15319 * font-lock.el (font-lock-fontify-region)
15320 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15321 (font-lock-default-unfontify-buffer)
15322 (font-lock-default-fontify-region)
15323 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15324
b3fd59bd
SM
15325 * progmodes/compile.el (compilation-error-properties):
15326 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15327 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15328 `ant' regexp.
ee31aabc 15329
a3f2468a
CY
15330 * net/browse-url.el (browse-url-firefox): Don't call
15331 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15332
8e999f70
GM
153332011-08-20 Glenn Morris <rgm@gnu.org>
15334
c21a496a
GM
15335 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15336
59ee0542
GM
15337 * tutorial.el (tutorial--default-keys): Update some default bindings.
15338
8e999f70
GM
15339 * files.el (hack-local-variables): Fully ignore case for "mode:".
15340
e3715033
AM
153412011-08-20 Alan Mackenzie <acm@muc.de>
15342
15343 Resolve invalid use of a regexp in regexp-opt.
15344
4d61f28d
JB
15345 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15346 detection for a java annotation.
e3715033 15347
4d61f28d 15348 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15349 detection for a java annotation.
15350
4d61f28d
JB
15351 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15352 handling for java.
e3715033
AM
15353 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15354
04ed2e9c
CY
153552011-08-20 Chong Yidong <cyd@stupidchicken.com>
15356
15357 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15358 (Bug#9274).
15359
826cee64
AM
153602011-08-20 Alan Mackenzie <acm@muc.de>
15361
58179cce 15362 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15363 such a construct. Mainly for when jit-lock etc. starts a chunk
15364 here.
15365
58179cce 15366 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15367 variable.
58179cce 15368 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15369 c-make-font-lock-search-function.
15370 (c-make-font-lock-search-function): Use the above function.
15371 (c-make-font-lock-context-search-function): New function.
15372 (c-cpp-matchers): Enhance the preprocessor expression case with
15373 the above function
15374 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15375 which takes an expression.
15376
15377 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15378
13009bd8
MR
153792011-08-20 Martin Rudalics <rudalics@gmx.at>
15380
15381 * window.el (display-buffer-reuse-window)
15382 (display-buffer-pop-up-window): Don't reuse or split a side
15383 window.
15384
9234ff7f
GM
153852011-08-19 Glenn Morris <rgm@gnu.org>
15386
15387 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15388 Downcase "Mode:". (Bug#9331)
9234ff7f 15389
f635daa1
CY
153902011-08-18 Chong Yidong <cyd@stupidchicken.com>
15391
15392 * international/characters.el: Add L and R categories.
15393
15394 * subr.el (bidi-string-mark-left-to-right): Rename from
15395 string-mark-left-to-right. Use category search.
15396
15397 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15398
bc987f8b
JL
153992011-08-18 Juri Linkov <juri@jurta.org>
15400
15401 * faces.el (error, warning, success): New faces with definitions
15402 copied from old default values of `font-lock-warning-face',
15403 `compilation-warning', `compilation-info' (bug#6117).
15404
15405 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15406
15407 * progmodes/compile.el (compilation-error): Inherit from `error'.
15408 (compilation-warning): Inherit from `warning'.
15409 (compilation-info): Inherit from `success'.
15410
15411 * dired.el (dired-marked): Inherit from `warning'.
15412 (dired-flagged): Inherit from `error'.
15413
57173b96
LMI
154142011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15415
3e79eb87
LMI
15416 * mail/smtpmail.el (auth-source): Require to avoid problems with
15417 binding variables (bug#9298). Also clean up some unused
15418 autoloads.
15419
b3fd59bd
SM
15420 * net/network-stream.el (network-stream-open-starttls):
15421 Support using starttls.el without using gnutls-cli.
57173b96 15422
02b404de
JL
154232011-08-17 Juri Linkov <juri@jurta.org>
15424
15425 * progmodes/grep.el (rgrep): Handle the case when
15426 `grep-find-command' is a cons cell (bug#9278).
15427
8c9177f2
MR
154282011-08-17 Martin Rudalics <rudalics@gmx.at>
15429
15430 * window.el (display-buffer-pop-up-frame): Run frame creation
15431 function with BUFFER current (as special-display-popup-frame
15432 does). Reported by Drew Adams.
15433
3644a0ab
DU
154342011-08-17 Daiki Ueno <ueno@unixuser.org>
15435
15436 * epa-mail.el: Simplify GnuPG group expansion using
15437 epg-expand-group.
15438 (epa-mail-group-alist, epa-mail-group-modtime)
15439 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15440 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15441 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15442 Remove.
15443
5e617bc2 154442011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
15445
15446 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15447
9c4aeabf
AM
154482011-08-16 Alan Mackenzie <acm@muc.de>
15449
15450 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15451 Correct, to avoid the inside of macros.
15452
3a99bf64
RS
154532011-08-16 Richard Stallman <rms@gnu.org>
15454
04963aa8
RS
15455 * epa-mail.el: Handle GnuPG group definitions.
15456 (epa-mail-group-alist, epa-mail-group-modtime)
15457 (epa-mail-gnupg-conf-file): New variables.
15458 (epa-mail-parse-groups, epa-mail-sync-groups)
15459 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15460 (epa-mail-expand-recipients): New functions.
15461 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15462
177549d0
RS
15463 * mail/rmail.el (rmail-epa-decrypt): New command.
15464
fe38beef
RS
15465 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15466 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15467 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15468 (epa-decrypt-armor-in-region): Make error message clearer.
15469
934eacb9
SM
154702011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15471
15472 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15473 and "a2b" to "ab" for `prefix'.
15474
d024fb4e
CY
154752011-08-14 Chong Yidong <cyd@stupidchicken.com>
15476
15477 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15478 filter groups.
de148fee
CY
15479 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15480 Fourquet (Bug#8804).
d024fb4e 15481
62f1ca49
JB
154822011-08-12 Juanma Barranquero <lekktu@gmail.com>
15483
15484 * startup.el (argi): Declare as global variable (bug#9275).
15485
9ccaaa4b
CY
154862011-08-12 Chong Yidong <cyd@stupidchicken.com>
15487
15488 * subr.el (string-mark-left-to-right): Search the entire string
15489 for RTL script, not just the terminating character. Doc fix.
15490
a3dae87a
SM
154912011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15492
6cd18349
SM
15493 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15494 New function.
15495 (js--regexp-literal, js-syntax-propertize-function): Remove.
15496 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15497 (js-mode-map): Don't rebind electric keys.
15498 (js-insert-and-indent): Remove.
15499 (js-mode): Setup electric-layout and electric-indent instead.
15500
a3dae87a
SM
15501 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15502
9d5cb631
DU
155032011-08-12 Daiki Ueno <ueno@unixuser.org>
15504
15505 * epa.el (epa-progress-callback-function): Fix the logic of
15506 displaying progress.
15507 * epa-file.el (epa-file-insert-file-contents): Make progress
15508 display more user-friendly.
15509 (epa-file-write-region): Ditto.
15510
3e26a4a2
CY
155112011-08-10 Chong Yidong <cyd@stupidchicken.com>
15512
15513 * subr.el (string-mark-left-to-right): New function.
15514
15515 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15516 Use string-mark-left-to-right.
15517 (list-buffers-noselect): Caller changed.
15518
a3dae87a
SM
15519 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15520 Use string-mark-left-to-right.
3e26a4a2
CY
15521 (tabulated-list-print): Recenter after moving point.
15522
ac8cf6e6
JL
155232011-08-10 Juri Linkov <juri@jurta.org>
15524
15525 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15526 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15527 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15528
8d96c9a4
CY
155292011-08-09 Chong Yidong <cyd@stupidchicken.com>
15530
15531 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15532 (Bug#7554).
15533
7be1c708 155342011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15535
15536 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15537 character. (Bug#6594)
15538
37e11a63
CY
155392011-08-08 Chong Yidong <cyd@stupidchicken.com>
15540
839dde57
CY
15541 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15542 (image-dired--with-db-file): New macro.
15543 (image-dired-write-tags, image-dired-remove-tag)
15544 (image-dired-create-gallery-lists, image-dired-write-comments)
15545 (image-dired-get-comment, image-dired-mark-tagged-files)
15546 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15547 (image-dired-gallery-generate): Use insert-file-contents.
15548
37e11a63
CY
15549 * time.el (display-time-world-list, display-time-world-display):
15550 * time-stamp.el (time-stamp-string):
15551 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15552 set-time-zone-rule (Bug#7337).
15553
0b4946c4
DU
155542011-08-08 Daiki Ueno <ueno@unixuser.org>
15555
15556 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15557 (epg-error-to-string, epg-errors-to-string): New function.
15558 (epg-wait-for-completion): Reverse errors list.
15559 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15560 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15561 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15562 (epg-sign-keys, epg-generate-key-from-file)
15563 (epg-generate-key-from-string): Format errors by using
15564 epg-errors-to-string (bug#9255).
15565 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15566
75bfc667
JL
155672011-08-07 Juri Linkov <juri@jurta.org>
15568
15569 * faces.el (list-faces-display): Remove extra angle bracket
15570 from `help-mode-map'.
15571
15572 * info.el (Info-history-toc-nodes): Doc fix.
15573
15574 * longlines.el (longlines-mode): Doc fix.
15575
673e08bb
SM
155762011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15577
4640dd88
SM
15578 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15579 of statements and in a few more cases (bug#9183).
15580
673e08bb
SM
15581 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15582 New functions.
15583 (cl-transform-lambda): Use them (bug#9239).
15584
89b3f019
MR
155852011-08-05 Martin Rudalics <rudalics@gmx.at>
15586
15587 * window.el (display-buffer-same-window)
15588 (display-buffer-same-frame, display-buffer-other-window)
15589 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15590 (pop-to-buffer-other-window)
15591 (pop-to-buffer-same-frame-other-window)
15592 (pop-to-buffer-other-frame): Make them defuns.
15593 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15594
640c8776
SM
155952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15596
15597 * subr.el (make-composed-keymap): Move from C. Change calling
15598 convention, and improve docstring to bring attention to a subtle point.
15599 * minibuffer.el (completing-read-default): Adjust accordingly.
15600
63648a95
MA
156012011-08-03 Michael Albinus <michael.albinus@gmx.de>
15602
15603 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15604 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15605
15606 * net/trampver.el: Update release number.
15607
b796c9b7
SM
156082011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15609
15610 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15611 "in" (bug#9190).
15612
2239d7d5
LMI
156132011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15614
e07dd7c3
LMI
15615 * mail/sendmail.el (sendmail-query-once): Restore the current
15616 buffer after querying (bug#9074).
15617
0e6a2bd7
LMI
15618 * dired.el (dired-flagged): Use different faces for marked and
15619 flagged files (bug#6117).
15620
ce887515
LMI
15621 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15622 (bug#4433).
15623
92f2affc
LMI
15624 * ido.el (ido-mode): Switch off the message if called
15625 non-interactively.
15626
57d5aff0
LMI
15627 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15628 before 587, since it appears that that's more likely to work for
15629 more people.
15630
98cd6c18 15631 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15632 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15633 exist.
15634
b96dec83
LMI
15635 * info.el: Remove the `Info-beginning-of-buffer' function
15636 (bug#8325).
15637
b796c9b7
SM
15638 * net/network-stream.el (network-stream-open-starttls):
15639 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15640
d90e2ea0
MR
156412011-08-01 Martin Rudalics <rudalics@gmx.at>
15642
15643 * window.el (display-buffer-in-window): Don't set dedicated status
15644 of window here (Bug#9215).
15645 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15646 (display-buffer-pop-up-side-window)
b796c9b7 15647 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15648
cca09170
SM
156492011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15650
15651 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15652 before binding generated-autoload-file.
15653
027b979c
DD
156542011-08-01 Deniz Dogan <deniz@dogan.se>
15655
15656 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15657
3c7ee4f3
MA
156582011-07-30 Michael Albinus <michael.albinus@gmx.de>
15659
15660 Sync with Tramp 2.2.2.
15661
15662 * net/trampver.el: Update release number.
15663
2cc8e51a
JL
156642011-07-30 Juri Linkov <juri@jurta.org>
15665
15666 * dired-aux.el (dired-touch-initial): Remove function.
15667 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15668 current time, and `default' to the last modification time of the
15669 current marked file (bug#6887).
15670
a514d856
JM
156712011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15672
15673 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15674 numeric argument to read-number (bug#9163).
a514d856 15675
8a7eddd7
MA
156762011-07-27 Michael Albinus <michael.albinus@gmx.de>
15677
15678 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15679 connection process, it could be nil.
15680
1ddd96f5
LL
156812011-07-27 Leo Liu <sdl.web@gmail.com>
15682
15683 Simplify url handling in rcirc-mode.
15684
15685 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15686 (rcirc-browse-url-at-mouse): Remove.
15687 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15688
b248a85d
AM
156892011-07-26 Alan Mackenzie <acm@muc.de>
15690
15691 Fontify bitfield declarations properly.
15692
15693 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15694 (c-symbol-chars): Now exported as a lang variable.
15695 (c-not-primitive-type-keywords): New lang variable.
15696
15697 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15698 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15699 parsed as a bitfield declaration.
b248a85d 15700
b796c9b7
SM
15701 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15702 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15703 (c-punctuation-in): New function.
15704 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15705 declarations properly.
15706
68575ab0
UJ
157072011-07-26 Ulf Jasper <ulf.jasper@web.de>
15708
15709 * calendar/icalendar.el (icalendar--all-events): Take care of
15710 multiple vcalendars in a single file.
b796c9b7 15711 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15712
0f0a88b9
DD
157132011-07-25 Deniz Dogan <deniz@dogan.se>
15714
15715 * image.el (insert-image): Clarifying docstring.
15716
0b3f36df
MA
157172011-07-24 Michael Albinus <michael.albinus@gmx.de>
15718
15719 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15720 `tramp-send-command-and-check' if there is no error.
15721 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15722
a9901f61
AM
157232011-07-22 Alan Mackenzie <acm@muc.de>
15724
15725 Prevent cc-langs.elc being loaded at run time.
15726
15727 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15728 cc-langs.
15729
4d61f28d 15730 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15731 "(require 'cc-langs)". Quote a form so it will evaluate at
15732 (cc-mode's) compilation time.
15733
11d074b2
MA
157342011-07-22 Michael Albinus <michael.albinus@gmx.de>
15735
15736 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15737 loading. (Bug#9114)
15738
938b94c8
MR
157392011-07-21 Martin Rudalics <rudalics@gmx.at>
15740
15741 * window.el (display-buffer-pop-up-window)
15742 (display-buffer-pop-up-side-window)
15743 (display-buffer-in-side-window): Call display-buffer-set-height
15744 and display-buffer-set-width after setting the new window's
b796c9b7 15745 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15746
bfa4f190
SS
157472011-07-20 Sam Steingold <sds@gnu.org>
15748
15749 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15750 (etags-tags-included-tables): Call `convert-standard-filename' on
15751 the file names contained in TAGS so that windows Emacs can handle
15752 TAGS files created by cygwin ctags.
15753
8ca42262
LMI
157542011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15755
15756 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15757 which apparently didn't work.
15758
5db2afd2 157592011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15760
5db2afd2
RW
15761 * proced.el (proced-send-signal): For *Marked Processes* buffer
15762 put point at beginning of buffer.
15763
92e15d10
SB
157642011-07-19 Stephen Berman <stephen.berman@gmx.net>
15765
15766 * proced.el (proced-format): Make header lines align with the text
15767 (bug#1779).
15768
1bfd59e5
LMI
157692011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15770
15771 * view.el (view-buffer): Allow running in `special' modes if we're
15772 visiting a file (bug#8615).
15773
f5aae37c
MR
157742011-07-19 Martin Rudalics <rudalics@gmx.at>
15775
15776 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15777 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15778 New functions.
f5aae37c
MR
15779 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15780 more accurately.
15781
bf2c1571
AM
157822011-07-18 Alan Mackenzie <acm@muc.de>
15783
15784 Fontify declarators properly when, e.g., a jit-lock chunk begins
15785 inside a declaration.
15786
15787 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15788
b796c9b7
SM
15789 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15790 New function.
bf2c1571
AM
15791 (c-complex-decl-matchers): Insert reference to
15792 c-font-lock-enclosing-decls.
15793
15794 * progmodes/cc-engine.el (c-backward-single-comment):
15795 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15796 to nil around calls to (forward-comment -1).
15797
4e190b80
LMI
157982011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15799
12dc863d
LMI
15800 * image.el (put-image): Doc typo fix.
15801
a762e966
LMI
15802 * progmodes/etags.el (tags-search): Doc typo fix.
15803
4e190b80
LMI
15804 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15805 password if we get errors 550 to 554.
15806
f019fb21
LMI
158072011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15808
b796c9b7 15809 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15810
81746738
LMI
15811 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15812 indentation character (bug#6380).
15813
3ee3a1b5
LMI
15814 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15815
c82f64de
LMI
15816 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15817 to clarify what the problem is (bug#4291).
15818
f019fb21
LMI
15819 * simple.el (current-kill): Clarify what
15820 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15821 (auto-fill-mode): Document `auto-fill-function' in relation to
15822 `auto-fill-mode' (bug#2470).
f019fb21 15823
0794775d
LM
158242011-07-16 Lawrence Mitchell <wence@gmx.li>
15825
15826 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15827 method if slot is read-only (bug#9035).
15828
be39b8cc
MR
158292011-07-16 Martin Rudalics <rudalics@gmx.at>
15830
b796c9b7 15831 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15832 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15833 selected before, see discussion of (Bug#8615), (Bug#6954).
15834 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15835
6ccf7859
GM
158362011-07-15 Glenn Morris <rgm@gnu.org>
15837
15838 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15839 Respect help-form.
6ccf7859 15840
87e86684
LM
158412011-07-09 Lawrence Mitchell <wence@gmx.li>
15842
15843 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15844 (gnutls-negotiate): Use it.
15845
d6066239
LMI
158462011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15847
b796c9b7
SM
15848 * net/gnutls.el (gnutls-negotiate):
15849 Upcase `gnutls-algorithm-priority'.
d6066239 15850
bd23ebc0
GM
158512011-07-15 Glenn Morris <rgm@gnu.org>
15852
c65bca65
GM
15853 * jka-compr.el (jka-compr-verbose): Move from here...
15854 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15855 Add missing :version tag.
15856 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15857
478615cc
LMI
158582011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15859
7b41decb
LMI
15860 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15861 (gnutls-negotiate): Use it.
15862
dbc44fcd
LMI
15863 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15864
06789f97
LMI
15865 * info.el (Info-beginning-of-buffer): New command.
15866 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15867 announcing `b' as the key (bug#8325).
ab896c37 15868 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15869
c39da690
LMI
15870 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15871
3aa5f34b
LMI
15872 * international/mule-cmds.el
15873 (describe-specified-language-support): Make the error message
15874 clearer (bug#8905).
15875
4bf0979f
LMI
15876 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15877
478615cc
LMI
15878 * isearch.el (isearch-barrier): Add a doc string, since it's
15879 mentioned in a function doc string (bug#8678).
15880
75c68aa1
MR
158812011-07-15 Martin Rudalics <rudalics@gmx.at>
15882
15883 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15884 buffer argument (Bug#9083) and self-identifying label argument.
15885
a7c33da2
GM
158862011-07-15 Glenn Morris <rgm@gnu.org>
15887
15888 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15889
2f5c6024
LMI
158902011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15891
15892 * man.el (Man-fontify-manpage): Fix message when formatting the
15893 man page (bug#7929).
15894
0bb23927 158952011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15896
15897 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15898 argument LRM; if non-nil, append an invisible LRM character to the
15899 buffer name.
15900 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15901 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15902 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15903 paragraph direction.
cce4b0a7 15904
621ef9ab
LMI
159052011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15906
d1583c48
LMI
15907 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15908 the man page name (bug#7929).
15909
6a57fb5f
LMI
15910 * image.el (put-image): Mention the `put-image' overlay property
15911 (bug#7834).
15912
d7956b14
LMI
15913 * scroll-bar.el (set-scroll-bar-mode): Mention that
15914 `scroll-bar-mode' lists the values (bug#7772).
15915
5b2d4a66
LMI
15916 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15917 command (bug#7729).
15918
7509a874
LMI
15919 * rect.el (apply-on-rectangle): Return the point after the last
15920 operation.
15921 (string-rectangle): Go to the point after the last operation
15922 (bug#7522).
15923
4fe74b19
LMI
15924 * printing.el (pr-toggle-region): Clarify the documentation
15925 slightly (bug#7493).
15926
b796c9b7
SM
15927 * time.el (display-time-update):
15928 Allow `display-time-mail-function' to return nil (bug#7158).
15929 Fix suggested by Detlev Zundel.
ab283561 15930
fc233c9d
LMI
15931 * vc/diff.el (diff): Clarify the order the file names are read
15932 (bug#7111).
15933
43f5740b
LMI
15934 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15935 the doc string (bug#7015).
15936
f2182a76
LMI
15937 * font-lock.el (font-lock-maximum-decoration): Mention what
15938 numeric levels mean (bug#6935).
15939
621ef9ab
LMI
15940 * startup.el (initial-buffer-choice): Don't mention the `none'
15941 selection, which is against policy.
15942
adc47434
MR
159432011-07-14 Martin Rudalics <rudalics@gmx.at>
15944
b796c9b7
SM
15945 * window.el (display-buffer-normalize-special):
15946 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15947
7e5bfb8f
EZ
159482011-07-14 Eli Zaretskii <eliz@gnu.org>
15949
15950 * subr.el (version<, version<=, version=): Mention "-CVS" and
15951 "-12345" alpha version numbers.
15952
27fa387a
CY
159532011-07-14 Chong Yidong <cyd@stupidchicken.com>
15954
15955 * bindings.el: Add advertised binding for set-mark-command
15956 (Bug#5772).
15957
8bdfa064
CY
159582011-07-14 Chong Yidong <cyd@stupidchicken.com>
15959
15960 * bindings.el (mode-line-other-buffer):
15961 * bookmark.el (bookmark-bmenu-2-window):
15962 * bs.el (bs-cycle-next, bs-cycle-previous):
15963 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15964 switch-to-buffer.
15965
15966 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15967 Delete.
8bdfa064 15968
5eba16a3
JB
159692011-07-14 Juanma Barranquero <lekktu@gmail.com>
15970
15971 * follow.el (follow-debug-message, follow-redisplay):
15972 * jka-cmpr-hook.el (with-auto-compression-mode):
15973 Fix typos in docstrings.
15974
15853710
LMI
159752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15976
a28e4607
LMI
15977 * subr.el (with-silent-modifications): Clarify somewhat what the
15978 macro inhibits (bug#6525).
15979
15853710
LMI
15980 * simple.el (eval-expression): Note what it does if called
15981 interactively (bug#6495).
15982
bee0fcef
CY
159832011-07-13 Chong Yidong <cyd@stupidchicken.com>
15984
b796c9b7
SM
15985 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15986 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15987
15988 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15989 Remove switch-to-buffer.
15990
58274504
LMI
159912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15992
bd2fcc8d
LMI
15993 * files.el (make-directory): Clarify that an error will be raised
15994 if there's an error (bug#6397).
15995
0f04b32c
LMI
15996 * startup.el (initial-buffer-choice): Add `none' as a choice
15997 (bug#6234).
15998
465c5fc8
LMI
15999 * subr.el (add-hook): Clarify section about buffer-local hooks
16000 (bug#6218).
16001
58274504
LMI
16002 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16003
bead9a43
JB
160042011-07-13 Juanma Barranquero <lekktu@gmail.com>
16005
16006 * tabify.el (untabify): Preserve the current column so that point
16007 doesn't move (bug#6032).
16008
3af98a7b
LMI
160092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16010
b796c9b7
SM
16011 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16012 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16013
6240145a
GM
160142011-07-13 Glenn Morris <rgm@gnu.org>
16015
16016 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16017 (dired-insert-directory): Give a message the first time
16018 if ls is found not to support --dired.
16019
1d8c2ccc
LMI
160202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16021
16022 * simple.el (toggle-truncate-lines): Clarify what is toggled
16023 (bug#5580). Text by Drew Adams.
16024
5fc4038e
CY
160252011-07-13 Chong Yidong <cyd@stupidchicken.com>
16026
16027 * simple.el (blink-matching-open): Make the error message from the
16028 last change less verbose.
16029
bf6012e5
DN
160302011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16031
16032 * font-lock.el (font-lock-comment-face): Use the high contrast
16033 "yellow" color for font-lock-comment-face on low color terminals
16034 using a dark background color (bug#4221).
16035
343c3b5a
LMI
160362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16037
7e9505c5
LMI
16038 * dired.el (dired-insert-set-properties): Make the doc string
16039 reflect what it does now (bug#5325).
16040
c26fdcf5
LMI
16041 * simple.el (blink-matching-open): Say that we were unable to find
16042 the match within the limit, if we're limited (bug#5122).
16043
bb388cc5
LMI
16044 * international/mule-cmds.el (prefer-coding-system): Add an
16045 example (bug#4869).
16046
343c3b5a
LMI
16047 * progmodes/etags.el (tags-search): Document `file-list-form'
16048 (bug#4731).
16049
2a517d45
LM
160502011-07-13 Lawrence Mitchell <wence@gmx.li>
16051
16052 * net/browse-url.el (browse-url-default-browser)
16053 (browse-url-browser-function): Make the default browser choice a
16054 bit more logical (bug#4300). Also clean up the doc string.
16055
b6c78ef2
JB
160562011-07-13 Juanma Barranquero <lekktu@gmail.com>
16057
16058 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16059 binary endings (bug#4440).
16060
1c4dd947
LMI
160612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16062
a2014063
LMI
16063 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16064 which can be pretty annoying (bug#8971).
16065
9c9c2d88
LMI
16066 * jka-compr.el (jka-compr-verbose): New variable, and use
16067 throughout (bug#8971).
16068
1c4dd947
LMI
16069 * info.el (Info-find-file): Fall back on the installation
16070 directory if we can't find the info node anywhere else.
16071
a1c9f41b
SO
160722011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16073
16074 * vc/vc.el (vc-revert-file):
16075 Don't set file time-stamp in the past. (Bug#5181)
16076
536f3d36
LMI
160772011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16078
7152b011
LMI
16079 * files.el (after-find-file): Give a better error message when
16080 trying to find a symlink that points to a file that doesn't exist
16081 (bug#4398).
16082
536f3d36
LMI
16083 * progmodes/cc-vars.el: Remove (probably) misleading comment
16084 (bug#4396).
16085
460c0fba
JB
160862011-07-12 Johan Bockgård <bojohan@gnu.org>
16087
16088 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16089
7a6bda45
CY
160902011-07-12 Chong Yidong <cyd@stupidchicken.com>
16091
16092 * mouse-sel.el: Hack restoring functionality, while keeping
16093 compatibility with 2010-07-03 changes to mouse selection.
16094 (mouse-sel-primary-overlay): New var.
16095 (mouse-sel-selection-alist): Use it.
16096 (mouse-sel-mode): Doc fix; remove points that are default features
16097 of mouse.el.
16098
c79598ef
JB
160992011-07-12 Johan Bockgård <bojohan@gnu.org>
16100
16101 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16102 Fix previous fix (bug#2490).
16103
ff8be6ef
RW
161042011-07-12 Roland Winkler <winkler@gnu.org>
16105
b796c9b7
SM
16106 * textmodes/bibtex.el (bibtex-initialize):
16107 Use pop-to-buffer-same-window.
ff8be6ef
RW
16108 (bibtex-search-entries): Fix interactive call.
16109
296ba3ee
LMI
161102011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16111
f5242a02 16112 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16113 Fontise bytecomp Error lines more correctly (bug#2490).
16114 Fix suggested by Johan Bockgård.
f5242a02 16115
296ba3ee
LMI
16116 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16117
16118 * dired-x.el (dired-guess-default): Use `delete-dups'.
16119
f69fd0d2
CY
161202011-07-12 Chong Yidong <cyd@stupidchicken.com>
16121
16122 * dired.el (dired-mark-prompt):
16123 * dired-aux.el (dired-read-shell-command): Doc fix.
16124
eab5dc07
LMI
161252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16126
b796c9b7
SM
16127 * mail/sendmail.el (sendmail-query-once):
16128 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16129 emacs -Q.
16130
16131 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16132
eab5dc07
LMI
16133 * cus-edit.el (custom-file): Take an optional no-error variable.
16134 (customize-save-variable): Set the variable, and give a warning if
16135 running under "emacs -q".
16136
a1e65d42
JB
161372011-07-11 Juanma Barranquero <lekktu@gmail.com>
16138
16139 * loadhist.el (unload-feature-special-hooks):
16140 Add `auto-coding-functions', `fill-nobreak-predicate' and
16141 `find-directory-functions' (bug#5327).
16142
1d52da10
LMI
161432011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16144
be958f1d
LMI
16145 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16146
5bedb26c
LMI
16147 * cus-edit.el (custom-guess-name-alist): -alist variables should
16148 use the `alist' type (bug#3120). Suggested by Drew Adams.
16149
1d52da10
LMI
16150 * printing.el: Add documentation to all the `pr-toggle-' commands.
16151
cd394be1 161522011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16153
16154 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16155 backends where it makes sense (bug#2623).
16156
dcc88d8a
LMI
161572011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16158
c3de9feb
LMI
16159 * dired-x.el (dired-guess-default): Remove duplicate shell command
16160 entries (bug#2028).
8a93078b 16161 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16162 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16163
dcc88d8a
LMI
16164 * subr.el (remove-duplicates): New conveniency function.
16165
505e3645
LMI
161662011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16167
16168 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16169 (bug#1526).
16170
161712011-07-10 Martin Rudalics <rudalics@gmx.at>
16172
16173 * window.el (display-buffer-normalize-default): Don't invert
16174 meaning of even-window-heights. Reported by Eli Zaretskii
16175 <eliz@gnu.org>.
16176
455e4fa1
BR
161772011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16178
16179 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16180
8e0bc3e9
CY
161812011-07-10 Chong Yidong <cyd@stupidchicken.com>
16182
16183 * window.el (display-buffer): Fix arguments to
16184 display-buffer-reuse-window in last change.
16185
fa7c3228
CY
16186 * faces.el (link): Use a less saturated blue on light backgrounds.
16187
16188 * startup.el (fancy-startup-text, fancy-about-text)
16189 (fancy-startup-tail): Use font-lock faces, for background safety.
16190
c0a7f300
BN
161912011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16192
b796c9b7
SM
16193 * emulation/viper-cmd.el (viper-change-state-to-vi):
16194 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16195
4dc2a129
MR
161962011-07-09 Martin Rudalics <rudalics@gmx.at>
16197
16198 * window.el (display-buffer-default-specifiers): Remove.
16199 (display-buffer-macro-specifiers): Remove default specifiers.
16200 (display-buffer-alist): Default to nil.
b796c9b7 16201 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16202 (display-buffer-pop-up-window): Allow splitting internal
16203 windows. Check whether a live window was created.
16204 (display-buffer-other-window-means-other-frame)
16205 (display-buffer-normalize-arguments): Rename to
16206 display-buffer-normalize-argument and rewrite. Set the
16207 other-window specifier.
16208 (display-buffer-normalize-special): New function.
16209 (display-buffer-normalize-options): Rename to
16210 display-buffer-normalize-default and rewrite.
16211 (display-buffer-normalize-options-inhibit): Remove.
16212 (display-buffer-normalize-specifiers): Rewrite.
16213 (display-buffer): Process other-window specifier and call
16214 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16215 more faithfully.
b796c9b7 16216 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16217 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16218 (display-buffer-in-window, display-buffer-alist-set):
16219 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16220 <tassilo@member.fsf.org>.
16221
2d43b8c9
LL
162222011-07-09 Leo Liu <sdl.web@gmail.com>
16223
16224 * register.el (insert-register): Restore accidental change on
16225 2011-06-26. (Bug#9028)
16226
7f9b7c53
GM
162272011-07-09 Glenn Morris <rgm@gnu.org>
16228
16229 * subr.el (remq): Handle the empty list. (Bug#9024)
16230
f042cfd8
AS
162312011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16232
16233 * mail/sendmail.el (send-mail-function): No longer delay custom
16234 initialization.
16235 * custom.el (custom-initialize-delay): Doc fix.
16236
856b2f11
SM
162372011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16238
16239 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16240
afae1d68
MA
162412011-07-08 Michael Albinus <michael.albinus@gmx.de>
16242
16243 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16244 human-friendly prompt.
16245
0757af94
SM
162462011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16247
16248 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16249 provided by a particular plugin.
16250
d760b731
LMI
162512011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16252
16253 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16254 save customizations (with "emacs -Q"), just set the variable
16255 instead of erroring out.
16256
16257 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16258
cd79ce90
JL
162592011-07-08 Juri Linkov <juri@jurta.org>
16260
16261 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16262 (archive-zip-update-case): Use 7z if found by `executable-find'.
16263 The order of searching the available programs is the same as in
16264 `archive-zip-extract' (bug#8968).
16265
14cc04aa
CY
162662011-07-07 Chong Yidong <cyd@stupidchicken.com>
16267
16268 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16269 (menu-bar-options-menu): Tweak descriptions.
16270
0a1848ec
LMI
162712011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16272
16273 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16274 menu items into verb phrases (bug#1421). Also refill to fit under
16275 80 columns.
16276
f5bd0689
CY
162772011-07-07 Chong Yidong <cyd@stupidchicken.com>
16278
538e85c6
CY
16279 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16280 (Info-read-node-name): Doc fix (Bug#1084).
16281
f5bd0689
CY
16282 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16283 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16284 (end-of-sexp, beginning-of-sexp)
16285 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16286 (forward-symbol, forward-same-syntax, word-at-point)
16287 (sentence-at-point): Doc fix (Bug#1144).
16288
56ec5115
LMI
162892011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16290
f3f8e37f
LMI
16291 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16292 should cover it (bug#1281).
16293
0757af94 16294 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16295
e9fce1ac 16296 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16297 negotiation fails, then possibly try again with a non-encrypted
16298 connection (bug#9017).
16299
56ec5115
LMI
16300 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16301 be used.
16302
c2f9aec8
RS
163032011-07-07 Richard Stallman <rms@gnu.org>
16304
16305 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16306 property, and handle its changed format.
16307 Look for the correct line number.
16308 Use file's line contents (but not past first =) to find
16309 correct line in message.
16310
ef7b981d 163112011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16312
16313 * international/characters.el (build-unicode-category-table):
16314 Delete it.
0757af94 16315 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16316
0757af94 16317 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16318 to src/chartab.c.
16319 (get-char-code-property): Call unicode-property-table-internal to
16320 load a file. Call get-unicode-property-internal where necessary.
16321 (put-char-code-property): Call unicode-property-table-internal to
16322 load a file. Call put-unicode-property-internal where necessary.
16323 put-unicode-property-internal where necessary.
0757af94
SM
16324 (char-code-property-description):
16325 Call unicode-property-table-internal to load a file.
c805dec0
KH
16326
16327 * international/charprop.el:
16328 * international/uni-bidi.el:
16329 * international/uni-category.el:
16330 * international/uni-combining.el:
16331 * international/uni-comment.el:
16332 * international/uni-decimal.el:
16333 * international/uni-decomposition.el:
16334 * international/uni-digit.el:
16335 * international/uni-lowercase.el:
16336 * international/uni-mirrored.el:
16337 * international/uni-name.el:
16338 * international/uni-numeric.el:
16339 * international/uni-old-name.el:
16340 * international/uni-titlecase.el:
16341 * international/uni-uppercase.el: Regenerate.
16342
16343 * loadup.el: Load international/charprop.el before
16344 international/characters.
16345
e14b388a
CY
163462011-07-07 Chong Yidong <cyd@stupidchicken.com>
16347
16348 * window.el (next-buffer, previous-buffer): Signal an error if
16349 called from a minibuffer window.
16350
16351 * bindings.el: Revert 2011-07-04 change.
16352
354cf0ba
RS
163532011-07-06 Richard Stallman <rms@gnu.org>
16354
16355 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16356 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16357 Treat markers like ints.
16358 (rmail-mime-entity): Doc fix.
16359
a48868a7
LMI
163602011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16361
4906cd3d
LMI
16362 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16363 defcustom again for backwards compatibility.
16364
e0457abe
LMI
16365 * simple.el (shell-command-on-region): Fill.
16366
d67f7e1f
LMI
16367 * dired-aux.el (dired-kill-line): Add a doc string.
16368
fe204702
LMI
16369 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16370 to "\\sw\\|\\s_" (bug#358).
16371
a48868a7
LMI
16372 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16373 (dired-unmark-backward): Ditto.
16374 (dired-flag-backup-files): Ditto.
16375
16376 * dired-x.el (dired-mark-sexp): Ditto.
16377
aa8a705c
RS
163782011-07-06 Richard Stallman <rms@gnu.org>
16379
16380 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16381 (rmail-mime-entity): New arg TRUNCATED.
16382 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16383 New functions.
16384 (rmail-mime-save): Warn if entity is truncated.
16385 (rmail-mime-toggle-hidden): Likewise, for showing.
16386 (rmail-mime-process-multipart): Record when an entity is truncated.
16387
a9a936b9
RS
16388 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16389 if ENTITY is a string.
16390
1f2b92cb
LMI
163912011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16392
f4f73198 16393 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16394 of faces when `M-C-x'-ing their definitions (bug#8378).
16395 Also clean up the code slightly.
f4f73198 16396
12b16734 16397 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16398 because that makes the colors go away.
12b16734 16399
f0691d22
LMI
16400 * mail/sendmail.el (send-mail-function): Change the default to
16401 `sendmail-query-once'.
9e87df06 16402 (sendmail-query-once): Add an autoload cookie.
f0691d22 16403
1f2b92cb
LMI
16404 * net/network-stream.el (network-stream-open-starttls): Try using
16405 a plain connection even if the server offered STARTTLS, and we
16406 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16407 capability. This should make smtpmail.el work in slightly more
16408 configurations.
16409
1cdd2a1b
MA
164102011-07-06 Michael Albinus <michael.albinus@gmx.de>
16411
16412 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16413 New defun.
16414 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16415
fbcc67e2
MM
164162011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16417
16418 * progmodes/sql.el: Version 3.0
0757af94 16419 (sql-product-alist): Add product :completion-object,
fbcc67e2 16420 :completion-column, and :statement attributes.
0757af94 16421 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16422 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16423 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16424 ansi keywords.
16425 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 16426 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
16427 (sql-oracle-show-reserved-words): New function for development.
16428 (sql-product-font-lock): Simplify for source code buffers.
16429 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16430 New functions.
16431 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
16432 (sql-mode-map): Add statement movement functions.
16433 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16434 New variable.
fbcc67e2
MM
16435 (sql-statement-regexp, sql-beginning-of-statement)
16436 (sql-end-of-statement, sql-signum): New functions.
0757af94 16437 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
16438 (sql-show-sqli-buffer): Bug fix.
16439 (sql-interactive-mode): Store connection data as buffer local.
0757af94 16440 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
16441 with sql-interactive-mode.
16442 (sql-save-connection): Save buffer local settings.
0757af94 16443 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
16444 (sql-product-interactive): Bug fix.
16445 (sql-preoutput-hold): New variable.
16446 (sql-interactive-remove-continuation-prompt): Bug fixes.
16447 (sql-debug-redirect): New variable.
16448 (sql-str-literal): New function.
16449 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 16450 Redesign.
fbcc67e2
MM
16451 (sql-oracle-save-settings, sql-oracle-restore-settings)
16452 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16453 (sql-completion-object, sql-completion-column)
16454 (sql-completion-sqlbuf): New variables.
16455 (sql-build-completions-1, sql-build-completions)
16456 (sql-try-completion): New functions.
16457 (sql-read-table-name): Use them.
16458 (sql-contains-names): New buffer local variable.
16459 (sql-list-all, sql-list-table): Use it.
16460 (sql-oracle-completion-types): New variable.
16461 (sql-oracle-completion-object, sql-sqlite-completion-object)
16462 (sql-postgres-completion-object): New functions.
16463
d4eaeab1
GM
164642011-07-06 Glenn Morris <rgm@gnu.org>
16465
16466 * window.el (pop-to-buffer): Doc fix.
16467
322b7dab 164682011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16469
16470 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16471
322b7dab 164722011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16473
322b7dab 16474 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16475
322b7dab 16476 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16477
605dd5bf
CY
164782011-07-05 Chong Yidong <cyd@stupidchicken.com>
16479
16480 * button.el (button): Inherit from link face. Suggested by Dan
16481 Nicolaescu.
16482
7dbfa719
SM
164832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16484
3db614b0
SM
16485 * progmodes/gdb-mi.el: Fit in 80 columns.
16486 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16487 switch-to-buffer.
16488
7dbfa719
SM
16489 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16490 if imenu is simply not configured (bug#8941).
16491
919d884a
KM
164922011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16493
16494 * allout.el (allout-post-undo-hook): New allout outline-change
16495 event hook to signal undo activity.
16496 (allout-post-command-business): Run allout-post-undo-hook if an
16497 undo just occurred.
7dbfa719
SM
16498 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16499 * allout-widgets.el (allout-widgets-after-undo-function):
16500 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16501 in the vicinity of an undo.
16502 (allout-widgets-mode): Include allout-widgets-after-undo-function
16503 on the new allout-post-undo-hook.
16504
450a0f09
SM
165052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16506
16507 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16508 Let define-derived-mode define it.
16509 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16510 cycles of abbrev-table inheritance (bug#8998).
16511
2de69e00
RW
165122011-07-05 Roland Winkler <winkler@gnu.org>
16513
16514 * textmodes/bibtex.el: Add support for biblatex.
16515 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16516 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16517 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16518 (bibtex-entry-alist, bibtex-field-alist): New variables.
16519 (bibtex-entry-field-alist): Obsolete alias for
16520 bibtex-BibTeX-entry-alist.
16521 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16522 (bibtex-set-dialect): New command.
16523 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16524 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16525 Bind via bibtex-set-dialect.
2de69e00
RW
16526 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16527 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16528 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16529 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16530 Define via bibtex-set-dialect.
450a0f09
SM
16531 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16532 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16533 (bibtex-vec-push, bibtex-vec-incr): New functions.
16534 (bibtex-format-entry, bibtex-field-list)
16535 (bibtex-print-help-message, bibtex-validate)
16536 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16537
2dcdbdd9
SM
165382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16539
16540 * progmodes/compile.el (compilation-goto-locus):
16541 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16542 * bs.el (bs-cycle-next, bs-cycle-previous):
16543 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16544 * bindings.el (mode-line-other-buffer):
16545 * autoinsert.el (auto-insert):
16546 * arc-mode.el (archive-extract):
16547 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16548
b27640fe
JB
165492011-07-05 Juanma Barranquero <lekktu@gmail.com>
16550
16551 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16552 Fix check of `emacs-lock-unlockable-modes'.
16553 Coerce true values of `emacs-lock--try-unlocking' to t.
16554
53bbe3ad
JB
165552011-07-05 Juanma Barranquero <lekktu@gmail.com>
16556
16557 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16558 * emacs-lock.el: New file.
16559
1d3cdbc7
JD
165602011-07-05 Julien Danjou <julien@danjou.info>
16561
16562 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16563 than `boundp' to check if face is set.
16564
9173deec
JB
165652011-07-05 Juanma Barranquero <lekktu@gmail.com>
16566
16567 * register.el (registerv-make):
16568 * window.el (window-min-height): Fix typos in docstrings.
16569
869795d6
JD
165702011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16571
9173deec 16572 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16573 Update doc string.
16574
b768cdcd
JB
165752011-07-04 Juanma Barranquero <lekktu@gmail.com>
16576
16577 * server.el (server-execute): Catch quit and call
16578 `server-return-error' to pass the error back to emacsclient and
16579 close the connection (bug#8942).
16580
13aa217b
KM
165812011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16582
16583 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16584 insecure exception for current topic. Also note that auto-saves
16585 are handled differently.
16586
5d3385a0 16587 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16588 State variables for tracking auto-save inhibition situation.
16589
16590 (allout-write-contents-hook-handler): Rename from
16591 'allout-write-file-hook-handler', and describe how it depends on
16592 write-contents-functions sensitivity to non-nil value to prevent
16593 file write.
16594
16595 (allout-auto-save-hook-handler): Remove. auto-save does not check
16596 this in individual buffers, only in the starting buffer, so this
16597 is not the right way for us to inhibit auto-save in a buffer
16598 according to its condition.
16599
16600 (allout-mode): Use new allout-write-contents-hook-handler, and
16601 only with write-contents-functions. Remove auto-save provisions -
16602 they're implemented elsewhere.
16603
16604 (allout-before-change-handler): If undo is in progress, note that
16605 for attention of allout-post-command-business.
16606
16607 (allout-post-command-business): If the command we're following was
16608 an undo, check for change in the status of encrypted items and
16609 adjust auto-save inhibitions accordingly.
16610
16611 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16612 according to whether there are or aren't any plain-text topics
16613 pending encryption.
16614
2dcdbdd9 16615 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16616 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16617 if there are plain-text topics pending encryption.
13aa217b
KM
16618
16619 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16620 buffer-saved-size and some allout state to not inhibit auto-saves
16621 if there are no longer any plain-text topics pending encryption.
16622
0757af94
SM
16623 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16624 No longer provide for exemption of the current topic.
13aa217b 16625
ac89b32c
JL
166262011-07-04 Juri Linkov <juri@jurta.org>
16627
16628 Add 7z operations to delete and save changed members (bug#8968).
16629 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16630 New defcustoms.
16631 (archive-7z-write-file-member): New function.
16632 (archive-7z-summarize): Fix the number of dashes in the
16633 listing output.
16634
8fa39615
SM
166352011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16636
16637 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16638 (bug#8958).
16639
2f11b3f1
CY
166402011-07-04 Chong Yidong <cyd@stupidchicken.com>
16641
d66fef2b
CY
16642 * bindings.el: Ignore next-buffer and previous-buffer in
16643 minibuffer-local-map.
16644
2f11b3f1
CY
16645 * font-lock.el (font-lock-builtin-face): Change light background
16646 color to dark slate blue (Bug#6693).
16647
f932a347
WD
166482011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16649
16650 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16651
c8af70e1
SM
166522011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16653
16654 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16655 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16656 Add switch-to-buffer.
16657
f158badc
LMI
166582011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16659
16660 * isearch.el (isearch-search-fun-function): Clarify further the
16661 meaning of the function returned.
16662
6d95bd46
MA
166632011-07-04 Michael Albinus <michael.albinus@gmx.de>
16664
16665 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16666
16667 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16668 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16669 Use it.
16670 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16671 `tramp-default-remote-path' does not exist.
16672 (tramp-send-command-and-read): New optional argument NOERROR.
16673 (tramp-open-connection-setup-interactive-shell)
16674 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16675 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16676 (tramp-process-sentinel): Flush also process' connection property.
16677 (tramp-sh-handle-start-file-process): Do not set process
16678 sentinel. It is done now ...
16679 (tramp-maybe-open-connection): ... here. (Bug#8929)
16680
909e6b67
MK
166812011-07-04 MON KEY <monkey@sandpframing.com>
16682
16683 * play/animate.el (animate-string): Doc fixes and allow changing
16684 the buffer name (bug#5417).
16685
166862011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16687
c8af70e1 16688 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16689
f34755dc
PE
166902011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16691
396cec72
PE
16692 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16693 This is simpler and helps future-proof the code.
16694 (timer-until): Use time-subtract and float-time.
08235028 16695 (timer--time-less-p): Use time-less-p.
f34755dc 16696
56e6cc31
JB
166972011-07-04 Juanma Barranquero <lekktu@gmail.com>
16698
3abb79e5
JB
16699 * type-break.el (timep): Use the value of `float-time' to avoid a
16700 byte-compiler warning.
16701
56e6cc31
JB
16702 * server.el (server-eval-and-print): Return any result, even nil.
16703
7b9430b4
PE
167042011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16705
16706 * type-break.el: Accept time formats that the builtins accept.
16707 (timep, type-break-time-difference): Accept any format that
16708 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16709 This is simpler and helps future-proof the code.
16710 (type-break-time-difference): Round rather than ignoring
16711 subseconds components.
16712
3034e9e7
LMI
167132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16714
16715 * info.el (Info-apropos-matches): Make non-interactive, since it
16716 doesn't seem to do anything useful as a command (bug#8829).
16717
1485f4c0
CY
167182011-07-03 Chong Yidong <cyd@stupidchicken.com>
16719
16720 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16721 Move from faces.el.
1485f4c0
CY
16722 (frame-default-terminal-background): New function.
16723
16724 * custom.el (custom-push-theme): Don't record faces in `changed'
16725 theme; this doesn't work correctly for per-frame face settings.
16726 (disable-theme): Use face-set-after-frame-default to reset faces.
16727 (custom--frame-color-default): New function.
16728
9fa3dd45
LMI
167292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16730
c8af70e1 16731 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16732 (bug#8769).
16733
6cbbc20c
KR
167342011-03-29 Kevin Ryde <user42@zip.com.au>
16735
16736 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16737 `perl-Test2' extend to match possible "fail #N" rep count
16738 (bug#8377).
16739
c7f98048
LMI
167402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16741
65676592
LMI
16742 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16743 `smtpmail-via-smtp' now returns the error instead of nil.
16744
c7f98048
LMI
16745 * isearch.el (isearch-search-fun-function): Clarify the doc string
16746 (bug#8101).
16747
56e6cc31 167482011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16749
16750 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16751 unnecessary spaces (bug#8987).
16752
2b216704
LMI
167532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16754
16755 * net/network-stream.el (open-network-stream): Use the
16756 :end-of-capability command thoughout.
16757
167582011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16759
16760 * net/network-stream.el (open-network-stream): Add the
16761 :end-of-capability command parameter, used by pop3.el.
16762
36adf6ce
LMI
167632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16764
1ca0da0e
LMI
16765 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16766
fc00f69c
LMI
16767 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16768 for list)" (bug#6475).
16769
28fd8759 16770 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16771 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16772 an error (bug#6297).
16773
0dd8b6da
LMI
16774 * man.el (Man-reference-regexp): Allow matching possible
16775 word-wrapped references (bug#6289).
16776
ce1438d6
LMI
16777 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16778 for consistency with the other vc buffers (bug#6197).
16779 (vc-checkin): Ditto.
16780
16781 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16782
36adf6ce
LMI
16783 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16784
e83cc1f7
LMI
167852011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16786
8a20ca4c
LMI
16787 * custom.el (defcustom): Clarify that :set is only used in the
16788 Customize user interface (bug#6089).
16789
83319045
LMI
16790 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16791 associated with a file, refuse to run instead of erroring out
16792 (bug#6084).
16793
a8392169
LMI
16794 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16795 the doc string, since it appears that using `fill-column' always
16796 controls the width (bug#7845).
16797
e83cc1f7
LMI
16798 * simple.el (shell-command-on-region): Say where the error output
16799 went if `shell-command-default-error-buffer' is set (bug#6857).
16800
e47ca23b
KM
168012011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16802
16803 * allout.el (allout-yank-processing): Adjust cursor position for
16804 backwards-deleted space.
16805
16806 (allout-rebullet-heading): Register changes with
16807 allout-exposure-changed-hook, so the modified topic is properly
16808 decorated.
16809
5cf56143
LMI
168102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16811
08549772
LMI
16812 * minibuffer.el (completion-in-region): Document PREDICATE
16813 (bug#7136).
16814
48e96771
LMI
16815 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16816 of keyword/argument pairs (bug#6904).
16817
c8af70e1
SM
16818 * replace.el (multi-occur):
16819 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16820
e17d05e2
LMI
168212011-07-02 Drew Adams <drew.adams@oracle.com>
16822
16823 * dired.el (dired-mark-if): Make the message about whether it's
16824 marking or unmarking clearer (bug#8523).
16825
063b0e45
LMI
168262011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16827
16828 * disp-table.el (display-table-print-array): New function.
16829 (describe-display-table): Use it to print the vectors more pretty
16830 (Bug#8859).
16831
28545e04
MR
168322011-07-02 Martin Rudalics <rudalics@gmx.at>
16833
16834 * window.el (window-state-get-1): Don't assign clone numbers.
16835 Add clone-of item to list of window parameters.
16836 (window-state-put-2): Don't process clone numbers.
16837 (display-buffer-alist): Fix doc-string.
16838
3349e122
SM
168392011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16840
16841 * subr.el (remq): Don't allocate if it's not needed.
16842 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16843 (keymap--merge-bindings): New functions.
16844 (keymap-canonicalize): Use them to refine the canonicalization.
16845 * minibuffer.el (minibuffer-local-completion-map)
16846 (minibuffer-local-must-match-map): Move initialization from C.
16847 (minibuffer-local-filename-completion-map): Move initialization from C;
16848 don't inherit from anything here.
16849 (minibuffer-local-filename-must-match-map): Make obsolete.
16850 (completing-read-default): Use make-composed-keymap to combine
16851 minibuffer-local-filename-completion-map with either
16852 minibuffer-local-must-match-map or
16853 minibuffer-local-filename-completion-map.
16854
d224ac83
GM
168552011-07-01 Glenn Morris <rgm@gnu.org>
16856
3de63bf8
GM
16857 * type-break.el (type-break-time-sum): Use dolist.
16858
d224ac83
GM
16859 * textmodes/flyspell.el (flyspell-word-search-backward):
16860 Replace CL function.
16861
1a1e3f32
SM
168622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16863
fe3f64d5
SM
16864 * mouse.el (mouse--strip-first-event): New function.
16865 (function-key-map): Use it to map fringe clicks to normal clicks
16866 by default.
16867
eb604e34
SM
16868 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16869 (vc-bzr-revision-completion-table): Add support for annotate and date.
16870
1a1e3f32
SM
16871 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16872 inherit from parent.
16873
5bd35902
LMI
168742011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16875
ace6c69c 16876 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16877 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16878
191e2bed
LMI
16879 * dired.el (dired-mode): Fix up the doc string as suggested by
16880 Drew Adams (bug#8817).
16881
5bd35902
LMI
16882 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16883 cookie, since the manual says that it should be possible to add
16884 this function to `find-file-hook' (bug#8709).
16885
eee8207a
TZ
168862011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16887
16888 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16889 here. Noted Ted Zlatanov as the maintainer.
16890 (cfengine-common-settings, cfengine-common-syntax): New functions
16891 to set up common things between `cfengine-mode' and
16892 `cfengine3-mode'.
16893 (cfengine3-mode): New mode.
16894 (cfengine3-defuns cfengine3-defuns-regex
16895 (cfengine3-class-selector-regex cfengine3-category-regex)
16896 (cfengine3-vartypes cfengine3-font-lock-keywords)
16897 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16898 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16899
36b148cf
MA
169002011-07-01 Michael Albinus <michael.albinus@gmx.de>
16901
16902 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16903
16904 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16905
0bf4ba9a
MR
169062011-07-01 Martin Rudalics <rudalics@gmx.at>
16907
16908 * window.el (same-window-buffer-names, same-window-regexps)
16909 (same-window-p, special-display-frame-alist)
16910 (special-display-popup-frame, special-display-function)
16911 (special-display-buffer-names, special-display-regexps)
16912 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16913 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16914 (split-window-preferred-function, split-height-threshold)
16915 (split-width-threshold, even-window-heights)
16916 (display-buffer-mark-dedicated, window-splittable-p)
16917 (split-window-sensibly, window-safely-shrinkable-p):
16918 Un-obsolete.
16919 (display-buffer): Don't spread args with function specifier
16920 because special-display-popup-frame won't like it.
16921
35837f51
PE
169222011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16923
d0672f86
PE
16924 Time-stamp simplifications and fixes.
16925 These improve accuracy slightly, and future-proof the code
16926 against some potential changes to current-time format.
16927
b9444d97
PE
16928 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16929 by using time-since and float-time.
16930
0ef923dc
PE
16931 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16932 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16933 + NNN microseconds".
16934
2f81380d
PE
16935 * type-break.el (type-break-time-sum): Rewrite using time-add.
16936
845b5c3e
PE
16937 * play/hanoi.el (hanoi-current-time-float): Remove.
16938 All uses replaced by float-time.
16939
ee6f1be0
PE
16940 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16941 This yields a more-accurate answer.
16942 (rng-time-to-float): Remove; no longer needed.
16943
fe955043
PE
16944 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16945
5777162a
PE
16946 * calendar/timeclock.el (timeclock-seconds-to-time):
16947 Defalias to seconds-to-time, since they're the same thing.
16948
3103f8b6 16949 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16950 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16951 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16952
0e61a35f
SM
169532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16954
16955 * window.el (bury-buffer): Don't iconify the only frame.
16956 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16957 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16958
ddd63a1e
CY
169592011-07-01 Chong Yidong <cyd@stupidchicken.com>
16960
0e61a35f
SM
16961 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16962 Add mouse-yank-primary.
ddd63a1e 16963
055f4923
TZ
169642011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16965
16966 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16967
6a2fb145
SM
169682011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16969
16970 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16971 (find-library-name): Use it to find relative load names when provided
16972 absolute file name (bug#8803).
16973
fd4983f2
LMI
169742011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16975
887d14ad
LMI
16976 * textmodes/flyspell.el (flyspell-word): Consider words that
16977 differ only in case as potential doublons (bug#5687).
16978
c53dc7fc
LMI
16979 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16980 Remove two rather uninteresting debugging-like messages to make
16981 debbugs.el more silent.
16982
fd4983f2
LMI
16983 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16984 a password-like phrase.
16985
7a71b18d 169862011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16987
16988 * progmodes/cc-guess.el: New file.
16989
6a2fb145 16990 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16991
16992 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16993 derived from `c-basic-common-init'.
16994
16995 * progmodes/cc-mode.el (top-level): Require cc-guess.
16996 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16997
1fa280a3
LM
169982011-06-30 Lawrence Mitchell <wence@gmx.li>
16999
17000 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17001
e6597158
AM
170022011-06-30 Alan Mackenzie <acm@muc.de>
17003
1fa280a3
LM
17004 * progmodes/cc-engine.el (c-guess-continued-construct):
17005 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
17006 lock is disabled. Name this case as "CASE G".
17007
68ba37fb
KM
170082011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17009
17010 * allout.el (allout-yank-processing): Fix injection of extra space
17011 between bullet and non-whitespace character in first topic when
17012 pasting, ensuring that the actual spacing in the pasted topic
17013 following the bullet char is preserved. This extra space was
17014 causing pasted encrypted topics to get a decrypted status even
17015 when the content was actually still encrypted. Now the decryption
17016 status from before the paste is preserved.
17017
17018 (allout-flag-region): Set all allout overlays so they evaporate
17019 when reduced to zero length (evanescent), to prevent overlay
17020 leakage.
17021
887a0b34
GM
170222011-06-30 Glenn Morris <rgm@gnu.org>
17023
94b9acce
GM
17024 * w32-fns.el (w32-charset-info-alist): Declare.
17025
1d9b46d4
GM
17026 * find-dired.el (find-grep-options): Simplify.
17027
cc232200
GM
17028 * term/ns-win.el (ns-set-resource): Declare.
17029
28e77c46
GM
17030 * ses.el (row, col): Declare dynamic variables honestly.
17031
887a0b34
GM
17032 * textmodes/reftex-parse.el (index-tags): Declare.
17033
658d8eb8
CY
170342011-06-30 Chong Yidong <cyd@stupidchicken.com>
17035
17036 * cus-edit.el (customize-push-and-save): New function.
17037
17038 * files.el (hack-local-variables-confirm): Use it.
17039
1fa280a3
LM
17040 * custom.el (load-theme): New arg NO-CONFIRM.
17041 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17042 (custom-enabled-themes): Doc fix.
17043
17044 * cus-theme.el (customize-create-theme)
17045 (custom-theme-merge-theme): Callers to load-theme changed.
17046
bb617717
LMI
170472011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17048
d61bdd5d
LMI
17049 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17050 short URLs have at least one dot in them (bug #7614).
17051
bb617717
LMI
17052 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17053 nil, because using a pty is apparently too slow (bug #895).
17054
2f31f37a
LMI
170552011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17056
17057 * mail/sendmail.el (sendmail-query-once): New function.
17058 (sendmail-query-once-function): New variable.
17059
3076b24e
GM
170602011-06-29 Glenn Morris <rgm@gnu.org>
17061
faf2a174
GM
17062 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17063
3076b24e
GM
17064 * ses.el (top-level): Require cl when compiling.
17065 (ses-set-localvars): Fix error statement.
17066 Call it at compile time to silence a storm of warnings.
17067
5386012d
MR
170682011-06-29 Martin Rudalics <rudalics@gmx.at>
17069
17070 * window.el (normalize-live-buffer): Rename to
17071 window-normalize-buffer.
17072 (normalize-live-frame): Rename to window-normalize-frame.
17073 (normalize-any-window): Rename to window-normalize-any-window.
17074 (normalize-live-window): Rename to window-normalize-live-window.
17075 (make-window-atom): Rename to window-make-atom.
17076 (window-resize-reset): Rename to window--resize-reset.
17077 (window-resize-reset-1): Rename to window--resize-reset-1.
17078 (resize-mini-window): Rename to window--resize-mini-window.
17079 (resize-subwindows-skip-p): Rename to
17080 window--resize-subwindows-skip-p.
17081 (resize-subwindows-normal): Rename to
17082 window--resize-subwindows-normal.
17083 (resize-subwindows): Rename to window--resize-subwindows.
17084 (resize-other-windows): Rename to window--resize-siblings.
17085 (resize-this-window): Rename to window--resize-this-window.
17086 (resize-root-window): Rename to window--resize-root-window.
17087 (resize-root-window-vertically): Rename to
17088 window--resize-root-window-vertically.
17089 (normalize-buffer-to-display): Rename to
17090 window-normalize-buffer-to-display.
17091 (normalize-buffer-to-switch-to): Rename to
17092 window-normalize-buffer-to-switch-to.
17093 Correspondingly update all callers of the functions listed
17094 above.
17095 (display-buffer-alist, display-buffer-normalize-arguments)
17096 (display-buffer-normalize-options, display-buffer)
17097 (display-buffer-alist-set): Use "function" instead of
17098 "fun-with-args".
17099
1176868d
CY
171002011-06-28 Chong Yidong <cyd@stupidchicken.com>
17101
17102 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17103 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17104 debbugs.gnu.org. Mention acknowledgment email.
17105
20a7a65f
LMI
171062011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17107
17108 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17109 buffer multibyteness, since it shouldn't matter.
17110
5f45cca5
MR
171112011-06-28 Martin Rudalics <rudalics@gmx.at>
17112
17113 * window.el (display-buffer-in-side-window): Handle dedicated
17114 windows as in display-buffer-reuse-window.
17115 (display-buffer-normalize-alist): Use value of override
17116 specifier.
17117 (display-buffer-normalize-specifiers): Use value of
17118 other-window-means-other-frame specifier.
17119 (display-buffer-alist): Rewrite some texts in widgets.
17120 (display-buffer): Spread arguments when calling function
17121 specified by fun-with-args.
17122
ad85fe1f
DD
171232011-06-28 Deniz Dogan <deniz@dogan.se>
17124
1fa280a3
LM
17125 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17126 Unnest `let'.
da68c4c8 17127
ad85fe1f
DD
17128 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17129 selectors (Bug#5732).
ec49bd31 17130 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17131
a08cc025
JA
171322011-06-27 Jari Aalto <jari.aalto@cante.net>
17133
17134 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17135 (eshell-ls-date-format): New defcustom.
17136 (eshell-ls-file): Use it.
17137
e2b551c5
SM
171382011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17139
17140 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17141
8982b231
KY
171422011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17143
17144 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17145 (ange-ftp-make-tmp-name): New arg.
17146 (ange-ftp-file-local-copy): Use it.
17147
36c9fa27
J
171482011-06-27 Jambunathan K <kjambunathan@gmail.com>
17149
17150 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17151 no-conversion (Bug#8870).
17152
d68443dc
MR
171532011-06-27 Martin Rudalics <rudalics@gmx.at>
17154
17155 * window.el (window-right, window-left, window-child)
17156 (window-child-count, window-last-child)
17157 (window-iso-combination-p, walk-window-tree-1)
17158 (window-atom-check-1, window-tree-1, delete-window)
17159 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17160 new naming conventions - window-vchild, window-hchild,
17161 window-next and window-prev are now called window-top-child,
17162 window-left-child, window-next-sibling and window-prev-sibling
17163 respectively.
d615d6d2
MR
17164 (resize-window-reset): Rename to window-resize-reset.
17165 (resize-window-reset-1): Rename to window-resize-reset-1.
17166 (resize-window): Rename to window-resize.
17167 (window-min-height, window-min-width)
17168 (resize-mini-window, resize-this-window, resize-root-window)
17169 (resize-root-window-vertically, adjust-window-trailing-edge)
17170 (enlarge-window, shrink-window, maximize-window)
17171 (minimize-window, delete-window, quit-restore-window)
17172 (split-window, balance-windows, balance-windows-area-adjust)
17173 (balance-windows-area, window-state-put-2)
17174 (display-buffer-even-window-sizes, display-buffer-set-height)
17175 (display-buffer-set-width, set-window-text-height)
17176 (fit-window-to-buffer): Rename all "resize-window" prefixed
17177 calls to use the "window-resize" prefix convention.
17178 (display-buffer-alist): Fix symbol for label specifier.
17179 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17180 corresponding specifier.
17181 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17182
b6458526
VB
171832011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17184
17185 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17186 convention.
17187 (ses-call-printer): Does not pass an empty string to formatter when the
17188 cell is empty to keep from barking printer Calc math-format-value.
17189
d31fd9ac
RS
171902011-06-27 Richard Stallman <rms@gnu.org>
17191
43d5bf84
RS
17192 * battery.el (battery-mode-line-limit): New variable.
17193 (battery-update): Handle it.
17194
d31fd9ac
RS
17195 * mail/rmailmm.el (rmail-mime-process-multipart):
17196 Handle truncated messages.
17197
819a6054
GM
171982011-06-27 Glenn Morris <rgm@gnu.org>
17199
17200 * progmodes/flymake.el (flymake-err-line-patterns):
17201 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17202
cedc73f2
VB
172032011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17204
819a6054 17205 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17206 (ses--clean-!, ses--clean-_): New functions.
17207 (ses-range): Add configurability of readout order, and conversion
17208 to Calc vector.
17209
5e5d49b6
VB
17210 * ses.el (ses-repair-cell-reference-all): New function.
17211 (ses-cell-symbol): Set macro as safe, so that it can be used in
17212 formulas.
17213
56e6cc31 17214 * ses.el: Update cycle detection algorithm.
90ca8b49 17215 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17216 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17217 (ses-set-localvars): New function.
17218 (ses-make-cell): Add property-list as a cell element.
17219 (ses-cell-property-get-fun, ses-cell-property-get)
17220 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17221 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17222 New functions.
90ca8b49
VB
17223 (ses-cell-property-set, ses-cell-property-pop)
17224 (ses-cell-property-get-handle): New macro.
17225 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17226 New aliases, used for code readability.
17227 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17228 cycle detection.
17229 (ses-self-reference-early-detection): New defcustom.
fac916bf 17230 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17231 (ses-mode): Use ses-set-localvars.
17232 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17233 before lauching the update processing.
17234 (ses-initialize-Dijkstra-attempt): New function.
17235 (ses-recalculate-cell): Update for cycle detection based on
17236 Dijkstra algorithm.
17237
2bb63e81
VB
17238 * ses.el: Fix commenting and indenting convention.
17239
c9d29fb8
SM
172402011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17241
17242 * bs.el (bs-cycle-next): Complete last change.
17243
d8e4b68b
JB
172442011-06-27 Drew Adams <drew.adams@oracle.com>
17245
17246 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17247
40098786
LMI
172482011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17249
c9d29fb8
SM
17250 * net/network-stream.el (network-stream-open-starttls):
17251 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17252 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17253
40098786
LMI
17254 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17255 to binary to possibly avoid line encoding issues on Windows (among
17256 other things).
17257
468d09d4
LMI
172582011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17259
17260 * net/network-stream.el (open-network-stream): Return an :error
17261 saying what the problem was, if possible.
17262
17263 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17264 server.
17265
17266 * net/network-stream.el (network-stream-open-starttls): If we
17267 wanted to use STARTTLS, and the server offered it, but we weren't
17268 able to because we had no STARTTLS support, then close the connection.
17269 (open-network-stream): Return an :error element, if present.
17270
16f07dd7
CY
172712011-06-26 Chong Yidong <cyd@stupidchicken.com>
17272
88821ca0
CY
17273 * hl-line.el (hl-line-sticky-flag): Doc fix.
17274 (global-hl-line-sticky-flag): New option (Bug#8323).
17275 (global-hl-line-highlight): Obey it.
17276
16f07dd7
CY
17277 * vc/vc.el (vc-revert-show-diff): Default to t.
17278
6b5ccddf
KM
172792011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17280
c9d29fb8
SM
17281 * allout-widgets.el (allout-widgets-post-command-business):
17282 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17283 undecorated when an isearch is continued past, and isearch
17284 automatically collapses them. This leads to "widget leaks", where
17285 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17286 hidden widgets can slow down cursor travel, substantially.
17287 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17288 so we're doing without this nicety.
17289
17290 (allout-widgets-tally-string): Don't try to do a hash-table-count
17291 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17292 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17293 *Messages* when allout-widgets-maintain-tally is t.
17294
355f2e07
MR
172952011-06-26 Martin Rudalics <rudalics@gmx.at>
17296
17297 * window.el (display-buffer-normalize-argument): Rename to
17298 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17299 LABEL argument. Respect special-display-function when popping up
17300 a new frame. Fix code searching for a window showing the buffer
17301 on another frame.
c9d29fb8
SM
17302 (display-buffer-normalize-specifiers):
17303 Call display-buffer-normalize-arguments.
355f2e07
MR
17304 (display-buffer-in-window): Don't undedicate the window if its
17305 buffer remains the same.
17306 Reported by Drew Adams <drew.adams@oracle.com>.
17307 (display-buffer-alist): Add choice for same-window macro
17308 specfier.
17309 (display-buffer): Mention special meaning of LABEL argument in
17310 doc-string. Fix quoting. Don't pop up a new frame even as
17311 fallback.
17312
7ca8fc42
JB
173132011-06-26 Juanma Barranquero <lekktu@gmail.com>
17314
17315 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17316 avoid deleting the current window in some cases (bug#8911).
17317
bc312254
AS
173182011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17319
17320 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17321 (Bug#8934)
17322
2db18f3f
LMI
173232011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17324
c9d29fb8
SM
17325 * net/network-stream.el (network-stream-open-starttls):
17326 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17327 (network-stream-open-tls): Ditto.
17328
6302e0d3
LL
173292011-06-26 Leo Liu <sdl.web@gmail.com>
17330
17331 * register.el (registerv): New struct.
17332 (registerv-make): New function.
c9d29fb8
SM
17333 (jump-to-register, describe-register-1, insert-register):
17334 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17335 struct. (Bug#8415)
17336
5fdd4046
CY
173372011-06-26 Chong Yidong <cyd@stupidchicken.com>
17338
2afef60a
CY
17339 * vc/vc.el (vc-revert-show-diff): New defcustom.
17340 (vc-diff-internal): New arg specifying diff buffer.
17341 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17342 reuse an existing *vc-diff* buffer (Bug#8927).
17343
5fdd4046
CY
17344 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17345
e93db24a
GM
173462011-06-26 Glenn Morris <rgm@gnu.org>
17347
17348 * progmodes/f90.el (f90-critical-indent): New option.
17349 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17350 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17351 (f90-mode): Doc fix.
17352 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17353 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17354 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17355 (f90-match-end): Handle block, critical.
17356
eefff499
GM
173572011-06-25 Glenn Morris <rgm@gnu.org>
17358
f6ba4cc9
GM
17359 * calendar/diary-lib.el (diary-included-files): Doc fix.
17360 (diary-include-files): New function, extracted from
17361 diary-include-other-diary-files and diary-mark-included-diary-files.
17362 (diary-include-other-diary-files, diary-mark-included-diary-files):
17363 Just call diary-include-files.
17364 (diary-mark-entries): Reset diary-included-files on first call.
17365
16712304
GM
17366 * calendar/diary-lib.el (diary-mark-entries)
17367 (diary-mark-included-diary-files):
17368 Visit included diary-files in temp buffers.
17369
5d8e0d43
GM
17370 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17371 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17372 (f90-start-block-re, f90-imenu-generic-expression)
17373 (f90-looking-at-program-block-start, f90-no-block-limit):
17374 Add support for submodules.
17375
ccf7a5d5
GM
17376 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17377 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17378
11fdef7d 173792011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17380
17381 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17382 buffer-file-type before setting its value, to avoid disastrous
eefff499 17383 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17384
74f53697
JB
173852011-06-25 Juanma Barranquero <lekktu@gmail.com>
17386
17387 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17388
17389 * ses.el (ses-unload-function):
17390 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17391
17392 * proced.el (proced-unload-function):
17393 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17394
18a4ce5e
AR
173952011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17396
17397 * server.el (server-create-window-system-frame): Add parameters arg.
17398 (server-process-filter): Doc fix. Handle frame-parameters.
17399
519d22cc
JB
174002011-06-25 Juanma Barranquero <lekktu@gmail.com>
17401
17402 Fix bug#8730, bug#8781.
17403
17404 * loadhist.el (unload--set-major-mode): New function.
17405 (unload-feature): Use it.
17406
17407 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17408 (python-unload-function): New function.
17409
c206f5b0
SM
174102011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17411
17412 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17413
f9ad64f3
GS
174142011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17415
17416 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17417 the candidates list.
17418
7d0da90e
JB
174192011-06-24 Juanma Barranquero <lekktu@gmail.com>
17420
17421 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17422
14b4e83d
RS
174232011-06-23 Richard Stallman <rms@gnu.org>
17424
17425 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17426 (rmail-variables): Set next-error-move-function.
17427 (rmail-what-message): Take argument POS.
17428 (rmail-next-error-move): New function.
17429
273d2baf
SM
174302011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17431
17432 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17433 messages for adjacent non-terminals.
17434
56c2cc9a
RS
174352011-06-23 Richard Stallman <rms@gnu.org>
17436
17437 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 17438 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
17439 (rmail-start-mail): Don't specify use of rmail-mail-return;
17440 that's done by mail-bury now.
17441 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 17442
d59eb518
MA
174432011-06-23 Michael Albinus <michael.albinus@gmx.de>
17444
17445 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17446 SIZE is a number.
17447
02cfc6d6
MR
174482011-06-23 Martin Rudalics <rudalics@gmx.at>
17449
17450 * window.el (get-lru-window, get-mru-window)
17451 (get-largest-window): Never return a minibuffer window.
17452 (display-buffer-pop-up-window): Fix a bug that could lead to
17453 reusing the minibuffer window.
17454 (display-buffer): Pass original specifier argument to
17455 display-buffer-function instead of the normalized one.
17456 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17457
4e323265
LL
174582011-06-22 Leo Liu <sdl.web@gmail.com>
17459
17460 * minibuffer.el (completing-read-function)
1f9f395d 17461 (completing-read-default): Move from minibuf.c.
4e323265 17462
7a70468f
RS
174632011-06-22 Richard Stallman <rms@gnu.org>
17464
50718fc2
RS
17465 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17466 to Rmail even if not started by a special Rmail command.
17467
7a70468f
RS
17468 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17469 Copy the buffer currently showing just one message.
17470
297dde5a
RW
174712011-06-22 Roland Winkler <winkler@gnu.org>
17472
17473 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17474 (bibtex-clean-entry): First delete the old key so that a
17475 customized algorithm for generating the new key does not get
17476 confused by the old key.
17477 (bibtex-url): Obey regexp of first step.
17478 (bibtex-search-entries): Do not use add-to-list with local
17479 list-var.
17480
97bb1093
LMI
174812011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17482
17483 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17484 stored a user name, then query for the password first, instead of
17485 waiting for SMTP to give an error message and the trying again.
17486
1c0f1a19
JD
174872011-06-22 Lawrence Mitchell <wence@gmx.li>
17488
17489 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17490 BUFFER in call-process.
17491
396f7c9d
LMI
174922011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17493
17494 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17495 QUIT twice.
ddb7ffee
LMI
17496 (smtpmail-try-auth-methods): Require user name and password from
17497 auth-source.
396f7c9d 17498
8998d1b3
MR
174992011-06-22 Martin Rudalics <rudalics@gmx.at>
17500
17501 * window.el (display-buffer-default-specifiers)
17502 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17503 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17504 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17505
17506 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17507 (special-display-frame-alist, special-display-popup-frame):
17508 Remove duplicate declarations. These are now in window.el.
17509
4ea31e07
LMI
175102011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17511
c9d29fb8
SM
17512 * mail/smtpmail.el (smtpmail-via-smtp):
17513 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17514 server supports it. SMTP servers that support STARTTLS commonly
17515 require it.
17516
17517 * net/network-stream.el (network-stream-open-starttls): Support
17518 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17519 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17520
95f41d9a
LMI
17521 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17522 upgrades with `open-network-stream', and rely solely on
17523 auth-source for all credentials. Big changes throughout the file,
17524 but in particular:
c9d29fb8
SM
17525 (smtpmail-auth-credentials): Remove.
17526 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17527 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17528 MAIL FROM, too.
95f41d9a 17529
c9d29fb8
SM
17530 * net/network-stream.el (network-stream-open-starttls):
17531 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17532 STARTTLS.
17533 (auth-source): Require.
17534 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17535 (network-stream-certificate): Change cert-cert to cert and
17536 cert-key to key.
4ea31e07 17537
065ec2c7
MA
175382011-06-21 Michael Albinus <michael.albinus@gmx.de>
17539
17540 * net/tramp-cache.el (top): Don't load the persistency file when
17541 "emacs -Q" has been called.
17542
cd93b359
DR
175432011-06-21 Tim Harper <timcharper@gmail.com>
17544
d8e4b68b
JB
17545 * term/ns-win.el (ns-initialize-window-system):
17546 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17547 resource to NO as it is not yet supported by the NS port.
17548
ae9c0411
JB
175492011-06-21 Juanma Barranquero <lekktu@gmail.com>
17550
17551 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17552 (list-dynamic-libraries): ...not here.
17553
7f3f739f
LL
175542011-06-21 Leo Liu <sdl.web@gmail.com>
17555
17556 * subr.el (sha1): Implement sha1 using secure-hash.
17557
327c8fb1
MR
175582011-06-21 Martin Rudalics <rudalics@gmx.at>
17559
17560 * window.el (display-buffer-alist): In default value do not
17561 enforce searching a window on any but the selected frame.
17562 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17563 (display-buffer-select-window): Remove function.
17564 (display-buffer-in-window): When a window on another frame gets
17565 reused, do not select it any more but just raise its frame if
17566 necessary (Bug#8851) and (Bug#8856).
17567 (display-buffer-normalize-options): Handle pop-up-frames related
17568 options more faithfully.
17569 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17570 window if it is on another frame.
c9d29fb8
SM
17571 (display-buffer-alist, display-buffer-default-specifiers):
17572 Don't make new frame unsplittable by default.
9e9de014
MR
17573 (display-buffer-normalize-argument): Fix doc-string typo and use
17574 'same-frame-other-window instead of 'other-window when associating
17575 with display-buffer-macro-specifiers.
327c8fb1 17576
7cf3f556
VB
175772011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17578
17579 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17580 New functions.
17581 (5x5-mode-map, 5x5-mode-menu): Bind them.
17582 (5x5-draw-grid): Tweak the solver's rendering.
17583
60a406cf
SM
175842011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17585
17586 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17587 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17588
d8e4b68b 175892011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17590
17591 * menu-bar.el: Use function variable instead of switch-to-buffer.
17592 (menu-bar-select-buffer-function): New variable.
60a406cf 17593 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17594
478d6f95
SM
175952011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17596
17597 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17598 variable's status.
17599
ca530739
JD
176002011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17601
17602 * x-dnd.el (x-dnd-version-from-flags)
17603 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17604 and long as number (Bug#8899).
17605 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17606
bcd70d97
SM
176072011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17608
60a406cf 17609 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17610 (completion-try-completion, completion-all-completions): Compute the
17611 metadata argument if it's missing; make it optional (bug#8795).
17612
60a406cf 17613 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17614 (widget-complete): Use new :completion-function property.
17615 (widget-completions-at-point): New function.
17616 (default): Use :completion-function instead of :complete.
60a406cf
SM
17617 (widget-default-completions): Rename from widget-default-complete;
17618 Rewrite.
bcd70d97
SM
17619 (widget-string-complete, widget-file-complete, widget-color-complete):
17620 Remove functions.
17621 (file, symbol, function, variable, coding-system, color):
17622 * international/mule-cmds.el (default-input-method, charset)
17623 (language-info-custom-alist):
17624 * cus-edit.el (face): Use new property :completions.
17625
17626 * progmodes/pascal.el (pascal-completions-at-point): New function.
17627 (pascal-mode): Use it.
17628 (pascal-mode-map): Use completion-at-point.
17629 (pascal-toggle-completions): Make obsolete.
17630 (pascal-complete-word, pascal-show-completions):
17631 * progmodes/octave-mod.el (octave-complete-symbol):
17632 Redefine as obsolete alias.
17633 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17634 Signal absence of completion info for old Octave,
17635 (inferior-octave-complete): Redefine as obsolete alias.
17636 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17637 (meta-completions-at-point): Rename from meta-complete-symbol and
17638 adapt it for use on completion-at-point-functions.
17639 (meta-common-mode): Use it.
17640 (meta-looking-at-backward, meta-match-buffer): Remove.
17641 (meta-complete-symbol): Redefine as obsolete alias.
17642 (meta-common-mode-map): Use completion-at-point.
17643 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17644 (makefile-mode-map): Use completion-at-point.
17645 (makefile-completions-at-point): Rename from makefile-complete and
17646 adapt it for use on completion-at-point-functions.
17647 (makefile-mode): Use it.
17648 (makefile-complete): Redefine as obsolete alias.
17649
aebf69c8
DD
176502011-06-20 Deniz Dogan <deniz@dogan.se>
17651
17652 * net/rcirc.el: Delete trailing whitespaces once and for all.
17653
bfbbb27d
DC
176542011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17655
17656 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17657
d264a46b
CY
176582011-06-19 Chong Yidong <cyd@stupidchicken.com>
17659
4ca009e5
CY
17660 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17661
d264a46b
CY
17662 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17663
fbf5b3ce
MR
176642011-06-19 Martin Rudalics <rudalics@gmx.at>
17665
17666 * window.el (display-buffer-other-window-means-other-frame):
17667 Call display-buffer-normalize-alist.
17668 (display-buffer-normalize-specifiers-1): Rename to
17669 display-buffer-normalize-argument. New argument other-frame.
17670 Rewrite.
17671 (display-buffer-normalize-specifiers-2): Rename to
17672 display-buffer-normalize-options.
17673 (display-buffer-normalize-alist-1): New function.
17674 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17675 display-buffer-normalize-alist.
17676 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17677 (display-buffer-normalize-options-inhibit): New variable.
17678 (display-buffer-normalize-specifiers): Rewrite calling
17679 display-buffer-normalize-alist,
17680 display-buffer-normalize-argument, and
17681 display-buffer-normalize-options. Don't call the latter if
17682 display-buffer-normalize-options-inhibit is non-nil.
17683 (frame-auto-delete): New option.
17684 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17685 (window-list-no-nils, window-state-ignored-parameters)
17686 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17687 (window-state-put-1, window-state-put-2, window-state-put):
17688 New functions.
9a028c23
MR
17689 (display-buffer-normalize-options): Move special-display-p group
17690 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17691
6d10d800
CY
176922011-06-18 Chong Yidong <cyd@stupidchicken.com>
17693
6420d28b
CY
17694 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17695 groups (Bug#8776).
17696 (rx-submatch-n): New function.
17697 (rx): Document it.
17698
ddb8b596
CY
17699 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17700 (Bug#8768).
17701
17702 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17703
77080289
CY
17704 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17705
61dfb316
CY
17706 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17707 anytime existing face settings are present (Bug#8889).
17708
6d10d800
CY
17709 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17710 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17711 Remove unused argument.
17712
be3fb2b8
MR
177132011-06-18 Martin Rudalics <rudalics@gmx.at>
17714
bcd70d97
SM
17715 * window.el (display-buffer-default-specifiers):
17716 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17717 pop-up-window-min-width, and another reuse-window specifier
17718 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17719 (display-buffer-normalize-specifiers-2):
17720 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17721 pop-up-windows is unset. Add a reuse-window specifier for the
17722 case popping up a new window fails.
17723 (special-display-popup-frame): Remove double quoting.
28dec25a 17724 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17725
1c6d8c76
SM
177262011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17727
17728 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17729 according to comint-completion-addsuffix.
17730
17731 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17732 (pcomplete-suffix-list): Mark as obsolete.
17733 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17734 pcomplete-seen in the closure.
17735 (pcomplete-comint-setup): Setup completion-at-point as well.
17736 (pcomplete--entries): New function.
17737 (pcomplete--env-regexp): New var.
17738 (pcomplete-entries): Rewrite to work with partial-completion and
17739 without relying on pcomplete-suffix-list.
17740 (pcomplete-pare-list): Remove, unused.
17741
25aef8b8
MR
177422011-06-17 Martin Rudalics <rudalics@gmx.at>
17743
17744 * window.el (display-buffer-alist): Set pop-up-window-min-height
17745 and pop-up-window-min-width in default value. Reported by
17746 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17747 other-window-means-other-frame.
17748 (display-buffer-macro-specifiers): Comment out entry for
17749 other-window specifier.
17750 (display-buffer-other-window-means-other-frame): New function.
17751 (display-buffer-normalize-specifiers-1): New arguments
17752 buffer-name and label. Treat other-window case specially.
17753 (display-buffer-normalize-specifiers-2): Treat other-window case
17754 specially.
17755 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17756 (display-buffer-normalize-specifiers):
17757 Call display-buffer-normalize-specifiers-3.
25aef8b8 17758
dbad4f69
MR
177592011-06-17 Martin Rudalics <rudalics@gmx.at>
17760
17761 * window.el (same-window-p): Fix two typos introduced when
17762 adding with-no-warnings.
d1067961
MR
17763 (display-buffer-normalize-specifiers-1): Don't check
17764 pop-up-frames for 'unset initialization.
17765 (display-buffer-normalize-specifiers-2): Major rewrite using
17766 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17767 (pop-up-frames, display-buffer-reuse-frames)
17768 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17769 Suggested by David Engster <deng@randomsample.de>.
17770 (even-window-heights): Initialize to 'unset.
17771 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17772 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17773 other window case.
dbad4f69 17774
9b9c9e3a
MR
177752011-06-16 Martin Rudalics <rudalics@gmx.at>
17776
bcd70d97
SM
17777 * window.el (display-buffer-normalize-specifiers-1):
17778 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17779 second argument of display-buffer (Bug#8865).
981d5c09
MR
17780 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17781 (switch-to-buffer-other-window-same-frame)
17782 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17783 Adams (Bug#8875).
9c2755e9
MR
17784 (display-buffer): Don't check noninteractive when calling
17785 display-buffer-pop-up-frame.
17786 (display-buffer-pop-up-frame): Never pop up a frame in
17787 noninteractive mode (Bug#8857).
67222e1d
MR
17788 (enlarge-window, shrink-window): Don't report an error when the
17789 window can't be resized as requested (Bug#8862).
9b9c9e3a 17790
2b75be67
SM
177912011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17792
9ffdd3ba
SM
17793 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17794
cb581a67
SM
17795 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17796
2b75be67
SM
17797 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17798
8c0e3589
AM
177992011-06-15 Alan Mackenzie <acm@muc.de>
17800
cb581a67
SM
17801 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17802 for declarators, disable knr checking to speed up for normal files.
17803 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17804
b96e6cde
LMI
178052011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17806
4bba86e6
LMI
17807 * net/network-stream.el (open-network-stream): Add the keyword
17808 :always-query-capabilities for the case where you want to force a
17809 `plain' network connection, but the protocol still requires the
17810 capabilitiy command (i.e., SMTP and EHLO).
17811
2b75be67 17812 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17813 consistency with other `-live-p' functions.
17814
efdcdbf8
SM
178152011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17816
17817 * window.el (same-window-buffer-names, same-window-regexps)
17818 (special-display-frame-alist, special-display-popup-frame)
17819 (special-display-function, special-display-buffer-names)
17820 (special-display-regexps, pop-up-frame-alist)
17821 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17822 (pop-up-windows, split-window-preferred-function)
17823 (split-height-threshold, split-width-threshold, even-window-heights)
17824 (display-buffer-mark-dedicated): Don't encourage the use of
17825 display-buffer-alist from Elisp code.
17826
c5cde042
DN
178272011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17828
17829 * progmodes/python.el (python-mode): Derive from prog-mode.
17830 * progmodes/ps-mode.el (ps-mode):
17831 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17832 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17833 * progmodes/ld-script.el (ld-script-mode): Likewise.
17834
baa1c9ab
MR
178352011-06-15 Martin Rudalics <rudalics@gmx.at>
17836
17837 * window.el (display-buffer-alist): Trim default value to avoid
17838 popping up a new frame (Bug#8857) or reusing an arbitrary window
17839 on another frame.
17840 (display-buffer): Do not fall back on popping up a new frame in
17841 batch mode (Bug#8857).
17842
c5dd5a51
CY
178432011-06-14 Chong Yidong <cyd@stupidchicken.com>
17844
17845 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17846 (custom-theme-summary): New function.
17847 (customize-themes): Use it.
17848
d647b7c4
GM
178492011-06-13 Glenn Morris <rgm@gnu.org>
17850
17851 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17852
9481c002
MR
178532011-06-13 Martin Rudalics <rudalics@gmx.at>
17854
357f93d2
MR
17855 * help.el (help-window): Remove variable.
17856 (help-window-point-marker, temp-buffer-max-height)
17857 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17858 (help-print-return-message): Don't set help-window.
17859 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17860 (help-window-setup-finish): Remove.
17861 (help-window-display-message, help-window-setup)
17862 (with-help-window): Major rewrite based on new
17863 display-buffer-window variable.
17864
17865 * help-mode.el (help-mode-finish): Remove help-window related
17866 code.
17867
17868 * view.el (view-exits-all-viewing-windows): Remove reference to
17869 view-return-to-alist in doc-string.
17870 (view-return-to-alist): Make obsolete.
17871 (view-buffer): Call pop-to-buffer-same-window and remove
17872 undo-window code.
17873 (view-buffer-other-window): Call pop-to-buffer-other-window and
17874 simplify code. Ignore second argument.
17875 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17876 simplify code. Ignore second argument.
17877 (view-return-to-alist-update): Make obsolete.
17878 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17879 Rewrite using quit-restore window parameters.
2b75be67
SM
17880 (view-mode-exit): Rename second argument to EXIT-ONLY.
17881 Rewrite using quit-restore-window.
357f93d2
MR
17882 (View-exit, View-exit-and-edit, View-leave, View-quit)
17883 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17884 appropriate arguments.
17885 (view-end-message): Use quit-restore window parameter.
17886
9481c002
MR
17887 * window.el (display-buffer-function): Rewrite doc-string.
17888 (display-buffer-window, display-buffer-alist): New variables.
17889 (display-buffer-split-specifiers)
17890 (display-buffer-side-specifiers)
17891 (display-buffer-macro-specifiers): New constants.
17892 (display-buffer-even-window-sizes, display-buffer-set-height)
17893 (display-buffer-set-width, display-buffer-select-window)
17894 (display-buffer-in-window, display-buffer-reuse-window)
17895 (display-buffer-split-window-1, display-buffer-split-window)
17896 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17897 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17898 (display-buffer-in-side-window, normalize-buffer-to-display)
17899 (display-buffer-normalize-specifiers-1)
17900 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17901 (display-buffer-normalize-specifiers, display-buffer-frame):
17902 New functions.
9481c002
MR
17903 (display-buffer): Major rewrite.
17904 (display-buffer-other-window, display-buffer-other-frame)
17905 (pop-to-buffer, switch-to-buffer-other-window)
17906 (switch-to-buffer-other-frame): Rewrite.
17907 (display-buffer-same-window, display-buffer-same-frame)
17908 (display-buffer-same-frame-other-window)
17909 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17910 (pop-to-buffer-other-window)
17911 (pop-to-buffer-same-frame-other-window)
17912 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17913 (switch-to-buffer-other-window-same-frame): New functions.
17914 (same-window-p, special-display-p): Rewrite disabling warnings.
17915 Make obsolete.
17916 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17917 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17918 Make obsolete
17919 (same-window-buffer-names, same-window-regexps)
17920 (special-display-frame-alist, special-display-popup-frame)
17921 (special-display-function, special-display-buffer-names)
17922 (special-display-regexps, pop-up-frame-alist)
17923 (pop-up-frame-function, split-window-preferred-function)
17924 (split-height-threshold, split-width-threshold)
17925 (even-window-heights): Make obsolete.
17926
9db51aca
GM
179272011-06-12 Glenn Morris <rgm@gnu.org>
17928
17929 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17930 Misc simplifications.
9db51aca 17931
39cffb44
MR
179322011-06-12 Martin Rudalics <rudalics@gmx.at>
17933
17934 * window.el (window-safely-shrinkable-p): Restore function which
17935 was inadvertently removed in change from 2011-06-11. Declare as
17936 obsolete.
17937
2b75be67
SM
17938 * calendar/calendar.el (calendar-generate-window):
17939 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17940 window-safely-shrinkable-p.
17941
a8955be7
GM
179422011-06-12 Glenn Morris <rgm@gnu.org>
17943
17944 * progmodes/fortran.el (fortran-mode-syntax-table):
17945 * progmodes/f90.el (f90-mode-syntax-table):
17946 Set % to punctuation. (Bug#8820)
17947 (f90-find-tag-default): Remove, no longer needed.
17948
f0d4059d
DC
179492011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17950
17951 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17952
1100a63c
CY
179532011-06-11 Chong Yidong <cyd@stupidchicken.com>
17954
17955 * image.el (image-animated-p): Return animation delay in seconds.
17956 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17957 (image-animate-timeout): Remove DELAY argument. Don't assume
17958 every subimage has the same delay; get it from image-animated-p.
17959 (image-animate): Caller changed.
17960
def722bf
MA
179612011-06-11 Michael Albinus <michael.albinus@gmx.de>
17962
17963 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17964 to ignored backtrace functions.
17965
0a2bb1a9
GM
179662011-06-11 Glenn Morris <rgm@gnu.org>
17967
17968 * calendar/appt.el (appt-disp-window-function): Doc fix.
17969 (appt-check): Handle overlapping appointments. (Bug#8337)
17970
6198ccd0
MR
179712011-06-11 Martin Rudalics <rudalics@gmx.at>
17972
17973 * window.el (window-tree-1, window-tree): New functions, moving
17974 the latter to window.el.
17975 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17976 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17977 (bw-refresh-edges): Remove.
17978 (balance-windows-1, balance-windows-2): New functions.
17979 (balance-windows): Rewrite in terms of window tree functions,
17980 balance-windows-1 and balance-windows-2.
17981 (bw-adjust-window): Remove.
17982 (balance-windows-area-adjust): New function with functionality of
17983 bw-adjust-window but using resize-window.
2b75be67
SM
17984 (set-window-text-height): Rewrite doc-string.
17985 Use normalize-live-window and resize-window.
17986 (enlarge-window-horizontally, shrink-window-horizontally):
17987 Rename argument to DELTA.
6198ccd0
MR
17988 (window-buffer-height): New function.
17989 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17990 Rewrite using new window resize routines.
2b75be67
SM
17991 (kill-buffer-and-window, mouse-autoselect-window-select):
17992 Use ignore-errors instead of condition-case.
6198ccd0
MR
17993 (quit-window): Call delete-frame instead of delete-windows-on
17994 for the only buffer on frame.
17995
9397e56f
MR
179962011-06-10 Martin Rudalics <rudalics@gmx.at>
17997
17998 * loadup.el (top-level): Load window before files for the sake
17999 of replace-buffer-in-windows.
18000
18001 * files.el (read-buffer-to-switch)
18002 (switch-to-buffer-other-window)
2b75be67
SM
18003 (switch-to-buffer-other-frame, display-buffer-other-frame):
18004 Move to window.el.
9397e56f
MR
18005
18006 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18007 (previous-buffer): Move to window.el.
18008
18009 * bindings.el (unbury-buffer): Move to window.el.
18010
18011 * window.el (delete-other-windows-vertically): Move after
18012 definition of delete-other-windows.
18013 (other-window, delete-windows-on, replace-buffer-in-windows):
18014 Move here from window.c.
18015 (record-window-buffer, unrecord-window-buffer)
18016 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18017 (switch-to-next-buffer): New functions.
18018 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18019 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18020 (previous-buffer): Move here from simple.el.
18021 Call switch-to-prev-buffer.
9397e56f
MR
18022 (bury-buffer): Move here from buffer.c. Switch to previous
18023 buffer when window cannot be deleted.
18024 (unbury-buffer): Move here from bindings.el.
18025 (ctl-x-map): Move binding for other-window from window.c to
18026 here.
18027 (read-buffer-to-switch, switch-to-buffer-other-window)
18028 (switch-to-buffer-other-frame): Move here from files.el.
18029 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18030 (switch-to-buffer): Move here from buffer.c.
18031 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18032
562dd5e9
MR
180332011-06-10 Martin Rudalics <rudalics@gmx.at>
18034
18035 * window.el (window-min-height, window-min-width): Move here
18036 from window.c. Add defcustoms and rewrite doc-strings.
18037 (resize-mini-window, resize-window): New functions.
18038 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18039 Move here from window.c.
18040 (maximize-window, minimize-window): New functions.
18041 (delete-window, delete-other-windows, split-window): Move here
18042 from window.c.
18043 (window-split-min-size): New function.
18044 (split-window-keep-point): Mention split-window-above-each-other
18045 instead of split-window-vertically.
2b75be67 18046 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18047 Rename split-window-vertically to split-window-above-each-other
18048 and provide defalias for old definition.
18049 (split-window-side-by-side, split-window-horizontally):
18050 Rename split-window-horizontally to split-window-side-by-side
18051 and provide defalias for the old definition.
562dd5e9
MR
18052 (ctl-x-map): Move bindings for delete-window,
18053 delete-other-windows and enlarge-window here from window.c.
18054 Replace bindings for split-window-vertically and
18055 split-window-horizontally by bindings for
18056 split-window-above-each-other and split-window-side-by-side.
18057
18058 * cus-start.el (all): Remove entries for window-min-height and
18059 window-min-width. Add entries for window-splits and
18060 window-nest.
18061
f0da764a
GM
180622011-06-09 Glenn Morris <rgm@gnu.org>
18063
80675c21
GM
18064 * calendar/appt.el (appt-mode-line): New function.
18065 (appt-check, appt-disp-window): Use it.
18066
f0da764a
GM
18067 * files.el (hack-one-local-variable-eval-safep):
18068 Allow minor-modes with explicit +/-1 arguments.
18069
59f623b7
TZ
180702011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18071
18072 * term/xterm.el (xterm): Add defgroup.
18073 (xterm-extra-capabilities): Add defcustom to supply known xterm
18074 capabilities, skip querying them, or query them (default).
18075 (terminal-init-xterm): Use it.
18076 (terminal-init-xterm-modify-other-keys): New function to set up
18077 modifyOtherKeys support to simplify `terminal-init-xterm'.
18078
9aab8e0d
MR
180792011-06-09 Martin Rudalics <rudalics@gmx.at>
18080
18081 * window.el (resize-window-reset, resize-window-reset-1)
18082 (resize-subwindows-skip-p, resize-subwindows-normal)
18083 (resize-subwindows, resize-other-windows, resize-this-window)
18084 (resize-root-window, resize-root-window-vertically)
18085 (window-deletable-p, window-or-subwindow-p)
18086 (frame-root-window-p): New functions.
18087
e8b08aee
GM
180882011-06-09 Glenn Morris <rgm@gnu.org>
18089
18090 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18091 (ange-ftp-get-files): Use it.
18092
254c37a5
AK
180932011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18094
18095 * mail/sendmail.el (mail-recover-1, mail-recover):
18096 * files.el (recover-file, recover-session):
18097 Handle dired-listing-switches not being just a single short option.
18098
35d7dbd3
GM
180992011-06-09 Glenn Morris <rgm@gnu.org>
18100
18101 * calendar/appt.el (appt-display-message, appt-disp-window):
18102 Handle lists of appointments.
18103
387522b2
MR
181042011-06-08 Martin Rudalics <rudalics@gmx.at>
18105
2b75be67
SM
18106 * window.el (one-window-p): Move down in code.
18107 Rewrite doc-string.
18108 (window-current-scroll-bars): Rewrite doc-string.
18109 Normalize live window argument.
387522b2
MR
18110 (walk-windows, get-window-with-predicate, count-windows):
18111 Rewrite doc-string. Use window-list-1.
18112 (window-in-direction-2, window-in-direction, get-mru-window):
18113 New functions.
18114
d8e4b68b 181152011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18116
18117 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18118 Doc fix (Bug#8713).
18119
181202011-06-08 Chong Yidong <cyd@stupidchicken.com>
18121
18122 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18123
181242011-06-08 Juanma Barranquero <lekktu@gmail.com>
18125
18126 * loadhist.el (unload-feature-special-hooks):
18127 Add `comint-output-filter-functions'.
18128
0de12c52
IK
181292011-06-08 Ivan Kanis <gnu@kanis.fr>
18130
18131 * calendar/appt.el (appt-check): Move some initializations into the let.
18132
f3d1777e
MR
181332011-06-08 Martin Rudalics <rudalics@gmx.at>
18134
18135 * window.el (window-height): Defalias to window-total-height.
18136 (window-width): Defalias to window-body-width.
18137
18af70d0
CY
181382011-06-07 Chong Yidong <cyd@stupidchicken.com>
18139
18140 * image-mode.el (image-toggle-animation): New command.
18141 (image-mode-map): Bind it to RET.
18142 (image-mode): Update message.
18143 (image-toggle-display-image): Avoid a spurious cache flush.
18144 (image-transform-rotation): Doc fix.
18145 (image-transform-properties): Return quickly in the normal case.
18146 (image-animate-loop): Rename from image-animate-max-time.
18147
2b75be67 18148 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18149 (create-animated-image): Remove unnecessary function.
18150 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18151 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18152 (image-animate-timer): Use car-safe.
18153 (image-animate-timeout): Rename argument.
18154
190b47e6
MR
181552011-06-07 Martin Rudalics <rudalics@gmx.at>
18156
18157 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18158 window.c. Rename first argument to ALL-FRAMES.
18159 Rephrase doc-strings.
18160 (get-buffer-window-list): Rewrite using window-list-1.
18161 Rephrase doc-string.
a1511caf
MR
18162 (window-safe-min-height, window-safe-min-width): New constants.
18163 (window-size-ignore, window-min-size, window-min-size-1)
18164 (window-sizable, window-sizable-p, window-size-fixed-1)
18165 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18166 (window-max-delta-1, window-max-delta, window-resizable)
18167 (window-resizable-p, window-total-height, window-total-width)
18168 (window-body-width): New functions.
18169 (window-full-height-p, window-full-width-p): Rewrite using
18170 window-total-size.
18171 (window-body-height): Rewrite using window-body-size.
190b47e6 18172
85cc1f11
MR
181732011-06-06 Martin Rudalics <rudalics@gmx.at>
18174
18175 * window.el (window-right, window-left, window-child)
18176 (window-child-count, window-last-child, window-any-p)
18177 (normalize-live-buffer, normalize-live-frame)
18178 (normalize-any-window, normalize-live-window)
18179 (window-iso-combination-p, window-iso-combined-p)
18180 (window-iso-combinations)
18181 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18182 (windows-with-parameter, window-with-parameter)
18183 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18184 (window-atom-check, window-side-check, window-check):
18185 New functions.
85cc1f11
MR
18186 (ignore-window-parameters, window-sides, window-sides-vertical)
18187 (window-sides-slots): New variables.
18188 (window-size-fixed): Move down in code. Minor doc-string fix.
18189
e7156492
AS
181902011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18191
18192 * comint.el (comint-dynamic-complete-as-filename)
18193 (comint-dynamic-complete-filename): Correctly call
18194 completion-in-region.
18195
7e821d0d
DD
181962011-06-05 Deniz Dogan <deniz@dogan.se>
18197
18198 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18199 in last change.
18200
ac09b8a1
DD
182012011-06-05 Deniz Dogan <deniz@dogan.se>
18202
18203 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18204 (rcirc): Use it to prompt for encryption.
18205
34699b85
RW
182062011-06-05 Roland Winkler <winkler@gnu.org>
18207
18208 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18209 (bibtex-search-entries): New command bound to C-c C-a.
18210 (bibtex-display-entries): New function.
18211
004dedd3
RW
182122011-06-05 Roland Winkler <winkler@gnu.org>
18213
18214 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18215 (bibtex-insert-kill): After yanking insert newline if necessary.
18216 (bibtex-initialize): Call bibtex-string-files-init only once.
18217 (bibtex-mode): Do not call easy-menu-add.
18218 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18219 (bibtex-yank): Set arg properly if nil.
18220
022fe7ce
RW
182212011-06-05 Roland Winkler <winkler@gnu.org>
18222
2b75be67
SM
18223 * textmodes/bibtex.el (bibtex-search-entry-globally):
18224 New variable.
022fe7ce
RW
18225 (bibtex-search-entry): Use it.
18226
b7c3692a
RW
182272011-06-05 Roland Winkler <winkler@gnu.org>
18228
18229 * textmodes/bibtex.el (bibtex-entry-format): New option
18230 sort-fields.
18231 (bibtex-format-entry, bibtex-reformat): Honor this option.
18232 (bibtex-parse-entry): Return fields in proper order.
18233
8eda563d
JB
182342011-06-05 Juanma Barranquero <lekktu@gmail.com>
18235
18236 * doc-view.el (doc-view-remove-if): Move computation of result out
18237 of `dolist' to silence misleading lexical-binding warning.
18238
7dbe3dbc
CY
182392011-06-04 Chong Yidong <cyd@stupidchicken.com>
18240
18241 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18242 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18243
0c33dd17
MA
182442011-06-04 Michael Albinus <michael.albinus@gmx.de>
18245
18246 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18247 "SunOS 5.10".
18248
f8f91c2b
MA
182492011-06-04 Michael Albinus <michael.albinus@gmx.de>
18250
18251 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18252 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18253 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18254 (tramp-parse-putty):
18255 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18256 (tramp-completion-function-alist-ssh)
18257 (tramp-completion-function-alist-telnet)
18258 (tramp-completion-function-alist-su)
18259 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18260 cookie.
18261
18262 * net/tramp-ftp.el:
18263 * net/tramp-sh.el:
18264 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18265 load "tramp.el" `tramp-set-completion-function'.
18266
e17d9003
SM
182672011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18268
18269 * shell.el: Require and use pcomplete.
18270 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18271 (shell-completion-vars): Set pcomplete-default-completion-function.
18272
6c4cab03
DD
182732011-06-04 Deniz Dogan <deniz@dogan.se>
18274
18275 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18276 `memq' (Bug#8799).
18277
ea9fafe0
SM
182782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18279
18280 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18281
b3e945d3
JB
182822011-06-02 Juanma Barranquero <lekktu@gmail.com>
18283
18284 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18285 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18286 * vc/log-view.el (log-view-beginning-of-defun):
18287 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18288 (smerge-refine-forward, smerge-refine-chopup-region):
18289 Silence warning for unused `dotimes' counter variables.
18290
7d520089
SM
182912011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18292
18293 * net/tramp.el (tramp-with-progress-reporter): Rename from
18294 with-progress-reporter. Use `declare'.
18295 * net/tramp-smb.el:
18296 * net/tramp-sh.el:
18297 * net/tramp-gvfs.el: Update all uses.
18298
a1c2400f
JB
182992011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18300
18301 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18302 buffer isn't killed before making it current.
18303
2403c841
SM
183042011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18305
18306 Silence various byte-compiler warnings.
18307 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18308 `access-type' and new obsolescence format.
18309 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18310 new format.
18311 (byte-compile-check-variable): New `access-type' argument.
18312 Only warn if the access-type is obsolete.
18313 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18314 (byte-compile-variable-set): Adjust callers.
18315 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18316 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18317 setting it as obsolete.
18318 * simple.el (minibuffer-completing-symbol):
18319 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18320 access as obsolete.
18321 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18322 obsolete yet.
18323 * international/quail.el (quail-mouse-choose-completion): Remove unused
18324 code referring to obsolete var.
18325 (quail-choose-completion-string): Remove.
18326 * server.el (server-clients-with, server-kill-buffer-query-function)
18327 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18328 * proced.el (proced-send-signal):
18329 * emacs-lisp/lisp.el (lisp-complete-symbol):
18330 Replace completion-annotate-function with completion-extra-properties.
18331
2462470b
SM
183322011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18333
fb5b2591
SM
18334 * simple.el (goto-line): Use read-number.
18335 (overriding-map-is-bound): Remove.
18336 (saved-overriding-map): Change default.
18337 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18338 Take the map as argument.
18339 (universal-argument, negative-argument, digit-argument): Use it.
18340 (restore-overriding-map): Adjust.
18341 (do-auto-fill): Use fill-forward-paragraph.
18342 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18343
fd6fa53f
SM
18344 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18345 (minibuffer-inactive-mode): New major mode.
18346 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18347 the *Messages* buffer" hack.
18348 (mouse-popup-menubar): Don't burp if the event is a normal key.
18349
2462470b
SM
18350 Miscellaneous tweaks.
18351 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18352 lexical scoping as in subr.el's dolist and dotimes.
18353 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18354 Silence compiler warning.
18355 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18356 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18357 * international/ccl.el (ccl-compile): Trivial simplification.
18358 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18359 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18360 `printflag' argument.
18361 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18362 Purecopy the whole obsolescence data.
18363
108bf785
LL
183642011-06-01 Leo Liu <sdl.web@gmail.com>
18365
18366 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18367 improve doc-string as suggested by Marco Pessotto
18368 <melmothx@gmail.com>.
18369 (rcirc-print): Fix last change.
18370
30a23501
SM
183712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18372
18373 * minibuffer.el (complete-with-action): Return nil for the metadata and
18374 boundaries of non-functional tables.
18375 (completion-table-dynamic): Return nil for the metadata.
18376 (completion-table-with-terminator): Add default case, using
18377 complete-with-action.
18378 (completion--metadata): New function.
18379 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18380 to try and avoid pathological performance problems.
18381 (completion--embedded-envvar-table): Return `category' metadata.
18382
bcd54f83
LMI
183832011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18384
18385 * subr.el (process-alive-p): New tiny convenience function.
18386
e227544d
SM
183872011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18388
18389 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18390 content but also its previous major mode.
18391
e8296fdc
HE
183922011-05-31 Helmut Eller <eller.helmut@gmail.com>
18393
4d61f28d 18394 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18395 *Backtrace* buffer when we exit with C-M-c.
18396
620c53a6
SM
183972011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18398
18399 * minibuffer.el: Add metadata method to completion tables.
18400 (completion-category-overrides): New defcustom.
18401 (completion-metadata, completion--field-metadata)
18402 (completion-metadata-get, completion--styles)
18403 (completion--cycle-threshold): New functions.
18404 (completion-try-completion, completion-all-completions):
18405 Add `metadata' argument to choose completion-styles.
18406 (completion--do-completion): Use metadata to choose cycling.
18407 (completion-all-sorted-completions): Use metadata for sorting.
18408 Remove :completion-cycle-penalty which is not needed any more.
18409 (completion--try-word-completion): Add `metadata' argument.
18410 (minibuffer-completion-help): Check metadata for annotation function
18411 and sorting.
18412 (completion-file-name-table): Return `category' metadata.
18413 (minibuffer-completing-file-name): Make obsolete.
18414 * simple.el (minibuffer-completing-symbol): Make obsolete.
18415 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18416 completion-try-completion.
18417
1257e755
SM
184182011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18419
18420 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18421
3767e706
LL
184222011-05-30 Leo Liu <sdl.web@gmail.com>
18423
18424 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18425 (rcirc-print): Decode all incoming messages (bug#8744).
18426 (rcirc-decode-coding-system): Allow value nil for automatic coding
18427 system detection.
3767e706 18428
d1a5d56a
GM
184292011-06-01 Glenn Morris <rgm@gnu.org>
18430
18431 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18432
e8cbec34
CY
184332011-05-29 Chong Yidong <cyd@stupidchicken.com>
18434
18435 * image.el (image-animate-max-time): Allow nil and t values.
18436 Default to nil.
18437 (create-animated-image): Doc fix.
18438 (image-animate-start): Remove second arg; just use
18439 image-animate-max-time.
18440 (image-animate-timeout): Doc fix. Args changed.
18441
18442 * image-mode.el (image-toggle-display-image): Ensure that the
18443 image spec passed to the animate timer is the same object as in
58179cce 18444 the buffer's display property (Bug#6981).
e8cbec34
CY
18445 (image-transform-properties): Doc fix.
18446
18447 * image.el (image-animate-max-time): Default to nil.
18448
159daf87
MR
184492011-05-29 Martin Rudalics <rudalics@gmx.at>
18450
18451 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18452 entire buffer list (Bug#8184).
18453
d66c4c7c
CY
184542011-05-29 Chong Yidong <cyd@stupidchicken.com>
18455
18456 * image.el (imagemagick-types-inhibit)
18457 (imagemagick-register-types): Doc fix.
18458
80aec780
DD
184592011-05-29 Deniz Dogan <deniz@dogan.se>
18460
18461 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18462 default.
18463
1dd3c2d9
CY
184642011-05-29 Chong Yidong <cyd@stupidchicken.com>
18465
18466 * select.el: Don't perform clipboard-manager saving in hooks;
18467 leave the hooks empty.
18468
60e56523
LL
184692011-05-28 Leo Liu <sdl.web@gmail.com>
18470
18471 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18472 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18473 (occur-edit-mode): New major mode (Bug#8463).
18474 (occur-after-change-function): New function.
18475 (occur-engine): Give Occur tags a read-only property.
18476
2b1e1a22
KR
184772011-05-28 Kevin Ryde <user42@zip.com.au>
18478
18479 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18480
5d344e88
CY
184812011-05-28 Chong Yidong <cyd@stupidchicken.com>
18482
8e6ca83d
CY
18483 * bindings.el (help-echo): Make the initial non-indicator dash
18484 empty on graphical terminals (Bug#7295).
18485
5d344e88
CY
18486 * files.el (auto-mode-alist): Move config rule after the
18487 in-stripping one (Bug#8547).
18488
bfbbace7
CY
18489 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18490
fbeba6e2
CY
18491 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18492 setting (Bug#8740).
18493
60ed8c72
AA
184942011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18495
4ac619f0
AA
18496 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18497 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18498 (Bug#8539).
60ed8c72 18499
23db196e
CY
185002011-05-28 Chong Yidong <cyd@stupidchicken.com>
18501
18502 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18503
5012f24c
DK
185042011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18505
18506 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18507 (hs-hide-block-at-point, hs-find-block-beginning)
18508 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18509 (Bug#8279).
18510
6a639b16
GM
185112011-05-28 Glenn Morris <rgm@gnu.org>
18512
18513 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18514
d43eaf2c
CY
185152011-05-28 Chong Yidong <cyd@stupidchicken.com>
18516
5199bde1
CY
18517 * help-fns.el (describe-function-1): If the function is a derived
18518 major mode, print the parent mode.
18519
d43eaf2c
CY
18520 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18521 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18522
423428a8
SM
185232011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18524
0ff8e1ba 18525 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18526 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18527 * progmodes/etags.el (tags-completion-at-point-function):
18528 * info-look.el (info-lookup-completions-at-point): Mark as
18529 non-exclusive.
18530 (info-complete): Adjust accordingly.
18531
423428a8
SM
18532 * info-look.el: Convert to lexical-binding and completion-at-point.
18533 (info-lookup-completions-at-point): New function.
18534 (info-complete): Use it and completion-in-region.
18535
b74aa22b
DA
185362011-05-28 Drew Adams <drew.adams@oracle.com>
18537
18538 * isearch.el: Let M-e start with point at the first mismatched char.
18539 (isearch-fail-pos): New function.
18540 (isearch-edit-string): Use it.
18541
66e2e71d
DK
185422011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18543
18544 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18545
b1890b0f 185462011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18547
18548 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18549 traversal functions for avl-trees.
18550 (avl-tree--stack): New struct.
18551 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18552 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18553 (avl-tree--do-enter): Add optional `updatefun' arg.
18554 Change return value.
eb95d01d 18555 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18556 (avl-tree--do-delete): Add `test' and `nilflag' args.
18557 Change return value.
eb95d01d
TC
18558 (avl-tree-member): Add optional `nilflag'
18559 (avl-tree-member-p): New function.
18560 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18561 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18562 (avl-tree-stack-empty-p): New functions.
18563
3769ddcf
TC
18564 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18565 avl-tree--del-balance1 and make it work both ways.
18566 (avl-tree--del-balance2): Remove.
18567 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18568 make it work both ways.
18569 (avl-tree--enter-balance2): Remove.
18570 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18571 New macros.
18572 (avl-tree--mapc, avl-tree-map): Add direction argument.
18573
eb95d01d 185742011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18575
18576 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18577
a9f737ee
CY
185782011-05-27 Chong Yidong <cyd@stupidchicken.com>
18579
18580 * select.el: Support clipboard managers with built-in function
18581 x-clipboard-manager-save, via delete-frame-functions and
18582 kill-emacs-hook.
18583 (xselect-convert-to-targets): Add MULTIPLE target to list.
18584 (xselect-convert-to-save-targets): New function.
18585
c92a1e54
KH
185862011-05-27 Kenichi Handa <handa@m17n.org>
18587
18588 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18589 let-binding rfc2047-encode-encoded-words to nil.
18590
e145f188
GM
185912011-05-27 Glenn Morris <rgm@gnu.org>
18592
5ec8a862
GM
18593 * mail/emacsbug.el: Don't require url-util.
18594
4b29d9fb
GM
18595 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18596
e145f188
GM
18597 * files.el (set-auto-mode):
18598 Also respect mode: entries at the end of the file. (Bug#8586)
18599
7d15102b
GM
186002011-05-26 Glenn Morris <rgm@gnu.org>
18601
98f593b8
GM
18602 * files.el (hack-local-variables-prop-line, hack-local-variables):
18603 Downcase mode names, as seems to be traditional.
27b48e63 18604 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18605
7d15102b
GM
18606 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18607 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18608
51d5b4ec
JD
186092011-05-25 Julien Danjou <julien@danjou.info>
18610
18611 * textmodes/rst.el (rst-define-level-faces): Do not define face
18612 symbol if it is already defined.
18613
91513f63
VB
186142011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18615
18616 * play/5x5.el (5x5-new-game, 5x5-randomize):
18617 Reset 5x5-solver-output to nil when a new grid is cast.
18618 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18619 these debugging traces, as defmacro breaks the compiled code.
18620
4d90d6d0
DK
186212011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18622
18623 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18624
e1b90ef6
LL
186252011-05-24 Leo Liu <sdl.web@gmail.com>
18626
18627 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18628 (vc-bzr-sha1): Adapt.
18629
d8e4b68b 18630 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18631
18632 * bindings.el: Provide sha1 feature.
18633
db0406bb 186342011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18635
18636 * mail/sendmail.el: Require `rfc2047'.
18637 (mail-insert-from-field): Do not perform RFC2047 encoding.
18638 (mail-encode-header): New function.
18639 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18640 buffer to the return value of select-message-coding-system.
18641 Call mail-encode-header.
b8d747b9
KH
18642
18643 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18644
db0406bb 186452011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18646
4d90d6d0
DK
18647 * mail/supercite.el (sc-default-cite-frame):
18648 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18649
eb8a5e9b
GM
186502011-05-24 Glenn Morris <rgm@gnu.org>
18651
f8630703
GM
18652 * progmodes/python.el (brm-menu): Declare.
18653
8831bbed
GM
18654 * emulation/viper.el (viper-set-hooks): Declare.
18655
eb8a5e9b
GM
18656 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18657 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18658 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18659 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18660 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18661 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18662
a2a25d24
SM
186632011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18664
18665 Add an :exit-function for completion-at-point.
18666
18667 * minibuffer.el (completion--done): New fun.
18668 (completion--do-completion): Use it. New arg `expect-exact'.
18669 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18670 since completion--do-completion does it for us now.
18671 (minibuffer-force-complete): Use completion--done and
18672 completion--replace. Handle sole-completion case with more care.
18673 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18674 (completion-extra-properties): New var.
18675 (completion-annotate-function): Make obsolete.
18676 (minibuffer-completion-help): Adjust accordingly.
18677 Use completion-list-insert-choice-function.
18678 (completion-at-point, completion-help-at-point):
18679 Bind completion-extra-properties.
18680 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18681 * simple.el (completion-list-insert-choice-function): New var.
18682 (completion-setup-function): Preserve it.
18683 (choose-completion): Pay attention to it, shuffle the code a bit.
18684 (choose-completion-string): New arg `insert-function'.
18685
18686 * textmodes/bibtex.el: Convert to lexical binding.
18687 (bibtex-mode-map): Use completion-at-point.
18688 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18689 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18690 (bibtex-complete): Define as obsolete alias.
18691 (bibtex-complete-internal): Remove.
18692 (bibtex-format-entry): Remove unused sub-group in regexp.
18693 * shell.el (shell--command-completion-data)
18694 (shell-environment-variable-completion):
18695 * pcomplete.el (pcomplete-completions-at-point):
18696 * comint.el (comint--complete-file-name-data): Use :exit-function
18697 instead of completion-table-with-terminator so it also works for
18698 choose-completion.
18699
e44e373d
SM
187002011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18701
4f91a816
SM
18702 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18703
782fc819
SM
18704 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18705 (bug#8710).
18706
e44e373d
SM
18707 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18708
381987c3
KM
187092011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18710
18711 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18712 customization variable and implement: If non-nil, auto-fill will
18713 be inhibited while on topic's header line.
18714
b776bc70
VB
187152011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18716
18717 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18718 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18719 always have a solution in grid size = 5 cases.
18720 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18721 (5x5-solver-output, 5x5-log-buffer): New vars.
18722 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18723 Make these variables buffer local to achieve 5x5 multi-session-ness.
18724 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18725 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18726 (5x5-solve-suggest): New funs.
18727 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18728 randomize a grid so that we ensure that there is always a solution.
18729 (5x5-make-random-grid): Allow other movement than flipping.
18730
7de88b6e
KR
187312011-05-23 Kevin Ryde <user42@zip.com.au>
18732
18733 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18734 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18735 advice and passes PREDICATE.
18736
b1ef1257
SM
187372011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18738
bbca48fe
SM
18739 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18740 byte-compile-lambda if it's actually a lambda.
18741
b1ef1257
SM
18742 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18743 Fix function quoting. Use backquote better.
18744
92a9cc65
YS
187452011-05-22 Yuanle Song <sylecn@gmail.com>
18746
18747 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18748 matching (Bug#8516).
18749
f0fb8059
JA
187502011-01-22 Jari Aalto <jari.aalto@cante.net>
18751
18752 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18753 different face (Bug#8178).
18754
d5b44c93
CY
187552011-05-22 Chong Yidong <cyd@stupidchicken.com>
18756
18757 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18758 defface (Bug#8144).
18759
79106a44
SM
187602011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18761
9c848d8a
SM
18762 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18763 funcall as well (bug#8712). Warn when performing those conversions.
18764 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18765
79106a44
SM
18766 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18767
88dfa756
GM
187682011-05-22 Glenn Morris <rgm@gnu.org>
18769
18770 * files.el (hack-local-variables-prop-line): Small simplifications.
18771 (hack-local-variables, hack-local-variables-prop-line):
18772 If MODE-ONLY, return the mode, rather than just `t'.
18773
b7cf2c79
SM
187742011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18775
18776 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18777
3f1a8558
GM
187782011-05-21 Glenn Morris <rgm@gnu.org>
18779
7e4ccca3
GM
18780 * files.el (hack-local-variables-prop-line, hack-local-variables):
18781 If only interested in the mode, don't bother doing the other stuff.
18782
637d46ca
GM
18783 * image-mode.el (image-after-revert-hook):
18784 Redraw all frames on which the image is visible. (Bug#8567)
18785
973d955b
GM
18786 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18787
3f1a8558
GM
18788 * wid-edit.el (widget-checklist-match-inline):
18789 Fix 2011-04-19 change. (Bug#8649)
18790
96479927
SM
187912011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18792
1dcf791f
SM
18793 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18794 Also allow singlespace after single-letter capitals followed by a dot.
18795
96479927
SM
18796 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18797 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18798
35fd0881
N
187992011-05-20 Nix <nix@esperi.org.uk>
18800
18801 * files.el (basic-save-buffer-2):
18802 Fix handling of break-hardlink-on-save with non-existent files.
18803
82745640
DD
188042011-05-19 Deniz Dogan <deniz@dogan.se>
18805
18806 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18807 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18808
4a720484
GM
188092011-05-19 Glenn Morris <rgm@gnu.org>
18810
d1f21341
GM
18811 * progmodes/f90.el (f90-type-def-re):
18812 Handle "type, bind(c)". (Bug#8691)
18813
4a720484
GM
18814 * emacs-lisp/autoload.el (batch-update-autoloads):
18815 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18816
2fb0a219
MA
188172011-05-18 Michael Albinus <michael.albinus@gmx.de>
18818
18819 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18820 property for the correct connection in case of multihops.
18821
e565dd37
GM
188222011-05-18 Glenn Morris <rgm@gnu.org>
18823
c2571358 18824 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18825 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18826
e565dd37
GM
18827 Rationalize calendar handling of day and month abbrev-arrays.
18828 * calendar/calendar.el (calendar-customized-p): New function.
18829 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18830 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18831 Add :set function.
18832 (calendar-abbrev-length, calendar-day-abbrev-array)
18833 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18834 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18835 Elements may no longer be nil.
18836 (calendar-day-name, calendar-month-name):
18837 Update for changed nature of abbrev arrays.
18838 * calendar/diary-lib.el (diary-name-pattern):
18839 Update for changed nature of abbrev arrays.
18840 (diary-mark-entries-1): Update calendar-make-alist calls.
18841 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18842 * calendar/cal-html.el (cal-html-day-abbrev-array):
18843 Simply inherit from calendar-day-abbrev-array.
18844
1d99a745
SM
188452011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18846
18847 * progmodes/grep.el (grep-mode): Disable default
18848 compilation-directory-matcher setting (bug#8684).
18849
7c1d9aa0
MA
188502011-05-17 Michael Albinus <michael.albinus@gmx.de>
18851
18852 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18853 instead of "head" and "tail". There were problems with SunOS 5.9,
18854 and it performs better.
18855
3952e9d8
GM
188562011-05-17 Glenn Morris <rgm@gnu.org>
18857
2dd12e7f
GM
18858 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18859
e4157b9c
GM
18860 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18861 Replace obsolete function.
18862
8e249bbd
GM
18863 * shell.el (pcomplete-parse-arguments-function): Declare.
18864
3952e9d8
GM
18865 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18866 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18867 (appt-check): Doc fixes.
18868 (appt-disp-window-function, appt-delete-window-function):
18869 Remove needless special case in custom :type.
18870 (appt-display-count): Default to 0, not nil.
18871 (appt-check): Reset appt-display-count to 0, not nil.
18872
c71a0d48 188732011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18874
c71a0d48
GM
18875 * progmodes/python.el (python-font-lock-keywords):
18876 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18877
31d55be9
SM
188782011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18879
18880 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18881
3bfacb2f
KR
188822011-05-16 Kevin Ryde <user42@zip.com.au>
18883
18884 * info-look.el (makefile-automake-mode): New setups, looking in
18885 automake manual, then makefile-mode.
18886 (makefile-mode): Remove automake manual, have it just in
18887 makefile-automake-mode since there's various things different or
18888 not relevant to plain make.
18889 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18890 believe a hypothetical automake-mode would go to makefile-mode,
18891 not the other way around.
18892
c8e83751
CY
188932011-05-15 Chong Yidong <cyd@stupidchicken.com>
18894
5e9e35cd
CY
18895 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18896 hunk-end tags (Bug#8672).
18897
c8e83751
CY
18898 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18899 vc-annotate-show-diff-revision-at-line (Bug#8671).
18900
50b23e5a
GM
189012011-05-14 Glenn Morris <rgm@gnu.org>
18902
7210a739
GM
18903 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18904 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18905 (change-log-font-lock-keywords): Also handle multiple author lines
18906 with leading tabs. (Bug#8644)
7210a739 18907
4691905a
GM
18908 * calendar/appt.el (appt-check): Rename some local variables.
18909 Some simplification/reordering.
18910
50b23e5a
GM
18911 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18912 (feedmail-sendmail-f-doesnt-sell-me-out)
18913 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18914 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18915 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18916 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18917 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18918 (feedmail-binmail-gnulinuxish-template):
18919 Rename from feedmail-binmail-linuxish-template.
18920 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18921 Use insert-buffer-substring.
18922
215cda7c
BC
189232011-05-14 Bill Carpenter <bill@carpenter.org>
18924
18925 * mail/feedmail.el (feedmail-patch-level): Increase.
18926 (feedmail-debug): New custom group.
18927 (feedmail-confirm-outgoing-timeout)
18928 (feedmail-sendmail-f-doesnt-sell-me-out)
18929 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18930 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18931 (feedmail-sender-line, feedmail-from-line)
18932 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18933 (feedmail-spray-this-address)
215cda7c
BC
18934 (feedmail-spray-address-fiddle-plex-list)
18935 (feedmail-queue-use-send-time-for-date)
18936 (feedmail-queue-use-send-time-for-message-id)
18937 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18938 (feedmail-buffer-eating-function):
18939 Doc fixes.
18940 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18941 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18942 (feedmail-message-action-scroll-down): New functions.
18943 (feedmail-queue-directory, feedmail-queue-draft-directory):
18944 Use expand-file-name.
18945 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18946 Remove C-v help entry.
18947 (feedmail-queue-buffer-file-name): New variable.
18948 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18949 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18950 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18951 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18952 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18953 (feedmail-message-action-toggle-spray)
18954 (feedmail-run-the-queue-no-prompts)
18955 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18956 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18957 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18958 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18959 (feedmail-envelope-deducer, feedmail-fiddle-from)
18960 (feedmail-fiddle-sender, feedmail-default-date-generator)
18961 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18962 (feedmail-fiddle-spray-address)
18963 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18964 (feedmail-fiddle-list-of-fiddle-plexes)
18965 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18966 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18967 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18968 Change default. Doc fix.
18969 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18970 (feedmail-binmail-linuxish-template): New constant.
18971 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18972 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18973 (feedmail-send-it): Add debug call.
18974 Use feedmail-queue-buffer-file-name, and
18975 feedmail-send-it-immediately-wrapper.
18976 (feedmail-message-action-send): Add debug call.
18977 Use feedmail-send-it-immediately-wrapper.
18978 (feedmail-queue-express-to-queue): Add debug call.
18979 Run feedmail-queue-express-hook.
18980 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18981 (feedmail-message-action-help-blat):
18982 Rename from feedmail-queue-send-edit-prompt-help-first.
18983 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18984 Check line-endings. Handle errors better.
18985 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18986 Doc fix. Add debug call.
18987 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18988 Use feedmail-queue-send-edit-prompt-inner.
18989 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18990 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18991 from feedmail-queue-send-edit-prompt.
18992 (feedmail-queue-send-edit-prompt-help)
18993 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18994 (feedmail-tidy-up-slug): Add debug call.
18995 Respect feedmail-queue-slug-suspect-regexp.
18996 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18997 (feedmail-dump-message-to-queue): Add debug call.
18998 Expand queue-directory.
18999 (feedmail-dump-message-to-queue): Change message slightly.
19000 Use feedmail-say-chatter.
19001 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19002 (feedmail-send-it-immediately-wrapper): New function.
19003 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19004 Insert empty string rather than newline. Handle full-frame case.
19005 Use catch/throw. Use feedmail-say-chatter.
19006 (feedmail-fiddle-from): Try mail-host-address.
19007 (feedmail-default-message-id-generator): Doc fix.
19008 Bind system-time-locale. Handle missing end.
19009 (feedmail-fiddle-x-mailer): Add debug call.
19010 Handle feedmail-x-mailer-line being nil.
19011 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19012 Add debug call. Use buffer-substring-no-properties.
19013 (feedmail-say-debug, feedmail-say-chatter): New functions.
19014 (feedmail-find-eoh): Give an explicit error.
19015
42c7e61e
UJ
190162011-05-13 Ulf Jasper <ulf.jasper@web.de>
19017
c2571358 19018 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19019 family from helvetica to sans.
c2571358 19020 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19021 etc/images/newsticker.
19022
c2571358 19023 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19024 family from helvetica to sans.
19025
19026 * net/newst-plainview.el (newsticker-new-item-face)
19027 (newsticker-old-item-face, newsticker-immortal-item-face)
19028 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19029 (newsticker-statistics-face): Change default family from
42c7e61e 19030 helvetica to sans.
c2571358 19031 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19032 etc/images/newsticker.
19033
5d3385a0
JB
19034 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19035 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19036 auto-marking.
19037
8497a297
DV
190382011-05-13 Didier Verna <didier@xemacs.org>
19039
19040 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19041 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19042 TODO entries.
8497a297
DV
19043 (lisp-lambda-list-keyword-parameter-indentation)
19044 (lisp-lambda-list-keyword-parameter-alignment)
19045 (lisp-lambda-list-keyword-alignment): New customizable user options.
19046 (lisp-indent-defun-method): Improve docstring.
19047 (extended-loop-p): Fix comment.
19048 (lisp-indent-lambda-list-keywords-regexp): New variable.
19049 (lisp-indent-lambda-list): New function.
19050 (lisp-indent-259): Use it.
19051 (lisp-indent-defmethod): Support for more than one
19052 method qualifier and properly indent methods lambda-lists.
19053 (defgeneric): Provide a missing common-lisp-indent-function property.
19054
f278f87f
SM
190552011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19056
19057 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19058 bounds for the empty string (bug#8667).
19059
5233edd7
GM
190602011-05-13 Glenn Morris <rgm@gnu.org>
19061
5237a44f
GM
19062 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19063
8340026c 19064 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19065 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19066
5233edd7 19067 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19068 (appt-time-msg-list): Doc fix.
a5464014 19069 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19070
92d10796
AS
190712011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19072
19073 * progmodes/ld-script.el (ld-script-keywords)
19074 (ld-script-builtins): Update keywords list.
19075
914a0ae1
SM
190762011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19077
c89be45f
SM
19078 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19079
914a0ae1
SM
19080 * shell.el (shell-completion-vars): New function.
19081 (shell-mode):
19082 * simple.el (read-shell-command): Use it.
19083 (blink-matching-open): No need for " [...]" in minibuffer-message.
19084
98dc3df3
GM
190852011-05-12 Glenn Morris <rgm@gnu.org>
19086
19087 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19088 (appt-check): Simplify.
19089
d2fc7e3d 190902011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19091
4d61f28d 19092 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19093 literal "/dev/null".
19094
d2fc7e3d 190952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19096
19097 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19098 Fix typo.
19099
d2fc7e3d 191002011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19101
3f254caa
SM
19102 * progmodes/which-func.el (which-function):
19103 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19104 which might not be defined (Bug#8260).
19105
d45885f7
GM
191062011-05-12 Glenn Morris <rgm@gnu.org>
19107
19108 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19109 Let byte-compile-initial-macro-environment always take precedence.
19110
488086f4
SM
191112011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19112
19113 * net/rcirc.el: Add support for SSL/TLS connections.
19114 (rcirc-server-alist): New field `encryption'.
19115 (rcirc): Check `encryption' settings.
19116 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19117 Merge make-local-variable into `set'.
19118 (rcirc--connection-open-p): New function.
19119 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19120 the process is not a network process (e.g. running gnutls-cli).
19121 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19122 Make rcirc-(en|de)code-coding-system local here.
19123 (rcirc-mode): Merge make-local-variable into `set'.
19124 (rcirc-parent-buffer): Make permanent buffer-local.
19125 (rcirc-multiline-minor-mode): Don't do it here.
19126 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19127 there's no server buffer.
19128
7d3b9d44
GM
191292011-05-11 Glenn Morris <rgm@gnu.org>
19130
f64049c6
GM
19131 * newcomment.el (comment-kill): Prefix "unused" local.
19132
93c9df73
GM
19133 * term/w32console.el (get-screen-color): Declare.
19134
7d3b9d44
GM
19135 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19136 Handle symbol elements of byte-compile-initial-macro-environment.
19137
9e2dd53f
LL
191382011-05-10 Leo Liu <sdl.web@gmail.com>
19139
488086f4
SM
19140 * bookmark.el (bookmark-bmenu-mode-map):
19141 Bind bookmark-bmenu-search to `/'.
8b340240 19142
9e2dd53f 19143 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19144 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19145 (Footnote-unicode): New function.
19146 (footnote-style-alist): Add unicode style to the list.
19147 (footnote-style): Doc fix.
9e2dd53f 19148
79b70037
GM
191492011-05-10 Jim Meyering <meyering@redhat.com>
19150
19151 Fix doubled-word typos.
19152 * international/quail.el (quail-insert-kbd-layout): and and -> and
19153 * kermit.el: and and -> and
19154 * net/ldap.el (ldap-search-internal): to to -> to
19155 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19156 * progmodes/js.el (js-mode): and and -> and
19157 * textmodes/artist.el (artist-move-to-xy): at at -> at
19158 (artist-draw-region-trim-line-endings): if if -> if
19159 And Safetyc -> Safety.
19160 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19161
b8f82dc1 191622011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19163 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19164
19165 * files.el (hack-one-local-variable-eval-safep):
19166 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19167
4f99f44b
GM
191682011-05-10 Glenn Morris <rgm@gnu.org>
19169
19170 * calendar/diary-lib.el (diary-list-entries-hook)
19171 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19172 (diary-nongregorian-marking-hook, diary-list-entries)
19173 (diary-include-other-diary-files, diary-mark-entries)
19174 (diary-mark-included-diary-files): Doc fixes.
19175
84f29e6b
JB
191762011-05-09 Juanma Barranquero <lekktu@gmail.com>
19177
19178 * misc.el: Require tabulated-list.el during compilation.
19179
9bedd73a
CY
191802011-05-09 Chong Yidong <cyd@stupidchicken.com>
19181
488086f4
SM
19182 * progmodes/compile.el (compilation-start):
19183 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19184 (compilation-filter-hook): Doc fix.
19185
797c735c
DD
191862011-05-09 Deniz Dogan <deniz@dogan.se>
19187
19188 * wdired.el: Remove outdated installation comment. Fix usage
19189 comment.
19190
5f4b1dfe
JB
191912011-05-09 Juanma Barranquero <lekktu@gmail.com>
19192
19193 * misc.el: Implement new command `list-dynamic-libraries'.
19194 (list-dynamic-libraries--loaded-only-p): New variable.
19195 (list-dynamic-libraries--refresh): New function.
19196 (list-dynamic-libraries): New command.
19197
4c44026c
CY
191982011-05-09 Chong Yidong <cyd@stupidchicken.com>
19199
488086f4
SM
19200 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19201 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19202 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19203 higher priority to avoid clobbering by gnu.
19204
027f966d
CY
192052011-05-08 Chong Yidong <cyd@stupidchicken.com>
19206
19207 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19208 if the face has existing theme settings (Bug#8454).
19209
085f5d7d
CY
192102011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19211
488086f4
SM
19212 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19213 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19214
2a86a00c
RS
19215 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19216 special file names `.' and `..' (Bug#8259).
19217
d9c54a06
CY
192182011-05-08 Chong Yidong <cyd@stupidchicken.com>
19219
488086f4
SM
19220 * progmodes/grep.el (grep-mode-font-lock-keywords):
19221 Remove buffer-changing entries.
d9c54a06
CY
19222 (grep-filter): New function.
19223 (grep-mode): Add it to compilation-filter-hook.
19224
19225 * progmodes/compile.el (compilation-filter-hook)
19226 (compilation-filter-start): New defvars.
19227 (compilation-filter): Call compilation-filter-hook prior to
19228 updating the process mark.
19229
c4662635
SM
192302011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19231
19232 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19233
b0512a1d
EZ
192342011-05-07 Eli Zaretskii <eliz@gnu.org>
19235
605c9376
EZ
19236 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19237 mailclient-send-it even if window-system is nil. (Bug#8595)
19238
c4662635
SM
19239 * term/w32console.el (terminal-init-w32console):
19240 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19241 background-mode. (Bug#8597)
19242
d1dc2cc2
SM
192432011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19244
19245 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19246 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19247 New functions.
19248 (defgeneric, eieio--defmethod): Use them.
19249 (eieio-defgeneric): Remove.
19250 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19251
915d1300
GM
192522011-05-07 Glenn Morris <rgm@gnu.org>
19253
a3961c3e
GM
19254 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19255 Use let rather than let*.
19256 (timeclock-find-discrep): Remove unused local.
19257
314347b9
GM
19258 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19259
915d1300
GM
19260 * calendar/appt.el (appt-time-msg-list): Doc fix.
19261
275b59b0
NF
192622011-05-06 Noah Friedman <friedman@splode.com>
19263
19264 * apropos.el (apropos-print-doc): Only use
19265 emacs-lisp-docstring-fill-column when it is bound to an integer,
19266 per that variable's documentation.
19267
6c19f744
SM
192682011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19269
19270 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19271 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19272
60f884b2
GM
192732011-05-06 Glenn Morris <rgm@gnu.org>
19274
5006e634
GM
19275 * calendar/appt.el (appt-message-warning-time): Doc fix.
19276 (appt-warning-time-regexp): New option.
19277 (appt-make-list): Respect appt-message-warning-time.
19278
548d0a63
GM
19279 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19280 New options.
19281 (diary-add-to-list): Strip comments from the displayed string.
19282 (diary-mode): Set comment-start and comment-end.
19283
60f884b2
GM
19284 * vc/diff-mode.el (smerge-refine-subst): Declare.
19285 (diff-refine-hunk): Don't require smerge-mode when compiling.
19286
989681bb
JB
192872011-05-06 Juanma Barranquero <lekktu@gmail.com>
19288
19289 * simple.el (list-processes): Return nil as the docstring says.
19290
a6bc05e1
MA
192912011-05-05 Michael Albinus <michael.albinus@gmx.de>
19292
19293 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19294 to "".
19295 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19296 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19297 determining of binary transfer. (Bug#7383)
19298
23c22e9a
MA
192992011-05-05 Michael Albinus <michael.albinus@gmx.de>
19300
c4662635
SM
19301 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19302 Fix port computation bug. (Bug#8618)
23c22e9a 19303
0bff894f
GM
193042011-05-05 Glenn Morris <rgm@gnu.org>
19305
b8296902
GM
19306 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19307
1f522ce8
GM
19308 * simple.el (shell-dynamic-complete-functions)
19309 (comint-dynamic-complete-functions): Declare.
19310
cf5bee67
GM
19311 * net/network-stream.el (gnutls-negotiate):
19312 * simple.el (tabulated-list-print): Fix declarations.
19313
19314 * progmodes/gud.el (syntax-symbol, syntax-point):
19315 Remove unnecessary and incorrect declarations.
19316
0bff894f 19317 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19318 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19319
9869b3ae
SM
193202011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19321
19322 Fix earlier half-done eieio-defmethod change (bug#8338).
19323 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19324 Streamline and change calling convention.
19325 (defmethod): Adjust accordingly and simplify.
19326 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19327 new eieio--defmethod.
19328 (slot-boundp): Minor CSE simplification.
19329
9c1d5ac5
MZ
193302011-05-05 Milan Zamazal <pdm@zamazal.org>
19331
19332 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19333 (glasses-make-readable): Use glasses-separate-capital-groups.
19334
455c834e
JB
193352011-05-05 Juanma Barranquero <lekktu@gmail.com>
19336
19337 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19338 (warning-series): Doc fix.
19339 (display-warning): Don't try to create the buffer if we just found it.
19340
9ed7c8cb
CY
193412011-05-04 Chong Yidong <cyd@stupidchicken.com>
19342
19343 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19344 (autoload-find-generated-file): New function.
19345 (generate-file-autoloads): Bind generated-autoload-file to
19346 buffer-file-name.
9869b3ae
SM
19347 (update-file-autoloads, update-directory-autoloads):
19348 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19349 output file (Bug#7989).
19350 (batch-update-autoloads): Doc fix.
19351
0898ca10
JB
193522011-05-04 Juanma Barranquero <lekktu@gmail.com>
19353
19354 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19355
31dfb76c
GM
193562011-05-04 Glenn Morris <rgm@gnu.org>
19357
f330b642
GM
19358 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19359 function, so it follows changes in calendar-date-style.
19360 (diary-fancy-date-matcher): New function.
19361 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19362 (diary-fancy-font-lock-fontify-region-function):
19363 Use diary-fancy-date-pattern as a function.
19364
31dfb76c
GM
19365 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19366 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19367
48e79d6a
TZ
193682011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19369
19370 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19371 instead of positional arguments. Allow :keylist and :crlfiles
19372 arguments.
19373 (open-gnutls-stream): Call it.
19374
19375 * net/network-stream.el (network-stream-open-starttls): Adjust to
19376 call `gnutls-negotiate' with :process and :hostname arguments.
19377
dd5a5ee0
SM
193782011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19379
ef80fc09
SM
19380 * minibuffer.el (completion--message): New function.
19381 (completion--do-completion, minibuffer-complete)
19382 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19383 (completion--do-completion): Don't ignore completion-auto-help when in
19384 icomplete-mode.
19385
dd5a5ee0
SM
19386 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19387 internal encoding (e.g. tibetan zero is not whitespace).
19388 (global-whitespace-mode): Prefer save-current-buffer.
19389 (whitespace-trailing-regexp): Remove useless save-match-data.
19390 (whitespace-empty-at-bob-regexp): Minor simplification.
19391
b7d22a83
CY
193922011-05-03 Chong Yidong <cyd@stupidchicken.com>
19393
19394 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19395
5192af46
AM
193962011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19397
19398 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19399 Use `concat' to create string for insertion.
5192af46 19400
5767d190
SM
194012011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19402
19403 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19404 Avoid open-line which runs post-self-insert-hook.
19405 (bibtex-fill-entry): Remove unused `end' var.
19406
bf242939
AM
194072011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19408
5767d190
SM
19409 * textmodes/ispell.el (ispell-add-per-file-word-list):
19410 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19411
25666126
LL
194122011-05-03 Leo Liu <sdl.web@gmail.com>
19413
19414 * isearch.el (isearch-yank-pop): New command.
5767d190 19415 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19416 (isearch-forward): Mention it.
19417
52d3c2d0
SM
194182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19419
1bcace58
SM
19420 * simple.el (minibuffer-complete-shell-command): Remove.
19421 (minibuffer-local-shell-command-map): Use completion-at-point.
19422 (read-shell-command): Setup completion vars here instead.
19423 (read-expression-map): Bind TAB to symbol completion.
19424
52d3c2d0
SM
19425 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19426 error directly rather via storing it into `results'.
19427
35813471
LL
194282011-05-02 Leo Liu <sdl.web@gmail.com>
19429
19430 * vc/diff.el: Fix description.
19431
e793a940
LMI
194322011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19433
19434 * server.el (server-eval-at): New function.
19435
8de66e05
LMI
194362011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19437
19438 * net/network-stream.el (open-network-stream): Take a :nowait
19439 parameter and pass it on to `make-network-process'.
19440 (network-stream-open-plain): Ditto.
19441
dcb79f20
AS
194422011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19443
19444 * faces.el (face-spec-set-match-display): Don't match toolkit
19445 options on terminal frames.
19446
14a7fbd8
SM
194472011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19448
7eabc1be
SM
19449 * progmodes/pascal.el: Use lexical binding.
19450 (pascal-mode-map): Remove author preferences.
19451
14a7fbd8
SM
19452 * pcomplete.el (pcomplete-std-complete): Don't abuse
19453 completion-at-point.
19454
50f84510
JB
194552011-04-28 Juanma Barranquero <lekktu@gmail.com>
19456
6e087a44
JB
19457 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19458 removing code that has been dead since 1991 or so.
19459
50f84510
JB
19460 * startup.el (command-line): When warning about "_emacs", use a
19461 delayed warning to allow the user to filter it out.
19462
0ba690bd
DD
194632011-04-28 Deniz Dogan <deniz@dogan.se>
19464
19465 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19466 user has not joined.
19467
08abfaad
SM
194682011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19469
19470 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19471 aren't any completions at point.
19472
638f053a
JB
194732011-04-28 Juanma Barranquero <lekktu@gmail.com>
19474
19475 * subr.el (display-delayed-warnings): New function.
19476 (delayed-warnings-hook): New variable.
19477
8fff8daa
SM
194782011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19479
08abfaad
SM
19480 * minibuffer.el (completion-at-point, completion-help-at-point):
19481 Don't presume that a given completion-at-point-function will always
19482 use the same calling convention.
19483
8fff8daa
SM
19484 * pcomplete.el (pcomplete-completions-at-point):
19485 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19486 pcomplete-seen is non-nil.
19487 (pcomplete-comint-setup): Also recognize the new comint/shell
19488 completion functions.
19489 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19490 pcomplete-seen is non-nil.
19491
841a1577 194922011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19493
841a1577 19494 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19495 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19496 the first character in the entry. This allows for code to add its
211ec907
UJ
19497 own uid to the entry.
19498 (icalendar--convert-float-to-ical): Add export of
19499 `diary-float'-entries save for those with the optional DAY
19500 argument.
19501
2a782793
DC
195022011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19503
19504 * subr.el (shell-quote-argument): Use alternate escaping strategy
19505 when we spot a variable reference in a string.
19506
0438ce91
DC
195072011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19508
19509 * cus-start.el (all): Define customization for debug-on-event.
19510
841a1577 195112011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19512
19513 * subr.el (shell-quote-argument): Escape correctly under Windows.
19514
d090ed6c
SM
195152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19516
19517 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19518
bfd31217
MA
195192011-04-25 Michael Albinus <michael.albinus@gmx.de>
19520
d090ed6c
SM
19521 * net/tramp.el (tramp-process-actions): Add POS argument.
19522 Delete region between POS and (pos).
bfd31217 19523
d090ed6c
SM
19524 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19525 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19526 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19527
19528 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19529 position in `tramp-process-actions' call.
19530
19531 * net/trampver.el: Update release number.
19532
e92f3bd3
SM
195332011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19534
850256b5
SM
19535 * custom.el (defcustom): Obey lexical-binding.
19536
e92f3bd3
SM
19537 Fix octave-inf completion problems reported by Alexander Klimov.
19538 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19539 Inherit from octave-mode-syntax-table.
19540 (inferior-octave-mode): Set info-lookup-mode.
19541 (inferior-octave-completion-at-point): New function.
19542 (inferior-octave-complete): Use it and completion-in-region.
19543 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19544 comint-filename-completion.
19545 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19546 symbol elements which shouldn't be word elements.
19547 (octave-font-lock-keywords, octave-beginning-of-defun)
19548 (octave-function-header-regexp): Adjust regexps accordingly.
19549 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19550
cd22b309
JB
195512011-04-25 Juanma Barranquero <lekktu@gmail.com>
19552
19553 * net/gnutls.el (gnutls-errorp): Declare before first use.
19554
8b492194
TZ
195552011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19556
19557 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19558 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19559 default trustfile exists before going to use it. Add missing
5a5fa834 19560 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19561 Reported by Claudio Bley <claudio.bley@gmail.com>.
19562 (open-gnutls-stream): Add usage example.
19563
19564 * net/network-stream.el (network-stream-open-starttls): Give host
19565 parameter to `gnutls-negotiate'.
19566 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19567 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19568
841a1577 195692011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19570
cd22b309
JB
19571 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19572 Use correct match group (bug#8438).
05842630 19573
3ba7869c
CY
195742011-04-24 Chong Yidong <cyd@stupidchicken.com>
19575
512e3ae1
CY
19576 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19577 (package-menu--generate): New arg specifying packages to show.
19578 (package-menu-refresh, package-menu-execute, list-packages):
19579 Callers changed.
19580 (package-show-package-list): New function, replacing deleted
19581 package--list-packages (renamed because it is non-internal).
19582
19583 * finder.el (finder-list-matches): Use package-show-package-list
19584 instead of deleted package--list-packages.
19585
e92f3bd3
SM
19586 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19587 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19588 (vc-annotate-mode-map): Bind it to RET.
19589
7031be6d
UR
195902011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19591
19592 * progmodes/etags.el (next-file): Don't use set-buffer to change
19593 buffers (Bug#8478).
19594
4ef177aa
CY
195952011-04-24 Chong Yidong <cyd@stupidchicken.com>
19596
c8d173eb
CY
19597 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19598
4ef177aa
CY
19599 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19600 (apropos-accumulator): Doc fix.
19601 (apropos-function, apropos-macro, apropos-command)
19602 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19603 (apropos-plist): Add face property.
19604 (apropos-symbols-internal): Fix indentation.
19605 (apropos-print): Simplify help, and recognize apropos-multi-type.
19606 (apropos-print-doc): Use button-type-get to extract the button's
19607 face property. Fill docstring (Bug#8352).
19608
4ffd0d6b 196092011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19610
19611 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19612
c6c32125 19613 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19614 (mpuz-mode-map): Use mapc.
c6c32125
JB
19615 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19616 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19617 Fix typos in docstrings.
19618
58d468b4
JB
19619 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19620 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19621
6470c3c6
JB
19622 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19623
4ffd0d6b 196242011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19625
19626 * minibuffer.el (completion--do-completion): Avoid the "Next char
19627 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19628
3ad8bad0
CY
19629 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19630 mouse-2 into unread-command-events, it is interpreted correctly.
19631
71d73c9c 19632 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19633 (image-toggle-display): Doc fix.
71d73c9c 19634
841a1577 196352011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19636
4ffd0d6b
GM
19637 * textmodes/page.el (what-page): Use line-number-at-pos to
19638 calculate line number (Bug#6825).
6e1dbaa9 19639
c2fb1b60
JB
196402011-04-22 Juanma Barranquero <lekktu@gmail.com>
19641
19642 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19643 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19644 Pass argument NO-DEFAULT to `find-tag-interactive'.
19645
e02f48d7
JB
196462011-04-22 Juanma Barranquero <lekktu@gmail.com>
19647
19648 Lexical-binding cleanup.
19649
19650 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19651 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19652 * progmodes/ada-prj.el (ada-prj-initialize-values)
19653 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19654 (ada-prj-show-value):
19655 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19656 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19657 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19658 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19659 * progmodes/bug-reference.el (bug-reference-push-button):
19660 * progmodes/fortran.el (fortran-line-length):
19661 * progmodes/glasses.el (glasses-change):
19662 * progmodes/octave-mod.el (octave-fill-paragraph):
19663 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19664 (python-pdbtrack-grub-for-buffer, python-sentinel):
19665 * progmodes/sql.el (sql-save-connection):
19666 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19667 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19668 Mark unused parameters.
19669
19670 * progmodes/compile.el (compilation--flush-directory-cache)
19671 (compilation--flush-parse, compile-internal): Mark unused parameters.
19672 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19673 (compilation-next-error-function): Remove unused variable `timestamp'.
19674
19675 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19676 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19677
19678 * progmodes/dcl-mode.el (dcl-end-of-command):
19679 Remove unused variable `start'.
19680 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19681 (dcl-option-value-basic, dcl-option-value-offset)
19682 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19683 Mark unused parameters.
19684 (dcl-save-local-variable): Remove unused variable `val'.
19685 (mode): Declare.
19686
19687 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19688 Mark unused parameters.
19689 (delphi-ignore-changes): Move before first use.
19690 (delphi-charset-token-at): Remove unused variable `start'.
19691 (delphi-else-start): Remove unused variable `if-count'.
19692 (delphi-comment-block-start, delphi-comment-block-end):
19693 Remove unused variable `kind'.
19694 (delphi-indent-line): Remove unused variable `new-point'.
19695
19696 * progmodes/ebrowse.el (ebrowse-files-list)
19697 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19698 Mark unused parameters. Don't quote `lambda'.
19699 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19700 Don't quote `lambda'.
19701 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19702 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19703 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19704 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19705 Use `ignore-errors'.
19706 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19707 (ebrowse-view/find-file-and-search-pattern)
19708 (ebrowse-view/find-member-declaration/definition):
19709 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19710 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19711 Rename parameter PREFIX-ARG to PREFIX.
19712 (ebrowse-tags-read-name): Remove unused variables `start' and
19713 `member-info'.
19714 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19715 to `tags-file'.
19716
19717 * progmodes/etags.el (local-find-tag-hook): Declare.
19718 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19719 Mark unused parameters.
19720
19721 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19722 (executable-interpret): Mark unused parameter.
19723
19724 * progmodes/flymake.el (flymake-process-sentinel)
19725 (flymake-after-change-function)
19726 (flymake-create-temp-with-folder-structure)
19727 (flymake-get-include-dirs-dot): Mark unused parameters.
19728 (flymake-safe-delete-directory): Remove unused variable `err'.
19729
19730 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19731 (speedbar-timer-fn, speedbar-line-text)
19732 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19733 (speedbar-center-buffer-smartly): Declare functions.
19734 (gdb-find-watch-expression): Remove unused variable `array'.
19735 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19736 (gdb-starting): Mark unused parameters.
19737 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19738 (gdb-table-string): Remove unused variable `res'.
19739 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19740 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19741 (gdb-display-buffer): Remove unused variable `cur-size'.
19742
19743 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19744 allow lexical-binding compilation.
19745 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19746 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19747 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19748 Mark unused parameters.
19749 (gud-gdb-marker-filter): Remove unused variable `match'.
19750 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19751 lambda expressions and funcall them, instead of using `fset'.
19752
19753 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19754 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19755
19756 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19757 variable `header-beg'; use `let'.
19758
19759 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19760 `restart', `last-sexp' and `at-do'.
19761
19762 * progmodes/js.el (js--debug): Mark unused parameter.
19763 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19764 (js--splice-into-items): Remove unused variable `item'.
19765 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19766
19767 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19768 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19769 (makefile-complete): Remove unused variable `try'.
19770 (makefile-fill-paragraph, makefile-match-function-end):
19771 Mark unused parameters.
19772
19773 * progmodes/octave-inf.el (inferior-octave-complete):
19774 Remove unused variable `proc'.
19775 (inferior-octave-output-digest): Mark unused parameter.
19776
19777 * progmodes/perl-mode.el (perl-calculate-indent):
19778 Remove unused variable `err'.
19779
19780 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19781 (prolog-indent-line): Mark unused parameters.
19782 (prolog-indent-line): Remove unused variable `beg'.
19783
19784 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19785 (reporter-dont-compact-list): Declare.
19786
19787 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19788 Remove unused variable `char'.
19789 (sh-debug): Mark unused parameter.
19790 (sh-get-indent-info): Remove unused variable `start'.
19791 (sh-calculate-indent): Remove unused variable `var'.
19792
19793 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19794 (simula-electric-keyword): Remove unused variable `null'.
19795 (simula-search-backward, simula-search-forward): Remove unused
19796 variables `begin' and `end'.
19797
19798 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19799 Remove unused variable `pos'.
19800 (vera-electric-tab, vera-comment-uncomment-region):
19801 Mark unused parameters.
19802 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19803
7ede3b65
CY
198042011-04-22 Chong Yidong <cyd@stupidchicken.com>
19805
19806 * emacs-lisp/package.el (package--builtins, package-alist)
19807 (package-load-descriptor, package-built-in-p, package-activate)
19808 (define-package, package-installed-p)
19809 (package-compute-transaction, package-buffer-info)
19810 (package--push): Doc fix. Distinguish more clearly between
19811 version strings and version lists.
19812
121656e9
JB
198132011-04-21 Juanma Barranquero <lekktu@gmail.com>
19814
19815 Lexical-binding cleanup.
19816
19817 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19818 (5x5-make-mutate-best):
19819 * play/fortune.el (fortune-in-buffer):
19820 * play/gomoku.el (gomoku-init-display):
19821 * play/solitaire.el (solitaire, solitaire-do-check):
19822 * play/tetris.el (tetris-default-update-speed-function):
19823 Mark unused parameters.
19824
19825 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19826 (bubbles--shift): Remove unused variable `char-org'.
19827 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19828 (bubbles--show-images): Remove unused variable `char'.
19829
19830 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19831 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19832 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19833 (decipher-analyze-buffer): Use ?\s.
19834 (decipher-make-checkpoint): Remove unused variable `mapping'.
19835
19836 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19837
19838 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19839 Remove unused variable `result'; use `let'.
19840
19841 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19842 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19843 (gametree-children-shown-p, gametree-compute-reduced-score):
19844 Use `ignore-errors'.
19845
19846 * play/handwrite.el (ps-lpr-switches): Declare.
19847 (handwrite): Remove unused variables `pmin' and `lastp'.
19848
19849 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19850
19851 * play/landmark.el (landmark-init-display)
19852 (landmark-update-naught-weights): Mark unused parameters.
19853 (landmark-y): Remove unused variable `noise'. Simplify.
19854 (landmark-human-plays): Remove unused variable `score'.
19855
19856 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19857 (mpuz-try-proposal): Remove unused variable `game'.
19858
19859 * play/zone.el (life-patterns): Declare.
19860
80f499c7
JB
198612011-04-20 Juanma Barranquero <lekktu@gmail.com>
19862
19863 * vc/vc.el (ediff-vc-internal): Declare function.
19864
024ff170
SM
198652011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19866
c0a193ea
SM
19867 * shell.el: Use lexical-binding and std completion UI.
19868 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19869 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19870 comint-preoutput-filter-functions rather than on
19871 comint-output-filter-functions.
19872 (shell-command-completion, shell--command-completion-data)
19873 (shell-filename-completion, shell-environment-variable-completion)
19874 (shell-c-a-p-replace-by-expanded-directory): New functions.
19875 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19876 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19877 (shell-dynamic-complete-environment-variable): Use them.
19878 (shell-dynamic-complete-as-environment-variable)
19879 (shell-dynamic-complete-as-command): Remove.
19880 (shell-match-partial-variable): Match past point.
19881 * comint.el: Clean up use of completion-at-point-functions.
19882 (comint-completion-at-point): New function.
19883 (comint-mode): Use it completion-at-point-functions.
19884 (comint-dynamic-complete): Make it obsolete.
19885 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19886 (comint-c-a-p-replace-by-expanded-history): New function.
19887 (comint-dynamic-complete-functions)
19888 (comint-replace-by-expanded-history): Use it.
19889 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19890 termination strings. Try harder to avoid second try-completion.
19891 (completion-in-region-mode-map): Disable bindings that don't work yet.
19892
2dbaa080
SM
19893 * comint.el: Use lexical-binding. Require CL.
19894 (comint-dynamic-complete-functions): Use comint-filename-completion.
19895 (comint-completion-addsuffix): Tweak custom type.
19896 (comint-filename-completion, comint--common-suffix)
19897 (comint--common-quoted-suffix, comint--table-subvert)
19898 (comint--complete-file-name-data): New functions.
19899 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19900 (comint-dynamic-list-filename-completions): Use them.
19901 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19902
2dbaa080
SM
19903 * minibuffer.el (completion-in-region-mode):
19904 Keep completion-in-region-mode--predicate global.
19905 (completion-in-region--postch):
19906 Assume completion-in-region-mode--predicate is not null.
19907
c79a6f38
SM
19908 * progmodes/flymake.el (flymake-start-syntax-check-process):
19909 Obey `dir'. Simplify.
19910
024ff170
SM
19911 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19912 we're in VC after all.
19913
1c6c854e
CS
199142011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19915
19916 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19917 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19918 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19919
bed7f140
SM
199202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19921
332e62ab
SM
19922 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19923 add sanity check.
19924
bed7f140
SM
19925 * obsolete/erc-hecomplete.el: Make obsolete.
19926 * obsolete/: Standardize obsolescence info in the header.
19927
f195c582
GM
199282011-04-20 Glenn Morris <rgm@gnu.org>
19929
19930 * calendar/solar.el (solar-horizontal-coordinates):
19931 Use the longitude argument rather than `calendar-longitude'.
19932 (solar-date-next-longitude): Remove unused locals.
19933
cb79b8c0
VJL
199342011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19935
19936 * whitespace.el: New version 13.2.1.
19937
199382011-04-20 felix <EmacsWiki> (tiny change)
19939
d8e4b68b 19940 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19941 switching between major modes on a file.
19942
602ea69d
SM
199432011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19944
19945 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19946 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19947 multi-line comments as well.
19948
06b60517
JB
199492011-04-19 Juanma Barranquero <lekktu@gmail.com>
19950
19951 Lexical-binding cleanup.
19952
19953 * arc-mode.el (archive-mode-revert):
19954 * cmuscheme.el (scheme-interactively-start-process):
19955 * custom.el (custom-initialize-delay):
19956 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19957 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19958 * emacs-lock.el (emacs-lock-clear-sentinel):
19959 * ezimage.el (defezimage):
19960 * follow.el (follow-avoid-tail-recenter):
19961 * fringe.el (set-fringe-mode-1):
19962 * generic-x.el (bat-generic-mode-compile):
19963 * help-mode.el (help-info-variable, help-do-xref)
19964 (help-mode-revert-buffer):
19965 * help.el (view-emacs-todo):
19966 * iswitchb.el (iswitchb-completion-help):
19967 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19968 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19969 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19970 * locate.el (locate-update):
19971 * longlines.el (longlines-encode-region)
19972 (longlines-after-change-function):
19973 * outline.el (outline-isearch-open-invisible):
19974 * ps-def.el (declare-function, charset-dimension, char-width)
19975 (encode-char):
19976 * ps-mule.el (ps-mule-plot-string):
19977 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19978 (recentf-edit-list-select, recentf-edit-list-validate)
19979 (recentf-open-files-action):
19980 * rect.el (delete-whitespace-rectangle-line)
19981 (rectangle-number-line-callback):
19982 * register.el (window-configuration-to-register)
19983 (frame-configuration-to-register):
19984 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19985 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19986 (xselect-convert-to-targets, xselect-convert-to-delete)
19987 (xselect-convert-to-filename, xselect-convert-to-charpos)
19988 (xselect-convert-to-lineno, xselect-convert-to-colno)
19989 (xselect-convert-to-os, xselect-convert-to-host)
19990 (xselect-convert-to-user, xselect-convert-to-class)
19991 (xselect-convert-to-name, xselect-convert-to-integer)
19992 (xselect-convert-to-atom, xselect-convert-to-identity):
19993 * subr.el (declare, ignore, process-kill-without-query)
19994 (text-clone-maintain):
19995 * terminal.el (te-get-char, te-tic-sentinel):
19996 * tool-bar.el (tool-bar-make-keymap):
19997 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19998 * type-break.el (type-break-mode, type-break-noninteractive-query):
19999 * view.el (View-back-to-mark):
20000 * wid-browse.el (widget-browse-action, widget-browse-widget)
20001 (widget-browse-widgets, widget-browse-sexp):
20002 * widget.el (define-widget-keywords):
20003 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20004 Mark unused parameters.
20005
20006 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20007 (align-areas): Remove unused variable `look'.
20008 (align-region): Remove unused variables `real-end' and `pos-list'.
20009
20010 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20011
20012 * bindings.el (mode-line-modified, mode-line-remote):
20013 Mark unused parameters.
20014 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20015
20016 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20017 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20018
20019 * comint.el (comint-history-isearch-pop-state)
20020 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20021 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20022 (comint-substitute-in-file-name): Doc fix.
20023
20024 * completion.el (cmpl-statistics-block): Mark unused parameter.
20025 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20026 (save-completions-to-file, load-completions-from-file):
20027 Remove unused local variable `e'.
20028
20029 * composite.el (compose-chars): Remove unused variable `len'.
20030 (lgstring-insert-glyph): Remove unused variable `g'.
20031 (compose-glyph-string): Remove unused variables `ascent',
20032 `descent', `lbearing' and `rbearing'.
20033 (compose-glyph-string-relative): Remove unused variables
20034 `lbearing', `rbearing' and `wadjust'.
20035 (compose-gstring-for-graphic): Remove unused variables `header',
20036 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20037 (compose-gstring-for-terminal): Remove unused variables `header'
20038 and `nchars'. Use `let', not `let*'.
20039
20040 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20041 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20042 (Custom-buffer-done, custom-buffer-create-internal)
20043 (custom-browse-visibility-action, custom-browse-group-tag-action)
20044 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20045 (widget-magic-mouse-down-action, custom-toggle-parent)
20046 (custom-add-parent-links, custom-toggle-hide-variable)
20047 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20048 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20049 (custom-face-menu-create, custom-variable-menu-create, get)
20050 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20051 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20052 (customize-apropos): Remove unused variable `tests'.
20053 (custom-group-value-create): Remove unused variable `hidden-p'.
20054 (sort-fold-case): Declare.
20055
20056 * cus-theme.el (custom-reset-standard-faces-list)
20057 (custom-reset-standard-variables-list): Declare.
20058 (customize-create-theme, custom-theme-revert, custom-theme-write)
20059 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20060 Mark unused parameters.
20061
20062 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20063
20064 * delim-col.el (delimit-columns-max): Move defvar before first use.
20065
20066 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20067 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20068
20069 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20070 (auto-insert): Declare.
20071 (desktop-restore-file-buffer): Rename desktop-* parameters;
20072 mark unused ones.
20073 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20074 (desktop-buffer): Rename desktop-* parameters.
20075
20076 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20077 (dframe-reposition-frame-xemacs, dframe-help-echo)
20078 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20079 Mark unused parameters.
20080
20081 * dired-aux.el (backup-extract-version-start, overwrite-query)
20082 (overwrite-backup-query, rename-regexp-query)
20083 (rename-non-directory-query): Declare.
20084 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20085 (dired-add-entry): Remove unused variable `orig-file-name'.
20086 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20087 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20088 `dired-copy-preserve-time' directly.
20089 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20090 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20091
20092 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20093 (dired-virtual-revert, dired-make-relative-symlink):
20094 Mark unused parameters.
20095 (manual-program): Declare.
20096 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20097 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20098 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20099
20100 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20101
20102 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20103
20104 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20105 Declare.
20106
20107 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20108
20109 * electric.el (Electric-command-loop): Rename parameter
20110 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20111
20112 * expand.el (expand-in-literal): Remove unused variable `here'.
20113
20114 * facemenu.el (facemenu-add-new-color):
20115 Remove unused variable `docstring'.
20116
20117 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20118 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20119 (face-attr-construct): Mark unused parameter. Doc fix.
20120 (read-color): Remove unused variable `hex-string'.
20121
20122 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20123 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20124 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20125 (display-buffer-other-frame): Remove unused variable `old-window'.
20126 (kill-buffer-hook): Declare.
20127 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20128 Mark unused parameters.
20129 (after-find-file): Pass 1 to `auto-save-mode', not t.
20130
20131 * files-x.el (auto-insert): Declare.
20132 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20133
20134 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20135 variable `buf'. Mark unused parameter.
06b60517
JB
20136 (find-lisp-insert-directory): Mark unused parameter.
20137
20138 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20139 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20140 (format-common-tail): Remove, unused.
20141 (format-deannotate-region): Remove unused variable `loc'.
20142 (format-annotate-region): Remove unused variable `p'.
20143 (format-annotate-single-property-change): Remove unused variables
20144 `default' and `tail'.
20145
20146 * forms.el (read-file-filter): Declare.
20147 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20148
20149 * frame.el (frame-creation-function-alist): Mark unused parameter.
20150 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20151
20152 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20153 Remove unused parameters.
20154 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20155 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20156
20157 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20158 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20159 (hfy-prepare-tag-map): Mark unused parameters.
20160 (htmlfontify-buffer): Use `called-interactively-p'.
20161
20162 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20163 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20164 (ibuffer-do-occur): Mark unused parameters.
20165 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20166 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20167
20168 * ibuffer.el: Don't quote `lambda'.
20169 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20170 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20171 Mark unused parameters.
20172
20173 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20174 (ido-completing-read): Mark unused parameters.
20175 (ido-copy-current-word): Mark unused parameters;
20176 remove unused variable `name'.
20177 (ido-sort-merged-list): Remove unused parameter `dirs'.
20178
20179 * ielm.el (ielm-input-sender): Mark unused parameter.
20180 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20181 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20182 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20183 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20184 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20185
20186 * image-dired.el (image-dired-display-thumbs): Remove unused
20187 variables `curr-file' and `count'.
20188 (image-dired-remove-tag): Remove unused variable `start'.
20189 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20190 variable `curr-file'
20191 (image-dired-rotate-original): Remove unused variable `temp-file'.
20192 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20193 Remove unused variable `file'.
20194 (image-dired-gallery-generate): Remove unused variable `curr'.
20195 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20196
20197 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20198
20199 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20200
20201 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20202
20203 * isearch.el (minibuffer-history-symbol): Declare.
20204 (isearch-edit-string): Remove unused variable `err'.
20205 (isearch-message-prefix, isearch-message-suffix):
20206 Mark unused parameters.
20207
20208 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20209
20210 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20211
20212 * makesum.el (double-column): Remove unused variable `cnt'.
20213
20214 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20215 (ido-ignore-item-temp-list): Declare.
20216
20217 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20218 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20219 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20220 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20221 `mouse-col-delta'.
20222
20223 * mouse-sel.el (mouse-extend-internal):
20224 Remove unused variable `orig-window-frame'.
20225
20226 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20227 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20228 Move declarations before first use.
20229 (pcomplete-opt): Mark unused parameters; doc fix.
20230
20231 * proced.el (proced-revert): Mark unused parameter.
20232 (proced-send-signal): Remove unused variable `err'.
20233
20234 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20235 Rename parameter PREFIX-ARG to ARG.
20236 (ps-basic-plot-string, ps-basic-plot-whitespace):
20237 Mark unused parameters.
20238
20239 * replace.el (replace-count): Define.
20240 (occur-revert-function): Mark unused parameters.
20241 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20242 (isearch-case-fold-search, isearch-string): Declare.
20243 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20244 bind `case-fold-search'. Remove unused variables `beg' and `end',
20245 and simplify.
20246 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20247 COUNT and bind `replace-count'.
20248 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20249 to COUNT.
20250
20251 * savehist.el (print-readably, print-string-length): Declare.
20252
20253 * shadowfile.el (shadow-expand-cluster-in-file-name):
20254 Remove unused variable `cluster'.
20255 (shadow-copy-file): Remove unused variable `i'.
20256 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20257 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20258 (shadow-define-literal-group, shadow-define-regexp-group)
20259 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20260
20261 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20262 (shell): Use `called-interactively-p'.
20263 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20264
20265 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20266 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20267 (delete-backward-char): Remove unused variable `ocol'.
20268 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20269 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20270 (event-apply-hyper-modifier, event-apply-shift-modifier)
20271 (event-apply-control-modifier, event-apply-meta-modifier):
20272 Mark unused parameters.
20273 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20274 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20275
20276 * speedbar.el (speedbar-ignored-directory-expressions)
20277 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20278 (speedbar-find-file, speedbar-dir-follow)
20279 (speedbar-directory-buttons-follow, speedbar-tag-find)
20280 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20281 (speedbar-buffers-line-directory, speedbar-buffer-click):
20282 Mark unused parameters.
20283 (speedbar-tag-file): Remove unused variable `mode'.
20284 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20285
20286 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20287
20288 * talk.el (talk): Remove unused variable `display'.
20289
20290 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20291 (tar-write-region-annotate): Mark unused parameter.
20292
20293 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20294 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20295 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20296 warning by another.
20297
20298 * time-stamp.el (time-stamp-string-preprocess):
20299 Remove unused variable `require-padding'.
20300
20301 * tree-widget.el (widget-glyph-enable): Declare.
20302 (tree-widget-action): Mark unused parameter.
20303
20304 * w32-fns.el (x-get-selection): Mark unused parameter.
20305 (autoload-make-program, generated-autoload-file): Declare.
20306
20307 * wdired.el (wdired-revert): Mark unused parameters.
20308 (wdired-xcase-word): Remove unused variable `err'.
20309
20310 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20311 (whitespace-help-scroll): Remove unused variable `data-help'.
20312
20313 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20314 (widget-image-insert, widget-after-change, default)
20315 (widget-default-format-handler, widget-default-notify)
20316 (widget-default-prompt-value, widget-info-link-action)
20317 (widget-url-link-action, widget-function-link-action)
20318 (widget-variable-link-action, widget-file-link-action)
20319 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20320 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20321 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20322 (widget-insert-button-action, widget-delete-button-action, visibility)
20323 (widget-documentation-link-action, widget-documentation-string-action)
20324 (widget-const-prompt-value, widget-regexp-match, symbol)
20325 (widget-coding-system-prompt-value)
20326 (widget-key-sequence-value-to-external, sexp)
20327 (widget-sexp-value-to-internal, character, vector, cons)
20328 (widget-choice-prompt-value, widget-boolean-prompt-value)
20329 (widget-color--choose-action): Mark unused parameters.
20330 (widget-item-match-inline, widget-choice-match-inline)
20331 (widget-checklist-match, widget-checklist-match-inline)
20332 (widget-group-match): Rename parameter VALUES to VALS.
20333 (widget-field-value-set): Remove unused variable `size'.
20334 (widget-color-action): Remove unused variables `value' and `start'.
20335
20336 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20337 variable `dir'. Doc fix.
06b60517
JB
20338 (windmove-find-other-window): Don't pass it.
20339
20340 * window.el (count-windows): Mark unused parameter.
20341 (bw-adjust-window): Remove unused variable `err'.
20342
20343 * woman.el (woman-file-name): Remove unused variable `default'.
20344 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20345 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20346 (global-font-lock-mode): Declare.
20347 (woman-decode-region): Mark unused parameter.
20348 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20349
20350 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20351 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20352 (x-dnd-handle-moz-url): Remove unused variable `title'.
20353 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20354
20355 * xml.el (xml-parse-tag, xml-parse-attlist):
20356 Remove unused variable `pos'.
20357
bc4f7f3d
GM
203582011-04-19 Glenn Morris <rgm@gnu.org>
20359
20360 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20361 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20362 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20363 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20364 * calendar/cal-html.el (cal-html-insert-minical):
20365 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20366 (calendar-mark-date-pattern):
20367 Prefix "unused" locals.
20368
20369 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20370 optional argument `style'.
20371
20372 * calendar/appt.el (appt-make-list):
20373 * calendar/cal-china.el (calendar-chinese-date-string):
20374 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20375 (diary-hebrew-yahrzeit):
20376 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20377 * calendar/calendar.el (calendar-generate-window):
20378 * calendar/time-date.el (time-to-days):
20379 Remove unused local variables.
20380
16a43933
CY
203812011-04-18 Chong Yidong <cyd@stupidchicken.com>
20382
20383 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20384 glyphless-char-display table.
20385 (tabulated-list-glyphless-char-display): New var.
20386
7eed1860
SS
203872011-04-18 Sam Steingold <sds@gnu.org>
20388
20389 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20390 to acknowledgments.
20391
4d2d1ccd
GM
203922011-04-17 Glenn Morris <rgm@gnu.org>
20393
20394 * calendar/diary-lib.el (diary-sexp-entry):
20395 * calendar/holidays.el (holiday-sexp):
20396 Set debug-on-error rather than the removed stack-trace-on-error.
20397
239da61d
GM
203982011-04-16 Glenn Morris <rgm@gnu.org>
20399
20400 * progmodes/f90.el: Use lexical-binding.
20401 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20402
8b05752a
SM
204032011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20404
daca8ba5
SM
20405 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20406 (mail-mode): Setup mailalias completion here instead.
20407 * mail/mailalias.el: Use lexical-binding.
20408 (pattern, mailalias-done): Declare dynamic.
20409 (mail-completion-at-point-function): New function, from mail-complete.
20410 (mail-complete): Use it.
20411 (mail-completion-expand): New function.
20412 (mail-get-names): Use it.
20413 (mail-directory, mail-directory-process, mail-directory-stream):
20414 Don't use `pattern' for lexically bound arg.
20415
6f542485
SM
20416 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20417
037e7c3f
SM
20418 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20419 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20420 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20421
8b05752a
SM
20422 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20423 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20424 (byte-interactive-p): Define them again, for use when inlining
20425 old code.
20426
49093f60
JB
204272011-04-15 Juanma Barranquero <lekktu@gmail.com>
20428
20429 * loadup.el: Use `string-to-number', not `string-to-int'.
20430
b5b8e7de
SM
204312011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20432
20433 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20434 gud-gdb-complete-command.
20435 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20436 (gud-gdb-completion-at-point): New function.
20437 (gud-gdb-completions): Remove.
20438
f42efeb5
MA
204392011-04-14 Michael Albinus <michael.albinus@gmx.de>
20440
49093f60
JB
20441 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20442 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20443 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20444 whether `executable-find' is bound.
f42efeb5
MA
20445
20446 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20447
e240cc21
SM
204482011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20449
20450 * minibuffer.el (completion-in-region-mode-predicate)
20451 (completion-in-region-mode--predicate): New vars.
20452 (completion-in-region, completion-in-region--postch)
20453 (completion-in-region-mode): Use them.
20454 (completion--capf-wrapper): Also return the hook function.
20455 (completion-at-point, completion-help-at-point):
20456 Adjust and provide a predicate.
c2bd2ab0
SM
20457
20458 Preserve arg names for advice of subr and lexical functions (bug#8457).
20459 * help-fns.el (help-function-arglist): Consolidate the subr and
20460 new-byte-code cases. Add argument `preserve-names' to extract names
20461 from the docstring when needed.
20462 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20463 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20464 (ad-arglist): Use help-function-arglist's new arg.
20465 (ad-definition-type): Use cond.
20466
c183f693
JB
204672011-04-13 Juanma Barranquero <lekktu@gmail.com>
20468
06641a47
JB
20469 * autorevert.el (auto-revert-handler):
20470 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20471 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20472 Don't quote lambda.
20473
c183f693
JB
20474 * image-mode.el (image-transform-set-scale):
20475 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20476
1e3b6001
G
204772011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20478
20479 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20480 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20481 Upgrades via gnutls-cli are too slow to be done opportunistically.
20482
2d6af8dd
JB
204832011-04-12 Juanma Barranquero <lekktu@gmail.com>
20484
20485 * dframe.el (dframe-current-frame): Remove spurious quote.
20486
c0749a51
GM
204872011-04-12 Glenn Morris <rgm@gnu.org>
20488
088d0d61
GM
20489 * calendar/cal-tex.el (cal-tex-end-document):
20490 Try to automatically use latin1 input if needed.
20491
c0749a51
GM
20492 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20493 Don't try to cons a mark onto an empty element.
20494
5c90fde0
LL
204952011-04-11 Leo Liu <sdl.web@gmail.com>
20496
20497 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20498 buffers.
20499 (ido-kill-buffer-at-head): Support killing virtual buffers.
20500
369e974d
CY
205012011-04-10 Chong Yidong <cyd@stupidchicken.com>
20502
20503 * minibuffer.el (completion-show-inline-help): New var.
20504 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20505 (minibuffer-force-complete, minibuffer-complete-word):
20506 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20507
20508 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20509 to avoid interference from inline help (Bug#5849).
20510
37f1c930
LL
205112011-04-10 Leo Liu <sdl.web@gmail.com>
20512
099c39a4
JB
20513 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20514 Fix typo.
37f1c930 20515
a32d4040
CY
205162011-04-09 Chong Yidong <cyd@stupidchicken.com>
20517
20518 * image-mode.el (image-toggle-display-image): Signal an error if
20519 not in Image mode.
20520 (image-transform-mode, image-transform-resize)
20521 (image-transform-set-rotation): Doc fix.
daca8ba5 20522 (image-transform-set-resize): Delete.
a32d4040
CY
20523 (image-transform-set-scale, image-transform-fit-to-height)
20524 (image-transform-fit-to-width): Handle image-toggle-display-image
20525 and image-transform-resize directly.
20526
099c39a4 205272011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20528
20529 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20530 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20531 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20532 (doc-view-mode-map): Add bindings for the new functions.
20533
099c39a4 205342011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20535
4d61f28d 20536 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20537 Fix typo in docstring.
20538
3726838a
EZ
205392011-04-08 Eli Zaretskii <eliz@gnu.org>
20540
04f33f1e
EZ
20541 * files.el (file-size-human-readable): Produce one digit after
20542 decimal, like "ls -lh" does.
20543
20544 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20545 the file size representation.
20546
3726838a
EZ
20547 * simple.el (list-processes): If async subprocesses are not
20548 available, error out with a clear error message.
20549
cbb59342
CY
205502011-04-08 Chong Yidong <cyd@stupidchicken.com>
20551
20552 * help.el (help-form-show): New function, to be called from C.
20553 Put help-form output in a buffer named differently than *Help*.
20554
e3971c44
EZ
205552011-04-08 Eli Zaretskii <eliz@gnu.org>
20556
20557 * files.el (file-size-human-readable): New function.
20558
20559 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20560 computing the representation inline. Don't require `cl'.
20561
12544bbe
GM
205622011-04-08 Glenn Morris <rgm@gnu.org>
20563
a1de6c6a
GM
20564 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20565
3c4671f4
GM
20566 * net/browse-url.el (browse-url-firefox):
20567 Test system-type, not system-configuration.
20568
b605679c
GM
20569 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20570 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20571 Use log-edit-empty-buffer-p. (Bug#7598)
20572
56442f0c
GM
20573 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20574 (rlogin-mode-map): Initialize in the defvar.
20575 (rlogin): Use ignore-errors.
20576
12544bbe
GM
20577 * replace.el (occur-mode-map): Some fixes for menu items.
20578
eb237b0f
AH
205792011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20580
20581 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20582
7d668f2c
CY
205832011-04-06 Chong Yidong <cyd@stupidchicken.com>
20584
e67a13ab
CY
20585 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20586 issuing unused warnings.
20587
20588 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20589 macro directly.
20590
7d668f2c
CY
20591 * simple.el: Lisp reimplement of list-processes. Based on an
20592 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20593 (process-menu-mode): New major mode.
20594 (list-processes--refresh, list-processes):
20595 (process-menu-visit-buffer): New functions.
20596
20597 * files.el (save-buffers-kill-emacs): Don't assume any return
20598 value of list-processes, which is undocumented anyway.
20599
a83ec3c9
CY
206002011-04-06 Chong Yidong <cyd@stupidchicken.com>
20601
20602 * emacs-lisp/tabulated-list.el: New file.
20603
e91a96fe
CY
20604 * emacs-lisp/package.el: Use Tabulated List mode.
20605 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20606 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20607 table format using Tabulated List mode variables.
20608 (package--push): New macro, replacing package-list-maybe-add.
20609 (package-menu--generate): Use package--push. Renamed from
20610 package--generate-package-list.
20611 (package-menu-refresh, list-packages): Use it.
daca8ba5 20612 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20613 Return insertion data instead of inserting it directly.
099c39a4
JB
20614 (package-menu-describe-package, package-menu-execute):
20615 Use tabulated-list-get-id.
e91a96fe
CY
20616 (package-menu-mark-delete, package-menu-mark-install)
20617 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20618 (package-menu-mark-obsolete-for-deletion):
20619 Use tabulated-list-put-tag.
e91a96fe
CY
20620 (package--list-packages, package-menu-revert)
20621 (package-menu-get-package, package-menu-get-version)
20622 (package-menu-sort-by-column): Functions deleted.
20623 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20624 (package-menu--status-predicate, package-menu--version-predicate)
20625 (package-menu--name-predicate)
20626 (package-menu--description-predicate): Handle arguments in the
20627 Tabulated List format.
20628 (package-list-packages-no-fetch): Call list-packages.
20629
3e214b50
JB
206302011-04-06 Juanma Barranquero <lekktu@gmail.com>
20631
20632 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20633 (after-find-file): Don't bind it.
3e214b50
JB
20634 (revert-buffer-in-progress-p): New variable.
20635 (revert-buffer): Bind it.
20636 Pass nil for `after-find-file-from-revert-buffer'.
20637
20638 * saveplace.el (save-place-find-file-hook): Use new variable
20639 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20640
3f0f1700
GM
206412011-04-06 Glenn Morris <rgm@gnu.org>
20642
c0274801
GM
20643 * Makefile.in (AUTOGEN_VCS): New variable.
20644 (autoloads): Use $AUTOGEN_VCS.
20645
3f0f1700
GM
20646 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20647 * calendar/calendar.el (calendar-mode-map):
20648 Check for toolkit scroll bars. (Bug#8305)
20649
41ea9e48
CY
206502011-04-05 Chong Yidong <cyd@stupidchicken.com>
20651
20652 * minibuffer.el (completion-in-region--postch)
20653 (completion-in-region-mode): Remove unnecessary messages.
20654
6194c800
JB
206552011-04-05 Juanma Barranquero <lekktu@gmail.com>
20656
33256f14
JB
20657 * font-lock.el (font-lock-refresh-defaults):
20658 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20659 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20660
6194c800
JB
20661 * info.el (Info-directory-list, Info-read-node-name-2)
20662 (Info-split-parameter-string): Doc fixes.
20663 (Info-virtual-nodes): Reflow docstring.
20664 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20665 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20666 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20667 Fix typos in docstrings.
20668 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20669 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20670 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20671 (Info-restore-desktop-buffer): Mark unused parameters.
20672 (Info-directory-find-file, Info-directory-find-node)
20673 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20674 (Info-virtual-index-find-node, Info-apropos-find-file)
20675 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20676 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20677 (Info-virtual-index): Remove unused local variable `nodename'.
20678
b87a8200 206792011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20680
b87a8200
DD
20681 * net/rcirc.el: Update my e-mail address.
20682 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20683
3b2ff876
CY
206842011-04-05 Chong Yidong <cyd@stupidchicken.com>
20685
20686 * startup.el (command-line): Save the cursor's theme-face
20687 directly, instead of using face-override-spec.
20688
20689 * custom.el (load-theme): Minor optimization in assigning faces.
20690
8d17e7ca
JB
206912011-04-04 Juanma Barranquero <lekktu@gmail.com>
20692
20693 * help-fns.el (describe-variable): Complete all variables having
20694 documentation, including keywords.
20695 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20696
2fbc1934
JB
206972011-04-04 Juanma Barranquero <lekktu@gmail.com>
20698
20699 Convert to lexical-binding.
20700
20701 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20702 (bs--get-marked-string, bs--get-modified-string)
20703 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20704 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20705 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20706
20707 * ehelp.el (electric-help-execute-extended)
20708 (electric-help-ctrl-x-prefix):
20709 * hexl.el (hexl-revert-buffer-function):
20710 * linum.el (linum-after-change, linum-after-scroll):
20711 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20712
20713 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20714
74f50695
DU
207152011-04-04 Daiki Ueno <ueno@unixuser.org>
20716
20717 * epa-dired.el:
20718 * epa-mail.el:
20719 * epa-hook.el:
20720 * epa-file.el:
20721 * epa.el:
20722 * epg.el: Use lexical binding.
20723
c11325f7
CY
207242011-04-03 Chong Yidong <cyd@stupidchicken.com>
20725
0d9e9a12
CY
20726 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20727
c11325f7 20728 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20729 dictionary case for flyspell-mark-duplications-exceptions.
20730 Use regexp matching for languages.
c11325f7
CY
20731 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20732 default dictionary (Bug#7926).
20733
da91b5f2
CY
207342011-04-02 Chong Yidong <cyd@stupidchicken.com>
20735
099c39a4
JB
20736 * emacs-lisp/package.el (package--with-work-buffer):
20737 Recognize https URLs.
da91b5f2 20738
099c39a4
JB
20739 * net/network-stream.el: Move from gnus/proto-stream.el.
20740 Change prefix to network-stream throughout.
da91b5f2
CY
20741 (open-protocol-stream): Merge into open-network-stream, leaving
20742 open-protocol-stream as an alias. Handle nil BUFFER args.
20743
20744 * subr.el (open-network-stream): Move to net/network-stream.el.
20745
afa8e9f6
GM
207462011-04-02 Glenn Morris <rgm@gnu.org>
20747
1d2e369d
GM
20748 * find-dired.el (find-exec-terminator): New option.
20749 (find-ls-option): Test for -ls support.
20750 (find-ls-subdir-switches): Test for -b in find-ls-option.
20751 (find-dired, find-grep-dired): Doc fixes.
20752 (find-dired): Use find-exec-terminator.
20753
8abb7da8 20754 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20755 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20756 (find-name-arg): Remove purecopy.
8abb7da8 20757
f3ca7378
GM
20758 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20759 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20760 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20761 accordingly. Don't add the null-device if not needed.
20762
afa8e9f6
GM
20763 * files.el (save-some-buffers): Doc fix.
20764
35eae264
EZ
207652011-04-02 Eli Zaretskii <eliz@gnu.org>
20766
20767 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20768
26b51db5
JB
207692011-04-01 Juanma Barranquero <lekktu@gmail.com>
20770
20771 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20772 Use `dolist' rather than `mapcar'.
20773
7200d79c
SM
207742011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20775
03408648 20776 Add lexical binding.
7200d79c 20777
03408648
SM
20778 * subr.el (apply-partially): Use new closures rather than CL.
20779 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20780 (dolist, dotimes): Use slightly different expansion for lexical code.
20781 (functionp): Move to C.
20782 (letrec): New macro.
20783 (with-wrapper-hook): Use it and apply-partially instead of CL.
20784 (eval-after-load): Preserve lexical-binding.
20785 (save-window-excursion, with-output-to-temp-buffer): Turn them
20786 into macros.
7200d79c 20787
03408648
SM
20788 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20789
20790 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20791 than the arglist.
20792 (help-add-fundoc-usage): Don't add `Not documented'.
20793 (help-function-arglist): Handle closures, subroutines, and new
20794 byte-code-functions.
20795 (help-make-usage): Remove leading underscores.
20796 (describe-function-1): Handle closures.
20797 (describe-variable): Use special-variable-p for completion.
20798
20799 * files.el (lexical-binding): Declare safe.
f488fb65 20800
03408648
SM
20801 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20802 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20803 (pcase): Add `let' pattern.
20804 Change memoization so it actually works.
20805 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20806 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20807 <let>: New case.
f488fb65 20808
03408648
SM
20809 * emacs-lisp/macroexp.el: Use lexical binding.
20810 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20811 Don't convert ' to #' without checking that it's indeed quoting
20812 a lambda.
20813
20814 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20815 Use eval-sexp-add-defvars.
03408648
SM
20816 (eval-sexp-add-defvars): New fun.
20817
20818 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20819
20820 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20821 Don't autoload.
20822 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20823 than the internal `byte-compile-lambda'.
20824 (defmethod): Don't hide code under quotes.
20825 (eieio-defmethod): New `code' argument.
20826
20827 * emacs-lisp/eieio-comp.el: Remove.
20828
20829 * emacs-lisp/edebug.el (edebug-eval-defun)
20830 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20831 (edebug-toggle): Avoid `eval'.
20832
20833 * emacs-lisp/disass.el (disassemble-internal): Handle new
20834 `closure' objects.
20835 (disassemble-1): Handle new byte codes.
20836
20837 * emacs-lisp/cl.el (pushnew): Silence warning.
20838
20839 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20840 (cl-byte-compile-throw): Remove.
20841 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20842
20843 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20844 closures.
20845
20846 * emacs-lisp/cconv.el: New file.
20847
20848 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20849 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20850 (byte-compile-initial-macro-environment):
20851 Handle declare-function here.
20852 (byte-compile--lexical-environment): New var.
20853 (byte-stack-ref, byte-stack-set, byte-discardN)
20854 (byte-discardN-preserve-tos): New lap codes.
20855 (byte-interactive-p): Don't use any more.
20856 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20857 New macros.
20858 (byte-compile-lapcode): Use them and handle new lap codes.
20859 (byte-compile-obsolete): Remove.
20860 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20861 (byte-compile-arglist-warn): Check late def of inlinable funs.
20862 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20863 since they should have been expanded by now.
20864 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20865 (byte-compile-from-buffer): Remove unused second arg.
20866 (byte-compile-preprocess): New function.
20867 (byte-compile-toplevel-file-form): New function to distinguish
20868 file-form calls from outside from file-form calls from hunk-handlers.
20869 (byte-compile-file-form): Simplify.
20870 (byte-compile-file-form-defsubst): Remove.
20871 (byte-compile-file-form-defmumble): Simplify now that
20872 byte-compile-lambda always returns a byte-code-function.
20873 (byte-compile): Preprocess.
20874 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20875 Remove, not used any more.
20876 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20877 (byte-compile-make-args-desc): New funs.
20878 (byte-compile-lambda): Handle lexical functions. Always return
20879 a byte-code-function.
20880 (byte-compile-reserved-constants): New var, to make up room for
20881 closed-over variables.
20882 (byte-compile-constants-vector): Obey it.
20883 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20884 (byte-compile-macroexpand-declare-function): New function.
20885 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20886 byte-code-functions.
20887 (byte-compile-form): Check obsolescence here.
20888 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20889 (byte-compile-variable-ref): Remove.
20890 (byte-compile-dynamic-variable-op): New fun.
20891 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20892 (byte-compile-variable-set): New funs.
20893 (byte-compile-discard): Add 2 args.
20894 (byte-compile-stack-ref, byte-compile-stack-set)
20895 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20896 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20897 macroexpand-all instead.
20898 (byte-compile-quote-form): Remove.
20899 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20900 (byte-compile-bind, byte-compile-unbind): New funs.
20901 (byte-compile-let): Handle let* and lexical binding.
20902 (byte-compile-let*): Remove.
20903 (byte-compile-catch, byte-compile-unwind-protect)
20904 (byte-compile-track-mouse, byte-compile-condition-case):
20905 Handle a new :fun-body form, used for lexical scoping.
20906 (byte-compile-save-window-excursion)
20907 (byte-compile-with-output-to-temp-buffer): Remove.
20908 (byte-compile-defun): Simplify.
20909 (byte-compile-stack-adjustment): New fun.
20910 (byte-compile-out): Use it.
20911 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20912
20913 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20914 handler any more.
20915
20916 * emacs-lisp/byte-opt.el: Use lexical binding.
20917 (byte-inline-lapcode): Remove (to bytecomp).
20918 (byte-compile-inline-expand): Pay attention to inlining to/from
20919 lexically bound code.
20920 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20921 any more.
20922 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20923 any more and don't call compiler-macros.
20924 (byte-compile-splice-in-already-compiled-code): Remove.
20925 (byte-code): Don't inline any more.
20926 (disassemble-offset): Receive `bytes' as argument rather than via
20927 dynamic scoping.
20928 (byte-compile-tag-number): Declare before first use.
20929 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20930 `return' even if make-spliceable.
20931 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20932 obsolete interactive-p.
20933 (byte-optimize-lapcode): Optimize new lap-codes.
20934 Don't trip up on new form of `byte-constant' lap code.
20935
20936 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20937
20938 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20939
20940 * custom.el (custom-initialize-default, custom-declare-variable):
20941 Use `defvar'.
20942
20943 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20944 New variables.
20945 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20946 (COMPILE_FIRST): Add macroexp and cconv.
20947 * makefile.w32-in: Mirror changes in Makefile.in.
20948
20949 * vc/cvs-status.el:
20950 * vc/diff-mode.el:
20951 * vc/log-edit.el:
20952 * vc/log-view.el:
20953 * vc/smerge-mode.el:
20954 * textmodes/bibtex-style.el:
090bd7cb 20955 * textmodes/css-mode.el:
03408648
SM
20956 * startup.el:
20957 * uniquify.el:
da91b5f2
CY
20958 * minibuffer.el:
20959 * newcomment.el:
20960 * reveal.el:
20961 * server.el:
20962 * mpc.el:
20963 * emacs-lisp/smie.el:
20964 * doc-view.el:
20965 * dired.el:
03408648
SM
20966 * abbrev.el: Use lexical binding.
20967
0f0c1f27
EZ
209682011-04-01 Eli Zaretskii <eliz@gnu.org>
20969
20970 * info.el (info-display-manual): New function.
20971
c82b2579
SM
209722011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20973
20974 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20975
221ddf68
TH
209762011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20977
20978 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20979 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20980
cba6e77e
GM
209812011-03-31 Glenn Morris <rgm@gnu.org>
20982
e040639f
GM
20983 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20984
cba6e77e
GM
20985 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20986
6d0f1c9e
CS
209872011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20988
20989 * progmodes/python.el (python-default-interpreter)
20990 (python-python-command-args, python-jython-command-args)
20991 (python-which-shell, python-which-args, python-which-bufname)
20992 (python-file-queue, python-comint-output-filter-function)
20993 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20994 variables and functions.
20995
3e2d70fd
SM
209962011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20997
20998 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20999 (completion-in-region-mode): New minor mode.
21000 (completion-in-region): Use it.
21001 (completion-in-region--data, completion-in-region-mode-map): New vars.
21002 (completion-in-region--postch): New function.
21003 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21004 New vars.
21005 (completion--capf-wrapper): New function.
21006 (completion-at-point): Use it to track well-behavedness of
21007 hook functions.
21008 (completion-help-at-point): New command.
21009
f3e4086c
JM
210102011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21011
21012 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21013 syntax class to search for whitespace on a single line
21014 (Message-ID: <4D938140.4030905@redhat.com>).
21015
eb7ffc14
LL
210162011-03-30 Leo Liu <sdl.web@gmail.com>
21017
21018 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21019 New commands.
21020 (edit-abbrevs-map): Bind them here.
21021 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21022
d806ab68
KM
210232011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21024
21025 * allout.el (allout-hide-by-annotation, allout-flag-region):
21026 Reduce possibility of overlay leakage by making them volatile.
21027
21028 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21029 hash is not shared between buffers. Mode initialization is
21030 responsible for giving it a useful starting value.
21031 (allout-item-span): Reduce possibility of overlay leakage by
21032 making them volatile.
21033 (allout-widgets-count-buttons-in-region): Add diagnostic function
21034 for tracking down button overlay leaks.
21035
ea622834
LL
210362011-03-29 Leo Liu <sdl.web@gmail.com>
21037
21038 * ido.el (ido-read-internal): Use the default history var
21039 minibuffer-history if no HISTORY is specified.
21040
b62f8267
G
210412011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21042
03408648
SM
21043 * net/imap.el (imap-shell-open, imap-process-connection-type):
21044 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21045 Kerberos, SSL, other subprocesses.
21046
947b6566
LL
210472011-03-28 Leo Liu <sdl.web@gmail.com>
21048
21049 * abbrev.el (abbrev-table-empty-p): New function.
21050 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21051 nonempty ones. (Bug#5937)
21052
5ffb62aa
JD
210532011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21054
21055 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21056
7a097943
LL
210572011-03-27 Leo Liu <sdl.web@gmail.com>
21058
21059 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21060 for foreground and background colors.
21061 (ansi-color-make-color-map): Adapt.
21062
c5b40130
LL
210632011-03-25 Leo Liu <sdl.web@gmail.com>
21064
1f48f7d2
LL
21065 * midnight.el (midnight-time-float): Remove. Note it calculates
21066 the microsecond component incorrectly and seconds-to-time does the
21067 same job.
625897ec 21068 Remove redundant (require 'timer).
1f48f7d2 21069
c5b40130
LL
21070 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21071 (ido-completions): Remove unused arguments. (Bug#8329)
21072
d86d2721
SM
210732011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21074
21075 * minibuffer.el (completion--flush-all-sorted-completions):
21076 Remove itself from hook.
21077 (completion-at-point): Let the functions perform the completion
21078 immediately and return nil or t.
21079 * comint.el (comint-dynamic-complete-functions): Now identical to
21080 completion-at-point-functions.
21081 (comint-dynamic-list-input-ring): Remove unused var `index'.
21082 (comint--match-partial-filename, comint--unquote&expand-filename):
21083 New funs, split from comint-match-partial-filename.
21084 (comint-dynamic-complete): Use completion-at-point.
21085 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21086
e8974c48
DA
210872011-03-24 Drew Adams <drew.adams@oracle.com>
21088
21089 * thingatpt.el: Support `defun'.
21090
def71b5e
LL
210912011-03-23 Leo Liu <sdl.web@gmail.com>
21092
cb5af48e
LL
21093 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21094
def71b5e
LL
21095 * help-mode.el (help-mode-finish): Tweak regexp.
21096
927c53e7
GM
210972011-03-23 Glenn Morris <rgm@gnu.org>
21098
18d05bed
GM
21099 * eshell/esh-opt.el (eshell-eval-using-options):
21100 Do not bind unused local variable `eshell-option-stub'.
21101
927c53e7
GM
21102 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21103
9d0da923
JB
211042011-03-22 Juanma Barranquero <lekktu@gmail.com>
21105
21106 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21107 keymap variable in `with-no-warnings' to avoid a warning when the
21108 keymap has been already `defconst'ed.
21109
4b978a67
LL
211102011-03-22 Leo Liu <sdl.web@gmail.com>
21111
21112 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21113 encode all chars in abbrevs; otherwise use emacs-mule or
21114 utf-8-emacs. (Bug#8308)
21115
5fd62452
JB
211162011-03-22 Juanma Barranquero <lekktu@gmail.com>
21117
0b1596c6
JB
21118 * simple.el (backward-delete-char-untabify):
21119 Avoid warning about using `delete-backward-char'.
21120
5fd62452
JB
21121 * image.el (image-type-file-name-regexps): Make it variable.
21122 `imagemagick-register-types' modifies it, and the user may want
21123 to add new extensions for known image types.
21124 (imagemagick-register-types): Throw error if not using ImageMagick.
21125
0b4e93f1
LL
211262011-03-22 Leo Liu <sdl.web@gmail.com>
21127
21128 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21129 located before rcirc-prompt-end-marker.
21130 (rcirc-complete): Error if point is not after rcirc prompt.
21131 Handle the case when table is nil.
9882e214 21132 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21133
fccee4ab
CY
211342011-03-22 Chong Yidong <cyd@stupidchicken.com>
21135
21136 * custom.el (custom--inhibit-theme-enable): Make it affect only
21137 custom-theme-set-variables and custom-theme-set-faces.
21138 (provide-theme): Ignore custom--inhibit-theme-enable.
21139 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21140 (custom-enabling-themes): Delete variable.
d86d2721
SM
21141 (enable-theme): Accept only loaded themes as arguments.
21142 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21143 (custom-enabled-themes): Forbid themes from setting this.
21144 Eliminate use of custom-enabling-themes.
21145 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21146
af896da6
LL
211472011-03-21 Leo Liu <sdl.web@gmail.com>
21148
21149 * ido.el (ido-read-internal): Add ido-selected to history instead
21150 of user input.
21151
78f64af0
SM
211522011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21153
21154 * subr.el (deferred-action-list, deferred-action-function):
21155 Mark obsolete.
21156
b16ac1ec
LL
211572011-03-21 Leo Liu <sdl.web@gmail.com>
21158
810f7698
LL
21159 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21160 change on 2011-02-13 (bug#8309).
21161
b16ac1ec
LL
21162 * minibuffer.el (read-file-name-function): Change default value.
21163 (read-file-name--defaults): Rename from read-file-name-defaults.
21164 (read-file-name-default): Rename from read-file-name.
21165 (read-file-name): Call read-file-name-function.
21166
4e05e67e
GM
211672011-03-21 Glenn Morris <rgm@gnu.org>
21168
21169 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21170 Doc fixes.
21171
4359915b
CY
211722011-03-21 Chong Yidong <cyd@stupidchicken.com>
21173
21174 * cus-theme.el: Add missing provide statement.
21175 (customize-create-theme): Extract theme value correctly.
21176 (custom-theme-visit-theme): Autoload.
21177 (customize-create-theme): Prompt before inserting default faces.
21178
1fe275ee
JB
211792011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21180
21181 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21182 units and musical notes.
21183
cd394be1 211842011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21185
21186 * ido.el (ido-read-internal): Use completing-read-default.
21187 (ido-completing-read): Fix compatibility with completing-read.
21188
7d476bde
CO
211892011-03-20 Christian Ohler <ohler@gnu.org>
21190
21191 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21192 (ert-delete-all-tests): Use `called-interactively-p' rather than
21193 `interactive-p'.
21194 (ert--make-xrefs-region): Respect END.
21195
fe0fb33e
CY
211962011-03-19 Chong Yidong <cyd@stupidchicken.com>
21197
ff854b0b
CY
21198 * dired-aux.el (dired-create-directory): Signal an error if the
21199 directory already exists (Bug#8246).
21200
fe0fb33e
CY
21201 * facemenu.el (list-colors-display): Call list-faces-display
21202 inside with-help-window.
21203 (list-colors-print): Use display property to align the final
21204 column, instead of checking window-width.
21205
576bce32
EZ
212062011-03-19 Eli Zaretskii <eliz@gnu.org>
21207
4d61f28d 21208 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21209 windows-nt systems.
21210 (emerge-protect-metachars): Quote correctly for ms-dos and
21211 windows-nt systems.
21212
89c41d68 212132011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21214
21215 * info.el (info-initialize): Replace all uses of `:' with
21216 path-separator for compatibility with non-Unix systems.
21217 Cache quoting of path-separator. (Bug#8258)
21218
b14e3e21 212192011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21220
21221 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21222 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21223 (mouse-avoidance-mode): Fix typos in docstrings.
21224
4525ce3e
CY
212252011-03-19 Chong Yidong <cyd@stupidchicken.com>
21226
21227 * startup.el (package-subdirectory-regexp): Move from package.el.
21228 Omit \\` and \\', and let callers add them.
21229
21230 * emacs-lisp/package.el (package-strip-version)
21231 (package-load-all-descriptors): Add \\` and \\' to
21232 package-subdirectory-regexp before using it.
21233 (package-untar-buffer): New arg DIR; ensure that file untars only
21234 into this expected directory. Remove superfluous delete-region.
21235 (package-unpack): Caller changed.
21236 (package-tar-file-info): Use package-subdirectory-regexp.
21237
a904a09a 212382011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21239
a904a09a
SM
21240 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21241 diff-mode-shared-map (bug#8284).
21242 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21243
212442011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21245
21246 * calendar/time-date.el (format-seconds): Use assoc instead of
21247 assoc-string, since assoc-string doesn't exist in XEmacs.
21248
171fc304
JB
212492011-03-17 Juanma Barranquero <lekktu@gmail.com>
21250
21251 * custom.el (custom-known-themes): Reflow docstring.
21252 (custom-theme-load-path): Fix typo in docstring.
21253 (load-theme): Fix typo in error message.
21254 (custom-available-themes, custom-variable-theme-value):
21255 Use `let', not `let*'.
21256
d71990a1
JB
212572011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21258
21259 * calc/README: Mention inclusion of musical notes.
21260
21261 * calc/calc-units.el (calc-lu-quant): Rename from
21262 `calc-logunits-quantity'.
21263 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21264 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21265 (calc-db): Rename from `calc-dblevel'.
21266 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21267 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21268 (calc-np): Rename from `calc-nplevel'.
21269 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21270 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21271 (calc-lu-plus): Rename from `calc-logunits-add'.
21272 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21273 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21274 (calc-lu-minus): Rename from `calc-logunits-sub'.
21275 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21276 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21277 (calc-lu-times): Rename from `calc-logunits-mul'.
21278 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21279 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21280 (calc-lu-divide): Rename from `calc-logunits-div'.
21281 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21282 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21283
21284 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21285 functions being autoloaded.
21286
21287 * calc/calc.el (calc-lu-power-reference): Rename from
21288 `calc-logunits-power-reference'.
21289 (calc-lu-field-reference): Rename from
21290 `calc-logunits-field-reference'.
21291
7a71b18d
GM
21292 * calc/calc-help.el (calc-l-prefix-help):
21293 Mention musical note functions.
d71990a1 21294
40c2934b
SM
212952011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21296
21297 * minibuffer.el (completion-all-sorted-completions):
21298 Use :completion-cycle-penalty text property if present.
21299
b0911414
KM
213002011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21301
21302 * allout.el (allout-yank-processing): Adjust for new rebulleting
21303 regime so bullet being yanked is used without prompting the user
21304 for a choice.
21305
8a05b668
JB
213062011-03-16 Juanma Barranquero <lekktu@gmail.com>
21307
21308 * startup.el (command-line): Warn the user that _emacs is deprecated.
21309
5ba5fb81
JB
213102011-03-16 Juanma Barranquero <lekktu@gmail.com>
21311
21312 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21313 (delphi-verbose, delphi-comment-face, delphi-string-face)
21314 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21315 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21316 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21317 (delphi-new-comment-line, delphi-font-lock-defaults)
21318 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21319 Fix typos in docstrings.
21320
2dab465b
KM
213212011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21322
5ba5fb81 21323 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21324 Invert the roles of character and string values for INSTEAD, so a
21325 string is used for the more common case of a defaulting prompt.
21326
0adf5618
SM
213272011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21328
21329 * progmodes/ruby-mode.el (ruby-backward-sexp):
21330 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21331 * play/gamegrid.el (gamegrid-make-face):
21332 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21333 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21334 * notifications.el (notifications-notify):
21335 * net/xesam.el (xesam-search-engines):
21336 * net/quickurl.el (quickurl-list-insert):
21337 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21338
d72700e5
CY
213392011-03-15 Chong Yidong <cyd@stupidchicken.com>
21340
21341 * startup.el (command-line): Update package subdirectory regexp.
21342
49c5410a
SM
213432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21344
c6eee9aa
SM
21345 * allout.el (allout-abbreviate-flattened-numbering)
21346 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21347
49c5410a
SM
21348 * subr.el (read-char-choice): Only show the cursor after the prompt,
21349 not after the answer.
21350
047b2bb9
KR
213512011-03-15 Kevin Ryde <user42@zip.com.au>
21352
21353 * help-fns.el (variable-at-point): Skip leading quotes, if any
21354 (bug#8253).
21355
0a57d256
SM
213562011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21357
21358 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21359 warning message.
21360
77c992bc
MA
213612011-03-14 Michael Albinus <michael.albinus@gmx.de>
21362
21363 * shell.el (shell): When called interactively, offer to change the
21364 shell file name on remote hosts.
21365
eebc475d
TZ
213662011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21367
21368 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21369 integration for LDAP parameters. The host, base, user or binddn,
21370 and secret tokens can be specified in a netrc file, for instance.
21371 This is optional because an `auth-source' parameter must be
21372 specified in the search attributes.
21373
9d05d1ba
JB
213742011-03-13 Juanma Barranquero <lekktu@gmail.com>
21375
21376 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21377
09d9db2c
GM
213782011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21379
21380 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21381 into declaration. Remove redundant and harmful binding.
21382
213832011-03-12 Eli Zaretskii <eliz@gnu.org>
21384
21385 * files.el (file-ownership-preserved-p): Pass `integer' as an
21386 explicit 2nd argument to `file-attributes'. If the file's owner
21387 is the Administrators group on Windows, and the current user is
21388 Administrator, consider that a match.
21389
21390 * server.el (server-ensure-safe-dir): Consider server directory
21391 safe on MS-Windows if its owner is the Administrators group while
21392 the current Emacs user is Administrator. Use `=' to compare
21393 numerical UIDs, since they could be integers or floats.
21394
219bd536
JB
213952011-03-12 Juanma Barranquero <lekktu@gmail.com>
21396
21397 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21398
f3afd36b
MA
213992011-03-12 Michael Albinus <michael.albinus@gmx.de>
21400
21401 Sync with Tramp 2.2.1.
21402
21403 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21404
21405 * net/trampver.el: Update release number.
21406
3aaaa6f1
SM
214072011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21408
94642599
SM
21409 * progmodes/compile.el (compilation--previous-directory): Fix up
21410 various nil/dead-marker mismatches (bug#8014).
21411 (compilation-directory-properties, compilation-error-properties):
21412 Don't call it at a position past the one we're about to change.
21413
3aaaa6f1
SM
21414 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21415 Disable obsolescence warnings in the file that declares it.
21416
14239447
KM
214172011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21418
099c39a4
JB
21419 * allout-widgets.el (allout-widgets-tally):
21420 Initialize allout-widgets-tally as a hash table rather than nil to
21421 prevent mode-line redisplay warnings. Also, clarify the module
21422 description and fix a comment typo.
14239447 21423
135e287c
JB
214242011-03-11 Juanma Barranquero <lekktu@gmail.com>
21425
21426 * help-fns.el (describe-variable): Don't complete keywords.
21427 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21428
ffbf300e
CY
214292011-03-10 Chong Yidong <cyd@stupidchicken.com>
21430
ba08b241
CY
21431 * emacs-lisp/package.el (package-version-join): Impose a standard
21432 string representation for pre/alpha/beta version lists.
21433 (package-unpack-single): Standardize the directory name by passing
21434 it through package-version-join.
21435 (package-strip-rcs-id): Accept any version string that does not
21436 signal an error in version-to-list.
ffbf300e 21437
f346fd6b
MA
214382011-03-10 Michael Albinus <michael.albinus@gmx.de>
21439
21440 * simple.el (delete-trailing-whitespace): Return nil for the
21441 benefit of `write-file-functions'.
21442
ccb55d27
GM
214432011-03-10 Glenn Morris <rgm@gnu.org>
21444
5ceaac0c
GM
21445 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21446
02da65ff
GM
21447 * vc/vc-git.el (vc-git-program): New option.
21448 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21449 (vc-git--call): Use it.
21450
b2f603cc
GM
21451 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21452
5772caab
GM
21453 * cus-edit.el (Custom-newline): If no button at point, look
21454 for a subgroup button at start-of-line. (Bug#2298)
21455
ccb55d27
GM
21456 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21457
ec6ecaed
JD
214582011-03-10 Julien Danjou <julien@danjou.info>
21459
21460 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21461 `cursor-type' is nil.
21462
9d5aa01d
JB
214632011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21464
21465 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21466
b6a5875b
KM
214672011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21468
7a71b18d 21469 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21470 preserves the existing header prefix, rebulleting it if necessary,
21471 rather than replacing it. This is necessary for proper operation
21472 of cooperative addons like allout-widgets.
1154d12e
JB
21473 (allout-make-topic-prefix, allout-rebullet-heading):
21474 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21475 value as alternate bullet to be used, instead of prompting the user
21476 for a bullet character.
b6a5875b 21477
ee545c35
MA
214782011-03-09 Michael Albinus <michael.albinus@gmx.de>
21479
d86d2721
SM
21480 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21481 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21482 `tramp-default-port'.
21483
c47971d7
DD
214842011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21485
21486 * net/rcirc.el (rcirc-handler-001): Remove useless
21487 with-rcirc-process-buffer.
21488 (rcirc-check-auth-status): Swap arguments to string-match.
21489
13522cb4
GM
214902011-03-09 Glenn Morris <rgm@gnu.org>
21491
0be6f4f1
GM
21492 * shell.el (shell-mode):
21493 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21494
13522cb4
GM
21495 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21496 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21497
515de2e3
CY
214982011-03-08 Chong Yidong <cyd@stupidchicken.com>
21499
21500 * emacs-lisp/package.el (package-refresh-contents)
21501 (package-menu-execute): Use condition-case-no-debug.
21502
b511b994
MA
215032011-03-08 Michael Albinus <michael.albinus@gmx.de>
21504
21505 * simple.el (shell-command-to-string): Use `process-file'.
21506
21507 * emacs-lisp/package.el (package-tar-file-info): Handle also
21508 remote files.
21509
d86d2721
SM
21510 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21511 Use `equal' for upload base check.
b511b994 21512
25bbfb31
AM
215132011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21514
21515 * textmodes/texinfo.el (texinfo-environments):
21516 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21517
be996521
GM
215182011-03-08 Glenn Morris <rgm@gnu.org>
21519
e9c8529f
GM
21520 * cus-start.el (cursor-in-non-selected-windows):
21521 Fix :set quoting oddness. (Bug#8192)
21522
be996521
GM
21523 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21524 in some setf expressions. (Bug#2159)
21525
2bb5649e
CY
215262011-03-08 Chong Yidong <cyd@stupidchicken.com>
21527
21528 * custom.el (custom-available-themes): Return themes in
21529 alphabetical order.
21530
33383987 21531See ChangeLog.15 for earlier changes.
e3d51b27
MR
21532
21533;; Local Variables:
21534;; coding: utf-8
e3d51b27
MR
21535;; End:
21536
ab422c4d 21537 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
21538
21539 This file is part of GNU Emacs.
21540
21541 GNU Emacs is free software: you can redistribute it and/or modify
21542 it under the terms of the GNU General Public License as published by
21543 the Free Software Foundation, either version 3 of the License, or
21544 (at your option) any later version.
21545
21546 GNU Emacs is distributed in the hope that it will be useful,
21547 but WITHOUT ANY WARRANTY; without even the implied warranty of
21548 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21549 GNU General Public License for more details.
21550
21551 You should have received a copy of the GNU General Public License
21552 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.