* xml.el (xml-parse-string): Fix typo in handling of bad character references.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a1d23eb5
CY
12013-02-13 Chong Yidong <cyd@gnu.org>
2
3 * xml.el (xml-parse-string): Fix typo in handling of bad character
4 references.
5
e08e7d91
MA
62013-02-10 Michael Albinus <michael.albinus@gmx.de>
7
8 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
9 if DIR exists and PARENTS is non-nil.
10
e78e7e48
CY
112013-02-09 Chong Yidong <cyd@gnu.org>
12
13 * mail/emacsbug.el (report-emacs-bug): Change binding of
14 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
15
d23b0804
AM
162013-02-02 Alan Mackenzie <acm@muc.de>
17
18 Fix bug in the state cache mechanism. Remove 'BOD "strategy". Refactor.
19 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
20 (c-parse-state-get-strategy): Don't return 'BOD any more.
21 (c-append-lower-brace-pair-to-state-cache): Extra parameter HERE
22 instead of narrowing. Widen to top of buffer before searching
23 backwards for a brace pair.
24 (c-state-push-any-brace-pair): Add HERE parameter to function
25 call.
26 (c-append-to-state-cache): Extra parameter HERE in place of
27 narrowing. Narrow to parameter HERE, in place of being called
28 narrowed.
29 (c-remove-stale-state-cache): Extra parameter HERE in place of
30 narrowing. Check there's an open brace in the cache before
31 searching for its match.
32 (c-invalidate-state-cache-1): Add HERE parameter to function call.
33 (c-parse-state-1): Don't narrow here for 'forward strategy,
34 instead passing extra parameter HERE to several functions. Remove
35 'BOD strategy.
36
13841bfc
SM
372013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * mouse.el (mouse-drag-track): Always deactivate the mark before
40 running the final event's command since that command is in charge of
41 activating the mark if needed (bug#13523).
42
dc2bc295
JL
432013-02-01 Juri Linkov <juri@jurta.org>
44
45 * replace.el (perform-replace): Move let-bindings of isearch-*
46 variables deeper to the loop that searches for the next match.
47 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
48 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
49 (Bug#13579)
50
51 * isearch.el (isearch-search-fun-default): Check for null
52 first element of isearch-cmds as a precaution when it's used
53 with inactive isearch.
54
f864e0ea
AN
552013-02-01 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
56
57 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
58 error when buffer in question is narrowed so position 1 is out of
59 visible part.
60
fb77fe0f
GM
612013-01-31 Glenn Morris <rgm@gnu.org>
62
63 * textmodes/remember.el (remember-clipboard): Doc fix.
64
c517ec69
SM
652013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
66
67 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
68 properties (bug#13179).
69
c491dd70
GM
702013-01-30 Glenn Morris <rgm@gnu.org>
71
72 * mouse.el (mouse-drag-line): Avoid pushing same event onto
73 unread-command-events twice in some cases. This tries to implement
74 the 2012-07-26 changes in a different way. (Bug#13560)
75
6ff930c3
FEG
762013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
77
78 * progmodes/python.el
79 (python-pdbtrack-comint-output-filter-function): Enhancements on
80 stacktrace detection. (thanks @gnovak)
81
1886a16d
GM
822013-01-30 Glenn Morris <rgm@gnu.org>
83
84 * imenu.el (imenu-default-create-index-function):
85 Put back a version of the infinite loop test removed 2013-01-23.
86
e4497086
FEG
872013-01-28 Fabián Ezequiel Gallina <fgallina@cuca>
88
c517ec69
SM
89 * progmodes/python.el (python-shell-parse-command):
90 Find python-shell-interpreter with modified environment.
e4497086 91
beb6d07d
SM
922013-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
95
345f866e
FEG
962013-01-24 Fabián Ezequiel Gallina <fgallina@cuca>
97
98 * progmodes/python.el: Enhancements to header documentation about
99 skeletons. (Bug#5716)
100
ddc62155
FEG
1012013-01-23 Fabián Ezequiel Gallina <fgallina@cuca>
102
103 * imenu.el (imenu-default-create-index-function): Remove useless
104 infinite loop check. (Bug#13438)
105
267eacb5
AM
1062013-01-23 Alan Mackenzie <acm@muc.de>
107
108 Fix a bug in the state cache mechanism. Refactor this a bit.
109
110 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
111 `cache-pos' element from the return value.
112 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
113 buffer to enable proper searching from beyond HERE. Amend the
114 test for detecting the sought brace pair. Amend the value written
115 to the "brace desert cache" when the brace isn't found.
116 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
117 and several other variables analogously.
118 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
119 parameter to a locally calculated variable.
120 (c-parse-state-1): Change the calling conventions to the two
121 defuns involving `cache-pos'.
122
4d4ddaa7
CY
1232013-01-23 Chong Yidong <cyd@gnu.org>
124
125 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
126
2fc71e3c
LL
1272013-01-18 Leo Liu <sdl.web@gmail.com>
128
129 * dired.el (dired-get-marked-files): Prune erroneous values due to
130 last change. (Bug#13152)
131
19503d5a
GM
1322013-01-17 Glenn Morris <rgm@gnu.org>
133
134 * progmodes/etags.el (tags-table-check-computed-list):
135 Preserve point in tags buffer. (Bug#13412)
136
41b057ad
GM
1372013-01-16 Glenn Morris <rgm@gnu.org>
138
f8a42ad6
GM
139 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
140
41b057ad
GM
141 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
142 Revert 2012-12-29 change. Ref:
143 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00360.html>
144
50620051
FEG
1452013-01-10 Fabián Ezequiel Gallina <fgallina@cuca>
146
c517ec69
SM
147 * progmodes/python.el (python-nav-end-of-statement):
148 Fix cornercase when handling multiline strings.
50620051 149
3c855b96
GM
1502013-01-10 Glenn Morris <rgm@gnu.org>
151
152 * emacs-lisp/authors.el (authors-ignored-files)
153 (authors-valid-file-names, authors-renamed-files-alist):
154 Add some more entries.
155
08ce64e6
SM
1562013-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
157
158 * image-mode.el (image-mode-winprops): Don't throw away the fallback
159 `t' pseudo-window entry.
160
8cff5feb
AM
1612013-01-09 Alan Mackenzie <acm@muc.de>
162
163 Fix bugs in the c-parse-state mechanism. Reuse some markers
164 instead of continually generating new ones.
165
166 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
167 (c-state-old-cpp-end-marker): New variables.
168 (c-append-lower-brace-pair-to-state-cache): Start a backward
169 search for "}" definitively outside CPP constructs.
170 (c-remove-stale-state-cache): Inform the caller of a need to
171 search back for a brace pair in certain circumstances.
172 (c-state-maybe-marker): New macro.
173 (c-parse-state): Reuse markers when appropriate.
174
89c0dda8
GM
1752013-01-09 Glenn Morris <rgm@gnu.org>
176
177 * simple.el (execute-extended-command): Doc fix.
178 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
179
5b64ccd7
CY
1802013-01-09 Chong Yidong <cyd@gnu.org>
181
182 * faces.el (read-face-name): Doc fix.
183
c5ad92de
GM
1842013-01-09 Glenn Morris <rgm@gnu.org>
185
186 * emacs-lisp/trace.el (trace-function, trace-function-background):
187 Doc fix.
188
39a0786e
JL
1892013-01-09 Juri Linkov <juri@jurta.org>
190
191 * international/mule-cmds.el (read-char-by-name): Move let-binding
192 of completion-ignore-case around completing-read to fix regression
193 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
194 `string-match-p' using the nil value of `case-fold-search' and
195 `completion-ignore-case' in `completion-pcm--all-completions'.
196 (Bug#12615).
197
06364e64
GM
1982013-01-07 Glenn Morris <rgm@gnu.org>
199
200 * progmodes/compile.el (compilation-parse-errors):
201 Fix typo. (Bug#13369)
202
236a8f0c
VS
2032013-01-07 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
204
205 * comint.el (comint-send-input): Check size of buffer before
206 waiting for process output, in case already accepted. (Bug#13290)
207
f99ced35
MA
2082013-01-04 Michael Albinus <michael.albinus@gmx.de>
209
210 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
211 non-negative integers. Otherwise, the default values are used.
212 (tramp-convert-file-attributes): Convert uid and gid to integers.
213
ad235a8b
GM
2142013-01-03 Glenn Morris <rgm@gnu.org>
215
d2be4dcc
GM
216 * term.el (term-handle-colors-array): Ensure face attributes
217 are fully specified, not nil. (Bug#13337)
218
5b00b749
GM
219 * term.el (term-default-fg-color, term-default-bg-color):
220 Fix custom type.
221
220740a3
GM
222 * progmodes/etags.el (tags-compression-info-list): Doc fix.
223 (tag-find-file-of-tag-noselect): Check auto-compression-mode
224 rather than 'jka-compr being loaded. (Bug#13338)
225
ed5bdeb9
GM
226 * subr.el (eval-after-load): Don't purecopy the form, so that it
227 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
228
ad235a8b
GM
229 * emacs-lisp/byte-run.el (defun): Place cl declarations
230 after any interactive spec. (Bug#13265)
231
5cebef2d
AS
2322012-12-31 Andreas Schwab <schwab@linux-m68k.org>
233
234 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
235 defun. Don't check for DECL if DOCSTRING isn't a string.
236 (defun): Likewise.
237
4cddca30
GM
2382012-12-31 Glenn Morris <rgm@gnu.org>
239
5ee1772e
GM
240 * eshell/em-cmpl.el (eshell-pcomplete):
241 More thoroughly imitate pcomplete. (Bug#13293)
242
4cddca30
GM
243 * files.el (parse-colon-path): Doc fix. (Bug#12351)
244 Return nil for empty path elements. (Bug#13296)
245
6861432e
FEG
2462012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
247
248 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
249 order to improve efficiency (Based on Daniel Colascione's
250 <dancol@dancol.org> patch). (Bug#13182)
251
b83a2ddd
GM
2522012-12-31 Glenn Morris <rgm@gnu.org>
253
254 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
255
df4758b8
FEG
2562012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
257
258 * progmodes/python.el: Support other commands triggering
259 python-indent-line so indentation cycling continues to work.
260 (python-indent-trigger-commands): New defcustom.
261 (python-indent-line): Use it.
262
2632012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
264
265 * progmodes/python.el (python-shell-send-region): Add blank lines
266 for non sent code so backtraces remain correct.
267
bdcad781
AS
2682012-12-31 Andreas Schwab <schwab@linux-m68k.org>
269
270 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
271 neither DOCSTRING nor DECL was given. (Bug#13316)
272
8db39aeb
GM
2732012-12-30 Glenn Morris <rgm@gnu.org>
274
275 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
276 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
277 (rmail-summary-displayed, rmail-summary): Declare.
278 (mairix-rmail-display): Just require rmail.
279
3c94d7a6
CY
2802012-12-29 Chong Yidong <cyd@gnu.org>
281
282 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
283 check for the tarball contents.
284
af39894a
MF
2852012-12-29 Matt Fidler <matt.fidler@alcon.com> (tiny change)
286
287 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
288 tarfile content listings (Bug#13136).
289
bb709253
ML
2902012-12-29 Mark Lillibridge <mark.lillibridge@hp.com>
291
c517ec69
SM
292 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
293 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 294
3ee24a3b
MA
2952012-12-28 Michael Albinus <michael.albinus@gmx.de>
296
297 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
298 integers, if they are real numbers. (Bug#13282)
299
db590ef6
DG
3002012-12-26 Dmitry Gutov <dgutov@yandex.ru>
301
302 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
c517ec69
SM
303 "module" and "def" to have indentation before them.
304 Regression from 109911 (see the new test).
db590ef6 305
ea0857a1
DG
3062012-12-24 Dmitry Gutov <dgutov@yandex.ru>
307
308 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
309
3f6b93cd
AM
3102012-12-23 Alan Mackenzie <acm@muc.de>
311
312 Speed up fontification where there's large brace blocks.
313 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
314 to a call of c-beginning-of-decl-1.
315
594f37aa
CY
3162012-12-21 Chong Yidong <cyd@gnu.org>
317
318 * sort.el (sort-subr): Doc fix (Bug#13056).
319
acc650b8
BG
3202012-12-20 Bastien Guerry <bzg@gnu.org>
321
acc650b8
BG
322 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
323
14b8c3d9
AM
3242012-12-11 Alan Mackenzie <acm@muc.de>
325
326 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
327 * progmodes/cc-engine.el (c-backward-comments): Add code to work
328 around `forward-comment' not recognizing ^M as whitespace.
329
2c43a9ad
FEG
3302012-12-11 Fabián Ezequiel Gallina <fgallina@cuca>
331
332 * progmodes/python.el (python-skeleton-class)
333 (python-skeleton-def): Do not add space after defun name.
334
2c066ad3
CY
3352012-12-09 Chong Yidong <cyd@gnu.org>
336
337 * simple.el (set-mark-default-inactive): Mark as obsolete, for
338 removal after 24.3.
339
6ce49f24
DM
3402012-12-08 Dani Moncayo <dmoncayo@gmail.com>
341
342 * simple.el (just-one-space): Doc fix.
343
8d43bd30
EZ
3442012-12-07 Eli Zaretskii <eliz@gnu.org>
345
c517ec69
SM
346 * textmodes/texinfo.el (texinfo-enable-quote-envs):
347 Add "smallexample".
8d43bd30 348
3a21537c
LW
3492012-12-07 Le Wang <l26wang@gmail.com>
350
351 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
352 narrowed buffer (bug#12361).
353
61025111
MH
3542012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
355
356 * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
357 Virtually backported from trunk.
358
bf741d33
JB
3592012-12-07 Juanma Barranquero <lekktu@gmail.com>
360
361 * vc/vc-hooks.el (vc-state): Doc fix.
362
07026166
GM
3632012-12-06 Glenn Morris <rgm@gnu.org>
364
365 * mail/rmail.el (rmail-maybe-display-summary):
366 Preserve buffer, in case select-window changes it. (Bug#13066)
367
82e1f390
SM
3682012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
371 cl-load-hook where they belong.
372
e1d51545
CY
3732012-12-06 Chong Yidong <cyd@gnu.org>
374
375 * ffap.el (ffap-replace-file-component): Fix typo.
376
ef54d315
SM
3772012-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
378
379 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
380 fix open-paren-like token test (bug#12785).
381
52d129cd
GM
3822012-12-04 Glenn Morris <rgm@gnu.org>
383
384 * mail/rmailsum.el (rmail-new-summary): Tweak for
385 rmail-maybe-display-summary changing buffer. (Bug#13066)
386
68bf4e09
JL
3872012-12-03 Juri Linkov <juri@jurta.org>
388
389 * info.el (Info-fontify-node): Don't hide the last newline.
390 (Bug#12272)
391
ff3d86d0
LL
3922012-12-01 Leo Liu <sdl.web@gmail.com>
393
394 * files.el (dir-locals-read-from-file): Check file non-empty
395 before reading. (Bug#13038)
396
6247eff5
GM
3972012-11-28 Glenn Morris <rgm@gnu.org>
398
399 * jka-cmpr-hook.el (jka-compr-get-compression-info):
400 Remove any version extension before checking filename. (Bug#13006)
401 (jka-compr-compression-info-list): Belated :version bump.
402
a5bf43ba
CY
4032012-11-28 Chong Yidong <cyd@gnu.org>
404
8ecba97d
CY
405 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
406
a5bf43ba
CY
407 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
408 (buffer-menu): Doc fix (Bug#12294).
409
34755291
RW
4102012-11-27 Roland Winkler <winkler@gnu.org>
411
412 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
413 of diary-show-all-entries in the diary buffer (Bug#12994).
414
c2f5b60a
MA
4152012-11-27 Michael Albinus <michael.albinus@gmx.de>
416
417 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
418 "<STDIN>". This is binary safe.
419
369f945d
SM
4202012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * textmodes/table.el (table-insert): Don't use `symbol-name' on
423 lexically scoped variables (bug#13005).
424
999e745e 4252012-11-26 Glenn Morris <rgm@gnu.org>
98f99594 426
999e745e
GM
427 * vc/vc-hooks.el (vc-mistrust-permissions):
428 Default to t, to avoid data-loss. (Bug#11490)
98f99594 429
207cb73c
FEG
4302012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
431
999e745e
GM
432 * progmodes/python.el (python-indent-guess-indent-offset):
433 If indentation is guessed make python-indent-offset buffer-local.
434
207cb73c 435 Fix Imenu regression.
999e745e
GM
436 * progmodes/python.el (python-nav-beginning-of-defun):
437 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
438 (python-imenu-prev-index-position): New function.
439
33a488e4
EZ
4402012-11-26 Eli Zaretskii <eliz@gnu.org>
441
442 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
443
444 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 445 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 446
50207191
GM
4472012-11-26 Glenn Morris <rgm@gnu.org>
448
449 * hippie-exp.el (hippie-expand-try-functions-list):
450 Re-autoload it. (Bug#12982)
451
2147c6ab
EZ
4522012-11-25 Eli Zaretskii <eliz@gnu.org>
453
369f945d
SM
454 * descr-text.el (describe-char-padded-string):
455 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 456
58b1ae1e
AS
4572012-11-24 Andreas Schwab <schwab@linux-m68k.org>
458
459 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
460 and obsoletion message.
461
35a10516
SM
4622012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
465 the constructs to keep outside of the `cl-block' (bug#12977).
466
0c5ef133
CY
4672012-11-24 Chong Yidong <cyd@gnu.org>
468
469 * mouse.el (mouse-drag-line): Even if the line is not draggable,
470 keep reading until we get the up-event anyway, in order to process
471 the up-event for mouse-1-click-follows-link (Bug#12971).
472
002c019c
SM
4732012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
476 lexical-binding (bug#12938).
477
977f9325
WJ
4782012-11-23 Wolfgang Jenkner <wjenkner@inode.at>
479
480 * image-mode.el (image-transform-check-size): Use assertions only
481 for images of type imagemagick.
482
483 Otherwise no error, image-transform-fit-to-{width,height} is
484 silently ignored, as before. Doc fix.
485
bccffa83
CY
4862012-11-23 Chong Yidong <cyd@gnu.org>
487
488 * faces.el (color-defined-p): Doc fix (Bug#12853).
489
61a2a122
JL
4902012-11-23 Juri Linkov <juri@jurta.org>
491
492 * dired.el (dired-mark): Add optional arg `interactive'.
493 Check for `use-region-p' if `interactive' is non-nil.
494 (dired-unmark, dired-flag-file-deletion): Add optional arg
495 `interactive'. Call `dired-mark' with the arg `interactive'.
496 (Bug#10624)
497
cc4c01bd
JL
4982012-11-23 Juri Linkov <juri@jurta.org>
499
500 * wdired.el: Revert 2012-10-17 change partly and replace it with
501 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
502 (wdired-finish-edit): Add marks for new file names to
503 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
504 after `revert-buffer'.
505 (wdired-do-renames): Remove calls to `dired-remove-file',
506 `dired-add-file', `dired-add-entry'. (Bug#11795)
507
b03aabda
AM
5082012-11-21 Alan Mackenzie <acm@muc.de>
509
dc310ed0
AM
510 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
511
b03aabda
AM
512 Fix bugs in the state cache. Enhance a debugging mechanism.
513 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
514 "brace at column zero" strategy for C++.
515 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
516 (c-parse-state-point): New variable.
517 (c-record-parse-state-state): Record old parse state with
518 `copy-tree'. Record previous value of point.
519 (c-debug-parse-state-double-cons): New debugging function.
520 (c-debug-parse-state): Call the above new function.
521 (c-toggle-parse-state-debug): Output a confirmatory message.
522
002c019c
SM
523 * progmodes/cc-mode.el (c-before-change, c-after-change):
524 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
525 `c-after-change'.
526
a16ac13f
DC
5272012-11-20 Daniel Colascione <dancol@dancol.org>
528
002c019c
SM
529 * term/w32-win.el (cygwin-convert-path-from-windows):
530 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
a16ac13f
DC
531 This change is a backport from trunk.
532
7cf95797
EZ
5332012-11-20 Eli Zaretskii <eliz@gnu.org>
534
535 * simple.el (line-move): Don't call line-move-partial if
536 scroll-conservatively is in effect. (Bug#12927)
537
555ccdc2
MA
5382012-11-20 Michael Albinus <michael.albinus@gmx.de>
539
540 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
541 order to distinguish from trunk.
542
bc715d67
SM
5432012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
544
63f25172
SM
545 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
546 non-symbols for compiler macros (yet).
547
93b05041
SM
548 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
549 Fallback on completion-at-point rather than
550 pcomplete-expand-and-complete, and only if pcomplete actually failed.
551 (eshell-cmpl-initialize): Setup completion-at-point.
552
553 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
554
bc715d67
SM
555 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
556
d7f2a65c
MA
5572012-11-19 Michael Albinus <michael.albinus@gmx.de>
558
559 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
560 are remote, check out-of-band property for both.
561
d1c0cddf
SM
5622012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 * window.el (switch-to-buffer): Re-add the warning that was lost in the
565 code rewrite.
566
0c93aa38
PE
5672012-11-18 Paul Eggert <eggert@cs.ucla.edu>
568
535efd4a
PE
569 More minor time fixes.
570 * calendar/time-date.el: Commentary fix.
571 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
572 too much other code depends on (0 0) time stamps.
573 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
574 Add a couple of FIXME comments.
575
0c93aa38
PE
576 Minor cleanup for times as lists of four integers.
577 * files.el (dir-locals-directory-cache):
578 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
579 Doc fixes.
580 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
581 * ps-bdf.el (bdf-file-newer-than-time):
582 Process four-integers time stamps, not two. Doc fixes.
583
913c8291
GM
5842012-11-18 Glenn Morris <rgm@gnu.org>
585
586 * image.el (insert-image, insert-sliced-image): Doc fix.
587
ec6f8ce6
CY
5882012-11-17 Chong Yidong <cyd@gnu.org>
589
590 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
591 (Bug#12810).
592
c2d07557
CY
5932012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
594
595 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
596 response when the target file is in a subdirectory (Bug#12757).
597
33f8917c
CY
5982012-11-17 Chong Yidong <cyd@gnu.org>
599
600 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
601
65463c40
GM
6022012-11-17 Glenn Morris <rgm@gnu.org>
603
9a5e2ee3
GM
604 * woman.el (woman-non-underline-faces):
605 * emacs-lisp/cl-lib.el (face-underline-p):
606 Use set-face-underline rather than the alias set-face-underline-p.
607
65463c40 608 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
609 * subr.el (with-output-to-temp-buffer):
610 Add doc xref to with-temp-buffer-window.
65463c40 611
cdc5d88c
SM
6122012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * emacs-lisp/cl-lib.el: Set more meaningful version number.
615
0ff7851c
MR
6162012-11-16 Martin Rudalics <rudalics@gmx.at>
617
618 * window.el (enlarge-window, shrink-window): Don't mention return
619 value in doc-string (Bug#12896).
620 (window--display-buffer): Don't resize frames - it won't work
621 with all window managers and defeat pop-up-frame-alist.
622 (display-buffer-alist): In doc-string explain that CONDITION can
623 be a function and which arguments are passed to it (Bug#12854).
624 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
625 expressions (Bug#12854).
626 (display-buffer): Pass ACTION argument to
627 display-buffer-assq-regexp.
628
dedd1884
GM
6292012-11-16 Glenn Morris <rgm@gnu.org>
630
7c82753d
GM
631 * window.el (fit-frame-to-buffer-bottom-margin)
632 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
633
dedd1884
GM
634 * faces.el (face-underline-p): Use face-attribute-specified-or.
635
662b0ee6
JB
6362012-11-15 Juanma Barranquero <lekktu@gmail.com>
637
638 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
639
eb31fa40
SM
6402012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
643
e2e13f18
GM
6442012-11-15 Glenn Morris <rgm@gnu.org>
645
17c083ac
GM
646 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
647 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
648
bde3c6c0
GM
649 * faces.el (face-underline-p): Doc fix. Handle :underline being
650 things other than `t' (a string, a list).
651 (face-inverse-video-p): Doc fix.
652 (set-face-underline): Rename it back from set-face-underline-p.
653 Doc fix. Allow interactive input of values other than t.
654 (read-face-attribute): Apply formatting to :underline,
655 since like :box and :stipple it can take list values.
656
e2e13f18
GM
657 * term.el (ansi-term): Don't let C-x escape-char binding
658 clobber the more standard C-c binding. (Bug#12842)
659
3a514ab0
SM
6602012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
661
662 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
663 (bug#12879).
664
e0ea8060
GM
6652012-11-14 Glenn Morris <rgm@gnu.org>
666
667 * subr.el (set-temporary-overlay-map): Doc fix.
668
92346275
MR
6692012-11-13 Martin Rudalics <rudalics@gmx.at>
670
671 * window.el (record-window-buffer)
672 (display-buffer-record-window): When copying the markers to
673 window-point preserve window-point-insertion-type. (Bug#12588)
674
7b1bf173
GM
6752012-11-13 Glenn Morris <rgm@gnu.org>
676
677 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
678 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
679 Use new names for hooks rather than obsolete aliases.
680
f8705f6e
SM
6812012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
684
9db94175
WJ
6852012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
686
687 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
688 39 and 49. This fixes bug#12792. Also, treat unimplemented
689 parameters as 0, thereby restoring the behavior of revisions prior
690 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
691
2e6625b5
FEG
6922012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
693
694 Fix end-of-defun misbehavior.
695 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
696 python-beginning-of-defun-function. Handle nested defuns
697 correctly.
698 (python-nav-end-of-defun): Rename from
699 python-end-of-defun-function. Ensure forward movement.
f8705f6e 700 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
701 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
702 parent defuns as soon as possible.
703
24c38527
GM
7042012-11-12 Glenn Morris <rgm@gnu.org>
705
706 * progmodes/flymake.el (flymake-error-bitmap)
707 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
708 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
709
d1e1e53d
DG
7102012-11-12 Dmitry Gutov <dgutov@yandex.ru>
711
712 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
713 backward, always stop at indentation. Reverts the change from
714 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
715
68146aa5
GM
7162012-11-11 Glenn Morris <rgm@gnu.org>
717
a1d3e07e
GM
718 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
719 Add ibuffer-filter-by-derived-mode.
720
84acf328
GM
721 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
722 the same name shadowing each other.
723
38785e75
GM
724 * window.el (with-temp-buffer-window): Doc tweak.
725
57fc0fee
GM
726 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
727
6ba6a3e5
GM
728 * help.el (temp-buffer-max-height):
729 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
730 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
731
e4e46889
LL
7322012-11-10 Leo Liu <sdl.web@gmail.com>
733
734 * ido.el (ido-set-matches-1): Fix split-string args to avoid
735 performance issue. (Bug#12796)
736
19e09879
GM
7372012-11-10 Glenn Morris <rgm@gnu.org>
738
bf67dafa
GM
739 * term.el (term-default-fg-color, term-default-bg-color):
740 Make obsolete, rather than just saying "deprecated" in the doc.
741
19e09879
GM
742 * term.el (term): Rename from `term-face'.
743 (term-current-face, ansi-term-color-vector)
744 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
745 Update all users.
746
d743088d
JD
7472012-11-09 Jan Djärv <jan.h.d@swipnet.se>
748
f8705f6e 749 * server.el (server-create-window-system-frame): Improve comment.
d743088d 750
531bdce6
JD
7512012-11-08 Jan Djärv <jan.h.d@swipnet.se>
752
753 * server.el (server-create-window-system-frame): Handle Nextstep
754 specially (Bug#12780).
755
fedb154e
GM
7562012-11-08 Glenn Morris <rgm@gnu.org>
757
758 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
759 Unautoload, and make obsolete. (Bug#7449)
760
9d9e48d9
CY
7612012-11-08 Chong Yidong <cyd@gnu.org>
762
763 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
764 rename from diff-remove-trailing-whitespace (Bug#12831).
765
32170f7f
SM
7662012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
767
768 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
769 miscompilation of trace.el.
770
26f59676
GM
7712012-11-08 Glenn Morris <rgm@gnu.org>
772
773 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
774
41626722
SM
7752012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
778 (bug#12812).
779
7d806bfe
CY
7802012-11-07 Chong Yidong <cyd@gnu.org>
781
782 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
783 a defcustom with an appropriate :set function.
784 (minibuffer-default--in-prompt-regexps): New function.
785
2ee1d59f
GM
7862012-11-07 Glenn Morris <rgm@gnu.org>
787
031b2ea7
GM
788 * emacs-lisp/cl.el (define-setf-expander, defsetf)
789 (define-modify-macro): Doc fixes.
790
2ee1d59f
GM
791 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
792 (gv-define-simple-setter): Update doc of `fix-return'.
793
d57c286e
SM
7942012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
795
b715ed44
SM
796 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
797 twice when `fix-return' is set (bug#12813).
798
d57c286e
SM
799 * emacs-lisp/cl.el (defsetf): Pass the third arg to
800 gv-define-simple-setter (bug#12812).
801
c9cac599
SM
8022012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
805 (bug#12756).
806
6b3770fb
GM
8072012-11-06 Glenn Morris <rgm@gnu.org>
808
809 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
810
5593ed90
GM
8112012-11-05 Glenn Morris <rgm@gnu.org>
812
813 * emacs-lisp/cl-extra.el (cl-prettyexpand):
814 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
815 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
816 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
817
818 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
819
5c677d44
GM
8202012-11-03 Glenn Morris <rgm@gnu.org>
821
49138400
GM
822 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
823 Rename handler properties back from cl-- to cl-. (Bug#12788)
824
5c677d44
GM
825 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
826
1d4341f9
EZ
8272012-11-03 Eli Zaretskii <eliz@gnu.org>
828
829 * term/pc-win.el: Don't load term/internal from here.
830
831 * loadup.el: Load term/internal from here.
832
12fd5ee1
FEG
8332012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
834
835 * progmodes/python.el (inferior-python-mode): Fix hang in
836 jit-lock (Bug#12645).
837
43bcfda6
MR
8382012-11-03 Martin Rudalics <rudalics@gmx.at>
839
840 * window.el (switch-to-visible-buffer)
841 (switch-to-buffer-preserve-window-point): Fix doc-strings.
842
b4b096e4
SB
8432012-11-01 Stephen Berman <stephen.berman@gmx.net>
844
845 * play/gomoku.el (gomoku-display-statistics): Update mode line
846 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
847
218e997a
MR
8482012-10-31 Martin Rudalics <rudalics@gmx.at>
849
850 * window.el (quit-restore-window): If the window has been
851 created on an existing frame and ended up as the sole window on
852 that frame, do not delete it (Bug#12764).
853
b08b6da7
SM
8542012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
855
3618df45
SM
856 * progmodes/sh-script.el (sh--inside-noncommand-expression):
857 Rename from sh--inside-arithmetic-expression, handle more cases
858 (bug#11263).
859
b08b6da7
SM
860 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
861 (sh-font-lock-open-heredoc): Use it (bug#12770).
862
4ddedf94
GM
8632012-10-30 Glenn Morris <rgm@gnu.org>
864
f43a5263
GM
865 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
866
4ddedf94
GM
867 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
868
748b0d84
CY
8692012-10-29 Chong Yidong <cyd@gnu.org>
870
b5dd9a77
CY
871 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
872 function key is stored in a keyboard macro (Bug#4894).
873
748b0d84
CY
874 * thingatpt.el (number-at-point): Apply a thing-at-point property.
875
e07fcbdc
SM
8762012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
877
d7f9cc85
SM
878 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
879 header comments".
880 (diff-unified->context, diff-context->unified)
881 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
882
c606253c
SM
883 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
884
e07fcbdc
SM
885 * files.el (find-alternate-file): Only ask one question (bug#12487).
886
894b9dd9
CY
8872012-10-29 Chong Yidong <cyd@gnu.org>
888
1dc2755a
CY
889 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
890 Suggested by Dan Nicolaescu (Bug#6326).
891
329c48d8
CY
892 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
893
2230fa5b 894 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 895
e84cad57
CY
896 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
897
1913c5f5
CY
898 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
899
894b9dd9
CY
900 * face-remap.el (face-remap-add-relative): Handle the case where a
901 face-remapping-alist entry is a cons cell (Bug#12762).
902
329c48d8
CY
9032012-10-29 Kevin Ryde <user42@zip.com.au>
904
905 * woman.el (woman-parse-numeric-value): Handle picas correctly
906 (Bug#12639).
907
a0ccbcbd
GM
9082012-10-29 Glenn Morris <rgm@gnu.org>
909
910 * emacs-lisp/cl.el (defsetf): Doc fix.
911
b3871e59
SM
9122012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
913
914 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
915 syntax to the matching opener, if any (bug#12547).
916 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
917 matching open as a "case-(".
918 (sh-smie-rc-grammar): Add a corresponding rule for it.
919
cd44022c
DH
9202012-10-28 Daniel Hackney <dan@haxney.org>
921
922 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
923 "PKGNAME-autoloads.el" in case we created it.
924
70edffb1
SM
9252012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
926
86957a0c
SM
927 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
928 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 929 (completion--twq-all): Disable too-strict assertions.
86957a0c 930
70edffb1
SM
931 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
932
d069271c
EZ
9332012-10-27 Eli Zaretskii <eliz@gnu.org>
934
935 * profiler.el (profiler-report-make-entry-part): Fix help-echo
936 text to match the real keybindings.
937
e2f022a3
JL
9382012-10-27 Juri Linkov <juri@jurta.org>
939
940 * wdired.el (wdired-keep-marker-rename): New defcustom.
941 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
942 (Bug#11795)
943
944 * dired.el (dired-keep-marker-rename): Add reference to
945 `wdired-keep-marker-rename' in the docstring.
946 Add default character value ?R to display initially in
947 Customization UI instead of ?@.
948
df171c23
MR
9492012-10-27 Martin Rudalics <rudalics@gmx.at>
950
951 * window.el (display-buffer): In doc-string describe
952 window-height and window-width alist entries.
953
954 * time.el (display-time-world): Restore fit-window-to-buffer
955 behavior.
956
05b621a6
CY
9572012-10-27 Chong Yidong <cyd@gnu.org>
958
959 * subr.el (insert-buffer-substring-as-yank): Doc fix.
960
55f197b2
J
9612012-10-26 Jambunathan K <kjambunathan@gmail.com>
962
963 * minibuffer.el (completion-category-overrides): New completion
964 category `bookmark' (bug#11131).
965
372212df
SM
9662012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
967
150f809c
SM
968 * emacs-lisp/advice.el (ad-assemble-advised-definition):
969 Silence bogus compiler warnings for ad-do-it.
970
372212df
SM
971 * bookmark.el (bookmark-completing-read): Set the completion category
972 to `bookmark' (bug#11131).
973
c5772569
B
9742012-10-26 Bastien <bzg@altern.org>
975 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * face-remap.el: Use lexical-binding.
978 (text-scale-adjust): Improve docstring. Use itself for the temporary
979 overlay-map bindings, so as to repeat the "Use..." message each time.
980
a2be0357
SM
9812012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
982
63314e57
SM
983 * emacs-lisp/macroexp.el (macroexp--expand-all):
984 Obey byte-compile-warning-enabled-p (bug#12486).
985
a2be0357
SM
986 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
987 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
988
8c7727c3
MR
9892012-10-26 Martin Rudalics <rudalics@gmx.at>
990
991 * mouse.el (mouse-drag-line): Move last form into preceding when
992 clause (Bug#12731).
993
994 * help.el (resize-temp-buffer-window): Fix doc-string.
995
3f2a848d
DE
9962012-10-25 David Engster <deng@randomsample.de>
997
998 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 999 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1000
1001 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1002 always loaded. Require `speedbar' unconditionally.
1003
a7723be6
SM
10042012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1005
aaabfc8b
SM
1006 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1007
414a8595
SM
1008 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1009
fb5b9475
SM
1010 * net/ldap.el (ldap-search-internal): The official ldif format starts
1011 with a "version: 1" header (bug#12724).
1012
a7723be6
SM
1013 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1014 (bug#12721).
1015
a05cb6e3
GM
10162012-10-25 Glenn Morris <rgm@gnu.org>
1017
1018 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1019
3c92de70
SM
10202012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 * minibuffer.el (minibuffer-force-complete): Use one more marker
1023 for the temporary-overlay-map command (bug#12619).
1024
a4b6d7c6
CY
10252012-10-24 Chong Yidong <cyd@gnu.org>
1026
1027 * time.el (display-time-world-mode): Derive from special-mode.
1028 (display-time-world): Use display-buffer (Bug#12708).
1029 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1030 (display-time-world-display): Wrap the final delete-char inside
1031 inhibit-read-only.
a4b6d7c6 1032
75e8f9d2
CY
10332012-10-24 Chong Yidong <cyd@gnu.org>
1034
cd996018
CY
1035 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1036 Doc fix.
1037
75e8f9d2
CY
1038 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1039
d92df117
SM
10402012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1041
1042 * minibuffer.el (completion--all-sorted-completions-location): New var.
1043 (completion--cache-all-sorted-completions)
1044 (completion--flush-all-sorted-completions): Use it.
1045 (completion-in-region, completion-in-region--postch)
1046 (completion-at-point, completion-help-at-point): Use markers in
1047 completion-in-region--data (bug#12619).
1048
9c3e39f3
SM
10492012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1050
c79825bd
SM
1051 * progmodes/compile.el (compilation-start): Try to handle common
1052 quoting of `cd' argument (bug#12640).
1053
9c3e39f3
SM
1054 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1055 (bug#12671).
1056
a6709bc7
GM
10572012-10-23 Glenn Morris <rgm@gnu.org>
1058
1059 * progmodes/gud.el (gud-menu-map):
1060 Check gdb-active-process is bound. (Bug#12358)
1061
d1069532
SM
10622012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1063
d20d69c0
SM
1064 * repeat.el (repeat): Set real-this-command (bug#12232).
1065
d1069532
SM
1066 * htmlfontify.el (hfy-post-html-hook):
1067 * filesets.el (filesets-cache-fill-content-hook):
1068 * arc-mode.el (archive-extract-hook):
1069 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1070 * net/rcirc.el (rcirc-sentinel-functions)
1071 (rcirc-receive-message-functions, rcirc-activity-functions)
1072 (rcirc-print-functions):
1073 * net/dbus.el (dbus-event-error-functions):
1074 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1075 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1076 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1077 * term/sun.el (sun-raw-prefix-hooks):
1078 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1079
f7eac6d8
MA
10802012-10-23 Michael Albinus <michael.albinus@gmx.de>
1081
d1069532
SM
1082 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1083 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
1084 (tramp-smb-wait-for-output): Add timeout to
1085 `tramp-accept-process-output' calls.
1086
608d9d7c
CY
10872012-10-23 Chong Yidong <cyd@gnu.org>
1088
49238e7f
CY
1089 * faces.el (font-list-limit): Define as an obsolete variable.
1090
1091 * startup.el (command-line):
1092 * cus-start.el: Don't refer to font-list-limit.
1093
608d9d7c
CY
1094 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1095
4ff5b1b2
SM
10962012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1097
1098 * subr.el (internal-temp-output-buffer-show): Rename from
1099 temp-output-buffer-show, since previously compiled files expect this name.
1100
ea1d4aac
GM
11012012-10-23 Glenn Morris <rgm@gnu.org>
1102
1103 * image.el (image-type-from-file-name): If multiple types match,
1104 return the first one that is supported. (Bug#9045)
1105
eda82a31
GM
11062012-10-22 Glenn Morris <rgm@gnu.org>
1107
1108 * image.el (imagemagick-enabled-types): Doc fix.
1109
4f020bec
TA
11102012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1111
1112 * progmodes/which-func.el (which-func-current): The hash-table may have
1113 an explicit nil (bug#12338).
1114
c77d37e2
SM
11152012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1116
1117 * electric.el (electric-pair-delete-selection-self-insert-function):
1118 Rename to electric-pair-will-use-region, return a boolean.
1119 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1120
1121 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1122 (delete-selection-pre-hook): Use use-region-p.
1123 (delete-selection-self-insert-function): Remove.
1124 (self-insert-command): Obey self-insert-uses-region-functions.
1125 (self-insert-iso): Revert to previous setting, since we don't actually
1126 know what that command does.
1127 (delete-selection-self-insert-hooks): Remove.
1128
b1d39ccc
SL
11292012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1130
1131 * delsel.el (delete-selection-helper): New function, extracted from
1132 delete-selection-pre-hook.
1133 (delete-selection-pre-hook): Use it.
1134 (delete-selection-self-insert-function): New function.
1135 (delete-selection-self-insert-hooks): New hook.
1136 (self-insert-command, self-insert-iso): Use it.
1137 * electric.el (electric-pair-syntax): New function, extracted from
1138 electric-pair-post-self-insert-function.
1139 (electric-pair-post-self-insert-function): Use it.
1140 (electric-pair-delete-selection-self-insert-function): New function.
1141 (electric-pair-mode): Require delsel and setup
1142 delete-selection-self-insert-hooks (bug#11520).
1143
045ef729
CY
11442012-10-20 Chong Yidong <cyd@gnu.org>
1145
4c5d08a8
CY
1146 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1147 no changes to show (Bug#12586).
1148
045ef729
CY
1149 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1150 list explicitly (Bug#12571).
1151
3503c798 11522012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1153
b1d39ccc
SL
1154 * progmodes/flymake.el (flymake-create-temp-inplace):
1155 Use file-truename.
79e1997a 1156
2068905b
EZ
11572012-10-20 Eli Zaretskii <eliz@gnu.org>
1158
1159 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1160
4c9e9550
JB
11612012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1162
1163 * calc/calc-units.el (math-extract-units): Properly extract powers
1164 of units.
1165
1a6e7e38
DC
11662012-10-20 Daniel Colascione <dancol@dancol.org>
1167
1168 * frame.el (make-frame): Set x-display-name as we used to in order
1169 to unbreak creating an X11 frame from an Emacs daemon started
1170 without a display.
1171
8e808318
SM
11722012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1173
1174 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1175 the same completion-field (bug@12221).
1176
fb0104da
MR
11772012-10-19 Martin Rudalics <rudalics@gmx.at>
1178
1179 * emacs-lisp/debug.el (debug): Record height of debugger window
1180 also when debugger will be back (Bug#8789).
1181
8c27235e
CY
11822012-10-18 Chong Yidong <cyd@gnu.org>
1183
1184 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1185 Convert to defcustom.
1186 (gdb-get-source-file): Don't bind pop-up-windows.
1187
1188 * progmodes/gud.el (gud-display-line): Don't specially re-use
1189 other frames for the gdb-mi case (Bug#12648).
1190
90eacf99
SM
11912012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1192
aaf0c300
SM
1193 * emacs-lisp/advice.el: Clean up commentary a bit.
1194 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1195 (byte-code-function-p): Never redefine.
1196
90eacf99
SM
1197 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1198
281c9d2b
GM
11992012-10-18 Glenn Morris <rgm@gnu.org>
1200
40714e3d
GM
1201 * dired.el (dired-sort-toggle): Some ls implementations only allow
1202 a single option string. (Bug#12666)
1203
281c9d2b
GM
1204 * minibuffer.el (completion-cycle-threshold): Doc fix.
1205
b278604e
KH
12062012-10-17 Kenichi Handa <handa@gnu.org>
1207
90eacf99
SM
1208 * international/mule.el (set-keyboard-coding-system):
1209 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1210 Supply TERMINAL arg to set-input-meta-mode.
1211
df171c23 12122012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1213
1214 * wdired.el (wdired-old-marks): New variable.
1215 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1216 (wdired-do-renames): Move point with renamed file and don't lose
1217 mark status (Bug#11795).
1218
e5a94ec4
JL
12192012-10-16 Juri Linkov <juri@jurta.org>
1220
1221 * replace.el (query-replace-help): Mention multi-buffer replacement
1222 keys in the Help message. (Bug#12655)
1223
d18a0d24
CY
12242012-10-15 Chong Yidong <cyd@gnu.org>
1225
1226 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1227
8111f5e6
EZ
12282012-10-14 Eli Zaretskii <eliz@gnu.org>
1229
7b9abf24
EZ
1230 * window.el (display-buffer): Doc fix.
1231
8111f5e6
EZ
1232 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1233 Adjust the msft regexp to the output of Studio 2010, and move msft
1234 before edg-1. See the discussion on emacs-devel,
1235 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1236 for the details.
1237
5046ef67
SM
12382012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1239
9760c73c
SM
1240 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1241 (oset): Move uses of object-class-fast macro after its definition.
1242
5046ef67
SM
1243 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1244
0d11ff1c
CY
12452012-10-13 Chong Yidong <cyd@gnu.org>
1246
1247 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1248 enabled, re-enable it (Bug#11963).
1249
88ded8ac
MR
12502012-10-13 Martin Rudalics <rudalics@gmx.at>
1251
1252 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1253 non-nil, restore window configuration (Bug#12623).
1254
bd0ffffd
SM
12552012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1256
06485aa8
SM
1257 * help-fns.el (describe-variable, describe-function-1):
1258 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1259
bd0ffffd
SM
1260 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1261
3a989246
GM
12622012-10-12 Glenn Morris <rgm@gnu.org>
1263
1264 * mail/rmailsum.el (rmail-header-summary):
1265 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1266
55cd00c8
FEG
12672012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1268
bd0ffffd
SM
1269 * progmodes/python.el (python-mode-map):
1270 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1271 (python-nav--up-list): Fix behavior for blocks on the same level.
1272
ac9fc2c7
SM
12732012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1274
d8cc4c00 1275 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1276
5253a5fd
SM
1277 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1278 changes to the format of load-history.
1279
ac9fc2c7
SM
1280 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1281 completion-ignore-case in case that var is buffer-local (bug#12615).
1282
cde44a77
KH
12832012-10-11 Kenichi Handa <handa@gnu.org>
1284
1285 * international/eucjp-ms.el: Re-generated.
1286
4ef4a10d
KH
12872012-10-10 Kenichi Handa <handa@gnu.org>
1288
1289 * select.el (xselect--encode-string): If a coding is specified for
1290 selection, and that is compatible with COMPOUND_TEXT, use it.
1291
9d7f027b
MR
12922012-10-10 Martin Rudalics <rudalics@gmx.at>
1293
1294 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1295 (switch-to-buffer):
1296 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1297
238f3a58
SM
12982012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1299
1300 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1301 Don't document nil as a useful value (bug#12583).
1302
1d51f99c
MA
13032012-10-09 Michael Albinus <michael.albinus@gmx.de>
1304
238f3a58
SM
1305 * net/tramp.el (tramp-debug-message):
1306 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1307 (with-tramp-progress-reporter): Rename from
1308 `tramp-with-progress-reporter'.
238f3a58
SM
1309 (with-tramp-file-property, with-tramp-connection-property):
1310 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1311 `with-connection-property', respectively.
1312
1313 * net/tramp-cache.el: Remove `with-file-property' and
1314 `with-connection-property'.
1315
1316 * net/tramp.el:
1317 * net/tramp-gvfs.el:
1318 * net/tramp-sh.el:
1319 * net/tramp-smb.el: Adapt callees.
1320
1321 * net/trampver.el: Update release number.
1322
26b77251
GM
13232012-10-09 Glenn Morris <rgm@gnu.org>
1324
9a5f296f
GM
1325 * w32-fns.el (set-message-beep):
1326 * term/w32-win.el (set-message-beep): Update declarations.
1327
94c66ce5
SM
13282012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1329
10766e9e
SM
1330 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1331 (mode-line-widen, mode-line-input-method-map)
1332 (mode-line-coding-system-map, mode-line-remote)
1333 (mode-line-unbury-buffer, mode-line-bury-buffer)
1334 (mode-line-next-buffer, mode-line-previous-buffer):
1335 Replace save-selected-window+select-window => with-selected-window.
1336
f754db08
SM
1337 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1338 * progmodes/cc-vars.el (bq-process): Remove, unused.
1339
94c66ce5
SM
1340 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1341
a4ff7fe1
FEG
13422012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1343
1344 Implemented `backward-up-list'-like navigation.
1345 * progmodes/python.el (python-nav-up-list)
1346 (python-nav-backward-up-list): New functions.
1347 (python-mode-map): Define substitute key for backward-up-list to
1348 python-nav-backward-up-list.
1349
24517d82
FEG
13502012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1351
1352 * progmodes/python.el (python-fill-paragraph): Rename from
1353 python-fill-paragraph-function. Fixed fill-paragraph for
1354 decorators (Bug#12605).
1355
51867ae2
FEG
13562012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1357
1358 * progmodes/python.el (python-shell-output-filter): Handle extra
1359 carriage return in OSX (Bug#12409).
1360
a5b773c4
FEG
13612012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1362
1363 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1364 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1365 (python-syntax-propertize-function): Use it.
1366 (python-shell-output-syntax-table): New var.
1367 (inferior-python-mode): Prevent unbalanced parens/quotes from
1368 previous output mess with current input context.
1369
13373538
JB
13702012-10-08 Juanma Barranquero <lekktu@gmail.com>
1371
1372 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1373 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1374
775a132d
MA
13752012-10-08 Michael Albinus <michael.albinus@gmx.de>
1376
1377 * ffap.el (ffap-replace-file-component): Support Tramp file name
1378 syntax, not only ange-ftp's one.
1379
3ab44929
GM
13802012-10-08 Glenn Morris <rgm@gnu.org>
1381
57f1dee4
GM
1382 * cus-start.el (message-log-max): Set :version.
1383
3ab44929
GM
1384 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1385
6a088630
MR
13862012-10-08 Martin Rudalics <rudalics@gmx.at>
1387
1388 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1389 the minibuffer window (Bug#10851).
1390
8dbce54c
FEG
13912012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1392
1393 Enhancements on forward-sexp movement.
1394 * progmodes/python.el (python-nav-beginning-of-statement)
1395 (python-nav-end-of-statement): Return point-marker.
1396 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1397 (python-info-current-symbol)
1398 (python-info-statement-starts-block-p): Rename from
1399 python-info-beginning-of-block-p.
1400 (python-info-statement-ends-block-p): Rename from
1401 python-info-end-of-block-p.
1402 (python-info-beginning-of-statement-p)
1403 (python-info-end-of-statement-p)
1404 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1405 New functions.
1406
5acd2b3e
SM
14072012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1410 frame-selected-windows.
1411
e08348a0
DC
14122012-10-08 Daniel Colascione <dancol@dancol.org>
1413
1414 * battery.el (battery-status-function): Check for
1415 w32-battery-status itself, not system-time windows-nt.
1416
1417 * frame.el: Require cl-lib.
1418 (display-format-alist): New variable mapping frame types to
1419 functions that initialize them.
1420 (window-system-for-display): New function: interprets
1421 display-format-alist.
1422 (make-frame-on-display): Remove existing display-selection logic
1423 and just forward to make-frame, which will now DTRT.
1424 (make-frame): Restructure to use window-system-for-display to
1425 figure out how to create a frame on a given display.
1426 (display-mouse-p): Look for frame-type w32, not a particular
1427 system-type.
1428
1429 * loadup.el: Load w32 lisp code when we have the w32 feature.
1430
1431 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1432 system-type windows-nt.
1433
1434 * server.el (server-create-window-system-frame): Look for window
1435 type.
1436 (server-proces-filter): Only force a window system when windows-nt
1437 _and_ w32. Explain why.
1438
1439 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1440 of window systems we configure for the mode.
1441
1442 * startup.el (command-line): Mark window system is initialized
1443 after we've done it.
1444
1445 * common-win.el (x-select-text): Look for w32, not windows-nt.
1446
1447 * ns-win.el: Require cl-lib. Add ourselves to
1448 display-format-alist.
1449 (ns-initialize-window-system): Assert we're not initialized twice.
1450
1451 * w32-win.el: Enable lexical binding; require cl-lib; add
1452 ourselves to display-format-alist.
1453 (w32-handle-dropped-file): Convert incoming dropped files from
1454 Windows paths to Cygwin ones before passing them on to the rest of
1455 Emacs.
1456 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1457 (w32-initialize-window-system): Assert we're not initialized twice.
1458
1459 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1460 (x-initialize-window-system): Assert we're not initialized twice.
1461
1462 * w32-common-fns.el: New File.
1463 (w32-version, w32-using-nt, w32-get-clipboard-data)
1464 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1465 (w32-charset-info-alist, x-last-selected, text)
1466 (x-get-selection-value, x-selection-value): Move here.
1467
1468 * w32-fns.el: Require w32-common-fns.
1469 (w32-version, w32-using-nt, w32-get-clipboard-data)
1470 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1471 (w32-charset-info-alist, x-last-selected, text)
1472 (x-get-selection-value, x-selection-value): Move to
1473 w32-common-fns.
1474
1475 * w32-vars.el:
1476 (w32-allow-system-shell, w32-system-shells): Define only in
1477 non-cygwin case.
1478
795b1482
SM
14792012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1480
1481 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1482 (read-passwd): Remove a few more potential sources of leaks.
1483
f27c99dc
FEG
14842012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1485
1486 * progmodes/python.el (inferior-python-mode)
795b1482 1487 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1488 variables copied from parent buffer.
1489
fcacb558
JD
14902012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1491
1492 * term/ns-win.el (ns-read-file-name): Update declaration to match
1493 nsfns.m.
1494 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1495 it is set when font is acted upon.
1496
be0d5bae
FEG
14972012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1498
1499 Enhancements to indentation.
1500 * progmodes/python.el (python-indent-context): Give priority to
1501 inside-string context. Make comments indentation markers.
1502 (python-indent-region): Do not mess with strings, unless it's the
1503 enclosing set of quotes.
1504
13af0d10
SM
15052012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1506
662a9d0e
SM
1507 * window.el (internal--before-save-selected-window)
1508 (internal--after-save-selected-window): New functions extracted from
1509 save-selected-window. Make sure we return the `alist' we construct.
1510 (save-selected-window): Use them.
1511
1512 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1513 Use with-selected-window.
1514
13af0d10
SM
1515 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1516 forms that define macros (bug#12593).
1517
6aa75fb6
KH
15182012-10-07 Kenichi Handa <handa@gnu.org>
1519
13af0d10
SM
1520 * international/mule-conf.el (compound-text-with-extensions):
1521 Add :mime-charset property as x-ctext.
6aa75fb6 1522
78d876b9
SM
15232012-10-07 Stefan Merten <smerten@oekonux.de>
1524
1525 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1526 (rst-indent-literal-normal, rst-indent-literal-minimized)
1527 (rst-indent-comment): Correct :version tag.
557337e9 1528 (rst-official-cvs-rev): Correct version string.
78d876b9 1529
99a1e701
GM
15302012-10-07 Glenn Morris <rgm@gnu.org>
1531
1532 * mail/rmailmm.el (rmail-mime-process-multipart):
1533 Do not confuse a multipart message with an epilogue
1534 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1535
08f18c3d
FEG
15362012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1537
1538 Fix shell output retrieval and comint-prompt-regexp init.
1539 * progmodes/python.el (inferior-python-mode):
1540 (python-shell-make-comint): Fix initialization of
1541 comint-prompt-regexp from copied file local variables.
1542 (python-shell-fetched-lines): Remove var.
1543 (python-shell-output-filter-in-progress): Rename from
1544 python-shell-fetch-lines-in-progress.
1545 (python-shell-output-filter-buffer): Rename from
1546 python-shell-fetch-lines-string.
1547 (python-shell-fetch-lines-filter): Delete function.
1548 (python-shell-output-filter): New function.
1549 (python-shell-send-string-no-output): Use them.
1550
82ed3ab4
GM
15512012-10-07 Glenn Morris <rgm@gnu.org>
1552
1595ecfa
GM
1553 * hi-lock.el (hi-lock-process-phrase):
1554 Try to make it less fragile. (Bug#7161)
1555
82ed3ab4
GM
1556 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1557
f1f4dba0
GM
15582012-10-06 Glenn Morris <rgm@gnu.org>
1559
addc11ed 1560 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1561 non-existent mode `help'.
1562 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1563
460042b8
GM
1564 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1565 (reftex-create-bibtex-footer): Fix custom types.
1566
67667c70
GM
1567 * progmodes/sh-script.el (sh-indent-after-continuation):
1568 Add explicit :group.
1569
18dec750
GM
1570 * textmodes/rst.el (rst-preferred-decorations)
1571 (rst-shift-basic-offset): Clarify obsolescence versions.
1572
d1a1c7e6
GM
1573 * profiler.el (profiler): Add missing group :version tag.
1574 * avoid.el (mouse-avoidance-banish-position):
1575 * proced.el (proced-renice-command):
1576 * calc/calc.el (calc-ensure-consistent-units):
1577 * calendar/icalendar.el (icalendar-import-format-uid):
1578 * net/tramp.el (tramp-save-ad-hoc-proxies):
1579 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1580 * progmodes/flymake.el (flymake-error-bitmap)
1581 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1582 * progmodes/sh-script.el (sh-indent-after-continuation):
1583 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1584 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1585 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1586 (vhdl-array-index-record-field-in-sensitivity-list)
1587 (vhdl-indent-comment-like-next-code-line):
1588 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1589 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1590 (reftex-cite-key-separator, reftex-create-bibtex-header)
1591 (reftex-create-bibtex-footer):
1592 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1593 (rst-indent-literal-normal, rst-indent-literal-minimized)
1594 (rst-indent-comment): Add missing custom :version tags.
1595
ef35abb4
GM
1596 * calendar/timeclock.el (timeclock-modeline-display):
1597 Add missing obsolete alias for renamed user option.
1598
d1aae614
GM
1599 * strokes.el (strokes-modeline-string):
1600 * emulation/crisp.el (crisp-mode-modeline-string):
1601 * eshell/esh-mode.el (eshell-status-in-modeline):
1602 Aliases to defcustoms must come before the defcustom.
1603
f1f4dba0
GM
1604 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1605 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1606 (cal-tex-cursor-week-monday): Doc fixes.
1607 (cal-tex-cursor-week2-summary): Doc fix.
1608 Rename from cal-tex-cursor-week-at-a-glance.
1609
1610 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1611 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1612
1613 * calendar/calendar.el (calendar-mode-map):
1614 Add cal-tex-cursor-week2-summary.
1615
d39109c3
SM
16162012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1617
685f87b0
SM
1618 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1619
d39109c3
SM
1620 * subr.el (read-passwd-map): New var.
1621 (read-passwd): Use `read-string' again.
1622 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1623
5694896d
J
16242012-10-06 Jambunathan K <kjambunathan@gmail.com>
1625
1626 * register.el (append-to-register, prepend-to-register):
1627 Deactivate mark, as does `copy-to-register' (bug#12389).
1628
9414dd8d
CY
16292012-10-06 Chong Yidong <cyd@gnu.org>
1630
1631 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1632
2b89bca4
KH
16332012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1634
1635 * international/characters.el: Fix simple mistake ((car chars) ->
1636 elt), delete duplicated code.
1637
d5acb99a
GM
16382012-10-06 Glenn Morris <rgm@gnu.org>
1639
1640 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1641
123ec157
JS
16422012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1643
1644 * color.el (color-hsl-to-rgb): Fix incorrect results for
1645 small and large hue values. (Bug#12559)
1646
7fa36ccb
FEG
16472012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1648
1649 Enhancements to docstring formatting when filling paragraphs.
1650 * progmodes/python.el (python-fill-docstring-style): Rename from
1651 python-fill-string-style. Added new style.
1652 (python-fill-string): Use new style. Better checks for
1653 docstrings.
1654
d8788e1e
GM
16552012-10-05 Glenn Morris <rgm@gnu.org>
1656
204f3953
GM
1657 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1658
d8788e1e
GM
1659 * color.el (color-name-to-rgb, color-rgb-to-hex)
1660 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1661 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1662 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1663 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1664
8d956cef
GM
1665 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1666
e8757f09 16672012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1668
1669 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1670 to get the correct size across symlinks.
1671
e8757f09
GM
1672 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1673
0e2ae83d
JL
16742012-10-04 Juri Linkov <juri@jurta.org>
1675
1676 * replace.el (query-replace-interactive): Declare obsolete.
1677 (query-replace-read-from): Add the last incremental search string
1678 to the list of default values accessible via M-n.
1679 (map-query-replace-regexp): Use `read-regexp'.
1680 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1681 (map-query-replace-regexp, replace-string, replace-regexp):
1682 Fix docstrings to replace mentions of `query-replace-interactive'
1683 with alternatives. (Bug#12526)
1684
93cacb6d
JL
16852012-10-04 Juri Linkov <juri@jurta.org>
1686
1687 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1688 (dired-pop-to-buffer): Declare obsolete.
1689 (dired-mark-pop-up): Doc fix.
1690
fc345011
FEG
16912012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1692
1693 Allow user to set docstring style for fill-paragraph.
1694 * progmodes/python.el
1695 (python-fill-comment-function, python-fill-string-function)
1696 (python-fill-decorator-function, python-fill-paren-function):
1697 Remove :safe for defcustoms.
1698 (python-fill-string-style): New defcustom
5694896d 1699 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1700 (python-fill-string): Honor python-fill-string-style settings.
1701
6bab5d8b
MR
17022012-10-04 Martin Rudalics <rudalics@gmx.at>
1703
1704 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1705 after setting its buffer (Bug#10805).
1706
a1a9f411
FEG
17072012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1708
1709 Fix cornercase for string syntax.
1710 * progmodes/python.el (python-syntax-propertize-function):
1711 Simplify and enhance the regexp for unescaped quotes. Now it also
1712 matches quotes in weird situations like the single quote in
1713 "something\"'".
1714 (python-syntax-stringify): Simplify num-quotes detecting code.
1715
05e153a6
GM
17162012-10-03 Glenn Morris <rgm@gnu.org>
1717
1718 * help-macro.el (three-step-help):
1719 Revert 2012-09-29 change. (Bug#12567)
1720
2e566ecb
MR
17212012-10-03 Martin Rudalics <rudalics@gmx.at>
1722
96ef9ccd
MR
1723 * menu-bar.el (kill-this-buffer): Don't do anything when
1724 `menu-frame' is not alive or visible (Bug#8184).
1725
2e566ecb
MR
1726 * emacs-lisp/debug.el (debug): When quitting the debugger window
1727 restore current buffer (Bug#12502).
1728
a96e1cb7
CY
17292012-10-02 Chong Yidong <cyd@gnu.org>
1730
5694896d
J
1731 * progmodes/hideif.el (hif-lookup, hif-defined):
1732 Handle semantic-c-takeover-hideif.
a96e1cb7 1733
b3ecad33
PE
17342012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1735
1736 Change sampling interval units from ms to ns.
1737 * profiler.el (profiler-sampling-interval): Change units
1738 from ms to ns, multiplying the default by 1000000 so that
1739 it remains 1 ms.
1740 (profiler-report-cpu-line-format): Give enough room for
1741 the maximum counters on 64-bit hosts.
1742 (profiler-report-render-calltree-1): Call them "CPU samples",
1743 not "Time (ms)", since they are not milliseconds now (and
1744 never really were).
1745
8cb51b66 17462012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1747
5694896d
J
1748 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1749 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1750
fd795bf4
CY
17512012-10-02 Chong Yidong <cyd@gnu.org>
1752
1753 * emacs-lisp/eieio.el: Restore Version header.
1754
fe0a74f9
SM
17552012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1756
6be9197e
SM
1757 * vc/diff-mode.el (diff--auto-refine-data): New var.
1758 (diff-hunk): Use it to delay refinement.
1759 (diff-mode): Remove overlays when we turn off font-lock.
1760
18486139
SM
1761 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1762 (table-initialize-table-fixed-width-mode)
1763 (table-set-table-fixed-width-mode): Remove functions.
1764 (table-command-list): Move initialization into declaration.
1765 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1766 (table-with-cache-buffer): Use `declare'.
1767 (table-span-cell): Simplify via CSE.
1768 (table-fixed-width-mode): Use define-minor-mode.
1769 (table-call-interactively, table-funcall, table-apply): Remove.
1770 (table-function): New function, to replace them.
1771
d83ef976
SM
1772 * bookmark.el (bookmark-search-pattern): Remove var.
1773 (bookmark-read-search-input): Remove function.
1774 (bookmark-bmenu-search): Reimplement using a minibuffer.
1775
cd386662
SM
1776 * faces.el (modeline): Remove obsolete face name.
1777
fe0a74f9
SM
1778 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1779 and give a non-nil default value.
1780 (add-change-log-entry): Simplify accordingly.
1781
9f7b98f8
DG
17822012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1783
1784 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1785 (vc-git-log-edit-toggle-amend): New function.
1786 (vc-git-log-edit-toggle-signoff): New function.
1787 (vc-git-log-edit-mode): New major mode.
1788 (vc-git-log-edit-mode-map): Keymap for it.
1789 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1790
1791 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1792 header names.
1793 (log-edit-toggle-header): New function.
1794 (log-edit-extract-headers): Accept function values in HEADERS alist.
1795
62a81506
CY
17962012-10-01 David Engster <deng@randomsample.de>
1797
1798 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1799 from symbol property and change message to be more consistent with
1800 Emacs proper.
1801 (eieio-describe-generic): Add filename for each implementation.
1802 Fix indices for generic and normal methods.
1803 (eieio-method-def, eieio-class-def): New buttons.
1804 (eieio-help-find-method-definition)
1805 (eieio-help-find-class-definition): New functions.
1806 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1807 class, constructor and method definitions.
1808
1809 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1810 information in symbol property.
1811 (scoped-class): Remove.
1812 (eieio-slot-name-index, call-next-method): Check if it is bound.
1813
18142012-10-01 Leo P. White <lpw25@cam.ac.uk>
1815
1816 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1817 (eieio-custom-mode): New major mode.
1818 (eieio-customize-object): Use it.
1819
18202012-10-01 Eric Ludlam <zappo@gnu.org>
1821
1822 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1823 specifying the expected class, and whether subclassing is allowed.
1824 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1825 (eieio-persistent-validate/fix-slot-value)
1826 (eieio-persistent-slot-type-is-class-p): New functions.
1827 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1828
1829 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1830 Stop using unused publd variable.
1831
1832 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1833 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1834 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1835 (eieio-speedbar-handle-click): Do not specify a class for the
1836 method. Fixes method invocation order problems with EDE.
1837
375e49d4
SM
18382012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1841 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1842
16ce6ccd
KF
18432012-10-01 Karl Fogel <kfogel@red-bean.com>
1844
1845 * bookmark.el (bookmark-version-control): Give tags in the
1846 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1847 (bookmark-write-file): Bind `print-circle' to `t' to allow
1848 circular custom bookmark types. (Bug#12503)
16ce6ccd 1849
19e54a4d
PE
18502012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1851
86ec63ba
PE
1852 Revert the FOLLOW-SYMLINKS change for file-attributes.
1853 * files.el (remote-file-name-inhibit-cache, after-find-file):
1854 * time.el (display-time-file-nonempty-p): Undo last change.
1855
19e54a4d
PE
1856 * profiler.el (profiler-sampling-interval): Change default back to 1.
1857 See Stefan Monnier in
1858 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1859
0478776b
FEG
18602012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1861
1862 Shell output catching a la gud-gdb.
1863 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1864 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1865 New Vars.
0478776b
FEG
1866 (python-shell-fetch-lines-filter): New function.
1867 (python-shell-send-string-no-output): Use them.
1868
c22bac2c
TM
18692012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1870
1871 * profiler.el (profiler-sampling-interval): Rename from
1872 profiler-sample-interval.
1873 (profiler-sampling-interval): Default to 10.
1874 (profiler-find-profile): New command (was profiler-find-log).
1875 (profiler-find-profile-other-window): New command.
1876 (profiler-find-profile-other-frame): New command.
1877 (profiler-profile): Introduce API-level data structure.
1878
e7a2937b
PE
18792012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1880
1881 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1882 * files.el (remote-file-name-inhibit-cache):
1883 * time.el (display-time-file-nonempty-p): Use it.
1884 * files.el (after-find-file): Don't chase links before calling
1885 file-exists-p, as file-exists-p already does the right thing.
1886
4f595e15
RA
18872012-09-30 Ralf Angeli <angeli@caeruleus.net>
1888
1889 Merge from standalone RefTeX repository.
1890
1891 The following ChangeLog entries are shortened versions of the
1892 original ones with file paths adapted. A not so strongly edited
1893 version of the original ChangeLog can be found in the commit log.
1894
1895 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1896 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1897 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1898
1899 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1900 that entries with whitespace at various places are found.
1901 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1902 Include @String definitions in the resulting bib file. Add header
1903 and footer defined in `reftex-create-bibtex-header' and
1904 `reftex-create-bibtex-footer'.
1905 (reftex-do-citation): Make it possible again to insert
1906 non-existent entries. Save match data when asking for optional
1907 arguments. Return all keys, not just the first one.
1908 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1909 all citations in the same line.
1910 (reftex-parse-bibtex-entry): Accept additional optional argument
1911 `raw' and keep quotes or braces if it is non-nil. Match fields
1912 containing hyphens besides word constituents.
1913 (reftex-get-string-refs): New function.
1914 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1915 and ask if it should be reread in case it did.
1916 (reftex-pop-to-bibtex-entry)
1917 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1918 entries with spaces or tabs in front of arguments.
1919 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1920 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1921 Match entries containing numbers and symbol constituents.
1922 (reftex-do-citation, reftex-figure-out-cite-format):
1923 Use `reftex-cite-key-separator'.
4f595e15
RA
1924
1925 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1926 (reftex-mouse-view-crossref): Explain why point is set.
1927
1928 * textmodes/reftex-global.el: Whitespace changes.
1929
1930 * textmodes/reftex-index.el: Move provide statement to end of
1931 file.
1932 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1933 (reftex-index-visit-phrases-buffer): Set marker when visiting
1934 buffer. This allows for returning from the phrases file to the
1935 file one was just editing instead of the file where the last
1936 phrases was added from.
1937 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1938 punctuation syntax as it usually is not used as string quote in
1939 TeX-related modes and may occur unmatched. The change also
1940 prevents fontification of quoted content.
1941 (reftex-index-phrases-mode): Use it.
1942
375e49d4
SM
1943 * textmodes/reftex-parse.el (reftex-parse-from-file):
1944 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1945 (reftex-parse-from-file): Use beginning of match instead of end as
1946 bound.
1947
1948 * textmodes/reftex-ref.el: Adapt creation of
1949 `reftex-<package>-<macro>' functions to new structure of
1950 `reftex-ref-style-alist'.
375e49d4
SM
1951 (reftex-reference): Use `reftex-ref-style-list' function.
1952 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1953 reference macro if `reftex-ref-macro-prompt' is non-nil.
1954 (reftex-reference): Pass refstyle to `reftex-format-special'.
1955 Determine reference macro by looking at
375e49d4
SM
1956 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1957 Use only one special format function.
4f595e15
RA
1958 (reftex-varioref-vref, reftex-fancyref-fref)
1959 (reftex-fancyref-Fref): Remove definitions. The functions are now
1960 generated from `reftex-ref-style-alist'.
1961 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1962 Remove.
1963 (reftex-format-special): New function.
1964
1965 * textmodes/reftex-sel.el
1966 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1967 of `reftex-ref-style-alist'. Remove code for testing macro type.
1968 (reftex-select-toggle-varioref)
1969 (reftex-select-toggle-fancyref): Remove.
1970 (reftex-select-cycle-ref-style-internal)
1971 (reftex-select-cycle-ref-style-forward)
1972 (reftex-select-cycle-ref-style-backward): New functions.
1973 (reftex-select-label-map): Use `v' and `V' for general cycling
1974 through reference styles. Add `p' for switching between number
1975 and page reference types.
1976
375e49d4
SM
1977 * textmodes/reftex-toc.el (reftex-re-enlarge):
1978 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1979 the horizontal version throws an error even if the parameter is 0.
1980
1981 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1982 (reftex-plug-into-AUCTeX): Doc fix.
1983 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1984 string. Adapt to new name.
1985 (reftex-ref-style-alist): Change structure so that it is not
1986 possible to use multiple different package names within a style.
375e49d4
SM
1987 Remove the symbols for symbols for macro type distinction.
1988 Add characters for macro selection.
4f595e15
RA
1989 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1990 (reftex-create-bibtex-footer): New variables.
1991 (reftex-format-ref-function): Mention third argument of special
1992 format function.
375e49d4
SM
1993 (reftex-ref-style-alist, reftex-ref-style-default-list):
1994 New variables.
4f595e15
RA
1995 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1996 to new implementation. Mark as obsolete. Add compatibility code
1997 for honoring the variable values in case they are set.
375e49d4
SM
1998 (reftex-cite-format-builtin, reftex-bibliography-commands):
1999 Add support for ConTeXt.
2000 (reftex-format-ref-function, reftex-format-cite-function):
2001 Fix custom type.
4f595e15
RA
2002 (reftex-cite-key-separator): New variable.
2003
2004 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2005 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2006 `reftex-syntax-table' because parens have to retain their paren
2007 syntax in order for parsing of BibTeX entries like @book(...) to
2008 work.
2009 (reftex-in-comment): Do not error out if `comment-start-skip' is
2010 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2011 (reftex-tie-multifile-symbols): Add doc string.
2012 Initialize `reftex-ref-style-list'.
4f595e15
RA
2013 (reftex-untie-multifile-symbols): Add doc string.
2014 (reftex-add-index-macros): Doc fix.
2015 (reftex-ref-style-activate, reftex-ref-style-toggle)
2016 (reftex-ref-style-list): New functions.
2017 (reftex-mode-menu): Use them. Adapt to new structure of
2018 `reftex-ref-style-alist'.
2019 (reftex-select-with-char): Kill the RefTeX Select buffer when
2020 done.
2021 (reftex-remove-if): New function.
2022 (reftex-erase-all-selection-and-index-buffers)
2023 (reftex-mode-menu): Reference styles are now computed from
2024 `reftex-ref-style-alist'. Fix typo.
2025 (reftex-report-bug): New function.
2026 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2027 algorithms with O(n log n). Introduce optional argument SORT (not
2028 yet used).
2029
440ba395
FEG
20302012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2031
2032 Enhancements for triple-quote string syntax.
375e49d4
SM
2033 * progmodes/python.el (python-syntax-propertize-function):
2034 Match both quote cases in one regexp.
440ba395
FEG
2035 (python-syntax-stringify): Handle matches properly.
2036
4c478e6b
JL
20372012-09-30 Juri Linkov <juri@jurta.org>
2038
2039 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2040 to nil around the call to `insert' to prevent
4c478e6b
JL
2041 directory time modification by lock_file. (Bug#2295)
2042 * tar-mode.el (tar-summarize-buffer): Idem.
2043
d80d54b2
JL
20442012-09-30 Juri Linkov <juri@jurta.org>
2045
2046 * facemenu.el (list-colors-sort): Add option "Luminance".
2047 (list-colors-sort-key): Implement it.
2048
2049 * vc/diff-mode.el (diff-refine-removed):
2050 * vc/ediff-init.el (ediff-fine-diff-A):
2051 * vc/smerge-mode.el (smerge-refined-removed):
2052 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2053
d7e642cc
JD
20542012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2055
2056 * term/ns-win.el (x-file-dialog): New function.
2057
ee41332b
JB
20582012-09-30 Juanma Barranquero <lekktu@gmail.com>
2059
2060 * ido.el (ido-max-directory-size): Default to nil; the current
2061 default is small for POSIX systems, and impractical on Windows 7
2062 now that lstat returns directory sizes for NTFS.
2063
5938d519
MR
20642012-09-30 Martin Rudalics <rudalics@gmx.at>
2065
2066 In buffer display functions handle window-height/window-width
2067 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
2068 * window.el (window--display-buffer): New argument ALIST.
2069 Obey window-height and window-width alist entries.
2070 (window--try-to-split-window): New argument ALIST.
2071 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
2072 changed and window-combination-limit equals `window-size'.
2073 (display-buffer-in-atom-window)
2074 (display-buffer-in-major-side-window)
2075 (display-buffer-in-side-window, display-buffer-same-window)
2076 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2077 (display-buffer-pop-up-window, display-buffer-below-selected)
2078 (display-buffer-at-bottom, display-buffer-in-previous-window)
2079 (display-buffer-use-some-window): Adjust all callers of
2080 window--display-buffer and window--try-to-split-window.
2081 (fit-frame-to-buffer): New option.
2082 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2083 is non-nil.
2084 (display-buffer-in-major-side-window): Evaluate window-height /
2085 window-width alist entries.
2086
2087 * help.el (temp-buffer-resize-frames)
2088 (temp-buffer-resize-regexps): Remove options.
2089 (temp-buffer-resize-mode): Adjust doc-string.
2090 (resize-temp-buffer-window): Don't consult
2091 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2092 temp-buffer-resize-frames.
2093
375e49d4
SM
2094 * dired.el (dired-mark-pop-up):
2095 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
2096 entry.
2097
c4c0c2df
CY
20982012-09-30 Chong Yidong <cyd@gnu.org>
2099
48de8b12
CY
2100 * server.el (server-host): Document the security implications.
2101 (server-auth-key): Doc fix.
2102
2103 * startup.el (initial-buffer-choice): Doc fix.
2104
2105 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2106
a97dc380
CY
2107 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2108 restriction change.
2109
d39d3c8e
CY
2110 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2111
c4c0c2df
CY
2112 * help-fns.el (help-fns--obsolete): Fix last change.
2113
98a5e33b
SM
21142012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2115
34cf6f39
SM
2116 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2117 (minor-mode-map-alist): Remove redundant code.
2118
e01c13fe
SM
2119 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2120 visited in a buffer.
2121 (cvs-insert-visited-file): New function.
2122 (find-file-hook): Use it.
2123
2124 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2125
02661b3a
SM
2126 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2127 chose face.
2128 (log-edit-empty-buffer-p): Don't require a space after a header.
2129
43711d4b
SM
2130 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2131
38a30d64
SM
2132 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2133
4ffb41a9
SM
2134 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2135 a proper minor-mode.
2136
98a5e33b
SM
2137 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2138
de82e29b
GM
21392012-09-29 Glenn Morris <rgm@gnu.org>
2140
5cc2e639
GM
2141 * winner.el (winner-mode): Remove variable (let define-minor-mode
2142 handle it).
2143 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2144 Doc fixes.
2145 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2146 (winner-mode): Use define-minor-mode.
2147
7bd302eb
GM
2148 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2149 the full definition in loaddefs, rather than duplicating it.
2150
2923922f 2151 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2152
0e3e4156
GM
2153 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2154 (inferior-lisp-program, inferior-lisp-load-command)
2155 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2156 No need to autoload defcustoms.
0e3e4156 2157
de82e29b
GM
2158 * hippie-exp.el (hippie-expand-try-functions-list)
2159 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2160 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2161 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2162 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2163 * progmodes/vhdl-mode.el (vhdl-line-expand):
2164 Explicitly load hippie-exp, so it does not get autoloaded
2165 while hippie-expand-try-functions-list is let-bound.
2166
e60b51ab
GM
21672012-09-28 Glenn Morris <rgm@gnu.org>
2168
277f0cfa
GM
2169 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2170
e60b51ab
GM
2171 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2172 Only "cl.el" counts as cl these days.
2173
53baf48a
JL
21742012-09-28 Juri Linkov <juri@jurta.org>
2175
2176 Display archive errors in the echo area instead of inserting
2177 to the file buffer.
2178
2179 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2180 to STDERR-TEST that can be a regexp matching a successful output.
2181 Create a temporary file and redirect stderr to it. Search for
2182 STDERR-TEST in the stderr output and display it in the echo area
2183 if no match is found.
2184 (archive-extract-by-file): New function like
2185 `archive-extract-by-stdout' but extracting archives to files
2186 and looking for successful matches in stdout. Function body is
2187 mostly copied from `archive-rar-extract'.
2188 (archive-rar-extract): Use `archive-extract-by-file'.
2189 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2190
9c1228c3
LL
21912012-09-28 Leo Liu <sdl.web@gmail.com>
2192
375e49d4
SM
2193 * pcomplete.el (pcomplete-show-completions):
2194 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2195
9c1228c3
LL
2196 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2197
7f457c06
SM
21982012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2199
3df749b0
SM
2200 * type-break.el: Use lexical-binding.
2201 (type-break-mode): Use define-minor-mode.
2202
7f457c06
SM
2203 * emacs-lisp/pcase.el (pcase--mark-used): New.
2204 (pcase--u1): Use it (bug#12512).
2205
2206 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2207 in load-history with the right file name.
2208
c00ebc98
TH
22092012-09-28 Tassilo Horn <tsdh@gnu.org>
2210
2211 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2212 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2213 (doc-view-get-bounding-box): Make bounding box slicing work for
2214 ODF and DVI documents.
2215
96fb7170
GM
22162012-09-28 Glenn Morris <rgm@gnu.org>
2217
2218 * type-break.el (type-break-mode, type-break-interval)
2219 (type-break-good-rest-interval, type-break-keystroke-threshold):
2220 No need to autoload.
2221 (type-break-good-rest-interval, type-break-keystroke-threshold):
2222 Add :set-after.
2223
5bc93c67
CY
22242012-09-28 Chong Yidong <cyd@gnu.org>
2225
2226 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2227 Add :version tag.
2228
9cad61d6
SM
22292012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2230
e28e67b3 2231 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2232
daee954c
GM
22332012-09-27 Glenn Morris <rgm@gnu.org>
2234
a88324d4
GM
2235 * faces.el (x-display-name): Declare (for without-x builds).
2236
8e5064e5
GM
2237 * linum.el (linum-format): Don't autoload it. Improve :type.
2238
cc1783c2
GM
2239 * progmodes/tcl.el: Don't require outline when compiling.
2240 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2241 * textmodes/sgml-mode.el: Don't require outline when compiling.
2242 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2243
48c339f2
GM
2244 * term.el (term-ansi-reset):
2245 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2246
daee954c
GM
2247 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2248 files for RCS and SCCS. (Bug#9781)
2249
b7f42161
CY
22502012-09-27 Chong Yidong <cyd@gnu.org>
2251
2252 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2253 change; value should be t.
2254
a2e770db
SM
22552012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2256
83600dc8
SM
2257 * image-mode.el: Use lexical-binding.
2258 (image-mode-winprops): Use t to stand for the window of
2259 a buffer that's not displayed.
2260 * doc-view.el (doc-view-new-window-function): Handle the new
2261 t in winprops.
2262 (doc-view-enlarge): Make it a real nop if the size is not changed.
2263 (doc-view-display): Handle the case where the buffer is not (yet?)
2264 displayed in any window.
2265 (doc-view-saved-settings): New var.
2266 (doc-view-mode): Use it.
2267 (doc-view-fallback-mode): Set it.
2268
a2e770db
SM
2269 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2270 Set lexical-binding.
2271 (minibuffer-eldef-shorten-default): New var.
2272 (minibuffer-default-in-prompt-regexps): Use it for new default.
2273 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2274
e3b60857
JB
22752012-09-26 Juanma Barranquero <lekktu@gmail.com>
2276
2277 * international/uni-bidi.el:
2278 * international/uni-category.el:
2279 * international/uni-name.el:
2280 * international/uni-numeric.el: Regenerate.
2281
3a880af4
SM
22822012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2283 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * profiler.el: New file.
2286
07b1a5fb
SM
22872012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2290 (testcover-reinstrument): Simplify with CSE.
2291
42019c2e
JB
22922012-09-26 Juanma Barranquero <lekktu@gmail.com>
2293
2294 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2295
179f044b
WS
22962012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2297
2298 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2299 (verilog-auto-input, verilog-auto-insert-lisp)
2300 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2301 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2302 (verilog-auto-unused, verilog-auto-wire)
2303 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2304 newline. Reported by Andrew Jones.
2305 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2306 Reported by Brad Dobbie.
07b1a5fb
SM
2307 (verilog-batch-delete-trailing-whitespace):
2308 Create verilog-batch-delete-trailing-whitespace.
2309 Reported by Brad Dobbie.
179f044b
WS
2310 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2311 parameters from another module. Reported by Dan Katz.
2312 (verilog-auto, verilog-auto-assign-modport)
2313 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2314 AUTOINOUTMODPORT for UVM interface module shell generation.
2315 Reported by Brad Dobbie.
2316 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2317 standard behavior.
2318 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2319 Reported by Matt Martin.
2320
9c52dd5a
MR
23212012-09-25 Martin Rudalics <rudalics@gmx.at>
2322
2323 * window.el (window--resize-child-windows): When resizing child
2324 windows proportionally, process them in reverse order to
2325 preserve the "when splitting a window the new one gets the odd
2326 line" behavior.
2327 (window--resize-root-window-vertically): When resizing the
2328 minibuffer window try to affect only windows at the bottom of the
2329 frame. (Bug#12419)
2330
863666eb
CY
23312012-09-25 Chong Yidong <cyd@gnu.org>
2332
2333 * subr.el (declare): Doc fix.
2334
2335 * help-fns.el (help-fns--obsolete): Handle macros properly.
2336
59f7af81
CY
23372012-09-25 Chong Yidong <cyd@gnu.org>
2338
2339 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2340 this function obsolete.
2341
2342 * calendar/cal-x.el (calendar-two-frame-setup)
2343 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2344 * calendar/calendar.el (american-calendar, european-calendar)
2345 (calendar-for-loop):
2346 * comint.el (comint-dynamic-simple-complete)
2347 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2348 * desktop.el (desktop-load-default):
2349 * dired-x.el (dired-omit-here-always)
2350 (dired-hack-local-variables, dired-default-directory):
2351 * emacs-lisp/derived.el (derived-mode-class):
2352 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2353 * emacs-lock.el (toggle-emacs-lock):
2354 * epa.el (epa-display-verify-result):
2355 * epg.el (epg-sign-keys, epg-start-sign-keys)
2356 (epg-passphrase-callback-function):
2357 * eshell/esh-util.el (eshell-for):
2358 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2359 (eshell-add-to-window-buffer-names):
2360 * files.el (locate-file-completion):
2361 * imenu.el (imenu-example--create-c-index)
2362 (imenu-example--create-lisp-index)
2363 (imenu-example--lisp-extract-index-name)
2364 (imenu-example--name-and-position):
2365 * international/mule-cmds.el (princ-list):
2366 * international/mule-diag.el (decode-codepage-char):
2367 * international/mule-util.el (detect-coding-with-priority):
2368 * iswitchb.el (iswitchb-read-buffer):
2369 * mail/mailalias.el (mail-complete):
2370 * mail/sendmail.el (mail-sent-via):
2371 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2372 (mouse-major-mode-menu):
2373 * password-cache.el (password-read-and-add):
2374 * pcomplete.el (pcomplete-parse-comint-arguments):
2375 * progmodes/sh-script.el (sh-maybe-here-document):
2376 * replace.el (query-replace-regexp-eval):
2377 * savehist.el (savehist-load):
2378 * simple.el (choose-completion-delete-max-match):
2379 * term.el (term-dynamic-simple-complete):
2380 * vc/ediff-init.el (ediff-check-version):
2381 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2382 * vc/vc.el (vc-diff-switches-list):
2383 * view.el (view-return-to-alist-update): Likewise.
2384
2385 * subr.el (eval-next-after-load, makehash, insert-string)
2386 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2387 mark obsolete.
2388 (mode-line-inverse-video): Variable deleted.
2389
2390 * international/mule-util.el (string-to-sequence): Remove.
2391
2392 * calendar/calendar.el (calendar-version):
2393 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2394 (icalendar-convert-diary-to-ical):
2395 * cus-edit.el (custom-mode):
2396 * ansi-color.el (ansi-color-unfontify-region):
2397 * international/latin1-disp.el (latin1-char-displayable-p):
2398 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2399 * progmodes/which-func.el (which-func-update-1):
2400 Use define-obsolete-function-alias.
59f7af81
CY
2401
2402 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2403 * net/newst-treeview.el (newsticker-groups-filename):
2404 Fix incorrect obsolescence declaration.
59f7af81
CY
2405
2406 * allout.el (allout-passphrase-hint-string): Likewise.
2407 (allout-init): Use a declare form to mark obsolete.
2408
2409 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2410 this applies to functions.
2411
2412 * iswitchb.el (iswitchb-read-buffer): Move code of
2413 iswitchb-define-mode-map here, and delete that obsolete function.
2414
2415 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2416 font-lock-reference-face.
2417
cca96c97
GM
24182012-09-25 Glenn Morris <rgm@gnu.org>
2419
b06eeda8
GM
2420 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2421 Doc fixes.
2422
cca96c97
GM
2423 * eshell/em-term.el (eshell-term-name):
2424 Default to term-term-name. (Bug#12485)
2425
dc4f818b
FEG
24262012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2427
cca96c97
GM
2428 * progmodes/python.el (python-shell-send-buffer): Better handling
2429 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2430
289c24bd
GM
24312012-09-24 Glenn Morris <rgm@gnu.org>
2432
2433 * eshell/esh-cmd.el (eshell-find-alias-function):
2434 Tighten up file-name regexp. (Bug#12499)
2435
8fb8b88f
FEG
24362012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2437
2438 Enhancements for triple-quote string syntax.
2439 * progmodes/python.el (python-quote-syntax): Remove.
2440 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2441 (python-syntax-count-quotes, python-syntax-stringify):
2442 New functions.
8fb8b88f 2443
6c27f0f8
CY
24442012-09-24 Chong Yidong <cyd@gnu.org>
2445
a5f2b6ec
CY
2446 * mail/supercite.el (sc-version): Remove obsolete function.
2447 (sc-describe): Don't mark as obsolete, since it is bound.
2448 (sc-submit-bug-report): Remove.
2449
2450 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2451 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2452 (log-edit-require-final-newline)
2453 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2454
2455 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2456 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2457 * vc/vc.el (vc-checkout-carefully): Likewise.
2458
2459 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2460 (emerge-version): Remove.
2461
2462 * progmodes/compile.el (compile-internal): Remove.
2463 (compilation-parse-errors-function): Fix typo.
2464
2465 * international/mule.el (set-char-table-default): Remove.
2466 (set-coding-priority, make-coding-system, generic-char-p)
2467 (charset-list, charset-bytes, charset-id): Use declare to mark
2468 functions as obsolete.
2469
2470 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2471 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2472 * vc/vc-hooks.el (vc-default-registered): Don't use
2473 vc-master-templates.
2474
07b1a5fb
SM
2475 * font-lock.el (font-lock-reference-face):
2476 Use define-obsolete-variable-alias.
6c27f0f8
CY
2477
2478 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2479 * calendar/calendar.el (calendar-font-lock-keywords):
2480 * calendar/diary-lib.el (diary-font-lock-keywords)
2481 (diary-fancy-font-lock-keywords):
2482 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2483 * textmodes/reftex-index.el (reftex-insert-index):
2484 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2485 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2486 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2487 * progmodes/prolog.el (prolog-font-lock-keywords):
2488 * progmodes/idlwave.el (idlwave-idl-keywords):
2489 * progmodes/ada-mode.el (ada-font-lock-keywords):
2490 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2491
bcc0adbf
GM
24922012-09-24 Glenn Morris <rgm@gnu.org>
2493
2494 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2495
095bb823
FEG
24962012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2497
2498 * progmodes/python.el (python-indent-line): More consistent cursor
2499 movement behavior.
2500
70efc5c9
SM
25012012-09-23 Stefan Merten <smerten@oekonux.de>
2502
2503 * textmodes/rst.el: Fix compiler warning.
2504
2f438239
RW
25052012-09-23 Roland Winkler <winkler@gnu.org>
2506
07b1a5fb
SM
2507 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2508 Transcribe also LaTeX hyphenation.
2f438239
RW
2509 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2510 bibtex-reformat-previous-options.
2511
936ad041
RW
25122012-09-23 Roland Winkler <winkler@gnu.org>
2513
2514 * proced.el (proced-renice-command): New variable.
2515 (proced-marked-processes): New function.
2516 (proced-with-processes-buffer): New macro.
2517 (proced-send-signal): Use them.
2518 (proced-renice): New command bound to r.
2519
6fab0274
RW
25202012-09-23 Roland Winkler <winkler@gnu.org>
2521
2522 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2523 ibuffer-saved-filter-groups has one element, shortcut the call of
2524 completing-read. (Bug#12331)
2525
9a930676
CY
25262012-09-23 Chong Yidong <cyd@gnu.org>
2527
2528 * bindings.el (mode-line-toggle-read-only):
2529 * bs.el (bs-toggle-readonly):
2530 * buff-menu.el (Buffer-menu-toggle-read-only):
2531 * dired.el (dired-toggle-read-only):
2532 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2533
d07ff9db
CY
25342012-09-23 Chong Yidong <cyd@gnu.org>
2535
2536 * image.el (image-type-available-p): Adapt to init-image-library
2537 argument changes.
2538
51c4474e
JL
25392012-09-22 Juri Linkov <juri@jurta.org>
2540
2541 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2542 `dired-toggle-read-only'. (Bug#12462)
2543
43bf5e8e
MR
25442012-09-22 Martin Rudalics <rudalics@gmx.at>
2545
2546 * subr.el (temp-output-buffer-show): New function.
2547 (with-output-to-temp-buffer): Call temp-output-buffer-show
2548 instead of internal-temp-output-buffer-show.
2549
c88b867f
CY
25502012-09-22 Chong Yidong <cyd@gnu.org>
2551
3df47cd5
CY
2552 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2553 (Bug#12462).
2554
c88b867f
CY
2555 * repeat.el (repeat): Doc fix (Bug#12348).
2556
2557 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2558 (Bug#10909).
2559
2560 * simple.el (shell-command-on-region): Doc fix.
3171e303 2561 (read-only-mode): Doc fix.
c88b867f 2562
df9685f3
EZ
25632012-09-22 Eli Zaretskii <eliz@gnu.org>
2564
2565 * emacs-lisp/timer.el (run-with-idle-timer)
2566 (timer-activate-when-idle): Warn against reinvoking an idle timer
2567 from within its own timer action. (Bug#12447)
2568
8e17c9ba
MR
25692012-09-22 Martin Rudalics <rudalics@gmx.at>
2570
2571 * cus-start.el (window-combination-limit): Add new optional
2572 values.
2573 * window.el (temp-buffer-window-show)
2574 (window--try-to-split-window): Handle new values of
2575 window-combination-limit (Bug#1806).
2576 (split-window): Test window-combination-limit for t instead of
2577 non-nil.
2578 (display-buffer-at-bottom): New buffer display action function.
2579 * help.el (temp-buffer-resize-regexps): New option.
2580 (temp-buffer-resize-mode): Rewrite doc-string.
2581 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2582 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2583
48a24920
SM
25842012-09-22 Stefan Merten <smerten@oekonux.de>
2585
70efc5c9 2586 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2587 (rst-official-version)
2588 (rst-package-emacs-version-alist): Sync with official version
2589 V1.4.0.
2590 (rst-faces-defaults, rst-set-level-default)
2591 (rst-level-face-max, rst-level-face-base-color)
2592 (rst-level-face-base-light, rst-level-face-format-light)
2593 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2594 (rst-adornment-faces-alist): Match new setup.
2595 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2596 (rst-level-5, rst-level-6): New faces.
2597
82f8cd94
CY
25982012-09-22 Chong Yidong <cyd@gnu.org>
2599
2600 * simple.el (undo): Handle indirect buffers (Bug#8207).
2601
acfa068f 26022012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2603
2604 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2605 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2606 (ido-set-matches-1): Use it. (Bug#2042)
2607
acfa068f 26082012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2609
2610 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2611 Fix 2011-05-17 change. (Bug#12418)
2612
acfa068f 26132012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2614
2615 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2616
acfa068f 26172012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2618
2619 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2620 Be more robust about locating simple.el.
2621
acfa068f 26222012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2623
2624 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2625
acfa068f
CY
26262012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2627
2628 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2629
41a97e6f
JL
26302012-09-20 Juri Linkov <juri@jurta.org>
2631
eb2deaff
JL
2632 * replace.el (query-replace-read-from): Use `read-regexp' instead
2633 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2634 (occur-read-primary-args): Use `read-regexp' instead of
2635 `read-string'.
2636 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2637 `read-from-minibuffer'.
2638 * isearch.el (isearch-occur): Use `read-regexp' instead of
2639 `read-string'.
2640 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2641 `read-from-minibuffer'.
2642 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2643 of `read-string'. (Bug#7567)
2644
5825610b
JL
2645 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2646 and allow accepting a list of strings prepended to a list of
2647 standard default values. Doc fix. (Bug#12321)
2648
eebbf404
JL
2649 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2650
41a97e6f
JL
2651 * replace.el (read-regexp): Don't add ": " when PROMPT already
2652 ends with a colon and space. (Bug#12321)
2653
c9e452d3
TH
26542012-09-20 Tassilo Horn <tsdh@gnu.org>
2655
2656 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2657 error.
2658
ee97deee
SM
26592012-09-20 Stefan Merten <smerten@oekonux.de>
2660
70efc5c9 2661 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2662 Fixes feature request bug#11711.
2663 (rst-mode): Create `imenu-create-index-function'.
2664 (rst-get-stripped-line): Delete after refactoring.
2665 (rst-section-tree, rst-section-tree-rec)
2666 (rst-section-tree-point): Refactor and document properly.
2667 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2668 (rst-imenu-convert-cell, rst-imenu-create-index):
2669 New function.
ee97deee 2670
f490dab9
SM
26712012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2672
95b9712e
SM
2673 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2674 (macroexp--expand-all): Use it.
2675 (macroexp--funcall-and-return): Remove by folding it into its sole
2676 caller (macroexp--warn-and-return).
2677 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2678 Use macroexp--obsolete-warning.
2679
f490dab9
SM
2680 * calc/calc.el: Fix last change by removing the whole chunk, since it
2681 was only needed back when Calc was not bundled.
2682
96e8d411
MR
26832012-09-20 Martin Rudalics <rudalics@gmx.at>
2684
2685 * emacs-lisp/debug.el (debug): Restore assignment to
2686 debugger-old-buffer removed on 2012-09-08.
2687
0876a82d
JL
26882012-09-20 Juri Linkov <juri@jurta.org>
2689
2690 * dired-aux.el (dired-diff): Remove (require 'diff) since
2691 `diff-latest-backup-file' is now autoloaded.
2692
9f7c28f0
CY
26932012-09-20 Chong Yidong <cyd@gnu.org>
2694
2695 * vc/diff.el (diff-latest-backup-file): Autoload.
2696
7a04bee9
SM
26972012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2698
e6f0a80d
SM
2699 * calc/calc.el: Remove redundant autoload shape check.
2700 (sel-mode): Don't defvar.
2701 (calc-get-stack-element): Add `sel-mode' arg instead.
2702 (calc-top, calc-top-list): Pass it this additional argument.
2703 * calc/calc-store.el (calc-store-map):
2704 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2705 (calc-map-equation, calc-outer-product, calc-inner-product):
2706 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2707
7a04bee9
SM
2708 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2709
12734222
JL
27102012-09-19 Juri Linkov <juri@jurta.org>
2711
2712 * dired-aux.el (dired-diff): Add (require 'diff) because
2713 `diff-latest-backup-file' is not autoloaded.
2714 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2715 of `dired-get-filename' to t to not report error when there is
2716 no default file on the current line.
2717
46624b4f
SM
27182012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2719
ce97595b
SM
2720 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2721 macroexp--eval-if-compile.
2722 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2723 (macroexp--expand-all): Use them (bug#12371).
2724
46624b4f
SM
2725 * doc-view.el (doc-view-guess-paper-size)
2726 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2727
db8a5a18
TH
27282012-09-19 Tassilo Horn <tsdh@gnu.org>
2729
2730 New feature: set optimal slice from BoundingBox information.
2731 * doc-view.el (doc-view-mode-map): Add keybinding.
2732 (doc-view-menu): Add menu entry.
2733 (doc-view-set-slice): Adapt docstring.
2734 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2735 (doc-view-scale-bounding-box)
2736 (doc-view-set-slice-from-bounding-box): New functions.
2737 (doc-view-paper-sizes): New defvar.
2738
69f6644c
GM
27392012-09-19 Glenn Morris <rgm@gnu.org>
2740
35f5b19d
GM
2741 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2742 (byte-compile-log-warning): Autoload. (Bug#12371)
2743
69f6644c
GM
2744 * calendar/calendar.el (calendar-american-month-header)
2745 (calendar-european-month-header, calendar-iso-month-header)
2746 (calendar-month-header): New options.
2747 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2748 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2749
e543ae91
JD
27502012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2751
2752 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2753
2fd5e67d
JL
27542012-09-18 Juri Linkov <juri@jurta.org>
2755
2756 * dired-aux.el (dired-diff): Restore original functionality of
2757 getting the default value, but keep new feature of using the
2758 latest existing backup file (`diff-latest-backup-file').
2759
42917e79
JL
27602012-09-18 Juri Linkov <juri@jurta.org>
2761
2762 * dired.el (dired-mark): If the region is active in Transient Mark
2763 mode, mark all files in the active region. Doc fix.
2764 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2765 Doc fix. (Bug#10624)
2766
20f70ede
JL
27672012-09-18 Juri Linkov <juri@jurta.org>
2768
2769 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2770 attributes for M-n are pulled from the file at point.
2771 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2772 Suggested by Drew Adams. (Bug#10624)
2773
32fb8162
DG
27742012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2775
2776 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2777 whitespace after "end".
2778 (ruby-do-end-to-brace): Collapse block to one line if it fits
2779 within fill-column.
2780
37ab5092
MR
27812012-09-18 Martin Rudalics <rudalics@gmx.at>
2782
2783 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2784 value.
2785 (debug): Don't remove debugger window when debugger is expected
2786 to be back.
2787
ed1f0bd3
CY
27882012-09-18 Chong Yidong <cyd@gnu.org>
2789
2790 * custom.el (defface): Doc fix.
2791
2792 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2793
a11035b8
MB
27942012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2795
2796 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2797 to initialize query-on-exit; then test that instead (bug#12288).
2798
64f6a736
SM
27992012-09-17 Stefan Merten <smerten@oekonux.de>
2800
70efc5c9 2801 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2802 (rst-defcustom-testcover, rst-testcover-add-compose)
2803 (rst-testcover-add-1value): New functions.
2804 (rst-portable-mark-active-p): Replace by `use-region-p'.
2805 (rst-update-section, rst-classify-adornment)
2806 (rst-find-title-line): Mark `1value' forms.
2807 (rst-classify-adornment): Remove superfluous form.
2808 (rst-update-section, rst-get-adornments-around)
2809 (rst-adornment-complete-p, rst-get-next-adornment)
2810 (rst-adjust, rst-promote-region)
2811 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2812 (rst-find-pfx-in-region, rst-section-tree-rec)
2813 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2814 (rst-toc-node, rst-toc, rst-forward-section)
2815 (rst-iterate-leftmost-paragraphs)
2816 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2817 (rst-bullet-list-region)
2818 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2819 (rst-compile-find-conf, rst-compile)
2820 (rst-repeat-last-character): Fix style.
2821
580bd868
CY
28222012-09-17 Chong Yidong <cyd@gnu.org>
2823
2824 * comint.el (comint--complete-file-name-data): Don't add a space
2825 if the status is `sole'; that adds a gratuitous space in the
2826 completion-cycling case (Bug#12092).
2827
2828 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2829
69de3ec6
RS
28302012-09-17 Richard Stallman <rms@gnu.org>
2831
0dee970c
RS
2832 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2833 only in the mime-shown mode, not in raw mode.
2834 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2835 mime processing. (Bug#12305)
0dee970c 2836
6b250df6
GM
2837 * mail/rmail.el (rmail-retry-failure):
2838 Turn off mime processing first. (Bug#12037)
acb1c47b 2839
69de3ec6
RS
2840 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2841
d079ee5f
CY
28422012-09-17 Chong Yidong <cyd@gnu.org>
2843
2844 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2845 (shell-dynamic-complete-functions): Convert to defcustom.
2846 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2847
865fe16f
CY
2848 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2849 * comint.el (comint-prompt-read-only):
2850 * custom.el (defcustom):
2851 * hi-lock.el (hi-lock-mode):
2852 * ibuffer.el (ibuffer-formats):
2853 * ielm.el (ielm-prompt-read-only):
2854 * novice.el (disable-command):
2855 * saveplace.el (toggle-save-place):
2856 * speedbar.el (speedbar-supported-extension-expressions):
2857 * startup.el (auto-save-list-file-prefix, init-file-user)
2858 (after-init-hook, inhibit-startup-echo-area-message):
2859 * strokes.el (strokes-help):
2860 * time-stamp.el (time-stamp):
2861 * calendar/calendar.el (calendar, diary-file):
2862 * calendar/diary-lib.el (diary-mail-entries, diary)
2863 (diary-list-entries-hook):
2864 * calendar/holidays.el (holidays, calendar-holidays):
2865 * calendar/lunar.el (lunar-phases):
2866 * calendar/solar.el (sunrise-sunset):
2867 * emulation/edt.el (edt-load-keys):
2868 * emulation/viper.el (viper-mode):
2869 * eshell/em-alias.el (eshell-command-aliases-list):
2870 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2871 * international/ogonek.el (ogonek-information):
2872 * net/tramp-cmds.el (tramp-bug):
2873 * net/quickurl.el (quickurl-reread-hook-postfix):
2874 * play/decipher.el (decipher-font-lock-keywords):
2875 * progmodes/cc-styles.el (c-set-style):
2876 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2877 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2878 * progmodes/octave-mod.el (octave-mode):
2879 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2880 * progmodes/verilog-mode.el (verilog-read-defines):
2881 * textmodes/two-column.el (2C-mode): Likewise.
2882
48093eb9
KY
28832012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2884
2885 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2886 that holds many addresses.
2887
c584eaf9
CY
28882012-09-16 Chong Yidong <cyd@gnu.org>
2889
40d70ecb
CY
2890 * align.el (align-areas): Call the indication function with
2891 positions instead of markers for arguments (Bug#12343).
2892
1667e065
CY
2893 * files.el (parse-colon-path): Use split-string (Bug#12351).
2894
fdc2806d 2895 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2896 (display-buffer-function): Mark as obsolete.
fdc2806d 2897
f1be615c 2898 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2899 values similar to font-lock-keywords (Bug#12136).
2900 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2901 (compilation-error-regexp-alist): Doc fix.
2902
f40a9709
GM
29032012-09-15 Glenn Morris <rgm@gnu.org>
2904
72aa16e1
GM
2905 * version.el (emacs-bzr-version-bzr): New function.
2906 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2907
82375160
GM
2908 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2909 checkouts, check the parent dirstate matches the branch.
2910 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2911 empty string.
2912
f40a9709
GM
2913 * version.el (emacs-bzr-version): Doc fix.
2914 (emacs-bzr-version-dirstate): New function.
2915 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2916 is local try and check that it matches the branch. If not, just
2917 use dirstate information. (Bug#12441)
2918
cb26b7f5
JL
29192012-09-14 Juri Linkov <juri@jurta.org>
2920
2921 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2922 (Bug#12399)
2923
2de39f08
SM
29242012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2925
0fb3cb7c
SM
2926 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2927
2de39f08
SM
2928 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2929 Remove obsolete byte-compiler hack that tried to silence some warnings.
2930 (edebug-submit-bug-report): Remove.
2931 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2932 Remove aliases, use the un-prefixed name instead.
2933 (edebug-pop-to-buffer): Consider other frames.
2934 (edebug-original-read):: Make it more obvious that it's always defined.
2935 (edebug--make-form-data-entry, edebug--form-data-name)
2936 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2937 single-dashed name, and implement with cl-defstruct.
2938 (edebug-set-form-data-entry): Use the standard accessors.
2939 (edebug-make-top-form-data-entry): Use push.
2940 (edebug-no-match): Drop useless `funcall'.
2941 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2942 to functions.
2943 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2944 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2945 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2946 (easy-menu-define, with-custom-print): Remove redundant specs.
2947 (edebug-outside-overriding-local-map)
2948 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2949 (edebug--display): Bind unread-command-events directly to nil rather
2950 than binding it to unread-command-events and later setting it to nil.
2951 (edebug--display): Kill edebug-eval-buffer here...
2952 (edebug--recursive-edit): ...rather than here.
2953 Bind standard-output and standard-input.
2954 (edebug-eval): Check cl-macroexpand-all is fboundp.
2955 (edebug-temp-display-freq-count): Fix last change.
2956
2957 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2958 * subr.el (noreturn, 1value): Add `debug' spec.
2959 * emacs-lisp/advice.el: Require cl-lib.
2960 (ad-copy-tree): Remove, use copy-tree instead.
2961 (ad-dolist): Remove use dolist or cl-dolist instead.
2962 (ad-do-return): Remove, use cl-return instead.
2963 (defadvice): Add `debug' spec.
2964
5b68b333
JL
29652012-09-13 Juri Linkov <juri@jurta.org>
2966
2967 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2968 (Bug#12399)
2969
b9800ec4
GM
29702012-09-13 Glenn Morris <rgm@gnu.org>
2971
6a2e6868
GM
2972 * calc/calc.el (math-compose-expr):
2973 * calc/calc-ext.el (math-compose-expr):
2974 * progmodes/cc-defs.el (cl-macroexpand-all):
2975 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2976 (cl-macroexpand-all): Update declarations.
2977
b9800ec4
GM
2978 * vc/vc.el: No need to require ediff.
2979 (ediff-load-version-control): Declare.
2980 (ediff-vc-internal): Fix declaration.
2981 (vc-version-ediff): Require ediff.
2982
c18e885b
PE
29832012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2984
2985 Use a more backwards-compatible timer format (Bug#12430).
2986 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2987 being right after USECS, as that better supports old code that
2988 inadvisedly looked directly at the timer vector.
2989
d607d303
KH
29902012-09-13 Kenichi Handa <handa@gnu.org>
2991
2992 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2993 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2994 `coding-priority' property of these language environment.
2995
72eac303
PE
29962012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2997
2998 Fix glitches caused by addition of psec to timers (Bug#12430).
2999 * image.el (image-animate-timer):
3000 * time.el (display-time-world-timer):
3001 Use timer--function and timer--args rather than raw access to
3002 timer vector.
3003
2168fe4f
GM
30042012-09-13 Glenn Morris <rgm@gnu.org>
3005
3006 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3007 If not compiling a file, try using load-file-name.
3008
bd8d6108
SM
30092012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3010
c0c54fbd
SM
3011 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3012 Fix last change.
3013 (edebug-update-eval-list): Use `push'.
3014
bd8d6108
SM
3015 * emacs-lisp/edebug.el: Use lexical-binding.
3016 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3017 Mark unused args with underscore.
3018 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3019 (edebug-form-data): Use defvar-local.
3020 (edebug-make-before-and-after-form, edebug-make-after-form):
3021 Use backquote.
3022 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3023 Not dynamically scoped any more.
3024 (edebug--enter-trace): Add arguments `function' and `args'.
3025 Rename from edebug-enter-trace.
3026 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3027 (edebug--update-coverage): Add `after-index' and `value' args.
3028 Rename from edebug-update-coverage.
3029 (edebug-slow-after): Call it accordingly.
3030 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3031 edebug-recursive-edit.
3032 (edebug--display): Call it accordingly. Add args `value',
3033 `offset-index', and `arg-mode'. Rename from edebug-display.
3034 (edebug-debugger, edebug): Call it accordingly.
3035 (edebug-eval-display-list): Use dolist.
3036
a9f9d9de
JL
30372012-09-12 Juri Linkov <juri@jurta.org>
3038
3039 * info.el (Info-search): Don't check for isearch-mode and
3040 isearch-regexp before let-binding search-spaces-regexp to
3041 Info-search-whitespace-regexp.
3042 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3043 search-whitespace-regexp if isearch-lax-whitespace or
3044 isearch-regexp-lax-whitespace is non-nil.
3045 (Info-mode): Don't set local variable search-whitespace-regexp.
3046 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3047
bfeae2cf
SM
30482012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3051 (debugger-env-macro): Remove support for unread-command-char.
3052
3053 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3054 the temporary map re-appearing on emulation-mode-map-alists.
3055
3056 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3057 since 22.1.
3058
3059 * ehelp.el (with-electric-help): Accept functions in
3060 electric-help-form-to-execute.
3061 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3062 And replace unread-command-char -> unread-command-events.
3063
fbbcaf1b
MA
30642012-09-12 Michael Albinus <michael.albinus@gmx.de>
3065
3066 Sync with Tramp 2.2.6.
3067
3068 * net/tramp.el (tramp-accept-process-output): Don't use
3069 JUST-THIS-ONE in the XEmacs case.
3070
3071 * net/trampver.el: Update release number.
3072
4dece104
MR
30732012-09-12 Martin Rudalics <rudalics@gmx.at>
3074
bfeae2cf
SM
3075 * emacs-lisp/debug.el (debugger-previous-window-height):
3076 New variable.
4dece104
MR
3077 (debug): When debugger-jumping-flag is non-nil try to restore
3078 height of debugger window. (Bug#8789)
3079
45b82ad0
SM
30802012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3081
60c49c0f
SM
3082 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3083 overriding-local-map and pre/post-command-hook here.
3084 (edebug-recursive-edit): Do it here instead (bug#12345).
3085 (edebug-outside-unread-command-char): Remove all uses of
3086 unread-command-char.
3087
45b82ad0
SM
3088 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3089 inhibit-debugger is bound instead.
3090
baa26ea0
BG
30912012-09-11 Bastien Guerry <bzg@gnu.org>
3092
3093 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 3094 (Bug#12346)
baa26ea0 3095
04e8abfa
BG
30962012-09-11 Bastien Guerry <bzg@gnu.org>
3097
96d03571 3098 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 3099 (Bug#12347)
96d03571
BG
3100
31012012-09-11 Bastien Guerry <bzg@gnu.org>
3102
fc0c31f8 3103 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3104
04e082b0
MM
31052012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3106
3107 * progmodes/sql.el: Version 3.1
3108 (sql-db2-escape-newlines): New variable.
3109 (sql-escape-newlines-filter): Use it.
3110
399a361b
JB
31112012-09-10 Juanma Barranquero <lekktu@gmail.com>
3112
3113 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3114
0780c517
DN
31152012-09-10 Dan Nicolaescu <dann@gnu.org>
3116
45b82ad0
SM
3117 * vc/diff-mode.el (diff-mode-menu):
3118 Bind diff-remove-trailing-whitespace.
0780c517 3119
9b851e25
SM
31202012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3121
3122 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3123 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3124 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3125 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3126 (eval-defun-2): Remove bogus interactive spec.
3127 (lisp-indent-line): Remove redundant whole-exp code, now done in
3128 indent-according-to-mode.
3129 (save-match-data): Remove redundant indent data.
3130
3131 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3132 Use `declare'.
3133
3231d532
JL
31342012-09-09 Juri Linkov <juri@jurta.org>
3135
3136 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3137 (replace-lax-whitespace, query-replace-regexp)
3138 (query-replace-regexp-eval, replace-regexp): Doc fix.
3139 (perform-replace, replace-highlight): Let-bind
3140 isearch-lax-whitespace to replace-lax-whitespace and
3141 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3142
3143 * isearch.el (isearch-query-replace): Let-bind
3144 replace-lax-whitespace to isearch-lax-whitespace and
3145 replace-regexp-lax-whitespace to
3146 isearch-regexp-lax-whitespace. (Bug#10885)
3147
70fe8236
SM
31482012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3151
8ed43f15
AM
31522012-09-09 Alan Mackenzie <acm@muc.de>
3153
70fe8236
SM
3154 * progmodes/cc-engine.el (c-state-cache-init):
3155 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3156 (c-record-parse-state-state):
3157 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3158
bfabf70a
AS
31592012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3160
3161 * register.el (register-separator): Rename from
3162 separator-register. All uses changed. Doc fix.
3163 (register): Fix version.
3164
011474aa
CY
31652012-09-09 Chong Yidong <cyd@gnu.org>
3166
3167 * replace.el (query-replace-map): Bind four new symbols for
3168 requesting window scrolling.
3169
3170 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3171 query-replace-map (Bug#8948).
3172
3173 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3174
3175 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3176 since they are now in query-replace-map.
3177
3178 * window.el (scroll-other-window-down): Make the arg optional.
3179
a8b7cd8d
CY
31802012-09-09 Chong Yidong <cyd@gnu.org>
3181
3182 * files.el (hack-local-variables-confirm): Use quit-window to kill
3183 the *Local Variables* buffer.
3184
c3268831
DG
31852012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3186
3187 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3188 not just expect to be at its beginning. Adjust callees.
3189 Succeed when do-end block has no space before the pipe character.
3190 (ruby-brace-to-do-end): When the original block is one-liner,
3191 convert to multiline. Reindent the result.
3192
0979429b
J
31932012-09-08 Jambunathan K <kjambunathan@gmail.com>
3194
3195 * register.el (register): New group.
27359e99 3196 (separator-register): New user option.
0979429b
J
3197 (increment-register): Route it to `append-to-register', if
3198 register contains text. Implication is that `C-x r +' can now be
3199 used for appending to a text register (bug#12217).
3200 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3201 `separator-register'.
0979429b 3202
ace2989a
AM
32032012-09-08 Alan Mackenzie <acm@muc.de>
3204
3205 AWK Mode: make auto-newline work when there's "==" in the pattern.
3206 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3207 correctly.
0979429b
J
3208 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3209 Test more rigorously for "=" token.
ace2989a 3210
616c6c36
DG
32112012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3212
0979429b
J
3213 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3214 Only fail when reached LIMIT.
616c6c36 3215
35d98877
CY
32162012-09-08 Chong Yidong <cyd@gnu.org>
3217
3218 * dired.el (dired-mode-map): Don't bind M-=.
3219
3220 * dired-aux.el (dired-diff): Use backup file as default.
3221
1715f2db
DA
32222012-09-08 Drew Adams <drew.adams@oracle.com>
3223
3224 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3225
6dcef6ec
CY
32262012-09-08 Chong Yidong <cyd@gnu.org>
3227
3228 * subr.el (syntax-after, syntax-class): Doc fix.
3229
fa2bcf43
MR
32302012-09-08 Martin Rudalics <rudalics@gmx.at>
3231
3232 * window.el (display-buffer-in-previous-window): New buffer
3233 display action function.
3234
3235 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3236 (debugger-previous-window): New variable.
3237 (debug): Rewrite using display-buffer-in-previous-window,
3238 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3239
daac280a
SM
32402012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3243
9dd40b00
MM
32442012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3245
daac280a
SM
3246 * progmodes/python.el (python-shell-send-string):
3247 When default-directory is remote, create temp file on remote
9dd40b00
MM
3248 filesystem.
3249 (python-shell-send-file): When file is remote, pass local view of
3250 file paths to remote Python interpreter. (Bug#12340)
3251
145823ec
CY
32522012-09-07 Chong Yidong <cyd@gnu.org>
3253
cee2e90d
CY
3254 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3255
0d7eb2ea
CY
3256 * files.el (after-find-file): Don't fail on a read-only buffer if
3257 require-final-newline is `visit' or `visit-save' (Bug#11156).
3258
145823ec
CY
3259 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3260
daac280a
SM
3261 * userlock.el (ask-user-about-supersession-threat):
3262 Use read-char-choice (Bug#12093).
145823ec 3263
74c582e6
CY
32642012-09-07 Chong Yidong <cyd@gnu.org>
3265
e5c2edf7
CY
3266 * subr.el (buffer-narrowed-p): New function.
3267
3268 * ses.el (ses-widen):
3269 * simple.el (count-words--buffer-message):
1f9f395d 3270 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3271
3272 * simple.el (count-words-region): Don't signal an error if there
3273 is a non-nil prefix arg and the mark is not set.
c640e87d 3274
74c582e6
CY
3275 * help.el (describe-key-briefly): Allow the message to be seen
3276 when invoked from the minibuffer (Bug#7014).
3277
d81ceaaf
DG
32782012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3279
3280 * progmodes/ruby-mode.el (ruby-end-of-defun)
3281 (ruby-beginning-of-defun): Simplify, allow indentation before
3282 block beginning and end keywords.
8f06acce
DG
3283 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3284 (ruby-end-of-defun): Expect that the point is at the beginning of
3285 the defun.
d81ceaaf 3286
d458ef98
SM
32872012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3288
3289 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3290 (bug#12367).
3291 (cl--make-usage-args): Strip _ from argument names.
3292
20367d28
RS
32932012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3294
3295 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3296 obsolete alias speedbar-key-map.
3297 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3298 (vhdl-index-menu-init): Don't use obsolete variable
3299 font-lock-maximum-size.
3300
3424a4f6
CY
33012012-09-06 Chong Yidong <cyd@gnu.org>
3302
3303 * frame.el (window-system-version): Mark as obsolete.
3304
fcbfbdea
CY
3305 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3306 of obsolete variable speedbar-key-map.
3307
826b3235
JL
33082012-09-06 Juri Linkov <juri@jurta.org>
3309
3310 * replace.el (replace-lax-whitespace): New defcustom.
3311 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3312 (replace-string, replace-regexp): Mention it in docstrings.
3313 (perform-replace, replace-highlight): Let-bind
3314 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3315 to the values of replace-lax-whitespace and regexp-flag.
3316 Don't let-bind search-whitespace-regexp. (Bug#10885)
3317
3318 * isearch.el (isearch-query-replace): Let-bind
3319 replace-lax-whitespace instead of let-binding
3320 replace-search-function and replace-re-search-function.
3321 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3322 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3323 (isearch-toggle-symbol): Set isearch-regexp to nil
3324 in isearch-word mode (like in isearch-toggle-word).
3325
1ec5e41d
JL
33262012-09-06 Juri Linkov <juri@jurta.org>
3327
3328 * replace.el (replace-search-function)
3329 (replace-re-search-function): Set default values to nil.
3330 (perform-replace): Let-bind isearch-related variables based on
3331 replace-related values, call `isearch-search-fun' and let-bind
3332 the result to `search-function'. Remove code that sets
3333 `search-function' and `search-string' separately for
3334 `delimited-flag'.
3335 (replace-highlight): Add new argument `delimited-flag' and
3336 rename other arguments to the names used in `perform-replace'.
3337 Let-bind `isearch-word' to the argument `delimited-flag'.
3338 (Bug#10885, bug#10887)
3339
0ba2d4b6
DG
33402012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3341
3342 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3343 ruby-beginning-of-indent, simplify, allow all keywords to have
3344 indentation before them.
3345 (ruby-beginning-of-indent): Adjust for above. Search until the
3346 found point is not inside a string or comment.
3347 (ruby-font-lock-keywords): Allow symbols to start with "@"
3348 character, give them higher priority than variables.
3349 (ruby-syntax-propertize-function)
3350 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3351 matchers. Expression expansions are not comments when inside a
3352 string, and there comment syntax status is irrelevant.
3353 (ruby-match-expression-expansion): New function. Check that
3354 expression expansion is inside a string, and it's not escaped.
3355 (ruby-font-lock-keywords): Use it.
3356
ef654460
MR
33572012-09-05 Martin Rudalics <rudalics@gmx.at>
3358
3359 * help.el (temp-buffer-max-height): New default value.
3360 (temp-buffer-resize-frames): New option.
3361 (resize-temp-buffer-window): Optionally resize frame.
3362
3363 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3364 (fit-frame-to-buffer): New function.
3365
7e570fbf 33662012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3367
3368 * emulation/cua-rect.el (cua--init-rectangles):
3369 * textmodes/picture.el (picture-mode-map):
3370 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3371 like forward-char and backward-char. (Bug#12317)
3372
7e570fbf 33732012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3374
3375 * progmodes/flymake.el (flymake-warning-re): New variable.
3376 (flymake-parse-line): Use it.
3377
7e570fbf 33782012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3379
3380 * calendar/holidays.el (holiday-christian-holidays):
3381 Rename an entry. (Bug#12289)
3382
7e570fbf 33832012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3384
3385 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3386 (bug#12222).
3387
972debf2
SM
33882012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3389
3390 * loadup.el: Load macroexp. Remove hack.
3391 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3392 (macroexp--expand-all): Use it to get better warnings.
3393 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3394 (internal-macroexpand-for-load): New functions.
3395 (macroexp--pending-eager-loads): New var.
3396 (emacs-startup-hook): New hack to replace one in loadup.el.
3397 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3398 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3399 (cl-psetf): Simplify.
3400 (cl-defstruct): Add indent rule.
3401
8ce192e3
LI
34022012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3403
3404 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3405 over `user-mail-address' for the SMTP MAIL FROM envelope.
3406 (smtpmail-via-smtp): Ditto.
3407
6578b4d8
DG
34082012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3409
3410 * progmodes/ruby-mode.el: Clean up keybindings.
3411 (ruby-mode-map): Don't bind ruby-electric-brace,
3412 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3413 backward-kill-word, reindent-then-newline-and-indent.
3414 (ruby-mark-defun): Remove.
3415 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3416 (ruby-mode): Set local beginning-of-defun-function and
3417 end-of-defun-function values.
3418
c5e28e39
MR
34192012-09-03 Martin Rudalics <rudalics@gmx.at>
3420
3421 * window.el (temp-buffer-window-setup-hook)
3422 (temp-buffer-window-show-hook): New hooks.
3423 (temp-buffer-window-setup, temp-buffer-window-show)
3424 (with-temp-buffer-window): New functions.
972debf2
SM
3425 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3426 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3427
3428 * help.el (temp-buffer-resize-mode): Fix doc-string.
3429 (resize-temp-buffer-window): New optional argument WINDOW.
3430
3431 * files.el (recover-file, save-buffers-kill-emacs):
3432 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3433
73406194
MA
34342012-09-02 Michael Albinus <michael.albinus@gmx.de>
3435
3436 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3437 remote definition of `default-directory', ensure we can connect.
3438
63dd1c6f
JL
34392012-09-02 Juri Linkov <juri@jurta.org>
3440
3441 Toggle whitespace matching mode with M-s SPC.
3442 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3443
3444 * isearch.el (search-whitespace-regexp): Doc fix.
3445 Remove cons cell customization.
3446 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3447 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3448 New variables.
3449 (isearch-forward, isearch-forward-regexp): Doc fix.
3450 (isearch-toggle-lax-whitespace): New command.
3451 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3452 (re-search-forward-lax-whitespace)
3453 (re-search-backward-lax-whitespace): New functions.
3454 (isearch-whitespace-regexp): Remove function.
3455 (isearch-query-replace): Let-bind replace-search-function and
3456 replace-re-search-function.
3457 (isearch-occur): Let-bind search-spaces-regexp according to the
3458 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3459 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3460 condition for C-q SPC.
3461 (isearch-search-fun-default): Use new functions mentioned above.
3462 (isearch-search-forward, isearch-search-backward): Remove functions.
3463 (isearch-search): Don't let-bind search-spaces-regexp.
3464 (isearch-lazy-highlight-space-regexp): Remove variable.
3465 (isearch-lazy-highlight-lax-whitespace)
3466 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3467 (isearch-lazy-highlight-new-loop): Use them.
3468 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3469
af7dda05
CY
34702012-09-02 Chong Yidong <cyd@gnu.org>
3471
3472 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3473
d67d3afd
GM
34742012-09-02 Glenn Morris <rgm@gnu.org>
3475
3476 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3477
69678719
GM
34782012-09-01 Glenn Morris <rgm@gnu.org>
3479
3480 * term.el: Tidy up menu definitions.
3481 (term-mode-map): Use easymenu for In/Out, Complete menus.
3482 (term-pager-break-map): Initialize in the defvar.
3483 (term-terminal-menu, term-signals-menu): Define with easymenu.
3484 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3485 (term-pager-menu): New, extracted from term-process-pager.
3486 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3487 (term-update-mode-line): Propertize line/char and page items.
3488 (term-process-pager): Move keymap initialization elsewhere.
3489
78dd6ab1
MR
34902012-09-01 Martin Rudalics <rudalics@gmx.at>
3491
3492 * window.el (switch-to-prev-buffer): Handle additional values of
3493 BURY-OR-KILL argument. Don't switch in minibuffer window.
3494 (switch-to-next-buffer): Don't switch in minibuffer window.
3495 (quit-restore-window): New function based on quit-window.
3496 Handle additional values of former KILL argument.
3497 (quit-window): Call quit-restore-window with appropriate
3498 interpretation of KILL argument.
3499 (display-buffer-below-selected): New buffer display action
3500 function.
3501
3d10e134
SM
35022012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3503
3504 * minibuffer.el (completion-at-point-functions): Complete docstring
3505 (bug#12254).
3506
0e23ef9d
PE
35072012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3508
3509 Better seed support for (random).
3510 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3511 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3512 * play/mpuz.el, play/tetris.el, play/zone.el:
3513 * calc/calc-comb.el (math-init-random-base):
3514 * play/blackbox.el (bb-init-board):
3515 * play/life.el (life):
3516 * server.el (server-use-tcp):
3517 * type-break.el (type-break):
3518 Remove unnecessary call to (random t).
3519 * net/sasl.el (sasl-unique-id-function):
3520 Change (random t) to (random), now that the latter is more random.
3521 * play/life.el (life-initialized): Remove no-longer-needed var.
3522
862382df
MR
35232012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3524
3525 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3526 Consider frame's buffer predicate when choosing the buffer.
3527 (Bug#12081)
3528
262a66e1
RS
35292012-08-30 Richard Stallman <rms@gnu.org>
3530
3531 * simple.el (special-mode-map): Delete binding for `z'.
3532
f17e1d00
AS
35332012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3534
3535 * progmodes/compile.el (compilation-always-kill): Doc fix.
3536
24777832
CY
35372012-08-30 Chong Yidong <cyd@gnu.org>
3538
3539 * window.el (display-buffer-reuse-frames): Make the obsolescence
3540 message more informative.
3541
69ba1f04
GM
35422012-08-30 Glenn Morris <rgm@gnu.org>
3543
3544 * paren.el (show-paren-delay):
3545 Add a :set function. Doc fix. (Bug#12297)
3546
f0019ede
MB
35472012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3548
3549 * progmodes/compile.el (compilation-always-kill): New var.
3550 (compilation-start): Use it.
3551
35e62fc9
SM
35522012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3553
af070a1c
SM
3554 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3555 * files.el (read-only-mode): Move to simple.el.
3556
35e62fc9
SM
3557 * files.el (read-only-mode): New minor mode.
3558 (toggle-read-only): Use it and mark obsolete.
3559 (find-file--read-only):
3560 * vc/vc.el (vc-next-action, vc-checkout):
3561 * vc/vc-cvs.el (vc-cvs-checkout):
3562 * obsolete/vc-mcvs.el (vc-mcvs-update):
3563 * ffap.el (ffap--toggle-read-only): Update callers.
3564
c2c43c23
MA
35652012-08-29 Michael Albinus <michael.albinus@gmx.de>
3566
3567 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3568 remote shell scripts.
3569 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3570
3571 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3572 "/usr/local/sbin".
3573
9fba804b
SM
35742012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3577
eada0861 35782012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3579
806f0cc7
LL
3580 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3581 completion-at-point. (Bug#12220)
3582
3bb213b9
LL
3583 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3584
22ab32ef
LL
3585 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3586
eada0861 35872012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3588
19c17fc1
CY
3589 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3590 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3591
eada0861 35922012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3593
3594 * progmodes/hideif.el (hif-compress-define-list):
3595 Fix typo. (Bug#11951)
3596
eada0861 35972012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3598
3599 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3600 buffer local setting.
3601
27d6c5a8
LL
3602 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3603 rcirc-encode-coding-system.
3604
eada0861 36052012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3606
3607 * net/rcirc.el (rcirc-split-message): New function.
3608 (rcirc-send-message): Use it. (Bug#12051)
3609
d44688e4
JL
36102012-08-28 Juri Linkov <juri@jurta.org>
3611
3612 * info.el (Info-fontify-node): Hide empty lines at the end of
3613 the node. (Bug#12272)
3614
34f10d41
MR
36152012-08-27 Drew Adams <drew.adams@oracle.com>
3616
3617 * dired.el (dired-pop-to-buffer): Make window start at beginning
3618 of buffer (Bug#12281).
3619
77f1f99c
CY
36202012-08-26 Chong Yidong <cyd@gnu.org>
3621
3622 * window.el (special-display-regexps, special-display-frame-alist)
3623 (special-display-buffer-names, special-display-function)
3624 (display-buffer-reuse-frames): Mark as obsolete.
3625
3626 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3627
3628 * help.el (help-print-return-message): Don't treat
3629 display-buffer-reuse-frames specially.
3630
d97af5a0
CY
36312012-08-26 Chong Yidong <cyd@gnu.org>
3632
9fba804b
SM
3633 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3634 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3635 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3636 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3637 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3638 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3639 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3640 the functions directly with gdb-display-buffer-other-frame-action.
3641 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3642 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3643 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3644 (gdb-display-registers-buffer): Define directly.
3645 (def-gdb-display-buffer): Macro deleted.
3646 (gdb-display-buffer): Remove second and third args, callers don't
3647 use them. Defer to the default display-buffer behavior, apart
3648 from making windows dedicated.
3649 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3650
3651 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3652
3653 * window.el (display-buffer-pop-up-frame): Handle a
3654 pop-up-frame-parameters alist entry.
3655 (display-buffer): Document it.
3656
dd7ffad6
CY
36572012-08-26 Chong Yidong <cyd@gnu.org>
3658
3659 * isearch.el (search-whitespace-regexp): Make string and nil
3660 values apply to both ordinary and regexp search. Allow a cons
3661 cell value to distinguish between the two.
3662 (isearch-whitespace-regexp, isearch-search-forward)
3663 (isearch-search-backward): New functions.
3664 (isearch-occur, isearch-search-fun-default, isearch-search)
3665 (isearch-lazy-highlight-new-loop): Use them.
3666 (isearch-forward, isearch-forward-regexp): Doc fix.
3667
4c47bd1e
CY
36682012-08-26 Chong Yidong <cyd@gnu.org>
3669
3670 * faces.el (help-argument-name): Always inherit from italic
3671 (Bug#12213).
3672
9aba119d
MR
36732012-08-25 Martin Rudalics <rudalics@gmx.at>
3674
3675 * window.el (window--even-window-heights): Even heights when
3676 WINDOW and the selected window form a vertical combination.
3677 (display-buffer-use-some-window): Provide that window used gets
3678 sized back by quit-window. (Bug#11880) and (Bug#12091)
3679
ca5256ad
PE
36802012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3681
3682 Fix file time stamp problem with bzr and CVS (Bug#12001).
3683 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3684 in the file's time stamp, since the version control system loses
3685 that information.
3686
d1c0d176
JL
36872012-08-22 Juri Linkov <juri@jurta.org>
3688
3689 * info.el (Info-fontify-node): Hide the suffix of the
3690 Info file name in the header line. (Bug#12187)
3691
141562ff
GM
36922012-08-22 Glenn Morris <rgm@gnu.org>
3693
3694 * calendar/cal-tex.el (cal-tex-weekly-common):
3695 Restore leading blank page.
3696
3a21537c 36972012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
3698
3699 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3700 the region under `shift-select-mode'. (Bug#12231)
3701
37022012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3703
3704 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3705 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3706 gives details on why the space is never needed.
3707
ea95074e
MR
37082012-08-22 Martin Rudalics <rudalics@gmx.at>
3709
9fba804b
SM
3710 * window.el (walk-window-tree, window-with-parameter):
3711 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3712 should run on the minibuffer window.
3713 (window-at-side-list): Don't operate on minibuffer window.
3714 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3715 (window--size-ignore): Rename to window--size-ignore-p.
3716 Update callers.
caceae25
MR
3717 (display-buffer-in-atom-window, window--major-non-side-window)
3718 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3719 (delete-side-window, display-buffer-in-side-window):
3720 New functions.
caceae25
MR
3721 (window--side-check, window-deletable-p, delete-window)
3722 (delete-other-windows, split-window): Handle side windows and
3723 atomic windows appropriately.
3724 (window--display-buffer): Call display-buffer-record-window also
3725 when the window buffer did not change.
ea95074e 3726
80a51fa0
CS
37272012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3728
3729 * help-fns.el (help-fns--key-bindings):
3730 Abbreviate non-symbol remap targets. (Bug#12174)
3731
fbb6300b
MR
37322012-08-22 Martin Rudalics <rudalics@gmx.at>
3733
3734 * dired.el (dired-mark-remembered): Don't clobber point.
3735 (Bug#11795)
3736
2b2c0794
GM
37372012-08-22 Glenn Morris <rgm@gnu.org>
3738
3739 * progmodes/bug-reference.el (bug-reference): New custom group.
3740 (bug-reference-bug-regexp): Make it a defcustom.
3741
37219830
DU
37422012-08-22 Daiki Ueno <ueno@unixuser.org>
3743
3744 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3745 (js-paren-indent-offset, js-square-indent-offset)
3746 (js-curly-indent-offset): Add :safe (Bug#12257).
3747
94e0e559
EC
37482012-08-22 Edward O'Connor <hober0@gmail.com>
3749
3750 * json.el (json-key-format): Add error properties.
3751 (json-encode-key): New function.
3752 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3753 Use json-encode-key.
3754
da485f5e
GM
37552012-08-22 Glenn Morris <rgm@gnu.org>
3756
3757 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3758 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3759 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3760 Update for above change.
3761
c6cc78b8
AS
37622012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3763
3764 * cus-face.el (custom-face-attributes): Fix customize type for the
3765 :underline attribute. (Bug#11805)
3766
5481664a
MR
37672012-08-21 Martin Rudalics <rudalics@gmx.at>
3768
3769 * window.el (window-point-1, set-window-point-1): Remove.
3770 (window-in-direction, record-window-buffer)
3771 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3772 (window--state-get-1, display-buffer-record-window):
3773 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3774 window-point and set-window-point respectively.
3775
6d74698e
GM
37762012-08-21 Glenn Morris <rgm@gnu.org>
3777
b7fa2691
GM
3778 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3779 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3780 Use it.
3781
52f56d5a
GM
3782 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3783 (cal-tex-shortday): New function.
3784 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3785 (cal-tex-cursor-filofax-daily): Use the above.
3786
9f1ee09e
GM
3787 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3788 New functions.
3789 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3790 (cal-tex-cursor-filofax-week): Use them.
3791
79858159
GM
3792 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3793 New constants.
3794 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3795 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3796
d346b2b4
GM
3797 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3798 (cal-tex-end-document): Don't rely on buffer name.
3799
b2403709
GM
3800 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3801 Use cal-tex-vspace.
3802 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3803 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3804 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3805 Use cal-tex-arg.
b2403709 3806
1cebb5c0
GM
3807 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3808 (cal-tex-cursor-week, cal-tex-cursor-week2)
3809 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3810 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3811 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3812 (cal-tex-insert-preamble, cal-tex-b-document)
3813 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3814 Improve cal-tex-cmd usage.
3815
c68cd5d4
GM
3816 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3817 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3818 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3819 (cal-tex-weekly-paper): New function.
3820 (cal-tex-cursor-week, cal-tex-cursor-week2)
3821 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3822 (cal-tex-cursor-day): Use it.
3823
9dca4801
GM
3824 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3825 (cal-tex-cursor-filofax-week): Remove leading blank page.
3826
1941e134
GM
3827 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3828 Add autoload cookie. For now at least, don't use color, since
3829 no other cal-tex function does.
3830
6d74698e
GM
3831 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3832 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3833 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3834
64cde199
JL
38352012-08-21 Juri Linkov <juri@jurta.org>
3836
3837 * info.el (Info-file-attributes): New variable.
3838 (info-insert-file-contents): Add file attributes to
3839 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3840 `Info-toc-nodes' when previous modtime of the Info file is less
3841 than new modtime.
3842 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3843 of info.el. (Bug#12230)
3844
32757648
GM
38452012-08-20 Glenn Morris <rgm@gnu.org>
3846
3847 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3848 * calendar/holidays.el (calendar-holiday-list):
3849 Report errors with display-warning rather than beep'n'sleep.
3850
a32fbbcf
MA
38512012-08-20 Michael Albinus <michael.albinus@gmx.de>
3852
3853 * net/tramp.el (tramp-accept-process-output): Accept only output
3854 from PROC. Otherwise, process filters and sentinels might be
3855 confused. (Bug#12145)
3856
a05731a0
CY
38572012-08-20 Chong Yidong <cyd@gnu.org>
3858
3859 * descr-text.el (describe-text-properties-1): Use overlays-in to
3860 report on empty overlays (Bug#3322).
3861
36e8d1eb
GM
38622012-08-20 Glenn Morris <rgm@gnu.org>
3863
3d300447
GM
3864 * mail/rmailout.el (rmail-output-read-file-name):
3865 Trap and report errors in rmail-output-file-alist elements.
3866
36e8d1eb
GM
3867 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3868 since most non-font-lock faces are not also variables).
3869
b96e5814
ER
38702012-08-20 Edward Reingold <reingold@iit.edu>
3871
3872 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3873 New function. (Bug12160)
3874
7cef3569
GM
38752012-08-19 Glenn Morris <rgm@gnu.org>
3876
3877 * mail/rmailout.el (rmail-output-read-file-name):
3878 Fix previous change (when the alist is nil or does not match).
3879
17975d7f
CY
38802012-08-19 Chong Yidong <cyd@gnu.org>
3881
3882 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3883 (Bug#12228).
3884
2170b1bd
CY
38852012-08-18 Chong Yidong <cyd@gnu.org>
3886
3887 * simple.el (yank-handled-properties): New defcustom.
3888 (yank-excluded-properties): Add font-lock-face and category.
3889 (yank): Doc fix.
3890
9fba804b
SM
3891 * subr.el (remove-yank-excluded-properties):
3892 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3893 and category is now done this way, instead of being hard-coded.
3894 (insert-for-yank-1): Remove font-lock-face handling.
3895 (yank-handle-font-lock-face-property)
3896 (yank-handle-category-property): New function.
3897
ee218151
GM
38982012-08-17 Glenn Morris <rgm@gnu.org>
3899
3900 * mail/rmailout.el (rmail-output-read-file-name):
3901 Check rmail-output-file-alist against the full message body
3902 in the correct rmail buffer. (Bug#12214)
3903
4a6bc3fd
MA
39042012-08-17 Michael Albinus <michael.albinus@gmx.de>
3905
9fba804b
SM
3906 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3907 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3908
383dcbf9
CY
39092012-08-17 Chong Yidong <cyd@gnu.org>
3910
3911 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3912 font spec, set the font directly (Bug#3228).
3913
998c4a6a
MR
39142012-08-17 Martin Rudalics <rudalics@gmx.at>
3915
3916 * window.el (delete-window): Fix last fix.
3917
52162052
MR
39182012-08-16 Martin Rudalics <rudalics@gmx.at>
3919
3920 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3921 (window-child, window-child-count, window-last-child)
3922 (window-normalize-window, window-combined-p)
3923 (window-combinations, window-atom-root, window-min-size)
3924 (window-sizable, window-sizable-p, window-size-fixed-p)
3925 (window-min-delta, window-max-delta, window--resizable)
3926 (window--resizable-p, window-resizable, window-total-size)
3927 (window-full-height-p, window-full-width-p, window-body-size)
3928 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3929 (minimize-window, window-deletable-p, delete-window)
3930 (delete-other-windows, set-window-buffer-start-and-point)
3931 (next-buffer, previous-buffer, split-window, balance-windows-2)
3932 (set-window-text-height, window-buffer-height)
3933 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3934 (truncated-partial-width-window-p): Minor code adjustments.
3935 In doc-strings state whether the argument window has to denote a
85c2386b 3936 live, valid or any window.
52162052 3937
1c308380
PS
39382012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3939
3940 * progmodes/subword.el (subword-forward-function)
3941 (subword-backward-function, subword-forward-regexp)
3942 (subword-backward-regexp): New variables.
3943 (subword-forward, subword-forward-internal, subword-backward-internal):
3944 Use new variables, eg so that different "word" definitions
3945 can be easily used. (Bug#11411)
3946
94c9ece1
SM
39472012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3950 for composite selectors.
3951 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3952 operation just because we can't find a previous revision.
3953
f2045622
CY
39542012-08-15 Chong Yidong <cyd@gnu.org>
3955
3956 * frame.el (set-frame-font): Accept font objects.
3957
582db660
SM
39582012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3959
3960 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3961
2f29c200
WJ
39622012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3963
456e62c2
WJ
3964 * man.el (Man-overstrike-face, Man-underline-face)
3965 (Man-reverse-face): Remove variables.
3966 (Man-overstrike, Man-underline, Man-reverse): New faces.
3967 (Man-fontify-manpage): Use them instead of the variables.
3968 (Man-cleanup-manpage): Comment change.
3969 (Man-ansi-color-map): New variable.
3970 (Man-fontify-manpage): Use it.
3971 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3972
2f29c200
WJ
3973 Implement ANSI SGR parameters 22-27 (bug#12146).
3974 * ansi-color.el (ansi-colors): Doc fix.
3975 (ansi-color-context, ansi-color-context-region): Doc fix.
3976 (ansi-color--find-face): New function.
3977 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3978 Rename the local variable `face' to `codes' since it is now a list of
3979 ansi codes. Doc fix.
3980 (ansi-color-get-face): Remove.
3981 (ansi-color-parse-sequence): New function, derived from
3982 ansi-color-get-face.
3983 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3984 codes 22-27.
3985
b4f5e9df
SM
39862012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3987
3988 * subr.el (read-passwd): Allow use from a minibuffer.
3989
ba025fbd
EZ
39902012-08-14 Eli Zaretskii <eliz@gnu.org>
3991
3992 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3993 inside comments and strings as identifiers.
3994
3995 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3996 expression to evaluate. This allows to evaluate expressions with
3997 embedded whitespace.
3998 (gud-tooltip-tips): Add a blank before the newline in the
3999 message-box text, for the benefit of message-box emulation on
4000 MS-Windows.
4001
4002 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4003 messages from GDB, pop them up in a tooltip to give feedback to
4004 user.
b4f5e9df
SM
4005 (gdb-tooltip-print-1): Quote the expression to evaluate.
4006 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4007 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4008 if the TTY name is nil or empty (which happens when communicating
4009 with the inferior via pipes, e.g. on MS-Windows).
4010 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4011 don't send that to the GUD buffer.
4012
c548f821
GM
40132012-08-14 Glenn Morris <rgm@gnu.org>
4014
4015 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4016 Optimize away setq-default with no args, as for setq. (Bug#12195)
4017
55802e4a
CY
40182012-08-14 Chong Yidong <cyd@gnu.org>
4019
4abcdac8
CY
4020 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4021
55802e4a
CY
4022 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4023 (Bug#12085).
4024
3c3cda1a
GM
40252012-08-14 Glenn Morris <rgm@gnu.org>
4026
4027 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4028
e1873bd0
MA
40292012-08-14 Michael Albinus <michael.albinus@gmx.de>
4030
4031 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4032 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4033 Use cached shell name.
4034
925411b4
FEG
40352012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4036
4037 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4038 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4039
e636fafe
DG
40402012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4041
4042 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4043 (ruby-percent-literal-beg-re): New constant.
4044 (ruby-syntax-general-delimiters-goto-beg): Rename to
4045 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4046 (ruby-syntax-propertize-general-delimiters): Rename to
4047 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4048 popular term. Adjust comments everywhere.
4049 (ruby-syntax-propertize-percent-literal): Only propertize when not
4050 inside a simple string or comment. When the literal is unclosed,
4051 leave the text after it unpropertized.
f063063a
DG
4052 (ruby-syntax-methods-before-regexp): New constant.
4053 (ruby-syntax-propertize-function): Use it to recognize regexps.
4054 Don't look at the text after regexp, just use the whitelist.
e636fafe 4055
e5b19827
AS
40562012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4057
4058 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4059 non-nil always load the compiled file if it exists. (Bug#12197)
4060
a9f6f311
CY
40612012-08-14 Chong Yidong <cyd@gnu.org>
4062
4063 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4064 (hi-lock-set-pattern): When deciding whether to use font lock or
4065 overlays, look at font-lock-mode instead of font-lock-fontified
4066 (Bug#12168).
4067 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4068 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4069
7d806b1e
DU
40702012-08-14 Daiki Ueno <ueno@unixuser.org>
4071
4072 * subr.el (internal--after-with-selected-window): Fix typo
4073 (Bug#12193).
4074
5beed586
FEG
40752012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4076
4077 Use `completion-table-dynamic' for completion functions.
4078 * progmodes/python.el
4079 (python-shell-completion--do-completion-at-point)
e636fafe
DG
4080 (python-shell-completion--get-completions):
4081 Remove functions.
5beed586
FEG
4082 (python-shell-completion-complete-at-point): New function.
4083 (python-completion-complete-at-point): Use it.
4084
92cb3b04
J
40852012-08-13 Jambunathan K <kjambunathan@gmail.com>
4086
4087 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4088 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4089
89660017
SM
40902012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4091
3c98c962
SM
4092 * subr.el (function-get): Refine `autoload' arg so it can also
4093 autoload functions for gv.el (bug#12191).
4094 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4095 autoloads macros.
4096
aa7c6dbe
SM
4097 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4098 Prefer pcase-let over destructuring-bind.
4099 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4100 Also, remove whitespace as we go, rather than after accumulating the
4101 various places.
4102
89660017
SM
4103 * subr.el (internal--before-with-selected-window)
4104 (internal--after-with-selected-window): Fix typo seleted->selected.
4105 (with-selected-window): Adjust callers.
4106 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4107
31cd32c9
BG
41082012-08-13 Bastien Guerry <bzg@gnu.org>
4109
0fcd3d9f 4110 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4111 enhancement. (Bug#12172)
4112
1b15d8ad
AS
41132012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4114
31e54db0
AS
4115 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4116 type 1-6.
4117 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4118 extended headers.
4119
1b15d8ad
AS
4120 * files.el (hack-local-variables-filter): Remove useless eval.
4121
35cb9c06
MR
41222012-08-13 Martin Rudalics <rudalics@gmx.at>
4123
4124 * subr.el (with-selected-window): Fix last change.
4125
1439443b
SM
41262012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4127
4128 * subr.el (internal--before-with-seleted-window)
4129 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4130 (with-selected-window): Use them, to replace dependency on
4131 tty-top-frame.
1439443b 4132
0d9e2599
NN
41332012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4134
4135 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4136 binding for `newline'.
4137 (ruby-move-to-block): When moving backward, stop at block opening,
4138 not indentation.
4139 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4140 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4141 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4142 `ruby-toggle-block'.
4143
ba10c48c
SM
41442012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * ibuffer.el (ibuffer-do-toggle-read-only):
4147 * dired.el (dired-toggle-read-only):
4148 * buff-menu.el (Buffer-menu-toggle-read-only):
4149 * bindings.el (mode-line-toggle-read-only):
4150 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4151
9229c658
AS
41522012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4153
4154 * descr-text.el (describe-char): Put the overlays over the
4155 "displayed as" character.
4156
0fd09128
JB
41572012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4158
4159 * calc/calc-units.el (math-default-units-table): Give an
4160 initial value.
4161 (math-put-default-units): Add options to put composite units and
4162 unit systems in the default units table.
4163 (calc-convert-units): Send composite units to
4164 `math-put-default-units' when appropriate.
4165
9ff9402d 41662012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4167
fbb5e336
GM
4168 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4169
7aacaf15
GM
4170 * tutorial.el (help-with-tutorial):
4171 * emacs-lisp/copyright.el (copyright-update-directory):
4172 * emacs-lisp/autoload.el (autoload-find-generated-file)
4173 (autoload-find-file): Disable local eval: (for insurance).
4174
f40b9f10
GM
4175 * files.el (hack-local-variables-filter): If an eval: form is not
4176 known to be safe, and enable-local-variables is :safe, then ignore
4177 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4178 This is CVE-2012-3479.
f40b9f10 4179
daa9f1a6
SM
41802012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4181
4182 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4183 (rx-form): Simplify.
4184
9cd80478
DG
41852012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4186
0d9e2599
NN
4187 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4188 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4189 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4190 (ruby-syntax-propertize-function): Adjust for changes in
4191 `ruby-syntax-propertize-heredoc'.
4192
41932012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4194
9cd80478
DG
4195 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4196 binding (use `M-;' instead).
9cd80478 4197 (ruby-singleton-class-p): New function.
0d9e2599 4198 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4199
d301b413
SM
42002012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4203
1530c98e
CY
42042012-08-10 Chong Yidong <cyd@gnu.org>
4205
4206 * progmodes/python.el (python-shell-get-process-name): Don't mess
4207 with same-window-buffer-names.
4208
4209 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4210 (eshell-remove-from-window-buffer-names): Make obsolete.
4211 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4212 (eshell): Just use pop-to-buffer-same-window instead.
4213
e1293765
CY
42142012-08-10 Chong Yidong <cyd@gnu.org>
4215
4216 * bindings.el: Bind M-= back to count-words-region.
4217
4218 * simple.el (count-words-region): Accept a prefix arg for acting
4219 on the entire buffer.
4220 (count-words--buffer-message): New helper function.
4221
e1894109
SM
42222012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4223
4224 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4225 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4226 (event-start, event-end): Use posn-at-point to return a more
4227 informative posn.
4228 (posnp): New function.
4229 * mouse.el (popup-menu-normalize-position): Use it.
4230
c69f56a2
MY
42312012-08-10 Masatake YAMATO <yamato@redhat.com>
4232
4233 * mouse.el (popup-menu-normalize-position): New function.
4234 (popup-menu): Use `popup-menu-normalize-position' to normalize
4235 the form for POSITION argument.
4236
4237 * term/x-win.el (x-menu-bar-open):
4238 Use the value returend from (posn-at-point) as position
4239 passed to `popup-menu'.
4240
31673780
JB
42412012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4242
4243 * calc/calccomp.el (math-compose-expr): Add extra argument
4244 indicating that parentheses should be put around products in
4245 denominators. Give multiplication precedence over division during
4246 composition.
4247
dab7711b
CY
42482012-08-09 Chong Yidong <cyd@gnu.org>
4249
dee4ef93
CY
4250 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4251 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4252 (Man-untabify-command, manual-program): Convert to defcustom
4253 (Bug#10429).
4254
73e2bbc5
CY
4255 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4256
3e861c8a
CY
4257 * descr-text.el (describe-char): Don't insert extra newlines
4258 (Bug#10127).
4259
a9f5a649
CY
4260 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4261 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4262
dab7711b
CY
4263 * align.el (align-region): Delete temporary markers (Bug#10047).
4264 Plus some code cleanups.
4265
e0cc4efa
FEG
42662012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4267
4268 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4269 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4270 (python-shell-internal-last-output): Use make-local-variable
4271 instead of make-variable-buffer-local.
4272
489af14f
FEG
42732012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4274
4275 * progmodes/python.el: Enhancements to forward-sexp.
4276 (python-nav-forward-sexp): Rename from
4277 python-nav-forward-sexp-function.
c69f56a2
MY
4278 (python-nav--forward-sexp, python-nav--backward-sexp):
4279 New functions.
489af14f 4280
0fc50303
JB
42812012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4282
4283 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4284 modes and simplification modes.
4285
5d65606a
SM
42862012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * delsel.el (delete-selection-pre-hook): Don't propagate the
4289 file-supersession signals (bug#12161).
4290
4250fdf5
SM
42912012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4292
4293 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4294 (cl-map-extents): Add compatibility aliases (bug#12135).
4295
d9f9b465
MA
42962012-08-08 Michael Albinus <michael.albinus@gmx.de>
4297
4298 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4299 tests by `ignore-error'.
4300 (tramp-find-shell): Open also a new shell, when cache is already
4301 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4302
ce0fcefa
JL
43032012-08-08 Juri Linkov <juri@jurta.org>
4304
4305 * bookmark.el: Add `defaults' property to the bookmark record.
4306 (bookmark-current-buffer): Doc fix.
4307 (bookmark-make-record): Add `defaults' property with default values
4308 to the bookmark record.
4309 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4310 with `bookmark-insert-current-bookmark'.
4311 (bookmark-set): Get `defaults' property from the bookmark record
4312 and use it in `read-from-minibuffer'.
4313 (bookmark-insert-current-bookmark): Remove function.
4314
4315 * info.el (Info-bookmark-make-record): Add `defaults' property
4316 with values of canonical Info node name, the current Info file
4317 name and the current Info node name. (Bug#12107)
4318
53fa8652
JL
43192012-08-08 Juri Linkov <juri@jurta.org>
4320
4321 * files.el (basic-save-buffer): Use `buffer-name' as the default
4322 of `read-file-name' when buffer is not visiting a file (bug#12128).
4323
242c0a95
JL
43242012-08-08 Juri Linkov <juri@jurta.org>
4325
4326 * info.el (Info-isearch-search): Doc fix.
4327 (Info-search): Change search-failed message from "initial node" to
4328 "end of node" (bug#12078).
4329 (Info-isearch-search): Change `isearch-string-state' to
4330 `isearch--state-string'.
4331
32ac3a6b
GM
43322012-08-08 Glenn Morris <rgm@gnu.org>
4333
4334 * language/persian.el: Remove file.
f8c1afd5 4335 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4336 * loadup.el: Remove language/persian.
4337
2c2d9c9c
OF
43382012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4339
4340 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4341
2d79ec42
FEG
43422012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4343
3c855b96 4344 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
4345 (python-syntax-context) Rename from python-info-ppss-context.
4346 (python-syntax-context-type): Rename from
4347 python-info-ppss-context-type.
4348 (python-syntax-comment-or-string-p): Rename from
4349 python-info-ppss-comment-or-string-p.
4350
2bd255dd
JB
43512012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4352
4353 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4354
c395097f
AS
43552012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4356
6125983e
AS
4357 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4358 a defcustom that is quoted with backquote.
4359
4250fdf5
SM
4360 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4361 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4362 (math-do-arg-check, math-define-function-body): Use backquote forms.
4363 * calc/calc-ext.el (math-defcache): Likewise.
4364 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4365 * allout.el (allout-new-exposure): Likewise.
4366 * calc/calcalg2.el (math-tracing-integral): Likewise.
4367 * info.el (Info-last-menu-item): Likewise.
4368 * emulation/vip.el (vip-loop): Likewise.
4369 * textmodes/artist.el (artist-funcall): Likewise.
4370 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4371 Construct menu-item directly.
4372
4250fdf5
SM
4373 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4374 Don't declare.
c395097f 4375
5fb50dd3
CY
43762012-08-07 Chong Yidong <cyd@gnu.org>
4377
4378 * simple.el (deactivate-mark): Preserve text properties when
4379 saving the primary selection (Bug#8384).
4380
54eea618
KR
43812012-08-07 Kevin Ryde <user42@zip.com.au>
4382
4383 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4384 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4385 and continue processing (Bug#12110).
4386
638eaeb9
SM
43872012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4390 syntax-propertize-function (bug#10095).
4391
ea376861
SM
43922012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4393
f91b35be
SM
4394 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4395 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4396 describe-function-1.
4397 (describe-function-1): Use them. Move compiler macro after sig.
4398 (help-fns--compiler-macro): Use function-get. Assume we're already in
4399 standard-output. Adjust layout to new call order.
4400
ea376861
SM
4401 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4402 re-binding a symbol that has a symbol-macro (bug#12119).
4403
d5be7bd0
MB
44042012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4405
4406 * language/persian.el: New file. (Bug#11812)
4407 * loadup.el: Add language/persian.el.
4408
90749b53
CY
44092012-08-06 Chong Yidong <cyd@gnu.org>
4410
4411 * window.el (window--maybe-raise-frame): New function.
4412 (window--display-buffer): Split off from here.
4413 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4414 (display-buffer-pop-up-window, display-buffer-use-some-window):
4415 Obey an inhibit-switch-frame action alist entry.
4416 (display-buffer): Update doc.
4417
4418 * replace.el (occur-after-change-function): Avoid losing focus by
4419 using the inhibit-switch-frame display parameter (Bug#12139).
4420
ba7b0154
FEG
44212012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4422
4423 Make internal shell process buffer names start with space.
4424 * progmodes/python.el (python-shell-make-comint): Add optional
4425 argument INTERNAL.
4426 (run-python-internal): Use it.
4427 (python-shell-internal-get-or-create-process): Check for new
4428 internal buffer names.
4429
5eaeacb5
GM
44302012-08-06 Glenn Morris <rgm@gnu.org>
4431
e296d94b 4432 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4433 Do less getting and setting of environment variables.
4434
b7ccbdc2
CY
44352012-08-05 Chong Yidong <cyd@gnu.org>
4436
777fe95e
CY
4437 * proced.el (proced): Add substitution string to docstring to
4438 trigger autoloading of the proced library on C-h f (Bug#1768).
4439
4250fdf5
SM
4440 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4441 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4442
4443 * imenu.el (imenu-generic-expression): Move documentation here
4444 from imenu--generic-function.
4445 (imenu--generic-function): Refer to imenu-generic-expression.
4446
9e3b7800 44472012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4448
4449 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4450 indentation declaration.
4451 (viper-loop): Add indentation declaration (Bug#7025).
4452
e5d9c0d1
CY
44532012-08-05 Chong Yidong <cyd@gnu.org>
4454
f0422feb
CY
4455 * help-fns.el (describe-variable): Add hyperlink for
4456 directory-local variables files. Improve buffer-local and
4457 permanent-local reporting; suggested by MON KEY (Bug#6644).
4458
4459 * help-mode.el (help-dir-local-var-def): New button type.
4460
e5d9c0d1
CY
4461 * files.el (kill-buffer-hook): Provide a defvar.
4462
a4f2deaa
GM
44632012-08-05 Glenn Morris <rgm@gnu.org>
4464
4465 * eshell/esh-ext.el (eshell/addpath):
4466 Also update eshell-path-env. (Bug#12013)
4467
a9dd5754
CY
44682012-08-05 Chong Yidong <cyd@gnu.org>
4469
a4f2deaa 4470 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4471
d014c740
CY
4472 * fringe.el (fringe-styles): Add docstring.
4473 (fringe--check-mode): New function.
4474 (set-fringe-mode, set-fringe-style): Use it.
4475 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4476
a9dd5754
CY
4477 * files.el (set-auto-mode): Fix invalid setq call.
4478
7c2dc8bd
SM
44792012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * isearch.el: Misc simplification; use defstruct.
4482 (isearch-mode-map): Dense maps now work like sparse ones.
4483 (isearch--state): New defstruct.
4484 (isearch-string-state, isearch-message-state, isearch-point-state)
4485 (isearch-success-state, isearch-forward-state)
4486 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4487 (isearch-wrapped-state, isearch-barrier-state)
4488 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4489 replaced by defstruct's accessors.
4490 (isearch--set-state): Rename from isearch-top-state and change
4491 calling convention.
4492 (isearch-push-state): Use new isearch--get-state.
4493 (isearch-toggle-word): Disable regexp when enabling word.
4494 (isearch-message-prefix): Remove unused arg _c-q-hack.
4495 (isearch-message-suffix): Remove unused arg _ellipsis.
4496
7fcc0070
AS
44972012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4498
4499 * simple.el (list-processes--refresh): For a server use :host or
4500 :local as the address.
97ad0769 4501 (list-processes): Doc fix.
7fcc0070 4502
a11035b8 45032012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4504
4505 * lisp/mpc.el: Support password in host argument.
4506 (mpc--proc-connect): Parse and use new password element.
4507 Set mpc-proc variable instead of returning process.
4508 (mpc-proc): Adjust accordingly.
4509
6dad7178
EZ
45102012-08-03 Eli Zaretskii <eliz@gnu.org>
4511
18949c2f
EZ
4512 * whitespace.el (whitespace-display-mappings): Use Unicode
4513 codepoints, instead of emacs-mule codepoints. See
4514 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4515 for the details.
4516
6dad7178
EZ
4517 * files.el (file-truename): Don't skip symlink-chasing part on
4518 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
4519 Windows into the loop that recursively chases symlinks.
4520 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
4521 MS-DOS.
4522
385b0198
CY
45232012-08-03 Chong Yidong <cyd@gnu.org>
4524
6200f3c4
CY
4525 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4526
385b0198
CY
4527 * sort.el (sort-regexp-fields): Doc fix.
4528
b9e74744
TH
45292012-08-03 Tassilo Horn <tsdh@gnu.org>
4530
4531 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4532 labels regex position point at the expected place.
4533
41013cb4
MK
45342012-08-03 MON KEY <monkey@sandpframing.com>
4535
4536 * net/imap.el (imap-interactive-login, imap-authenticate)
4537 (imap-mailbox-lsub, imap-mailbox-list)
4538 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4539 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4540 (imap-parse-response): Doc fix.
4541
0ffee616
JT
45422012-08-03 João Távora <joaotavora@gmail.com>
4543
4544 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4545 if sexp scanning does not move point (Bug#5734).
4546
cfcc9cc8
TH
45472012-08-02 Tassilo Horn <tsdh@gnu.org>
4548
4549 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4550 Add listings, minted, and ctable packages.
4551 (reftex-label-alist-builtin): Move listings, minted, and ctable
4552 entries before LaTeX.
a01bbb84 4553 (reftex-label-alist): Docfix.
cfcc9cc8 4554
66ec2442
BG
45552012-08-02 Bastien Guerry <bzg@gnu.org>
4556
4557 * replace.el (occur): Fix docstring (bug#12122).
4558
837b365b
GM
45592012-08-02 Glenn Morris <rgm@gnu.org>
4560
4561 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4562
e098de97
PE
45632012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4564
4565 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4566 * international/mule-cmds.el: Create
4567 inactivate-current-input-method-function as an obsolete alias for
4568 deactivate-current-input-method-function. See Katsumi Yamaoka in
4569 <http://bugs.gnu.org/10150#46>.
4570
a0f95636
JB
45712012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4572
4573 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4574 of nested `if's.
4575
0d26d7c4
GM
45762012-08-01 Glenn Morris <rgm@gnu.org>
4577
4578 * progmodes/autoconf.el (autoconf-definition-regexp):
4579 Add AH_TEMPLATE, adjust submatch numbering.
4580 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4581 (autoconf-current-defun-function): Update for above change.
4582 (autoconf-current-defun-function): First skip to end of current word.
4583
b686ba06
RS
45842012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4585
4586 * calendar/cal-html.el (cal-html-insert-agenda-days):
4587 Fix typo. (Bug#12018)
4588
0d49da68
FEG
45892012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4590
4591 Shell processes: enhancements to startup and CEDET compatibility.
4592 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4593 (python-shell-make-comint): accept-process-output at startup.
4594 (run-python-internal): Set inferior-python-mode-hook to nil.
4595 (python-shell-internal-get-or-create-process): call sit-for.
4596 (python-preoutput-result): Add obsolete alias.
4597 (python-shell-internal-send-string): Use it.
4598 (python-shell-send-setup-code): Remove call to
4599 accept-process-output.
4600
f1a71c6e
AS
46012012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4602
4603 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4604 (Bug#12108)
4605
d2605269
JB
46062012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4607
4608 * calc-mode.el (calc-basic-simplification-mode): Rename from
4609 `calc-limited-simplification-mode'.
4610 (calc-alg-simplification-mode): New function.
fc0c31f8 4611 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4612
d2605269
JB
4613 * calc.el (calc-set-mode-line): Adjust mode line display for
4614 basic simplification mode.
4615
4616 * calc-help.el (calc-m-prefix-help): Update help message.
4617
4618 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4619 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4620
a3827a43
BG
46212012-07-31 Bastien Guerry <bzg@gnu.org>
4622
4623 * man.el (man): Fix comment. (bug#12101)
4624
502e3f89
MR
46252012-07-31 Martin Rudalics <rudalics@gmx.at>
4626
4627 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4628 Don't return a non-nil value when no suitable buffer was found.
4629
d7714961
FEG
46302012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4631
4632 * progmodes/python.el (run-python-internal): Disable font lock for
4633 internal shells.
4634
1f45e27e
SM
46352012-07-30 Stefan Merten <smerten@oekonux.de>
4636
70efc5c9 4637 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4638 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4639 (rst-official-version, rst-official-cvs-rev)
4640 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4641 (rst-mode-map): New key binding.
4642
0aee6912
PE
46432012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4644
4645 Update .PHONY listings in makefiles.
4646 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4647 autoloads, update-subdirs, updates, bzr-update, update-authors,
4648 compile-onefile, compile-calc, backup-compiled-files,
4649 compile-after-backup, compile-one-process, mh-autoloads,
4650 bootstrap-clean, distclean, maintainer-clean.
4651
9052f9f0
JB
46522012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4653
1823ac5a
JB
4654 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4655 (calc-set-mode-line): Don't display "AlgSimp ".
4656
4657 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4658 (calc-lim-simplify-mode): New function.
4659 (calc-set-simplify-mode): Default to 'alg.
4660 (calc-default-simplify-mode): Make algebraic simplifications
4661 the default.
4662
4663 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4664 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4665
8d7c7eed 4666 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4667 indicate new simplification modes.
4668
1823ac5a
JB
4669 * calc/README: Mention new default simplification mode.
4670
9052f9f0
JB
4671 * calc/calc.el (math-normalize-error): New variable.
4672 (math-normalize): Set `math-normalize-error' to t
4673 when there's an error.
4674
4675 * calc/calc-alg.el (math-simplify): Don't simplify when
4676 `math-normalize' returns an error.
4677
20ba0cb4
EZ
46782012-07-29 Eli Zaretskii <eliz@gnu.org>
4679
4680 * international/mule-cmds.el (set-locale-environment): Revert last
4681 change, since display-graphic-p returns nil when this function is
4682 called during startup. Instead...
4683
4684 * term/w32console.el (terminal-init-w32console): ...setup the
4685 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4686
a5dcc929
JL
46872012-07-29 Juri Linkov <juri@jurta.org>
4688
4689 * simple.el (goto-line): Don't display default line number in the
4690 prompt because it should be displayed by `read-number' (bug#9952).
4691 Add the current line number to the defaults of `goto-line' to
4692 allow its easier modification by users with `M-n' (bug#9201).
4693
4694 * subr.el (read-number): Support multiple default values like in
4695 other minibuffer reading functions. Replace `read' with
4696 `string-to-number' for consistency with `number-to-string'.
4697
72b255c7
PE
46982012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4699
4700 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4701 * emulation/viper-init.el (viper-deactivate-input-method-action):
4702 Rename from viper-inactivate-input-method-action.
4703 (viper-deactivate-input-method):
4704 Rename from viper-inactivate-input-method.
4705 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4706 * international/mule-cmds.el (deactivate-input-method):
4707 Rename from inactivate-input-method.
4708 Also run input-method-deactivate-hook.
4709 (deactivate-current-input-method-function):
4710 Rename from inactivate-current-input-method-function.
4711 (input-method-deactivate-hook): New hook.
4712 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4713 (inactivate-input-method): Mark obsolete.
4714
72b255c7
PE
4715 * international/quail.el (quail-activate):
4716 Also run quail-deactivate-hook.
4717 (quail-deactivate): Rename from quail-inactivate.
4718 * international/robin.el (robin-activate):
4719 Also run robin-deactivate-hook.
4720 (robin-deactivate): Rename from robin-inactivate.
4721
2549c068
CY
47222012-07-29 Chong Yidong <cyd@gnu.org>
4723
4724 * simple.el (indicate-copied-region): New function.
4725 (kill-ring-save): Split off from here.
4726
4727 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4728 (kill-rectangle): Set deactivate-mark to t on read-only error.
4729
4730 * register.el (copy-to-register, copy-rectangle-to-register):
4731 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4732 (append-to-register, prepend-to-register): Call indicate-copied-region.
4733
47342012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4735
4736 * simple.el (async-shell-command-buffer): New defcustom.
4737 (shell-command): Use it. (Bug#4719)
4738
01bd1b0d
EZ
47392012-07-28 Eli Zaretskii <eliz@gnu.org>
4740
4741 * international/mule-cmds.el (set-locale-environment): In a
4742 console session on MS-Windows, set up keyboard and terminal
4743 encoding from the OEM codepage, not the ANSI codepage.
4744 (Bug#12055)
4745
a55739d3
CY
47462012-07-28 Chong Yidong <cyd@gnu.org>
4747
4748 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4749 gdb-get-location.
4750
0e1a094f 47512012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4752
4753 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4754 the alist (bug#12029).
4755
20329d73
EZ
47562012-07-28 Eli Zaretskii <eliz@gnu.org>
4757
4758 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4759 (compile-always, compile-first)
4760 ($(lisp)/calendar/cal-loaddefs.el)
4761 ($(lisp)/calendar/diary-loaddefs.el)
4762 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4763 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4764 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4765 instead of on update-subdirs.
4766 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4767
345a2258
CY
47682012-07-28 Chong Yidong <cyd@gnu.org>
4769
1eee6341
CY
4770 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4771 directory if vc-deduce-backend returns nil (Bug#7350).
4772
345a2258
CY
4773 * simple.el (delete-trailing-lines): New option.
4774 (delete-trailing-whitespace): Obey it (Bug#11879).
4775
049a0936
DE
47762012-07-28 David Engster <deng@randomsample.de>
4777
4778 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4779 Explanation of new 'symbol-qnames feature in doc-strings.
4780 (xml-maybe-do-ns): Return expanded names as plain symbols if
4781 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4782 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4783
aa81af71
FEG
47842012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4785
4786 Consistent completion in inferior python with emacs -nw.
4787 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4788 binding in inferior-python-mode-map with "\t".
4789 (python-shell-completion-complete-at-point)
4790 (python-completion-complete-at-point): Remove interactive spec.
4791
e827b1eb
JB
47922012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4793
4794 * calc/calccomp.el (math-compose-expr): Undo previous change.
4795
a90dfb95
FEG
47962012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4797
4250fdf5 4798 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4799 run-python.
4800 (python-shell-make-comint): Fix pop-to-buffer call.
4801 (run-python): Autoload. New arg SHOW.
4802 (python-shell-get-or-create-process): Do not pop python process
4803 buffer.
4804
32770973 48052012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4806
4807 * notifications.el (notifications-on-action-signal)
4808 (notifications-on-closed-signal): Use also the bus address for the map.
4809 (notifications-notify, notifications-close-notification)
fc0c31f8 4810 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4811
86332df2
TH
48122012-07-27 Tassilo Horn <tsdh@gnu.org>
4813
4250fdf5
SM
4814 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4815 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4816 ctable macro.
4817 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4818 labels written in keyvals syntax.
4819
ca1302a4
JB
48202012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4821
4822 * calc/calccomp.el (math-compose-expr): Use parentheses when
4823 there is a product in the denominator of a fraction.
4824
f8b91036
EZ
48252012-07-26 Eli Zaretskii <eliz@gnu.org>
4826
4827 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4828 ($(lisp)/calendar/diary-loaddefs.el)
4829 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4830 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4831 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4832 rewritten while the autoload files are built at the same time,
4833 which needs to load subdirs.el.
4834
c8e5a42c
MR
48352012-07-26 Martin Rudalics <rudalics@gmx.at>
4836
4837 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4838 (mouse-drag-line): Don't exit tracking when a switch-frame or
4839 switch-window event occurs (Bug#12006).
4840
670d85ea
SM
48412012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4842
4843 * mouse.el (popup-menu): Fix last change.
4844
7abaf5cc
SM
48452012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4846
4847 Autoload from Lisp with more care. Follow aliases when looking for
4848 function properties.
4849 * subr.el (autoloadp): New function.
4850 (symbol-file): Use it.
4851 (function-get): New function.
4852 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4853 autoload-do-load.
4854 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4855 (lisp-indent-function):
4856 * emacs-lisp/gv.el (gv-get):
4857 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4858 * emacs-lisp/byte-opt.el (byte-optimize-form):
4859 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4860 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4861 Use function-get.
4862 * emacs-lisp/cl.el: Don't propagate function properties any more.
4863
4864 * speedbar.el (speedbar-add-localized-speedbar-support):
4865 * emacs-lisp/disass.el (disassemble-internal):
4866 * desktop.el (desktop-load-file):
4867 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4868 (describe-function-1):
4869 * emacs-lisp/find-func.el (find-function-noselect):
4870 * emacs-lisp/elp.el (elp-instrument-function):
4871 * emacs-lisp/advice.el (ad-has-proper-definition):
4872 * apropos.el (apropos-safe-documentation, apropos-macrop):
4873 * emacs-lisp/debug.el (debug-on-entry):
4874 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4875 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4876 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4877
b1364986
AA
48782012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4879
4880 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4881 function, not an obsolete variable (Bug#12046).
4882
67ada220
AS
48832012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4884
4885 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4886
f08088e3
CS
48872012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4888
4889 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4890 window only if it is still live (Bug#12034).
4891
8137e7b3
MR
48922012-07-25 Martin Rudalics <rudalics@gmx.at>
4893
4894 * subr.el (redirect-frame-focus): Add advertised calling
4895 convention (Bug#12030).
4896
09ae5da1
PE
48972012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4898
4899 Prefer typical American spelling for "acknowledgment".
4900 * vc/add-log.el (change-log-acknowledgment): Rename from
4901 change-log-acknowledgement, with an alias for the old name.
4902
3cc5a3a8
JB
49032012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4904
4905 * calc-alg.el (math-simplify-divide): Don't cross multiply
4906 in an equation when the lhs is a variable.
4907
b7af7f62
JD
49082012-07-24 Julien Danjou <julien@danjou.info>
4909
4910 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4911 Remove, unused.
4912
ec1b09b1
EZ
49132012-07-23 Eli Zaretskii <eliz@gnu.org>
4914
4915 * startup.el (command-line): Don't display an empty user name in
4916 the error message about non-existent home directory, when
4917 init-file-user was set to an empty string. See
4918 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4919 for the details and context.
4920
b525fd8a
VB
49212012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4922
4923 * ses.el (ses-cell-formula-aset): New macro.
4924 (ses-cell-references-aset): New macro.
4925 (ses-cell-p): New function.
4926 (ses-rename-cell): Do no longer rely on complex operations like
4927 ses-cell-set-formula or ses-set-cell to change the cell and handle
4928 the undo at the same time, but rather use lower level new macros
4929 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4930 the undo directly. Refresh the mode line.
b525fd8a 4931
2c73e345
LL
49322012-07-21 Leo Liu <sdl.web@gmail.com>
4933
670d85ea
SM
4934 * progmodes/cc-cmds.el (c-defun-name):
4935 Use match-string-no-properties instead for consistency.
2c73e345 4936
542dfbde
LL
49372012-07-20 Leo Liu <sdl.web@gmail.com>
4938
3646bcd6
LL
4939 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4940 (Bug#7879)
4941
542dfbde
LL
4942 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4943
25721031
CY
49442012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4945
4946 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4947 * progmodes/bug-reference.el, misearch.el: Provide themselves
4948 (bug#11915).
4949
4950 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4951 of narrowed buffer (bug#11966).
4952
316e68a7
VB
49532012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4954
4955 * ses.el (ses-rename-cell): Set new name also in reference list of
4956 cells of which the renamed cell depends.
4957
bbf0e7d9
MY
49582012-07-20 Masatake YAMATO <yamato@redhat.com>
4959
4960 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4961 to check whether menu-bar is shown or not. If not shown,
4962 show the menu-bar as a popup menu instead of using tmm.
4963 * mouse.el (popup-menu): Accept `point' as `position' argument.
4964
c28662a8
DG
49652012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4966
4967 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4968 up inside string symbol literal (bug#11923).
4969
87ab808f
EZ
49702012-07-20 Eli Zaretskii <eliz@gnu.org>
4971
4972 * startup.el (fancy-startup-text): Read the whole tutorial, not
4973 just its first 256 bytes. Prevents gibberish in display of the
4974 tutorial title.
4975
89dea803
DA
49762012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4977
4978 Drop idle buffer compaction due to an absence of the
4979 proved efficiency.
4980 * compact.el: Remove.
4981
8a4e6db8
SS
49822012-07-19 Sam Steingold <sds@gnu.org>
4983
4984 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4985 vc-bzr-pull & vc-bzr-merge-branch.
4986 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4987 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4988 for consistency with compilation-error-regexp-alist.
4989 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4990 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4991 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4992 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4993
5db81e33
SM
49942012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * emacs-lisp/chart.el: Use lexical-binding.
4997 (chart-emacs-storage): Don't hardcode the list of entries.
4998
5b835e1d
DA
49992012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5000
5001 Next round of tweaks caused by Fgarbage_collect changes.
5002 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5003
9cd47b72
DA
50042012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5005
5006 Compact buffers when idle.
5007 * compact.el: New file.
5008
1d6fc0df
SM
50092012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * subr.el (eventp): Presume that if it looks vaguely like an event,
5012 it's an event (bug#10190).
5013
1d29cc7d
FEG
50142012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5015
5016 Enhancements to ppss related code (thanks Stefan).
5017 * progmodes/python.el (python-indent-context)
5018 (python-indent-calculate-indentation, python-indent-dedent-line)
5019 (python-indent-electric-colon, python-nav-forward-block)
5020 (python-mode-abbrev-table)
1d6fc0df 5021 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5022 for ppss context.
5023 (python-info-continuation-line-p): Cleanup.
5024 (python-info-ppss-context): Do not catch 'quote.
5025 (python-info-ppss-context-type)
5026 (python-info-ppss-comment-or-string-p): Simplify.
5027
d583cbe6
FEG
50282012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5029
5030 * progmodes/python.el: Enhancements to eldoc support.
5031 (python-info-current-symbol): New function.
5032 (python-eldoc-at-point): Use python-info-current-symbol.
5033 (python-info-current-defun): Fix cornercase on first defun scan.
5034 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5035 and signal error when no inferior python process is available.
5036
eceb6feb
DG
50372012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5038
5039 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5040 assume it's always t.
5041 (vc-git-registered): Remove caching, the function is only called
5042 once.
5043 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5044
4c8ff0fe
CY
50452012-07-18 Chong Yidong <cyd@gnu.org>
5046
19fb7186
CY
5047 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5048
9587c688
CY
5049 * simple.el (count-words): Report on narrowing (Bug#9959).
5050
0fe776a1
CY
5051 * bindings.el: Bind M-= to count-words.
5052
4c8ff0fe
CY
5053 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5054
7f5331cc
MY
50552012-07-18 Masatake YAMATO <yamato@redhat.com>
5056
5057 * progmodes/sh-script.el (sh-imenu-generic-expression):
5058 Capture a function with `function' keyword and without parentheses
5059 like "function FOO" (bug#11856).
5060
2dc2a609
TH
50612012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5062
5063 * window.el (split-window-sensibly): Make WINDOW argument
5064 optional.
5065
439f7677
CY
50662012-07-18 Chong Yidong <cyd@gnu.org>
5067
9aeb25a6
CY
5068 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5069
439f7677
CY
5070 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5071 and make C-x 8 RET exit isearch (Bug#11439).
5072
5073 * international/iso-transl.el: Move isearch-mode-map key
5074 definitions to isearch.el.
5075
12999ea8
SM
50762012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5077
5078 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5079 (eieio-defclass): Use gv-define-setter when possible.
5080
3ab6e069
DA
50812012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5082
5083 Reflect recent changes in Fgarbage_collect.
5084 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5085 reflect new format of data returned by Fgarbage_collect.
5086
0a60bc10
FEG
50872012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5088
5089 New utility functions + python-info-ppss-context fix (Bug#11910).
5090 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5091 (python-info-ppss-comment-or-string-p): New functions.
5092 (python-info-ppss-context): Small fix for string check.
5093
6dafa0d5
JL
50942012-07-17 Juri Linkov <juri@jurta.org>
5095
5096 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5097 (dired-do-async-shell-command): Don't add `*' at the end of the
5098 command (Bug#11815).
5099 (dired-do-shell-command): Doc fix.
5100 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5101 Join the individual commands using either "&" or ";" as the
5102 separator depending on the values of these trailing characters.
5103 At the end re-add the trailing "&". (Bug#10598)
5104
5105 * simple.el (async-shell-command): Sync the interactive spec with
5106 `shell-command'. Doc fix.
5107 (shell-command): Doc fix.
5108
b19dd9d1
JL
51092012-07-17 Juri Linkov <juri@jurta.org>
5110
5111 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5112
bcdc27d7 51132012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5114
bcdc27d7 5115 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5116 * progmodes/python.el (python-nav-beginning-of-statement):
5117 Rename from python-nav-statement-start.
bcdc27d7
FEG
5118 (python-nav-end-of-statement): Rename from
5119 python-nav-statement-end.
5120 (python-nav-beginning-of-block): Rename from
5121 python-nav-block-start.
5122 (python-nav-end-of-block): Rename from python-nav-block-end.
5123
191da00e
FEG
51242012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5125
7f5331cc
MY
5126 * progmodes/python.el (python-shell-send-string-no-output):
5127 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5128 future interactions (Bug#11868).
5129
4dc7c8d5 51302012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5131
88ecaf8f
SM
5132 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5133
ef501ef0
SM
5134 * emacs-lisp/elint.el (elint-find-args-in-code):
5135 Use help-function-arglist, so as to handle lexical byte-code.
5136
aa7aaf8f
SM
5137 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5138 change (bug#11826).
5139
45fd731c
SM
51402012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5141
2143fa32
SM
5142 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5143 Avoid spuriously marking the buffer as modified because of c-is-sws.
5144
efc26dbe
SM
5145 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5146 as not-a-comment (bug#11946).
5147
f5695c9a
SM
5148 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5149 for uninterned vars.
5150
5151 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5152 Use read-event since we don't really want to read chars but bytes.
5153
45fd731c
SM
5154 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5155 $$..$$ but also $..$ using regexps (bug#11953).
5156 Use tex-verbatim for \url and \path.
5157 (tex-font-lock-keywords): Define as defconst like the others.
5158 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5159
ddfc8813
RK
51602012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5161
5162 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5163 alias for insert-char.
5164
758e556a
FEG
51652012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5166
5167 * progmodes/python.el: Simplified imenu implementation.
5168 (python-nav-jump-to-defun): Remove command.
5169 (python-mode-map): Use `imenu' instead.
5170 (python-nav-list-defun-positions-cache)
5171 (python-imenu-include-defun-type, python-imenu-make-tree)
5172 (python-imenu-subtree-root-label, python-imenu-index-alist):
5173 Remove vars.
5174 (python-nav-list-defun-positions, python-nav-read-defun)
5175 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5176 (python-imenu-make-tree, python-imenu-create-index):
5177 Remove functions.
758e556a
FEG
5178 (python-mode): Update to interact with imenu by setting
5179 `imenu-extract-index-name-function' only.
5180
032d23ab
FEG
51812012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5182
5183 * progmodes/python.el: Enhancements to navigation commands.
5184 (python-nav-backward-sentence)
5185 (python-nav-forward-sentence): Remove.
5186 (python-nav-backward-statement, python-nav-forward-statement)
5187 (python-nav-statement-start, python-nav-statement-end)
5188 (python-nav-backward-block, python-nav-forward-block)
5189 (python-nav-block-start, python-nav-block-end)
5190 (python-nav-forward-sexp-function)
5191 (python-info-current-line-comment-p)
5192 (python-info-current-line-empty-p): New functions.
5193 (python-indent-context): Use `python-nav-statement-start'.
5194
01795a1b
MA
51952012-07-16 Michael Albinus <michael.albinus@gmx.de>
5196
9328d9aa
MA
5197 * eshell/em-ls.el (eshell/ls): Use `apply'.
5198
5199 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5200 multi-hops, instead of Tramp internals.
5201
01795a1b
MA
5202 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5203
5204 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5205 when F1 and F2 are located on different hosts.
5206
63408057
CY
52072012-07-14 Chong Yidong <cyd@gnu.org>
5208
5209 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5210 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5211 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5212 (xterm-mouse--read-event-sequence-1000)
5213 (xterm-mouse--read-event-sequence-1006): New functions. For old
5214 mouse protocol, handle M-mouse-X events correctly.
5215 (xterm-mouse-event): New arg specifying mouse protocol.
5216 (turn-on-xterm-mouse-tracking-on-terminal)
5217 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5218 sequence to toggle extended coordinates on newer XTerms.
5219 This appears to be harmless on terminals which do not support this.
63408057 5220
cd276f6e
LL
52212012-07-14 Leo Liu <sdl.web@gmail.com>
5222
28ca98ac
LL
5223 Add fringe bitmap indicators for flymake. (Bug#11253)
5224 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5225 (flymake-make-overlay): New arg BITMAP.
5226 (flymake-error-bitmap, flymake-warning-bitmap)
5227 (flymake-fringe-indicator-position): New user variables.
5228
cd276f6e
LL
5229 * fringe.el: New bitmap exclamation-mark.
5230
04408072
JD
52312012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5232
5233 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5234 also (Bug#7879).
5235
b5cf7fc4
CY
52362012-07-14 Chong Yidong <cyd@gnu.org>
5237
5238 * electric.el (electric-pair-post-self-insert-function): Fix pair
5239 insertion in empty-region case (Bug#11520).
5240
be755c79
RT
52412012-07-14 Chong Yidong <cyd@gnu.org>
5242
45fd731c
SM
5243 * bindings.el: Consolidate ctl-x-r-map bindings.
5244 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5245
5246 * rect.el, register.el: Move bindings to bindings.el.
5247
52482012-07-14 Reuben Thomas <rrt@sc3d.org>
5249
5250 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5251
7f5b3198
AS
52522012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5253
5254 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5255
97662200
JB
52562012-07-13 Juanma Barranquero <lekktu@gmail.com>
5257
80185fed
JB
5258 * bindings.el (top): Use `mapc' instead of `mapcar'.
5259
97662200
JB
5260 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5261
2bb1ae55
MA
52622012-07-13 Michael Albinus <michael.albinus@gmx.de>
5263
5264 * progmodes/sql.el (sql-comint): Suppress the check for program on
5265 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5266 (Bug#11908)
5267
dea31bd3
CY
52682012-07-13 Chong Yidong <cyd@gnu.org>
5269
5270 * bindings.el: Assign a non-nil permanent-local property to
5271 per-buffer variables which lack a default value (Bug#11930).
5272
5273 * help-fns.el (describe-variable): In the "automatically becomes
5274 local" notice, take note of permanent-local variables.
5275
b68b3337
CY
52762012-07-13 Chong Yidong <cyd@gnu.org>
5277
5278 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5279 to allow printing the message when called from Lisp.
5280
5281 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5282 Remove toggle-read-only.
5283
5284 * bs.el (bs-toggle-readonly):
45fd731c
SM
5285 * buff-menu.el (Buffer-menu-toggle-read-only):
5286 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5287
5288 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5289 Remove with-no-warnings around toggle-read-only.
5290 (ffap-read-only, ffap-read-only-other-window)
5291 (ffap-read-only-other-frame): Callers changed.
5292
5293 * help-mode.el: Don't require view package.
5294 (help-mode-finish): Set buffer-read-only instead of calling
5295 toggle-read-only.
5296
5297 * bindings.el (mode-line-toggle-read-only):
5298 * dired.el (dired-toggle-read-only):
5299 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5300 with non-nil second arg.
5301
5302 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5303 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5304 directly.
5305
56bc1586
EZ
53062012-07-12 Eli Zaretskii <eliz@gnu.org>
5307
5308 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5309 not incf.
5310
a464a6c7
SM
53112012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5312
5313 More CL cleanups and reduction of use of cl.el.
5314 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5315 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5316 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5317 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5318 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5319 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5320 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5321 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5322 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5323 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5324 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5325 * eshell/em-cmpl.el, eshell/em-banner.el:
5326 * calendar/parse-time.el: Use cl-lib.
5327 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5328 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5329 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5330 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5331 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5332 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5333 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5334 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5335 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5336 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5337 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5338 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5339 `lambda' rather than with `quote'.
5340 (eshell-do-opt): Adjust accordingly.
5341 (eshell-process-option): Simplify.
5342 * eshell/esh-var.el:
5343 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5344 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5345 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5346 to `pcase--dontcare'.
5347 * emacs-lisp/cl.el (labels): Mark obsolete.
5348 (cl--letf, letf): Move to cl-lib.
5349 (cl--letf*, letf*): Remove.
5350 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5351 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5352 (cl-progv): Rewrite.
5353 (cl--letf, cl-letf): Move from cl.el.
5354 (cl-letf*): New macro.
5355 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5356
7ad4afe1
MA
53572012-07-11 Michael Albinus <michael.albinus@gmx.de>
5358
5359 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5360
9af57756
CY
53612012-07-11 Chong Yidong <cyd@gnu.org>
5362
5363 * vc/log-edit.el (log-edit-vc-backend): New variable.
5364 (log-edit): Doc fix.
5365
5366 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5367 argument of log-edit to set up all local variables.
5368 (vc-start-logentry): New optional arg specifying VC backend.
5369
5370 * vc/vc.el (vc-checkin): Use it.
5371 (vc-deduce-fileset): Handle Log Edit buffers.
5372 (vc-diff): Make first argument optional too.
5373
5374 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5375
8477cc7a
MA
53762012-07-10 Michael Albinus <michael.albinus@gmx.de>
5377
5378 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5379 command, just in case. The function is not needed anymore.
5380 (eshell-external-command): Do not call `eshell-remote-command'.
5381
19faa8e8
SM
53822012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5383
f58e0fd5
SM
5384 Reduce use of (require 'cl).
5385 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5386 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5387 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5388 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5389 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5390 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5391 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5392 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5393 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5394 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5395 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5396 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5397 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5398 (byte-compile-unfold-bcf, byte-compile-check-variable):
5399 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5400 (byte-compile-nilconstp):
5401 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5402 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5403
2519d43a
SM
5404 * emacs-lisp/gv.el (cond): Make it a valid place.
5405 (if): Simplify slightly.
5406
19faa8e8
SM
5407 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5408 (pcase--self-quoting-p): New function.
5409 (pcase--u1): Use it.
5410
c4907a5e
GM
54112012-07-10 Glenn Morris <rgm@gnu.org>
5412
5413 * emacs-lisp/authors.el (authors-fixed-entries):
5414 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5415
c4444d16
PE
54162012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5417
5418 Rename configure.in to configure.ac (Bug#11603).
5419 * emacs-lisp/authors.el (authors-canonical-file-name):
5420 * progmodes/autoconf.el (autoconf-mode):
5421 Prefer configure.ac to configure.in.
5422
d75be97d
CY
54232012-07-08 Chong Yidong <cyd@gnu.org>
5424
01ac65bd
CY
5425 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5426 Implement the mouse-1-click-follows-link handling properly.
5427
5428 * info.el (Info-link-keymap): Use follow-link mechanism for
5429 header-line links (Bug#374).
5430
d75be97d
CY
5431 * simple.el (deactivate-mark): Do not set the primary selection
5432 if another program has acquired it (Bug#11772).
5433
87a92845 54342012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5435
5436 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5437 (woman-decode-region): Replace escaped-escapes without destroying
5438 bold or underline (Bug#11552).
87a92845 5439 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5440
621b9d6c
CY
54412012-07-07 Chong Yidong <cyd@gnu.org>
5442
5443 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5444 (interprogram-cut-function, interprogram-paste-function):
5445 Mention that we typically mean the clipboard.
621b9d6c 5446
133a11fc
GM
54472012-07-06 Glenn Morris <rgm@gnu.org>
5448
0d27a45e
GM
5449 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5450
133a11fc
GM
5451 * files.el (toggle-read-only): Restrict message to interactive use.
5452
07b151f1
MA
54532012-07-06 Michael Albinus <michael.albinus@gmx.de>
5454
5455 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5456
5457 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5458
211b896b
GM
54592012-07-06 Glenn Morris <rgm@gnu.org>
5460
50394322
GM
5461 * Makefile.in (compile-one-process): Rename from "recompile".
5462
211b896b
GM
5463 * Makefile.in (bzr-update): "compile" is the same as "recompile
5464 autoloads", but parallelizable, so use that instead.
5465
4737eec9
DG
54662012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5467
5468 * window.el (quit-window): Always restore window height when
8137e7b3 5469 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5470
226c3633 54712012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5472
5473 * simple.el (kill-whole-line): Doc tweak.
5474
226c3633 54752012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5476
5477 * files.el (file-relative-name): Compare file names
5478 case-insensitively if on MS-Windows or MS-DOS, or if
5479 read-file-name-completion-ignore-case is non-nil. Don't use
5480 case-fold-search for this purpose. (Bug#11827)
5481
4dc7c8d5
SM
54822012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5483
5484 * calendar/cal-dst.el (calendar-current-time-zone):
5485 Return calendar-current-time-zone-cache if non-nil.
5486
54872012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 54882012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5489
19faa8e8
SM
5490 * calendar/cal-dst.el (calendar-current-time-zone):
5491 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5492
60198fc9
GM
54932012-07-06 Glenn Morris <rgm@gnu.org>
5494
5495 * Makefile.in (cvs-update): Remove old alias.
5496
957b3189
MA
54972012-07-05 Michael Albinus <michael.albinus@gmx.de>
5498
5499 Sync with Tramp 2.2.6-pre.
5500
5501 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5502 compatible declaration.
5503
19faa8e8
SM
5504 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5505 Protect `list-load-path-shadows' call.
957b3189
MA
5506
5507 * net/tramp-compat.el (top): Require packages, which aren't
5508 autoloaded anymore for XEmacs. Protect call of
5509 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5510 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5511 it hurts at least for SXEmacs.
5512 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5513 standard-value for `temporary-file-directory'.
5514
5515 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5516 Redirect stderr to /dev/null.
5517 (tramp-sh-handle-write-region): uid and gid can be floats.
5518 Reported by Russell Sim <russell.sim@gmail.com>.
5519 (tramp-sh-handle-vc-registered): Hide errors.
5520 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5521 and `start-file-process'.
5522 (tramp-maybe-open-connection): Check also whether `non-essential'
5523 is bound.
5524
566df3fc
CY
55252012-07-04 Chong Yidong <cyd@gnu.org>
5526
5527 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5528 (xml-parse-tag): Likewise, and avoid changing entity tables.
5529 (xml-syntax-table): Define from scratch, making sure not to give
5530 x2000 and other Unicode spaces whitespace syntax, since those are
5531 not spaces in XML.
5532 (xml-parse-fragment): Delete unused function.
5533 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5534 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5535 (xml-entity-ref, xml-pe-reference-re)
5536 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5537 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5538 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5539 (xml-entity-value-re): Use syntax references in regexps where
5540 possible; no need to define inside a let-binding.
5541 (xml-parse-dtd): Use xml-pe-reference-re.
5542 (xml-entity-or-char-ref-re): New defconst.
5543 (xml-parse-string, xml-substitute-special): Use it.
5544
30eabd7a
SM
55452012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5546
0781098a
SM
5547 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5548 (find-file--read-only): New function.
5549 (find-file-read-only, find-file-read-only-other-window)
5550 (find-file-read-only-other-frame): Use it.
5551 (insert-file-contents-literally): Don't `fset'.
5552 (get-free-disk-space): Use locate-dominating-file.
5553
b5771c0d
SM
5554 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5555 function is already compiled.
5556
30eabd7a
SM
5557 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5558
b4886f6e
MA
55592012-07-03 Michael Albinus <michael.albinus@gmx.de>
5560
5561 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5562 files on the same host.
5563
b9d82339
AS
55642012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5565
5566 * help-fns.el (describe-function-1): Only call
5567 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5568
a76e6535
CY
55692012-07-03 Chong Yidong <cyd@gnu.org>
5570
5571 * xml.el: Protect parser against XML bombs.
5572 (xml-entity-expansion-limit): New variable.
5573 (xml-parse-string, xml-substitute-special): Use it.
5574 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5575
b544fef2
GM
55762012-07-03 Glenn Morris <rgm@gnu.org>
5577
5578 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5579 Allow linking to specific messages in debbugs reports (eg 123#5).
5580
a7aef6f5
CY
55812012-07-02 Chong Yidong <cyd@gnu.org>
5582
5583 * xml.el: Fix entity and character reference expansion, allowing
5584 them to expand into markup as per XML spec.
5585 (xml-default-ns): New variable.
5586 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5587 (xml-parse-region): Make first two arguments optional.
5588 Discard text properties.
5589 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5590 All callers changed.
a7aef6f5
CY
5591 (xml-parse-tag): Call xml-parse-tag-1. For backward
5592 compatibility, this function should not modify buffer contents.
5593 (xml-parse-tag-1): Fix opening-tag regexp.
5594 (xml-parse-string): Rewrite, handling entity and character
5595 references properly.
5596 (xml--entity-replacement-text): Signal an error if a parameter
5597 entity is undefined.
5598
3df31c9f
SM
55992012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5600
2b5208f1
SM
5601 * comint.el (comint-output-filter): Filter out repeated prompts.
5602
3df31c9f
SM
5603 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5604 and file-name-absolute-p.
5605 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5606 internal calls.
5607
e3ac1281
PE
56082012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5609
5610 Spelling fixes.
5611 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5612 Rename from byte-compile--refiy-function. All uses changed.
5613
fbf2e7ad
CY
56142012-07-01 Chong Yidong <cyd@gnu.org>
5615
5616 * xml.el (xml--parse-buffer): New function. Move most of
5617 xml-parse-region here.
5618 (xml-parse-region): Copy region into a temporary buffer, since
5619 parameter entity substitution requires changing buffer contents.
5620 Use xml--parse-buffer.
5621 (xml-parse-file): Use xml--parse-buffer.
5622 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5623 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5624
9bf0aa15
GM
56252012-06-30 Glenn Morris <rgm@gnu.org>
5626
bbce2853
GM
5627 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5628
9bf0aa15
GM
5629 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5630 Remove outdated and unnecessary dbus declarations.
5631
0d23c240
EZ
56322012-06-30 Eli Zaretskii <eliz@gnu.org>
5633
5634 * emacs-lisp/timer.el (timer-until): Subtract results of
5635 float-time, instead of taking float-time of the result of
5636 time-subtract, since float-time signals an error for negative time
5637 arguments.
5638
b3218de1
CY
56392012-06-30 Chong Yidong <cyd@gnu.org>
5640
5641 * xml.el (xml-*-re): Convert defvars into defconsts, and
5642 eval-and-compile them so eval-and-compile works on derivatives.
5643 (xml--entity-replacement-text): Use eval-and-comple.
5644
a40c87a0
MA
56452012-06-30 Michael Albinus <michael.albinus@gmx.de>
5646
5647 * vc/vc-git.el (vc-git-registered): Use cache property
5648 `git-registered'.
5649 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5650 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5651 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5652
ac87de97
DG
56532012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5654
5655 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5656 removed (likely outside Emacs). (Bug#11757)
ac87de97 5657
ac10fe06
SM
56582012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5659
3df31c9f 5660 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5661
7f3fbd5d
CY
56622012-06-30 Chong Yidong <cyd@gnu.org>
5663
5664 * xml.el: Implement XML parameter entities.
5665 (xml-parameter-entity-alist): New variable.
5666 (xml-parse-region, xml-parse-fragment): Preserve previous values
5667 of xml-entity-alist and xml-parameter-entity-alist, so that
5668 repeated calls on different documents do not change them.
5669 (xml-parse-tag): Fix doctype regexp.
5670 (xml--entity-replacement-text): New function.
5671 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5672 properly requires url retrieval which is unimplemented.
5673 (xml-escape-string): Doc fix.
5674
3cfbebba
SM
56752012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5676
5677 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5678
2af3565e
DA
56792012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5680
5681 * fringe.el (fringe-mode): Doc fix.
5682
929df0e7
MA
56832012-06-29 Michael Albinus <michael.albinus@gmx.de>
5684
5685 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5686 is non-nil.
5687 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5688 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5689
c8d3a25c 56902012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5691
c8d3a25c
GM
5692 * calendar/cal-dst.el (calendar-current-time-zone):
5693 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5694
c8d3a25c 56952012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5696
5697 * progmodes/which-func.el (which-func-format):
5698 Add mouse-face. (Bug#11698)
5699
c8d3a25c
GM
57002012-06-29 Leo Liu <sdl.web@gmail.com>
5701
5702 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5703
57042012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * minibuffer.el (minibuffer-confirm-exit-commands):
5707 Add completion-at-point (bug#11725).
5708
57092012-06-29 Glenn Morris <rgm@gnu.org>
5710
5711 * progmodes/f90.el (f90-font-lock-keywords-2):
5712 Add some preprocessor elements. (Bug#10499)
5713
57142012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5715
5716 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5717 Use syntax-propertize (bug#11739).
5718
2badeec4
JB
57192012-06-28 Juanma Barranquero <lekktu@gmail.com>
5720
5721 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5722
ae4969c2
JD
57232012-06-28 Julien Danjou <julien@danjou.info>
5724
5725 * term.el (term-handle-colors-array): Use a set of new faces to
5726 color the terminal. Also uses :inverse-video property.
5727 (term-default-fg-color): Set to nil by default, deprecate in favor
5728 of `term-face'.
5729 (term-default-bg-color): Set to nil by default, deprecate in favor
5730 of `term-face'.
5731 (term-current-face): Use `term-face' by default.
5732 (term-bold-attribute): Variable deleted.
5733
1c9bd870
GM
57342012-06-28 Glenn Morris <rgm@gnu.org>
5735
5736 * simple.el (completion-list-mode-finish):
5737 Don't use toggle-read-only. (Since completion-list-mode has
5738 a special mode-class, it wasn't doing anything extra anyway.)
5739
c207708c
SM
57402012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5741
5742 Make inlining of other-mode interpreted functions work (bug#11799).
5743 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5744 (byte-compile): Use it to fix compilation of lexical-binding closures.
5745 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5746 function, if needed.
5747
3fd56834
SM
57482012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5749
04901786
SM
5750 * help-mode.el (help-make-xrefs): Don't just withstand
5751 cyclic-variable-indirection but any error in documentation-property.
5752
1ec4b7b2
SM
5753 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5754 memory use.
5755 * bindings.el (bindings--define-key): New function.
5756 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5757 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5758 * bindings.el: Use it to purecopy define-key bindings.
5759
e309e2a5
SM
5760 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5761
d5c6faf9
SM
5762 * emacs-lisp/cl.el (flet): Mark obsolete.
5763 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5764 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5765 * progmodes/js.el (js-c-fill-paragraph):
5766 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5767 (ebrowse-switch-member-buffer-to-derived-class):
5768 * play/5x5.el (5x5-solver): Use cl-flet.
5769
6e9590e2
SM
5770 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5771 (cl--symbol-function): New macro.
5772 (cl--letf, cl--letf*): Use it.
5773
3fd56834
SM
5774 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5775 Strip "toggle-" if any.
5776
35ff222c
GM
57772012-06-27 Glenn Morris <rgm@gnu.org>
5778
1ba6038a
GM
5779 * info.el (Info-default-directory-list): Move here from paths.el.
5780 * paths.el: Remove file, which is now empty.
5781 * loadup.el: No longer load "paths".
5782
0ea0e51b
GM
5783 * custom.el (custom-initialize-delay): Doc fix.
5784
35ff222c
GM
5785 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5786 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5787 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5788 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5789 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5790 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5791 * eshell/eshell.el (eshell-defgroup): Remove alias.
5792
c89926a5
CY
57932012-06-27 Chong Yidong <cyd@gnu.org>
5794
5795 * help.el (help-enable-auto-load): New variable.
5796
5797 * help-fns.el (help-fns--autoloaded-p): New function.
5798 (describe-function-1): Refer to a function as "autoloaded" if it
5799 was autoloaded at any time in the past. Perform autoloading if
5800 help-enable-auto-load is non-nil.
5801
cc06e7e7
EZ
58022012-06-26 Eli Zaretskii <eliz@gnu.org>
5803
5804 * makefile.w32-in (compile, compile-always): Depend on
5805 update-subdirs, not on subdirs.el. Otherwise, several different
5806 sub-targets of 'bootstrap' running in parallel could
5807 simultaneously write to subdirs.el, producing a garbled file.
5808
d2c32364
SS
58092012-06-26 Sam Steingold <sds@gnu.org>
5810
5811 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5812 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5813 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5814 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5815 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5816 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5817 * textmodes/tex-mode.el: Use it.
5818 Did not touch cedet and org because they are maintained elsewhere.
5819
5cf983b2
MR
58202012-06-26 Martin Rudalics <rudalics@gmx.at>
5821
5822 * calendar/calendar.el (calendar-exit): Don't try to delete or
5823 iconify last frame. See:
5824 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5825
8c4f2952
JD
58262012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5827
5828 * server.el (server-process-filter): Remember dir in the
5829 process's `server-client-directory' properties.
5830
772b2e2c
CY
58312012-06-24 Chong Yidong <cyd@gnu.org>
5832
5833 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5834 non-tag text.
5835
711b11e1
JB
58362012-06-23 Juanma Barranquero <lekktu@gmail.com>
5837
5838 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5839
dc5d230c
SM
58402012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * help-fns.el (describe-variable): Don't croak when doc is not found.
5843 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5844 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5845 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5846 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5847 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5848 ((lambda ..) ..).
5849 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5850
136e1c1d
CY
58512012-06-23 Chong Yidong <cyd@gnu.org>
5852
e8c1cabf
CY
5853 * info.el (Info-mouse-follow-link): Accept symbol values of
5854 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5855 (Info-fontify-node): Use Info-link-keymap for all navigation
5856 buttons, with link-args property to perform the desired action.
5857 (Info-link-keymap): Doc fix.
5858 (Info-next-link-keymap, Info-prev-link-keymap)
5859 (Info-up-link-keymap): Delete now-unused keymaps.
5860
0e9e6c6a
CY
58612012-06-23 Chong Yidong <cyd@gnu.org>
5862
05e89fea
CY
5863 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5864
0e9e6c6a
CY
5865 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5866 system abbrevs.
5867
5868 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5869
e33c6771
SM
58702012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5871
b68581e2
SM
5872 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5873 (bug#11719).
5874
e33c6771
SM
5875 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5876 the requote function doesn't work properly (bug#11714).
5877
7117e105
GM
58782012-06-23 Glenn Morris <rgm@gnu.org>
5879
5880 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5881
36cec983
SM
58822012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5883
5884 Further GV/CL cleanups.
5885 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5886 gv-expander.
5887 (gv--defun-declaration): New function.
5888 (defun-declarations-alist): Use it.
5889 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5890 (gv-place): Autoload.
5891 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5892 original definition of dotimes and dolist.
5893 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5894 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5895 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5896 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5897 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5898 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5899 to the function's definition.
5900 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5901 * window.el:
5902 * files.el:
5903 * faces.el:
5904 * env.el: Don't use CL.
5905
d35af63c
PE
59062012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5907
5908 Support higher-resolution time stamps (Bug#9000).
5909
5910 * calendar/time-date.el (with-decoded-time-value): New arg
5911 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5912 (encode-time-value): New optional arg PICO. New type 3.
5913 (time-to-seconds) [!float-time]: Support the new picoseconds
5914 component if it's used.
5915 (seconds-to-time, time-subtract, time-add):
5916 Support ps-resolution time stamps as well.
5917
5918 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5919 (timerp): Timer vectors now have length 9, not 8.
5920 (timer--time): Support new-style (4-part) time stamps.
5921 (timer-next-integral-multiple-of-time): Time stamps now have
5922 picosecond resolution, so take a bit more care about rounding.
5923 (timer-relative-time, timer-inc-time): New optional arg psecs.
5924 (timer-set-time-with-usecs): Set psecs to 0.
5925 (timer--activate): Check psecs component, too.
5926
5927 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5928
ac77b21a
SM
59292012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5930
f143bfe3
SM
5931 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5932 Move the non-essential binding to the post/pre-command-hook where it is
5933 more obviously correct.
5934
ac77b21a
SM
5935 * subr.el (read-passwd): Don't use a history at all.
5936 * savehist.el (savehist-save): Remove password saved accidentally
5937 because of the above bug.
5938
76386c5a
BG
59392012-06-22 Bastien Guerry <bzg@gnu.org>
5940
5941 * files.el (toggle-read-only): Display a message telling whether
5942 the buffer is read-only or not (bug#11726).
5943
2ee3d7f0
SM
59442012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * emacs-lisp/gv.el: New file.
5947 * subr.el (push, pop): Extend to generalized variables.
5948 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5949 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5950 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5951 gv-define-simple-setter, and gv-define-expander.
5952 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5953 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5954 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5955 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5956 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5957 gv-letplace.
5958 (cl-defstruct): Don't define setf-method any more.
5959 * emacs-lisp/cl.el (flet): Don't autoload.
5960 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5961 (define-setf-expander, defsetf, define-modify-macro)
5962 (cl-struct-setf-expander): Move from cl-lib.el.
5963 * emacs-lisp/syntax.el:
5964 * emacs-lisp/ewoc.el:
5965 * emacs-lisp/smie.el:
5966 * emacs-lisp/cconv.el:
5967 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5968 (timer--time): Use gv-define-simple-setter.
5969 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5970 to avoid coding-system problems in subr.el. Adjust all users.
5971 (macroexp--maxsize, macroexp-small-p): New functions.
5972 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5973 * scroll-bar.el (scroll-bar-mode):
5974 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5975 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5976 * winner.el (winner-configuration, winner-make-point-alist)
5977 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5978 * files.el (locate-file-completion-table): Avoid list*.
5979
c5695d1d
CY
59802012-06-22 Chong Yidong <cyd@gnu.org>
5981
5982 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5983 (dired-create-files): Doc fix (Bug#11329).
5984 (dired-do-copy): Doc fix (Bug#11334).
5985 (dired-mark-read-string): Doc fix (Bug#11553).
5986
2ee3d7f0
SM
5987 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5988 Doc fix (Bug#11326).
c5695d1d
CY
5989 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5990 (dired-dwim-target): Doc fix.
5991
5992 * wdired.el (wdired-mode): Doc fix.
5993
89b5595a
GM
59942012-06-22 Glenn Morris <rgm@gnu.org>
5995
575db3f1
GM
5996 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5997 (pcmpl-rpm-cache-stamp-file): New constant.
5998 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5999 (pcmpl-rpm-packages): Optionally cache list of packages.
6000
a4c8dd51
GM
6001 * pcmpl-rpm.el (pcmpl-rpm): New group.
6002 (pcmpl-rpm-query-options): New option.
6003 (pcmpl-rpm-packages): No need to inline it.
6004 Use pcmpl-rpm-query-options.
6005
89b5595a
GM
6006 * calendar/calendar.el (calendar-in-read-only-buffer):
6007 Avoid some needless mode changes.
6008
e76f0800
CY
60092012-06-21 Chong Yidong <cyd@gnu.org>
6010
6011 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6012 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6013 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6014
297a8f1d
CY
60152012-06-20 Chong Yidong <cyd@gnu.org>
6016
6017 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6018
d34c18b1
DR
60192012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6020
6021 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6022 (bug#11201).
6023
32f7f28e
CY
60242012-06-20 Chong Yidong <cyd@gnu.org>
6025
6026 * term.el (term-window-width): Handle the case of a missing right
6027 fringe (Bug#8837).
6028 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6029 (term-mode): Use define-derived-mode. Minor cleanups.
6030 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6031 (term-move-columns, term-insert-char, term-emulate-terminal)
6032 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6033
493c6688
MA
60342012-06-20 Michael Albinus <michael.albinus@gmx.de>
6035
d34c18b1
DR
6036 * net/ange-ftp.el (ange-ftp-get-passwd):
6037 Bind `enable-recursive-minibuffers'.
493c6688
MA
6038 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6039
3f06ecf4
DR
60402012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6041
6042 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6043
68f12411
GM
60442012-06-19 Glenn Morris <rgm@gnu.org>
6045
6046 * progmodes/python.el (python-mode): Derive from prog-mode.
6047
b3820318
KG
60482012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6049
6050 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6051 (edt-user-menu-bar-update-buffers): New functions.
6052 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6053
c6bf3022
CY
60542012-06-19 Chong Yidong <cyd@gnu.org>
6055
6056 * subr.el (with-selected-window): Preserve the selected window's
6057 terminal's top-frame (Bug#4702).
6058
6059 * window.el (save-selected-window): Likewise.
6060
25f09295
SM
60612012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6062
6063 * progmodes/python.el (python-rx-constituents): Move backquote.
6064 (python-skeleton-define, python-define-auxiliary-skeleton):
6065 Use `declare'.
6066
6b11952a
MA
60672012-06-18 Michael Albinus <michael.albinus@gmx.de>
6068
6069 * minibuffer.el (read-file-name-default): Revert the patch from
6070 2012-06-17.
6071
ee4b1330
SM
60722012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6073
6074 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6075 (pcase--u1, pcase--q1): Don't use apply-partially.
6076
35647f79
GM
60772012-06-18 Glenn Morris <rgm@gnu.org>
6078
6079 * progmodes/python.el (python-proc, python-buffer)
6080 (python-send-receive, python-send-string): Fix obsolete versions.
6081
24b0cff0
MR
60822012-06-18 Martin Rudalics <rudalics@gmx.at>
6083
6084 * window.el (special-display-p): Completely remove stringp
6085 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6086
29855149
MA
60872012-06-17 Michael Albinus <michael.albinus@gmx.de>
6088
6089 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6090
6091 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6092
6093 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6094 * net/tramp-sh.el (tramp-maybe-open-connection):
6095 Throw if `non-essential' is non-nil.
6096
07463363
MR
60972012-06-17 Martin Rudalics <rudalics@gmx.at>
6098
6099 * window.el (special-display-p): Signal an error if BUFFER-NAME
6100 is not a string (Bug#11713).
6101
48d1354e
PE
61022012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6103
6104 * progmodes/python.el (python-info-beginning-of-backslash):
6105 Rename from python-info-beginning-of-backlash, as a spelling fix.
6106
eb4a8a9a
CY
61072012-06-17 Chong Yidong <cyd@gnu.org>
6108
6109 * term.el (term-emulate-terminal): If term-check-size is called,
6110 move point to the process mark without resetting point (Bug#4635).
6111
ddfbf826 61122012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6113
6114 * international/mule-cmds.el (mule-menu-keymap)
6115 (set-language-environment, set-locale-environment): Doc tweaks.
6116
9b0e3eba
AA
61172012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6118
6119 * cus-face.el (custom-face-attributes): Add wave-style underline
6120 attribute.
6121 * faces.el (set-face-attribute): Update docstring to describe
6122 wave-style underline attribute.
6123
771e3eae
CY
61242012-06-16 Chong Yidong <cyd@gnu.org>
6125
6126 * term/xterm.el (terminal-init-xterm): Discard input before
6127 querying background mode (Bug#10959).
6128
7ae2ea10
SM
61292012-06-16 Stefan Merten <smerten@oekonux.de>
6130
6131 * textmodes/rst.el: Added and corrected some comments.
6132 (rst-re-alist-def): Improve symbol syntax.
6133 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6134 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6135 (rst-official-version, rst-official-cvs-rev): Update version
6136 information.
7ae2ea10 6137
b6974efa
JB
61382012-06-15 Juanma Barranquero <lekktu@gmail.com>
6139
6140 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6141 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6142
8826d473
GM
61432012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6144
6145 * progmodes/python.el: New python.el merge.
6146 (python-guess-indent): Obsolete var.
6147 (python-indent-guess-indent-offset): New defcustom.
6148 (python-indent): Obsolete var.
6149 (python-indent-offset): New defcustom.
6150 (python-python-command, python-jython-command): Delete var.
6151 (python-shell-interpreter): New defcustom.
6152 (python-pdbtrack-do-tracking-p): Delete var.
6153 (python-pdbtrack-activate): New defcustom.
6154 (python-use-skeletons): Obsolete var.
6155 (python-skeleton-autoinsert): New defcustom.
6156 (inferior-python-filter-regexp, python-continuation-offset)
6157 (python-honour-comment-indentation, python-indent-string-contents)
6158 (python-jython-packages, python-mode-hook)
6159 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6160 (python-shell-prompt-alist)
6161 (python-source-modes): Delete defcustoms.
6162 (python-check-buffer-name, python-eldoc-setup-code)
6163 (python-eldoc-string-code, python-ffap-setup-code)
6164 (python-ffap-string-code, python-fill-comment-function)
6165 (python-fill-decorator-function, python-fill-paren-function)
6166 (python-fill-string-function, python-imenu-include-defun-type)
6167 (python-imenu-make-tree, python-imenu-subtree-root-label)
6168 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6169 (python-shell-compilation-regexp-alist)
6170 (python-shell-completion-module-string-code)
6171 (python-shell-completion-pdb-string-code)
6172 (python-shell-completion-setup-code)
6173 (python-shell-completion-string-code)
6174 (python-shell-enable-font-lock, python-shell-exec-path)
6175 (python-shell-extra-pythonpaths)
6176 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6177 (python-shell-process-environment)
6178 (python-shell-prompt-block-regexp)
6179 (python-shell-prompt-output-regexp)
6180 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6181 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6182 (python-shell-virtualenv-path): New defcustoms.
6183 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6184 (inferior-python-mode-syntax-table, python--prompt-regexp)
6185 (python-buffer, python-command python-python-command)
6186 (python-default-template, python-imports, python-indent-index)
6187 (python-indent-list, python-indent-list-length)
6188 (python-mode-running, python-pdbtrack-is-tracking-p)
6189 (python-preoutput-continuation, python-preoutput-leftover)
6190 (python-preoutput-result, python-preoutput-skip-next-prompt)
6191 (python-prev-dir/file, python-recursing)
6192 (python-saved-check-command, python-version-checked)
6193 (python-which-func-length-limit)
6194 (view-return-to-alist): Delete vars.
6195 (python-check-custom-command, python-dotty-syntax-table)
6196 (python-imenu-index-alist, python-indent-current-level)
6197 (python-indent-dedenters, python-indent-levels)
6198 (python-nav-beginning-of-defun-regexp)
6199 (python-nav-list-defun-positions-cache)
6200 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6201 (python-shell-internal-buffer)
6202 (python-skeleton-available): New vars.
6203 (def-python-skeleton): Delete macro.
6204 (python-skeleton-define): New macro.
6205 (python-define-auxiliary-skeleton, python-rx): New macros.
6206 (python-insert-class): Delete command.
6207 (python-skeleton-class): New command.
6208 (python-insert-def): Delete command.
6209 (python-skeleton-def): New command.
6210 (python-insert-for): Delete command.
6211 (python-skeleton-for): New command.
6212 (python-insert-if): Delete command.
6213 (python-skeleton-if): New command.
6214 (python-insert-try/except, python-insert-try/finally): Delete commands.
6215 (python-skeleton-try): New command.
6216 (python-insert-while): Delete command.
6217 (python-skeleton-while): New command.
6218 (python-backspace): Delete command.
6219 (python-indent-dedent-line-backspace): New command.
6220 (python-electric-colon): Delete command.
6221 (python-indent-electric-colon): New command.
6222 (python-guess-indent): Delete command.
6223 (python-indent-guess-indent-offset): New command.
6224 (python-shift-left): Delete command.
6225 (python-indent-shift-left): New command.
6226 (python-shift-right): Delete command.
6227 (python-indent-shift-right): New command.
6228 (python-find-function): Delete command.
6229 (python-nav-jump-to-defun): New command.
6230 (python-next-statement): Delete command.
6231 (python-nav-forward-sentence): New command.
6232 (python-previous-statement): Delete command.
6233 (python-nav-backward-sentence): New command.
6234 (python-fill-paragraph): Delete command.
6235 (python-fill-paragraph-function): New command.
6236 (python-send-buffer): Delete command.
6237 (python-shell-send-buffer): New command.
6238 (python-send-defun): Delete command.
6239 (python-shell-send-defun): New command.
6240 (python-send-region, python-send-region-and-go): Delete commands.
6241 (python-shell-send-region)
6242 (python-shell-switch-to-shell): New commands.
6243 (python-send-string): Delete command.
6244 (python-shell-send-string): New command.
6245 (python-switch-to-python): Delete command.
6246 (python-shell-switch-to-shell): New command.
6247 (python-describe-symbol): Delete command.
6248 (python-eldoc-at-point): New command.
6249 (python--set-prompt-regexp, python-args-to-list)
6250 (python-after-info-look, python-check-version)
6251 (python-check-comint-prompt, python-find-imports)
6252 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6253 (python-unload-function, python-expand-template)
6254 (python-maybe-jython, python-preoutput-filter)
6255 (python-pdbtrack-get-source-buffer)
6256 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6257 (python-pdbtrack-toggle-stack-tracking)
6258 (python-pdbtrack-track-stack-file, python-initial-text)
6259 (python-first-word, python-comment-line-p, python-send-command)
6260 (python-setup-brm, python-sentinel, python-set-proc)
6261 (python-skip-out, python-input-filter, python-outdent-p)
6262 (python-outline-level, python-backslash-continuation-line-p)
6263 (python-end-of-block, python-end-of-statement, python-mark-block)
6264 (python-beginning-of-block, python-beginning-of-statement)
6265 (python-blank-line-p, python-beginning-of-string)
6266 (python-open-block-statement-p): Delete functions.
6267 (python-indent-line, python-indent-line-1): Delete functions.
6268 (python-indent-line): New function.
6269 (python-indentation-levels): Delete function.
6270 (python-indent-calculate-levels): New function.
6271 (python-proc): Delete function.
6272 (python-shell-get-process): New function.
6273 (python-send-receive): Delete function.
6274 (python-shell-send-string-no-output): New function.
6275 (python-module-path): Delete function.
6276 (python-ffap-module-path): New function.
6277 (python-completion-at-point)
6278 (python-symbol-completions): Delete functions.
6279 (python-completion-complete-at-point): New function.
6280 (python-load-file): Delete function.
6281 (python-shell-send-file): New function.
6282 (python-calculate-indentation): Delete function.
6283 (python-indent-calculate-indentation): New function.
6284 (python-skip-comments/blanks): Delete function.
6285 (python-util-forward-comment): New function.
6286 (python-continuation-line-p): Delete function.
6287 (python-info-continuation-line-p): New function.
6288 (python-which-func, python-current-defun): Delete function.
6289 (python-info-current-defun): New function.
6290 (python-beginning-of-defun): Delete function.
6291 (python-nav-beginning-of-defun): New function.
6292 (python-close-block-statement-p)
6293 (python-block-end-p): Delete function.
6294 (python-info-closing-block): New function.
6295 (python-comint-output-filter-function)
6296 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6297 (python-fill-comment, python-fill-decorator, python-fill-paren)
6298 (python-fill-string, python-imenu-make-element-tree)
6299 (python-imenu-make-tree, python-imenu-tree-assoc)
6300 (python-indent-context, python-indent-dedent-line)
6301 (python-indent-line-function)
6302 (python-indent-post-self-insert-function)
6303 (python-indent-toggle-levels)
6304 (python-info-assignment-continuation-line-p)
6305 (python-info-beginning-of-backlash)
6306 (python-info-block-continuation-line-p)
6307 (python-info-closing-block-message)
6308 (python-info-line-ends-backslash-p)
6309 (python-info-looking-at-beginning-of-defun)
6310 (python-info-ppss-context, python-info-ppss-context-type)
6311 (python-nav-list-defun-positions, python-nav-read-defun)
6312 (python-nav-sentence-end, python-nav-sentence-start)
6313 (python-pdbtrack-comint-output-filter-function)
6314 (python-pdbtrack-set-tracked-buffer)
6315 (python-shell-calculate-exec-path)
6316 (python-shell-calculate-process-environment)
6317 (python-shell-completion--do-completion-at-point)
6318 (python-shell-completion--get-completions)
6319 (python-shell-completion-complete-at-point)
6320 (python-shell-completion-complete-or-indent)
6321 (python-shell-get-or-create-process)
6322 (python-shell-get-process-name)
6323 (python-shell-internal-get-or-create-process)
6324 (python-shell-internal-get-process-name)
6325 (python-shell-internal-send-string, python-shell-make-comint)
6326 (python-shell-parse-command, python-shell-send-setup-code)
6327 (python-skeleton-add-menu-items)
6328 (python-util-clone-local-variables, python-util-position)
6329 (run-python-internal, python-indentation-levels)
6330 (python-nav-beginning-of-defun)
6331 (python-completion-complete-at-point): New functions.
6332 (run-python): Change arguments. New API requirements.
6333
4302f5ba
SM
63342012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6335
f38ea36d
SM
6336 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6337 (bug#11649).
6338
6339 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6340 (macroexp--expand-all): Use it.
6341
4302f5ba
SM
6342 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6343 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6344 Use `cl-function' instead.
6345
33377562
JB
63462012-06-14 Juanma Barranquero <lekktu@gmail.com>
6347
6348 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6349 Suggested by Stefan Monnier while discussing bug#11657.
6350
54c5ba1a
SS
63512012-06-14 Sam Steingold <sds@gnu.org>
6352
6353 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6354
f9f1b1fe
AS
63552012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6356
6357 * play/doctor.el (doctor-doc): Remove parameter and use
6358 doctor-sent instead of sent.
6359 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6360
a81068ba
SM
63612012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6362
5a315f9c
SM
6363 * files.el: Require cl-lib.
6364 (file-name-non-special): Replace case -> cl-case.
6365
6366 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6367
a81068ba
SM
6368 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6369 mapping from #' to function*.
6370
8cca9703
CY
63712012-06-13 Chong Yidong <cyd@gnu.org>
6372
6373 * mouse.el (mouse-drag-track): Do not set the mark if the user
6374 releases the mouse without selecting anything (Bug#11588).
6375
a12ac9d7
SM
63762012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6377
ccf1dc18
SM
6378 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6379 as well (bug#11646).
6380
ef62b23d
SM
6381 * loadup.el: Count byte-code functions as well.
6382
c4c8444a
SM
6383 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6384 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6385
a12ac9d7
SM
6386 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6387 (bug#11649). Add cl-defun and cl-defmacro.
6388
87e6e64f
DA
63892012-06-13 Drew Adams <drew.adams@oracle.com>
6390
6391 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6392 Fix last change.
6393
682cefaf
MA
63942012-06-13 Michael Albinus <michael.albinus@gmx.de>
6395
6396 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6397 Otherwise, it blocks in batch mode.
6398
773e1f08
JB
63992012-06-13 Juanma Barranquero <lekktu@gmail.com>
6400
6401 * help-mode.el (bookmark-make-record-default): Declare.
6402
60057926
CY
64032012-06-13 Chong Yidong <cyd@gnu.org>
6404
6405 * emacs-lisp/package.el (list-packages): Compute a list of
6406 packages that are newly-available since the last list-packages
6407 invocation.
6408 (package-menu--new-package-list): New var.
6409 (package-menu--generate, package-menu--print-info)
6410 (package-menu--status-predicate, package-menu-mark-install):
6411 Handle new status label "new".
6412
ad4d226c
SM
64132012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6416 conversion to backquotes.
6417
f1a4e679
CY
64182012-06-12 Chong Yidong <cyd@gnu.org>
6419
6420 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6421 Rename from gud-inhibit-global-bindings.
6422
6423 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6424
6425 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6426 hook from nxml-glyph-set-hook.
6427
6428 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6429 declaration.
6430
6431 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6432
6433 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6434 Convert to defcustom.
6435
0c9e42b5
DA
64362012-06-12 Drew Adams <drew.adams@oracle.com>
6437
6438 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6439 New functions.
6440 (help-mode): Use them.
6441
09e06855
GM
64422012-06-11 Glenn Morris <rgm@gnu.org>
6443
6444 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6445 Use preprocessor face for directives.
6446 (fortran-directive-re): Doc fix.
6447
71adb94b
SM
64482012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6449
2eb87922
SM
6450 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6451 conversion to backquotes (bug#11652).
6452
71adb94b
SM
6453 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6454 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6455 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6456 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6457 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6458 (cl-ninth, cl-tenth): Mark them as inlinable.
6459 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6460 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6461 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6462 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6463 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6464 (cl-list*, cl-adjoin): Don't put an autoload manually.
6465 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6466 (cl--compiler-macro-list*): Add autoload cookie.
6467 (cl--compiler-macro-cXXr): New function.
2eb87922 6468
71adb94b
SM
6469 * help-fns.el (help-fns--compiler-macro): New function extracted from
6470 describe-function-1; follow aliases and use `compiler-macro' property.
6471 (describe-function-1): Use it.
6472
a6674402
CY
64732012-06-11 Chong Yidong <cyd@gnu.org>
6474
6475 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6476 is uninstalled, if imagemagick is installed.
6477
bb3faf5b
SM
64782012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * emacs-lisp/cl-lib.el: Use lexical-binding.
6481 (cl-map-extents, cl-maclisp-member): Remove.
6482 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6483 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6484 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6485 * emacs-lisp/cl-extra.el: Use lexical-binding.
6486 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6487 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6488 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6489 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6490 * emacs-lisp/cl-seq.el: Use lexical-binding.
6491 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6492 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6493 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6494 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6495 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6496 CL's internals.
6497
2fe4b125
MA
64982012-06-11 Michael Albinus <michael.albinus@gmx.de>
6499
6500 Sync with Tramp 2.2.6-pre.
6501
6502 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6503 `print-length' and `print-level' to nil, in order to avoid
6504 truncation. Reported by Christopher Schmidt
6505 <christopher@ristopher.com>.
6506
6507 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6508
6509 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6510 New defmacro.
6511 (tramp-compat-copy-directory): Add optional argument
6512 COPY-CONTENTS. It is not handled yet.
6513
6514 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6515 (tramp-ftp-file-name-p): Simplify.
6516
6517 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6518 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6519 connection vector.
6520
6521 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6522 (tramp-methods): Do not use `tramp-password-end-of-line'.
6523 (tramp-completion-function-alist-putty): Handle UNIX case.
6524 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6525 (tramp-do-file-attributes-with-stat)
6526 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6527 gid as real numbers. They could run out of integer range on cygwin.
6528 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6529 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
6530 (tramp-open-connection-setup-interactive-shell):
6531 Use `tramp-cleanup'. Move check for busyboxes ...
6532 (tramp-find-shell): ... here. Simplify implementation.
6533 Set "remote-shell" property also for alternative shells.
6534 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6535 If failing, a regular file would be written otherwise.
6536 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
6537 (tramp-find-inline-encoding): Cache the coding commands in the
6538 process cache. Apply test command on the remote side, if defined.
6539 (tramp-find-inline-compress): Cache the compress commands in the
6540 process cache.
6541 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6542 when requested. Handle hops.
6543 (tramp-current-connection): New defvar.
87e6e64f
DA
6544 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6545 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6546 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6547 (tramp-get-inline-compress, tramp-get-inline-coding):
6548 Read connection properties from the process cache.
2fe4b125
MA
6549
6550 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6551 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6552 New defconsts.
2fe4b125
MA
6553 (tramp-smb-prompt): Extend for powershell prompt.
6554 (tramp-smb-file-name-handler-alist): Add handlers for
6555 `process-file', `shell-command' and `start-file-process'.
6556 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6557 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6558 (tramp-smb-file-name-p): Simplify.
6559 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6560 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6561 (tramp-smb-shell-quote-argument): New defuns.
6562 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6563 Implement using "tar". By this, time-stamps are preserved.
6564 (tramp-smb-handle-copy-file): Handle also the case of directories.
6565 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6566 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6567 Use `tramp-get-connection-buffer').
2fe4b125
MA
6568 (tramp-smb-handle-rename-file): Use "rename", when source and
6569 target are on the same share.
87e6e64f
DA
6570 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6571 Use `tramp-smb-server-version'.
2fe4b125
MA
6572 (tramp-smb-wait-for-output): Remove prompt.
6573
6574 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6575 (tramp-methods, tramp-rsh-end-of-line):
6576 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6577 (tramp-save-ad-hoc-proxies): New defcustom.
6578 (tramp-completion-function-alist): Adapt docstring.
6579 (tramp-default-password-end-of-line): Remove defcustom.
6580 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6581 (tramp-user-regexp, tramp-file-name-regexp-unified)
6582 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6583 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6584 (tramp-remote-file-name-spec-regexp): New defconst.
6585 (tramp-file-name-structure): Extend structure for hops.
6586 (tramp-get-method-parameter): Move up.
6587 (tramp-file-name-p, tramp-dissect-file-name)
6588 (with-parsed-tramp-file-name): Handle hops.
6589 (tramp-file-name-hop): New defun.
6590 (tramp-make-tramp-file-name): New optional arg HOP.
6591 (tramp-message-show-progress-reporter-message): New defvar.
6592 (tramp-with-progress-reporter): Use it. We cannot use
6593 `tramp-message-show-message' here, because this suppresses also
6594 error buffers.
6595 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6596 `tramp-message-show-message' is nil.
6597 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6598 (tramp-cleanup): New defun.
6599 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6600 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6601 an error unchanged.
6602 (tramp-completion-handle-file-name-all-completions): Handle hops.
6603 Fix an error when called from ido.
6604 (tramp-completion-dissect-file-name): Use better local variable
6605 name. Add hop to the vector.
6606 (tramp-handle-insert-file-contents): Use progress-reporter for the
6607 whole scenario.
6608 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6609 to `t'.
6610 (tramp-check-for-regexp): Simplify search.
6611 (tramp-enter-password): Remove it. Move implementation ...
6612 (tramp-action-password): ... here.
6613 (tramp-mode-string-to-int, tramp-local-host-p)
6614 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6615 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6616 Set tramp-autoload cookie.
2fe4b125
MA
6617
6618 * net/trampver.el: Update release number.
6619
66202012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6621 Michael Albinus <michael.albinus@gmx.de>
6622
6623 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6624 (tramp-parse-group, tramp-parse-file)
6625 (tramp-parse-shostkeys-sknownhosts): New defuns.
6626 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6627 (tramp-parse-shosts-group, tramp-parse-sconfig)
6628 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6629 (tramp-parse-sknownhosts, tramp-parse-hosts)
6630 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6631 Use them.
6632 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6633 (tramp-parse-putty-group): Don't narrow.
6634 (tramp-parse-putty): Make a loop.
6635 (tramp-file-name-handler): Catch the `suppress' signal.
6636
72834e10
CY
66372012-06-11 Chong Yidong <cyd@gnu.org>
6638
6639 * image.el (imagemagick-register-types): Put the ImageMagick entry
6640 at the end of image-type-file-name-regexps.
6641
a4712e11
JB
66422012-06-11 Johan Bockgård <bojohan@gnu.org>
6643
6644 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6645 (pcase, pcase-let*, pcase-dolist): Use them.
6646
82ad98e3
SM
66472012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6648
6649 * emacs-lisp/pcase.el (pcase--let*): New function.
6650 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6651 (pcase--expand): Use macroexp-let².
6652
f80efb86
SM
66532012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6656 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6657 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6658 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6659 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6660 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6661
31ca4639 66622012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6663
31ca4639
CY
6664 * mail/rmail.el (rmail-yank-current-message): Leave point at
6665 correct position. (Bug#11660)
94f0aa34 6666
31ca4639 66672012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6668
31ca4639 6669 * allout-widgets.el: Fix code header.
9e1b8ec4 6670
31ca4639 66712012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6672
f80efb86
SM
6673 * cus-edit.el (customize-changed-options-previous-release):
6674 Bump to 24.1.
31ca4639 6675
642b6d30
AS
66762012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6677
6678 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6679
4f5d2ba1
CY
66802012-06-09 Chong Yidong <cyd@gnu.org>
6681
6682 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6683
e75852fd
MR
66842012-06-09 Martin Rudalics <rudalics@gmx.at>
6685
6686 * window.el (special-display-popup-frame): Don't use
6687 window--display-buffer (Bug#11651).
6688
1e48e282
EZ
66892012-06-09 Eli Zaretskii <eliz@gnu.org>
6690
8a26b487
EZ
6691 Fix parallel builds: make sure loaddefs.el is not being written
6692 while Lisp files are compiled.
6693 (compile): Don't depend on 'mh-autoloads'.
6694 (compile-CMD, compile-SH): Depend on 'autoloads'.
6695 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6696
1e48e282
EZ
6697 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6698
6175e34b
CY
66992012-06-09 Chong Yidong <cyd@gnu.org>
6700
6701 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6702 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6703 Doc fixes (Bug#11225).
6704
d9857e53
SM
67052012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6706
6707 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6708 a function if there's a clear indication that it has a compiler-macro.
6709 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6710 (macro-declarations-alist): Add arglist to declaration functions.
6711 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6712 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6713 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6714 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6715 Also add autoload to find the compiler macro.
6716 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6717 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6718 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6719 (cl--compiler-macro-get): New functions, replacing calls to
6720 cl-define-compiler-macro.
6721 (cl-typep) [compiler-macro]: Use macroexp-let².
6722
f81298f8 67232012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6724
6725 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6726 string properly, fixes Bug#11473.
6727
4b56d0fe
CY
67282012-06-08 Chong Yidong <cyd@gnu.org>
6729
6730 * faces.el (set-face-attribute): Doc fix.
6731 (modify-face): Don't use :bold and :italic.
6732 (error, warning, success): Tweak definitions.
6733
6734 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6735 (custom-modified, custom-set, custom-changed, custom-themed)
6736 (custom-saved, custom-button, custom-button-mouse)
6737 (custom-button-pressed, custom-state, custom-comment-tag)
6738 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6739 (custom-group-subtitle): Use new-style face specs.
6740 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6741 (custom-set-face, custom-changed-face, custom-saved-face)
6742 (custom-button-face, custom-button-pressed-face)
6743 (custom-documentation-face, custom-state-face)
6744 (custom-comment-face, custom-comment-tag-face)
6745 (custom-variable-tag-face, custom-variable-button-face)
6746 (custom-face-tag-face, custom-group-tag-face-1)
6747 (custom-group-tag-face): Remove obsolete face alias.
6748
6749 * epa.el (epa-validity-high, epa-validity-medium)
6750 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6751 (epa-field-name, epa-field-body):
6752 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6753 (font-lock-keyword-face, font-lock-builtin-face)
6754 (font-lock-function-name-face, font-lock-variable-name-face)
6755 (font-lock-type-face, font-lock-constant-face):
6756 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6757 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6758 * speedbar.el (speedbar-button-face, speedbar-file-face)
6759 (speedbar-directory-face, speedbar-tag-face)
6760 (speedbar-selected-face, speedbar-highlight-face)
6761 (speedbar-separator-face):
6762 * whitespace.el (whitespace-newline, whitespace-space)
6763 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6764 (whitespace-line, whitespace-space-before-tab)
6765 (whitespace-space-after-tab, whitespace-indentation)
6766 (whitespace-empty):
6767 * emulation/cua-base.el (cua-global-mark):
6768 * eshell/em-prompt.el (eshell-prompt):
6769 * net/newst-plainview.el (newsticker-new-item-face)
6770 (newsticker-old-item-face, newsticker-immortal-item-face)
6771 (newsticker-obsolete-item-face, newsticker-date-face)
6772 (newsticker-statistics-face, newsticker-default-face):
6773 * net/newst-reader.el (newsticker-feed-face)
6774 (newsticker-extra-face, newsticker-enclosure-face):
6775 * net/newst-treeview.el (newsticker-treeview-face)
6776 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6777 (newsticker-treeview-immortal-face)
6778 (newsticker-treeview-obsolete-face)
6779 (newsticker-treeview-selection-face):
6780 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6781 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6782 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6783 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6784 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6785 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6786 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6787 (mpuz-text):
6788 * progmodes/vera-mode.el (vera-font-lock-number)
6789 (vera-font-lock-function, vera-font-lock-interface):
6790 * textmodes/table.el (table-cell): Use new-style face specs, and
6791 don't use the old :bold and :italic attributes.
6792
6793 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6794 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6795 (ebrowse-member-class, ebrowse-progress): Likewise.
6796 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6797 (ebrowse-file-name-face, ebrowse-default-face)
6798 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6799 (ebrowse-progress-face): Remove obsolete faces.
6800
6801 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6802 Inherit from error and warning faces respectively.
6803
6804 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6805 Likewise.
f80efb86
SM
6806 (flyspell-incorrect-face, flyspell-duplicate-face):
6807 Remove obsolete aliases.
4b56d0fe 6808
03310646
MA
68092012-06-08 Michael Albinus <michael.albinus@gmx.de>
6810
6811 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6812 Avoid infloop.
6813
513749ee
SM
68142012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 * startup.el (argv, argi): Make lexically scoped.
6817 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6818 * emacs-lisp/cl-macs.el: Use lexical-binding.
6819 Rename cl-bind-* to cl--bind-*.
6820 * files.el: Don't require `cl' since it doesn't use it.
6821 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6822
595ef4ad
JB
68232012-06-08 Juanma Barranquero <lekktu@gmail.com>
6824
6825 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6826 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6827 instead of calling external sort utility.
6828 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6829
e9f66fcb
EZ
68302012-06-08 Eli Zaretskii <eliz@gnu.org>
6831
6832 * descr-text.el (describe-char): Mention how to insert the
6833 character, if the current input method doesn't support it.
6834 See the discussion in this thread for the details:
6835 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6836
3d10db47
SS
68372012-06-08 Sam Steingold <sds@gnu.org>
6838
6839 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6840 XF86Back to previous-buffer.
6841 (minibuffer-local-map): Bind them to next-history-element and
6842 previous-history-element respectively.
6843 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6844 help-go-back respectively.
6845 * info.el (Info-mode-map): Bind them to Info-history-forward and
6846 Info-history-back respectively.
6847 These are the keys next to Up on the ThinkPad keyboard.
6848
de7e2b36
SM
68492012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6850
6851 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6852 * emacs-lisp/cl-macs.el: Provide itself.
6853 (cl--labels-convert-cache): New var.
6854 (cl--labels-convert): New function.
6855 (cl-flet, cl-labels): New implementation with new semantics, relying on
6856 lexical-binding.
6857 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6858 (cl-closure-vars, cl--function-convert-cache)
6859 (cl--function-convert): Move from cl-macs.el.
6860 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6861 rename by removing the "cl-" prefix.
6862 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6863
6fa6c4ae
SM
68642012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6865
6866 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6867 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6868 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6869 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6870 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6871 (cl-hash-table-count): Add old compatibility aliases.
6872
6873 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6874 Use macroexpand-all-environment instead.
6875 (cl--old-macroexpand): New var.
6876 (cl--sm-macroexpand): New function.
6877 (cl-symbol-macrolet): Use it during macro expansion.
6878 (cl--function-convert-cache): New var.
6879 (cl--function-convert): New function, extracted from
6880 cl-macroexpand-all.
6881 (cl-lexical-let): Use it.
6882
6883 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6884 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6885 (cl-member): Remove old alias.
6886
6887 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6888 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6889 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6890 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6891 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6892 (cl-macroexpand-cmacs): Remove var.
6893 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6894 Use macroexpand-all instead.
6895
4dd1c416
SM
68962012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6897
6898 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6899 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6900 (macroexp-copyable-p): New functions and macros.
6901 * emacs-lisp/edebug.el (edebug-unwrap):
6902 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6903 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6904 (pcase--let*): Remove.
6905 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6906 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6907 macroexp-const-p instead.
6908 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6909
6910 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6911 instead of "cl-" for internal definitions. Use macroexp-const-p.
6912 (cl-old-bc-file-form): Remove var.
6913 (cl-const-exprs-p): Remove fun.
6914 (cl-labels, cl-macrolet): Use backquote.
6915 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6916 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6917 (cl-define-setf-expander): Rename from cl-define-setf-method.
6918 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6919
6920 * international/mule-cmds.el: Don't require CL.
6921 (view-hello-file): Don't use `letf'.
6922
ed8bd4d7
SM
69232012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6924
7287f2f3
SM
6925 * tmm.el (tmm-prompt): Use string-prefix-p.
6926 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6927 (tmm-add-prompt): Use minibuffer-completion-help.
6928 (tmm-delete-map): Remove.
6929
ed8bd4d7
SM
6930 * subr.el (kbd): Make it its own function.
6931
7b4cdbf4
SM
69322012-06-07 Stefan Merten <smerten@oekonux.de>
6933
6934 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6935 Silence compiler warnings. Fix versions.
ed8bd4d7 6936 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6937 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6938 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6939 (rst-package-emacs-version-alist): Correct Emacs version to
6940 represent major merge with upstream.
ed8bd4d7 6941 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6942
2b48d721
GM
69432012-06-06 Glenn Morris <rgm@gnu.org>
6944
6945 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6946 Only print environment variables if set.
6947
fa779ab0
SM
69482012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6951 (macroexp--cons): Rename from maybe-cons.
6952 (macroexp--accumulate): Rename from macroexp-accumulate.
6953 (macroexp--all-forms): Rename from macroexpand-all-forms.
6954 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6955 (macroexp--expand-all): Rename from macroexpand-all-1.
6956
628299e0
SS
69572012-06-06 Sam Steingold <sds@gnu.org>
6958
6959 * calendar/calendar.el (calendar-in-read-only-buffer):
6960 Call `special-mode' to enable the standard read-only keybindings.
6961
b7bb5838
SM
69622012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6963
6964 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6965 with "loading" messages (bug#11635).
6966
dfb308ba
MA
69672012-06-06 Michael Albinus <michael.albinus@gmx.de>
6968
6969 * files.el (enable-remote-dir-locals): New option.
6970 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6971
0372ee92
MA
6972 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6973 Ensure, that the temp directory is local.
6974
6975 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6976 `temporary-file-directory'.
6977
eed0bb91
MA
6978 * progmodes/python.el (python-send-region): Ensure, that the
6979 temporary file is created also in the remote case.
6980
7a58f64d
GM
69812012-06-06 Glenn Morris <rgm@gnu.org>
6982
f7dd4e98
GM
6983 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6984 (vc-rcs-update-changelog): Use it.
6985
090bd7cb 6986 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6987
7a58f64d
GM
6988 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6989 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6990 (vc-sccs-diff): Replace use of the external vcdiff script.
6991
daed4003
GM
69922012-06-05 Glenn Morris <rgm@gnu.org>
6993
6994 * ledit.el: Move to obsolete/.
6995
48c455c7
SS
69962012-06-05 Sam Steingold <sds@gnu.org>
6997
ed9265fc 6998 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6999 patch (Bug#11140).
7000
57a7d507
SM
70012012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7002
090bd7cb 7003 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7004
53aacf21
SM
7005 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7006 compiler-macro expansion.
7007
57a7d507
SM
7008 Add native compiler-macro support.
7009 * emacs-lisp/macroexp.el (macroexpand-all-1):
7010 Support compiler-macros directly. Properly follow aliases and apply
7011 the compiler macros more thoroughly.
7012 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7013 macroexpand now properly follows aliases.
7014 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7015 (cl-compiler-macroexpand): Use new prop.
7016 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7017
7018 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7019
51a5f9d8
MR
70202012-06-05 Martin Rudalics <rudalics@gmx.at>
7021
7022 * window.el (get-lru-window, get-mru-window, get-largest-window):
7023 New argument NOT-SELECTED to avoid picking the selected window.
7024 (window--display-buffer-1, window--display-buffer-2): Replace by
7025 new function window--display-buffer
7026 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7027 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7028 Use window--display-buffer.
51a5f9d8
MR
7029 (display-buffer-use-some-window): Remove temporary dedication
7030 hack by calling get-lru-window and get-largest-window with
7031 NOT-SELECTED argument non-nil. Call window--display-buffer.
7032
08f9f738
GM
70332012-06-05 Glenn Morris <rgm@gnu.org>
7034
7035 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7036 Replace external vcdiff script.
7037
e364a2b7
SM
70382012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7039
7040 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7041
041df390
CY
70422012-06-04 Chong Yidong <cyd@gnu.org>
7043
e364a2b7
SM
7044 * image.el (imagemagick-types-inhibit): Revert last change.
7045 Add INFO and M.
47b36b94 7046 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7047
7c1898a7
SM
70482012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7049
7050 * emacs-lisp/cl-lib.el: Rename from cl.el.
7051 * emacs-lisp/cl.el: New compatibility file.
7052 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7053 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7054 to obey the "cl-" prefix.
7055 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7056
0c3461de
GM
70572012-06-03 Glenn Morris <rgm@gnu.org>
7058
1e266c88
GM
7059 * emacs-lisp/authors.el (authors-aliases): Addition.
7060
0c3461de
GM
7061 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7062 Fix :version.
7063
d8a52e15
SM
70642012-06-03 Stefan Merten <smerten@oekonux.de>
7065
7066 * textmodes/rst.el: Add comments.
7067 (rst-transition, rst-adornment): New faces.
7068 (rst-adornment-faces-alist): Make default safe to reevaluate.
7069 Fixes
7070 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7071 Improve customization tags.
7072 (rst-define-level-faces): Clarify meaning.
7073
5205d6f6
CY
70742012-06-03 Chong Yidong <cyd@gnu.org>
7075
7076 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
7077 (compilation-mode-line-run, compilation-mode-line-exit):
7078 New faces.
5205d6f6
CY
7079 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7080
757ee657
JD
70812012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7082
7c1898a7
SM
7083 * progmodes/which-func.el (which-func-update-ediff-windows):
7084 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 7085
5f2c76c6
CY
70862012-06-03 Chong Yidong <cyd@gnu.org>
7087
7088 * bindings.el: Remove explicit help text from format-mode-line.
7089 It is now supplied by mode-line-default-help-echo.
7090 (mode-line-front-space, mode-line-end-spaces)
7091 (mode-line-misc-info): New variables.
7092 (mode-line-modes, mode-line-position): Move the default value to
7093 the variable definition.
7094 (mode-line-default-help-echo): New defcustom.
383f7350
CY
7095 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7096 (mode-line-modified-help-echo): New functions.
7097 (mode-line-mule-info, mode-line-modified): Use them.
7098 (mode-line-eol-desc, propertized-buffer-identification):
7099 Consistency fixes for help text.
cbe46e5f
CY
7100 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7101 set-buffer-file-coding-system (Bug#289).
7102 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7103
f2d6a3df
SM
71042012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 * simple.el (execute-extended-command): Set real-this-command
7107 (bug#11506).
7108
37269466
CY
71092012-06-02 Chong Yidong <cyd@gnu.org>
7110
7111 Remove incorrect uses of "modeline" in comments, docstrings, and
7112 function/variable names (Bug#10329).
7113
7114 * cus-edit.el (mode-line):
7115 * dframe.el (dframe-mouse-hscroll):
7116 * emacs-lisp/re-builder.el:
7117 * emacs-lisp/easy-mmode.el (define-minor-mode):
7118 * frame.el (set-frame-name):
7119 * help.el (lookup-minor-mode-from-indicator):
7120 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7121 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7122 (c-toggle-hungry-state):
7123 * progmodes/antlr-mode.el (antlr-language-alist):
7124 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7125 * progmodes/vhdl-mode.el (vhdl-mode):
7126 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7127 * term/ns-win.el (ns-face-at-pos):
7128 * term/sup-mouse.el (sup-mouse-report):
7129 * textmodes/flyspell.el (flyspell-mode-line-string):
7130 * textmodes/ispell.el (ispell-highlight-face):
7131 * textmodes/reftex-global.el:
7132 * vc/vc-arch.el (vc-arch-mode-line-string):
7133 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7134 * vc/vc-git.el (vc-git-mode-line-string):
7135 * vc/vc-hooks.el (vc-display-status)
7136 (vc-default-mode-line-string):
7137 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7138
7139 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7140
7141 * dired.el (dired-sort-set-mode-line): Rename from
7142 dired-sort-set-modeline. All callers changed.
7143
7144 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7145 eshell-status-in-modeline.
7146
7147 * foldout.el (foldout-mode-line-string): Rename from
7148 foldout-modeline-string. All callers changed.
7149 (foldout-update-mode-line): Rename from foldout-update-modeline.
7150
7151 * subr.el (redraw-modeline): Make into obsolete alias.
7152
7153 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7154 timeclock-modeline-display. Make old name an alias.
7155 (timeclock-update-mode-line): Likewise. All callers changed.
7156 (timeclock-mode-line-display): No need to check before using
7157 add-hook.
7158 (timeclock-relative, timeclock-day-over-hook)
7159 (timeclock-use-elapsed, timeclock-mode-string)
7160 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7161
7162 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7163 crisp-mode-modeline-string.
7164
7165 * play/solitaire.el (solitaire-build-mode-line): Rename from
7166 solitaire-build-modeline. All callers changed.
7167
7168 * play/zone.el (zone-hiding-mode-line): Rename from
7169 zone-hiding-modeline. All callers changed.
7170 (zone): Remove unusued `modeline-hidden-level' property.
7171
7172 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7173 xscheme-modeline-initialize. All callers changed.
7174
7175 * strokes.el (strokes-lighter): Rename from
7176 strokes-modeline-string.
7177
7178 * textmodes/sgml-mode.el (html-face-tag-alist)
7179 (html-tag-face-alist): Use mode-line face instead of obsolete
7180 alias modeline.
7181
42152ee4
SM
71822012-06-02 Stefan Merten <smerten@oekonux.de>
7183
7184 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7185 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7186
95f520b5
CY
71872012-06-02 Chong Yidong <cyd@gnu.org>
7188
7189 * image.el (imagemagick-enabled-types): Rename from
7190 imagemagick-types-enable. Add many more types.
7191 (imagemagick-types-inhibit): Change default to nil.
7192 (imagemagick-filter-types): Caller changed.
7193
4a5f187a
SM
71942012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7195
03fef3e6
SM
7196 * emacs-lisp/cl-macs.el: Use backquotes.
7197 (cl-transform-function-property): Use eval-and-compile rather than
7198 abusing `require'.
7199 (defstruct): Use declare-function instead of with-no-warnings.
7200
4a5f187a
SM
7201 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7202 (byte-compile-output-docform): Re-add the print-circle bindings.
7203 (byte-compile-fix-header): Use #$ just because it's shorter.
7204 (byte-compile-output-file-form): Remove defun/defmacro.
7205
bd56924f
MR
72062012-06-01 Martin Rudalics <rudalics@gmx.at>
7207
7208 * simple.el (choose-completion): Remove now obsolete binding for
7209 owindow.
7210
046e38ce
MA
72112012-06-01 Michael Albinus <michael.albinus@gmx.de>
7212
7213 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7214 in order to avoid "Stack overflow in regexp matcher".
7215
32d72c2f
GM
72162012-05-31 Glenn Morris <rgm@gnu.org>
7217
7218 * image.el: For clarity, call imagemagick-register-types at
7219 top-level, rather than relying on a custom :initialize.
7220 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7221 (imagemagick-filter-types): New function. (Bug#7406)
7222 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7223 If disabling support, remove elements altogether rather
7224 than using an impossible regexp.
7225 (imagemagick-types-inhibit): Give it the default init function.
7226
dd41169b
SM
72272012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7228
4a5f187a
SM
7229 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7230 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7231
efc00ab1 72322012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7233
7234 * desktop.el (desktop-read): Clear previous and next buffers for
7235 all windows and bury *Messages* buffer (bug#11556).
7236
500fcedc
SM
72372012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7238
7239 Add `declare' for `defun'. Align `defmacro's with it.
7240 * emacs-lisp/easy-mmode.el (define-minor-mode)
7241 (define-globalized-minor-mode): Don't autoload the var definitions.
7242 * emacs-lisp/byte-run.el: Use lexical-binding.
7243 (defun-declarations-alist, macro-declarations-alist): New vars.
7244 (defmacro, defun): Use them.
7245 (make-obsolete, define-obsolete-function-alias)
7246 (make-obsolete-variable, define-obsolete-variable-alias):
7247 Use `declare'.
7248 (macro-declaration-function): Mark obsolete.
7249 * emacs-lisp/autoload.el: Use lexical-binding.
7250 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7251
6e8a1786
AM
72522012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7253
7254 * textmodes/ispell.el (ispell-with-no-warnings):
7255 Define as a macro.
500fcedc
SM
7256 (ispell-kill-ispell, ispell-change-dictionary):
7257 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7258 `interactive-p'.
7259
61b108cc
SM
72602012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7261
7262 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7263 (macro-declaration-function): Move var from C code.
7264 (macro-declaration-function): Define function with defalias.
7265 * emacs-lisp/macroexp.el (macroexpand-all-1):
7266 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7267 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7268 defun/defmacro any more.
7269 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7270 Provide fallback for unknown arglist.
7271 (byte-compile-arglist-warn): Change calling convention.
7272 (byte-compile-output-file-form): Move print-vars binding.
7273 (byte-compile-output-docform): Simplify accordingly.
7274 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7275 (byte-compile-defmacro-declaration): Remove.
7276 (byte-compile-file-form-defmumble): Generalize to defalias.
7277 (byte-compile-output-as-comment): Return byte-positions.
7278 Simplify callers accordingly.
7279 (byte-compile-lambda): Use `assert'.
7280 (byte-compile-defun, byte-compile-defmacro): Remove.
7281 (byte-compile-file-form-defalias):
7282 Use byte-compile-file-form-defmumble.
7283 (byte-compile-defalias-warn): Remove.
7284
6d3f7c2f
SM
72852012-05-29 Stefan Merten <smerten@oekonux.de>
7286
7287 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7288 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7289
7290 (rst-mode-abbrev-table): Merge definition.
7291 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7292 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7293
6dbaa1c7
UJ
72942012-05-29 Ulf Jasper <ulf.jasper@web.de>
7295
7296 * calendar/icalendar.el
7297 (icalendar-export-region): Export UID properly.
7298
d209e2fb 72992012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7300 * calendar/icalendar.el (icalendar-import-format):
7301 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7302 (icalendar-import-format-uid): New.
7303 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7304 Export UID.
7305
6876a58d
SM
73062012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7307
7308 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7309 different alternative patterns.
7310 (pcase-codegen): Be more careful to preserve identity.
7311 (pcase--u1): Don't forget to mark vars as used.
7312
7313 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7314 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7315 (byte-compile-from-buffer): ...rather than here.
7316
7317 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7318 functions from byte-compile-function-environment.
7319
46b7967e
TN
73202012-05-29 Troels Nielsen <bn.troels@gmail.com>
7321
7322 * window.el (window-deletable-p): Avoid deleting the root window
7323 of a frame with an active minibuffer.
7324
69d565e2
MR
73252012-05-29 Martin Rudalics <rudalics@gmx.at>
7326
7327 * simple.el (choose-completion): Use quit-window (Bug#11567).
7328
a149fa51
CY
73292012-05-29 Chong Yidong <cyd@gnu.org>
7330
7331 * whitespace.el (whitespace-cleanup): Fix usage of
7332 whitespace-empty-at-bob-regexp (Bug#11492).
7333
2b311310
AH
73342012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7335
7336 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7337 revert (Bug#11488).
7338
b9cb2387
JL
73392012-05-29 Juri Linkov <juri@jurta.org>
7340
7341 * isearch.el (isearch-mode-map): Bind `M-s _' to
7342 `isearch-toggle-symbol'. Bind `M-s c' to
7343 `isearch-toggle-case-fold'.
7344 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7345 (isearch-forward): Add `M-s _' to the docstring.
7346 (isearch-forward-symbol, isearch-toggle-case-fold)
7347 (isearch-symbol-regexp): New functions. (Bug#11381)
7348
d5e61c1c
JL
73492012-05-29 Juri Linkov <juri@jurta.org>
7350
7351 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7352 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7353 a function, call it to get the regexp.
7354 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7355 property `isearch-message-prefix' instead of the string "word ".
7356 (isearch-search-fun-default): For the case of `isearch-word',
7357 return a lambda that calls re-search-forward/re-search-backward
7358 with a regexp returned by `word-search-regexp' or by the function
7359 in `isearch-word'.
7360
8cbd80f7
JL
73612012-05-29 Juri Linkov <juri@jurta.org>
7362
7363 * isearch.el (isearch-search-fun-default): New function.
7364 (isearch-search-fun): Move default part to the new function
7365 `isearch-search-fun-default'.
7366 (isearch-search-fun-function): Set the default value to
7367 `isearch-search-fun-default'. (Bug#11381)
7368
7369 * comint.el (comint-history-isearch-end):
7370 Use `isearch-search-fun-default'.
7371 (comint-history-isearch-search): Use `isearch-search-fun-default'
7372 and remove spacial case for `isearch-word'.
7373 (comint-history-isearch-wrap): Remove spacial case for
7374 `isearch-word'.
7375
7376 * hexl.el (hexl-isearch-search-function):
7377 Use `isearch-search-fun-default'.
7378
7379 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7380 Use `word-search-regexp' for `isearch-word'.
7381
7382 * misearch.el (multi-isearch-search-fun):
7383 Use `isearch-search-fun-default'.
7384
7385 * simple.el (minibuffer-history-isearch-search):
7386 Use `isearch-search-fun-default' and remove spacial case for
7387 `isearch-word'.
7388 (minibuffer-history-isearch-wrap): Remove spacial case for
7389 `isearch-word'.
7390
7391 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7392 Remove spacial case for `isearch-word'.
7393 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7394
85c8c5b6
AM
73952012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7396
7397 Decrease XEmacs incompatibilities.
7398 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7399 Use `string-match'.
7400 (flyspell-delete-region-overlays): Use alternative definition for
7401 XEmacs.
7402 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7403 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7404 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7405 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7406 `define-obsolete-face-alias' under XEmacs, but old method.
7407
7408 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7409 `with-no-warnings' definition or Emacs alias.
7410 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7411 (ispell-word): Do not use `region-p' if XEmacs.
7412
8cab9efc
AM
74132012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7414
7415 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7416 Check for `ispell-dictionary-base-alist' instead of full
7417 `ispell-dictionary-alist'.
7418 (ispell-init-process): Show spellchecker when starting new Ispell
7419 process.
7420
fda91268
RZ
74212012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7422
7423 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7424 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7425
694ea8e3
JB
74262012-05-27 Juanma Barranquero <lekktu@gmail.com>
7427
7428 * version.el (motif-version-string, gtk-version-string)
7429 (ns-version-string): Declare.
7430
e4d4f539
JL
74312012-05-27 Juri Linkov <juri@jurta.org>
7432
7433 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7434 after the `eval-defun-1' specialcaseing
7435 like in `edebug-eval-defun' (bug#10181).
7436
7437 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7438 like in `eval-defun-1'.
7439
33017faf 74402012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7441
fda91268
RZ
7442 * mail/sendmail.el (mail-yank-region):
7443 Recognize rmail-yank-current-message in addition to insert-buffer.
7444 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7445 a *mail* buffer created through rmail-start-mail with sendmail as
7446 mail-user-agent.
7447
33017faf
GM
74482012-05-27 Chong Yidong <cyd@gnu.org>
7449
7450 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7451 Default to 256 (Bug#11267).
7452
7453 * help.el (describe-mode): Doc fix.
7454
04188bb9
GM
74552012-05-26 Glenn Morris <rgm@gnu.org>
7456
38264cc9
GM
7457 * w32-fns.el (w32-init-info): Remove.
7458 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7459
eb7afdad
GM
7460 * info.el (info-initialize): For self-contained NS builds, put the
7461 included info/ directory at the front. (Bug#2791)
7462
04188bb9
GM
7463 * paths.el (Info-default-directory-list): Make it a defcustom,
7464 mainly so that we can use custom-initialize-delay.
7465
a179e3f7
SM
74662012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7467
43416392
SM
7468 * subr.el (buffer-has-markers-at): Mark obsolete.
7469
a179e3f7 7470 * subr.el (lambda): Use declare.
43416392 7471
a179e3f7
SM
7472 * emacs-lisp/lisp-mode.el (lambda):
7473 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7474
34a008d9
AH
74752012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7476
7477 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7478
0a3b289f
GM
74792012-05-26 Glenn Morris <rgm@gnu.org>
7480
7481 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7482
758c81e8
GM
74832012-05-25 Glenn Morris <rgm@gnu.org>
7484
f9f334f0
GM
7485 * paths.el: Remove no-byte-compile.
7486 * loadup.el: No need to load paths.el uncompiled.
7487
87eb79c2
GM
7488 * image.el (imagemagick-types-inhibit): Doc fix.
7489
758c81e8
GM
7490 * version.el: Remove no-byte-compile and associated formatting.
7491 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7492 is ancient code from when there was an "inc-vers.el".
7493
e7e85dc0
SM
74942012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7495
7496 * progmodes/gdb-mi.el: Minor style changes.
7497 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7498 Turn into minor modes.
7499 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7500 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7501 (gdb-shell): Remove unneeded let-binding.
7502 (gdb-get-many-fields): Eliminate O(n²) behavior.
7503
f31237a4
EZ
75042012-05-25 Eli Zaretskii <eliz@gnu.org>
7505
7506 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7507 platforms that don't link in fontset.c.
7508
bc1b21bb
JL
75092012-05-25 Juri Linkov <juri@jurta.org>
7510
7511 Use the same diff color scheme as in modern VCSes (bug#10181).
7512
7513 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7514 to avoid confusion with `diff-added' that now uses green colors.
7515 (diff-removed): Use shades of red.
7516 (diff-added): Use shades of green.
7517 (diff-changed): Leave just the yellow color.
7518 (diff-use-changed-face): New variable.
7519 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7520 how to highlight context diff changes.
7521 (diff-refine-change): Use shades of yellow.
7522 (diff-refine-removed): New face that uses shades of red.
7523 (diff-refine-added): New face that uses shades of green.
7524 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7525 `diff-refine-removed' in the call to `smerge-refine-subst'
7526 depending on the value of `diff-use-changed-face'.
7527
7528 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7529 (smerge-other): Use shades of green.
7530 (smerge-base): Use shades of yellow.
7531 (smerge-refined-change): Empty face.
7532 (smerge-refined-removed): New face that uses shades of red.
7533 (smerge-refined-added): New face that uses shades of green.
7534 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7535 args `props-r' and `props-a', and use them. Doc fix.
7536 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7537 on its value use different faces `smerge-refined-change',
7538 `smerge-refined-removed', `smerge-refined-added' in the call to
7539 `smerge-refine-subst'.
7540
7541 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7542 Add face condition `min-colors 88' with shades of red.
7543 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7544 `min-colors 88' with shades of green.
7545 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7546 `min-colors 88' with shades of yellow.
7547
6df9112c
GM
75482012-05-24 Glenn Morris <rgm@gnu.org>
7549
ead5edc0
GM
7550 * paths.el (prune-directory-list, remote-shell-program): Move to...
7551 * files.el (prune-directory-list, remote-shell-program): ...here.
7552 For the latter, delay initialization, prefer ssh, just search PATH.
7553
f18b81e6
GM
7554 * paths.el (term-file-prefix): Move to faces.el (the only user).
7555 * faces.el (term-file-prefix): Move here, make it a defcustom.
7556
ee2f89a6
GM
7557 * paths.el (news-directory, news-path, news-inews-program):
7558 Move to gnus/nnspool.el.
61a583ca 7559
f8815e4c
GM
7560 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7561
c8f3b42c
GM
7562 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7563 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7564 Make the latter a defcustom, with a delayed initialization.
7565
6df9112c
GM
7566 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7567 These were deleted from Gnus itself late 2010.
7568
5dadff36
JB
75692012-05-22 Juanma Barranquero <lekktu@gmail.com>
7570
9e1701c6
JB
7571 * progmodes/which-func.el (which-func-ff-hook):
7572 Check against user-error, not error.
7573
bd7239f5 7574 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7575 cl-specs.el, which no longer exists.
7576
3290526d
GM
75772012-05-22 Glenn Morris <rgm@gnu.org>
7578
7579 * info.el (info-emacs-bug): New command.
7580 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7581 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7582
ff0c3cfb
GM
75832012-05-21 Glenn Morris <rgm@gnu.org>
7584
7585 * makefile.w32-in (update-subdirs-SH):
7586 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7587
5814f126
SM
75882012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7589
a52c0aa0
SM
7590 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7591
5814f126
SM
7592 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7593 Simplify Maven regexp, and make sure the file can't start with a space
7594 (bug#11517).
7595
b847032c
GM
75962012-05-21 Glenn Morris <rgm@gnu.org>
7597
7598 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7599 Scrap superfluous subshells.
7600
3858bfe7
SM
76012012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7602
7603 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7604 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7605
d14b0029
JB
76062012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7607
7608 * calc/calc.el (calc-ensure-consistent-units): New variable.
7609
a52c0aa0
SM
7610 * calc/calc-units.el (math-consistent-units-p)
7611 (math-check-unit-consistency): New functions.
7612 (calc-quick-units, calc-convert-units):
7613 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7614 is non-nil.
d14b0029
JB
7615 (calc-extract-units): Fix typo.
7616
60c4db3a
SM
76172012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7618
77f3b62e
SM
7619 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7620
60c4db3a
SM
7621 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7622 (flyspell-default-deplacement-commands): Don't spell check after
7623 repeated window/frame switches (e.g. triggered by mouse-movement).
7624 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7625 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7626 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7627 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7628 Remove unused vars.
7629 (flyspell-get-casechars, flyspell-get-not-casechars):
7630 Simplify; Don't bother removing a ] just to add it back.
7631 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7632
d209e2fb 76332012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7634
7635 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7636 New functions.
bd7239f5 7637 (math-function-table): Add support for more C functions.
b1a10716 7638
3f1b25b5
AM
76392012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7640
090bd7cb
JB
7641 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7642 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7643 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7644
b581bb5c
SM
76452012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7647 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7648 their respective macro declarations.
7649 * skeleton.el (define-skeleton):
7650 * progmodes/compile.el (define-compilation-mode):
7651 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7652 (define-ibuffer-filter):
7653 * emacs-lisp/generic.el (define-generic-mode):
7654 * emacs-lisp/easy-mmode.el (define-minor-mode)
7655 (define-globalized-minor-mode):
7656 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7657 * emacs-lisp/byte-run.el (defsubst):
7658 * custom.el (deftheme): Add doc-string metadata.
7659
70b8ef8f
SM
76602012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7661
7662 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7663
b1198e17
SM
76642012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7665
9abdc45d
SM
7666 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7667
b1198e17
SM
7668 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7669 * emacs-lisp/cl-macs.el: Idem.
7670 * emacs-lisp/cl-specs.el: Remove.
7671
4735906a
SM
76722012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7673
7674 Minor renaming of internal CL functions and variables.
7675 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7676 (cl--position): Rename from cl-position.
7677 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7678 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7679 (cl--random-state): Rename from *random-state*.
7680
ac348012
SM
76812012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7682
7683 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7684 parens around the arg list (bug#11499).
7685
a0a79cde
JL
76862012-05-17 Juri Linkov <juri@jurta.org>
7687
7688 * isearch.el (word-search-regexp, word-search-backward)
7689 (word-search-forward, word-search-backward-lax)
7690 (word-search-forward-lax): Move functions from search.c
7691 (bug#10145, bug#11381).
7692
65034a51
AM
76932012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7694
090bd7cb
JB
7695 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7696 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7697 Delay for otherchars as for normal word components.
65034a51 7698
1a72a195
SM
76992012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * minibuffer.el (completion--sifn-requote): Fix last change.
7702 (minibuffer-local-must-match-filename-map):
7703 Move define-obsolete-variable-alias before its var.
7704
fdb058c2
SM
77052012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7706
c41045e6
SM
7707 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7708
036dfb8b
SM
7709 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7710 behavior.
7711 (completion--string-equal-p): New function.
7712 (completion--twq-all): Use it to get better assertion failure data.
7713
2473256d
SM
7714 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7715 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7716 (shell--requote-argument): New functions.
7717 (shell-completion-vars): Use them.
7718 (shell--parse-pcomplete-arguments): Rename from
7719 shell-parse-pcomplete-arguments.
7720 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7721 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7722 Obey comint-file-name-quote-list.
7723
fdb058c2
SM
7724 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7725 (smie-indent-keyword): Use it.
7726
51fa99f1
SM
77272012-05-14 Stefan Merten <smerten@oekonux.de>
7728
7729 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7730
e18afed7 77312012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7732
7733 * net/rlogin.el (rlogin-mode-map): Fix last change.
7734
e18afed7 77352012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7736
7737 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7738 the following \r\n using a single `process-send-string', since the
7739 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7740 with two `process-send-string's (Bug#11444).
8633b1f4 7741
e18afed7 77422012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7743
fdb058c2
SM
7744 * shell.el (shell-parse-pcomplete-arguments):
7745 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7746
2d21d7f6
WJ
77472012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7748
e18afed7 7749 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7750 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7751 (image-transform-width, image-transform-fit-width): New functions.
7752 (image-transform-properties): Use them.
7753 (image-transform-check-size): New function.
7754 (image-toggle-display-image): Use it (for testing).
7755 (image-transform-set-rotation): Reduce angle mod 360.
7756 Delete obsolete comment.
7757
7102e6d0
WJ
77582012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7759
7760 * image-mode.el: Fix scaling (bug#11399).
7761 (image-transform-resize): Doc fix.
7762 (image-transform-properties): Default scale is 1 and height should
7763 be an integer.
7764
06bc5e6e
SM
77652012-05-13 Johan Bockgård <bojohan@gnu.org>
7766
7767 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7768 than hard-coding `car', to fix misbehavior when moving forward.
7769
0ae03b6a
CY
77702012-05-13 Chong Yidong <cyd@gnu.org>
7771
7772 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7773 (tabulated-list-entries, tabulated-list-padding)
7774 (tabulated-list-sort-key): Make permanent-local.
7775
7776 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7777 (electric-buffer-list): Put electric buffer menu
7778 command descriptions in this docstring, instead of the docstring
7779 of electric-buffer-menu-mode. Code cleanups.
7780 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7781 Electric-buffer-menu-mode.
7782 (electric-buffer-update-highlight): Minor code cleanup.
7783
205a7391
MA
77842012-05-13 Michael Albinus <michael.albinus@gmx.de>
7785
7786 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7787 (Bug#11447)
7788
e5bd0a28
SM
77892012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 Move define-obsolete-variable-alias before the var's definition.
7792 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7793 * tooltip.el (tooltip-hook):
7794 * textmodes/reftex-toc.el (reftex-toc-map):
7795 * textmodes/reftex-sel.el (reftex-select-label-map)
7796 (reftex-select-bib-map):
7797 * textmodes/reftex-index.el (reftex-index-map)
7798 (reftex-index-phrases-map):
7799 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7800 * progmodes/meta-mode.el (meta-mode-map):
7801 * novice.el (disabled-command-hook):
7802 * loadhist.el (unload-hook-features-list):
7803 * frame.el (blink-cursor):
7804 * files.el (find-file-not-found-hooks, write-file-hooks)
7805 (write-contents-hooks):
7806 * emulation/tpu-edt.el (GOLD-map):
7807 * emacs-lock.el (emacs-lock-from-exiting):
7808 * emacs-lisp/generic.el (generic-font-lock-defaults):
7809 * emacs-lisp/chart.el (chart-map):
7810 * dos-fns.el (register-name-alist):
7811 * dired-x.el (dired-omit-files-p):
7812 * desktop.el (desktop-enable):
7813 * cus-edit.el (custom-mode-hook):
7814 * buff-menu.el (buffer-menu-mode-hook):
7815 * bookmark.el (bookmark-read-annotation-text-func)
7816 (bookmark-exit-hooks):
7817 * allout.el (allout-mode-deactivate-hook)
7818 (allout-exposure-change-hook, allout-structure-added-hook)
7819 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7820 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7821 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7822 comes before the corresponding variable's definition.
7823
ac59c2f6
CY
78242012-05-12 Chong Yidong <cyd@gnu.org>
7825
7826 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7827 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7828 (Buffer-menu-mode-map): Bind it.
7829 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7830
dee6c9a3
SM
78312012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7832
2171cea5
SM
7833 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7834 (prolog-upper-case-string, prolog-lower-case-string)
7835 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7836 (prolog-use-smie, prolog-smie-grammar): New vars.
7837 (prolog-smie-forward-token, prolog-smie-backward-token)
7838 (prolog-smie-rules): New funs.
7839 (prolog-comment-indent): Remove.
7840 (prolog-mode-variables): Use default comment indentation instead.
7841 Setup SMIE.
7842 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7843 (prolog-mode): Don't call them any more.
7844 (prolog-electric-colon, prolog-electric-dash)
7845 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7846
aa0382bd
SM
7847 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7848
dbacb4bd
SM
7849 * minibuffer.el (completion--twq-all): Again, allow case differences.
7850
13bdd94c
SM
7851 * term.el: Move keymap initialization code to be more idiomatic.
7852 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7853 (term-terminal-menu): Move initialization into declaration.
7854 (term-escape-char): Let the user set it in her .emacs.
7855
ff46c759
SM
7856 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7857 Provide SMIE-based indentation (not enabled by default yet).
7858 (sh-mode-map): Don't bind electric keys.
7859 Use electric-pair-mode instead of skeleton-pair.
7860 (sh-assignment-regexp): Fit within 80 columns.
7861 (sh-indent-supported): Specify actual shell name instead of boolean.
7862 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7863 (sh-maybe-here-document): Use it. Make obsolete.
7864 (sh-electric-here-document-mode) New minor mode.
7865 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7866 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7867 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7868 (sh-smie-rc-grammar, sh-use-smie): New vars.
7869 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7870 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7871 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7872 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7873 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7874 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7875 (sh-set-shell): Use smie-setup if requested.
7876
dee6c9a3
SM
7877 * term.el (term-set-escape-char): Properly set term-escape-char.
7878 See http://stackoverflow.com/questions/10524656.
7879
9f9aa044
CY
78802012-05-10 Chong Yidong <cyd@gnu.org>
7881
7882 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7883 Use url-generic-parse-url, and handle host names and Windows
7884 filenames properly.
7885 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7886 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7887 URL schemes to work on.
7888 (ffap--toggle-read-only): New function.
7889 (ffap-read-only, ffap-read-only-other-window)
7890 (ffap-read-only-other-frame): Use it.
7891 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7892 necessary for ffap-url-unwrap-remote.
7893
836d29b3
DA
78942012-05-10 Dave Abrahams <dave@boostpro.com>
7895
7896 * cus-start.el (create-lockfiles): Add it.
7897
00fd78ed
CY
78982012-05-09 Chong Yidong <cyd@gnu.org>
7899
7900 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7901 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7902
666b903b 79032012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7904
7905 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7906
666b903b 79072012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7908
7909 * ansi-color.el (ansi-color-process-output): Check for validity of
7910 comint-last-output-start before using it. This avoids a bad
7911 interaction with gdb-mi's input/output buffer.
7912
666b903b 79132012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7914
7915 * files.el (dir-locals-read-from-file):
7916 Mention dir-locals in any error message.
7917
666b903b 79182012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7919
7920 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7921 package (Bug#11410).
7922
f677562b
CY
7923 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7924 variables into description.
7925
666b903b 79262012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7927
7928 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7929 shell-delimiter-argument-list (bug#11348).
7930 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7931
b499d8d0
JB
79322012-05-09 Juanma Barranquero <lekktu@gmail.com>
7933
8f6b6da8
JB
7934 * textmodes/rst.el: Silence byte-compiler warnings.
7935 (rst-re-alist, rst-reset-section-caches): Move around.
7936 (rst-re): Use `characterp', not `char-valid-p'.
7937 (font-lock-beg, font-lock-end): Declare.
7938
4824146a
JB
7939 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7940 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7941
b499d8d0
JB
7942 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7943
ad89bb83
GM
79442012-05-08 Glenn Morris <rgm@gnu.org>
7945
7946 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7947
8bba5a75
SM
79482012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7949
49ed9c8e
SM
7950 * vc/log-edit.el: Add GNU coding standards highlighting.
7951 (log-edit-font-lock-gnu-style)
7952 (log-edit-font-lock-gnu-keywords): New vars.
7953 (log-edit-font-lock-keywords): New fun.
7954 (log-edit-mode): Don't fold case in font-lock.
7955 (log-edit-font-lock-keywords): Do not assume case-folding.
7956
07d00b56
SM
7957 * imenu.el: Misc cleanup. Make docstrings out of comments.
7958 Use lexical-binding.
7959 (imenu--index-alist, imenu--last-menubar-index-alist)
7960 (imenu-menubar-modified-tick): Use defvar-local.
7961 (imenu--split-menu): Remove unused var.
7962 (imenu--cleanup-seen): Declare as global.
7963 (imenu--cleanup): Use dolist.
7964
8bba5a75
SM
7965 * subr.el (defvar-local): Add debug spec and doc-string position.
7966
5075bdb5
GM
79672012-05-08 Glenn Morris <rgm@gnu.org>
7968
090bd7cb 7969 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7970 * language/english.el, language/georgian.el, language/greek.el:
7971 * language/japanese.el, language/khmer.el, language/korean.el:
7972 * language/lao.el, language/misc-lang.el, language/romanian.el:
7973 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7974 * language/thai.el, language/utf-8-lang.el:
7975 Remove no-byte-compile setting.
7976
5075bdb5
GM
7977 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7978
06f679a7
AH
79792012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7980
7981 * progmodes/make-mode.el (makefile-browse):
7982 Remove unnecessary interactive. (Bug#11324)
7983
03794570
GM
79842012-05-07 Glenn Morris <rgm@gnu.org>
7985
af8630f4
GM
7986 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7987
03794570
GM
7988 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7989
f0809a9d
SM
79902012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7991
28be5ce7
SM
7992 * loadup.el: Preload newcomment.el.
7993 * newcomment.el: Move autoload-only code to toplevel.
7994
f0809a9d
SM
7995 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7996 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7997 Handle new :right-align column property.
7998 (tabulated-list-print-col): Idem, plus use `display' text-property to
7999 try and preserve alignment for variable pitch fonts.
8000
1241b724
CY
80012012-05-07 Chong Yidong <cyd@gnu.org>
8002
8003 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8004 (tabulated-list-use-header-line): New var.
8005 (tabulated-list-init-header): Use it.
8006 (tabulated-list-print-fake-header): New function.
8007 (tabulated-list-print): Use it.
8008 (tabulated-list-sort-button-map): Add non-header-line commands.
8009 (tabulated-list-init-header): Add column name property to basic
8010 labels as well.
8011 (tabulated-list-col-sort): Handle non-header-line button case.
8012 (tabulated-list--sort-by-column-name): Fix a corner case.
8013
f0809a9d
SM
8014 * buff-menu.el (list-buffers--refresh):
8015 Handle Buffer-menu-use-header-line.
1241b724 8016
e5f9458f
CY
80172012-05-06 Chong Yidong <cyd@gnu.org>
8018
8019 * buff-menu.el: Convert to Tabulated List mode.
8020 (Buffer-menu-buffer+size-width): Make obsolete.
8021 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8022 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8023 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8024 documentation into docstring of buffer-menu.
8025 (Buffer-menu-toggle-files-only): Add an informative message.
8026 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8027 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8028 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8029 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8030 (Buffer-menu-execute, Buffer-menu-select)
8031 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8032 (Buffer-menu-bury): Use Tabulated List machinery.
8033 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8034 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8035 Delete.
e5f9458f
CY
8036 (list-buffers--refresh): New function.
8037 (list-buffers-noselect): Use it.
8038 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8039 (Buffer-menu--pretty-file-name): New helper functions.
8040
8041 * loadup.el: Preload tabulated-list.
8042
8043 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8044 tabulated-list-sort-column.
8045 (tabulated-list-init-header): Add the initial aligning space even
8046 if tabulated-list-padding is zero.
8047
e129292c
CS
80482012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8049
8050 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8051 whose cdr is not a cons cell correctly (bug#11038).
8052
6632d361
CY
80532012-05-06 Chong Yidong <cyd@gnu.org>
8054
e129292c
CS
8055 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8056 Accept additional plist in column descriptors.
6632d361
CY
8057 (tabulated-list-init-header): Obey it.
8058 (tabulated-list-get-entry): New function.
8059 (tabulated-list-put-tag): Use it. Use string-width instead of
8060 length.
8061 (tabulated-list--column-number): New function.
8062 (tabulated-list-print): Use it.
e129292c
CS
8063 (tabulated-list-print-col): New function.
8064 Set `tabulated-list-column-name' property on each column's text.
6632d361 8065 (tabulated-list-print-entry): Use it.
e129292c
CS
8066 (tabulated-list-delete-entry, tabulated-list-set-col):
8067 New functions.
6632d361
CY
8068 (tabulated-list-sort-column): New command (Bug#11337).
8069
3cc99f68
CY
8070 * buff-menu.el (list-buffers): Move C-x C-b binding from
8071 buff-menu.el to bindings.el.
8072
8073 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8074 :advertised-binding feature.
8075
52b61776
TN
80762012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8077
8078 * progmodes/compile.el (compilation-internal-error-properties):
8079 Calculate start position correctly when end-col is set but
8080 end-line is not (Bug#11382).
8081
ebfe2597
WJ
80822012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8083
8084 * man.el (Man-unindent): Use text-property-default-nonsticky to
8085 prevent untabify from inheriting face properties (Bug#11408).
8086
6d3f7c2f
SM
80872012-05-05 Stefan Merten <smerten@oekonux.de>
8088
8089 * textmodes/rst.el: Major merge with upstream development up to
8090 Docutils SVN r7399 / rst.el V1.2.1.
8091
8092 Clarify maintainership and authors.
8093
8094 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8095 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8096 (rst-official-version, rst-official-cvs-rev, rst-version)
8097 (rst-package-emacs-version-alist): New functions and variables
8098 for version information.
8099
8100 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8101 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8102 (rst-mode-syntax-table, rst-mode): New and corrected functions
8103 and variables representing reStructuredText features.
8104
8105 (rst-re): New function for reStructuredText regexes. Use in
8106 many places.
8107
8108 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8109 (rst-mode-map): Rebind keys.
8110
8111 (rst-mode-lazy, rst-font-lock-keywords)
8112 (rst-font-lock-extend-region)
8113 (rst-font-lock-extend-region-internal)
8114 (rst-font-lock-extend-region-extend)
8115 (rst-font-lock-find-unindented-line-limit)
8116 (rst-font-lock-find-unindented-line-match)
8117 (rst-adornment-level, rst-font-lock-adornment-level)
8118 (rst-font-lock-adornment-match)
8119 (rst-font-lock-handle-adornment-pre-match-form)
8120 (rst-font-lock-handle-adornment-matcher): Major revision of
8121 font-locking. Integrate with other code. Use `jit-lock-mode'.
8122
8123 (rst-preferred-adornments, rst-adjust-hook)
8124 (rst-new-adornment-down, rst-preferred-bullets)
8125 (rst-preferred-bullets, rst-indent, rst-indent-width)
8126 (rst-indent-field, rst-indent-literal-normal)
8127 (rst-indent-literal-minimized, rst-indent-comment): Change,
8128 extend and improve customization.
8129
8130 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8131 (rst-normalize-cursor-position, rst-get-decoration)
8132 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8133 (rst-rstrip, rst-toc-insert-find-delete-contents)
8134 (rst-shift-fill-region, rst-compute-bullet-tabs)
8135 (rst-debug-print-tabs, rst-debug-mark-found)
8136 (rst-shift-region-guts, rst-shift-region-right)
8137 (rst-shift-region-left, rst-use-char-classes)
8138 (rst-font-lock-keywords-function)
8139 (rst-font-lock-indentation-point)
8140 (rst-font-lock-find-unindented-line-begin)
8141 (rst-font-lock-find-unindented-line-end)
8142 (rst-font-lock-find-unindented-line)
8143 (rst-font-lock-adornment-point, rst-font-lock-level)
8144 (rst-adornment-level-alist): Remove functions and variables.
8145
8146 (rst-compare-adornments, rst-get-adornment-match)
8147 (rst-suggest-new-adornment, rst-get-adornments-around)
8148 (rst-adornment-complete-p, rst-get-next-adornment)
8149 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8150 (rst-straighten-adornments): Standardize function names to
8151 use "adornment" instead of "decoration". Correct callers.
8152 Similar standardizing in many places.
8153
8154 (rst-update-section, rst-adjust, rst-promote-region)
8155 (rst-enumerate-region, rst-bullet-list-region)
8156 (rst-repeat-last-character): Correct use of `interactive'.
8157
8158 (rst-classify-adornment, rst-find-all-adornments)
8159 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8160 (rst-find-leftmost-column, rst-repeat-last-character):
8161 Refactor functions.
8162
8163 (rst-find-title-line, rst-reset-section-caches)
8164 (rst-get-adornments-around, rst-adjust-adornment-work)
8165 (rst-arabic-to-roman, rst-roman-to-arabic)
8166 (rst-insert-list-pos, rst-insert-list-new-item)
8167 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8168 New functions.
8169
8170 (rst-all-sections, rst-section-hierarchy)
8171 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8172 New variables.
8173
8174 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8175 configuration instead of only buffer. Change where necessary.
8176
8177 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8178 (rst-shift-region, rst-adaptive-fill): New functions for
8179 indentation and filling.
8180
8181 (rst-comment-line-break, rst-comment-indent)
8182 (rst-comment-insert-comment, rst-comment-region)
8183 (rst-uncomment-region): New functions for handling comments.
8184
8185 (rst-compile): Quote shell arguments.
8186
8187 (rst-compile-pdf-preview, rst-compile-slides-preview):
8188 Delete temporary files after use.
8189
a43f98b3
GM
81902012-05-05 Glenn Morris <rgm@gnu.org>
8191
48176e8b
GM
8192 * calendar/cal-html.el: Optionally include holidays in the output.
8193 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8194 (cal-html-holidays): New option.
8195 (cal-html-css-default): Add holiday entry.
8196 (holiday-in-range): Autoload it.
8197 (cal-html-htmlify-entry): Add optional class argument.
8198 (cal-html-htmlify-list): Add optional holidays argument.
8199 (cal-html-insert-agenda-days): Include holidays in the output.
8200 (cal-html-one-month): Maybe include holidays.
8201
a43f98b3
GM
8202 * calendar/holidays.el (holiday-in-range):
8203 Move here from cal-tex-list-holidays.
8204 * calendar/cal-tex.el (cal-tex-list-holidays):
8205 Make it an obsolete alias for holiday-in-range. Update all callers.
8206
fef9d149 82072012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8208
8209 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8210 Nextstep.
8211
248da2f4
RW
82122012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8213
8214 * files.el (file-auto-mode-skip): New var.
8215 (set-auto-mode-1): Use it.
8216
f95e9344
SM
82172012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8218
df96ab1e
SM
8219 * repeat.el: Use lexical-binding.
8220 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8221 (repeat-undo-count): Remove.
8222 (repeat):
8223 * progmodes/octave-mod.el (octave-abbrev-start):
8224 * progmodes/f90.el (f90-abbrev-start):
8225 * face-remap.el (text-scale-adjust):
8226 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8227
5342bb06
SM
8228 * emacs-lisp/pcase.el (pcase--let*): New function.
8229 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8230 a bit more.
8231 (pcase--split-pred): Be more clever about ruling out overlap between
8232 a predicate and some constant pattern.
8233 (pcase--q1): Use `null' instead of (eq foo nil).
8234
f95e9344
SM
8235 * subr.el (setq-local, defvar-local): New macros.
8236 (kbd): Redefine as an alias.
8237 (with-selected-window): Leave unrelated frames alone.
8238 (set-temporary-overlay-map): New function.
8239
71873e2b
SM
82402012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8241
8242 * subr.el (user-error): New function.
8243 * window.el (switch-to-buffer):
8244 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8245 (smerge-match-conflict):
8246 * simple.el (previous-matching-history-element)
8247 (next-matching-history-element, goto-history-element, undo-more)
8248 (undo-start):
8249 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8250 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8251 (next-file, tags-loop-scan, list-tags, complete-tag):
8252 * progmodes/compile.el (compilation-loop):
8253 * mouse.el (mouse-minibuffer-check):
8254 * man.el (Man-bgproc-sentinel, Man-goto-page):
8255 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8256 (Info-history-forward, Info-follow-reference, Info-menu)
8257 (Info-extract-menu-item, Info-extract-menu-counting)
8258 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8259 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8260 (Info-next-reference, Info-prev-reference, Info-index)
8261 (Info-index-next, Info-follow-nearest-node)
8262 (Info-copy-current-node-name):
8263 * imenu.el (imenu--make-index-alist)
8264 (imenu-default-create-index-function, imenu-add-to-menubar):
8265 * files.el (basic-save-buffer, recover-file):
8266 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8267 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8268 (checkdoc-message-text, checkdoc-defun):
8269 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8270 * cus-edit.el (customize-changed-options, customize-rogue)
8271 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8272 (custom-variable-mark-to-reset-standard)
8273 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8274 (custom-file):
8275 * completion.el (check-completion-length):
8276 * comint.el (comint-search-arg)
8277 (comint-previous-matching-input-string-position)
8278 (comint-previous-matching-input)
8279 (comint-replace-by-expanded-history-before-point, comint-send-input)
8280 (comint-copy-old-input, comint-backward-matching-input)
8281 (comint-goto-process-mark, comint-set-process-mark):
8282 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8283 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8284
8a61ee22
SM
82852012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8286
66408d1e
SM
8287 * dabbrev.el (dabbrev--ignore-case-p): New function.
8288 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8289 Use it.
8290
8a61ee22
SM
8291 * files.el (automount-dir-prefix): Mark as obsolete.
8292
3c74813a
GM
82932012-05-04 Glenn Morris <rgm@gnu.org>
8294
8295 * patcomp.el, play/bruce.el: Move to obsolete/.
8296
0bfcf5c5
PE
82972012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8298
8299 Fix minor Y10k bugs.
8300 * arc-mode.el (archive-unixdate):
8301 * autoinsert.el (auto-insert-alist):
8302 * calc/calc-forms.el (math-this-year):
8303 * emacs-lisp/copyright.el (copyright-current-year)
8304 (copyright-update-year, copyright):
8305 * tar-mode.el (tar-clip-time-string):
8306 * time.el (display-time-update):
8307 Don't assume years have 4 digits.
8308
78f3273a
CY
83092012-05-04 Chong Yidong <cyd@gnu.org>
8310
8311 * dos-w32.el (file-name-buffer-file-type-alist)
8312 (direct-print-region-use-command-dot-com):
8313 * ffap.el (ffap-menu-regexp):
8314 * find-file.el (ff-special-constructs):
8315 * follow.el (follow-debug):
8316 * forms.el (forms--debug):
8317 * iswitchb.el (iswitchb-all-frames):
8318 * ido.el (ido-all-frames):
8319 * emacs-lisp/timer.el (timer-max-repeats):
8320 * mail/feedmail.el (feedmail-mail-send-hook)
8321 (feedmail-mail-send-hook-queued):
8322 * mail/footnote.el (footnote-signature-separator):
8323 * mail/mailabbrev.el (mail-alias-separator-string)
8324 (mail-abbrev-mode-regexp):
8325 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8326 * progmodes/idlwave.el (idlwave-libinfo-file)
8327 (idlwave-default-completion-case-is-down)
8328 (idlwave-library-routines): Convert defvars to defcustoms.
8329
8330 * mail/rmail.el (rmail-decode-mime-charset):
8331 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8332 (idlwave-shell-fix-inserted-breaks)
8333 (idlwave-shell-activate-alt-keybindings)
8334 (idlwave-shell-use-breakpoint-glyph):
8335 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8336
f7ae6719
SM
83372012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8338
8339 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8340
47086495
WS
83412012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8342
8343 * progmodes/verilog-mode.el (font-lock-keywords):
8344 Fix mis-highligting auto. Reported by Craig Barner.
8345 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8346 defines from global name space. Reported by Dan Dever.
47086495
WS
8347 (verilog-auto-reset, verilog-auto-reset-widths)
8348 (verilog-auto-tieoff): Support using unbased numbers for
8349 AUTORESET and AUTOTIEOFF.
8350 (verilog-submit-bug-report): Update variable list.
8351 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8352 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8353 (verilog-auto-template-lint): Fix hash error when linting modules
8354 with no used templates.
8355 (verilog-warn, verilog-warn-error)
8356 (verilog-warn-fatal): When non-interactive report multiple
8357 warnings before exiting. Suggested by Brad Dobbie.
8358 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8359 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8360 to report unused template errors. Reported by Brad Dobbie.
8361 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8362 nets, bug438. Reported by Vns Blore.
47086495
WS
8363 (verilog-auto-inout-module, verilog-auto-reg)
8364 (verilog-read-decls, verilog-read-sub-decls-sig)
8365 (verilog-signals-edit-wire-reg, verilog-signals-with):
8366 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8367 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8368 "reg" for backwards compatibility presuming Verilog 2001.
8369 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8370 (verilog-preprocess): Fix replication of preprocess output.
8371 Reported by Brad Dobbie.
8372 (verilog-auto-inst-interfaced-ports):
8373 Create verilog-auto-inst-interfaced-ports, bug429.
8374 Reported by Julian Gorfajn.
8375 (verilog-after-save-font-hook)
8376 (verilog-before-save-font-hook): New variable.
8377 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8378 (verilog-save-font-mods): Wrap disabling fontification, reported
8379 by David Rogoff.
8380 (verilog-do-indent, verilog-pretty-declarations-auto)
8381 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8382 Reported by Pierre-David Pfister.
8383 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8384 of class declarations, bug292. Reported by Kevin Heilman.
8385 (verilog-read-decls): Fix 'parameter type' not appearing in
8386 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8387 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8388 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8389 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8390 Reported by David Kravitz.
8391
83922012-05-03 Michael McNamara <mac@mail.brushroad.com>
8393
8394 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8395 assignment with tests in ifs and for loops.
8396 (verilog-extended-complete-re, verilog-complete-reg): Change so
8397 that DPI inport functions don't look like fuction declarations.
8398 (verilog-pretty-expr): Don't line up assignment
8399 operations to the test and increment in if and for loops
8400 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8401 that DPI inport functions don't look like fuction declarations.
47086495 8402
2e51d4b5
KH
84032012-05-03 Kenichi Handa <handa@m17n.org>
8404
8405 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8406 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8407 (Bug#11282).
8408
2bd785a2
SM
84092012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * emacs-lisp/bytecomp.el
8412 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8413 since cconv.el might have introduced :fun-body, internal-make-closure,
8414 and friends for bytecomp to handle (bug#11391).
8415 * custom.el (defcustom): Avoid ((λ ..) ..).
8416
99d27583
SM
84172012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8418
8419 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8420
55a71479
JB
84212012-05-02 Juanma Barranquero <lekktu@gmail.com>
8422
8423 * notifications.el (dbus-debug):
8424 * term/linux.el (gpm-mouse-enable):
8425 * term/screen.el (xterm-register-default-colors): Declare.
8426
7b97c764
CY
84272012-05-02 Chong Yidong <cyd@gnu.org>
8428
2bc356d7
CY
8429 * cus-start.el (gc-cons-percentage, exec-suffixes)
8430 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8431 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8432 (make-cursor-line-fully-visible, void-text-area-pointer)
8433 (font-list-limit): Add customization data.
8434
7b97c764
CY
8435 * allout.el (allout-exposure-change-functions)
8436 (allout-structure-added-functions)
8437 (allout-structure-deleted-functions)
8438 (allout-structure-shifted-functions): Rename abnormal hooks from
8439 *-hook, and convert to defcustoms.
5d3385a0
JB
8440 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8441 Convert to defcustoms.
7b97c764
CY
8442 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8443
8444 * allout-widgets.el: Hook callers changed.
8445
90207a15 84462012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8447
8448 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8449 the yanked message in preference to the default value of
8450 buffer-file-coding-system.
8451
90207a15 84522012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8453
5d3385a0
JB
8454 * window.el (display-buffer--action-function-custom-type):
8455 Fix entry.
d9558cad 8456
90207a15 84572012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8458
8459 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8460
d80ac57b
GM
84612012-05-01 Glenn Morris <rgm@gnu.org>
8462
976f7668
GM
8463 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8464
beb83b5a
GM
8465 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8466
d80ac57b
GM
8467 * cus-edit.el (custom-variable-documentation): Simplify with format.
8468
b593d6a9 84692012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8470 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8471
8472 * simple.el (suggest-key-bindings, execute-extended-command):
8473 Move from keyboard.c.
8474
782fbf2a
CY
84752012-05-01 Chong Yidong <cyd@gnu.org>
8476
8477 * follow.el: Eliminate advice.
8478 (set-process-filter, process-filter, sit-for): Advice deleted.
8479 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8480 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8481 Vars deleted.
782fbf2a
CY
8482 (follow-auto): Use a :set function.
8483 (follow-mode): Rewritten. Don't advise process filters.
8484 (follow-switch-to-current-buffer-all, follow-scroll-up)
8485 (follow-scroll-down): Assume follow-mode is bound.
8486 (follow-comint-scroll-to-bottom)
8487 (follow-align-compilation-windows): New functions.
8488 (follow--window-sorter): New function.
8489 (follow-all-followers): Use it to explicitly sort windows by their
8490 positions; don't make assumptions about next-window order.
8491 (follow-windows-start-end, follow-delete-other-windows-and-split)
8492 (follow-calc-win-start): Doc fix.
8493 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8494 vertical-motion unnecessarily.
8495 (follow-adjust-window): New function.
8496 (follow-post-command-hook): Use it.
8497 (follow-call-set-process-filter, follow-call-process-filter)
8498 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8499 (follow-stop-intercept-process-output, follow-generic-filter):
8500 Functions deleted.
8501 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8502 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8503 New functions, replacing advice on scroll-bar-* commands.
87233a14 8504 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8505
8506 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8507 (comint-postoutput-scroll-to-bottom): Use it.
8508 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8509
290af740
GM
85102012-05-01 Glenn Morris <rgm@gnu.org>
8511
8512 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8513 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8514 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8515 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8516 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8517 Remove no-byte-compile setting.
8518
6eac8dc9
SM
85192012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8521 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8522 all-completions code to not return a number in the last cdr.
8523
9cc7819c
LL
85242012-04-30 Leo Liu <sdl.web@gmail.com>
8525
8526 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8527 read-only error.
8528
c93b886f
CY
85292012-04-29 Chong Yidong <cyd@gnu.org>
8530
8531 * follow.el (follow-calc-win-end): Rewrite to handle partial
8532 screen lines correctly (Bug#8390).
8533 (follow-avoid-tail-recenter): Minor cleanup.
8534
8b6c19f4
SM
85352012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8536
8537 Avoid the obsolete `assoc' package.
8538 * speedbar.el (speedbar-refresh): Avoid adelete.
8539 (speedbar-file-lists): Simplify and avoid aput.
8540 * man.el (Man--sections, Man--refpages): New vars, replacing
8541 Man-sections-alist and Man-refpages-alist.
8542 (Man-build-section-alist, Man-build-references-alist):
8543 Use them; avoid aput.
8544 (Man--last-section, Man--last-refpage): New vars.
8545 (Man-follow-manual-reference): Use them.
8546 Use the `default' arg of completing-read.
8547 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8548
c5bb7569
CY
85492012-04-27 Chong Yidong <cyd@gnu.org>
8550
d1d2e2e8
CY
8551 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8552
15cd8efd
CY
8553 * startup.el (x-apply-session-resources): New function.
8554
8555 * term/ns-win.el (ns-initialize-window-system):
8556 * term/w32-win.el (w32-initialize-window-system):
8557 * term/x-win.el (x-initialize-window-system): Use it to properly
8558 set menu-bar-mode and other vars from X resources, even if the
8559 initial frame is not a window-system frame (Bug#2299).
8560
c5bb7569
CY
8561 * subr.el (read-key): Avoid running filter function when setting
8562 up temporary tool bar entries (Bug#9922).
8563
a8e7d6d7 85642012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8565
8566 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8567 (Bug#11344)
8568
a8e7d6d7 85692012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8570
8571 * select.el (xselect--encode-string): New function, split from
8572 xselect-convert-to-string.
8573 (xselect-convert-to-string): Use it.
8574 (xselect-convert-to-filename, xselect-convert-to-os)
8575 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8576 returned strings are properly encoded (Bug#11315).
8577
a8e7d6d7 85782012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8579
8580 * simple.el (delete-active-region): Move to killing custom group.
8581
a8e7d6d7 85822012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8583
8584 * progmodes/which-func.el (which-func-current): Quote %
8585 characters for mode-line processing.
8586
578c1d4b 85872012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8588
8589 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8590 reaching eob (Bug#11286).
8591
a8e7d6d7 85922012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8593
8594 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8595 (gdb): Make it buffer-local and init to zero.
8596 (gdb-control-commands-regexp): New variable.
8597 (gdb-send): Don't wrap in "-interpreter-exec console" if
8598 gdb-control-level is positive. Increment gdb-control-level
8599 whenever the command matches gdb-control-commands-regexp, and
8600 decrement it each time the command is "end". (Bug#11279)
8601
a8e7d6d7 86022012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8603
8604 * window.el (adjust-window-trailing-edge, enlarge-window)
8605 (shrink-window, window-resize):
8606 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8607 windows (Bug#11276).
8608
b3608390
CY
86092012-04-27 Chong Yidong <cyd@gnu.org>
8610
8611 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8612 fix "missing prefix" warning. All callers changed.
b3608390 8613
797e6e88
SM
86142012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8615
8616 * emacs-lisp/assoc.el: Move to obsolete/.
8617
e95a67dc
SM
86182012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8619
657c21e4 8620 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8621
8622 * term/ns-win.el (ns-define-service):
8623 * progmodes/pascal.el (pascal-goto-defun):
8624 * progmodes/js.el (js--read-tab):
8625 * progmodes/etags.el (tags-lazy-completion-table):
8626 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8627 * emacs-lisp/ewoc.el (ewoc--wrap):
8628 * emacs-lisp/assoc.el (aput, adelete, amake):
8629 * doc-view.el (doc-view-convert-current-doc):
8630 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8631
cb3e7ae0
CY
86322012-04-26 Chong Yidong <cyd@gnu.org>
8633
dce04f7f
CY
8634 * image.el (image-type-from-buffer): Only return supported image
8635 type (Bug#9045).
8636
cb3e7ae0
CY
8637 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8638 value, for symmetry with diff-end-of-hunk.
8639 (diff-split-hunk, diff-find-source-location)
8640 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8641 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8642 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8643 compute the relevant hunk or file properly (Bug#6005).
8644 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8645
0d42eb3e
SM
86462012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * vc/vc-mtn.el:
8649 * vc/vc-hg.el:
8650 * vc/vc-git.el:
8651 * vc/vc-dir.el:
8652 * vc/vc-cvs.el:
8653 * vc/vc-bzr.el:
8654 * vc/vc-arch.el:
8655 * vc/vc.el: Replace lexical-let by lexical-binding.
8656 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8657 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8658 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8659
f08ae1c9
CY
86602012-04-26 Chong Yidong <cyd@gnu.org>
8661
8b71081d
CY
8662 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8663 (diff-mode-shared-map): Bind it to / and [remap undo].
8664
f08ae1c9
CY
8665 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8666 (ediff-window-setup-function): Use it as the default, to set up
8667 windows based on whether the current frame is graphical (Bug#2138).
8668 (ediff-choose-window-setup-function-automatically): Make obsolete.
8669
8670 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8671
ef24141c
SM
86722012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8673
cc356a5d
SM
8674 * ffap.el: Remove old code for obsolete package.
8675 (ffap-complete-as-file-p): Remove.
8676
b4ff4f1f
SM
8677 Use completion-table-with-quoting for comint and pcomplete.
8678 * comint.el (comint--unquote&requote-argument)
8679 (comint--unquote-argument, comint--requote-argument): New functions.
8680 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8681 (comint-quote-filename): Use regexp-opt-charset.
8682 (comint--common-suffix, comint--common-quoted-suffix)
8683 (comint--table-subvert): Remove.
8684 (comint-unquote-function, comint-requote-function): New vars.
8685 (comint--complete-file-name-data): Use them with
8686 completion-table-with-quoting.
8687 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8688 * pcomplete.el (pcomplete-arg-quote-list)
8689 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8690 (pcomplete-unquote-argument-function): Default to non-nil.
8691 (pcomplete-unquote-argument): Simplify.
8692 (pcomplete--common-quoted-suffix): Remove.
8693 (pcomplete-requote-argument-function): New var.
8694 (pcomplete--common-suffix): New function.
8695 (pcomplete-completions-at-point): Use completion-table-with-quoting
8696 and completion-table-subvert.
8697
79c4eeb4
SM
8698 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8699 (minibuffer--double-dollars): Preserve properties.
8700 (completion--sifn-requote): New function.
8701 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8702
ef24141c
SM
8703 * minibuffer.el: Add support for completion of quoted/escaped data.
8704 (completion-table-with-quoting, completion-table-subvert): New funs.
8705 (completion--twq-try, completion--twq-all): New functions.
8706 (completion--nth-completion): New function.
8707 (completion-try-completion, completion-all-completions): Use it.
8708
784e7d6e
LL
87092012-04-25 Leo Liu <sdl.web@gmail.com>
8710
dd2ac746
SM
8711 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8712 Use compilation-message if available to find real filename.
784e7d6e 8713
07875ee7
CY
87142012-04-25 Chong Yidong <cyd@gnu.org>
8715
8716 * vc/diff-mode.el (diff-setup-whitespace): New function.
8717 (diff-mode): Use it.
8718
8719 * vc/diff.el (diff-sentinel):
8720 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8721 Whitespace mode variables based on diff style (Bug#8612).
8722
5055880d
LL
87232012-04-25 Leo Liu <sdl.web@gmail.com>
8724
daf75653
LL
8725 * progmodes/python.el (python-send-region): Add suffix .py to the
8726 temp file.
8727
5055880d
LL
8728 * files.el (auto-mode-alist): Use javascript-mode instead.
8729
db9b177b
AH
87302012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8731
ef24141c 8732 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8733
090bd7cb 8734 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8735 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8736 references, see Bug#9.
ef24141c 8737 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8738 when receiving a fault reply.
ef24141c 8739 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8740
090bd7cb 8741 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8742 (soap-inspect-simple-type): New function.
db9b177b 8743
090bd7cb 8744 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8745 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8746 (soap-decode-basic-type, soap-encode-basic-type):
8747 support unsignedInt and double basic types.
db9b177b 8748 (soap-resolve-references-for-simple-type)
ef24141c
SM
8749 (soap-parse-simple-type, soap-encode-simple-type): New function.
8750 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8751
090bd7cb 8752 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8753 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8754 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8755 the local name of "soapenc:Array".
8756 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8757 decoding integer, byte and anyURI xsd types.
8758
1fc6097b
CY
87592012-04-25 Chong Yidong <cyd@gnu.org>
8760
8761 * cus-edit.el (custom-buffer-create-internal): Update header text.
8762
afc6df87
EZ
87632012-04-25 Eli Zaretskii <eliz@gnu.org>
8764
8765 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8766 settings on 'system-type', not on 'window-system'. On MS-Windows,
8767 set interactive-mode on in GDB.
8768
dfbd787f
SM
87692012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8770
8771 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8772 (ruby-syntax-propertize-regexp): Remove.
8773 (ruby-syntax-propertize-function): Split regexp into chunks.
8774 Match following code directly.
8775
85222d44
DG
87762012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8777
51a8ea2a
DG
8778 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8779 (ruby-syntax-propertize-regexp): New function.
8780 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8781 by a special keyword.
8782
85222d44
DG
8783 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8784 (ruby-syntax-general-delimiters-goto-beg)
8785 (ruby-syntax-propertize-general-delimiters): New functions.
8786 (ruby-syntax-propertize-function): Use them to handle GDL.
8787 (ruby-font-lock-keywords): Move old handling of GDL...
8788 (ruby-font-lock-syntactic-keywords): .. to here.
8789 (ruby-calculate-indent): Adjust indentation for GDL.
8790
b613912b
MA
87912012-04-24 Michael Albinus <michael.albinus@gmx.de>
8792
b5380639
MA
8793 * notifications.el (top): Remove unneeded declarations.
8794 (notifications-specification-version): Change to "1.2".
e43042fe 8795 (notifications-interface, notifications-notify-method)
b613912b
MA
8796 (notifications-close-notification-method): Fix docstring.
8797 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8798 (notifications-notify): Add :action-items, :resident and
8799 :transient hints. Change "image_data" to "image-data" and
8800 "image_path" to "image-path".
b613912b
MA
8801 (notifications-get-capabilities): New defun.
8802
257440aa
LL
88032012-04-24 Leo Liu <sdl.web@gmail.com>
8804
8805 * progmodes/python.el: Move hideshow setup to the end.
8806
b1bac16e
MR
88072012-04-24 Martin Rudalics <rudalics@gmx.at>
8808
8809 * window.el (handle-select-window): Clear echo area since this is
8810 no more done by read_char (Bug#11304).
8811
d81bd059
SM
88122012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8813
8814 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8815 and `/ M' to filter-derived-mode.
8816 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8817 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8818 (ibuffer-mark-by-mode): Use default rather than initial-input.
8819 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8820
c4cf6d91
IA
88212012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8822
8823 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8824 (ibuffer-filter-by-derived-mode): New filter.
8825 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8826
7511ded8
CY
88272012-04-23 Andreas Politz <politza@fh-trier.de>
8828
8829 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8830
775c916b
CY
88312012-04-23 Chong Yidong <cyd@gnu.org>
8832
8833 * cus-edit.el (customize-apropos, customize-apropos-options):
8834 Disable matching of non-option variables (Bug#11176).
8835 (customize-option, customize-option-other-window)
8836 (customize-changed-options): Doc fix.
8837 (customize-apropos-options, customize-apropos-faces)
8838 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8839
8840 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8841 Fix word list splitting (Bug#11132).
46c71e23
CY
8842 (apropos-symbol, apropos-keybinding, apropos-label)
8843 (apropos-property, apropos-function-button)
8844 (apropos-variable-button, apropos-misc-button): New faces.
8845 (apropos-symbol-face, apropos-keybinding-face)
8846 (apropos-label-face, apropos-property-face, apropos-match-face):
8847 Variables removed (Bug#8396).
8848 (apropos-library-button, apropos-format-plist, apropos-print)
8849 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8850
2df41f9c
MA
88512012-04-23 Michael Albinus <michael.albinus@gmx.de>
8852
8853 * net/xesam.el (xesam-mode-map): Use let-bound map in
8854 initialization. (Bug#11292)
8855
da00640a
AM
88562012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8857
8858 Preserve ispell session localwords when switching back to
8859 original buffer.
8860
090bd7cb
JB
8861 * textmodes/ispell.el (ispell-buffer-session-localwords):
8862 New buffer-local variable to hold buffer session localwords.
ed9265fc 8863 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8864 localwords.
8865 (ispell-command-loop, ispell-change-dictionary)
8866 (ispell-buffer-local-words): Preserve session localwords when
8867 needed.
8868
090bd7cb
JB
8869 * textmodes/flyspell.el (flyspell-process-localwords)
8870 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8871
f621ccf5
AM
88722012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8873
090bd7cb
JB
8874 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8875 using obsolete `translation-table-for-input'.
ef24141c
SM
8876 (ispell-word, ispell-process-line, ispell-complete-word):
8877 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8878
c2d1019e
CY
88792012-04-22 Chong Yidong <cyd@gnu.org>
8880
8881 * cus-edit.el (custom-variable-menu)
8882 (custom-variable-reset-saved, custom-face-menu)
8883 (custom-face-reset-saved): If there is no saved value, make the
8884 "reset-saved" operation bring back the default (Bug#9509).
8885 (custom-face-state): Properly detect themed faces.
8886
eeddc531
CY
8887 * faces.el (face-spec-set): Stop supporting deprecated form of
8888 third arg.
8889
dcbf5805
MA
88902012-04-22 Michael Albinus <michael.albinus@gmx.de>
8891
8892 Move functions from C to Lisp. Make non-blocking method calls
8893 the default. Implement further D-Bus standard interfaces.
8894
ef24141c
SM
8895 * net/dbus.el (dbus-message-internal): Declare function.
8896 Remove unneeded function declarations.
dcbf5805
MA
8897 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8898 (dbus-message-type-method-return, dbus-message-type-error)
8899 (dbus-message-type-signal): Declare variables. Remove local
8900 definitions.
8901 (dbus-interface-dbus, dbus-interface-peer)
8902 (dbus-interface-introspectable, dbus-interface-properties)
8903 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8904 Adapt docstring.
8905 (dbus-interface-objectmanager): New defconst.
8906 (dbus-call-method, dbus-call-method-asynchronously)
8907 (dbus-send-signal, dbus-method-return-internal)
8908 (dbus-method-error-internal, dbus-register-service)
8909 (dbus-register-signal, dbus-register-method): New defuns, moved
8910 from dbusbind.c
8911 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8912 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8913 New defuns.
dcbf5805
MA
8914 (dbus-call-method-non-blocking): Make it an obsolete function.
8915 (dbus-unregister-object, dbus-unregister-service)
8916 (dbus-handle-event, dbus-register-property)
8917 (dbus-property-handler): Obey the new structure of
8918 `bus-registered-objects'.
8919 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8920 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8921 Use `dbus-call-method'.
8922
cf20dee0
CY
89232012-04-22 Chong Yidong <cyd@gnu.org>
8924
8925 * cus-edit.el (custom-commands, custom-reset-menu)
8926 (Custom-reset-standard): Tweak labels.
8927 (custom-reset-button-menu): Change default to t.
8928 (custom-buffer-create-internal): For the custom-reset-button-menu
8929 case, put the revert button first.
8930 (custom-group-subtitle): New face.
8931 (custom-group-value-create): Align docstring to a specific column.
8932
8933 * wid-edit.el (widget-documentation-link-add): Don't handle
8934 indentation in this function.
8935 (widget-documentation-string-indent-to): New function.
8936 (widget-documentation-string-value-create): Use it.
8937
8938 * autorevert.el (auto-revert):
8939 * epg-config.el (epg):
8940 * ibuffer.el (ibuffer):
8941 * mpc.el (mpc):
8942 * ses.el (ses):
8943 * eshell/eshell.el (eshell):
8944 * net/ange-ftp.el (ange-ftp):
8945 * progmodes/ebnf2ps.el (postscript):
8946 * progmodes/flymake.el (flymake):
8947 * progmodes/prolog.el (prolog):
8948 * progmodes/verilog-mode.el (verilog-mode):
8949 * progmodes/which-func.el (which-func):
8950 * term/xterm.el (xterm):
8951 * textmodes/picture.el (picture):
8952 * textmodes/tildify.el (tildify):
8953 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8954 customization buffers.
8955
583e23bd
AM
89562012-04-22 Alan Mackenzie <acm@muc.de>
8957
8958 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8959 Adding a ) can hide the resulting (..) from searches. Fix it.
8960 Bound the backward search to the position of the existing (.
8961
7dd51bf1
JB
89622012-04-21 Juanma Barranquero <lekktu@gmail.com>
8963
8964 * progmodes/verilog-mode.el (verilog-mode): Check whether
8965 which-func-modes is t before adding verilog-mode.
8966 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8967
d64a438f
LL
89682012-04-21 Leo Liu <sdl.web@gmail.com>
8969
7dd51bf1 8970 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8971
081e8d65
MV
89722012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8973
8974 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8975 filling of the last column of a table (Bug#5635).
8976 (woman-find-next-control-line): New arg, specifying an additional
8977 regexp component for the control line.
8978 (woman2-roff-buffer): Use it.
8979 (woman-break-table): New function.
8980 (woman2-TS): Use it.
8981
89822012-04-21 Chong Yidong <cyd@gnu.org>
8983
8984 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8985 (woman-horizontal-escapes, woman-negative-vertical-space)
8986 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8987 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8988
ed571ccb
SM
89892012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8990
8991 * minibuffer.el (completion-file-name-table): Complete user names.
8992
39773899
LL
89932012-04-20 Leo Liu <sdl.web@gmail.com>
8994
8995 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8996 and pcase-let*.
8997
de6ff46d
CY
89982012-04-20 Chong Yidong <cyd@gnu.org>
8999
9000 * server.el (server-execute): Respect initial-buffer-choice if it
9001 is a string and there are no files to open (Bug#2825).
9002 (server-create-window-system-frame, server-create-tty-frame):
9003 Don't switch buffers here.
2d0e8e61
CY
9004 (server-process-filter): Only try to open a window system frame if
9005 compiled with graphical support (Bug#8314).
de6ff46d 9006
54071013
DN
90072012-04-20 Dan Nicolaescu <dann@gnu.org>
9008
9009 * battery.el (battery-echo-area-format): Display remaining time
9010 for sysfs backend too (Bug#11269).
9011 (battery-linux-sysfs): Fix conditional for the charge.
9012
f30d612a
CY
90132012-04-20 Chong Yidong <cyd@gnu.org>
9014
c07a4c0b 9015 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9016 (gdb-inferior-io--init-proc): New function.
9017 (gdb-init-1): Use it.
9018 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9019 responsible for allocating a new pty and hooking it to gdb when
9020 the old pty gets an EIO due to process exit.
9021 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9022 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9023 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9024
2116e93c
EZ
90252012-04-20 Eli Zaretskii <eliz@gnu.org>
9026
9027 * window.el (window-min-size, window-sizable, window-min-delta)
9028 (window-max-delta, window--resizable, window-resizable)
9029 (window-total-size, window-full-height-p, window-full-width-p)
9030 (window-in-direction, window--resize-mini-window, window-resize)
9031 (window--resize-child-windows-normal)
9032 (window--resize-child-windows, window--resize-siblings)
9033 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9034 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9035
c07a4c0b 90362012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9037
ef24141c
SM
9038 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9039 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9040 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9041 pty process (Bug#11273).
9042 (gdb-update): New arg to suppress talking to the gdb process.
9043 (gdb-done-or-error): Use it.
9044 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9045 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9046 sentinel not being called.
9047
9048 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9049
d02766ab
CY
9050 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9051
c07a4c0b 90522012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
9053
9054 * net/network-stream.el (open-network-stream): Doc fix.
9055
c07a4c0b 90562012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
9057
9058 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9059
c07a4c0b 90602012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
9061
9062 Ensure searching for keywords is case sensitive.
9063
9064 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9065 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9066 (c-defun-name, c-mark-function, c-cpp-define-name)
9067 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 9068 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 9069
ef24141c
SM
9070 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9071 Bind case-fold-search to nil.
f0f6bc35 9072
c07a4c0b 90732012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
9074
9075 * mail/sendmail.el (mail-bury): Call return action with the right
9076 Rmail buffer (Bug#11242).
9077
9a864fa2
CY
9078 * server.el (server-process-filter): Handle corner case where both
9079 tty and nowait options are present (Bug#11102).
9080
539aa513
EZ
90812012-04-20 Eli Zaretskii <eliz@gnu.org>
9082
9083 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
9084 (top level): Put into the executable the ident-style '$Id:' tag on
9085 windows-nt as well.
539aa513 9086
cfc7d5da
SM
90872012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * electric.el (electric-indent-post-self-insert-function): Check that
9090 electric-indent-mode is enabled in current buffer.
9091
5b01685c
JB
90922012-04-19 Juanma Barranquero <lekktu@gmail.com>
9093
9094 * imenu.el (imenu-progress-message): Restore; it is "used" in
9095 erc/erc-imenu.el and net/snmp-mode.el.
9096
4d6769e1
JB
90972012-04-19 Juanma Barranquero <lekktu@gmail.com>
9098
9099 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9100 (mouse-avoidance-nudge-mouse): Remove unused binding.
9101
9102 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9103
9104 * descr-text.el (describe-char):
9105 * progmodes/python.el (python-describe-symbol):
9106 Don't call `toggle-read-only', set `buffer-read-only'.
9107
9108 * imenu.el (imenu-default-goto-function): Mark unused args.
9109 (imenu-progress-message): Remove obsolete macro; all callers changed.
9110
9111 * subr.el (keymap-canonicalize): Remove unused binding.
9112 (read-passwd): Mark unused arg.
9113
9114 * tutorial.el (tutorial--display-changes): Remove unused binding.
9115 (tutorial--save-tutorial-to): Remove unused variable.
9116
9117 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9118 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9119 (package-generate-autoloads, package-menu--generate)
9120 (package-menu--find-upgrades): Remove unused bindings.
9121
9122 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9123 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9124 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9125 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9126 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9127 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9128 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9129 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9130 (cua-delete-char-rectangle): Mark unused args.
9131 (cua-align-rectangle): Remove unused binding.
9132
9133 * mail/rmail.el (compilation--message->loc)
9134 (epa--find-coding-system-for-mime-charset): Declare.
9135
9136 * net/dbus.el (dbus-register-service): Declare.
9137 (dbus-name-owner-changed-handler): Remove unused binding.
9138
9139 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9140 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9141 (nxml-scan-backward-within): Mark unused arg.
9142 (nxml-dynamic-markup-word): Remove unused binding.
9143
9144 * mouse.el (mouse-menu-major-mode-map):
9145 * emacs-lisp/authors.el (authors-scan-change-log)
9146 (authors-add-to-author-list):
9147 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9148 * emacs-lisp/smie.el (smie-auto-fill):
9149 * mail/sendmail.el (mail-bury):
9150 * mail/unrmail.el (unrmail):
9151 * net/tls.el (open-tls-stream):
9152 * textmodes/picture.el (picture-mouse-set-point):
9153 Remove unused bindings.
9154
8c8fc5df
MA
91552012-04-19 Michael Albinus <michael.albinus@gmx.de>
9156
9157 * net/tramp.el (tramp-action-password): Let-bind
9158 `enable-recursive-minibuffers' to t.
9159
a77b0ac9
SS
91602012-04-18 Sam Steingold <sds@gnu.org>
9161
9162 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9163 instead of 'string to accommodate values like [f11].
9164 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9165 * progmodes/gdb-mi.el: Likewise.
9166
12a106a9
LL
91672012-04-18 Leo Liu <sdl.web@gmail.com>
9168
9169 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9170 current buffer.
9171 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9172 LOCAL is nil.
9173
bc6494ef
CY
91742012-04-18 Chong Yidong <cyd@gnu.org>
9175
9176 * simple.el (line-move): Use forward-line if in batch mode
9177 (Bug#11053).
9178
c09c46b2
CS
91792012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9180
9181 * files.el (after-find-file): Do not try to add a final newline if
9182 the buffer is read-only (Bug#11156).
9183
5f6530ea
RS
91842012-04-17 Richard Stallman <rms@gnu.org>
9185
9186 * mail/rmail.el (rmail-start-mail):
9187 Pass (rmail-mail-return...) for the return-action.
9188 Pass (rmail-yank-current-message...) for the yank-action.
9189 (rmail-yank-current-message): New function.
9190 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9191 (rmail-reply): Likewise.
9192 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9193
9194 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9195 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9196 buffer, not newbuf.
9197
197b6f3c
JB
91982012-04-17 Juanma Barranquero <lekktu@gmail.com>
9199
9200 * server.el (server-ensure-safe-dir): Simplify.
9201
2311d8e5 92022012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9203
2311d8e5
GM
9204 * emacs-lisp/smie.el: Provide smarter auto-filling.
9205 (smie-auto-fill): New function.
9206 (smie-setup): Use it.
98fb480e 9207
2311d8e5
GM
9208 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9209
92102012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9211
9212 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9213 (comment-indent): Use it.
9214
2311d8e5 92152012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9216
9217 * ses.el: The overall change is to add cell renaming, that is
9218 setting fancy names for cell symbols other than name matching
9219 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9220 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9221 (ses-create-cell-variable): New defun.
2311d8e5 9222 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9223 (ses-relocate-formula): Relocate formulas only for cells the
9224 symbols of which are not renamed, i.e. symbols whose names do not
9225 match regexp "\\`[A-Z]+[0-9]+\\'".
9226 (ses-relocate-all): Relocate values only for cells the symbols of
9227 which are not renamed.
9228 (ses-load): Create cells variables as the (ses-cell ...) are read,
9229 in order to check row col consistency with cell symbol name only
9230 for cells that are not renamed.
9231 (ses-replace-name-in-formula): New defun.
9232 (ses-rename-cell): New defun.
4bdf2ad2 9233
fc72b15c
PO
92342012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9235
9236 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9237 New option (bug#11118).
9238 (perl-calculate-indent): Respect it.
9239
12e10e61
GM
92402012-04-17 Glenn Morris <rgm@gnu.org>
9241
9242 * dired-aux.el (dired-mark-read-string): Doc fix.
9243
30009afd
DA
92442012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9245
9246 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9247 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9248
41f03f4d
GM
92492012-04-17 Glenn Morris <rgm@gnu.org>
9250
9251 * mouse.el (mouse-drag-track):
9252 * speedbar.el (speedbar-frame-mode):
9253 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9254
f45f90f3
LL
92552012-04-16 Leo Liu <sdl.web@gmail.com>
9256
9257 * progmodes/python.el: Trivial cleanup.
9258
94ee8db5
GM
92592012-04-16 Glenn Morris <rgm@gnu.org>
9260
121b8917
GM
9261 * vc/vc.el (vc-string-prefix-p):
9262 * vc/pcvs-util.el (cvs-string-prefix-p):
9263 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9264 * mpc.el (mpc-string-prefix-p):
9265 Make all of these into obsolete aliases for string-prefix-p.
9266 Update callers.
9267 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9268
1197ecfa
GM
9269 * textmodes/two-column.el: Move custom options to the start.
9270 (frame-width): Remove compat definition.
9271 (2C-associate-buffer, 2C-dissociate):
9272 Use with-current-buffer rather than save-excursion.
9273 (2C-dissociate): Force a mode-line update.
9274 (2C-autoscroll): Use ignore-errors.
9275
099e7202
GM
9276 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9277 Autoload trivia.
9278
bf350d6a
GM
9279 * emacs-lisp/cl-extra.el (*random-state*):
9280 Remove unnecessary declaration.
9281
0e829eab
GM
9282 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9283
e3ad7552
GM
9284 * play/cookie1.el (cookie-snarf):
9285 Give an explicit error if input file cannot be read.
9286
68892d27
GM
9287 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9288
20f0c46d
GM
9289 * progmodes/perl-mode.el (c-macro-expand):
9290 Remove unnecessary autoload (it is in loaddefs.el).
9291
5a0978ce
GM
9292 * textmodes/picture.el (picture-desired-column)
9293 (picture-update-desired-column): Convert comments to doc-strings.
9294 (picture-substitute): Remove function.
9295 (picture-mode-map): Initialize in the defvar.
9296
6b955486
GM
9297 * woman.el: Remove eval-after-load for tar-mode.
9298 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9299 (woman-tar-extract-file): Autoload it.
9300
94ee8db5
GM
9301 * frame.el (automatic-hscrolling): Make this alias obsolete.
9302
177eca34
AM
93032012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9304
090bd7cb 9305 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9306 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9307 (ispell-dictionary-base-alist): Revert to original XEmacs
9308 friendly version for default. [:alpha:] will be added in
090bd7cb 9309 `ispell-set-spellchecker-params' if needed.
177eca34 9310
c505aaeb
CY
93112012-04-16 Chong Yidong <cyd@gnu.org>
9312
b19dd9d1 9313 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9314 (imagemagick-register-types): Use it.
9315 (imagemagick-types-inhibit): Add :set function. Allow new value
9316 of t to inhibit all types.
9317
9318 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9319 so we can preload it.
9320
9321 * loadup.el (fboundp): Preload regexp-opt, needed by
9322 imagemagick-register-types.
9323
60efac0f
CY
93242012-04-15 Chong Yidong <cyd@gnu.org>
9325
9326 * frame.el (scrolling): Remove nearly unused customization group.
9327
9328 * scroll-all.el (scroll-all-mode): Move to windows group.
9329
5dd1713e
CY
93302012-04-15 Chong Yidong <cyd@gnu.org>
9331
9332 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9333
e6fd457e
CY
93342012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9335
9336 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9337 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9338
e153c136
GM
93392012-04-15 Glenn Morris <rgm@gnu.org>
9340
9341 * simple.el (process-file-side-effects): Doc fix.
9342
e6fd457e 93432012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9344
9345 * international/mule-cmds.el (set-language-environment): Doc fix.
9346
3603c3b1
JB
93472012-04-14 Juanma Barranquero <lekktu@gmail.com>
9348
9349 * server.el (server-auth-key, server-generate-key): Doc fixes.
9350 (server-get-auth-key): Doc fix. Use `string-match-p'.
9351 (server-start): Reflow docstring.
9352
e6de100c
LI
93532012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9354
9355 * server.el (server-generate-key): `called-interactively-p'
9356 requires a parameter.
9357
29734c21
MN
93582012-04-14 Michal Nazarewicz <mina86@mina86.com>
9359
9360 * server.el (server-auth-key): New variable.
75f1671a 9361 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9362 (server-start): Use the new variable and functions to allow
9363 setting a permanent server key (bug#9423).
9364
d65c9521
LL
93652012-04-14 Leo Liu <sdl.web@gmail.com>
9366
9367 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9368
5ae255c7
PE
93692012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9370
9371 Spelling fixes.
9372 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9373 Emacs uses American spelling.
9374
d5e6342e
JB
93752012-04-14 Juanma Barranquero <lekktu@gmail.com>
9376
9377 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9378 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9379 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9380 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9381
ab036cd7
SM
93822012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9383
9384 * progmodes/which-func.el (which-func-modes): Change default.
9385
35dc09a1 93862012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9387
9388 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9389 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9390
35dc09a1 93912012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9392
9393 * custom.el (custom-theme-set-variables): Doc fix.
9394
35dc09a1 93952012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9396
9397 * international/mule.el (set-auto-coding-for-load): Doc fix.
9398
35dc09a1 93992012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9400
35dc09a1
GM
9401 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9402 imenu work again for Objective C Mode. Correct the *-index values,
9403 these having been disturbed by a previous change in 2011-08.
57f845ee 9404
0de3da9f
AM
9405 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9406 Correct two search limits.
9407
35dc09a1 94082012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9409
9410 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9411
35dc09a1 94122012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9413
9414 * international/characters.el: Fix sorting.
9415
35dc09a1 94162012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9417
9418 * international/characters.el: Add more missing Latin case pairs.
9419
35dc09a1 94202012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9421
9422 * files.el (dir-locals-set-class-variables): Doc fix.
9423
35dc09a1 94242012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9425
3f1b5bf8
EZ
9426 * international/characters.el: Add set-case-syntax-pair call for
9427 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9428 counterpart. (Bug#11209)
9429
9f847f41
EZ
9430 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9431
35dc09a1 94322012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9433
9434 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9435
35dc09a1 94362012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9437
35dc09a1
GM
9438 * textmodes/ispell.el (ispell-dictionary-base-alist):
9439 Add data for Hebrew.
e2627d21 9440
35dc09a1 94412012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9442
35dc09a1
GM
9443 * net/rcirc.el (rcirc-cmd-quit):
9444 Revert 2012-03-18 change (Bug#11192).
5c14e333 9445
35dc09a1 94462012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9447
9448 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9449
35dc09a1 94502012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9451
4517fe3a
SM
9452 * minibuffer.el (completion-in-region-mode-map):
9453 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9454
b472a594
VD
94552012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9456
9457 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9458
09b95ce3
MY
94592012-04-13 Masatake YAMATO <yamato@redhat.com>
9460
9461 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9462 to allow `C-M-f' and `C-M-b' to move to the nearest path
9463 separator (bug#9511).
9464
4b63a9ca
LI
94652012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9466
9467 * avoid.el: Require cl when compiling. And also move the
9468 `provide' to the end.
9469
7b55b8bf
TV
94702012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9471
9472 * avoid.el (mouse-avoidance-banish-position): New variable.
9473 (mouse-avoidance-banish-destination): Use it (bug#10165).
9474
adedaa1f
LL
94752012-04-13 Leo Liu <sdl.web@gmail.com>
9476
9477 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9478
70e74021
KB
94792012-04-13 Ken Brown <kbrown@cornell.edu>
9480
9481 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9482 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9483 (browse-url-filename-alist): For the same reason, don't modify
9484 file:// URLs on Cygwin.
9485
e75e89ba
SM
94862012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9489 the region on shift if the binding is already shifted (bug#11221).
9490
82f289a4
GM
94912012-04-12 Glenn Morris <rgm@gnu.org>
9492
9493 * mail/mailpost.el: Move to obsolete/.
9494
d333dc4c
DA
94952012-04-12 Drew Adams <drew.adams@oracle.com>
9496
9497 * imenu.el (imenu--generic-function): Ignore invisible definitions
9498 (bug#10123).
9499
0d15b5ba
VD
95002012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9501
9502 * hexl.el (hexl-bits): New variable.
9503 (hexl-options): Mention the variable in the doc string.
75f1671a 9504 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9505 (hexl-mode): Mention the new variable.
75f1671a
JB
9506 (hexl-mode, hexl-current-address, hexl-current-address):
9507 Use the displen.
0d15b5ba
VD
9508 (hexl-ascii-start-column): New function.
9509 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9510 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9511
64a440db
AM
95122012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9513
9514 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9515 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9516 the encoding, as expected by hunspell.
9517
6decb6c2
SM
95182012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9519
9520 * battery.el (battery--linux-sysfs-regexp): New const.
9521 (battery-status-function): Use it. Remove yeeloong special case.
9522 (battery-yeeloong-sysfs): Remove.
9523 (battery-echo-area-format): Remove yeeloong special case.
9524
088be6fb
SM
95252012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9526
6622e416
SM
9527 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9528 Reported by Noah Friedman.
9529
088be6fb
SM
9530 * subr.el (read-passwd): Use read-string.
9531
b49f886e
LMI
95322012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9533
9534 * vcursor.el (vcursor-move): Increase the priority of the overlay
9535 (bug#9663).
9536
a63067fc
DD
95372012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9538
9539 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9540 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9541
ac3cf14a
WS
95422012-04-11 William Stevenson <yhvh2000@gmail.com>
9543
9544 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9545 define-minor-mode (bug#10760).
9546
c4fc691b 95472012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9548
4d6769e1 9549 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9550 that directories matching `grep-find-ignored-files' won't be
9551 pruned (bug#10351).
9552
af23e2e5
CY
95532012-04-11 Chong Yidong <cyd@gnu.org>
9554
9555 * startup.el (command-line): Remove support for long-obsolete
9556 variable font-lock-face-attributes.
9557
ab7ce8c1
GM
95582012-04-11 Glenn Morris <rgm@gnu.org>
9559
9560 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9561
de8c03dc
SM
95622012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 * window.el (window--state-get-1): Obey window-point-insertion-type.
9565
050cc68b
LB
95662012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9567
9568 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9569 to previous function when point is on the first character of a
75f1671a 9570 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9571
a38c310c
GM
95722012-04-11 Glenn Morris <rgm@gnu.org>
9573
effed0c2
GM
9574 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9575 not just file-errors.
9576
a38c310c
GM
9577 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9578 (vc-bzr-sha1): Use internal sha1.
9579
0221e323
SM
95802012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9581
9582 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9583
43956923
SG
95842012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9585
9586 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9587 that start in the middle of the line (bug#10496).
9588
6a8c9eaf
DN
95892012-04-10 Dan Nicolaescu <dann@gnu.org>
9590
9591 * battery.el (battery-linux-proc-acpi): Only one battery is
9592 discharged at a time, but that seems to confuse battery.el when
9593 computing `rate-type' for the battery not being discharged
9594 (bug#10332).
9595
1930bf5d
SM
95962012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9597
2a718f6f
SM
9598 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9599
599430d0
SM
9600 * international/quail.el: Use dolist and simplify.
9601 (quail-define-package, quail-update-keyboard-layout)
9602 (quail-define-rules): Use dolist.
9603 (quail-insert-kbd-layout, quail-get-translation): CSE.
9604
a2754b6c
SM
9605 * tmm.el: Use dolist, remove left over hook.
9606 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9607 Use dolist.
9608 (calendar-load-hook): Don't mess with it.
9609
1930bf5d
SM
9610 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9611 Use derived-mode-p. Run the diff asynchronously.
9612
9f67961c
LMI
96132012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9614
9615 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9616
2a8ce227
JB
96172012-04-10 Juanma Barranquero <lekktu@gmail.com>
9618
9619 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9620 (list-dynamic-libraries--loaded): New function.
9621 (list-dynamic-libraries--refresh): Use it.
9622
8f33b5f8
NW
96232012-04-10 Nathan Weizenbaum <nweiz@google.com>
9624
1930bf5d
SM
9625 * progmodes/python.el (python-fill-paragraph):
9626 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9627 disabled (bug#7018).
9628
b12f0439
L
96292012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9630
1930bf5d 9631 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9632 DOS/MS Windows for the Baltic languages. There are still plenty
9633 of texts written in this encoding/codepage (bug#6519).
b12f0439 9634
57c3bd01
GM
96352012-04-10 Glenn Morris <rgm@gnu.org>
9636
9637 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9638 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9639
6c3eab30
FA
96402012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9641
1930bf5d 9642 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9643 next-line "n" and previous-line "p" in order to make recentf more
9644 consistent with ibuffer, dired or org-mode (bug#9387).
9645
24d78a88
LMI
96462012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9647
bc72b5d9
LMI
9648 * image.el (put-image): Return the overlay created instead of the
9649 optional input string (bug#7834). Note that this may break code
9650 that is (for some reason or other) depending on `put-image'
9651 returning the string.
9652
bd2dba5a
LMI
9653 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9654
74beb59f
LMI
9655 * simple.el (zap-to-char): Allow zapping using input methods
9656 (bug#1580).
9657
24d78a88
LMI
9658 * textmodes/fill.el (fill-region): Leave point and mark where they
9659 were before filling (bug#5399).
9660
263f20cd
GM
96612012-04-09 Glenn Morris <rgm@gnu.org>
9662
9663 * version.el (emacs-bzr-get-version):
9664 Handle lightweight checkouts of local branches.
9665
58d1f797
AS
96662012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9667
263f20cd 9668 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9669
b4d3bc10
CY
96702012-04-09 Chong Yidong <cyd@gnu.org>
9671
9672 * custom.el (custom-variable-p): Return nil for non-symbol
9673 arguments instead of signaling an error.
9674 (user-variable-p): Obsolete alias for custom-variable-p.
9675
9676 * apropos.el (apropos-variable):
9677 * files-x.el (read-file-local-variable):
9678 * simple.el (set-variable):
9679 * woman.el (woman-mini-help):
9680 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9681
fd06db5d
GM
96822012-04-09 Glenn Morris <rgm@gnu.org>
9683
e5fcdb5e
GM
9684 * startup.el (normal-top-level): Don't look for leim-list.el
9685 in places where it will not be found. (Bug#910)
9686
fd06db5d
GM
9687 * international/mule-cmds.el (set-default-coding-systems):
9688 * files.el (normal-mode):
9689 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9690 This function was removed with ucs-tables.el in 2008.
9691
b39bb7e1
EZ
96922012-04-08 Eli Zaretskii <eliz@gnu.org>
9693
9694 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9695 ispell-encoding8-command to "-i", without a trailing space.
9696 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9697 separate command-line arguments, to specify the encoding, since
9698 that's how hunspell expects it.
9699
5c5b8e23
GM
97002012-04-08 Glenn Morris <rgm@gnu.org>
9701
9702 * loadup.el: Load bindings before cus-start.
9703 This reduces somewhat the number of "rogue" settings in emacs -Q.
9704
a1ed8b05
GM
97052012-04-07 Glenn Morris <rgm@gnu.org>
9706
9707 * version.el (emacs-bzr-get-version): New function.
dfae128a 9708 (emacs-bzr-version): New variable.
a1ed8b05
GM
9709 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9710 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9711
b142f158
EZ
97122012-04-07 Eli Zaretskii <eliz@gnu.org>
9713
dfae128a
GM
9714 * international/uni-bidi.el, international/uni-category.el:
9715 * international/uni-combining.el, international/uni-decimal.el:
9716 * international/uni-decomposition.el, international/uni-digit.el:
9717 * international/uni-lowercase.el, international/uni-mirrored.el:
9718 * international/uni-name.el, international/uni-numeric.el:
9719 * international/uni-titlecase.el, international/uni-uppercase.el:
9720 Update for Unicode 6.1.
b142f158 9721
9078ead6
EZ
97222012-04-07 Eli Zaretskii <eliz@gnu.org>
9723
9724 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9725
f23d2c7d
LMI
97262012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9727
9728 * window.el (shrink-window): Mention the `window-min-height'
9729 variable in the doc string.
9730
0a0a3573
BG
97312012-04-05 Bastien Guerry <bzg@altern.org>
9732
9733 * color.el (color-lighten-name): Fix typo.
9734
e5248ac9
SM
97352012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9736
9737 * server.el (server--on-display-p): New function.
9738 (server--on-display-p): Use it.
9739
a8e4d516 97402012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
b4243e22
GV
9741
9742 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9743 (bug#11145).
9744
305d9f44
SM
97452012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * comint.el (comint--common-quoted-suffix): Check string boundary
9748 before comparing (bug#11158).
9749 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9750
3d439cd1
CY
97512012-04-04 Chong Yidong <cyd@gnu.org>
9752
321cc491
CY
9753 * minibuffer.el (completion-extra-properties): Doc fix.
9754
3d439cd1
CY
9755 * subr.el (delayed-warnings-hook): Doc fix.
9756
2d562c0f
DU
97572012-04-04 Daiki Ueno <ueno@unixuser.org>
9758
9759 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9760 selection (Bug#11159).
9761 (epa-insert-keys): Inform that the default public key will be
9762 exported if no key is selected.
9763
4443f204
RS
97642012-04-04 Richard Stallman <rms@gnu.org>
9765
9766 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9767
529c06b6
CY
97682012-04-03 Chong Yidong <cyd@gnu.org>
9769
9770 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9771 mail-insert-file, not its obsolete alias mail-attach-file.
9772
66b907dc
MA
97732012-04-03 Michael Albinus <michael.albinus@gmx.de>
9774
9775 * notifications.el (notifications-notify): Fix docstring.
9776
c0ea195d
GM
97772012-04-02 Glenn Morris <rgm@gnu.org>
9778
9779 * emacs-lisp/authors.el (authors-aliases): Another addition.
9780
5ca64e00
MA
97812012-04-02 Michael Albinus <michael.albinus@gmx.de>
9782
9783 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9784 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9785 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9786
42ee526b
CY
97872012-04-01 Chong Yidong <cyd@gnu.org>
9788
9789 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9790 Handle root directory properly.
9791 (copy-directory): Caller changed.
9792
9793 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9794 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9795
0b021094
GM
97962012-03-31 Glenn Morris <rgm@gnu.org>
9797
40f86458
GM
9798 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9799
7019c177
GM
9800 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9801
a1daddd6
GM
9802 * calendar/calendar.el (calendar-window-list)
9803 (calendar-hide-window): Restore. (Bug#11140)
9804 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9805
0b021094
GM
9806 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9807
40311efc
TV
98082012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9809
9810 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9811 Check if file is a symlink (Bug#10489).
9812
9813 * files.el (copy-directory): Likewise.
9814
5319014e
CY
98152012-03-30 Chong Yidong <cyd@gnu.org>
9816
9817 * image.el (imagemagick-types-inhibit)
9818 (imagemagick-register-types): Doc fix.
9819
935d1290
AM
98202012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9821
090bd7cb 9822 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9823 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9824 and treats ~word as ordinary words in pipe mode.
935d1290 9825
61c6e8fd
GM
98262012-03-30 Glenn Morris <rgm@gnu.org>
9827
9828 * tutorial.el (help-with-tutorial): Ensure local variables don't
9829 happen to make the buffer read-only. (Bug#11127)
9830
81fdff00
SM
98312012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9832
9833 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9834 (perl-calculate-indent): Return `noindent' in strings.
9835
6e7a6ec0
SS
98362012-03-28 Sam Steingold <sds@gnu.org>
9837
9838 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9839 instead of the broken adhockery which does not prevent calendar
9840 buffers from being displayed at random after exit.
9841 (calendar-window-list, calendar-hide-window): Remove the broken
9842 adhockery.
9843
fee88ca0
GM
98442012-03-28 Glenn Morris <rgm@gnu.org>
9845
9846 * replace.el (query-replace-map): Doc fix.
9847
38de3354
AS
98482012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9849
9850 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9851 contents. (Bug#11109)
9852
b973155e
SM
98532012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9854
9855 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9856 (bug#11077).
9857 (avl-tree--check, avl-tree--check-node): New funs.
9858
dcb6e7b3
MR
98592012-03-27 Martin Rudalics <rudalics@gmx.at>
9860
9861 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9862 (switch-to-prev-buffer, switch-to-next-buffer):
9863 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9864 showing a buffer already is done on the same frame.
9865
b4fa35fa
GM
98662012-03-27 Glenn Morris <rgm@gnu.org>
9867
9868 * startup.el (mail-host-address): Doc fix.
9869
f9210e18
SM
98702012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9873 than 197 variables.
9874
c0bf7753
AF
98752012-03-26 Ami Fischman <ami@fischman.org>
9876
9877 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9878
33da7b16
GM
98792012-03-26 Glenn Morris <rgm@gnu.org>
9880
02243d9d
GM
9881 * files.el (save-buffers-kill-emacs): Doc fix.
9882
33da7b16
GM
9883 * startup.el (normal-top-level, command-line, command-line-1):
9884 Give them doc strings.
9885
e5a69fd0
EZ
98862012-03-25 Eli Zaretskii <eliz@gnu.org>
9887
9888 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9889 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9890
9a69676a
CY
98912012-03-25 Chong Yidong <cyd@gnu.org>
9892
4125cb8b
CY
9893 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9894 theme if it was previously enabled before (Bug#11031).
9895
dd470960
CY
9896 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9897 spec with custom-face-get-current-spec if its :shown-value is not
9898 determined yet (Bug#9337).
4125cb8b 9899 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9900
9a69676a
CY
9901 * button.el (button-at): Minor addition to docstring.
9902
6e7e90fa
SL
99032012-03-24 Simon Leinen <simon.leinen@gmail.com>
9904
9905 * vc/vc.el (vc-merge): Fix a prompt.
9906
f06e2758
CY
99072012-03-24 Chong Yidong <cyd@gnu.org>
9908
9909 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9910 point (Bug#9623).
9911
6e7e90fa
SL
9912 * button.el (button-at): Minor addition to docstring.
9913
b9d0879b
SM
99142012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9915
9916 * newcomment.el (comment-choose-indent): No space after BOL.
9917
e71cebb3
SS
99182012-03-22 Sam Steingold <sds@gnu.org>
9919
9920 * window.el (switch-to-prev-buffer): Revert last patch because the
9921 bug turned out to be an advertised feature (Elisp manual 28.14).
9922
335aff35
GM
99232012-03-22 Glenn Morris <rgm@gnu.org>
9924
9925 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9926 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9927
c676576a
LMI
99282012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9929
9930 * net/network-stream.el (network-stream-open-starttls): Make error
9931 message under Windows be less misleading.
9932
126f3d39
LW
99332012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9934
9935 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9936 understands (bug#9942).
9937
64fee311
CY
99382012-03-22 Chong Yidong <cyd@gnu.org>
9939
9940 * simple.el (end-of-visible-line): Handle return value of
9941 next-single-property-change properly (Bug#9371).
9942
a640d29a
KH
99432012-03-22 Kenichi Handa <handa@m17n.org>
9944
9945 * international/quail.el (quail-insert-kbd-layout): Fix previous
9946 change. To avoid unwanted bidi reordering, use
9947 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9948
39675016
DG
99492012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9950
9951 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9952 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9953 (ruby-beginning-of-indent): Be more careful with the difference
9954 between word-boundary and symbol boundary.
9955 (ruby-mode-syntax-table): Make : a symbol constituent.
9956
0a6934fc 99572012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9958
3d008e4f
SM
9959 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9960
0a6934fc
SM
99612012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9962
af67c9d7
SM
9963 * progmodes/etags.el (tags-completion-at-point-function):
9964 Improve last fix.
9965
1acad97c
SM
9966 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9967
e298b5da
SS
99682012-03-21 Sam Steingold <sds@gnu.org>
9969
9970 * progmodes/etags.el (tags-completion-at-point-function):
9971 Avoid the error when point is inside the pattern.
9972
91d82a70
JY
99732012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9974
9975 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9976 line (Bug#10855).
9977
69188b79
CY
99782012-03-21 Drew Adams <drew.adams@oracle.com>
9979
9980 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9981
99fc91fe
AK
99822012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9983
9984 * ido.el (ido-set-current-directory, ido-read-internal)
9985 (ido-choose-completion-string, ido-completion-help): Handle nil
9986 value of ido-completion-buffer (Bug#11008).
9987
087bbb4c
SS
99882012-03-21 Sam Steingold <sds@gnu.org>
9989
9990 * window.el (switch-to-prev-buffer): Do not switch to a visible
9991 window previous buffer, just like with the frame previous buffers.
9992
fb5b8aca
CY
99932012-03-21 Chong Yidong <cyd@gnu.org>
9994
9995 * faces.el (make-face, make-empty-face, copy-face):
9996 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9997 Doc fixes.
9998
dc9924b8
SM
99992012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10000
10001 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10002 (widget-complete): Remove broken use of it.
10003
f0bcceb9
CY
100042012-03-20 Chong Yidong <cyd@gnu.org>
10005
dc9924b8
SM
10006 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10007 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10008 characters.
10009
ee52ebf3
TH
100102012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10011
10012 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10013 to draw rectangles, not squares. (Regression introduced by revno
10014 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10015
4c5779ab
CY
100162012-03-18 Chong Yidong <cyd@gnu.org>
10017
10018 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10019 it is not yet defined (for temacs).
10020
15360934
LL
100212012-03-18 Leo Liu <sdl.web@gmail.com>
10022
735135f9
PE
10023 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10024 prefix.
15360934 10025
d9a8eb66
EZ
100262012-03-17 Eli Zaretskii <eliz@gnu.org>
10027
10028 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10029 (ispell-choices-win-default-height, ispell-silently-savep)
10030 (ispell-dictionary-alist, ispell-encoding8-command)
10031 (ispell-check-version, ispell-aspell-find-dictionary)
10032 (ispell-valid-dictionary-list, ispell-words-keyword)
10033 (ispell-get-word, ispell-internal-change-dictionary)
10034 (ispell-region, ispell-skip-region-list)
10035 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10036 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10037 (ispell-message-text-end, ispell-message)
10038 (ispell-buffer-local-parsing): Doc fix.
10039
f02ff80d
J
100402012-03-13 Jambunathan K <kjambunathan@gmail.com>
10041
10042 * htmlfontify.el: Add support for code block fontification for ODT
10043 export (Bug #9914).
10044 (hfy-optimisations): Define new option
10045 `body-text-only'
10046 (hfy-fontify-buffer): Honor above setting.
10047 (hfy-begin-span, hfy-end-span): New routines factored out form
10048 `hfy-fontify-buffer'.
10049 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10050 that permit insertion of custom tags.
10051 (hfy-fontify-buffer): Use above handlers.
10052 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10053 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 10054 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 10055 over multiple runs. This is made possible by having the caller let
f02ff80d
J
10056 bind a special variable `hfy-user-sheet-assoc'.
10057 (htmlfontify-string): New defun.
10058 (hfy-compile-face-map): Make sure that the last char in the
10059 buffer is correctly fontified.
10060 (hfy-face-resolve-face): Whitespace only change.
10061
9ac7a13f
EZ
100622012-03-17 Eli Zaretskii <eliz@gnu.org>
10063
10064 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10065 message more clear.
10066
e2b5bdd7
LL
100672012-03-16 Leo Liu <sdl.web@gmail.com>
10068
10069 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10070
2e492df3
AM
100712012-03-16 Alan Mackenzie <acm@muc.de>
10072
10073 Further optimise the handling of large macros.
10074
10075 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10076 limit to a call of `c-literal-limits'.
10077 (c-determine-+ve-limit): New function.
dc9924b8
SM
10078 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10079 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
10080 In CASE 5B, restrict a search limit to 500.
10081 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10082
10083 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10084 Restrict macro bounds to +-500 from after-change's BEG END.
10085
50e94f0c
LL
100862012-03-16 Leo Liu <sdl.web@gmail.com>
10087
10088 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10089
6f09f6ed
AH
100902012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10091
10092 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 10093 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 10094
c7e73d51
GM
100952012-03-16 Glenn Morris <rgm@gnu.org>
10096
da986230
GM
10097 * view.el (view-buffer, view-buffer-other-window)
10098 (view-buffer-other-frame): Doc fixes re special mode-class.
10099
0835f01e
GM
10100 * subr.el (eval-after-load): If named feature is provided not from
10101 a file, run after-load forms. (Bug#10946)
10102
c7e73d51
GM
10103 * calendar/calendar.el (calendar-insert-at-column):
10104 Handle non-unit-width characters a bit better. (Bug#10978)
10105
3f2eafd1
CY
101062012-03-15 Chong Yidong <cyd@gnu.org>
10107
10108 * emacs-lisp/ring.el (ring-extend): New function.
10109 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10110
10111 * comint.el (comint-read-input-ring)
10112 (comint-add-to-input-history): Grow comint-input-ring lazily.
10113
103af3fe
SM
101142012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10115
663b1677
SM
10116 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10117 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10118
103af3fe
SM
10119 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10120 (imenu-add-to-menubar): Don't add a redundant index.
10121 (imenu-update-menubar): Handle a dynamically composed keymap.
10122
899cb7cb
KY
101232012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10124
10125 * mail/sendmail.el (mail-encode-header):
10126 Bind rfc2047-encode-encoded-words to nil.
10127
3809f91d
GM
101282012-03-13 Glenn Morris <rgm@gnu.org>
10129
10130 * calendar/calendar.el (calendar-string-spread):
10131 Handle non-unit-width characters a bit better. (Bug#10978)
10132
9e345a01
LL
101332012-03-13 Leo Liu <sdl.web@gmail.com>
10134
10135 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10136 directory and file as argument (Bug#10822).
10137
4a07df36
KS
101382012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10139
10140 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10141 For dynamically generated code, follow $PC.
10142 (gdb-disassembly-handler-custom): Handle no function name case.
10143
4aaa9356
TL
101442012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10145
10146 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10147 * emulation/ws-mode.el (ws-query-replace):
10148 * sort.el (sort-regexp-fields):
10149 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10150
225979da
SM
101512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10152
10153 * dabbrev.el: Fix cycle completion order (bug#10963).
10154 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10155 (dabbrev-completion): Don't use an obarray; provide
10156 a cycle-sort-function.
10157
e2f1fdab
LL
101582012-03-12 Leo Liu <sdl.web@gmail.com>
10159
dc9924b8 10160 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10161 (kill-do-not-save-duplicates): Doc fix.
10162
b19490ed
SM
101632012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10164
10165 * dabbrev.el: Fix cycle completion (bug#10963).
10166 Use lexical binding and wrap to 80 columns.
10167 (dabbrev-completion): Delay computing the list of completions.
10168
4b05d722
KH
101692012-03-12 Kenichi Handa <handa@m17n.org>
10170
10171 * international/quail.el (quail-insert-kbd-layout): Surround each
10172 row by LRO and PDF instead of inserting many LRMs. Pad the left
10173 and right of each non-spacing marks. Insert invisible space
10174 between lower and upper characters to prevent composition.
10175
dbbc2e69
SM
101762012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * minibuffer.el (minibuffer-complete): Don't get confused when the
10179 function is run twice via different commands (bug#10958).
10180 (complete-with-action): Fix docstring.
10181
292112ed
CY
101822012-03-12 Chong Yidong <cyd@gnu.org>
10183
5d1ac394
CY
10184 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10185 (nxml-completion-at-point-function): New function.
10186 (nxml-mode): Use it.
10187 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10188
292112ed
CY
10189 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10190 Load generated autoloads file before byte compiling (Bug#10970).
10191 (package--make-autoloads-and-compile): New helper fun.
10192
4098f8f7
CS
101932012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10194
10195 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10196
8f754691
MA
101972012-03-11 Michael Albinus <michael.albinus@gmx.de>
10198
10199 * autorevert.el (auto-revert-handler): Ensure, that
10200 file-readable-p is applied only for local files or in
10201 auto-revert-tail-mode.
10202
e29ab36b
AS
102032012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10204
dbbc2e69
SM
10205 * server.el (server-eval-at): Handle non-tcp connections.
10206 Decode result string.
ad0bf5b6 10207
e29ab36b
AS
10208 * server.el (server-msg-size): New constant.
10209 (server-reply-print): New function.
10210 (server-eval-and-print): Use it.
10211 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10212 Handle -print-nonl.
10213
de5939ba
CS
102142012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10215
10216 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10217 (Bug#10987).
10218
0c93eabf
CY
102192012-03-11 Chong Yidong <cyd@gnu.org>
10220
397a688f
CY
10221 * simple.el (goto-line): Doc fix (Bug#9938).
10222
2cc775f9
CY
10223 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10224
0c93eabf
CY
10225 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10226 when finished (Bug#10963).
10227
c491fa41
MR
102282012-03-11 Martin Rudalics <rudalics@gmx.at>
10229
10230 * window.el (split-window-below): Fix bug in case where
10231 split-window-keep-point is nil (Bug#10971).
10232
300e8fa5
JL
102332012-03-11 Juri Linkov <juri@jurta.org>
10234
10235 * replace.el (replace-highlight): Set isearch-word to nil
10236 unconditionally. (Bug#10887)
10237
dbf6c5a1
EZ
102382012-03-10 Eli Zaretskii <eliz@gnu.org>
10239
10240 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10241 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10242 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10243 (mairix-widget-create-query): Add usage information about mairix
10244 search forms: negating words, searching for substrings, etc.
10245
b9e501de
JP
102462012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10247
10248 * international/fontset.el (font-encoding-alist): Add an entry for
10249 ksx1001 (Bug#5667).
10250
92795c91
RS
102512012-03-10 Richard Stallman <rms@gnu.org>
10252
1694e6c1
RS
10253 * mail/sendmail.el (mail-encode-header):
10254 Set rfc2047-encode-encoded-words.
10255
607e8555
RS
10256 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10257
de3bc99a
RS
10258 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10259 view buffer means not swapped.
10260 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10261 (rmail-write-region-annotate): Error if real text has disappeared.
10262
92795c91
RS
10263 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10264
699bd04e
CY
102652012-03-10 Chong Yidong <cyd@gnu.org>
10266
10267 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10268 * emulation/cua-base.el (cua--init-keymaps):
10269 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10270
570a1714
MR
102712012-03-10 Martin Rudalics <rudalics@gmx.at>
10272
dbbc2e69
SM
10273 * speedbar.el (speedbar-unhighlight-one-tag-line):
10274 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10275
82dcf4e4
CY
102762012-03-10 Chong Yidong <cyd@gnu.org>
10277
7a2c7ca7
CY
10278 * minibuffer.el (completion-in-region, completion-help-at-point):
10279 Give the completion field overlay a high priority (Bug#6830).
10280
82dcf4e4
CY
10281 * dired.el (dired-goto-file): Recognize absolute file name
10282 listings (Bug#7126).
10283 (dired-goto-file-1): New helper function.
10284 (dired-toggle-read-only): Inhibit warnings.
10285
052e28ac
MA
102862012-03-09 Michael Albinus <michael.albinus@gmx.de>
10287
75f1671a 10288 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10289 there are no properties.
10290
95d5e396
LL
102912012-03-09 Leo Liu <sdl.web@gmail.com>
10292
10293 * savehist.el (savehist-printable): Stricter check for string
10294 value (Bug#10937).
10295
3f018d6d
EZ
102962012-03-09 Eli Zaretskii <eliz@gnu.org>
10297
dbbc2e69
SM
10298 * mail/smtpmail.el (smtpmail-send-it):
10299 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10300 valid mbox format.
10301
f7fd3d79
GM
103022012-03-09 Glenn Morris <rgm@gnu.org>
10303
10304 * files.el (dir-locals-find-file):
10305 Don't check result is regular, readable.
10306 (dir-locals-read-from-file): Demote errors.
10307
6ff6e72f
EZ
103082012-03-08 Eli Zaretskii <eliz@gnu.org>
10309
dbbc2e69
SM
10310 * international/quail.el (quail-insert-kbd-layout):
10311 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10312 layout cell, to prevent their reordering by bidi display engine.
10313 For details, see the discussion in
10314 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10315
9cec7834
AM
103162012-03-08 Alan Mackenzie <acm@muc.de>
10317
10318 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10319 the starting position; make it extend the marked region when
10320 invoked repeatedly - all under appropriate circumstances.
10321 Fixes bugs #5525, #10906.
10322
9a40b8d4
GM
103232012-03-08 Glenn Morris <rgm@gnu.org>
10324
10325 * files.el (locate-dominating-file, dir-locals-find-file):
10326 Undo 2012-03-06 change.
10327
7a08ed35
EZ
103282012-03-07 Eli Zaretskii <eliz@gnu.org>
10329
dbbc2e69
SM
10330 * international/quail.el (quail-help):
10331 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10332 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10333 for the reason.
10334
5aca4f71 103352012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10336
10337 Avoid superfluous registering of signals. (Bug#10807)
10338
10339 * notifications.el (notifications-on-action-object)
10340 (notifications-on-close-object): New defvars.
10341 (notifications-on-action-signal, notifications-on-closed-signal):
10342 Unregister the signal if not needed any longer.
10343 (notifications-notify): Register `notifications-action-signal' or
10344 `notifications-closed-signal', if :on-action or :on-close has been
10345 passed as argument.
10346
78e8b10a
CY
103472012-03-07 Chong Yidong <cyd@gnu.org>
10348
10349 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10350 non-X platforms.
10351
69481eb8
GM
103522012-03-06 Glenn Morris <rgm@gnu.org>
10353
10354 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10355 (x-disown-selection-internal, x-get-selection-internal):
10356 Doc fix (add arglist signatures). (Bug#10783)
10357
133b8e11
KS
103582012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10359
10360 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10361 Handle breakpoints with no "type".
10362
99a83064
GM
103632012-03-06 Glenn Morris <rgm@gnu.org>
10364
10365 * files.el (locate-dominating-file): Add optional predicate argument.
10366 (dir-locals-find-file): Make use of above change.
10367
17798e78
TTN
103682012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10369
10370 * info.el (Info-insert-dir): Also try "dir.gz".
10371
eb182446
GM
103722012-03-06 Glenn Morris <rgm@gnu.org>
10373
8f2114ee
GM
10374 * files.el (dir-locals-find-file):
10375 Ignore non-readable or non-regular files. (Bug#10928)
10376
eb182446
GM
10377 * files.el (locate-dominating-file): Doc fix.
10378
24679323
AS
103792012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10380
10381 * calendar/calendar.el (calendar-set-mode-line):
10382 `getenv' returns a string. (Bug#10951)
10383
01d972a9
LL
103842012-03-05 Leo Liu <sdl.web@gmail.com>
10385
109aa8a9
LL
10386 * simple.el (backward-delete-char-untabify): Constrain point to
10387 field (Bug#10939).
10388
01d972a9
LL
10389 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10390
10607bea
CY
103912012-03-05 Chong Yidong <cyd@gnu.org>
10392
10393 * simple.el (count-words): If called from Lisp, return the word
10394 count, for symmetry with `count-lines'. Arglist changed.
10395 (count-words--message): Args changed. Consolidate counting code
10396 from count-words and count-words-region.
10397 (count-words-region): Caller changed.
10398 (count-lines-region): Make it an obsolete alias.
10399
5dd11cfe
TH
104002012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10401
10402 * saveplace.el (save-place-to-alist)
10403 (save-place-ignore-files-regexp): Allow value nil to disable this
10404 feature.
10405
c349f4e6
CY
104062012-03-04 Chong Yidong <cyd@gnu.org>
10407
10408 * faces.el (face-spec-reset-face): For the default face, reset the
10409 attributes to default values (Bug#10748).
10410
e627be4c
LMI
104112012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10412
10413 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10414 previous patch: Check `message-send-mail-function', and not the
10415 default function (bug#10897).
10416
ebeabff4
MA
104172012-03-04 Michael Albinus <michael.albinus@gmx.de>
10418
a41a6cf4
MA
10419 * notifications.el (notifications-on-action-signal)
10420 (notifications-on-closed-signal): Check for unique service name of
10421 incoming event. Fix error in removing entry.
ebeabff4 10422 (top): Register for signals with wildcard service name.
a41a6cf4 10423 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10424
c1ca42b4
CY
104252012-03-04 Chong Yidong <cyd@gnu.org>
10426
dc9924b8 10427 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10428
ea16568d
GM
104292012-03-04 Glenn Morris <rgm@gnu.org>
10430
10431 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10432 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10433 (expand-abbrev, define-abbrev-table): Doc fixes.
10434
fbae4637
LMI
104352012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10436
10437 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10438 `message-default-send-mail-function' and not `send-mail-function'
10439 when doing the prompting for `sendmail-query-once' before sending
10440 in Message buffers (bug#10897).
10441
a1e7225c
LMI
10442 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10443 This is inconsistent with all the other stream functions, which leave
10444 the setting up to the higher levels (if so wanted) (bug#10931).
10445
56d093a9
AM
104462012-03-02 Alan Mackenzie <acm@muc.de>
10447
10448 Depessimize the handling of very large macros.
10449
10450 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10451 (c-macro-cache-syntactic): New variables to implement a one
10452 element macro cache.
10453 (c-invalidate-macro-cache): New function.
10454 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10455 Adapt to use the new cache.
10456 (c-state-safe-place): Use better the cache of safe positions.
10457 (c-state-semi-nonlit-pos-cache)
10458 (c-state-semi-nonlit-pos-cache-limit):
10459 New variables for...
10460 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10461 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10462 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10463 Use c-state-semi-safe-place.
56d093a9 10464
dbbc2e69
SM
10465 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10466 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10467
817e5c3d
MA
104682012-03-02 Michael Albinus <michael.albinus@gmx.de>
10469
dbbc2e69
SM
10470 * jka-compr.el (jka-compr-call-process):
10471 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10472 not remote.
10473
a032a702
MA
104742012-03-01 Michael Albinus <michael.albinus@gmx.de>
10475
10476 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10477 access of FILE2, if FILE1 does not exist.
10478
99a54f21
MA
10479 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10480 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10481
10482 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10483 Add "PAGER=" to `process-environment'.
10484
f6561e1f
MM
104852012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10486
10487 * progmodes/sql.el: Bug fix
10488 (sql-get-login-ext): Save login values in globals.
10489 (sql-get-login): Use new version of `sql-get-login-ext'.
10490 (sql-interactive-mode): Set global `sql-connection' to nil.
10491 (sql-connect): Set global values for connection.
10492 (sql-product-interactive): Save global values as buffer local.
10493
2d44d9cc
LL
104942012-02-29 Leo Liu <sdl.web@gmail.com>
10495
10496 * abbrev.el (define-abbrevs): Reset sys to nil.
10497
96b49301 104982012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10499
bf7f9bc5
JB
10500 * files.el (file-equal-p): Rename from `files-equal-p'.
10501 Return nil when one or both files don't exist.
96b49301 10502 (file-subdir-of-p): Now only top directory must exists,
10503 return nil if it doesn't.
bf7f9bc5
JB
10504 (copy-directory): No need to test with `file-subdir-of-p' after
10505 creating dir.
10506 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10507 to `file-equal-p'.
96b49301 10508
44e97401
GM
105092012-02-28 Glenn Morris <rgm@gnu.org>
10510
10511 * shell.el (shell-mode):
10512 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10513 * play/landmark.el (landmark-font-lock-face-O):
10514 * play/handwrite.el (handwrite):
10515 * play/gomoku.el (gomoku-O):
10516 * net/browse-url.el (browse-url-browser-display):
10517 * international/mule.el (define-charset):
10518 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10519 * filesets.el (filesets-find-file-delay):
10520 * eshell/em-xtra.el (eshell-xtra):
10521 * eshell/em-unix.el (eshell-grep):
10522 * emulation/viper.el (viper-mode):
10523 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10524 * emacs-lisp/easymenu.el (easy-menu-define):
10525 * calendar/timeclock.el (timeclock-use-display-time):
10526 * bs.el (bs-mode):
10527 * bookmark.el (bookmark-save-flag):
10528 Doc fix (standardize possessive apostrophe usage).
10529
c98c6276
CY
105302012-02-27 Chong Yidong <cyd@gnu.org>
10531
bf7f9bc5
JB
10532 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10533 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 10534
c98c6276
CY
10535 * font-lock.el (font-lock-specified-p): Rename from
10536 font-lock-spec-present. Callers changed.
10537
9c62cd04 105382012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 10539
bf7f9bc5
JB
10540 * emacs-lisp/package.el (package-compute-transaction):
10541 Handle holding a package version to t in package-load-list.
8ac9e529 10542
530739c9
MA
105432012-02-26 Michael Albinus <michael.albinus@gmx.de>
10544
10545 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10546 (tramp-get-inode, tramp-get-device): Use cached values.
10547
487915d7
AM
105482012-02-26 Alan Mackenzie <acm@muc.de>
10549
10550 Check there is a font-lock specification before doing initial
10551 fontification.
10552
10553 * font-core.el (font-lock-mode): Move the conditional from
10554 :after-hook to font-lock-initial-fontify.
10555 (font-lock-default-function): Move the check for a specification
10556 to font-lock-spec-present.
10557
dc9924b8 10558 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10559 (font-lock-spec-present): New function.
10560
4fd96557
JB
105612012-02-26 Jim Blandy <jimb@red-bean.com>
10562
10563 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10564 (gdb-send): Apply it to the operand of the '-interpreter-exec
10565 console' command, so that we can pass arguments with (say) quotes
10566 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10567
9a4888c0
CY
105682012-02-26 Chong Yidong <cyd@gnu.org>
10569
07498861
CY
10570 * help-fns.el (describe-function-1): Clarify description of
10571 remapping (Bug#10844).
10572
9a4888c0
CY
10573 * files.el (files-equal-p): Doc fix.
10574 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10575 and quit the loop once a mismatch is found.
10576
ea8fb88d
JB
105772012-02-25 Juanma Barranquero <lekktu@gmail.com>
10578
10579 * bs.el (bs--show-with-configuration): Don't throw an error
10580 if the window cannot be split; otherwise, subsequent calls to
10581 bs-show fail, restoring a stale window config. (Bug#10882)
10582
525795c1
JD
105832012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10584
10585 * term/ns-win.el (global-map): Bind ns-drag-file to
10586 ns-find-file (Bug#5855, Bug#10050).
10587
f008086f
AS
105882012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10589
10590 * calendar/parse-time.el (parse-time-string): Allow extractor to
10591 return nil.
10592
a3fcfa99
MA
105932012-02-25 Michael Albinus <michael.albinus@gmx.de>
10594
91027d08
JB
10595 * net/tramp.el (tramp-file-name-for-operation):
10596 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10597
10598 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10599 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10600 Add COPY-CONTENTS argument.
a3fcfa99 10601
67b0de11
CY
106022012-02-25 Chong Yidong <cyd@gnu.org>
10603
10604 Add custom groups for VC backends, for consistency with vc-bzr.
10605
10606 * vc/vc-arch.el (vc-arch):
10607 * vc/vc-cvs.el (vc-cvs):
10608 * vc/vc-git.el (vc-git):
10609 * vc/vc-hg.el (vc-hg):
10610 * vc/vc-mtn.el (vc-mtn):
10611 * vc/vc-rcs.el (vc-rcs):
10612 * vc/vc-sccs.el (vc-sccs):
10613 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10614 All relevant defcustoms reassigned.
10615
3c9dfce6
CY
106162012-02-25 Chong Yidong <cyd@gnu.org>
10617
1339bf43
CY
10618 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10619
3c9dfce6
CY
10620 * term/x-win.el (x-initialize-window-system): Reduce default for
10621 x-selection-timeout to 5 seconds (Bug#8869).
10622
25b2e303 106232012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10624
ec70a47d
GM
10625 * files.el (files-equal-p, file-subdir-of-p): New functions.
10626 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10627 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10628 * dired-aux.el (dired-copy-file-recursive): Same.
10629 (dired-create-files): Modify destination when source is equal to
10630 dest when copying files.
53a46cd0 10631 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10632
914260cd
MA
106332012-02-24 Michael Albinus <michael.albinus@gmx.de>
10634
10635 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10636 (Bug#10874)
10637
2cb228f7
AM
106382012-02-23 Alan Mackenzie <acm@muc.de>
10639
10640 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10641 parameter "after-hook:" to allow the expansion to run code after
10642 the execution of the mode hooks.
10643
10644 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10645 from font-lock-mode-internal.
2cb228f7 10646
91027d08 10647 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10648 :after-hook.
10649
8f0fde21
SM
106502012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10651
3e88618b
SM
10652 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10653 (completion--cache-all-sorted-completions): New function.
10654 (completion-all-sorted-completions): Use it.
10655 (completion--do-completion, minibuffer-force-complete):
10656 Use it to re-instate the flush hook.
10657
8f0fde21
SM
10658 * icomplete.el (icomplete-completions): Replace last fix with a better
10659 one (bug#10850).
10660
8e911f6f
DG
106612012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10662
10663 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10664 when it might call us back infinitely (bug#10797).
10665
49fe4321
GM
106662012-02-23 Glenn Morris <rgm@gnu.org>
10667
10668 * minibuffer.el (completion-category-overrides): Doc fix.
10669
b291b572
SM
106702012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10671
10672 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10673 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10674
31a9ef2e
GM
106752012-02-23 Glenn Morris <rgm@gnu.org>
10676
5e6e6794 10677 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10678 (authors-obsolete-files-regexps, authors-ignored-files)
10679 (authors-ambiguous-files, authors-renamed-files-alist):
10680 Add more entries.
10681
0bd1e074
JL
106822012-02-23 Juri Linkov <juri@jurta.org>
10683
10684 * isearch.el (isearch-occur): Sync interactive spec with occur's
10685 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10686
b617673c
JL
10687 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10688
19e9789e
JL
106892012-02-22 Juri Linkov <juri@jurta.org>
10690
10691 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10692 (ucs-insert): Doc fix. Check for hex digits in the string.
10693 Don't display `nil' in the error message. (Bug#10857)
10694
f41ce09d
AM
106952012-02-22 Alan Mackenzie <acm@muc.de>
10696
7a71b18d 10697 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10698
ac2eceee
GM
106992012-02-22 Glenn Morris <rgm@gnu.org>
10700
10701 * ffap.el (ffap-c-path):
10702 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10703
abd1f678
CY
107042012-02-22 Chong Yidong <cyd@gnu.org>
10705
10706 * custom.el (load-theme): Doc fix.
10707
f25aef2e
GM
107082012-02-22 Glenn Morris <rgm@gnu.org>
10709
10710 * dired-x.el (dired-guess-shell-alist-default):
10711 Remove escape sequences from nroff output. (Bug#172)
10712
5f8dc2ca
GM
107132012-02-21 Glenn Morris <rgm@gnu.org>
10714
6ff86ec4
GM
10715 * vc/emerge.el (emerge-defvar-local):
10716 Set `permanent-local' property rather than unused `preserved'.
10717
be3223a3 10718 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10719 (picture-mode-map): Use it. (Bug#10860)
10720 (picture-mode): Doc fix.
10721
3fe58f4f
JB
107222012-02-21 Juanma Barranquero <lekktu@gmail.com>
10723
10724 * newcomment.el (uncomment-region-default): Remove unused binding.
10725
f9a998c3
GM
107262012-02-21 Glenn Morris <rgm@gnu.org>
10727
10728 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10729 (picture-self-insert, picture-tab-chars): Doc fix.
10730 (picture-mode-map): Fix C-a, C-e.
10731
c6029348
GM
107322012-02-20 Glenn Morris <rgm@gnu.org>
10733
10734 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10735
ab1ce9d7
LL
107362012-02-20 Leo Liu <sdl.web@gmail.com>
10737
10738 * icomplete.el (icomplete-completions): Check FROM arg before
10739 passing to substring (Bug#10850).
10740
0fd40f89
CY
107412012-02-19 Chong Yidong <cyd@gnu.org>
10742
10743 * comint.el: Require ansi-color.
10744 (comint-output-filter-functions): Add ansi-color-process-output.
10745
10746 * ansi-color.el: Don't set comint-output-filter-functions; it is
10747 now in the initial value defined in comint.el.
10748 (ansi-color-apply-face-function): New variable.
10749 (ansi-color-apply-on-region): Use it.
10750 (ansi-color-apply-overlay-face): New function.
10751
10752 * shell.el (shell): No need to require ansi-color.
10753 (shell-mode): Use ansi-color-apply-face-function to highlight
10754 color escapes using font-lock-face property (Bug#10835).
10755
20af2394
CY
107562012-02-19 Chong Yidong <cyd@gnu.org>
10757
10758 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10759 mode-line formats (Bug#10839).
10760
e23a3fbe
GM
107612012-02-18 Glenn Morris <rgm@gnu.org>
10762
b474519e
GM
10763 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10764
10765 * mail/undigest.el (unforward-rmail-message): Doc fix.
10766
e23a3fbe
GM
10767 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10768
57939ff4
EZ
107692012-02-18 Eli Zaretskii <eliz@gnu.org>
10770
10771 * international/characters.el (script-list): Sync with the latest
10772 Unicode Character Database.
10773
0c23686e
AS
107742012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10775
10776 * international/titdic-cnv.el: Remove duplicate coding tag.
10777 * language/cham.el: Likewise.
10778 * language/tai-viet.el: Likewise.
10779
6818b449
GM
107802012-02-18 Glenn Morris <rgm@gnu.org>
10781
10782 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10783 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10784 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10785 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10786 * calendar/holidays.el (holiday-bahai-holidays)
10787 (calendar-holidays, list-holidays):
10788 Use utf-8 Bahá'í in doc-strings, menus, etc.
10789
0311a3fc
TH
107902012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10791
10792 * saveplace.el (save-place-ignore-files-regexp): New variable
10793 allowing for excluding files from saving their location of point.
10794 The default value matches the temporary commit message editing
10795 files from Git, SVN, Bazaar, and Mercurial.
10796 (save-place-to-alist): Use it.
10797
d209e2fb 107982012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10799 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10800
10801 * newcomment.el (uncomment-region-default): Don't leave extra space
10802 when an arg is provided (bug#8150).
10803
ee0ce425
TZ
108042012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10805
eb864a71 10806 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10807
95ddf442
GM
108082012-02-17 Glenn Morris <rgm@gnu.org>
10809
10810 * net/socks.el: Require network-stream. (Bug#10599)
10811
48dd1e39 108122012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10813
10814 * international/charprop.el:
10815 * international/uni-name.el:
10816 * international/uni-old-name.el:
10817 * international/uni-comment.el: Regenerate.
10818
d68cd087
GM
108192012-02-16 Glenn Morris <rgm@gnu.org>
10820
10821 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10822 Interactively in calendar buffer, give an error if not on a date.
10823
13932042
GM
108242012-02-15 Glenn Morris <rgm@gnu.org>
10825
10826 * shell.el (shell-delimiter-argument-list):
10827 Revert 2011-02-17 change. (Bug#8027)
10828
c3a70e2b
CY
108292012-02-15 Chong Yidong <cyd@gnu.org>
10830
60236b0d
CY
10831 * minibuffer.el (completion-at-point-functions): Doc fix.
10832
c3a70e2b
CY
10833 * custom.el (defcustom): Doc fix; note use of defvar.
10834
9f26dc24
GM
108352012-02-15 Glenn Morris <rgm@gnu.org>
10836
10837 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10838 Doc fixes.
10839
6546b134
GM
108402012-02-14 Glenn Morris <rgm@gnu.org>
10841
10842 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10843
d29b2b4c
LI
108442012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10845
10846 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10847 way the ports list is computed.
835bdcba
LI
10848 (smtpmail-query-smtp-server): Prompt the user for a port number if
10849 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10850
08dcdbc9
TZ
108512012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10852
10853 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10854
2605051a
GM
108552012-02-13 Glenn Morris <rgm@gnu.org>
10856
10857 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10858
7ee99f32
TZ
108592012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10860
10861 * net/gnutls.el (gnutls-trustfiles): New variable.
10862 (gnutls-negotiate): Use it.
10863
5f0af64f
LI
108642012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10865
10866 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10867 does its stuff if Gnus is running.
10868
c14fcc95
AM
108692012-02-13 Alan Mackenzie <acm@muc.de>
10870
10871 Fix a loop in c-set-fl-decl-start.
10872
7a71b18d 10873 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10874 c-backward-syntactic-ws actually moves backwards.
10875
142b4d90
LL
108762012-02-13 Leo Liu <sdl.web@gmail.com>
10877
10878 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10879 beginning so that all \C-o chars are removed.
10880
fa9958a6
TZ
108812012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10882
dc9924b8 10883 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10884
0bc5886a
AM
108852012-02-12 Alan Mackenzie <acm@muc.de>
10886
10887 Fix infinite loop with long macros.
4d6769e1 10888 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10889
d4bd55e7
CY
108902012-02-12 Chong Yidong <cyd@gnu.org>
10891
10892 * window.el (display-buffer): Doc fix (Bug#10785).
10893
66f3fe22
GM
108942012-02-12 Glenn Morris <rgm@gnu.org>
10895
bd7da63e
GM
10896 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10897 (x-disown-selection-internal, x-get-selection-internal):
10898 Sync docs with the xselect.c versions.
10899
66f3fe22
GM
10900 * allout-widgets.el: Add missing license notice.
10901
3e0d2fa7
GM
109022012-02-11 Glenn Morris <rgm@gnu.org>
10903
cfecdf09
GM
10904 * select.el (x-get-selection-internal, x-own-selection-internal)
10905 (x-disown-selection-internal):
10906 * x-dnd.el (x-get-selection-internal): Update declarations.
10907
6d216d7f
GM
10908 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10909
2bed3f04
GM
10910 * window.el (window-sides-slots):
10911 * tool-bar.el (tool-bar-position):
10912 * term/xterm.el (xterm-extra-capabilities):
10913 * ses.el (ses-self-reference-early-detection):
10914 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10915 (verilog-auto-wire-type)
10916 (verilog-auto-delete-trailing-whitespace)
10917 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10918 (verilog-auto-tieoff-declaration):
10919 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10920 (sql-oracle-statement-starters, sql-oracle-scan-on):
10921 * progmodes/prolog.el (prolog-align-comments-flag)
10922 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10923 (prolog-left-indent-regexp, prolog-paren-indent-p)
10924 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10925 (prolog-types, prolog-mode-specificators)
10926 (prolog-determinism-specificators, prolog-directives)
10927 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10928 (prolog-electric-dot-flag)
10929 (prolog-electric-dot-full-predicate-template)
10930 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10931 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10932 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10933 (prolog-program-switches, prolog-prompt-regexp)
10934 (prolog-debug-on-string, prolog-debug-off-string)
10935 (prolog-trace-on-string, prolog-trace-off-string)
10936 (prolog-zip-on-string, prolog-zip-off-string)
10937 (prolog-use-standard-consult-compile-method-flag)
10938 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10939 (prolog-imenu-max-lines, prolog-info-predicate-index)
10940 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10941 (prolog-char-quote-workaround):
10942 * progmodes/cc-vars.el (c-defun-tactic):
10943 * net/tramp.el (tramp-encoding-command-interactive)
10944 (tramp-local-end-of-line):
10945 * net/soap-client.el (soap-client):
10946 * net/netrc.el (netrc-file):
10947 * net/gnutls.el (gnutls):
10948 * minibuffer.el (completion-category-overrides)
10949 (completion-cycle-threshold)
10950 (completion-pcm-complete-word-inserts-delimiters):
10951 * man.el (Man-name-local-regexp):
10952 * mail/feedmail.el (feedmail-display-full-frame):
10953 * international/characters.el (glyphless-char-display-control):
10954 * eshell/em-ls.el (eshell-ls-date-format):
10955 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10956 (lisp-lambda-list-keyword-parameter-indentation)
10957 (lisp-lambda-list-keyword-parameter-alignment):
10958 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10959 * dired-x.el (dired-omit-verbose):
10960 * cus-theme.el (custom-theme-allow-multiple-selections):
10961 * calc/calc.el (calc-highlight-selections-with-faces)
10962 (calc-lu-field-reference, calc-lu-power-reference)
10963 (calc-note-threshold):
10964 * battery.el (battery-mode-line-limit):
10965 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10966 (archive-7z-update):
10967 * allout.el (allout-prefixed-keybindings)
10968 (allout-unprefixed-keybindings)
10969 (allout-inhibit-auto-fill-on-headline)
10970 (allout-flattened-numbering-abbreviation):
10971 * allout-widgets.el (allout-widgets-auto-activation)
10972 (allout-widgets-icons-dark-subdir)
10973 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10974 (allout-widgets-theme-dark-background)
10975 (allout-widgets-theme-light-background)
10976 (allout-widgets-item-image-properties-emacs)
10977 (allout-widgets-item-image-properties-xemacs)
10978 (allout-widgets-run-unit-tests-on-load)
10979 (allout-widgets-time-decoration-activity)
10980 (allout-widgets-hook-error-post-time)
10981 (allout-widgets-track-decoration):
10982 Add missing :version tags to new defcustoms and defgroups.
10983
5fec1b8e
GM
10984 * progmodes/sql.el (sql-ansi-statement-starters)
10985 (sql-oracle-statement-starters): Add custom type.
10986
3e0d2fa7
GM
10987 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10988 (prolog-system-version): Give it a type.
10989
90b671e2
EZ
109902012-02-11 Eli Zaretskii <eliz@gnu.org>
10991
10992 * term/pc-win.el (x-select-text, x-selection-owner-p)
10993 (x-own-selection-internal, x-disown-selection-internal)
10994 (x-get-selection-internal): Sync doc strings and argument lists
10995 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10996
5eac0c02
LL
109972012-02-11 Leo Liu <sdl.web@gmail.com>
10998
10999 * progmodes/python.el (python-end-of-statement): Fix infinite
11000 loop. (Bug#10788)
11001
f82cb659
GM
110022012-02-10 Glenn Morris <rgm@gnu.org>
11003
11004 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11005 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11006
cc26d239
LI
110072012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11008
11009 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11010 about SMTP before checking the From header.
11011
91027d08 11012 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11013 into own function for reuse by emacsbug.el.
11014
1be3ca5a
LL
110152012-02-10 Leo Liu <sdl.web@gmail.com>
11016
11017 * subr.el (condition-case-unless-debug): Rename from
11018 condition-case-no-debug. All callers changed.
11019 (with-demoted-errors): Fix caller.
11020
11021 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11022 * nxml/rng-valid.el (rng-do-some-validation):
11023 * emacs-lisp/package.el (package-refresh-contents)
11024 (package-menu-execute):
11025 * desktop.el (desktop-create-buffer):
91027d08 11026 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11027
b011fbfe
GM
110282012-02-10 Glenn Morris <rgm@gnu.org>
11029
b2096d72
GM
11030 * textmodes/bibtex.el:
11031 Add missing :version tags for new/changed defcustoms.
11032
b011fbfe
GM
11033 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11034
4c7e65bf
LI
110352012-02-09 Lars Ingebrigtsen <larsi@rusty>
11036
11037 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11038 (smtpmail-via-smtp): Use it, or fall back on the From address.
11039 (smtpmail-send-it): Ditto.
11040
f3934f6f
SM
110412012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11042
11043 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11044 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11045 (byte-compile-tmp-var): New const.
11046 (byte-compile-defvar): Use it to minimize .elc size.
11047 Just use `defvar' rather than simulate it (bug#10761).
11048
a075a2c5
GM
110492012-02-09 Glenn Morris <rgm@gnu.org>
11050
cf3aa21b
GM
11051 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11052
354998cd
GM
11053 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11054 Add :version tags.
11055
dc9924b8
SM
11056 * progmodes/compile.el (compilation-error-screen-columns)
11057 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 11058
dab3703d
GM
11059 * vc/log-view.el (log-view-toggle-entry-display):
11060 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11061
3f88cd72
GM
11062 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11063 (report-emacs-bug-can-use-xdg-email):
11064 (report-emacs-bug-insert-to-mailer): Doc fixes.
11065 (report-emacs-bug): Message fix.
11066
d95b247d
GM
11067 * net/browse-url.el (browse-url-can-use-xdg-open)
11068 (browse-url-xdg-open): Doc fixes.
11069
a075a2c5
GM
11070 * electric.el (electric-indent-mode, electric-pair-mode)
11071 (electric-layout-rules, electric-layout-mode): Doc fixes.
11072 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11073
ffb6157e
MR
110742012-02-08 Martin Rudalics <rudalics@gmx.at>
11075
11076 * server.el (server-unselect-display): Don't inadvertently kill
11077 the current buffer. (Bug#10729)
11078
e1ac4066
GM
110792012-02-08 Glenn Morris <rgm@gnu.org>
11080
34e8a2da
GM
11081 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11082 (sql-list-table): Doc fixes.
11083
b4ac6e8c
GM
11084 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11085 Comment out (does nothing).
11086
e1ac4066
GM
11087 * completion.el (dynamic-completion-mode):
11088 * dirtrack.el (dirtrack-debug-mode):
11089 * electric.el (electric-layout-mode):
11090 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11091 * face-remap.el (text-scale-mode, buffer-face-mode):
11092 * iimage.el (iimage-mode):
11093 * image-mode.el (image-transform-mode):
11094 * minibuffer.el (completion-in-region-mode):
11095 * scroll-lock.el (scroll-lock-mode):
11096 * simple.el (next-error-follow-minor-mode):
11097 * tar-mode.el (tar-subfile-mode):
11098 * tooltip.el (tooltip-mode):
11099 * vcursor.el (vcursor-use-vcursor-map):
11100 * wid-browse.el (widget-minor-mode):
11101 * emulation/tpu-edt.el (tpu-edt-mode):
11102 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11103 * international/iso-ascii.el (iso-ascii-mode):
11104 * language/thai-util.el (thai-word-mode):
11105 * mail/supercite.el (sc-minor-mode):
11106 * net/goto-addr.el (goto-address-mode):
11107 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11108 * progmodes/cwarn.el (cwarn-mode):
11109 * progmodes/flymake.el (flymake-mode):
11110 * progmodes/glasses.el (glasses-mode):
11111 * progmodes/hideshow.el (hs-minor-mode):
11112 * progmodes/pascal.el (pascal-outline-mode):
11113 * textmodes/enriched.el (enriched-mode):
11114 * vc/smerge-mode.el (smerge-mode):
11115 Doc fixes (minor mode argument).
11116
5e0d957f
EZ
111172012-02-07 Eli Zaretskii <eliz@gnu.org>
11118
11119 * ls-lisp.el (ls-lisp-sanitize): New function.
11120 (ls-lisp-insert-directory): Use it to fix or remove any elements
11121 in file-alist with missing attributes. (Bug#4673)
11122
98d7371e
AM
111232012-02-07 Alan Mackenzie <acm@muc.de>
11124
11125 Fix spurious recognition of c-in-knr-argdecl.
11126
11127 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11128 putative K&R region.
11129
667ced3a
AM
111302012-02-07 Alan Mackenzie <acm@muc.de>
11131
eb864a71
LM
11132 * progmodes/cc-engine.el (c-forward-objc-directive):
11133 Prevent looping in "#pragma mark @implementation".
667ced3a 11134
5b77774d
MA
111352012-02-07 Michael Albinus <michael.albinus@gmx.de>
11136
11137 * notifications.el (notifications-on-closed-signal): Make `reason'
11138 optional. (Bug#10744)
11139
af008560
GM
111402012-02-07 Glenn Morris <rgm@gnu.org>
11141
60d47423
GM
11142 * emacs-lisp/easy-mmode.el (define-minor-mode):
11143 Doc fixes for the macro and the mode it defines.
11144
dd605cc4
GM
11145 * image.el (imagemagick-types-inhibit): Doc fix.
11146
af008560
GM
11147 * cus-start.el (imagemagick-render-type): Add it.
11148
5cc59a37
LI
111492012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11150
4d6769e1
JB
11151 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11152 Set the default at load time, too, so that `font-lock-fontify-buffer'
11153 can be called without setting up the entire mode first. This fixes
11154 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11155
9a6dd747
CY
111562012-02-06 Chong Yidong <cyd@gnu.org>
11157
2d16b285
CY
11158 * simple.el (list-processes--refresh): Delete exited processes
11159 (Bug#8094).
11160
171e9b6e
CY
11161 * comint.el (comint-next-prompt): next-single-char-property-change
11162 and prev-single-char-property-change never return nil (Bug#8657).
11163
9a6dd747
CY
11164 * custom.el (defcustom): Doc fix (Bug#9711).
11165
aa4589a7
CY
111662012-02-05 Chong Yidong <cyd@gnu.org>
11167
5c2a252f
CY
11168 * cus-edit.el (custom-variable-reset-backup): Quote the value
11169 before storing it in the customized-value property (Bug#6712).
4aab9006 11170 (custom-display): Add a customization type tag.
983b9602 11171 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11172
aa4589a7
CY
11173 * wid-edit.el (widget-field-value-get): New optional arg to
11174 suppress trailing whitespace truncation.
11175 (character): Use it (Bug#2689).
11176
1ff980ae
AS
111772012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11178
11179 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11180 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11181
03988c98
CY
111822012-02-05 Chong Yidong <cyd@gnu.org>
11183
eeb6cc88
CY
11184 * cus-edit.el (custom-variable-value-create): For mismatched
11185 types, show the current value (Bug#7600).
11186
03988c98
CY
11187 * custom.el (defcustom): Doc fix.
11188
f8cdeef0
GM
111892012-02-05 Glenn Morris <rgm@gnu.org>
11190
11191 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11192
0696d255
JB
111932012-02-05 Juanma Barranquero <lekktu@gmail.com>
11194
11195 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11196 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11197 (pp-last-sexp): Use `looking-at-p'.
11198
34c99998
GM
111992012-02-04 Glenn Morris <rgm@gnu.org>
11200
8f05da42
GM
11201 * files.el (revert-buffer):
11202 Doc fix (mention revert-buffer-in-progress-p).
11203
f160676e
GM
11204 * emacs-lisp/ert-x.el (ert-simulate-command):
11205 Check deferred-action-list (which is obsolete) is bound.
11206
c7291ad9
GM
11207 * subr.el (with-wrapper-hook): Doc fixes.
11208
34c99998
GM
11209 * simple.el (filter-buffer-substring-functions)
11210 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11211
6283a7d3
LL
112122012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11213
11214 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11215 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11216
e96e3013
LL
112172012-02-04 Leo Liu <sdl.web@gmail.com>
11218
11219 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11220
8ded50f2
GM
112212012-02-04 Glenn Morris <rgm@gnu.org>
11222
82ff1d13
GM
11223 * image.el (image-extension-data): Add obsolete alias.
11224
987a0a16
GM
11225 * isearch.el (isearch-update): Doc fix.
11226
ea32ef46
GM
11227 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11228
8ded50f2
GM
11229 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11230
eea14f31
GM
112312012-02-03 Glenn Morris <rgm@gnu.org>
11232
11233 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11234 (image-animate-timeout): Doc fix.
11235
11236 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11237
12f381b7
GM
112382012-02-02 Glenn Morris <rgm@gnu.org>
11239
953cebf5
GM
11240 * server.el (server-auth-dir): Doc fix.
11241 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11242
12f381b7
GM
11243 * subr.el (run-mode-hooks): Doc fix.
11244
953a8c3b
JL
112452012-02-02 Juri Linkov <juri@jurta.org>
11246
11247 * image-mode.el (image-toggle-display-image): Remove tautological
11248 `major-mode' from the `derived-mode-p' test.
11249
c5d3843c
KH
112502012-02-02 Kenichi Handa <handa@m17n.org>
11251
9f6e692e 11252 * composite.el (compose-region): Cancel previous change.
c5d3843c 11253
159462d4 112542012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11255
11256 * composite.el (compose-region, compose-string): Signal error for
11257 a null string component (Bug#6988).
11258
9f562668
CY
112592012-02-01 Chong Yidong <cyd@gnu.org>
11260
e2cef717
CY
11261 * view.el (view-buffer-other-window, view-buffer-other-frame):
11262 Handle special modes like view-buffer (Bug#10650).
11263 (view-buffer): Simplify.
11264
9f562668
CY
11265 * frame.el (set-frame-font): Tweak meaning of third argument.
11266
9f6e692e
JB
11267 * dynamic-setting.el (font-setting-change-default-font):
11268 Use set-frame-font (Bug#9982).
9f562668 11269
781acb9f
GM
112702012-02-01 Glenn Morris <rgm@gnu.org>
11271
6035be52
GM
11272 * progmodes/compile.el (compilation-internal-error-properties):
11273 Respect compilation-first-column in the "*compilation*" buffer.
11274
781acb9f
GM
11275 * emacs-lisp/easy-mmode.el (define-minor-mode):
11276 Relax :variable's test for a named function.
11277
abbceb00
AM
112782012-01-31 Alan Mackenzie <acm@muc.de>
11279
11280 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11281 off by one error.
11282
fce3fdeb
CY
112832012-01-31 Chong Yidong <cyd@gnu.org>
11284
11285 * frame.el (set-frame-font): New arg ALL-FRAMES.
11286
11287 * menu-bar.el (menu-set-font): Use set-frame-font.
11288
11289 * faces.el (face-spec-reset-face): Don't apply unspecified
11290 attribute values to the default face.
11291
47893581
JB
112922012-01-31 Juanma Barranquero <lekktu@gmail.com>
11293
11294 * progmodes/cwarn.el (cwarn): Remove dead link.
11295 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11296 Remove * from defcustom docstrings.
11297 (turn-on-cwarn-mode): Make obsolete.
11298 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11299 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11300
e58e988a
GM
113012012-01-31 Glenn Morris <rgm@gnu.org>
11302
60dc2671 11303 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11304 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11305 Allow named functions to be used as the cdr of :variable.
e58e988a 11306
7a3f511d
GM
113072012-01-30 Glenn Morris <rgm@gnu.org>
11308
11309 * emacs-lisp/authors.el (authors-fixed-entries):
11310 Remove reference to deleted file rnewspost.el.
11311
cb882333
JB
113122012-01-29 Juanma Barranquero <lekktu@gmail.com>
11313
11314 * window.el (window-with-parameter): Remove unused variable `windows'.
11315 (window--side-check): Remove unused variable `code'.
11316 (window--resize-siblings): Remove unused variable `first'.
11317 (adjust-window-trailing-edge): Remove unused variable `failed'.
11318 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11319 Use `let', not `let*'.
11320 (balance-windows-2): Remove unused variable `found'.
11321 (window--state-put-2): Remove unused variable `splits'.
11322 (window-state-put): Remove unused variable `selected'.
11323 (same-window-p): Use `string-match-p'.
11324 (display-buffer-assq-regexp): Remove unused variable `value'.
11325 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11326 Mark argument ALIST as ignored.
11327 (pop-to-buffer): Remove unused variable `old-window'.
11328
907201af
EZ
113292012-01-29 Eli Zaretskii <eliz@gnu.org>
11330
11331 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11332 and .lzma compressed files.
11333
ea162670
CY
113342012-01-29 Chong Yidong <cyd@gnu.org>
11335
5b95ee8a
CY
11336 * frame.el (window-system-default-frame-alist): Doc fix.
11337
ea162670
CY
11338 * dynamic-setting.el (font-setting-change-default-font): Don't
11339 change the default face if SET-FONT argument is non-nil (Bug#9982).
11340
d6e6f4b1
SB
113412012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11342
11343 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11344
0f29fa41 113452012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11346
11347 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11348 breakpoints in files outside current directory (Bug#6098).
11349
db174434
CY
113502012-01-29 Chong Yidong <cyd@gnu.org>
11351
6b25e4e2
SE
11352 * progmodes/python.el: Require ansi-color at top-level.
11353
6df6ae42
JB
11354 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11355 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11356 (lisp-mode-abbrev-table): Add doc.
11357 (lisp-mode-variables): Don't set local-abbrev-table.
11358 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11359
e70ee681
RW
113602012-01-28 Roland Winkler <winkler@gnu.org>
11361
11362 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11363
ace88aa2
RW
113642012-01-28 Roland Winkler <winkler@gnu.org>
11365
11366 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11367 (bibtex-set-dialect): Use it. Either set global values of
11368 dialect-dependent variables or bind these variables buffer-locally
11369 (Bug#10254).
11370 (bibtex-mode): Call bibtex-set-dialect via
11371 hack-local-variables-hook.
eb864a71
LM
11372 (bibtex-dialect): Update docstring.
11373 Add safe-local-variable predicate.
ace88aa2
RW
11374 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11375 bibtex-set-dialect.
11376 (bibtex-mode-map): Define menu for each dialect.
11377 (bibtex-entry): Fix docstring.
11378
93376c5b
CY
113792012-01-28 Chong Yidong <cyd@gnu.org>
11380
11381 * eshell/esh-arg.el (eshell-quote-argument): New function.
11382
11383 * eshell/esh-ext.el (eshell-invoke-batch-file):
11384 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11385 first arg to eshell-parse-command (Bug#10523).
11386
4372494f
DA
113872012-01-28 Drew Adams <drew.adams@oracle.com>
11388
11389 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11390 `default-directory' is non-nil.
11391
4d4ec1f8
EZ
113922012-01-28 Eli Zaretskii <eliz@gnu.org>
11393
11394 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11395 line that displays system-configuration-options. (Bug#9924)
11396
7c188927
DA
113972012-01-28 Drew Adams <drew.adams@oracle.com>
11398
11399 * descr-text.el (describe-char): Show information about POS, in
11400 addition to information about the character at POS. Improve and
11401 update the doc string. Change "code point" to "code point in
11402 charset", to avoid confusion with the character's Unicode code
11403 point shown above that. (Bug#10129)
11404
e0da685a
EZ
114052012-01-28 Eli Zaretskii <eliz@gnu.org>
11406
11407 * descr-text.el (describe-char): Show the raw character, not only
11408 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11409 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11410 for the reasons.
11411
70550acf
PH
114122012-01-28 Phil Hagelberg <phil@hagelb.org>
11413
eb864a71
LM
11414 * emacs-lisp/package.el (package-install):
11415 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11416
0ce8e868
CY
114172012-01-28 Chong Yidong <cyd@gnu.org>
11418
cb882333
JB
11419 * emacs-lisp/package.el (package-maybe-load-descriptor):
11420 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11421 (package-maybe-load-descriptor): Use it.
11422 (package-download-transaction): Fully load required packages
11423 inside the loop, so that `require' calls work (Bug#10593).
11424 (package-install): No need to call package-initialize now.
11425
2e7f3bea
CY
114262012-01-28 Chong Yidong <cyd@gnu.org>
11427
6e9bad14
CY
11428 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11429
f823b8ca
CY
11430 * tooltip.el (tooltip-mode): Doc fix.
11431 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11432
2680c309
CY
11433 * frame.el (set-cursor-color): Doc fix (Bug#352).
11434
d7a9e63b
CY
11435 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11436 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11437
2e7f3bea
CY
11438 * cus-edit.el (custom-buffer-create-internal): Fix search button
11439 action (Bug#10542).
2ae01800 11440 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11441
fc4f7a23
EW
114422012-01-27 Eduard Wiebe <usenet@pusto.de>
11443
11444 * dired.el (dired-mark-files-regexp):
11445 Include any subdirectory components. (Bug#10445)
11446
7dd37071
ML
114472012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11448
11449 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11450 Handle [host]:port syntax. (Bug#10533)
11451
a268160b
AH
114522012-01-27 Alex Harsanyi <harsanyi@mac.com>
11453
11454 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11455
e43273ef
GM
114562012-01-26 Glenn Morris <rgm@gnu.org>
11457
11458 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11459 * term.el (term-raw-escape-map): Use Control-X-prefix.
11460 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11461
1edf595d
MR
114622012-01-25 Martin Rudalics <rudalics@gmx.at>
11463
11464 * window.el (window-state-get, window--state-get-1): Don't deal
11465 with fixed-sizeness of windows. Simplify code.
11466
fa8eafef
JC
114672012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11468
6df6ae42
JB
11469 * window.el (window--state-get-1, window--state-put-2):
11470 Don't save and restore the mark.
fa8eafef 11471
0b21c100
CY
114722012-01-25 Chong Yidong <cyd@gnu.org>
11473
11474 * custom.el (custom-variable-p): Doc fix.
11475
5ae1a6c8
GM
114762012-01-25 Glenn Morris <rgm@gnu.org>
11477
40047858
GM
11478 * dired.el (dired-goto-file): Handle some of the more common
11479 characters that `ls -b' escapes. (Bug#10596)
11480
5ddce96c
GM
11481 * progmodes/compile.el (compilation-next-error-function):
11482 Respect compilation-first-column in the "*compilation*" buffer.
11483 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11484
5ae1a6c8
GM
11485 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11486
b559f1a9
GM
114872012-01-24 Glenn Morris <rgm@gnu.org>
11488
11489 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11490
6725d21a
JD
114912012-01-24 Julien Danjou <julien@danjou.info>
11492
11493 * color.el (color-rgb-to-hsl): Fix value computing.
11494 (color-hue-to-rgb): New function.
11495 (color-hsl-to-rgb): New function.
11496 (color-clamp, color-saturate-hsl, color-saturate-name)
11497 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11498 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11499
70df4bbe
GM
115002012-01-24 Glenn Morris <rgm@gnu.org>
11501
11502 * vc/vc-rcs.el (vc-rcs-create-tag):
11503 * vc/vc-sccs.el (vc-sccs-create-tag):
11504 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11505
802a2ae2
ML
115062012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11507
11508 * eshell/esh-util.el (eshell-read-hosts-file):
11509 Skip comment lines. (Bug#10549)
11510
d7128bb1
ML
11511 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11512
d1a5c3b4
JB
115132012-01-23 Juanma Barranquero <lekktu@gmail.com>
11514
2724d9c7
JB
11515 * subr.el (display-delayed-warnings): Doc fix.
11516 (collapse-delayed-warnings): New function to collapse identical
11517 adjacent warnings.
11518 (delayed-warnings-hook): Add it.
d1a5c3b4 11519
a5509865
MA
115202012-01-22 Michael Albinus <michael.albinus@gmx.de>
11521
11522 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11523
a5509865
MA
11524 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11525 (tramp-default-user-alist): Don't add "pscp".
11526 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11527 property "login-as", if set. (Bug#10530)
11528
cc6d5805
MA
115292012-01-21 Michael Albinus <michael.albinus@gmx.de>
11530
11531 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11532 "plink1" and "psftp". (Bug#10530)
11533
115342012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
11535
11536 * international/mule-cmds.el (prefer-coding-system): Show a
11537 warning message if the default value of file-name-coding-system
11538 was not changed.
11539
f0960428
JC
115402012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11541
cb882333
JB
11542 * windmove.el (windmove-reference-loc):
11543 Fix windmove-reference-loc miscalculation.
f0960428 11544
dd6f2a63
JB
115452012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11546
11547 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11548 default unit.
11549
7b447e9b
GM
115502012-01-21 Glenn Morris <rgm@gnu.org>
11551
117a9ea1
GM
11552 * international/mule.el (auto-coding-alist): Add .tbz.
11553
7b447e9b
GM
11554 * files.el (local-enable-local-variables): Doc fix.
11555 (inhibit-local-variables-regexps): Rename from
11556 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11557 Doc fix. Add some extensions from auto-coding-alist.
11558 (inhibit-local-variables-suffixes):
11559 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11560 (inhibit-local-variables-p):
11561 New function, extracted from set-auto-mode-1.
11562 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11563 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11564 (hack-local-variables): Doc fix. Make the mode-only case
11565 respect enable-local-variables and friends.
11566 Respect inhibit-local-variables-regexps for file-locals, but
11567 not for directory-locals.
11568 (set-visited-file-name):
11569 Take account of inhibit-local-variables-regexps.
11570 Whether it applies may change as the file name is changed.
11571 * jka-cmpr-hook.el (jka-compr-install):
11572 * jka-compr.el (jka-compr-uninstall):
11573 Update for inhibit-first-line-modes-suffixes name change.
11574
dd6e3cdd
MR
115752012-01-20 Martin Rudalics <rudalics@gmx.at>
11576
11577 * help-macro.el (make-help-screen): Temporarily restore original
11578 binding for minor-mode-map-alist (Bug#10454).
11579
0d0deb38
JD
115802012-01-19 Julien Danjou <julien@danjou.info>
11581
11582 * color.el (color-name-to-rgb): Use the white color to find the max
11583 color component value and return correctly computed values.
11584 (color-name-to-rgb): Add missing float conversion for max value.
11585
34a02f46
MR
115862012-01-19 Martin Rudalics <rudalics@gmx.at>
11587
11588 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11589 special state value for window-persistent-parameters.
11590 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11591 (window--state-put-2): Reset all window parameters to nil before
11592 assigning values of persistent parameters.
11593
606c44c4
AM
115942012-01-18 Alan Mackenzie <acm@muc.de>
11595
11596 Eliminate sluggishness and hangs in fontification of "semicolon
11597 deserts".
11598
cb882333
JB
11599 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11600 Change value 10000 -> 3000.
606c44c4
AM
11601 (c-state-safe-place): Reformulate so it doesn't stack up an
11602 infinite number of wrong entries in c-state-nonlit-pos-cache.
11603 (c-determine-limit-get-base, c-determine-limit): New functions to
11604 determine backward search limits disregarding literals.
11605 (c-find-decl-spots): Amend commenting.
11606 (c-cheap-inside-bracelist-p): New function which detects "={".
11607
11608 * progmodes/cc-fonts.el
11609 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11610 backward search.
11611 (c-font-lock-declarations): Fix an occurrence of point being
11612 undefined. Check additionally for point being in a bracelist or
11613 near a macro invocation without a semicolon so as to avoid a
11614 fruitless time consuming search for a declarator. Give a more
11615 precise search limit for declarators using the new
11616 c-determine-limit.
11617
f3860cea
GM
116182012-01-18 Glenn Morris <rgm@gnu.org>
11619
11620 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11621 (set-auto-mode): Doc fixes.
11622
1db03b16
GM
116232012-01-17 Glenn Morris <rgm@gnu.org>
11624
0e6038be
GM
11625 * isearch.el (search-nonincremental-instead): Fix doc typo.
11626
1db03b16
GM
11627 * dired.el (dired-insert-directory): Handle newlines in directory name.
11628 (dired-build-subdir-alist): Unescape newlines in directory name.
11629
4cb0aa75
MA
116302012-01-17 Michael Albinus <michael.albinus@gmx.de>
11631
11632 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11633 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11634 (tramp-action-terminal): Use it. (Bug#10530)
11635
1d00653d
SM
116362012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11637
11638 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11639
6a6ee00d
MR
116402012-01-16 Martin Rudalics <rudalics@gmx.at>
11641
11642 * window.el (window-state-ignored-parameters): Remove variable.
11643 (window--state-get-1): Rename argument MARKERS to IGNORE.
11644 Handle persistent window parameters. Make copy of clone-of
11645 parameter only if requested. (Bug#10348)
11646 (window--state-put-2): Install a window parameter only if it has
11647 a non-nil value or an existing parameter shall be overwritten.
11648
97912def
MA
116492012-01-15 Michael Albinus <michael.albinus@gmx.de>
11650
11651 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11652
688070a5
EZ
116532012-01-14 Eli Zaretskii <eliz@gnu.org>
11654
11655 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11656 don't pass the (nil) value of `upnode' to string-match.
11657
301afadc
CY
116582012-01-14 Chong Yidong <cyd@gnu.org>
11659
11660 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11661 Fix values recognized by the cursorBlink resource.
301afadc 11662
9e5788aa
PE
116632012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11664
11665 * epg.el (epg--make-temp-file): Avoid permission race condition
11666 when running on old Emacs versions (bug#10403).
11667
3cdb7f5a
GM
116682012-01-14 Glenn Morris <rgm@gnu.org>
11669
11670 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11671
8c82b1b4
AM
116722012-01-13 Alan Mackenzie <acm@muc.de>
11673
11674 Fix filling for when filladapt mode is enabled.
11675
11676 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11677 c-mask-paragraph, pass in `fill-paragraph' rather than
11678 `fill-region-as-paragraph'. (This is a reversion of a previous
11679 change.)
eb864a71
LM
11680 * progmodes/cc-mode.el (c-basic-common-init):
11681 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11682
e517eda4
GM
116832012-01-13 Glenn Morris <rgm@gnu.org>
11684
1498536e
GM
11685 * dired.el (dired-switches-escape-p): New function.
11686 (dired-insert-directory): Use dired-switches-escape-p.
11687 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11688
e517eda4
GM
11689 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11690
328f984d
GM
116912012-01-12 Glenn Morris <rgm@gnu.org>
11692
11693 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11694 changes in adaptive-fill-regexp. (Bug#10276)
11695
2cc769a8
AM
116962012-01-11 Alan Mackenzie <acm@muc.de>
11697
11698 Fix Emacs bug #10463 - put `widen's around the critical spots.
11699
1d00653d 11700 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11701 widen around each invocation of c-state-pp-to-literal. Remove an
11702 unused let variable.
11703
e52c37fa
GM
117042012-01-11 Glenn Morris <rgm@gnu.org>
11705
11706 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11707 Doc fix.
e52c37fa 11708
96f8741e
CY
117092012-01-10 Chong Yidong <cyd@gnu.org>
11710
1d00653d
SM
11711 * net/network-stream.el (network-stream-open-starttls):
11712 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11713 response to the capability command.
11714
b09a806e
GM
117152012-01-10 Glenn Morris <rgm@gnu.org>
11716
11717 * mail/unrmail.el (unrmail): Tweak previous change.
11718
7655cb66
CY
117192012-01-09 Chong Yidong <cyd@gnu.org>
11720
11721 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11722
9d5a8f0b
AM
117232012-01-08 Alan Mackenzie <acm@muc.de>
11724
11725 Optimise font locking in long enum definitions.
11726
11727 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11728 arm to a cond form to handle enums.
11729 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11730 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11731
9a0115ab 117322012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11733
11734 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11735 (Bug#10401)
6bb72cbd 11736
f186bb95
LMI
117372012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11738
29232a68
LMI
11739 * faces.el (set-face-attribute): Clarify the meaning of the nil
11740 frame (bug#10294).
11741
4e5d086d
LMI
11742 * subr.el (with-selected-frame): Mention that the selected frame
11743 is restored (bug#9980).
11744
8e66aebe
LMI
11745 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11746 (bug#9759).
11747
cd394be1 11748 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11749 (password-read): Don't autoload unused function.
11750
adf4e762
JB
117512012-01-07 Juanma Barranquero <lekktu@gmail.com>
11752
11753 * progmodes/which-func.el (which-func-mode): Turn into a
11754 non-interactive function and mark as obsolete (bug#10428).
11755
89bd9ccd
CY
117562012-01-06 Chong Yidong <cyd@gnu.org>
11757
11758 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11759 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11760 functions, along with 1 and -1.
11761
4afee9d5
EZ
117622012-01-06 Eli Zaretskii <eliz@gnu.org>
11763
11764 * time.el (display-time-load-average)
11765 (display-time-default-load-average): Doc fixes. See the thread
11766 starting at
11767 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11768 for the details.
11769
536aea70
GM
117702012-01-06 Glenn Morris <rgm@gnu.org>
11771
665ae865
GM
11772 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11773 has no messages. (Bug#10377)
11774
c869783d
GM
11775 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11776 than Info-edit. (Bug#10385)
11777
2bb4227e
GM
11778 * time.el (display-time-load-average, display-time-next-load-average):
11779 Doc fixes.
11780
7d5944b9
GM
11781 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11782 local setting of buffer-read-only to the input buffer. (Bug#10419)
11783
536aea70
GM
11784 * calendar/calendar.el (calendar-mode):
11785 Locally set scroll-margin to 0. (Bug#10379)
11786
7dccca16
UM
117872012-01-06 Ulrich Mueller <ulm@gentoo.org>
11788
11789 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11790
afbb7930
GM
117912012-01-05 Glenn Morris <rgm@gnu.org>
11792
11793 * eshell/em-unix.el (diff-no-select): Autoload it.
11794 (eshell/diff): Use diff-no-select. (Bug#10420)
11795
04482335
CY
117962012-01-05 Chong Yidong <cyd@gnu.org>
11797
7baca3bc
CY
11798 * shell.el (shell-dynamic-complete-functions): Revert last change.
11799 (shell-command-completion-function): New function.
11800 (shell-completion-vars): Use it to implement
11801 shell-completion-execonly (Bug#10417).
11802
04482335
CY
11803 * custom.el (enable-theme): Don't set custom-safe-themes.
11804
1d00653d
SM
11805 * cus-theme.el (custom-theme-merge-theme):
11806 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11807
bb5aa5d6
MM
118082012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11809
11810 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11811 first prompt in `sql-interacive-mode'.
11812 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11813 keywords.
6df6ae42 11814 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11815 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11816 context of original buffer. Invoke `sql-login-hook'.
11817
a7183d7c
EZ
118182012-01-04 Eli Zaretskii <eliz@gnu.org>
11819
11820 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11821 letters in cite-prefix.
11822
a1eacd1e
LMI
118232012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11824
11825 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11826
787cdb34
CY
118272012-01-03 Chong Yidong <cyd@gnu.org>
11828
1d00653d
SM
11829 * shell.el (shell-dynamic-complete-functions):
11830 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11831 comint-filename-completion first (Bug#10417).
11832
30710442
RS
118332012-01-02 Richard Stallman <rms@gnu.org>
11834
11835 * battery.el (battery-status-function):
11836 Detect when to use battery-yeeloong-sysfs.
11837 (battery-echo-area-format): Add string for Yeeloong.
11838 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11839 (battery-yeeloong-sysfs): New function.
11840
f75bfc33
CY
118412012-01-02 Chong Yidong <cyd@gnu.org>
11842
11843 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11844 (dirtrack): Merge code for handling relative filenames in prompt
11845 from shell-dir-cookie-watcher.
11846 (dirtrack-debug-message): New arg to avoid excess format calls.
11847
11848 * shell.el (shell-dir-cookie-re): Variable deleted.
11849 (shell-dir-cookie-watcher): Function deleted.
11850 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11851 with dirtrack-mode.
11852
651e947e
EZ
118532012-01-01 Eli Zaretskii <eliz@gnu.org>
11854
1d00653d
SM
11855 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11856 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11857 libgnutls-26.dll.
11858
94d4c7dc
AS
118592011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11860
11861 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11862
8d43f3cd
EZ
118632011-12-31 Eli Zaretskii <eliz@gnu.org>
11864
11865 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11866 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11867
98c8795a
MA
118682011-12-29 Michael Albinus <michael.albinus@gmx.de>
11869
11870 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11871 also for alternative shells.
11872 (tramp-open-connection-setup-interactive-shell): Check, whether
11873 the shell is a busybox.
11874 (tramp-send-command): Don't suppress multiple prompts for
11875 busyboxes, it hurts.
11876
51281b32
CY
118772011-12-28 Chong Yidong <cyd@gnu.org>
11878
11879 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11880 (gdb-get-source-file): Move mode line update to
11881 gdb-get-source-file (Bug#10087).
11882
2170cb53
CY
118832011-12-25 Chong Yidong <cyd@gnu.org>
11884
11885 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11886 gud-gdb-marker-filter without taking it as an argument.
11887 (gud-gdb-run-command-fetch-lines): Caller changed.
11888 (gud-gdb-completion-function): New variable.
11889 (gud-gdb-completion-at-point): Use it.
11890 (gud-gdb-completions-1): Split from gud-gdb-completions.
11891
11892 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11893 function as separate arguments.
11894 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11895 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11896 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11897 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11898 (gdb-stopped, def-gdb-auto-update-trigger)
11899 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11900 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11901 Callers changed.
2170cb53
CY
11902 (gud-gdbmi-completions): New function.
11903 (gdb): Use it for generating the completion table.
11904
be8b11bb
AM
119052011-12-24 Alan Mackenzie <acm@muc.de>
11906
11907 Introduce a mechanism to widen the region used in context font
1d00653d 11908 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11909
1d00653d
SM
11910 * progmodes/cc-langs.el (c-before-font-lock-functions):
11911 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11912 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11913 functions to be run just before context (etc.) font locking.
11914
11915 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11916 New, functionality extracted from
be8b11bb 11917 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11918 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11919 (c-after-change): Set c-in-after-change-fontification.
11920 (c-set-fl-decl-start): Rejig its interface, so it can be called
11921 from both after-change and context fontifying.
b81d40f0
JB
11922 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11923 New functions.
11924 (c-standard-font-lock-fontify-region-function): New variable.
11925 (c-font-lock-fontify-region): New function.
be8b11bb 11926
341cf6ac
JL
119272011-12-24 Juri Linkov <juri@jurta.org>
11928
11929 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11930 (Bug#10348)
11931
bffcee0a
MA
119322011-12-23 Michael Albinus <michael.albinus@gmx.de>
11933
11934 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11935 existence of source file. (Bug#10325)
11936
cb5e207c
AM
119372011-12-23 Alan Mackenzie <acm@muc.de>
11938
11939 Fix unstable fontification inside templates.
11940
b81d40f0
JB
11941 * progmodes/cc-langs.el (c-before-font-lock-functions):
11942 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11943 additionally has c-set-fl-decl-start. The other languages (apart
11944 from AWK) have that as a single entry.
11945
b81d40f0
JB
11946 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11947 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11948 c-set-fl-decl-start.
11949
b81d40f0
JB
11950 * progmodes/cc-mode.el (c-common-init, c-after-change):
11951 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11952 (c-set-fl-decl-start): New function, extracted from
11953 c-font-lock-enclosing-decls and enhanced.
11954
60ff536c
JB
119552011-12-23 Juanma Barranquero <lekktu@gmail.com>
11956
11957 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11958
1c4757d6
JL
119592011-12-22 Juri Linkov <juri@jurta.org>
11960
11961 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11962
d031f2c7
CY
119632011-12-22 Chong Yidong <cyd@gnu.org>
11964
11965 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11966
bace743a
DA
119672011-12-21 Drew Adams <drew.adams@oracle.com>
11968
11969 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11970
728a1f2b
JC
119712011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11972
11973 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11974
0d373f73
TZ
119752011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11976
fec0aaa4
TZ
11977 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11978 highlighting and support. Fix up comments for capitalization.
11979 (cfengine-mode-debug): New var.
11980 (cfengine3-mode): Change the modeline indicator to "CFE3".
11981 (cfengine3-font-lock-keywords): Improve defun highlighting.
11982 (cfengine2-actions): Rename from `cfengine-actions'.
11983 (cfengine2-font-lock-keywords): Rename from
11984 `cfengine-font-lock-keywords'.
11985 (cfengine2-imenu-expression): Rename from
11986 `cfengine-imenu-expression'.
11987 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11988 (cfengine2-beginning-of-defun): Rename from
11989 `cfengine-beginning-of-defun'.
11990 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11991 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11992 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11993 modeline indicator to "CFE2".
11994 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11995 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11996
bc86f573
CY
119972011-12-21 Chong Yidong <cyd@gnu.org>
11998
11999 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12000 filename argument.
12001
d45ba96b
MR
120022011-12-20 Martin Rudalics <rudalics@gmx.at>
12003
12004 * window.el (window-normalize-buffer-to-display): Remove.
12005 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12006
a6198c90
CY
120072011-12-19 Chong Yidong <cyd@gnu.org>
12008
12009 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12010 Don't signal an error in a predicate function; return non-nil.
12011 (vc-dir-mark-file): Move the error here.
12012 (vc-dir-mark-unmark): If acting on the region, keep going if one
12013 of the entries cannot be marked/unmarked.
12014 (vc-dir-mark-all-files): If current entry is a directory, mark
12015 only child files, as documented.
12016
34c5fb55
VB
120172011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12018
12019 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12020 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12021 addition.
12022
c803b2b7
JD
120232011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12024
12025 * term/ns-win.el (ns-get-selection-internal)
12026 (ns-store-selection-internal): Declare.
1154d12e
JB
12027 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12028 Declare as obsolete.
12029 (ns-get-pasteboard, ns-paste-secondary):
12030 Use ns-get-selection-internal.
41e9b956 12031 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12032 Use ns-store-selection-internal.
c803b2b7 12033
9cff91f8 120342011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12035
12036 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12037 (vc-deduce-fileset): Doc fix.
99a289d9 12038
f16c898a
AS
120392011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12040
12041 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12042
763237c4
SS
120432011-12-13 Sam Steingold <sds@gnu.org>
12044
12045 * man.el (Man-getpage-in-background): When running under a
12046 window-system, ignore $MANWIDTH and $COLUMNS.
12047
5fc1c122
KH
120482011-12-15 Kenichi Handa <handa@m17n.org>
12049
12050 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12051 (setup-ethiopic-environment-internal): Comment out key-binding for
12052 ethio-toggle-punctuation.
12053
13d49cbb
AM
120542011-12-13 Alan Mackenzie <acm@muc.de>
12055
898169a2
AM
12056 Add the switch statement to AWK Mode.
12057
7a71b18d 12058 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
12059 "default" to the keywords regexp.
12060
7a71b18d 12061 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 12062 expression as the rest.
1d00653d
SM
12063 (c-nonlabel-token-key): Allow string literals for AWK.
12064 Refactor for the other modes.
898169a2 12065
13d49cbb 12066 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 12067 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
12068 routines. Limit backward searching in c-font-lock-enclosing.decl.
12069
12070 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12071 pp-state and literal type in addition to the limits.
1d00653d 12072 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 12073 (c-state-literal-at): Use the above new defun.
1d00653d
SM
12074 (c-slow-in-literal, c-fast-in-literal): Remove.
12075 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
12076
12077 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12078 being in a literal. Add a limit for backward searching.
12079
12080 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12081 c-slow-in-literal.
12082
15e0efc7
SM
120832011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12084
12085 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12086
454592a6
MR
120872011-12-13 Martin Rudalics <rudalics@gmx.at>
12088
12089 * window.el (delete-other-windows): Use correct frame in call to
12090 window-with-parameter.
12091
87393f26
DP
120922011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12093
12094 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12095 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12096 (makefile-gmake-statements, makefile-makepp-statements):
12097 Use it and add new makepp keywords.
12098 (makefile-makepp-font-lock-keywords): Add new patterns.
12099 (makefile-match-function-end): Match new [...] and [[...]].
12100
11636b22
JB
121012011-12-11 Juanma Barranquero <lekktu@gmail.com>
12102
12103 * ses.el (ses-call-printer-return, ses-cell-property-get)
12104 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12105 (ses-create-cell-variable, ses-reset-header-string)
12106 (ses-cell-set-formula, ses-repair-cell-reference-all)
12107 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12108 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12109 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12110 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12111 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12112 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12113 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12114 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12115 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12116 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12117 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12118 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12119
cf018193
VB
121202011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12121
12122 * ses.el: The overall change is to add cell renaming, that is
12123 setting fancy names for cell symbols other than name matching
12124 "\\`[A-Z]+[0-9]+\\'" regexp .
12125 (ses-create-cell-variable): New defun.
12126 (ses-relocate-formula): Relocate formulas only for cells the
12127 symbols of which are not renamed, i.e. symbols whose names do not
12128 match regexp "\\`[A-Z]+[0-9]+\\'".
12129 (ses-relocate-all): Relocate values only for cells the symbols of
12130 which are not renamed.
12131 (ses-load): Create cells variables as the (ses-cell ...) are read,
12132 in order to check row col consistency with cell symbol name only
12133 for cells that are not renamed.
12134 (ses-replace-name-in-formula): New defun.
12135 (ses-rename-cell): New defun.
12136
ee957461
CY
121372011-12-11 Chong Yidong <cyd@gnu.org>
12138
12139 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12140 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12141
9a9e9ef0
MR
121422011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12143
12144 * window.el (other-window): Fix docstring.
12145
92a8eba5
EZ
121462011-12-10 Eli Zaretskii <eliz@gnu.org>
12147
12148 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12149 `from' or `to' address before taking its substring.
12150 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12151 encoded name is chopped in the middle of the encoded string, and
12152 thus displayed encoded.
12153
e152e577
JB
121542011-12-10 Juanma Barranquero <lekktu@gmail.com>
12155
12156 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12157
e5d84bfe
EZ
121582011-12-10 Eli Zaretskii <eliz@gnu.org>
12159
12160 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12161 to use texinfo-update-node and commands that call it if the
12162 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12163 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12164 (texinfo-all-menus-update, texinfo-master-menu)
12165 (texinfo-update-node, texinfo-every-node-update)
12166 (texinfo-multiple-files-update): Doc fix. Warn against updating
12167 all the @node lines.
12168 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12169 argument is numeric. Explain better in the doc string what the
12170 function really does.
12171 (texinfo-insert-master-menu-list): Improve the error message
12172 displayed if there's no menu in the Top node.
12173 (Bug#2975) See also this thread:
e5d84bfe
EZ
12174 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12175
1d84e9bb
MG
121762011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12177
12178 * speedbar.el (speedbar-supported-extension-expressions):
12179 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12180
382c953b
JB
121812011-12-09 Juanma Barranquero <lekktu@gmail.com>
12182
12183 * printing.el (pr-mode-alist):
12184 * simple.el (filter-buffer-substring-functions)
12185 (completion-list-insert-choice-function):
12186 * window.el (window-with-parameter, window-atom-root)
12187 (window-sides-slots, window-size-fixed, window-min-delta)
12188 (window-max-delta, window--resize-mini-window)
12189 (window--resize-child-windows-normal, window-tree)
12190 (delete-other-windows, quit-window, split-window)
12191 (display-buffer-record-window, special-display-buffer-names)
12192 (special-display-regexps, special-display-popup-frame)
12193 (same-window-p, split-window-sensibly)
12194 (display-buffer-overriding-action, display-buffer-alist)
12195 (display-buffer-base-action, display-buffer, switch-to-buffer)
12196 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12197 (fit-window-to-buffer, recenter-positions)
12198 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12199 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12200 and remove unneeded backslashes in docstrings.
12201
39c9faef
SM
122022011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12203
98449af8
SM
12204 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12205
39c9faef
SM
12206 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12207 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12208 end in ".mk".
12209 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12210 when reading the makefile (bug#10116).
12211
86ed9fdc
SM
122122011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12213
12214 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12215 (bug#10116).
12216
5580f89d
GM
122172011-12-06 Glenn Morris <rgm@gnu.org>
12218
12219 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12220
28d3917c
CY
122212011-12-06 Chong Yidong <cyd@gnu.org>
12222
12223 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12224
a98edce9
JB
122252011-12-06 Juanma Barranquero <lekktu@gmail.com>
12226
12227 * textmodes/table.el (table-shorten-cell): Fix typo.
12228
e65adfac
CG
122292011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12230
12231 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12232
71cc0b74
EZ
122332011-12-05 Eli Zaretskii <eliz@gnu.org>
12234
12235 * descr-text.el (describe-char): Fix display of strong
12236 right-to-left characters and directional embeddings and overrides.
12237
12238 * simple.el (what-cursor-position): Fix display of codepoints of
12239 strong right-to-left characters.
12240
315bc30d
CY
122412011-12-05 Chong Yidong <cyd@gnu.org>
12242
12243 * faces.el (read-color): Doc fix.
12244
58a70b94
GM
122452011-12-05 Glenn Morris <rgm@gnu.org>
12246
12247 * align.el (align--set-marker): Add doc-string.
12248 Don't try to move something that is not a marker. (Bug#10216)
12249
5158face
GM
122502011-12-04 Glenn Morris <rgm@gnu.org>
12251
12252 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12253 overly zealous deletion of trailing whitespace.
12254
520fca41
JB
122552011-12-04 Juanma Barranquero <lekktu@gmail.com>
12256
12257 * server.el (server-delete-client): On Windows, do not try to delete
12258 the only terminal.
12259 (server-process-filter): On Windows, treat requests for a tty frame as
12260 if they were for a GUI frame if the running server is in GUI mode.
12261
5e605a2e
GM
122622011-12-03 Glenn Morris <rgm@gnu.org>
12263
12264 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12265
5c3fe83f
SM
122662011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12267
6f5e57e7
SM
12268 * electric.el: Streamline electric-indent's hook.
12269 (electric-indent-chars): Revert to simple list.
12270 (electric-indent-functions): New var.
12271 (electric-indent-post-self-insert-function): Use it.
12272
5c3fe83f
SM
12273 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12274 there's no inferior buffer (bug#10196).
12275 (prolog-consult-compile): Don't use toggle-read-only.
12276
6bdac736
MA
122772011-12-02 Michael Albinus <michael.albinus@gmx.de>
12278
12279 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12280 interrupt. (Bug#10187)
12281
6131ba7f
SM
122822011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12283
99c79fee
SM
12284 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12285 (bug#9160).
12286
6131ba7f
SM
12287 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12288 (bug#10191).
12289
cb0a02ea
JL
122902011-12-02 Juri Linkov <juri@jurta.org>
12291
12292 * info.el (Info-search): Display "end of manual" when Isearch
12293 reaches the end of single-file Info manual. (Bug#9918)
12294
66e0570c
EZ
122952011-12-02 Eli Zaretskii <eliz@gnu.org>
12296
12297 * isearch.el (isearch-message-prefix): Run the input method part
12298 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12299
02b16839
JL
123002011-12-02 Juri Linkov <juri@jurta.org>
12301
12302 * isearch.el (isearch-occur): Use `word-search-regexp' for
12303 `isearch-word'.
12304 (isearch-search-and-update): Add condition for `isearch-word' and
12305 call `word-search-regexp'. (Bug#10145)
12306
0b950688
GM
123072011-12-01 Glenn Morris <rgm@gnu.org>
12308
12309 * eshell/em-hist.el (eshell-hist-initialize):
12310 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12311 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12312
9505c3c7
SM
123132011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12314
12315 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12316
1bbe96b2 123172011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12318
a1beca85
SM
12319 * progmodes/verilog-mode.el (verilog-pretty-expr):
12320 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12321 verilog, such as += *= and the like.
12322 (verilog-assignment-operator-re): Regular expression to find the
12323 assigment operator in a verilog assignment.
12324 (verilog-assignment-operation-re): Regular expression to find an
12325 assignment statement for pretty-expr.
12326 (verilog-in-attribute-p): Query returns true if point is in an
12327 attribute context; used to skip these for expression line up from
12328 pretty-expr.
12329 (verilog-in-parameter-p): Query returns true if point is in an
12330 parameter definition context; used to skip these for expression
12331 line up from pretty-expr.
12332 (verilog-in-parenthesis-p): Query returns true if point is in a
12333 parenthetical expression, specifically ( ) but not [ ] or { };
12334 used by pretty-expr.
12335 (verilog-just-one-space): If there is no space, don't add one.
12336 (verilog-get-lineup-indent-2): Specifically skip just attribute
12337 contexts for expression lineup, rather than skipping all
12338 parenthetical expressions.
12339 (verilog-calculate-indent): Fix comment, and fix indent.
12340 (verilog-do-indent): Indent declarations in lists (suggested by
12341 Joachim Lechner).
12342 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12343 skeleton items.
12344 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12345 by Alain Mellan).
12346
1bbe96b2 123472011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12348
12349 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12350 parameters with embedded comments. Reported by Ray Stevens.
12351 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12352 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12353 Reported by Tim Holt.
12354 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12355 instantiated by upper module causing wrong expansion until AUTOed a
12356 second time. Reported by K C Buckenmaier.
12357 (verilog-diff-auto): Fix showing .* as a difference when
12358 `verilog-auto-star-save' off. Reported by Dan Dever.
12359 (verilog-auto-reset, verilog-read-always-signals)
12360 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12361 temporary signals in reset list if
12362 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12363 style to each signal's assignment type, bug381.
12364 Reported by Thomas Esposito.
6288f0ca
WS
12365 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12366 (verilog-uvm-statement-re): Support UVM indentation and
12367 highlighting, with old OVM keywords only.
a1beca85 12368 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12369 Support AUTOTIEOFF creating non-wire data types.
12370 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12371 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12372 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12373 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12374 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12375 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12376 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12377 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12378 non-numeric vector width. Reported by Alex Reed.
12379 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12380 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12381 (verilog-auto-delete-trailing-whitespace):
12382 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12383 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12384 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12385 Fix verilog-scan-cache corruption when running user AUTO expansion
12386 hooks that call indentation routines.
12387 (verilog-simplify-range-expression): Fix typo ignoring lower case
12388 identifiers.
12389 (verilog-delete-auto): Fix delete-autos to also remove user created
12390 automatics, as long as they start with AUTO.
12391 (verilog-batch-diff-auto, verilog-diff-auto)
12392 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12393 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12394 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12395 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12396 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12397 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12398 is disabled and its cache will get corrupt, causing AUTOS not to
12399 expand. Instead use only -quick functions.
12400 (verilog-scan-region): Fix scanning over escaped quotes.
12401 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12402 (verilog-re-search-backward-quick)
12403 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12404 related functions now ignore strings, to fix misparsing of strings
12405 with magic comments embedded in them.
a1beca85
SM
12406 (verilog-read-auto-template):
12407 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12408 Reported by Brad Dobbie.
12409 (verilog-read-auto-template):
12410 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12411 Reported by Brad Dobbie.
6288f0ca
WS
12412 (verilog-auto-inst, verilog-auto-inst-param)
12413 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12414 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12415 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12416 debugging templates without merge conflicts, bug357.
12417 Reported by Brad Dobbie.
12418 (verilog-read-auto-template):
12419 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12420 Reported by Brad Dobbie.
12421 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12422 abbrevs so user won't be asked to save.
12423 (verilog-read-auto-lisp-present): Fix to start at beginning of
12424 buffer in case called outside of verilog-auto.
12425 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12426 to "X-2". Reported by Matthew Myers.
12427 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12428 all inputs from module templates. Reported by Leith Johnson.
12429 (verilog-module-inside-filename-p): Fix locating programs as with
12430 modules.
12431 (verilog-auto-inst-port): Fix vl-width expressions when using
12432 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12433 (verilog-decls-get-regs, verilog-decls-get-signals,
12434 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12435 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12436 verilog-read-decls): Combine reg and wire structures into one var
12437 structure to represent SystemVerilog concepts.
12438 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12439 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12440 (verilog-auto-wire-type, verilog-insert-definition):
12441 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12442 SystemVerilog "logic" keyword instead of "wire"/"reg".
12443 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12444 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12445 ifdef or generate if so there's not a driver conflict).
12446 Reported by Matthew Myers.
12447 (verilog-auto-declare-nettype, verilog-insert-definition):
12448 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12449 `default_nettype none. Reported by Julian Gorfajn.
12450 (verilog-read-always-signals-recurse, verilog-read-decls)
12451 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12452 malformed end statement, bug325. Reported by Joshua Wise and
12453 Andrew Drake.
12454 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12455 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12456 when expanding .* in interfaces, bug320.
12457 Reported by Pierre-David Pfister.
6288f0ca 12458 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12459 name and open parenthesis, bug317.
12460 Reported by Pierre-David Pfister.
6288f0ca
WS
12461 (verilog-simplify-range-expression): Fix simplification of
12462 multiplications inside AUTOWIRE connections, bug303.
12463 (verilog-auto-inst-port): Support parameter expansion in
12464 multidimensional arrays.
12465 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12466 after "assert property". Reported by Julian Gorfajn.
12467 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12468 with multiplication, bug303.
12469 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12470 Reported by Jan Frode Lonnum.
12471
1bbe96b2
GM
124722011-11-30 Juanma Barranquero <lekktu@gmail.com>
12473
12474 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12475 (hfy-shell-file-name, hfy-shell):
12476 * international/fontset.el (x-decompose-font-name): Fix typos.
12477
124782011-11-29 Ken Brown <kbrown@cornell.edu>
12479
12480 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12481 (gdb-version): Remove defvar.
12482 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12483 (gdb-gud-context-command, gdb-non-stop-handler)
12484 (gdb-current-context-command, gdb-stopped): Use it.
12485 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12486 (gdb-non-stop-handler): Don't enable pretty-printing here.
12487 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12488 non-stop mode. Use the following.
12489 (gdb-check-target-async): New defun.
12490 (gud-watch, gdb-stopped): Fix whitespace.
12491 (gdb-get-source-file): Don't try to display the source file if
12492 `gdb-main-file' is nil.
12493
124942011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12495
12496 * align.el: Try to generate fewer markers (bug#10047).
12497 (align--set-marker): New macro.
12498 (align-region): Use it.
12499
c935221f
SM
125002011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12501
12502 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12503
e70b5064
CY
125042011-11-29 Chong Yidong <cyd@gnu.org>
12505
12506 * indent.el (indent-for-tab-command, indent-according-to-mode):
12507 Doc fix.
12508 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12509
f3af92b7
MA
125102011-11-29 Michael Albinus <michael.albinus@gmx.de>
12511
12512 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12513 aware of remote file names. (Bug#10124)
12514
ed472be9
CY
125152011-11-29 Chong Yidong <cyd@gnu.org>
12516
12517 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12518
24510c22
SM
125192011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12520
12521 * files.el (find-file): Don't use force-same-window (bug#10144).
12522 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12523 use pop-to-buffer if the selected window can't be used.
12524 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12525
c60c3703
EZ
125262011-11-28 Eli Zaretskii <eliz@gnu.org>
12527
12528 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12529 special-mode-map.
12530
e95def75
CY
125312011-11-28 Chong Yidong <cyd@gnu.org>
12532
12533 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12534
c3f1c606
NR
125352011-11-27 Nick Roberts <nickrob@snap.net.nz>
12536
12537 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12538 gdb-get-source-file-list on gdb-create-source-file-list.
12539
00db469c
EZ
125402011-11-26 Eli Zaretskii <eliz@gnu.org>
12541
12542 * whitespace.el (whitespace-newline): Use a different foreground
12543 color for 16-color light-background displays.
12544
4ad3bc2a
CY
125452011-11-24 Chong Yidong <cyd@gnu.org>
12546
12547 * window.el (display-buffer--special-action): Doc fix.
12548
e9fce1ac
JB
125492011-11-25 Juanma Barranquero <lekktu@gmail.com>
12550
12551 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12552 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12553 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12554 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12555 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12556 (avl-tree-stack-first):
12557 * emacs-lisp/cconv.el (cconv--analyse-use):
12558 * net/gnutls.el (gnutls-negotiate): Fix typos.
12559
cb825e5d
GM
125602011-11-24 Glenn Morris <rgm@gnu.org>
12561
3adbe224
GM
12562 * lpr.el (lpr-windows-system, lpr-lp-system):
12563 * mail/binhex.el (binhex-begin-line):
12564 * progmodes/grep.el (grep-history, grep-find-history):
12565 * textmodes/flyspell.el:
12566 * vc/pcvs-defs.el (cvs-global-menu):
12567 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12568 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12569 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12570
321decc8
GM
12571 * net/tls.el: Fix case of "GnuTLS".
12572
420b63ad
GM
12573 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12574
cb825e5d
GM
12575 * version.el (emacs-build-system): Give it a doc-string.
12576
a0649f08
JL
125772011-11-24 Juri Linkov <juri@jurta.org>
12578
12579 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12580
c0bc0fd4
GM
125812011-11-24 Glenn Morris <rgm@gnu.org>
12582
12583 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12584 if called on a non-mime message just toggle the headers. (Bug#8006)
12585
20db1522
JB
125862011-11-24 Juanma Barranquero <lekktu@gmail.com>
12587
12588 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12589 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12590 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12591 (allout-rebullet-heading, allout-open-sibtopic)
12592 (allout-toggle-current-subtree-encryption)
12593 (allout-toggle-subtree-encryption, allout-encrypt-string)
12594 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12595 (allout-distinctive-bullets-string, allout-auto-activation):
12596 * window.el (window-normalize-buffer-to-display):
12597 * progmodes/verilog-mode.el (verilog-batch-indent):
12598 * textmodes/bibtex.el (bibtex-field-braces-opt)
12599 (bibtex-field-strings-opt):
12600 * vc/cvs-status.el (cvs-tree-merge):
12601 Fix typos.
12602
7262a87c
MA
126032011-11-23 Michael Albinus <michael.albinus@gmx.de>
12604
12605 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12606 `non-essential' to t, in order to avoid remote connections.
12607
283430a1
EZ
126082011-11-23 Eli Zaretskii <eliz@gnu.org>
12609
a1beca85
SM
12610 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12611 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12612 case-insensitively.
12613
d2992a38
ML
126142011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12615
12616 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12617
50419064
GM
126182011-11-23 Glenn Morris <rgm@gnu.org>
12619
da94eca1
GM
12620 * paths.el (rmail-file-name): Reformat the doc-string so that it
12621 is picked up.
12622
9aac4de2
GM
12623 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12624 (rmail-auto-file): Ignore case in the "special" field names,
12625 as mail-fetch-field does for all others.
12626
8038d2d2
GM
12627 * mail/rmail.el (rmail-forward):
12628 * mail/rmailkwd.el (rmail-set-label):
12629 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12630 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12631
f3fe222a
GM
12632 * mail/rmail.el (rmail-current-message): Doc fix.
12633
50419064
GM
12634 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12635
28109f49
SM
126362011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12637
12638 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12639
394c65f1
GM
126402011-11-22 Glenn Morris <rgm@gnu.org>
12641
12642 * mail/rmailmm.el (test-rmail-mime-handler)
12643 (test-rmail-mime-bulk-handler)
12644 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12645
f2a0aa3a
JL
126462011-11-21 Juri Linkov <juri@jurta.org>
12647
1154d12e
JB
12648 * calc/calc.el (calc-read-key-sequence):
12649 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12650
9c34a344
LMI
126512011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12652
12653 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12654 Tell the caller that the next line needs recomputation, even
12655 though it doesn't start a sexp (bug#10094).
12656
f04a3be9
SM
126572011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12658
12659 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12660
7978747f
SM
126612011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12662
f04a3be9
SM
12663 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12664 Use force-same-window.
7978747f 12665
fe7a3057
JB
126662011-11-20 Juanma Barranquero <lekktu@gmail.com>
12667
12668 * descr-text.el (describe-char-unicode-data):
12669 * json.el (json-string-escape):
12670 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12671 (Footnote-unicode, Footnote-style-p):
12672 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12673
24901d61
CY
126742011-11-20 Chong Yidong <cyd@gnu.org>
12675
12676 * window.el (replace-buffer-in-windows): Restore interactive spec.
12677
bac7ff22
SM
126782011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12679
24f3d7b9
SM
12680 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12681
bac7ff22
SM
12682 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12683 (byte-compile-global-not-obsolete-vars): New var.
12684 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12685 Use it.
12686 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12687
cd1181db
JB
126882011-11-20 Juanma Barranquero <lekktu@gmail.com>
12689
12690 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12691 * progmodes/pascal.el (electric-pascal-equal):
12692 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12693 * xml.el (xml-substitute-special): Fix typos.
12694
7fb18e9e
GM
126952011-11-20 Glenn Morris <rgm@gnu.org>
12696
12697 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12698 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12699 Doc fixes.
12700 (rmail-decode-mime-charset): Mark as obsolete.
12701
12702 * mail/rmailsum.el (rmail-message-regexp-p-1):
12703 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12704 Before using mime functions, check they are set. (Bug#10077)
12705
d5a6b3ba
JL
127062011-11-19 Juri Linkov <juri@jurta.org>
12707
12708 * info.el (Info-finder-find-node): Use `package--builtins' instead
12709 of `package-alist'. Use node names formed by the pattern "Keyword "
12710 and the keyword name.
12711
e981b61f
AS
127122011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12713
1d00653d 12714 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12715
3ffbc301
JL
127162011-11-19 Juri Linkov <juri@jurta.org>
12717
12718 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12719 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12720 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12721 `old-history', `old-history-forward'. Add let-binding
12722 `window-selected'. Remove calls to `kill-buffer',
12723 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12724 before calling `Info-find-node', so `Info-find-node-2' will reread
12725 the Info file. Restore window positions only when `window-selected'
12726 is non-nil.
12727
30c62133
JL
127282011-11-19 Juri Linkov <juri@jurta.org>
12729
12730 * isearch.el (isearch-lazy-highlight-new-loop):
12731 Remove condition `(not isearch-error)'. (Bug#9918)
12732
12733 * misearch.el (multi-isearch-search-fun): Add condition
12734 `(not bound)' to ignore lazy-highlighting search.
12735 Add the search-failed message "end of multi" when the end of
12736 multi-sequence is reached. Uncapitalize the search-failed
12737 message "Repeat for next buffer".
12738
12739 * info.el (Info-search): Add the search-failed message
12740 "end of the manual" when the end of the manual is reached
12741 in Isearch mode.
12742
645ca9cf
JL
127432011-11-19 Juri Linkov <juri@jurta.org>
12744
12745 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12746 Use non-destructive `remove' instead of `delete' because
12747 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12748 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12749
df754f66
JL
127502011-11-19 Juri Linkov <juri@jurta.org>
12751
12752 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12753 to nil instead of binding `search-ring' and `regexp-search-ring'.
12754 (Bug#9185)
12755
0e23d96a
EZ
127562011-11-19 Eli Zaretskii <eliz@gnu.org>
12757
12758 * simple.el (line-move): Force movement by logical lines for any
12759 hscrolled window, not only when auto-hscroll-mode is on.
12760 (line-move-visual): Update doc string to that effect. (Bug#10076)
12761
8a6ccb66
AS
127622011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12763
12764 * language/european.el (macintosh): Define as alias for mac-roman.
12765
49ae5b39
EZ
127662011-11-19 Eli Zaretskii <eliz@gnu.org>
12767
12768 * mail/rmailmm.el (rmail-mime-display-header)
12769 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12770 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12771 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12772 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12773 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12774 of a raw aref.
12775 (rmail-mime-entity-segment): To get past the tagline, move forward
12776 2 more lines, to account for the 2 empty lines that precede and
12777 follow the line with the buttons.
12778 (rmail-mime-update-tagline): Move one more line, to get past the
12779 empty line that follows the buttons in the tagline. (Bug#9520)
12780
c56cad4a
MR
127812011-11-19 Martin Rudalics <rudalics@gmx.at>
12782
12783 * window.el (window-max-delta-1, window-min-delta-1)
12784 (window-min-size-1, window-state-get-1, window-state-put-1)
12785 (window-state-put-2): Use "window--" prefix.
12786
cbe71af3
SM
127872011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12788
2ad52c60
SM
12789 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12790 (smie-warning-count): New var.
12791 (smie-set-prec2tab): Use it.
12792 (smie-bnf->prec2): Improve warnings. Add docstring.
12793 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12794 (smie-bnf--set-class): New function.
12795 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12796 corner case.
12797
6944dbc1
SM
12798 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12799 (compilation-error-properties, compilation-move-to-column):
12800 Handle compilation-first-column while in the target buffer.
12801
c400c4d7
SM
12802 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12803 Don't hardcode point-min==1.
12804
6dbe3e96
SM
12805 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12806 (eshell-rewrite-for-command): Remove workaround.
12807 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12808 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12809 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12810
cbe71af3
SM
12811 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12812
a8e1496d
GM
128132011-11-17 Glenn Morris <rgm@gnu.org>
12814
12815 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12816 Ignore buffer-local generated-autoload-file if it is the same
12817 as the global value. (Bug#10049)
12818
df85d315
JB
128192011-11-17 Juanma Barranquero <lekktu@gmail.com>
12820
12821 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12822 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12823 (reftex-toc-previous-heading, reftex-toc-max-level)
12824 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12825 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12826 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12827 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12828 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12829 (reftex-toc-rename-label, reftex-toc-visit-location)
12830 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12831 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12832 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12833 leaving "*toc*" only for references to the buffer.
12834
a0c2d0ae
MR
128352011-11-17 Martin Rudalics <rudalics@gmx.at>
12836
12837 * window.el (window-resize, delete-window, split-window):
12838 Replace window-splits by window-combination-resize.
1d00653d 12839 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12840
35c0bac8
GM
128412011-11-17 Glenn Morris <rgm@gnu.org>
12842
12843 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12844 Make bash entry derive from sh entry, not shell entry.
12845
d0c8fc8a
MA
128462011-11-16 Michael Albinus <michael.albinus@gmx.de>
12847
7262a87c
MA
12848 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12849 local file name.
12850
7877f373
JB
128512011-11-16 Juanma Barranquero <lekktu@gmail.com>
12852
12853 * menu-bar.el (menu-bar-file-menu):
12854 * printing.el (pr-ps-utility):
12855 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12856 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12857 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12858 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12859 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12860 (icalendar--convert-cyclic-to-ical)
12861 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12862 (icalendar--convert-ical-to-diary)
12863 (icalendar--convert-recurring-to-diary)
12864 (icalendar--convert-non-recurring-all-day-to-diary)
12865 (icalendar-import-format-sample):
12866 * progmodes/idlw-shell.el (idlwave-shell-mode):
12867 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12868 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12869 (vhdl-ps-print-init): Fix typos.
12870
10649b82
KM
128712011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12872
9d0cfcd6
GM
12873 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12874 FSF and collapse date sequence, obscure author/maintainer email address
12875 better, remove extra version line, track relocation of author's webpage.
10649b82 12876
9d0cfcd6
GM
12877 * progmodes/python.el (python-pdbtrack-input-prompt)
12878 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12879 regular python pdb prompts. Adjustments shamelessly taken exactly as
12880 suggested in EmacsWiki page (tiny change):
12881 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12882
58179cce
JB
128832011-11-16 Juanma Barranquero <lekktu@gmail.com>
12884
12885 * expand.el (expand-pos, expand-index, expand-point):
12886 Remove redundant info from docstring.
12887 (expand-add-abbrevs): Doc fix.
12888 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12889 (expand-sample-perl-mode-expand-list): Fix typos.
12890
12891 * net/dbus.el (dbus-event-member-name):
12892 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12893 * term/pc-win.el (msdos-create-frame-with-faces):
12894 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12895
b6f67890
MR
128962011-11-16 Martin Rudalics <rudalics@gmx.at>
12897
12898 * window.el (split-window, window-state-get-1)
12899 (window-state-put-1, window-state-put-2): Rename occurrences of
12900 window-nest to window-combination-limit.
1d00653d 12901 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12902
ce7ddba0
CY
129032011-11-16 Chong Yidong <cyd@gnu.org>
12904
12905 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12906 regexp (Bug#10033).
12907
3ae704f4
SM
129082011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12909
12910 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12911 `completing-read' will remove *Completions* and will preserve
12912 current-buffer for us.
12913 (tmm-add-prompt): Users of *Completions* will always (re)set its
12914 major mode.
12915 (tmm-old-comp-map): Remove.
12916
6ad1cdde
GM
129172011-11-16 Glenn Morris <rgm@gnu.org>
12918
12919 * mail/rmailedit.el: Require rmailmm when compiling.
12920 (rmail-old-mime-state): New declaration.
12921 (rmail-edit-current-message): If editing a mime message,
12922 edit the "raw" message from the mbox buffer.
12923 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12924
d20faa20
GM
129252011-11-15 Glenn Morris <rgm@gnu.org>
12926
12927 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12928 which wasn't being used. Add optional arg to force given state.
12929 (rmail-mime): Add optional arg to force given state.
12930
c7015153
JB
129312011-11-15 Juanma Barranquero <lekktu@gmail.com>
12932
12933 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12934 * frame.el (display-mm-dimensions-alist):
12935 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12936 (outline-move-subtree-down):
12937 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12938 (newsticker--treeview-do-get-node):
12939 * net/quickurl.el (quickurl-list-buffer-name):
12940 * progmodes/dcl-mode.el (dcl-mode):
12941 * progmodes/gdb-mi.el (gdb-mapcar*):
12942 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12943
45261b50
GM
129442011-11-15 Glenn Morris <rgm@gnu.org>
12945
12946 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12947 in a boolean sense, so just make it a boolean, and fix the doc.
12948 (rmail-show-mime-function, rmail-mime-feature)
12949 (rmail-require-mime-maybe): Doc fixes.
12950 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12951
12952 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12953
0d26e0b6
JB
129542011-11-15 Juanma Barranquero <lekktu@gmail.com>
12955
12956 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12957 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12958 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12959 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12960
447f30f6
GM
129612011-11-15 Glenn Morris <rgm@gnu.org>
12962
672b871d
GM
12963 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12964 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12965 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12966 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12967 (rmail-mime, rmail-show-mime): Doc fixes.
12968
f6aa5bb1
GM
12969 * term/ns-win.el (mode-line-frame-identification):
12970 Leave it alone. (Bug#10051)
12971
947cd66b
GM
12972 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12973
447f30f6
GM
12974 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12975 Handle empty buffers. (Bug#9978)
12976
0b381c7e
JB
129772011-11-14 Juanma Barranquero <lekktu@gmail.com>
12978
12979 * international/mule.el (define-charset):
12980 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12981 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12982 * progmodes/verilog-mode.el (verilog-backward-token):
12983 * textmodes/ispell.el (lookup-words):
12984 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12985
71e027ac
GM
129862011-11-14 Glenn Morris <rgm@gnu.org>
12987
56632ce4
GM
12988 * progmodes/executable.el
12989 (executable-make-buffer-file-executable-if-script-p):
12990 Handle file-modes returning nil.
12991
40500957
GM
12992 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12993 message - not necessary, and causes problems. (Bug#9831)
12994
071c2340
GM
12995 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12996
d3cfca60
GM
12997 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12998
71e027ac
GM
12999 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13000 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13001 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13002
89d61221
MR
130032011-11-12 Martin Rudalics <rudalics@gmx.at>
13004
13005 * window.el (window-resize, delete-window): Use window-splits
13006 variable instead of function.
13007 (window-state-get-1, window-state-put-2, window-state-put):
13008 Don't deal with windows' splits status.
13009
98282f6f
GM
130102011-11-12 Glenn Morris <rgm@gnu.org>
13011
13012 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13013 (apropos-documentation): Doc fixes.
13014
40a8bdf6
JB
130152011-11-11 Juanma Barranquero <lekktu@gmail.com>
13016
13017 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13018 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13019
65bd19ff
SM
130202011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13021
13022 * electric.el (electric-indent-post-self-insert-function): Make it
13023 possible for a char to only indent in some circumstances.
13024 (electric-indent-mode): Simplify.
13025
54f9154c
MR
130262011-11-11 Martin Rudalics <rudalics@gmx.at>
13027
13028 * window.el (windows-with-parameter): Remove unused function.
13029 (windows-at-side): Rename to window-at-side-list.
13030 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13031 (window-side-check, window-size-ignore, window-size-fixed-1)
13032 (window-in-direction-2): Prefix with "window--".
13033 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13034
68cbc58b
GM
130352011-11-11 Glenn Morris <rgm@gnu.org>
13036
13037 * subr.el (eval-after-load): If FILE is already loaded,
13038 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13039
b2621720
GM
130402011-11-10 Glenn Morris <rgm@gnu.org>
13041
9a4de110
GM
13042 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13043 Call svn via vc-svn-command rather than vc-do-command.
13044 (vc-svn-command): Add --non-interactive. (Bug#9993)
13045 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13046
b2621720
GM
13047 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13048 Add toggle-read-only. (Bug#7292)
13049 * files.el (toggle-read-only): Mention that it should only
13050 be used interactively. (Bug#10006)
13051
1dce7193
SM
130522011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13053
d9ac1a1e
SM
13054 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13055 Adjust regexp for OCaml warnings.
13056
0c325082
SM
13057 * electric.el (electric-pair-post-self-insert-function): Let user
13058 turn it off buffer-locally (bug#9932).
13059
90132c14
SM
13060 * progmodes/python.el (python-beginning-of-statement):
13061 Rewrite (bug#2703).
13062
1dce7193
SM
13063 * progmodes/compile.el: Better handle TABs (bug#9749).
13064 (compilation-internal-error-properties)
13065 (compilation-next-error-function): Obey the target buffer's
13066 compilation-error-screen-columns.
13067
c4e7c63a
JB
130682011-11-09 Juanma Barranquero <lekktu@gmail.com>
13069
13070 * progmodes/meta-mode.el: Remove obsolete comments.
13071 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13072 Fix typos in docstrings.
13073
2cffd681
MR
130742011-11-09 Martin Rudalics <rudalics@gmx.at>
13075
13076 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 13077 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
13078 (window--resizable): New function. Make all callers of
13079 window-resizable call window--resizable instead.
13080 (window-resizable): Rewrite in terms of window--resizable.
13081
0edcba87
GM
130822011-11-08 Glenn Morris <rgm@gnu.org>
13083
13084 * progmodes/delphi.el (delphi-mode-syntax-table):
13085 Let define-derived-mode define a proper syntax table. (Bug#9994)
13086
4b0d61e3
SM
130872011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13088
13089 * window.el: Stay away from defsubst.
13090 (window-list-no-nils): Remove.
13091 (window-state-get-1, window-state-get): Use backquote instead.
13092
cd394be1 130932011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 13094
4b0d61e3 13095 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 13096 Fix incorrect use of default argument in `completing-read'.
13097
e1c2c6f2
MR
130982011-11-08 Martin Rudalics <rudalics@gmx.at>
13099
13100 * window.el (display-buffer-function, special-display-function):
13101 Mention display-buffer-record-window but do not mention
13102 help-setup parameter in doc-strings.
b3f4a882 13103 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13104
105216ed
CY
131052011-11-08 Chong Yidong <cyd@gnu.org>
13106
13107 * window.el (window-total-height, window-total-width): Doc fix.
13108 (window-body-size): Move from C.
13109 (window-body-height, window-body-width): Move to C.
13110
0a9f9ab5
SM
131112011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * window.el: Make special-display like display-buffer-alist (bug#9532).
13114 (display-buffer--special-action): New function, morphed
13115 from display-buffer--special.
13116 (display-buffer): Use it to handle special-display-buffers at higher
13117 priority (just after display-buffer-alist).
13118 (display-buffer-fallback-action, display-buffer--other-frame-action)
13119 (pop-to-buffer-same-window): Remove display-buffer--special.
13120
a769dd15
GM
131212011-11-07 Glenn Morris <rgm@gnu.org>
13122
13123 * calendar/cal-menu.el (cal-menu-set-date-title):
13124 Do nothing if not in a calendar. (Bug#9976)
13125
05a61ee3
SM
131262011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13127
13128 * files.el (find-file): Always use selected-window.
13129
be7f5545
MR
131302011-11-07 Martin Rudalics <rudalics@gmx.at>
13131
13132 * window.el (window-combinations): Make WINDOW argument
13133 mandatory. Rewrite doc-string.
13134 (walk-window-subtree, window-atom-check, window-min-delta)
13135 (window-max-delta, window--resize-this-window)
13136 (window--resize-root-window-vertically, window-tree)
13137 (balance-windows, window-state-put): Rewrite doc-strings as to
13138 not mention the term "subwindow".
13139 (window--resize-subwindows-skip-p): Rename to
13140 window--resize-child-windows-skip-p.
13141 (window--resize-subwindows-normal): Rename to
13142 window--resize-child-windows-normal.
13143 (window--resize-subwindows): Rename to
13144 window--resize-child-windows.
13145 (window-or-subwindow-p): Rename to window--in-subtree-p.
13146
3c6702ef
ML
131472011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13148
13149 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13150 Ensure that mbox format messages end in two newlines (Bug#9974).
13151
49745b39
CY
131522011-11-06 Chong Yidong <cyd@gnu.org>
13153
13154 * window.el (window-combination-p): Function deleted; its
13155 side-effect is not used in any existing code.
13156 (window-combinations, window-combined-p): Call window-*-child
13157 directly.
13158
24300f5f
CY
131592011-11-05 Chong Yidong <cyd@gnu.org>
13160
13161 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13162 (window-size-ignore, window-state-get): Callers changed.
13163 (window-normalize-window): Rename from window-normalize-any-window.
13164 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13165 (window-normalize-live-window): Delete.
447f16b8
CY
13166 (window-combination-p, window-combined-p, window-combinations)
13167 (walk-window-subtree, window-atom-root, window-min-size)
13168 (window-sizable, window-sizable-p, window-size-fixed-p)
13169 (window-min-delta, window-max-delta, window-resizable)
13170 (window-resizable-p, window-full-height-p, window-full-width-p)
13171 (window-current-scroll-bars, window-point-1, set-window-point-1)
13172 (window-at-side-p, window-in-direction, window-resize)
13173 (adjust-window-trailing-edge, maximize-window, minimize-window)
13174 (window-deletable-p, delete-window, delete-other-windows)
13175 (record-window-buffer, unrecord-window-buffer)
13176 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13177 (quit-window, split-window, window-state-put)
13178 (set-window-text-height, fit-window-to-buffer)
13179 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13180
89bd5ee1
EZ
131812011-11-04 Eli Zaretskii <eliz@gnu.org>
13182
53479029
EZ
13183 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13184 rfc2047-decode-string.
13185 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13186 warnings.
13187
89bd5ee1
EZ
13188 * window.el (window-body-height, window-body-width): Mention in
13189 the doc string that the return values are in frame's canonical
13190 units. (Bug#9949)
13191
bd17fdee
AM
131922011-11-03 Alan Mackenzie <acm@muc.de>
13193
13194 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13195 change in cc-engine.el.
13196
acc825c5
SM
131972011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13198
13199 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13200
1885e5b8
MR
132012011-11-02 Martin Rudalics <rudalics@gmx.at>
13202
13203 * window.el (quit-window): Call unrecord-window-buffer after
13204 showing another buffer in the window. (Bug#9937)
acc825c5 13205 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13206
ebe06da9
JB
132072011-11-02 Juanma Barranquero <lekktu@gmail.com>
13208
13209 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13210 Accept status with more than 9 shelves. (Bug#9935)
13211 Reported by Colin D Bennett <colin@gibibit.com>.
13212
4ee88440
MR
132132011-11-01 Martin Rudalics <rudalics@gmx.at>
13214
13215 * help.el (with-help-window): Don't reference
13216 temp-buffer-show-specifiers in doc-string.
13217
08e1d82c
AS
132182011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13219
13220 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13221 menu-item.
13222
84bd6e9e
VJL
132232011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13224
13225 * whitespace.el: New version 13.2.2.
13226 (whitespace-newline-mode): Disable properly. Reported by Sarah
13227 <EmacsWiki>.
13228
dba0634a
UJ
132292011-10-30 Ulf Jasper <ulf.jasper@web.de>
13230
13231 * net/newst-treeview.el: Remove "Time-stamp".
13232 (newsticker--group-manage-orphan-feeds): Do not call
13233 newsticker--treeview-tree-update.
db22a3c2
JB
13234 (newsticker-treeview-update, newsticker-treeview):
13235 Call newsticker--treeview-tree-update if necessary.
dba0634a 13236
3d8daefe
MR
132372011-10-30 Martin Rudalics <rudalics@gmx.at>
13238
13239 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13240 (window-iso-combinations): Remove "iso-" infix.
13241 Suggested by Chong Yidong.
3d8daefe
MR
13242 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13243 (window-max-delta-1, window-resize, window--resize-siblings)
13244 (window--resize-this-window, adjust-window-trailing-edge)
13245 (split-window, balance-windows-1)
13246 (shrink-window-if-larger-than-buffer):
13247 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13248 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13249
1bc4c3ae
SM
132502011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13251
13252 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13253 in place (bug#9907).
13254 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13255 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13256 (eshell-structure-basic-command, eshell-rewrite-while-command)
13257 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13258 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13259 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13260 (eshell-do-pipelines-synchronously, eshell-eval-command):
13261 Use backquotes and prefer setq to set.
13262 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13263 (eshell-macrop): Use functionp.
c1e2f5fa 13264 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13265
30b65d9c
CY
132662011-10-30 Chong Yidong <cyd@gnu.org>
13267
13268 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13269 instead of set-mark (Bug#9810).
13270
2d197ffb
CY
132712011-10-30 Chong Yidong <cyd@gnu.org>
13272
13273 * window.el (split-window-below, split-window-right): Rename from
13274 split-window-above-each-other and split-window-side-by-side
13275 respectively. All callers changed.
13276 (split-window-sensibly, split-window-sensibly): Use them.
13277 (split-window-keep-point): Doc fix.
13278
13279 * isearch.el: Add isearch-scroll property to split-window-below
13280 and split-window-right.
13281
13282 * follow.el (follow-mode):
13283 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13284 * progmodes/ada-xref.el (ada-gdb-application):
13285 * emulation/vip.el (vip-buffer-in-two-windows):
13286 * image-dired.el (image-dired-dired-with-window-configuration):
13287 * dired-x.el (dired-do-find-marked-files):
13288 * dired.el (dired-pop-to-buffer):
13289 * bs.el (bs--show-with-configuration):
13290 * vc/emerge.el (emerge-setup-windows):
13291 * textmodes/two-column.el (2C-two-columns):
13292 * textmodes/reftex-toc.el (reftex-toc):
13293 * progmodes/gdb-mi.el (gdb-setup-windows):
13294 * progmodes/fortran.el (fortran-window-create):
13295 * net/newst-treeview.el (newsticker--treeview-window-init):
13296 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13297 * emulation/tpu-edt.el (tpu-gold-map):
13298 * emulation/crisp.el (crisp-mode-map):
13299 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13300
38bb2ca8
CY
133012011-10-29 Chong Yidong <cyd@gnu.org>
13302
aa4de341
CY
13303 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13304
e1eb5385
CY
13305 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13306
5d2ece3c
CY
13307 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13308 forged Ispell output (Bug#7904).
13309
38bb2ca8
CY
13310 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13311
d0af9f77
SM
133122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13313
13314 * doc-view.el: Avoid ugly errors about not finding nil.
13315 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13316 (doc-view-dvipdf-program, doc-view-unoconv-program)
13317 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13318 Avoid nil or absolute file name as default value.
13319 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13320
52bedd34
AM
133212011-10-28 Alan Mackenzie <acm@muc.de>
13322
db22a3c2 13323 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13324
7e43cfa5
AM
133252011-10-28 Alan Mackenzie <acm@muc.de>
13326
13327 Amend the handling of c-beginning/end-of-defun in nested declaration
13328 scopes.
13329
52bedd34
AM
13330 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13331 cc-langs.el. Change it to a defcustom.
7e43cfa5 13332
52bedd34
AM
13333 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13334 cc-vars.el.
7e43cfa5 13335
d0af9f77
SM
13336 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13337 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13338
52bedd34 13339 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13340 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13341 (c-widen-to-enclosing-decl-scope): New function.
13342 (c-while-widening-to-decl-block): New macro.
13343 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13344 outward for defun boundaries, and correspondingly change symbol
13345 `respect-enclosure' to `go-outward'.
13346 (c-declaration-limits): Change algorithm to report only the "innermost"
13347 defun's boundaries.
13348
1a2ce9ee
DD
133492011-10-28 Deniz Dogan <deniz@dogan.se>
13350
13351 * net/rcirc.el (rcirc-mode): Use hard newlines.
13352
bc97a826
AM
133532011-10-28 Alan Mackenzie <acm@muc.de>
13354
13355 Amend to indent and fontify macros "which include their own semicolon"
13356 correctly, using the "virtual semicolon" mechanism.
13357
52bedd34 13358 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13359
d0af9f77 13360 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13361 Recode to scan one line at a time rather than having \n and \r
58179cce 13362 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13363 (c-forward-label): Amend for virtual semicolons.
58179cce 13364 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13365
52bedd34
AM
13366 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13367 of the new C macros.
bc97a826 13368
52bedd34 13369 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13370 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13371 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13372 (c-opt-cpp-macro-define): Make into a full language variable.
13373 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13374 AWK Mode (including \n, \r) removed, no longer needed.
13375
d0af9f77
SM
13376 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13377 Invoke c-make-macro-with-semi-re.
bc97a826 13378
52bedd34
AM
13379 * progmodes/cc-vars.el (c-macro-with-semi-re):
13380 (c-macro-names-with-semicolon): New variables.
58179cce 13381 (c-make-macro-with-semi-re): New function.
bc97a826 13382
7a6c0941
SM
133832011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13384
13385 * vc/log-edit.el: Fill empty field rather than adding new one.
13386 (log-edit-add-field): New function.
13387 (log-edit-insert-changelog): Use it.
13388
b0c4cdcf
ML
133892011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13390
13391 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13392
ee1f1da9
SM
133932011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13394
13395 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13396 (gdb--check-interpreter): New function.
13397 (gdb): Use it.
13398
51bc5f8b
GM
133992011-10-27 Glenn Morris <rgm@gnu.org>
13400
416a2c45
GM
13401 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13402 (least-positive-float, least-negative-float)
13403 (least-positive-normalized-float, least-negative-normalized-float)
13404 (float-epsilon, float-negative-epsilon):
13405 Remove unnecessary declarations.
13406
13407 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13408 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13409 (least-positive-float, least-negative-float)
13410 (least-positive-normalized-float, least-negative-normalized-float)
13411 (float-epsilon, float-negative-epsilon): Add doc-strings,
13412 based on those in cl.texi.
13413
51bc5f8b
GM
13414 * files.el (set-visited-file-name): If the major-mode changed,
13415 reload the local variables. (Bug#9796)
13416
15de15c6
CY
134172011-10-27 Chong Yidong <cyd@gnu.org>
13418
13419 * subr.el (change-major-mode-after-body-hook): New hook.
13420 (run-mode-hooks): Run it.
13421
ee1f1da9
SM
13422 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13423 Use change-major-mode-before-body-hook.
15de15c6
CY
13424
13425 * simple.el (fundamental-mode):
13426 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13427 change introducing fundamental-mode-hook.
13428
5430d399
JB
134292011-10-26 Juanma Barranquero <lekktu@gmail.com>
13430
acc825c5 13431 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13432
ad74a69e
MA
134332011-10-26 Michael Albinus <michael.albinus@gmx.de>
13434
13435 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13436 tramp.el explicitly. (Bug#7583)
ad74a69e 13437
71d4c2a5
SM
134382011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13439
13440 * progmodes/octave-mod.el:
13441 * progmodes/octave-inf.el: Update maintainer.
13442
b1f6fa26
CY
134432011-10-26 Chong Yidong <cyd@gnu.org>
13444
13445 * subr.el (with-wrapper-hook): Rewrite doc.
13446
3f04efd6
MA
134472011-10-25 Michael Albinus <michael.albinus@gmx.de>
13448
13449 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13450 filenames "/method:foo:". (Bug#9793)
3f04efd6 13451
410488d3
SM
134522011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13453
13454 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13455 (bug#9865).
13456
c1ebb47e
GM
134572011-10-24 Glenn Morris <rgm@gnu.org>
13458
13459 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13460
7f5c46c7
MA
134612011-10-24 Michael Albinus <michael.albinus@gmx.de>
13462
13463 * notifications.el: Add the requirement of a running D-Bus session
13464 bus to the Commentary.
13465
db2440b6
JL
134662011-10-24 Juri Linkov <juri@jurta.org>
13467
13468 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13469 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13470 (Bug#9364)
13471
feecf435
JL
134722011-10-24 Juri Linkov <juri@jurta.org>
13473
13474 * info.el (Info-following-node-name-re): Add newline to the list
13475 of allowed characters for leading space. (Bug#9824)
13476
a3839de2
SM
134772011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13478
acc825c5
SM
13479 * progmodes/octave-inf.el (inferior-octave-mode-map):
13480 Fix C-c C-h binding.
a3839de2
SM
13481 * progmodes/octave-mod.el (octave-help): Remove.
13482
09388e76
MA
134832011-10-23 Michael Albinus <michael.albinus@gmx.de>
13484
13485 Sync with Tramp 2.2.3.
13486
13487 * net/tramp-cache.el (top): Pacify byte-compiler using
13488 `init-file-user' and `site-run-file'.
13489
13490 * net/trampver.el: Update release number.
13491
86c60681
CY
134922011-10-23 Chong Yidong <cyd@gnu.org>
13493
13494 * files.el (toggle-read-only): Remove obsolete comment about
13495 version control.
13496
13497 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13498 for toggle-read-only. Note that this hasn't called vc-next-action
13499 since 2008-05-02, though it wasn't documented at the time.
13500
a3839de2
SM
13501 * vc/ediff-init.el (ediff-toggle-read-only-function):
13502 Use toggle-read-only.
86c60681 13503
cd5495ff
AM
135042011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13505
13506 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13507 of c-parse-state.
13508
00b77525 13509 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13510 correct faulty logical expression.
cd5495ff
AM
13511 (c-parse-state-state, c-record-parse-state-state):
13512 (c-replay-parse-state-state): New defvar/defuns.
13513 (c-debug-parse-state): Use new functions.
13514
42ee24ed
MR
135152011-10-22 Martin Rudalics <rudalics@gmx.at>
13516
13517 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 13518 last fix. Use window-in-direction correctly.
42ee24ed 13519
a7dee7e7
CY
135202011-10-21 Chong Yidong <cyd@gnu.org>
13521
13522 * progmodes/idlwave.el (idlwave-mode):
13523 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
13524 require-final-newline; that's done in prog-mode.
13525 Suggested by Stefan Monnier.
a7dee7e7 13526
e07b9a6d
MR
135272011-10-21 Martin Rudalics <rudalics@gmx.at>
13528
13529 * mouse.el (mouse-drag-window-above)
13530 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13531 (mouse-drag-mode-line-1, mouse-drag-header-line)
13532 (mouse-drag-vertical-line-rightward-window): Remove.
13533 (mouse-drag-line): New function.
13534 (mouse-drag-mode-line, mouse-drag-header-line)
13535 (mouse-drag-vertical-line): Call mouse-drag-line.
13536 * window.el (window-at-side-p, windows-at-side): New functions.
13537
7e1361d9
UM
135382011-10-21 Ulrich Mueller <ulm@gentoo.org>
13539
13540 * tar-mode.el (tar-grind-file-mode):
13541 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13542
30fcaf3a
CY
135432011-10-21 Chong Yidong <cyd@gnu.org>
13544
13545 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13546 * progmodes/vera-mode.el (vera-mode):
13547 Use mode-require-final-newline.
30fcaf3a 13548
516eddb0
GM
135492011-10-20 Glenn Morris <rgm@gnu.org>
13550
db22a3c2 13551 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13552
10d5f513
CS
135532011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13554
13555 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13556
ac6c8639
CY
135572011-10-20 Chong Yidong <cyd@gnu.org>
13558
13559 * emulation/cua-base.el (cua-mode):
13560 * mail/footnote.el (footnote-mode):
13561 * mail/mailabbrev.el (mail-abbrevs-mode):
13562 * net/xesam.el (xesam-minor-mode):
13563 * progmodes/bug-reference.el (bug-reference-mode):
13564 * progmodes/cap-words.el (capitalized-words-mode):
13565 * progmodes/compile.el (compilation-minor-mode)
13566 (compilation-shell-minor-mode):
13567 * progmodes/gud.el (gud-tooltip-mode):
13568 * progmodes/hideif.el (hide-ifdef-mode):
13569 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13570 * progmodes/subword.el (subword-mode):
13571 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13572 * progmodes/which-func.el (which-function-mode):
13573 * term/tvi970.el (tvi970-set-keypad-mode):
13574 * term/vt100.el (vt100-wide-mode):
13575 * textmodes/flyspell.el (flyspell-mode):
13576 * textmodes/ispell.el (ispell-minor-mode):
13577 * textmodes/nroff-mode.el (nroff-electric-mode):
13578 * textmodes/paragraphs.el (use-hard-newlines):
13579 * textmodes/refill.el (refill-mode):
13580 * textmodes/reftex.el (reftex-mode):
13581 * textmodes/rst.el (rst-minor-mode):
13582 * textmodes/sgml-mode.el (html-autoview-mode)
13583 (sgml-electric-tag-pair-mode):
13584 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13585 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13586 * emulation/crisp.el (crisp-mode):
13587 * emacs-lisp/eldoc.el (eldoc-mode):
13588 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13589 minor mode behavior.
13590
aa42ab43
JL
135912011-10-19 Juri Linkov <juri@jurta.org>
13592
13593 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13594 the list of hard-coded chars with escape-glyph face.
13595
89400f1d
SM
135962011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13597
13598 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13599
305c07f6
MA
136002011-10-19 Michael Albinus <michael.albinus@gmx.de>
13601
13602 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13603 running process.
13604
13754b54
GM
136052011-10-19 Glenn Morris <rgm@gnu.org>
13606
13607 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13608 Ignore ignored files. (Bug#9726)
13609
06e21633
CY
136102011-10-19 Chong Yidong <cyd@gnu.org>
13611
13612 Doc fix for minor modes, stating that an omitted argument enables
13613 the mode unconditionally when called from Lisp.
13614
13615 * abbrev.el (abbrev-mode):
13616 * allout.el (allout-mode):
13617 * autoinsert.el (auto-insert-mode):
13618 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13619 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13620 (global-auto-revert-mode):
13621 * battery.el (display-battery-mode):
13622 * composite.el (global-auto-composition-mode)
13623 (auto-composition-mode):
13624 * delsel.el (delete-selection-mode):
13625 * desktop.el (desktop-save-mode):
13626 * dired-x.el (dired-omit-mode):
13627 * dirtrack.el (dirtrack-mode):
13628 * doc-view.el (doc-view-minor-mode):
13629 * double.el (double-mode):
13630 * electric.el (electric-indent-mode, electric-pair-mode):
13631 * emacs-lock.el (emacs-lock-mode):
13632 * epa-hook.el (auto-encryption-mode):
13633 * follow.el (follow-mode):
13634 * font-core.el (font-lock-mode):
13635 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13636 * help.el (temp-buffer-resize-mode):
13637 * hilit-chg.el (highlight-changes-mode)
13638 (highlight-changes-visible-mode):
13639 * hi-lock.el (hi-lock-mode):
13640 * hl-line.el (hl-line-mode, global-hl-line-mode):
13641 * icomplete.el (icomplete-mode):
13642 * ido.el (ido-everywhere):
13643 * image-file.el (auto-image-file-mode):
13644 * image-mode.el (image-minor-mode):
13645 * iswitchb.el (iswitchb-mode):
13646 * jka-cmpr-hook.el (auto-compression-mode):
13647 * linum.el (linum-mode):
13648 * longlines.el (longlines-mode):
13649 * master.el (master-mode):
13650 * mb-depth.el (minibuffer-depth-indicate-mode):
13651 * menu-bar.el (menu-bar-mode):
13652 * minibuf-eldef.el (minibuffer-electric-default-mode):
13653 * mouse-sel.el (mouse-sel-mode):
13654 * msb.el (msb-mode):
13655 * mwheel.el (mouse-wheel-mode):
13656 * outline.el (outline-minor-mode):
13657 * paren.el (show-paren-mode):
13658 * recentf.el (recentf-mode):
13659 * reveal.el (reveal-mode, global-reveal-mode):
13660 * rfn-eshadow.el (file-name-shadow-mode):
13661 * ruler-mode.el (ruler-mode):
13662 * savehist.el (savehist-mode):
13663 * scroll-all.el (scroll-all-mode):
13664 * scroll-bar.el (scroll-bar-mode):
13665 * server.el (server-mode):
13666 * shell.el (shell-dirtrack-mode):
13667 * simple.el (auto-fill-mode, transient-mark-mode)
13668 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13669 (line-number-mode, column-number-mode, size-indication-mode)
13670 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13671 * strokes.el (strokes-mode):
13672 * time.el (display-time-mode):
13673 * t-mouse.el (gpm-mouse-mode):
13674 * tool-bar.el (tool-bar-mode):
13675 * tooltip.el (tooltip-mode):
13676 * type-break.el (type-break-mode-line-message-mode)
13677 (type-break-query-mode):
13678 * view.el (view-mode):
13679 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13680 (global-whitespace-mode, global-whitespace-newline-mode):
13681 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13682
a3839de2
SM
13683 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13684 Fix autogenerated docstring.
06e21633 13685
5214e501
JL
136862011-10-19 Juri Linkov <juri@jurta.org>
13687
13688 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13689 by checking environment variables "DESKTOP_SESSION" and
13690 "XDG_CURRENT_DESKTOP". (Bug#9779)
13691
195f8db9
JL
136922011-10-19 Juri Linkov <juri@jurta.org>
13693
13694 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13695 (browse-url-chromium-program, browse-url-chromium-arguments):
13696 New defcustoms.
13697 (browse-url-default-browser): Check for `browse-url-chromium' and
13698 call `browse-url-chromium-program'.
13699 (browse-url-chromium): New command. (Bug#9779)
13700
343a34ff
JB
137012011-10-18 Juanma Barranquero <lekktu@gmail.com>
13702
13703 * facemenu.el (list-colors-duplicates): On Windows, detect more
13704 duplicates by assuming that only colors matching "^System" are
13705 special "system colors". (Bug#9722)
13706
6978a151
SM
137072011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13708
13709 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13710 to distinguish the author from the committer.
13711
6a80b297
MA
137122011-10-18 Michael Albinus <michael.albinus@gmx.de>
13713
13714 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13715
b31a5677
JK
137162011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13717
13718 * international/mule.el (sgml-html-meta-auto-coding-function):
13719 Add support for detecting encoding in HTML5 specified only as
13720 <meta charset="UTF-8">. Implementation just makes http-equiv and
13721 content-type parts from HTML4 encoding string optional. (Bug#9716)
13722
80c6d77f
GM
137232011-10-18 Glenn Morris <rgm@gnu.org>
13724
13725 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13726
08b0fee8
CY
137272011-10-18 Chong Yidong <cyd@gnu.org>
13728
13729 * faces.el (cursor): Doc fix.
13730
67e729a5
CY
137312011-10-17 Chong Yidong <cyd@gnu.org>
13732
13733 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13734
343a34ff 137352011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13736
13737 * dirtrack.el (dirtrack): Support shell buffers with path
13738 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13739
0bc06380
TZ
137402011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13741
13742 * json.el: Bump version to 1.3 and note change in History.
13743 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13744
8b79f3e0
SM
137452011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13746
5a7c536b
SM
13747 * comint.el (comint-insert-input, comint-send-input)
13748 (comint-get-old-input-default, comint-backward-matching-input)
13749 (comint-next-prompt): Use nil instead of `input' for field property of
13750 past user input (bug#114).
13751
96a8a0df
SM
13752 * minibuffer.el (completion--replace): Inherit surrounding properties
13753 (bug#114).
13754 (minibuffer-complete-and-exit): Use it.
13755
8b79f3e0
SM
13756 * comint.el (comint--table-subvert): Quote the all-completions output
13757 (bug#9160).
13758
b8f7ff0d
MR
137592011-10-17 Martin Rudalics <rudalics@gmx.at>
13760
8b79f3e0 13761 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13762
b8f7ff0d 13763 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13764 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13765 entries and separate them from frame entries.
13766
c235b555
GM
137672011-10-15 Glenn Morris <rgm@gnu.org>
13768
13769 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13770 Doc fixes.
13771
6bbfa6e1
CY
137722011-10-15 Chong Yidong <cyd@stupidchicken.com>
13773
8b79f3e0
SM
13774 * net/network-stream.el (network-stream-open-starttls):
13775 Improve detection of failure due to lack of TLS support.
ec5c990d 13776
6bbfa6e1
CY
13777 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13778 putting the input text in front and in bold.
13779
98488977
SM
137802011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13781
3d1337be
SM
13782 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13783
ee0b45e4
SM
13784 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13785 empty buffer.
13786
98488977
SM
13787 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13788 unread-command-events rather than pushing yet-another event.
13789
186f4720
EZ
137902011-10-14 Eli Zaretskii <eliz@gnu.org>
13791
13792 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13793 the explanation of the possible choices. Make the options passed
13794 to completing-read shorter.
13795
8b7a997c
AM
137962011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13797
13798 * textmodes/flyspell.el (flyspell-large-region): Make sure
13799 extended character mode is used if defined (Bug#1339).
13800
12587bbb
EZ
138012011-10-13 Eli Zaretskii <eliz@gnu.org>
13802
13803 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13804 character info for LRE, LRO, RLE, and RLO characters by appending
13805 an invisible PDF.
12587bbb 13806
bad41229
SM
138072011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13808
13809 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13810 even in case of error; add debug spec; simplify data flow.
13811 (with-timeout-handler): Remove.
13812
28dbc92f
MA
138132011-10-12 Michael Albinus <michael.albinus@gmx.de>
13814
13815 Fix Bug#6019, Bug#9315.
13816
13817 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13818 complete `buffer-file-name', the local file name part could look
13819 remotely (for example on VMS).
13820
13821 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13822 `tramp-run-real-handler'.
13823 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13824 already quoted by '"'.
13825
13826 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13827 Let `file-name-handler-alist' be nil, the local file name part
13828 could look remotely (for example on VMS).
13829
e1b0b23a
SM
138302011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13831
13832 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13833 from here...
13834 (flyspell-post-command-hook): ...to here.
13835
a120bde9
SM
138362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13837
13838 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13839 if not needed.
13840 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13841 using completion. Protect against "slow" callers.
13842 Remove the "message hack".
13843
7ce7717b
JL
138442011-10-11 Juri Linkov <juri@jurta.org>
13845
13846 * isearch.el (isearch-lazy-highlight-word): New variable.
13847 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13848 Use it. (Bug#9727)
13849
c02ee9d6
GM
138502011-10-11 Glenn Morris <rgm@gnu.org>
13851
13852 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13853 like f90-previous-statement does.
13854
93e616fd 138552011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13856
1f190e73 13857 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13858 only in interactive use, to avoid error.
13859
af7b6078
SM
138602011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13861
13862 * minibuffer.el (completion-file-name-table): Fix last change,
13863 i.e. ignore normal errors but not the other ones.
13864
0563dae9
MR
138652011-10-10 Martin Rudalics <rudalics@gmx.at>
13866
13867 * window.el (special-display-buffer-names)
13868 (special-display-regexps): Remove some remnants of earlier
13869 changes from doc-strings.
366ca7f3
MR
13870 (quit-windows-on): New function.
13871
13872 * vc/vc.el (vc-revert, vc-rollback):
13873 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13874 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13875 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13876
49677495
MR
138772011-10-09 Martin Rudalics <rudalics@gmx.at>
13878
13879 * window.el (frame-auto-hide-function): Add version tag.
13880 (Bug#9699)
13881
56f2d1e1
MA
138822011-10-09 Michael Albinus <michael.albinus@gmx.de>
13883
13884 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13885 condition.
13886
112a6592
LL
138872011-10-09 Leo Liu <sdl.web@gmail.com>
13888
13889 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13890 (Bug#9701)
13891
0812589b
GM
138922011-10-08 Glenn Morris <rgm@gnu.org>
13893
13894 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13895 before the first code statement zero indent. (Bug#9690)
13896
b2b0776e
CY
138972011-10-08 Chong Yidong <cyd@stupidchicken.com>
13898
13899 * simple.el (count-words-region): Always count in the region.
13900 Report the number of lines and characters too.
13901 (count-words): New command, which counts in the buffer if the
13902 region is inactive, as count-words-region used to.
13903 (count-words--message): New function. Handle plurals.
13904 (count-lines-region): Make it an alias for count-words-region.
13905
13906 * bindings.el (esc-map): Replace count-lines-region with
13907 count-words-region.
13908
c557cd6b
MR
139092011-10-08 Martin Rudalics <rudalics@gmx.at>
13910
13911 * window.el (window--delete): Delete dedicated frame
13912 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13913 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13914
61a57ef4 139152011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13916
3a7d293b 13917 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13918
c3833279
CY
139192011-10-07 Chong Yidong <cyd@stupidchicken.com>
13920
13921 * bindings.el ([M-left],[M-right]): Bind to left-word and
13922 right-word respectively.
13923
21ce8245
GM
139242011-10-07 Glenn Morris <rgm@gnu.org>
13925
13926 * cus-start.el (debug-on-quit): Fix custom type.
13927
6d823bb2
LMI
139282011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13929
0181e193
LMI
13930 * subr.el (define-key-after): Clarify that the function is not
13931 useful for non-menu keymaps.
13932
6d823bb2
LMI
13933 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13934
8e3459ce 139352011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13936
21ce8245 13937 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13938 in current minibuffer (Fix bug with recursive minibuffers).
13939
a1c2d21e
CY
139402011-10-06 Chong Yidong <cyd@stupidchicken.com>
13941
13942 * progmodes/gdb-mi.el (gdb): Doc fix.
13943
5a4cf282
MR
139442011-10-05 Martin Rudalics <rudalics@gmx.at>
13945
13946 * window.el (frame-auto-hide-function): New option replacing
13947 frame-auto-delete. Suggested by Stefan Monnier.
13948 (window--delete): Call frame-auto-hide-function instead of
13949 investigating frame-auto-delete.
c96111ea
MR
13950 (window-point-1, set-window-point-1): New functions.
13951 (window-in-direction, record-window-buffer, window-state-get-1)
13952 (display-buffer-record-window): Use window-point-1 instead of
13953 window-point.
13954 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13955
9854542e
SM
139562011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13957
13958 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13959
8943cfb0
GM
139602011-10-05 Glenn Morris <rgm@gnu.org>
13961
13962 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13963 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13964
647ab967
LL
139652011-10-05 Leo Liu <sdl.web@gmail.com>
13966
13967 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13968 works with buffer object.
13969
3ddfbced
SM
139702011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13971
13972 * mpc.el (mpc-tool-bar-map): Add labels.
13973
bdfa5dd2
GM
139742011-10-04 Glenn Morris <rgm@gnu.org>
13975
13976 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13977
0e2070b5
MR
139782011-10-04 Martin Rudalics <rudalics@gmx.at>
13979
13980 * window.el (window--delete): New function.
13981 (frame-auto-delete): Resuscitate option.
13982 (bury-buffer, replace-buffer-in-windows)
13983 (quit-window): Rewrite using window--delete.
13984 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13985 Pass display-buffer-mark-dedicated to window--display-buffer-2
13986 (Bug#9639).
13987
3dc61a09
SM
139882011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13989
915a9b64
SM
13990 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13991 returns a list (bug#9554). Add remote file name completion.
13992 * comint.el (comint--table-subvert): Curry and get quote&unquote
13993 functions as arguments.
13994 (comint--complete-file-name-data): Adjust call accordingly.
13995 * pcomplete.el (pcomplete--table-subvert): Remove.
13996 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13997
3dc61a09
SM
13998 * minibuffer.el (completion-table-case-fold): Use currying.
13999 (completion--styles-type, completion--cycling-threshold-type):
14000 New constants.
14001 (completion-styles, completion-category-overrides)
14002 (completion-cycle-threshold): Use them.
14003 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14004 completion-table-case-fold.
14005
8ea0a993
SB
140062011-10-03 Stephen Berman <stephen.berman@gmx.net>
14007
14008 * minibuffer.el (completion-category-overrides): Fix type of styles
14009 and add more user friendly tags (bug#9660).
14010
8c24b7f6
SM
140112011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14012
14013 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14014 (mule-input-method-string): New widget.
14015 (default-input-method, language-info-custom-alist): Use it.
14016
428fe61a
SM
140172011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14018
32c1fffd
SM
14019 * pcomplete.el: Require comint.
14020 (pcomplete--common-suffix): Remove.
14021 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14022 (pcomplete--table-subvert): Sync with comint--table-subvert.
14023 (pcomplete--entries): Use comint-completion-file-name-table.
14024 * comint.el (comint-unquote-filename): Simplify.
14025 (comint-completion-file-name-table): New function (bug#9616).
14026 (comint--complete-file-name-data): Use it.
14027
428fe61a
SM
14028 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14029 (pcmpl-gnu-tar-buffer): Remove.
14030 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14031 around. Make sure pcomplete-suffix-list is only changed temporarily.
14032 Don't look inside the tar's file if it's too large.
428fe61a 14033
04c52e2f
CY
140342011-10-01 Chong Yidong <cyd@stupidchicken.com>
14035
ce3cefcc
CY
14036 * cus-edit.el (custom-mode-map):
14037 * epa.el (epa-key-list-mode-map):
14038 * man.el (Man-mode-map):
14039 * startup.el (splash-screen-keymap):
14040 * simple.el (special-mode-map): Use scroll-up-command and
14041 scroll-down-command.
14042
14043 * progmodes/idlw-help.el (idlwave-help-mode-map):
14044 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14045 * net/newst-plainview.el (newsticker-mode-map):
14046 * emulation/ws-mode.el (wordstar-mode-map):
14047 * emulation/vi.el (vi-com-map):
14048 * calc/calc-graph.el (calc-graph-show-dumb):
14049 * term/sun.el (terminal-init-sun):
14050 * term/ns-win.el (global-map):
14051 * progmodes/grep.el (grep-mode-map):
14052 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14053 * mail/rmail.el (rmail-mode-map):
14054 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14055
04c52e2f
CY
14056 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14057 custom-safe-themes as special.
14058
79adf8c8
JD
140592011-10-01 Julien Danjou <julien@danjou.info>
14060
14061 * notifications.el (notifications-notify): Fix docstring.
14062
63bd50d3
PS
140632011-10-01 Per Starbäck <per@starback.se>
14064
14065 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14066
199e4c7e
MR
140672011-09-30 Martin Rudalics <rudalics@gmx.at>
14068
14069 * startup.el (command-line-1): Fix last fix by inserting
14070 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 14071 (Bug#9605) and (Bug#9636)
199e4c7e 14072
fe5f08dd
EZ
140732011-09-29 Eli Zaretskii <eliz@gnu.org>
14074
14075 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14076 window is hscrolled, move by logical lines. (Bug#9607)
14077 (line-move-visual): Update the doc string to the above effect.
14078
b5516bbd
MR
140792011-09-29 Martin Rudalics <rudalics@gmx.at>
14080
ccee00c0
MR
14081 * window.el (display-buffer-record-window): When WINDOW is the
14082 selected window use `point' instead of `window-point'. (Bug#9626)
14083
b5516bbd
MR
14084 * startup.el (command-line-1): Use insert-before-markers when
14085 inserting initial-scratch-message. (Bug#9605)
ccee00c0 14086
b5516bbd
MR
14087 * help.el (help-window): Remove variable.
14088
52aa0014
GM
140892011-09-29 Glenn Morris <rgm@gnu.org>
14090
14091 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14092
df9a7357
JB
140932011-09-29 Juanma Barranquero <lekktu@gmail.com>
14094
14095 * descr-text.el (describe-char-categories): Accept category
14096 descriptions more than one line long.
14097
a8406c20
SM
140982011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14099
88d9610c
SM
14100 * simple.el (delete-trailing-whitespace): Fix last change.
14101
a5daf810
SM
14102 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14103 Don't confuse "y => 3" as the beginning of a `y' operation.
14104
a8406c20
SM
14105 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14106 object has more than 4 slots (bug#9613).
14107
a239d4e9
JB
141082011-09-28 Juanma Barranquero <lekktu@gmail.com>
14109
14110 * subr.el (with-output-to-temp-buffer):
14111 * net/quickurl.el (quickurl, quickurl-browse-url):
14112 Fix typos in docstrings.
14113
693fbdb6
EZ
141142011-09-27 Eli Zaretskii <eliz@gnu.org>
14115
14116 * minibuffer.el (completion-styles)
14117 (completion-category-overrides): Cross reference each other in doc
14118 strings.
14119
8b457e28
GM
141202011-09-27 Glenn Morris <rgm@gnu.org>
14121
14122 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14123 to split-string. (Bug#9606)
14124
85a16208
LMI
141252011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14126
14127 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14128 (bug#9615).
14129
502f9ebd
CY
141302011-09-27 Chong Yidong <cyd@stupidchicken.com>
14131
14132 * emacs-lisp/package.el (list-packages): Fix echo area message.
14133
7690bdea
LL
141342011-09-27 Leo Liu <sdl.web@gmail.com>
14135
14136 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14137
e2ee6f30
MA
141382011-09-25 Michael Albinus <michael.albinus@gmx.de>
14139
14140 * net/dbus.el (dbus-unregister-object): Don't release services for
14141 registered signals. (Bug#9581)
14142
f3f98342
TZ
141432011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14144
14145 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14146 function that picks between cfengine 2 and 3 support
14147 automatically. Update docs accordingly.
14148
dd7aa8dd
KH
141492011-09-22 Kenichi Handa <handa@m17n.org>
14150
14151 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14152 ZERO.
14153 (indian-itrans-v5-table-for-tamil): New variable.
14154 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14155
3f2b07f8
KM
141562011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14157
14158 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14159 that's true if the current command involved collapsing of text.
14160 It's reset to false at the beginning of the next command.
14161 (allout-post-command-business): Move the cursor to the beginning
14162 of entry if the cursor is hidden and collapsing activity just
14163 happened.
14164
371d6a61
CY
141652011-09-24 Chong Yidong <cyd@stupidchicken.com>
14166
14167 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14168 tracking (Bug#9541).
14169
2ac2721a
UJ
141702011-09-24 Ulf Jasper <ulf.jasper@web.de>
14171
14172 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14173 (newsticker-show-news): Automatically load html rendering package
14174 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14175 because w3m-fill-column is let-bound" and the error "Symbol's value
14176 as variable is void: w3m-fill-column".
2ac2721a 14177
fac7ae53
MA
141782011-09-24 Michael Albinus <michael.albinus@gmx.de>
14179
14180 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14181 Release services only if they are defined. (Bug#9581)
14182
e08b633b
RS
141832011-09-23 Richard Stallman <rms@gnu.org>
14184
e488d29c
RS
14185 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14186 distinguish start of paragraph from start of its text.
14187
19c38752
RS
14188 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14189
e08b633b
RS
14190 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14191 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14192 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14193
0a39f27e
AS
141942011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14195
14196 * international/mule-diag.el (mule-diag): Insert a newline after
14197 each fontset description.
14198
db4e950d
SM
141992011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14200
14201 * simple.el (delete-trailing-whitespace):
14202 Document last change; simplify.
14203
eca3f3ea
PW
142042011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14205
d68e189a
PW
14206 * simple.el (delete-trailing-whitespace): Also delete
14207 extra newlines at the end of the buffer.
14208
eca3f3ea
PW
14209 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14210 (picture-newline): Use forward-line so as to ignore fields.
14211
01c157cc
SM
142122011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14213
14214 * subr.el (with-wrapper-hook): Fix edebug spec.
14215
022de23e
LMI
142162011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14217
14218 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14219 (bug#4538).
14220
91683089
MA
142212011-09-23 Michael Albinus <michael.albinus@gmx.de>
14222
eca3f3ea
PW
14223 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14224 Fix nasty bug using wrong cached values.
91683089 14225
5bdd6fa4
AM
142262011-09-23 Alan Mackenzie <acm@muc.de>
14227
14228 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14229
97adfb97
CY
142302011-09-23 Chong Yidong <cyd@stupidchicken.com>
14231
14232 * window.el (pop-to-buffer): Ensure right window is selected if we
14233 chose another frame.
14234
d4ef2b50
EZ
142352011-09-22 Eli Zaretskii <eliz@gnu.org>
14236
14237 * simple.el (what-cursor-position): Use get-char-property-change
14238 and next-single-char-property-change, to be able to show display
14239 properties that come from overlays as well as text properties.
14240
72258fe5
CY
142412011-09-22 Chong Yidong <cyd@stupidchicken.com>
14242
14243 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14244
14245 * cmuscheme.el (run-scheme, switch-to-scheme):
14246 * cus-edit.el (customize-group, custom-buffer-create)
14247 (customize-browse):
14248 * info.el (info):
14249 * shell.el (shell):
14250 * mail/sendmail.el (mail):
14251 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14252
8f098516
RS
142532011-09-22 Richard Stallman <rms@gnu.org>
14254
14255 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14256 move back only to line beg, don't move back over blank lines.
14257
e74f1bb6
MA
142582011-09-22 Michael Albinus <michael.albinus@gmx.de>
14259
14260 * files.el (copy-directory): Set directory attributes only in case
14261 they could be retrieved from the source directory. (Bug#9565)
14262
bfeef8b6
DK
142632011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14264
14265 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14266 (hs-find-block-beginning, hs-hide-level-recursive):
14267 Ignore strings as well as comments. (Bug#9502)
14268
7e423bb8
AS
142692011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14270
14271 * progmodes/sql.el (sql-comint-postgres):
14272 Convert port number to a string. (Bug#9566)
14273
b4d72fcf
MR
142742011-09-22 Martin Rudalics <rudalics@gmx.at>
14275
14276 * window.el (quit-window): Undedicate window when switching to
14277 previous buffer. Reported by Thierry Volpiatto
14278 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14279 (special-display-popup-frame): When popping up a new frame reset
14280 its previous buffers to nil. Simplify code.
b4d72fcf 14281
a7b88dc6
MA
142822011-09-21 Michael Albinus <michael.albinus@gmx.de>
14283
14284 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14285 and process filter, as done also in `shell-command'.
14286
cf4eacfd
MR
142872011-09-21 Martin Rudalics <rudalics@gmx.at>
14288
eca3f3ea 14289 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14290 Call set-window-start with NOFORCE argument t.
14291 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14292 (quit-window): Reword doc-string. Handle new format of
14293 quit-restore parameter. Don't delete window if it has a
14294 previous buffer we can show instead of the present one.
14295 (display-buffer-record-window): Rewrite using a new format for
14296 the quit-restore window parameter
14297 (special-display-popup-frame, display-buffer-same-window)
14298 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14299 (display-buffer-pop-up-window, display-buffer-use-some-window):
14300 Adapt symbol passed to display-buffer-record-window.
14301 * help.el (help-window-setup): Handle new format of quit-restore
14302 parameter.
14303
8d28cb95
SM
143042011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14305
94ab793f
SM
14306 * faces.el (face-list): Fix docstring (bug#9564).
14307
8d28cb95
SM
14308 * window.el (display-buffer--action-function-custom-type):
14309 Don't include internal functions in the Custom interface.
14310
3820edeb
JL
143112011-09-20 Juri Linkov <juri@jurta.org>
14312
14313 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14314 (Info-forward-node, Info-backward-node, Info-next-preorder)
14315 (Info-last-preorder): Use it. (Bug#9528)
14316
5147931d
JL
143172011-09-20 Juri Linkov <juri@jurta.org>
14318
14319 * info.el (Info-last-preorder): Visit last menu item only when
14320 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14321
cf499a1a
JD
143222011-09-20 Julien Danjou <julien@danjou.info>
14323
14324 * password-cache.el (password-cache-remove): Remove entries even if the
14325 value is nil, so that password with a nil value (negative caching) is
14326 possible to invalidate.
14327
f84e2fe2
LM
143282011-09-20 Lawrence Mitchell <wence@gmx.li>
14329
14330 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14331 all whitespace around breakpoint. (Bug#9553)
14332 (f90-find-breakpoint): Only break at whitespace inside a comment.
14333
78054a46
SM
143342011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14335
14336 * minibuffer.el (completion-file-name-table): Keep track of errors.
14337 (completion-table-with-predicate): Handle the case where pred1 is nil.
14338 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14339
345083b2
SM
143402011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14341
e24e27be
SM
14342 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14343 (debugger-return-value): Signal an error if the debugging context does
14344 not await any return value.
14345
345083b2
SM
14346 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14347 * image-mode.el (image-toggle-display-text)
14348 (image-toggle-display-image): Stay away from evil `intangible'.
14349
08d355e3
LL
143502011-09-19 Leo Liu <sdl.web@gmail.com>
14351
14352 * replace.el (occur-revert-arguments): Make it permanent-local.
14353 (occur-mode): Don't call font-lock-defontify.
14354
f01da43f
CY
143552011-09-19 Chong Yidong <cyd@stupidchicken.com>
14356
14357 * net/ldap.el (ldap-search-internal): Don't push empty search
14358 result (Bug#9508).
14359
b6072fa6
SM
143602011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14361
14362 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14363
443d6696
MA
143642011-09-19 Michael Albinus <michael.albinus@gmx.de>
14365
14366 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14367 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14368
7cc6e154
JL
143692011-09-18 Juri Linkov <juri@jurta.org>
14370
14371 * buff-menu.el (Buffer-menu-mode-map):
14372 * dired.el (dired-mode-map):
14373 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14374 (lisp-interaction-mode-map):
14375 * emacs-lisp/package.el (package-menu-mode-map):
14376 * epa.el (epa-key-list-mode-map):
14377 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14378 (menu-bar-options-menu):
14379 * outline.el (outline-mode-menu-bar-map):
14380 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14381 * vc/vc-dir.el (vc-dir-menu-map):
14382 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14383 Capitalize non-function content words in menu item strings.
14384
14385 * dired.el (dired-mode-map): Add menu item for
14386 `image-dired-dired-toggle-marked-thumbs'.
14387
80302a81
JL
143882011-09-18 Juri Linkov <juri@jurta.org>
14389
14390 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14391 to `isearch-case-fold-search' and restore its original value
14392 after the `isearch-mode' call.
14393
46c5cf66
JL
143942011-09-18 Juri Linkov <juri@jurta.org>
14395
14396 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14397 because `zgrep' returns 1 for successful matches (bug#9226).
14398
d18b513b
JL
143992011-09-18 Juri Linkov <juri@jurta.org>
14400
14401 * info.el (Info-extract-menu-node-name): Check the second match
14402 for empty string (second test-case of bug#9528).
14403 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14404 intermediate nodes to the history (first test-case of bug#9528).
14405
72753f87
JL
144062011-09-18 Juri Linkov <juri@jurta.org>
14407
14408 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14409 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14410
c9384295
JL
144112011-09-18 Juri Linkov <juri@jurta.org>
14412
1154d12e
JB
14413 * info.el (Info-file-supports-index-cookies):
14414 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14415 outputs one more line for long file names (bug#4142).
c9384295 14416
d473dce8
CY
144172011-09-18 Chong Yidong <cyd@stupidchicken.com>
14418
14419 * newcomment.el (comment-normalize-vars): If prompting for
14420 comment-start, set comment-start-skip too (Bug#8424).
14421
2176854d
JB
144222011-09-18 Johan Bockgård <bojohan@gnu.org>
14423
14424 * icomplete.el: Fix previous fix of Bug#5849.
14425 (icomplete-mode): Don't set completion-show-inline-help.
14426 (icomplete-minibuffer-setup): Set completion-show-inline-help
14427 locally during icompletion.
14428
3aace4e4
CY
144292011-09-18 Chong Yidong <cyd@stupidchicken.com>
14430
c940224f
CY
14431 * woman.el (woman2-process-escapes): Don't delete unrecognized
14432 escapes (Bug#7843).
14433
3aace4e4
CY
14434 * files.el (inhibit-first-line-modes-regexps): Add image files.
14435 (hack-local-variables-prop-line): Return nil for malformed
14436 prop-lines (Bug#9044).
14437
710dec63
MA
144382011-09-18 Michael Albinus <michael.albinus@gmx.de>
14439
14440 * net/tramp.el (top): Don't require 'shell.
14441 (tramp-methods): Fix docstring.
14442 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14443 Return complete remote file name. Handle "smb" case.
14444 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14445 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14446
14447 * net/tramp-compat.el (top): Require 'shell.
14448
14449 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14450 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14451 `tramp-current-host'.
14452 (tramp-get-remote-tmpdir): Remove.
14453
14454 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14455 `tramp-tmpdir' entries.
14456 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14457 (tramp-smb-handle-file-attributes): Ignore errors.
14458 (tramp-smb-wait-for-output): Check also for process end.
14459
5d5ac8ec
LMI
144602011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14461
14462 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14463 when sending QUIT (bug#9312).
14464
8c0f49f0
CY
144652011-09-17 Chong Yidong <cyd@stupidchicken.com>
14466
14467 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14468 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14469 occur-mode-display-occurrence.
14470 (occur-edit-mode): Add usage message.
14471 (occur-cease-edit): New command.
14472 (occur-after-change-function): Use text properties to find the
14473 position of the prefix text.
14474 (occur-engine): Set stickiness of prefix text properties.
14475
8f1383f7
GM
144762011-09-17 Glenn Morris <rgm@gnu.org>
14477
14478 * progmodes/etags.el (complete-tag):
14479 Fix call to completion-in-region. (Bug#9526)
14480
744ba0e3
JL
144812011-09-17 Juri Linkov <juri@jurta.org>
14482
14483 * textmodes/ispell.el (ispell-word): Add to the error message
14484 the word, ispell program name and current dictionary (bug#9121).
14485 (ispell-tex-arg-end): Capitalize "error" in the error message.
14486
d9bbf400
AS
144872011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14488
14489 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14490 check. (Bug#4251)
14491
8da11505
JL
144922011-09-17 Juri Linkov <juri@jurta.org>
14493
14494 * window.el (window-safe-min-height, window-safe-min-width):
14495 Fix typos (followup to bug#9522).
14496
a91adc7e
SJ
144972011-09-17 Sven Joachim <svenjoac@gmx.de>
14498
14499 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14500
064f328a
EZ
145012011-09-16 Eli Zaretskii <eliz@gnu.org>
14502
14503 * simple.el (line-move): If goal-column is set, move by logical
14504 lines, not by display lines. (Bug#971)
14505 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14506 to reflect the above change.
14507
e69df516
SM
145082011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14509
14510 * image.el (imagemagick-register-types): Use regexp-opt.
14511
cbb0f9ab
CY
145122011-09-15 Chong Yidong <cyd@stupidchicken.com>
14513
14514 * window.el (display-buffer-base-action): Rename from
14515 display-buffer-default-action. Make default value empty.
14516 (display-buffer-overriding-action): Convert to defvar.
14517 (display-buffer-fallback-action): New var.
14518
25322144
CY
145192011-09-15 Chong Yidong <cyd@stupidchicken.com>
14520
14521 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14522 declaration.
14523 (package--add-to-archive-contents): If there is a duplicate entry
14524 with an older version, remove it.
14525 (package-menu-mark-delete, package-menu-mark-install)
14526 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
14527 (package-menu-mark-obsolete-for-deletion):
14528 Use package-menu-get-status instead of a regexp search.
25322144
CY
14529 (package-menu-get-status): Use tabulated-list-entry.
14530 (package-menu-mark-upgrades): New command.
d770725a 14531 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
14532 (package-menu-execute): Do installation before deletion.
14533 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14534 instead of checking major-mode.
14535 (package-menu--find-upgrades): New function.
14536
7520339c
LMI
145372011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14538
14539 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14540 passwords in the log buffer.
65a046c4
LMI
14541 (smtpmail-process-filter): Update the process marker so that the
14542 "broken by peer" status message is inserted in the right place.
7520339c 14543
d3c30954
SM
145442011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14545
3fe48822
SM
14546 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14547 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14548 bibtex-completion-at-point-function.
14549 (bibtex-completion-at-point-function): Use them.
14550
1b8b3954
SM
14551 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14552
d3c30954
SM
14553 * mpc.el (mpc-constraints-tag-lookup): New function.
14554 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14555 also to browser "album|playlist".
14556
72779976
JL
145572011-09-14 Juri Linkov <juri@jurta.org>
14558
14559 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14560 (isearch-edit-string): Use length of `isearch-string' when
14561 `isearch-fail-pos' returns nil.
14562 (isearch-message): Remove duplicate code and call
14563 `isearch-fail-pos' with arg `t'.
14564
a0bf2bcd
CY
145652011-09-14 Chong Yidong <cyd@stupidchicken.com>
14566
17bb0a2d
CY
14567 * replace.el (occur-mode-goto-occurrence): Don't force using other
14568 window (Bug#9499).
14569
a0bf2bcd
CY
14570 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14571
f678e0b6
MR
145722011-09-14 Martin Rudalics <rudalics@gmx.at>
14573
14574 * window.el (display-buffer-window): Remove.
14575 (display-buffer-record-window): Use help-setup window parameter
14576 instead of variable display-buffer-window.
14577 (display-buffer-function, special-display-buffer-names)
14578 (special-display-function): Mention help-setup parameter instead
14579 of display-buffer-window in doc-string.
d3c30954
SM
14580 * help.el (help-window-setup): New argument help-window.
14581 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14582 Reword some messages.
14583 (with-help-window): Pass window used for displaying the buffer
14584 to help-window-setup. Don't set display-buffer-window.
14585
8e39b2e8
GM
145862011-09-13 Glenn Morris <rgm@gnu.org>
14587
14588 * emacs-lisp/debug.el (debugger-make-xrefs):
14589 Preserve point. (Bug#9462)
14590
85e9c04b
CY
145912011-09-13 Chong Yidong <cyd@stupidchicken.com>
14592
14593 * window.el (window-deletable-p): Use next-frame.
14594
1b36ed6a
MR
145952011-09-13 Martin Rudalics <rudalics@gmx.at>
14596
14597 * window.el (window-auto-delete): Remove.
14598 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14599 dedication and previous buffers.
1b36ed6a
MR
14600 (switch-to-prev-buffer): Don't delete window.
14601 (delete-windows-on): Delete a window's frame if and only if the
14602 window is dedicated.
14603 (replace-buffer-in-windows): Delete buffer's window or frame if
14604 and only if window is dedicated.
14605 (quit-window): Handle quit-restore as before last change.
4d61f28d 14606 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14607
ef8ef9fb
CY
146082011-09-13 Chong Yidong <cyd@stupidchicken.com>
14609
14610 * window.el (window-deletable-p): Never delete the last frame on a
14611 given terminal.
14612
b2cba41e
GM
146132011-09-13 Glenn Morris <rgm@gnu.org>
14614
14615 * help.el (describe-key-briefly): Copy previous standard-output change.
14616
51553db6 146172011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14618
14619 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14620
b7556719
GM
146212011-09-13 Glenn Morris <rgm@gnu.org>
14622
14623 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14624 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14625
64b51947
CY
146262011-09-12 Chong Yidong <cyd@stupidchicken.com>
14627
14628 * dired-aux.el (dired-mark-read-string): Don't return default
14629 value on empty input (Bug#9361).
14630 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14631 Omit initial minibuffer contents.
14632 (dired-do-chmod): Signal an error on empty input.
14633 (dired-mark-read-string): Don't return default on empty input.
14634
14635 * files.el (file-modes-symbolic-to-number): Doc fix.
14636
393a301e
SM
146372011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14638
14639 * international/mule-cmds.el (ucs-completions): Remove.
14640 (read-char-by-name): Use complete-with-action instead; add metadata.
14641
fa5660f9
CY
146422011-09-11 Chong Yidong <cyd@stupidchicken.com>
14643
14644 * window.el (display-buffer--action-function-custom-type)
14645 (display-buffer--action-custom-type): New vars.
14646 (display-buffer-alist, display-buffer-default-action)
14647 (display-buffer-overriding-action): Add defcustom types.
14648
4a592f66
CY
14649 * frame.el (delete-other-frames): Doc fix (Bug#276).
14650
73d56dbd
LMI
146512011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14652
14653 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14654
37ac18a3
CY
146552011-09-11 Chong Yidong <cyd@stupidchicken.com>
14656
14657 Change modes that used same-window-* vars to use switch-to-buffer.
14658
14659 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14660 Use switch-to-buffer.
14661
14662 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14663 (customize-browse, custom-buffer-create-other-window):
14664 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14665
14666 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14667 (Info-prev, Info-up, Info-speedbar-goto-node)
14668 (info-display-manual): Use switch-to-buffer.
14669 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14670
14671 * mail/sendmail.el (mail): Use switch-to-buffer.
14672 (mail-recover): Use switch-to-buffer-other-window.
14673
14674 * cmuscheme.el (run-scheme, switch-to-scheme):
14675 * ielm.el (ielm):
14676 * shell.el (shell):
14677 * net/rlogin.el (rlogin):
14678 * net/telnet.el (telnet, rsh):
14679 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14680
10195bd6
AS
146812011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14682
14683 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14684
b322f63a
LMI
146852011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14686
39d7fed6
LMI
14687 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14688 so don't mention it (bug#9301).
ba5a81f1 14689 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14690
ee0e9f11
LMI
14691 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14692 match `x', `w32' and `ns', like the manual says (bug#9029).
14693
0b1c89c1 14694 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14695 (process-kill-buffer-query-function): Mention the buffer name in
14696 the query.
0b1c89c1 14697
77549ea8
LMI
14698 * image-mode.el (image-next-line): The line parameter is mandatory
14699 (bug#9258).
14700
803ef892
LMI
14701 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14702 which can be useful (bug#9301).
14703
12980837
LMI
14704 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14705
91054f8f
LMI
14706 * subr.el (match-string): Mention that the current buffer should
14707 be the same as the search was done in (bug#9282).
14708
b322f63a
LMI
14709 * facemenu.el: Disable the remove-* commands if the mark isn't
14710 active (bug#9162).
14711
3199b96f
CY
147122011-09-10 Chong Yidong <cyd@stupidchicken.com>
14713
14714 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14715 of display-buffer.
14716 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14717
14718 * replace.el (occur-mode-goto-occurrence)
14719 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14720 and display-buffer.
14721
14722 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14723 display-buffer.
14724
14725 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14726 special-display and same-window variables.
14727 (mail-other-window): Use switch-to-buffer-other-window.
14728 (mail-other-frame): USe switch-to-buffer-other-frame.
14729
393a301e
SM
14730 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14731 Use display-buffer-other-frame.
3199b96f
CY
14732 (gdb-display-gdb-buffer): Use pop-to-buffer.
14733
14734 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14735
14736 * progmodes/python.el: Don't set same-window-buffer-names.
14737
14738 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14739
14740 * window.el (display-buffer-alist): Add *Python*.
14741
8319e0bf
CY
147422011-09-10 Chong Yidong <cyd@stupidchicken.com>
14743
14744 * window.el (display-buffer-alist): Add entry for buffers
14745 previously handled same-window-*.
14746 (display-buffer-alist, display-buffer-default-action)
14747 (display-buffer-overriding-action): Mark as risky.
14748 (display-buffer-alist): Document action function changes.
14749 (display-buffer--same-window-action)
14750 (display-buffer--other-frame-action): New variables.
14751 (switch-to-buffer, display-buffer-other-frame): Use them.
14752 (display-buffer): Rename reuse-frame entry to reusable-frames.
14753 (display-buffer-reuse-selected-window): Function deleted.
14754 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14755 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14756 (display-buffer-special): New function.
14757 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14758 display-buffer-reuse-or-pop-window. Split off special-display
14759 part into display-buffer-special.
14760 (display-buffer-use-some-window): Don't perform any special
14761 pop-up-frames handling.
14762 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14763 (display-buffer--maybe-same-window): Rename from
0d3ff375 14764 display-buffer-maybe-same-window.
8319e0bf 14765
919a69aa
CY
14766 * info.el: Don't set same-window-regexps.
14767 (info-setup): New function.
14768 (info-other-window, info): Call it.
14769
14770 * cus-edit.el: Don't set same-window-regexps.
14771 (customize-group): New argument.
14772 (customize-group-other-window): Use it.
14773 (customize-face, customize-face-other-window): Likewise.
14774 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14775
8319e0bf
CY
14776 * net/rlogin.el:
14777 * net/telnet.el:
14778 * progmodes/gud.el: Don't set same-window-regexps.
14779
14780 * cmuscheme.el:
14781 * ielm.el:
14782 * shell.el:
14783 * mail/sendmail.el:
14784 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14785
25173000
JL
147862011-09-10 Juri Linkov <juri@jurta.org>
14787
14788 * isearch.el (isearch-edit-string): Remove obsolete mention of
14789 `C-w' (`isearch-yank-word-or-char') from docstring.
14790 (isearch-query-replace): Fix typo in docstring (bug#9466).
14791
056e44ef
JL
147922011-09-10 Juri Linkov <juri@jurta.org>
14793
14794 * paren.el (show-paren-function): Don't show escaped parens.
14795 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14796
c3760c17
EZ
147972011-09-10 Eli Zaretskii <eliz@gnu.org>
14798
14799 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14800 (mm-default-file-encoding): Remove autoload forms, they are
14801 replaced with autoload cookies in mml.el and mm-encode.el.
14802 (mail-add-attachment): New command.
14803 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14804 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14805 the doc string.
14806 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14807
fece895e
RT
148082011-09-10 Reuben Thomas <rrt@sc3d.org>
14809
e69df516
SM
14810 * simple.el (count-words-region): Use buffer if there's no region
14811 (bug#9429).
fece895e 14812
5e68ce4a
JL
148132011-09-09 Juri Linkov <juri@jurta.org>
14814
14815 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14816 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14817 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14818
0a6b9622
AM
148192011-09-09 Alan Mackenzie <acm@muc.de>
14820
14821 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14822 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14823
14a29deb
EZ
148242011-09-09 Eli Zaretskii <eliz@gnu.org>
14825
14826 Fix for Savannah bug#9392.
14827 * simple.el (mail-encode-mml): New defvar.
14828
14829 * mail/rmail.el (mail-encode-mml): Add a defvar.
14830 (rmail-enable-mime-composing): Default to t.
14831 (rmail-forward): Use MIME method of forwarding only if both
14832 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14833 Set mail-encode-mml non-nil if the MIME method was used.
14834
14835 * mail/sendmail.el (mml-to-mime): Add autoload form.
14836 (mail-encode-mml): Add a defvar.
14837 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14838 to nil.
14839 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14840 message through mml-to-mime, and reset mail-encode-mml to nil.
14841
28c45130
GM
148422011-09-09 Glenn Morris <rgm@gnu.org>
14843
14844 * woman.el (woman-if-body): When processing an .el block,
14845 do not delete the next .el block as well. (Bug#9447)
69f4b618 14846 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14847
9b1c252e
MR
148482011-09-08 Martin Rudalics <rudalics@gmx.at>
14849
14850 * window.el (window-deletable-p): Make sure window is live before
14851 invoking window-prev-buffers.
14852
567457e3
LL
148532011-09-08 Leo Liu <sdl.web@gmail.com>
14854
14855 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14856
97f05794
JL
148572011-09-08 Juri Linkov <juri@jurta.org>
14858
14859 * progmodes/compile.el (compilation-environment): Make it
14860 a defcustom (bug#8340).
14861
8b0874b5
MR
148622011-09-08 Martin Rudalics <rudalics@gmx.at>
14863
14864 * window.el (frame-auto-delete): Rename to window-auto-delete.
14865 Make it control auto-deletion of windows and/or frames.
14866 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14867 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14868 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14869 Rewrite handling of case when window/frame can be deleted.
14870 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14871 argument t. (Bug#9456)
8b0874b5 14872
4feb6e73
CY
148732011-09-07 Chong Yidong <cyd@stupidchicken.com>
14874
14875 * help-mode.el (help-mode): Restore autoload.
14876
91ab9c13
JL
148772011-09-07 Juri Linkov <juri@jurta.org>
14878
14879 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14880 `compilation-environment'. Set buffer-local
14881 `compilation-environment' to `thisenv' later after (funcall mode).
14882 (Bug#8340)
14883
14884 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14885 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14886 instead of replacing its value. (Bug#8340)
14887
0527e251
JL
148882011-09-07 Juri Linkov <juri@jurta.org>
14889
14890 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14891 based on text properties put by `grep-filter' instead of matching
14892 escape sequences.
14893 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14894 to the value of `grep-error-screen-columns' (bug#9438).
14895
249f792c
JL
148962011-09-07 Juri Linkov <juri@jurta.org>
14897
14898 * simple.el (next-error-highlight, next-error-highlight-no-select):
14899 Doc fix (bug#9432).
14900
ff7271b9
OT
149012011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14902
14903 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14904 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14905
183fc730
LL
149062011-09-07 Leo Liu <sdl.web@gmail.com>
14907
14908 * net/rcirc.el (rcirc-mode): Conditionally initialize
14909 rcirc-input-ring.
14910
77694924
SM
149112011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14912
14913 * emacs-lisp/find-func.el (find-function-C-source): Only set
14914 find-function-C-source-directory after checking that we found a source
14915 file there (bug#9440).
14916
d809b8eb
AM
149172011-09-06 Alan Mackenzie <acm@muc.de>
14918
14919 * isearch.el (isearch-other-meta-char): Wherever a key list is
14920 unread, "unread" the prefix arg, too. This fixes bug #8901.
14921
453de99f
OG
149222011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14923
14924 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14925
90439906
JL
149262011-09-05 Juri Linkov <juri@jurta.org>
14927
14928 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14929
f62bd846
JL
149302011-09-05 Juri Linkov <juri@jurta.org>
14931
14932 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14933 keeping point where processing of grep matches begins, and
14934 continue to delete remaining escape sequences from the same point.
14935 (grep-filter): Make leading zero optional in "0?1;31m" because
14936 git-grep emits "\033[1;31m" escape sequences unlike expected
14937 "\033[01;31m" as GNU Grep does (bug#9408).
14938 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14939
045820ec
JL
149402011-09-05 Juri Linkov <juri@jurta.org>
14941
14942 * subr.el (y-or-n-p): Capitalize "yes".
14943
f5e29b9b
MA
149442011-09-04 Michael Albinus <michael.albinus@gmx.de>
14945
14946 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14947 `tramp-cache-unload-hook' where appropriate.
14948 (tramp-methods): Rename `tramp-remote-sh' to
14949 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14950 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14951
14952 * net/tramp-sh.el (top): Don't require 'shell.
14953 (tramp-methods): Add `tramp-remote-shell' and
14954 `tramp-remote-shell-args' entries.
14955 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14956 (tramp-sh-handle-shell-command): Remove.
14957 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14958 Use `tramp-remote-shell'.
14959
2784c434
CY
149602011-09-03 Chong Yidong <cyd@stupidchicken.com>
14961
393a301e 14962 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14963 (sendmail-query-once): Save directly to send-mail-function.
14964 Update message-send-mail-function too.
14965
14966 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14967
464cdf56
CS
149682011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14969
14970 * progmodes/python.el (python-mode-map): Use correct function to
14971 start python interpreter from menu-bar (as reported by Geert
14972 Kloosterman).
14973 (inferior-python-mode-map): Fix typo.
393a301e 14974 (python-shell-map): Remove.
464cdf56 14975
d37e5c87
DD
149762011-09-03 Deniz Dogan <deniz@dogan.se>
14977
14978 * net/rcirc.el (rcirc-print): Simplify code for
14979 rcirc-scroll-show-maximum-output. There is no need to walk
14980 through all windows to find the right one.
14981
f3ada0ee
CS
149822011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14983
14984 * help.el (help-return-method): Doc fix.
14985
1f3c99ca
MR
149862011-09-03 Martin Rudalics <rudalics@gmx.at>
14987
14988 * window.el (window-deletable-p): Don't return a non-nil value
14989 when there's a buffer that was shown in the window before.
14990 (Bug#9419)
393a301e
SM
14991 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14992 Set window's previous buffers to nil.
1f3c99ca 14993
a3cf097f
EZ
149942011-09-03 Eli Zaretskii <eliz@gnu.org>
14995
14996 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14997 newline before and after the tag line, so it doesn't interfere
14998 with determining the paragraph direction of bidirectional text.
14999
3d03de90
LL
150002011-09-03 Leo Liu <sdl.web@gmail.com>
15001
15002 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15003
c3313451
CY
150042011-09-02 Chong Yidong <cyd@stupidchicken.com>
15005
393a301e 15006 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15007 (pop-to-buffer): Change interactive spec. Pass second argument
15008 directly to display-buffer.
15009 (display-buffer): Fix interactive spec. Use functionp to
15010 distinguish between a function and a list of functions.
15011
15012 * abbrev.el (edit-abbrevs):
15013 * arc-mode.el (archive-extract):
15014 * autoinsert.el (auto-insert):
15015 * bookmark.el (bookmark-bmenu-list):
15016 * files.el (find-file):
15017 * view.el (view-buffer):
15018 * progmodes/compile.el (compilation-goto-locus):
15019 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15020
89894cd8
CY
150212011-09-02 Chong Yidong <cyd@stupidchicken.com>
15022
15023 * window.el (display-buffer-alist): Doc fix.
15024 (display-buffer): Add docstring. Don't treat
15025 display-buffer-default specially.
15026 (display-buffer-reuse-selected-window)
15027 (display-buffer-same-window, display-buffer-maybe-same-window)
15028 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15029 (display-buffer-pop-up-window)
15030 (display-buffer-reuse-or-pop-window)
15031 (display-buffer-use-some-window): New functions.
15032 (display-buffer-default-action): Use them.
393a301e 15033 (display-buffer-default): Delete.
89894cd8
CY
15034 (pop-to-buffer-1): Fix choice of actions.
15035
ae0bc9fb
SM
150362011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15037
15038 * minibuffer.el (completion--insert-strings): Don't get confused by
15039 completion entries that end with an LF char.
15040
e9d90883
EZ
150412011-09-01 Eli Zaretskii <eliz@gnu.org>
15042
15043 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15044
437014c8
CY
150452011-09-01 Chong Yidong <cyd@stupidchicken.com>
15046
15047 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15048 (display-buffer-same-window, display-buffer-other-window):
15049 New functions.
437014c8
CY
15050 (pop-to-buffer-1): New function. Use the above.
15051 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15052 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
15053
15054 * view.el (view-buffer-other-window, view-buffer-other-frame):
15055 Just use pop-to-buffer.
15056
a5e063d5
TV
150572011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15058
15059 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15060
793d32bb
WH
150612011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15062
15063 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15064
d65e4c15
RS
150652011-08-31 Richard Stallman <rms@gnu.org>
15066
15067 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15068 of the separation of rmail-view-buffer from rmail-buffer.
15069 If you say no to "replace original", the decrypt is in the
15070 view buffer. If you say yes, the decrypt goes into the
15071 rmail buffer also.
15072
f818cd2a
MR
150732011-08-31 Martin Rudalics <rudalics@gmx.at>
15074
15075 * window.el (display-buffer-window): Rewrite doc-string.
15076 (display-buffer-record-window): New function.
15077 (display-buffer-macro-specifiers)
15078 (display-buffer-even-window-sizes, display-buffer-set-height)
15079 (display-buffer-set-width, display-buffer-in-window)
15080 (display-buffer-reuse-window, display-buffer-split-specifiers)
15081 (display-buffer-side-specifiers, display-buffer-split-window-1)
15082 (display-buffer-split-window, display-buffer-split-atom-window)
15083 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15084 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15085 (display-buffer-other-window-means-other-frame)
15086 (display-buffer-normalize-special)
15087 (display-buffer-normalize-default)
15088 (display-buffer-normalize-argument)
15089 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15090 (display-buffer-normalize-specifiers, display-buffer-frame)
15091 (display-buffer-same-window, display-buffer-same-frame)
15092 (display-buffer-other-window)
15093 (display-buffer-same-frame-other-window)
15094 (display-buffer-other-frame, pop-to-buffer-same-window)
15095 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15096 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15097 (switch-to-buffer-same-frame)
15098 (switch-to-buffer-other-window-same-frame)
15099 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15100 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15101 (display-buffer-alist-set): Remove.
15102 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15103 (special-display-regexps, special-display-function):
15104 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15105 parameter.
15106 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15107 (special-display-frame-alist, special-display-popup-frame)
15108 (same-window-buffer-names, same-window-regexps, same-window-p)
15109 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15110 (split-window-preferred-function, split-height-threshold)
15111 (split-width-threshold, window-splittable-p)
15112 (split-window-sensibly, window--try-to-split-window)
15113 (window--frame-usable-p, even-window-heights)
15114 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15115 (window--display-buffer-2, display-buffer-other-frame):
15116 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15117 (display-buffer-default, display-buffer-assq-regexp): New functions.
15118 (display-buffer-alist): Rewrite doc-string.
15119 (display-buffer-default-action)
15120 (display-buffer-overriding-action): New variables.
15121 (display-buffer, switch-to-buffer): Rewrite.
15122 (pop-to-buffer): Restore Emacs 23 behavior but use
15123 window-normalize-buffer-to-display.
15124 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15125 Restore Emacs 23 behavior but use
15126 window-normalize-buffer-to-switch-to.
15127 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15128 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15129 Rewrite using Emacs 23 options.
f818cd2a 15130
5bc3b51d
MA
151312011-08-31 Michael Albinus <michael.albinus@gmx.de>
15132
15133 * net/tramp.el (tramp-root-regexp): Remove.
15134 (tramp-completion-file-name-regexp-unified)
15135 (tramp-completion-file-name-regexp-separate)
15136 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15137 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15138 (tramp-drop-volume-letter): Simplify definition.
15139 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15140
b1a4f8e1
SM
151412011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15142
15143 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15144 (bug#9356).
15145
5664fa7b
RT
151462011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15147
b1a4f8e1 15148 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15149
9a45d6c3
JL
151502011-08-29 Juri Linkov <juri@jurta.org>
15151
15152 * isearch.el (isearch-done): Don't display message "Mark saved"
15153 when arg `edit' is non-nil to prevent its flicker in the echo area.
15154
fb87e0fb
CY
151552011-08-28 Chong Yidong <cyd@stupidchicken.com>
15156
15157 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15158 obsolete packages for deletion.
15159
09ac1c2a
CS
151602011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15161
15162 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15163 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15164 view-mode from help-mode.
15165 (help-xref-override-view-map): Remove.
15166 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15167 view-mode is not used anymore.
15168
7a1ff57f
CY
151692011-08-28 Chong Yidong <cyd@stupidchicken.com>
15170
15171 * server.el (server-port): Doc fix.
15172
b9696605
CY
15173 * cus-theme.el (custom-theme-choose-mode): Inherit from
15174 special-mode (Bug#9124).
15175 (custom-theme-choose-mode-map): Add special-mode to parent.
15176
ef8cdf8c
AM
151772011-08-28 Alan Mackenzie <acm@muc.de>
15178
15179 * progmodes/cc-fonts.el
15180 (c-make-font-lock-BO-decl-search-function): New function.
15181 (c-basic-matchers-after - "Fontify the clauses after various
15182 keywords"): Extract the three keyword lists for the 3 erroneous
15183 constructs from the list of four, and use the new function above
15184 in place of an old one.
15185
27de4e20
DD
151862011-08-28 Deniz Dogan <deniz@dogan.se>
15187
15188 * net/rcirc.el (rcirc-insert-prev-input)
15189 (rcirc-insert-next-input): Remove unused argument.
15190
356a3681
SM
151912011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15192
15193 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15194
3fc9b218
AM
151952011-08-27 Alan Mackenzie <acm@muc.de>
15196
15197 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15198 handle function pointer parameters properly.
15199
538a061c
MR
152002011-08-27 Martin Rudalics <rudalics@gmx.at>
15201
15202 * window.el (display-buffer-reuse-window): Fix case where
15203 selected window was reused with non-nil OTHER-WINDOW argument.
15204 (Bug#9381)
15205
35b1c40c
DD
152062011-08-27 Deniz Dogan <deniz@dogan.se>
15207
15208 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15209 oftc's NickServ messages.
15210
2f6a3e79
GM
152112011-08-27 Glenn Morris <rgm@gnu.org>
15212
15213 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15214
7254299e
CY
152152011-08-26 Chong Yidong <cyd@stupidchicken.com>
15216
15217 * emacs-lisp/package.el (package-install): Call package-initialize
15218 if called interactively.
15219
f8ccf167
LL
152202011-08-26 Leo Liu <sdl.web@gmail.com>
15221
15222 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15223
3e8cd5ce
JL
152242011-08-25 Juri Linkov <juri@jurta.org>
15225
15226 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15227 `search-whitespace-regexp' (bug#9364).
15228
93eb7113
JL
152292011-08-25 Juri Linkov <juri@jurta.org>
15230
15231 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15232 `regexp-search-ring' to their global values to protect from
15233 updating by `read-from-minibuffer' (bug#9185).
15234
f65d1611
JL
152352011-08-25 Juri Linkov <juri@jurta.org>
15236
15237 * textmodes/ispell.el (ispell-command-loop): Add newline
15238 at the end of the "Use option `i'..." line.
15239
f1cf7a31
JL
152402011-08-25 Juri Linkov <juri@jurta.org>
15241
15242 * battery.el (display-battery-mode): If `battery-status-function'
15243 or `battery-mode-line-format' is nil, display the message and set
15244 `display-battery-mode' to nil (bug#9363).
15245
0c95fcf7
EZ
152462011-08-25 Eli Zaretskii <eliz@gnu.org>
15247
15248 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15249 bidi-string-mark-left-to-right; they are unnecessary now.
15250
a2ebe600
DD
152512011-08-25 Deniz Dogan <deniz@dogan.se>
15252
15253 * net/quickurl.el: Documentation typo fixes.
15254
e4ed06f1
CY
152552011-08-25 Chong Yidong <cyd@stupidchicken.com>
15256
15257 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15258
e5f1c99e
GM
152592011-08-25 Glenn Morris <rgm@gnu.org>
15260
b2948976
GM
15261 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15262
e5f1c99e
GM
15263 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15264 (smtpmail-via-smtp): Handle nil response from smtp.
15265
f22f4808
JL
152662011-08-24 Juri Linkov <juri@jurta.org>
15267
15268 * proced.el (proced-marked): Inherit from `error' instead of
15269 `font-lock-warning-face'.
15270
15271 * ibuffer.el (ibuffer-marked-face): Change default face from
15272 `font-lock-warning-face' to `warning'.
15273 (ibuffer-deletion-face): Change default face from
15274 `font-lock-type-face' to `error'.
15275
15276 * battery.el (battery-update): Use the face `error' instead of
15277 `font-lock-warning-face' (bug#6117).
15278
6a93965e
JL
152792011-08-24 Juri Linkov <juri@jurta.org>
15280
15281 * faces.el (success): Change face color from "Green3" to
15282 "ForestGreen" on light background (bug#9353).
15283
1ed43b09
CY
152842011-08-24 Chong Yidong <cyd@stupidchicken.com>
15285
5664fa7b
RT
15286 * window.el (quit-window): Rename from quit-restore-window.
15287 Use same arglist as old quit-window.
1ed43b09
CY
15288 (frame-auto-delete): Doc fix.
15289
15290 * view.el (view-mode-exit): Use quit-window.
15291
11dcdbb2
JL
152922011-08-24 Juri Linkov <juri@jurta.org>
15293
15294 * isearch.el (isearch-ring-adjust1): Start visiting previous
15295 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15296 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15297 for empty search string (when the last search string is reused
15298 automatically) to adjust the isearch ring to the last element and
15299 prepare the correct index for further M-p commands (bug#9185).
15300
de62b4df
KH
153012011-08-24 Kenichi Handa <handa@m17n.org>
15302
15303 * international/ucs-normalize.el: If decomposition property of
15304 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15305 nil.
15306 (nfd, nfkd): Likewise.
15307
963b492b
SM
153082011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15309
15310 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15311 from process filters aren't reliably transmitted to the surrounding
15312 accept-process-output.
15313 (mpc-proc-check): New function.
15314 (mpc-proc-sync): Use it (bug#8293)
15315
93b6b5e1
SM
153162011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15317
15318 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15319 Add compatibility functions (bug#9313).
15320
bca633fb
EZ
153212011-08-23 Eli Zaretskii <eliz@gnu.org>
15322
b177498a
EZ
15323 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15324
6df6ae42 15325 * international/uni-bidi.el: Regenerate.
bca633fb 15326
0902a04e
KH
153272011-08-23 Kenichi Handa <handa@m17n.org>
15328
15329 * international/charprop.el:
15330 * international/uni-bidi.el:
15331 * international/uni-category.el:
15332 * international/uni-combining.el:
15333 * international/uni-comment.el:
15334 * international/uni-decimal.el:
15335 * international/uni-decomposition.el:
15336 * international/uni-digit.el:
15337 * international/uni-lowercase.el:
15338 * international/uni-mirrored.el:
15339 * international/uni-name.el:
15340 * international/uni-numeric.el:
15341 * international/uni-old-name.el:
15342 * international/uni-titlecase.el:
15343 * international/uni-uppercase.el: Regenerate.
15344
3bbf23bc
MR
153452011-08-23 Martin Rudalics <rudalics@gmx.at>
15346
15347 * help.el (help-window-setup): Fix message displayed when other
15348 window is reused. (Bug#9341)
15349
b3fd59bd
SM
153502011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15351
1802e444
SM
15352 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15353 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15354
b3fd59bd
SM
15355 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15356 Mark obsolete.
15357 * shell.el (shell-parse-pcomplete-arguments): New function.
15358 (shell-completion-vars): Use it instead (bug#9160).
15359
4eb61348
SM
153602011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15361
867cab74
SM
15362 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15363 strings and comments (bug#9333).
15364
4eb61348
SM
15365 * emacs-lisp/debug.el (debug-arglist): New function.
15366 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15367 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15368
262a1439
JL
153692011-08-22 Juri Linkov <juri@jurta.org>
15370
56ee679c
JL
15371 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15372 Revert regexp that highlights output switches to its old
15373 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15374
262a1439
JL
15375 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15376 to check for empty output (bug#9226).
15377
f13f86fb
CY
153782011-08-22 Chong Yidong <cyd@stupidchicken.com>
15379
15380 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15381 symbol-constituent as the default, as that stops font-lock from
15382 working properly (Bug#8843).
15383
c65c9622
LMI
153842011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15385
15386 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15387 `coding-system-for-*' around the process open call to avoid
15388 auth-source side effects.
e7f2c178 15389 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15390 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15391 probe hangs.
c65c9622 15392
23a8a5ab
CY
153932011-08-21 Chong Yidong <cyd@stupidchicken.com>
15394
ff98b2dd
CY
15395 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15396
23a8a5ab
CY
15397 * emacs-lisp/find-func.el (find-function-noselect): New arg
15398 lisp-only.
15399
15400 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15401 signal an error for built-in functions (Bug#6664).
15402
f5e3c598
LMI
154032011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15404
15405 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15406 (smtpmail-try-auth-methods): Use it.
15407
a3f2468a
CY
154082011-08-21 Chong Yidong <cyd@stupidchicken.com>
15409
2c34e8da
CY
15410 * font-lock.el (font-lock-fontify-region)
15411 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15412 (font-lock-default-unfontify-buffer)
15413 (font-lock-default-fontify-region)
15414 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15415
b3fd59bd
SM
15416 * progmodes/compile.el (compilation-error-properties):
15417 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15418 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15419 `ant' regexp.
ee31aabc 15420
a3f2468a
CY
15421 * net/browse-url.el (browse-url-firefox): Don't call
15422 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15423
8e999f70
GM
154242011-08-20 Glenn Morris <rgm@gnu.org>
15425
c21a496a
GM
15426 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15427
59ee0542
GM
15428 * tutorial.el (tutorial--default-keys): Update some default bindings.
15429
8e999f70
GM
15430 * files.el (hack-local-variables): Fully ignore case for "mode:".
15431
e3715033
AM
154322011-08-20 Alan Mackenzie <acm@muc.de>
15433
15434 Resolve invalid use of a regexp in regexp-opt.
15435
4d61f28d
JB
15436 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15437 detection for a java annotation.
e3715033 15438
4d61f28d 15439 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15440 detection for a java annotation.
15441
4d61f28d
JB
15442 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15443 handling for java.
e3715033
AM
15444 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15445
04ed2e9c
CY
154462011-08-20 Chong Yidong <cyd@stupidchicken.com>
15447
15448 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15449 (Bug#9274).
15450
826cee64
AM
154512011-08-20 Alan Mackenzie <acm@muc.de>
15452
58179cce 15453 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15454 such a construct. Mainly for when jit-lock etc. starts a chunk
15455 here.
15456
58179cce 15457 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15458 variable.
58179cce 15459 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15460 c-make-font-lock-search-function.
15461 (c-make-font-lock-search-function): Use the above function.
15462 (c-make-font-lock-context-search-function): New function.
15463 (c-cpp-matchers): Enhance the preprocessor expression case with
15464 the above function
15465 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15466 which takes an expression.
15467
15468 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15469
13009bd8
MR
154702011-08-20 Martin Rudalics <rudalics@gmx.at>
15471
15472 * window.el (display-buffer-reuse-window)
15473 (display-buffer-pop-up-window): Don't reuse or split a side
15474 window.
15475
9234ff7f
GM
154762011-08-19 Glenn Morris <rgm@gnu.org>
15477
15478 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15479 Downcase "Mode:". (Bug#9331)
9234ff7f 15480
f635daa1
CY
154812011-08-18 Chong Yidong <cyd@stupidchicken.com>
15482
15483 * international/characters.el: Add L and R categories.
15484
15485 * subr.el (bidi-string-mark-left-to-right): Rename from
15486 string-mark-left-to-right. Use category search.
15487
15488 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15489
bc987f8b
JL
154902011-08-18 Juri Linkov <juri@jurta.org>
15491
15492 * faces.el (error, warning, success): New faces with definitions
15493 copied from old default values of `font-lock-warning-face',
15494 `compilation-warning', `compilation-info' (bug#6117).
15495
15496 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15497
15498 * progmodes/compile.el (compilation-error): Inherit from `error'.
15499 (compilation-warning): Inherit from `warning'.
15500 (compilation-info): Inherit from `success'.
15501
15502 * dired.el (dired-marked): Inherit from `warning'.
15503 (dired-flagged): Inherit from `error'.
15504
57173b96
LMI
155052011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15506
3e79eb87
LMI
15507 * mail/smtpmail.el (auth-source): Require to avoid problems with
15508 binding variables (bug#9298). Also clean up some unused
15509 autoloads.
15510
b3fd59bd
SM
15511 * net/network-stream.el (network-stream-open-starttls):
15512 Support using starttls.el without using gnutls-cli.
57173b96 15513
02b404de
JL
155142011-08-17 Juri Linkov <juri@jurta.org>
15515
15516 * progmodes/grep.el (rgrep): Handle the case when
15517 `grep-find-command' is a cons cell (bug#9278).
15518
8c9177f2
MR
155192011-08-17 Martin Rudalics <rudalics@gmx.at>
15520
15521 * window.el (display-buffer-pop-up-frame): Run frame creation
15522 function with BUFFER current (as special-display-popup-frame
15523 does). Reported by Drew Adams.
15524
3644a0ab
DU
155252011-08-17 Daiki Ueno <ueno@unixuser.org>
15526
15527 * epa-mail.el: Simplify GnuPG group expansion using
15528 epg-expand-group.
15529 (epa-mail-group-alist, epa-mail-group-modtime)
15530 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15531 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15532 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15533 Remove.
15534
5e617bc2 155352011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
15536
15537 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15538
9c4aeabf
AM
155392011-08-16 Alan Mackenzie <acm@muc.de>
15540
15541 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15542 Correct, to avoid the inside of macros.
15543
3a99bf64
RS
155442011-08-16 Richard Stallman <rms@gnu.org>
15545
04963aa8
RS
15546 * epa-mail.el: Handle GnuPG group definitions.
15547 (epa-mail-group-alist, epa-mail-group-modtime)
15548 (epa-mail-gnupg-conf-file): New variables.
15549 (epa-mail-parse-groups, epa-mail-sync-groups)
15550 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15551 (epa-mail-expand-recipients): New functions.
15552 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15553
177549d0
RS
15554 * mail/rmail.el (rmail-epa-decrypt): New command.
15555
fe38beef
RS
15556 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15557 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15558 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15559 (epa-decrypt-armor-in-region): Make error message clearer.
15560
934eacb9
SM
155612011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15562
15563 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15564 and "a2b" to "ab" for `prefix'.
15565
d024fb4e
CY
155662011-08-14 Chong Yidong <cyd@stupidchicken.com>
15567
15568 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15569 filter groups.
de148fee
CY
15570 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15571 Fourquet (Bug#8804).
d024fb4e 15572
62f1ca49
JB
155732011-08-12 Juanma Barranquero <lekktu@gmail.com>
15574
15575 * startup.el (argi): Declare as global variable (bug#9275).
15576
9ccaaa4b
CY
155772011-08-12 Chong Yidong <cyd@stupidchicken.com>
15578
15579 * subr.el (string-mark-left-to-right): Search the entire string
15580 for RTL script, not just the terminating character. Doc fix.
15581
a3dae87a
SM
155822011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15583
6cd18349
SM
15584 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15585 New function.
15586 (js--regexp-literal, js-syntax-propertize-function): Remove.
15587 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15588 (js-mode-map): Don't rebind electric keys.
15589 (js-insert-and-indent): Remove.
15590 (js-mode): Setup electric-layout and electric-indent instead.
15591
a3dae87a
SM
15592 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15593
9d5cb631
DU
155942011-08-12 Daiki Ueno <ueno@unixuser.org>
15595
15596 * epa.el (epa-progress-callback-function): Fix the logic of
15597 displaying progress.
15598 * epa-file.el (epa-file-insert-file-contents): Make progress
15599 display more user-friendly.
15600 (epa-file-write-region): Ditto.
15601
3e26a4a2
CY
156022011-08-10 Chong Yidong <cyd@stupidchicken.com>
15603
15604 * subr.el (string-mark-left-to-right): New function.
15605
15606 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15607 Use string-mark-left-to-right.
15608 (list-buffers-noselect): Caller changed.
15609
a3dae87a
SM
15610 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15611 Use string-mark-left-to-right.
3e26a4a2
CY
15612 (tabulated-list-print): Recenter after moving point.
15613
ac8cf6e6
JL
156142011-08-10 Juri Linkov <juri@jurta.org>
15615
15616 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15617 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15618 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15619
8d96c9a4
CY
156202011-08-09 Chong Yidong <cyd@stupidchicken.com>
15621
15622 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15623 (Bug#7554).
15624
7be1c708 156252011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15626
15627 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15628 character. (Bug#6594)
15629
37e11a63
CY
156302011-08-08 Chong Yidong <cyd@stupidchicken.com>
15631
839dde57
CY
15632 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15633 (image-dired--with-db-file): New macro.
15634 (image-dired-write-tags, image-dired-remove-tag)
15635 (image-dired-create-gallery-lists, image-dired-write-comments)
15636 (image-dired-get-comment, image-dired-mark-tagged-files)
15637 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15638 (image-dired-gallery-generate): Use insert-file-contents.
15639
37e11a63
CY
15640 * time.el (display-time-world-list, display-time-world-display):
15641 * time-stamp.el (time-stamp-string):
15642 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15643 set-time-zone-rule (Bug#7337).
15644
0b4946c4
DU
156452011-08-08 Daiki Ueno <ueno@unixuser.org>
15646
15647 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15648 (epg-error-to-string, epg-errors-to-string): New function.
15649 (epg-wait-for-completion): Reverse errors list.
15650 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15651 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15652 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15653 (epg-sign-keys, epg-generate-key-from-file)
15654 (epg-generate-key-from-string): Format errors by using
15655 epg-errors-to-string (bug#9255).
15656 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15657
75bfc667
JL
156582011-08-07 Juri Linkov <juri@jurta.org>
15659
15660 * faces.el (list-faces-display): Remove extra angle bracket
15661 from `help-mode-map'.
15662
15663 * info.el (Info-history-toc-nodes): Doc fix.
15664
15665 * longlines.el (longlines-mode): Doc fix.
15666
673e08bb
SM
156672011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15668
4640dd88
SM
15669 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15670 of statements and in a few more cases (bug#9183).
15671
673e08bb
SM
15672 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15673 New functions.
15674 (cl-transform-lambda): Use them (bug#9239).
15675
89b3f019
MR
156762011-08-05 Martin Rudalics <rudalics@gmx.at>
15677
15678 * window.el (display-buffer-same-window)
15679 (display-buffer-same-frame, display-buffer-other-window)
15680 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15681 (pop-to-buffer-other-window)
15682 (pop-to-buffer-same-frame-other-window)
15683 (pop-to-buffer-other-frame): Make them defuns.
15684 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15685
640c8776
SM
156862011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15687
15688 * subr.el (make-composed-keymap): Move from C. Change calling
15689 convention, and improve docstring to bring attention to a subtle point.
15690 * minibuffer.el (completing-read-default): Adjust accordingly.
15691
63648a95
MA
156922011-08-03 Michael Albinus <michael.albinus@gmx.de>
15693
15694 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15695 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15696
15697 * net/trampver.el: Update release number.
15698
b796c9b7
SM
156992011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15700
15701 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15702 "in" (bug#9190).
15703
2239d7d5
LMI
157042011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15705
e07dd7c3
LMI
15706 * mail/sendmail.el (sendmail-query-once): Restore the current
15707 buffer after querying (bug#9074).
15708
0e6a2bd7
LMI
15709 * dired.el (dired-flagged): Use different faces for marked and
15710 flagged files (bug#6117).
15711
ce887515
LMI
15712 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15713 (bug#4433).
15714
92f2affc
LMI
15715 * ido.el (ido-mode): Switch off the message if called
15716 non-interactively.
15717
57d5aff0
LMI
15718 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15719 before 587, since it appears that that's more likely to work for
15720 more people.
15721
98cd6c18 15722 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15723 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15724 exist.
15725
b96dec83
LMI
15726 * info.el: Remove the `Info-beginning-of-buffer' function
15727 (bug#8325).
15728
b796c9b7
SM
15729 * net/network-stream.el (network-stream-open-starttls):
15730 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15731
d90e2ea0
MR
157322011-08-01 Martin Rudalics <rudalics@gmx.at>
15733
15734 * window.el (display-buffer-in-window): Don't set dedicated status
15735 of window here (Bug#9215).
15736 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15737 (display-buffer-pop-up-side-window)
b796c9b7 15738 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15739
cca09170
SM
157402011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15741
15742 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15743 before binding generated-autoload-file.
15744
027b979c
DD
157452011-08-01 Deniz Dogan <deniz@dogan.se>
15746
15747 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15748
3c7ee4f3
MA
157492011-07-30 Michael Albinus <michael.albinus@gmx.de>
15750
15751 Sync with Tramp 2.2.2.
15752
15753 * net/trampver.el: Update release number.
15754
2cc8e51a
JL
157552011-07-30 Juri Linkov <juri@jurta.org>
15756
15757 * dired-aux.el (dired-touch-initial): Remove function.
15758 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15759 current time, and `default' to the last modification time of the
15760 current marked file (bug#6887).
15761
a514d856
JM
157622011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15763
15764 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15765 numeric argument to read-number (bug#9163).
a514d856 15766
8a7eddd7
MA
157672011-07-27 Michael Albinus <michael.albinus@gmx.de>
15768
15769 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15770 connection process, it could be nil.
15771
1ddd96f5
LL
157722011-07-27 Leo Liu <sdl.web@gmail.com>
15773
15774 Simplify url handling in rcirc-mode.
15775
15776 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15777 (rcirc-browse-url-at-mouse): Remove.
15778 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15779
b248a85d
AM
157802011-07-26 Alan Mackenzie <acm@muc.de>
15781
15782 Fontify bitfield declarations properly.
15783
15784 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15785 (c-symbol-chars): Now exported as a lang variable.
15786 (c-not-primitive-type-keywords): New lang variable.
15787
15788 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15789 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15790 parsed as a bitfield declaration.
b248a85d 15791
b796c9b7
SM
15792 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15793 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15794 (c-punctuation-in): New function.
15795 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15796 declarations properly.
15797
68575ab0
UJ
157982011-07-26 Ulf Jasper <ulf.jasper@web.de>
15799
15800 * calendar/icalendar.el (icalendar--all-events): Take care of
15801 multiple vcalendars in a single file.
b796c9b7 15802 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15803
0f0a88b9
DD
158042011-07-25 Deniz Dogan <deniz@dogan.se>
15805
15806 * image.el (insert-image): Clarifying docstring.
15807
0b3f36df
MA
158082011-07-24 Michael Albinus <michael.albinus@gmx.de>
15809
15810 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15811 `tramp-send-command-and-check' if there is no error.
15812 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15813
a9901f61
AM
158142011-07-22 Alan Mackenzie <acm@muc.de>
15815
15816 Prevent cc-langs.elc being loaded at run time.
15817
15818 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15819 cc-langs.
15820
4d61f28d 15821 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15822 "(require 'cc-langs)". Quote a form so it will evaluate at
15823 (cc-mode's) compilation time.
15824
11d074b2
MA
158252011-07-22 Michael Albinus <michael.albinus@gmx.de>
15826
15827 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15828 loading. (Bug#9114)
15829
938b94c8
MR
158302011-07-21 Martin Rudalics <rudalics@gmx.at>
15831
15832 * window.el (display-buffer-pop-up-window)
15833 (display-buffer-pop-up-side-window)
15834 (display-buffer-in-side-window): Call display-buffer-set-height
15835 and display-buffer-set-width after setting the new window's
b796c9b7 15836 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15837
bfa4f190
SS
158382011-07-20 Sam Steingold <sds@gnu.org>
15839
15840 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15841 (etags-tags-included-tables): Call `convert-standard-filename' on
15842 the file names contained in TAGS so that windows Emacs can handle
15843 TAGS files created by cygwin ctags.
15844
8ca42262
LMI
158452011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15846
15847 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15848 which apparently didn't work.
15849
5db2afd2 158502011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15851
5db2afd2
RW
15852 * proced.el (proced-send-signal): For *Marked Processes* buffer
15853 put point at beginning of buffer.
15854
92e15d10
SB
158552011-07-19 Stephen Berman <stephen.berman@gmx.net>
15856
15857 * proced.el (proced-format): Make header lines align with the text
15858 (bug#1779).
15859
1bfd59e5
LMI
158602011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15861
15862 * view.el (view-buffer): Allow running in `special' modes if we're
15863 visiting a file (bug#8615).
15864
f5aae37c
MR
158652011-07-19 Martin Rudalics <rudalics@gmx.at>
15866
15867 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15868 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15869 New functions.
f5aae37c
MR
15870 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15871 more accurately.
15872
bf2c1571
AM
158732011-07-18 Alan Mackenzie <acm@muc.de>
15874
15875 Fontify declarators properly when, e.g., a jit-lock chunk begins
15876 inside a declaration.
15877
15878 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15879
b796c9b7
SM
15880 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15881 New function.
bf2c1571
AM
15882 (c-complex-decl-matchers): Insert reference to
15883 c-font-lock-enclosing-decls.
15884
15885 * progmodes/cc-engine.el (c-backward-single-comment):
15886 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15887 to nil around calls to (forward-comment -1).
15888
4e190b80
LMI
158892011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15890
12dc863d
LMI
15891 * image.el (put-image): Doc typo fix.
15892
a762e966
LMI
15893 * progmodes/etags.el (tags-search): Doc typo fix.
15894
4e190b80
LMI
15895 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15896 password if we get errors 550 to 554.
15897
f019fb21
LMI
158982011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15899
b796c9b7 15900 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15901
81746738
LMI
15902 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15903 indentation character (bug#6380).
15904
3ee3a1b5
LMI
15905 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15906
c82f64de
LMI
15907 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15908 to clarify what the problem is (bug#4291).
15909
f019fb21
LMI
15910 * simple.el (current-kill): Clarify what
15911 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15912 (auto-fill-mode): Document `auto-fill-function' in relation to
15913 `auto-fill-mode' (bug#2470).
f019fb21 15914
0794775d
LM
159152011-07-16 Lawrence Mitchell <wence@gmx.li>
15916
15917 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15918 method if slot is read-only (bug#9035).
15919
be39b8cc
MR
159202011-07-16 Martin Rudalics <rudalics@gmx.at>
15921
b796c9b7 15922 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15923 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15924 selected before, see discussion of (Bug#8615), (Bug#6954).
15925 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15926
6ccf7859
GM
159272011-07-15 Glenn Morris <rgm@gnu.org>
15928
15929 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15930 Respect help-form.
6ccf7859 15931
87e86684
LM
159322011-07-09 Lawrence Mitchell <wence@gmx.li>
15933
15934 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15935 (gnutls-negotiate): Use it.
15936
d6066239
LMI
159372011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15938
b796c9b7
SM
15939 * net/gnutls.el (gnutls-negotiate):
15940 Upcase `gnutls-algorithm-priority'.
d6066239 15941
bd23ebc0
GM
159422011-07-15 Glenn Morris <rgm@gnu.org>
15943
c65bca65
GM
15944 * jka-compr.el (jka-compr-verbose): Move from here...
15945 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15946 Add missing :version tag.
15947 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15948
478615cc
LMI
159492011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15950
7b41decb
LMI
15951 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15952 (gnutls-negotiate): Use it.
15953
dbc44fcd
LMI
15954 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15955
06789f97
LMI
15956 * info.el (Info-beginning-of-buffer): New command.
15957 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15958 announcing `b' as the key (bug#8325).
ab896c37 15959 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15960
c39da690
LMI
15961 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15962
3aa5f34b
LMI
15963 * international/mule-cmds.el
15964 (describe-specified-language-support): Make the error message
15965 clearer (bug#8905).
15966
4bf0979f
LMI
15967 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15968
478615cc
LMI
15969 * isearch.el (isearch-barrier): Add a doc string, since it's
15970 mentioned in a function doc string (bug#8678).
15971
75c68aa1
MR
159722011-07-15 Martin Rudalics <rudalics@gmx.at>
15973
15974 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15975 buffer argument (Bug#9083) and self-identifying label argument.
15976
a7c33da2
GM
159772011-07-15 Glenn Morris <rgm@gnu.org>
15978
15979 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15980
2f5c6024
LMI
159812011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15982
15983 * man.el (Man-fontify-manpage): Fix message when formatting the
15984 man page (bug#7929).
15985
0bb23927 159862011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15987
15988 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15989 argument LRM; if non-nil, append an invisible LRM character to the
15990 buffer name.
15991 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15992 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15993 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15994 paragraph direction.
cce4b0a7 15995
621ef9ab
LMI
159962011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15997
d1583c48
LMI
15998 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15999 the man page name (bug#7929).
16000
6a57fb5f
LMI
16001 * image.el (put-image): Mention the `put-image' overlay property
16002 (bug#7834).
16003
d7956b14
LMI
16004 * scroll-bar.el (set-scroll-bar-mode): Mention that
16005 `scroll-bar-mode' lists the values (bug#7772).
16006
5b2d4a66
LMI
16007 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16008 command (bug#7729).
16009
7509a874
LMI
16010 * rect.el (apply-on-rectangle): Return the point after the last
16011 operation.
16012 (string-rectangle): Go to the point after the last operation
16013 (bug#7522).
16014
4fe74b19
LMI
16015 * printing.el (pr-toggle-region): Clarify the documentation
16016 slightly (bug#7493).
16017
b796c9b7
SM
16018 * time.el (display-time-update):
16019 Allow `display-time-mail-function' to return nil (bug#7158).
16020 Fix suggested by Detlev Zundel.
ab283561 16021
fc233c9d
LMI
16022 * vc/diff.el (diff): Clarify the order the file names are read
16023 (bug#7111).
16024
43f5740b
LMI
16025 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16026 the doc string (bug#7015).
16027
f2182a76
LMI
16028 * font-lock.el (font-lock-maximum-decoration): Mention what
16029 numeric levels mean (bug#6935).
16030
621ef9ab
LMI
16031 * startup.el (initial-buffer-choice): Don't mention the `none'
16032 selection, which is against policy.
16033
adc47434
MR
160342011-07-14 Martin Rudalics <rudalics@gmx.at>
16035
b796c9b7
SM
16036 * window.el (display-buffer-normalize-special):
16037 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16038
7e5bfb8f
EZ
160392011-07-14 Eli Zaretskii <eliz@gnu.org>
16040
16041 * subr.el (version<, version<=, version=): Mention "-CVS" and
16042 "-12345" alpha version numbers.
16043
27fa387a
CY
160442011-07-14 Chong Yidong <cyd@stupidchicken.com>
16045
16046 * bindings.el: Add advertised binding for set-mark-command
16047 (Bug#5772).
16048
8bdfa064
CY
160492011-07-14 Chong Yidong <cyd@stupidchicken.com>
16050
16051 * bindings.el (mode-line-other-buffer):
16052 * bookmark.el (bookmark-bmenu-2-window):
16053 * bs.el (bs-cycle-next, bs-cycle-previous):
16054 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16055 switch-to-buffer.
16056
16057 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 16058 Delete.
8bdfa064 16059
5eba16a3
JB
160602011-07-14 Juanma Barranquero <lekktu@gmail.com>
16061
16062 * follow.el (follow-debug-message, follow-redisplay):
16063 * jka-cmpr-hook.el (with-auto-compression-mode):
16064 Fix typos in docstrings.
16065
15853710
LMI
160662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16067
a28e4607
LMI
16068 * subr.el (with-silent-modifications): Clarify somewhat what the
16069 macro inhibits (bug#6525).
16070
15853710
LMI
16071 * simple.el (eval-expression): Note what it does if called
16072 interactively (bug#6495).
16073
bee0fcef
CY
160742011-07-13 Chong Yidong <cyd@stupidchicken.com>
16075
b796c9b7
SM
16076 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16077 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
16078
16079 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16080 Remove switch-to-buffer.
16081
58274504
LMI
160822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16083
bd2fcc8d
LMI
16084 * files.el (make-directory): Clarify that an error will be raised
16085 if there's an error (bug#6397).
16086
0f04b32c
LMI
16087 * startup.el (initial-buffer-choice): Add `none' as a choice
16088 (bug#6234).
16089
465c5fc8
LMI
16090 * subr.el (add-hook): Clarify section about buffer-local hooks
16091 (bug#6218).
16092
58274504
LMI
16093 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16094
bead9a43
JB
160952011-07-13 Juanma Barranquero <lekktu@gmail.com>
16096
16097 * tabify.el (untabify): Preserve the current column so that point
16098 doesn't move (bug#6032).
16099
3af98a7b
LMI
161002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16101
b796c9b7
SM
16102 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16103 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16104
6240145a
GM
161052011-07-13 Glenn Morris <rgm@gnu.org>
16106
16107 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16108 (dired-insert-directory): Give a message the first time
16109 if ls is found not to support --dired.
16110
1d8c2ccc
LMI
161112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16112
16113 * simple.el (toggle-truncate-lines): Clarify what is toggled
16114 (bug#5580). Text by Drew Adams.
16115
5fc4038e
CY
161162011-07-13 Chong Yidong <cyd@stupidchicken.com>
16117
16118 * simple.el (blink-matching-open): Make the error message from the
16119 last change less verbose.
16120
bf6012e5
DN
161212011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16122
16123 * font-lock.el (font-lock-comment-face): Use the high contrast
16124 "yellow" color for font-lock-comment-face on low color terminals
16125 using a dark background color (bug#4221).
16126
343c3b5a
LMI
161272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16128
7e9505c5
LMI
16129 * dired.el (dired-insert-set-properties): Make the doc string
16130 reflect what it does now (bug#5325).
16131
c26fdcf5
LMI
16132 * simple.el (blink-matching-open): Say that we were unable to find
16133 the match within the limit, if we're limited (bug#5122).
16134
bb388cc5
LMI
16135 * international/mule-cmds.el (prefer-coding-system): Add an
16136 example (bug#4869).
16137
343c3b5a
LMI
16138 * progmodes/etags.el (tags-search): Document `file-list-form'
16139 (bug#4731).
16140
2a517d45
LM
161412011-07-13 Lawrence Mitchell <wence@gmx.li>
16142
16143 * net/browse-url.el (browse-url-default-browser)
16144 (browse-url-browser-function): Make the default browser choice a
16145 bit more logical (bug#4300). Also clean up the doc string.
16146
b6c78ef2
JB
161472011-07-13 Juanma Barranquero <lekktu@gmail.com>
16148
16149 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16150 binary endings (bug#4440).
16151
1c4dd947
LMI
161522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16153
a2014063
LMI
16154 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16155 which can be pretty annoying (bug#8971).
16156
9c9c2d88
LMI
16157 * jka-compr.el (jka-compr-verbose): New variable, and use
16158 throughout (bug#8971).
16159
1c4dd947
LMI
16160 * info.el (Info-find-file): Fall back on the installation
16161 directory if we can't find the info node anywhere else.
16162
a1c9f41b
SO
161632011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16164
16165 * vc/vc.el (vc-revert-file):
16166 Don't set file time-stamp in the past. (Bug#5181)
16167
536f3d36
LMI
161682011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16169
7152b011
LMI
16170 * files.el (after-find-file): Give a better error message when
16171 trying to find a symlink that points to a file that doesn't exist
16172 (bug#4398).
16173
536f3d36
LMI
16174 * progmodes/cc-vars.el: Remove (probably) misleading comment
16175 (bug#4396).
16176
460c0fba
JB
161772011-07-12 Johan Bockgård <bojohan@gnu.org>
16178
16179 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16180
7a6bda45
CY
161812011-07-12 Chong Yidong <cyd@stupidchicken.com>
16182
16183 * mouse-sel.el: Hack restoring functionality, while keeping
16184 compatibility with 2010-07-03 changes to mouse selection.
16185 (mouse-sel-primary-overlay): New var.
16186 (mouse-sel-selection-alist): Use it.
16187 (mouse-sel-mode): Doc fix; remove points that are default features
16188 of mouse.el.
16189
c79598ef
JB
161902011-07-12 Johan Bockgård <bojohan@gnu.org>
16191
16192 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16193 Fix previous fix (bug#2490).
16194
ff8be6ef
RW
161952011-07-12 Roland Winkler <winkler@gnu.org>
16196
b796c9b7
SM
16197 * textmodes/bibtex.el (bibtex-initialize):
16198 Use pop-to-buffer-same-window.
ff8be6ef
RW
16199 (bibtex-search-entries): Fix interactive call.
16200
296ba3ee
LMI
162012011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16202
f5242a02 16203 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16204 Fontise bytecomp Error lines more correctly (bug#2490).
16205 Fix suggested by Johan Bockgård.
f5242a02 16206
296ba3ee
LMI
16207 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16208
16209 * dired-x.el (dired-guess-default): Use `delete-dups'.
16210
f69fd0d2
CY
162112011-07-12 Chong Yidong <cyd@stupidchicken.com>
16212
16213 * dired.el (dired-mark-prompt):
16214 * dired-aux.el (dired-read-shell-command): Doc fix.
16215
eab5dc07
LMI
162162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16217
b796c9b7
SM
16218 * mail/sendmail.el (sendmail-query-once):
16219 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16220 emacs -Q.
16221
16222 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16223
eab5dc07
LMI
16224 * cus-edit.el (custom-file): Take an optional no-error variable.
16225 (customize-save-variable): Set the variable, and give a warning if
16226 running under "emacs -q".
16227
a1e65d42
JB
162282011-07-11 Juanma Barranquero <lekktu@gmail.com>
16229
16230 * loadhist.el (unload-feature-special-hooks):
16231 Add `auto-coding-functions', `fill-nobreak-predicate' and
16232 `find-directory-functions' (bug#5327).
16233
1d52da10
LMI
162342011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16235
be958f1d
LMI
16236 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16237
5bedb26c
LMI
16238 * cus-edit.el (custom-guess-name-alist): -alist variables should
16239 use the `alist' type (bug#3120). Suggested by Drew Adams.
16240
1d52da10
LMI
16241 * printing.el: Add documentation to all the `pr-toggle-' commands.
16242
cd394be1 162432011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16244
16245 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16246 backends where it makes sense (bug#2623).
16247
dcc88d8a
LMI
162482011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16249
c3de9feb
LMI
16250 * dired-x.el (dired-guess-default): Remove duplicate shell command
16251 entries (bug#2028).
8a93078b 16252 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16253 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16254
dcc88d8a
LMI
16255 * subr.el (remove-duplicates): New conveniency function.
16256
505e3645
LMI
162572011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16258
16259 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16260 (bug#1526).
16261
162622011-07-10 Martin Rudalics <rudalics@gmx.at>
16263
16264 * window.el (display-buffer-normalize-default): Don't invert
16265 meaning of even-window-heights. Reported by Eli Zaretskii
16266 <eliz@gnu.org>.
16267
455e4fa1
BR
162682011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16269
16270 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16271
8e0bc3e9
CY
162722011-07-10 Chong Yidong <cyd@stupidchicken.com>
16273
16274 * window.el (display-buffer): Fix arguments to
16275 display-buffer-reuse-window in last change.
16276
fa7c3228
CY
16277 * faces.el (link): Use a less saturated blue on light backgrounds.
16278
16279 * startup.el (fancy-startup-text, fancy-about-text)
16280 (fancy-startup-tail): Use font-lock faces, for background safety.
16281
c0a7f300
BN
162822011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16283
b796c9b7
SM
16284 * emulation/viper-cmd.el (viper-change-state-to-vi):
16285 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16286
4dc2a129
MR
162872011-07-09 Martin Rudalics <rudalics@gmx.at>
16288
16289 * window.el (display-buffer-default-specifiers): Remove.
16290 (display-buffer-macro-specifiers): Remove default specifiers.
16291 (display-buffer-alist): Default to nil.
b796c9b7 16292 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16293 (display-buffer-pop-up-window): Allow splitting internal
16294 windows. Check whether a live window was created.
16295 (display-buffer-other-window-means-other-frame)
16296 (display-buffer-normalize-arguments): Rename to
16297 display-buffer-normalize-argument and rewrite. Set the
16298 other-window specifier.
16299 (display-buffer-normalize-special): New function.
16300 (display-buffer-normalize-options): Rename to
16301 display-buffer-normalize-default and rewrite.
16302 (display-buffer-normalize-options-inhibit): Remove.
16303 (display-buffer-normalize-specifiers): Rewrite.
16304 (display-buffer): Process other-window specifier and call
16305 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16306 more faithfully.
b796c9b7 16307 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16308 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16309 (display-buffer-in-window, display-buffer-alist-set):
16310 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16311 <tassilo@member.fsf.org>.
16312
2d43b8c9
LL
163132011-07-09 Leo Liu <sdl.web@gmail.com>
16314
16315 * register.el (insert-register): Restore accidental change on
16316 2011-06-26. (Bug#9028)
16317
7f9b7c53
GM
163182011-07-09 Glenn Morris <rgm@gnu.org>
16319
16320 * subr.el (remq): Handle the empty list. (Bug#9024)
16321
f042cfd8
AS
163222011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16323
16324 * mail/sendmail.el (send-mail-function): No longer delay custom
16325 initialization.
16326 * custom.el (custom-initialize-delay): Doc fix.
16327
856b2f11
SM
163282011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16329
16330 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16331
afae1d68
MA
163322011-07-08 Michael Albinus <michael.albinus@gmx.de>
16333
16334 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16335 human-friendly prompt.
16336
0757af94
SM
163372011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16338
16339 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16340 provided by a particular plugin.
16341
d760b731
LMI
163422011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16343
16344 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16345 save customizations (with "emacs -Q"), just set the variable
16346 instead of erroring out.
16347
16348 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16349
cd79ce90
JL
163502011-07-08 Juri Linkov <juri@jurta.org>
16351
16352 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16353 (archive-zip-update-case): Use 7z if found by `executable-find'.
16354 The order of searching the available programs is the same as in
16355 `archive-zip-extract' (bug#8968).
16356
14cc04aa
CY
163572011-07-07 Chong Yidong <cyd@stupidchicken.com>
16358
16359 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16360 (menu-bar-options-menu): Tweak descriptions.
16361
0a1848ec
LMI
163622011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16363
16364 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16365 menu items into verb phrases (bug#1421). Also refill to fit under
16366 80 columns.
16367
f5bd0689
CY
163682011-07-07 Chong Yidong <cyd@stupidchicken.com>
16369
538e85c6
CY
16370 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16371 (Info-read-node-name): Doc fix (Bug#1084).
16372
f5bd0689
CY
16373 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16374 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16375 (end-of-sexp, beginning-of-sexp)
16376 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16377 (forward-symbol, forward-same-syntax, word-at-point)
16378 (sentence-at-point): Doc fix (Bug#1144).
16379
56ec5115
LMI
163802011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16381
f3f8e37f
LMI
16382 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16383 should cover it (bug#1281).
16384
0757af94 16385 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16386
e9fce1ac 16387 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16388 negotiation fails, then possibly try again with a non-encrypted
16389 connection (bug#9017).
16390
56ec5115
LMI
16391 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16392 be used.
16393
c2f9aec8
RS
163942011-07-07 Richard Stallman <rms@gnu.org>
16395
16396 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16397 property, and handle its changed format.
16398 Look for the correct line number.
16399 Use file's line contents (but not past first =) to find
16400 correct line in message.
16401
ef7b981d 164022011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16403
16404 * international/characters.el (build-unicode-category-table):
16405 Delete it.
0757af94 16406 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16407
0757af94 16408 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16409 to src/chartab.c.
16410 (get-char-code-property): Call unicode-property-table-internal to
16411 load a file. Call get-unicode-property-internal where necessary.
16412 (put-char-code-property): Call unicode-property-table-internal to
16413 load a file. Call put-unicode-property-internal where necessary.
16414 put-unicode-property-internal where necessary.
0757af94
SM
16415 (char-code-property-description):
16416 Call unicode-property-table-internal to load a file.
c805dec0
KH
16417
16418 * international/charprop.el:
16419 * international/uni-bidi.el:
16420 * international/uni-category.el:
16421 * international/uni-combining.el:
16422 * international/uni-comment.el:
16423 * international/uni-decimal.el:
16424 * international/uni-decomposition.el:
16425 * international/uni-digit.el:
16426 * international/uni-lowercase.el:
16427 * international/uni-mirrored.el:
16428 * international/uni-name.el:
16429 * international/uni-numeric.el:
16430 * international/uni-old-name.el:
16431 * international/uni-titlecase.el:
16432 * international/uni-uppercase.el: Regenerate.
16433
16434 * loadup.el: Load international/charprop.el before
16435 international/characters.
16436
e14b388a
CY
164372011-07-07 Chong Yidong <cyd@stupidchicken.com>
16438
16439 * window.el (next-buffer, previous-buffer): Signal an error if
16440 called from a minibuffer window.
16441
16442 * bindings.el: Revert 2011-07-04 change.
16443
354cf0ba
RS
164442011-07-06 Richard Stallman <rms@gnu.org>
16445
16446 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16447 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16448 Treat markers like ints.
16449 (rmail-mime-entity): Doc fix.
16450
a48868a7
LMI
164512011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16452
4906cd3d
LMI
16453 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16454 defcustom again for backwards compatibility.
16455
e0457abe
LMI
16456 * simple.el (shell-command-on-region): Fill.
16457
d67f7e1f
LMI
16458 * dired-aux.el (dired-kill-line): Add a doc string.
16459
fe204702
LMI
16460 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16461 to "\\sw\\|\\s_" (bug#358).
16462
a48868a7
LMI
16463 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16464 (dired-unmark-backward): Ditto.
16465 (dired-flag-backup-files): Ditto.
16466
16467 * dired-x.el (dired-mark-sexp): Ditto.
16468
aa8a705c
RS
164692011-07-06 Richard Stallman <rms@gnu.org>
16470
16471 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16472 (rmail-mime-entity): New arg TRUNCATED.
16473 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16474 New functions.
16475 (rmail-mime-save): Warn if entity is truncated.
16476 (rmail-mime-toggle-hidden): Likewise, for showing.
16477 (rmail-mime-process-multipart): Record when an entity is truncated.
16478
a9a936b9
RS
16479 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16480 if ENTITY is a string.
16481
1f2b92cb
LMI
164822011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16483
f4f73198 16484 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16485 of faces when `M-C-x'-ing their definitions (bug#8378).
16486 Also clean up the code slightly.
f4f73198 16487
12b16734 16488 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16489 because that makes the colors go away.
12b16734 16490
f0691d22
LMI
16491 * mail/sendmail.el (send-mail-function): Change the default to
16492 `sendmail-query-once'.
9e87df06 16493 (sendmail-query-once): Add an autoload cookie.
f0691d22 16494
1f2b92cb
LMI
16495 * net/network-stream.el (network-stream-open-starttls): Try using
16496 a plain connection even if the server offered STARTTLS, and we
16497 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16498 capability. This should make smtpmail.el work in slightly more
16499 configurations.
16500
1cdd2a1b
MA
165012011-07-06 Michael Albinus <michael.albinus@gmx.de>
16502
16503 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16504 New defun.
16505 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16506
fbcc67e2
MM
165072011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16508
16509 * progmodes/sql.el: Version 3.0
0757af94 16510 (sql-product-alist): Add product :completion-object,
fbcc67e2 16511 :completion-column, and :statement attributes.
0757af94 16512 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16513 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16514 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16515 ansi keywords.
16516 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 16517 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
16518 (sql-oracle-show-reserved-words): New function for development.
16519 (sql-product-font-lock): Simplify for source code buffers.
16520 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16521 New functions.
16522 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
16523 (sql-mode-map): Add statement movement functions.
16524 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16525 New variable.
fbcc67e2
MM
16526 (sql-statement-regexp, sql-beginning-of-statement)
16527 (sql-end-of-statement, sql-signum): New functions.
0757af94 16528 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
16529 (sql-show-sqli-buffer): Bug fix.
16530 (sql-interactive-mode): Store connection data as buffer local.
0757af94 16531 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
16532 with sql-interactive-mode.
16533 (sql-save-connection): Save buffer local settings.
0757af94 16534 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
16535 (sql-product-interactive): Bug fix.
16536 (sql-preoutput-hold): New variable.
16537 (sql-interactive-remove-continuation-prompt): Bug fixes.
16538 (sql-debug-redirect): New variable.
16539 (sql-str-literal): New function.
16540 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 16541 Redesign.
fbcc67e2
MM
16542 (sql-oracle-save-settings, sql-oracle-restore-settings)
16543 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16544 (sql-completion-object, sql-completion-column)
16545 (sql-completion-sqlbuf): New variables.
16546 (sql-build-completions-1, sql-build-completions)
16547 (sql-try-completion): New functions.
16548 (sql-read-table-name): Use them.
16549 (sql-contains-names): New buffer local variable.
16550 (sql-list-all, sql-list-table): Use it.
16551 (sql-oracle-completion-types): New variable.
16552 (sql-oracle-completion-object, sql-sqlite-completion-object)
16553 (sql-postgres-completion-object): New functions.
16554
d4eaeab1
GM
165552011-07-06 Glenn Morris <rgm@gnu.org>
16556
16557 * window.el (pop-to-buffer): Doc fix.
16558
322b7dab 165592011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16560
16561 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16562
322b7dab 165632011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16564
322b7dab 16565 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16566
322b7dab 16567 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16568
605dd5bf
CY
165692011-07-05 Chong Yidong <cyd@stupidchicken.com>
16570
16571 * button.el (button): Inherit from link face. Suggested by Dan
16572 Nicolaescu.
16573
7dbfa719
SM
165742011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16575
3db614b0
SM
16576 * progmodes/gdb-mi.el: Fit in 80 columns.
16577 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16578 switch-to-buffer.
16579
7dbfa719
SM
16580 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16581 if imenu is simply not configured (bug#8941).
16582
919d884a
KM
165832011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16584
16585 * allout.el (allout-post-undo-hook): New allout outline-change
16586 event hook to signal undo activity.
16587 (allout-post-command-business): Run allout-post-undo-hook if an
16588 undo just occurred.
7dbfa719
SM
16589 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16590 * allout-widgets.el (allout-widgets-after-undo-function):
16591 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16592 in the vicinity of an undo.
16593 (allout-widgets-mode): Include allout-widgets-after-undo-function
16594 on the new allout-post-undo-hook.
16595
450a0f09
SM
165962011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16597
16598 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16599 Let define-derived-mode define it.
16600 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16601 cycles of abbrev-table inheritance (bug#8998).
16602
2de69e00
RW
166032011-07-05 Roland Winkler <winkler@gnu.org>
16604
16605 * textmodes/bibtex.el: Add support for biblatex.
16606 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16607 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16608 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16609 (bibtex-entry-alist, bibtex-field-alist): New variables.
16610 (bibtex-entry-field-alist): Obsolete alias for
16611 bibtex-BibTeX-entry-alist.
16612 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16613 (bibtex-set-dialect): New command.
16614 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16615 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16616 Bind via bibtex-set-dialect.
2de69e00
RW
16617 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16618 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16619 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16620 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16621 Define via bibtex-set-dialect.
450a0f09
SM
16622 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16623 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16624 (bibtex-vec-push, bibtex-vec-incr): New functions.
16625 (bibtex-format-entry, bibtex-field-list)
16626 (bibtex-print-help-message, bibtex-validate)
16627 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16628
2dcdbdd9
SM
166292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16630
16631 * progmodes/compile.el (compilation-goto-locus):
16632 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16633 * bs.el (bs-cycle-next, bs-cycle-previous):
16634 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16635 * bindings.el (mode-line-other-buffer):
16636 * autoinsert.el (auto-insert):
16637 * arc-mode.el (archive-extract):
16638 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16639
b27640fe
JB
166402011-07-05 Juanma Barranquero <lekktu@gmail.com>
16641
16642 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16643 Fix check of `emacs-lock-unlockable-modes'.
16644 Coerce true values of `emacs-lock--try-unlocking' to t.
16645
53bbe3ad
JB
166462011-07-05 Juanma Barranquero <lekktu@gmail.com>
16647
16648 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16649 * emacs-lock.el: New file.
16650
1d3cdbc7
JD
166512011-07-05 Julien Danjou <julien@danjou.info>
16652
16653 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16654 than `boundp' to check if face is set.
16655
9173deec
JB
166562011-07-05 Juanma Barranquero <lekktu@gmail.com>
16657
16658 * register.el (registerv-make):
16659 * window.el (window-min-height): Fix typos in docstrings.
16660
869795d6
JD
166612011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16662
9173deec 16663 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16664 Update doc string.
16665
b768cdcd
JB
166662011-07-04 Juanma Barranquero <lekktu@gmail.com>
16667
16668 * server.el (server-execute): Catch quit and call
16669 `server-return-error' to pass the error back to emacsclient and
16670 close the connection (bug#8942).
16671
13aa217b
KM
166722011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16673
16674 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16675 insecure exception for current topic. Also note that auto-saves
16676 are handled differently.
16677
5d3385a0 16678 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16679 State variables for tracking auto-save inhibition situation.
16680
16681 (allout-write-contents-hook-handler): Rename from
16682 'allout-write-file-hook-handler', and describe how it depends on
16683 write-contents-functions sensitivity to non-nil value to prevent
16684 file write.
16685
16686 (allout-auto-save-hook-handler): Remove. auto-save does not check
16687 this in individual buffers, only in the starting buffer, so this
16688 is not the right way for us to inhibit auto-save in a buffer
16689 according to its condition.
16690
16691 (allout-mode): Use new allout-write-contents-hook-handler, and
16692 only with write-contents-functions. Remove auto-save provisions -
16693 they're implemented elsewhere.
16694
16695 (allout-before-change-handler): If undo is in progress, note that
16696 for attention of allout-post-command-business.
16697
16698 (allout-post-command-business): If the command we're following was
16699 an undo, check for change in the status of encrypted items and
16700 adjust auto-save inhibitions accordingly.
16701
16702 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16703 according to whether there are or aren't any plain-text topics
16704 pending encryption.
16705
2dcdbdd9 16706 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16707 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16708 if there are plain-text topics pending encryption.
13aa217b
KM
16709
16710 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16711 buffer-saved-size and some allout state to not inhibit auto-saves
16712 if there are no longer any plain-text topics pending encryption.
16713
0757af94
SM
16714 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16715 No longer provide for exemption of the current topic.
13aa217b 16716
ac89b32c
JL
167172011-07-04 Juri Linkov <juri@jurta.org>
16718
16719 Add 7z operations to delete and save changed members (bug#8968).
16720 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16721 New defcustoms.
16722 (archive-7z-write-file-member): New function.
16723 (archive-7z-summarize): Fix the number of dashes in the
16724 listing output.
16725
8fa39615
SM
167262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16727
16728 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16729 (bug#8958).
16730
2f11b3f1
CY
167312011-07-04 Chong Yidong <cyd@stupidchicken.com>
16732
d66fef2b
CY
16733 * bindings.el: Ignore next-buffer and previous-buffer in
16734 minibuffer-local-map.
16735
2f11b3f1
CY
16736 * font-lock.el (font-lock-builtin-face): Change light background
16737 color to dark slate blue (Bug#6693).
16738
f932a347
WD
167392011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16740
16741 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16742
c8af70e1
SM
167432011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16744
16745 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16746 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16747 Add switch-to-buffer.
16748
f158badc
LMI
167492011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16750
16751 * isearch.el (isearch-search-fun-function): Clarify further the
16752 meaning of the function returned.
16753
6d95bd46
MA
167542011-07-04 Michael Albinus <michael.albinus@gmx.de>
16755
16756 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16757
16758 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16759 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16760 Use it.
16761 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16762 `tramp-default-remote-path' does not exist.
16763 (tramp-send-command-and-read): New optional argument NOERROR.
16764 (tramp-open-connection-setup-interactive-shell)
16765 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16766 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16767 (tramp-process-sentinel): Flush also process' connection property.
16768 (tramp-sh-handle-start-file-process): Do not set process
16769 sentinel. It is done now ...
16770 (tramp-maybe-open-connection): ... here. (Bug#8929)
16771
909e6b67
MK
167722011-07-04 MON KEY <monkey@sandpframing.com>
16773
16774 * play/animate.el (animate-string): Doc fixes and allow changing
16775 the buffer name (bug#5417).
16776
167772011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16778
c8af70e1 16779 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16780
f34755dc
PE
167812011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16782
396cec72
PE
16783 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16784 This is simpler and helps future-proof the code.
16785 (timer-until): Use time-subtract and float-time.
08235028 16786 (timer--time-less-p): Use time-less-p.
f34755dc 16787
56e6cc31
JB
167882011-07-04 Juanma Barranquero <lekktu@gmail.com>
16789
3abb79e5
JB
16790 * type-break.el (timep): Use the value of `float-time' to avoid a
16791 byte-compiler warning.
16792
56e6cc31
JB
16793 * server.el (server-eval-and-print): Return any result, even nil.
16794
7b9430b4
PE
167952011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16796
16797 * type-break.el: Accept time formats that the builtins accept.
16798 (timep, type-break-time-difference): Accept any format that
16799 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16800 This is simpler and helps future-proof the code.
16801 (type-break-time-difference): Round rather than ignoring
16802 subseconds components.
16803
3034e9e7
LMI
168042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16805
16806 * info.el (Info-apropos-matches): Make non-interactive, since it
16807 doesn't seem to do anything useful as a command (bug#8829).
16808
1485f4c0
CY
168092011-07-03 Chong Yidong <cyd@stupidchicken.com>
16810
16811 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16812 Move from faces.el.
1485f4c0
CY
16813 (frame-default-terminal-background): New function.
16814
16815 * custom.el (custom-push-theme): Don't record faces in `changed'
16816 theme; this doesn't work correctly for per-frame face settings.
16817 (disable-theme): Use face-set-after-frame-default to reset faces.
16818 (custom--frame-color-default): New function.
16819
9fa3dd45
LMI
168202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16821
c8af70e1 16822 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16823 (bug#8769).
16824
6cbbc20c
KR
168252011-03-29 Kevin Ryde <user42@zip.com.au>
16826
16827 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16828 `perl-Test2' extend to match possible "fail #N" rep count
16829 (bug#8377).
16830
c7f98048
LMI
168312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16832
65676592
LMI
16833 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16834 `smtpmail-via-smtp' now returns the error instead of nil.
16835
c7f98048
LMI
16836 * isearch.el (isearch-search-fun-function): Clarify the doc string
16837 (bug#8101).
16838
56e6cc31 168392011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16840
16841 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16842 unnecessary spaces (bug#8987).
16843
2b216704
LMI
168442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16845
16846 * net/network-stream.el (open-network-stream): Use the
16847 :end-of-capability command thoughout.
16848
168492011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16850
16851 * net/network-stream.el (open-network-stream): Add the
16852 :end-of-capability command parameter, used by pop3.el.
16853
36adf6ce
LMI
168542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16855
1ca0da0e
LMI
16856 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16857
fc00f69c
LMI
16858 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16859 for list)" (bug#6475).
16860
28fd8759 16861 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16862 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16863 an error (bug#6297).
16864
0dd8b6da
LMI
16865 * man.el (Man-reference-regexp): Allow matching possible
16866 word-wrapped references (bug#6289).
16867
ce1438d6
LMI
16868 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16869 for consistency with the other vc buffers (bug#6197).
16870 (vc-checkin): Ditto.
16871
16872 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16873
36adf6ce
LMI
16874 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16875
e83cc1f7
LMI
168762011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16877
8a20ca4c
LMI
16878 * custom.el (defcustom): Clarify that :set is only used in the
16879 Customize user interface (bug#6089).
16880
83319045
LMI
16881 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16882 associated with a file, refuse to run instead of erroring out
16883 (bug#6084).
16884
a8392169
LMI
16885 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16886 the doc string, since it appears that using `fill-column' always
16887 controls the width (bug#7845).
16888
e83cc1f7
LMI
16889 * simple.el (shell-command-on-region): Say where the error output
16890 went if `shell-command-default-error-buffer' is set (bug#6857).
16891
e47ca23b
KM
168922011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16893
16894 * allout.el (allout-yank-processing): Adjust cursor position for
16895 backwards-deleted space.
16896
16897 (allout-rebullet-heading): Register changes with
16898 allout-exposure-changed-hook, so the modified topic is properly
16899 decorated.
16900
5cf56143
LMI
169012011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16902
08549772
LMI
16903 * minibuffer.el (completion-in-region): Document PREDICATE
16904 (bug#7136).
16905
48e96771
LMI
16906 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16907 of keyword/argument pairs (bug#6904).
16908
c8af70e1
SM
16909 * replace.el (multi-occur):
16910 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16911
e17d05e2
LMI
169122011-07-02 Drew Adams <drew.adams@oracle.com>
16913
16914 * dired.el (dired-mark-if): Make the message about whether it's
16915 marking or unmarking clearer (bug#8523).
16916
063b0e45
LMI
169172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16918
16919 * disp-table.el (display-table-print-array): New function.
16920 (describe-display-table): Use it to print the vectors more pretty
16921 (Bug#8859).
16922
28545e04
MR
169232011-07-02 Martin Rudalics <rudalics@gmx.at>
16924
16925 * window.el (window-state-get-1): Don't assign clone numbers.
16926 Add clone-of item to list of window parameters.
16927 (window-state-put-2): Don't process clone numbers.
16928 (display-buffer-alist): Fix doc-string.
16929
3349e122
SM
169302011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16931
16932 * subr.el (remq): Don't allocate if it's not needed.
16933 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16934 (keymap--merge-bindings): New functions.
16935 (keymap-canonicalize): Use them to refine the canonicalization.
16936 * minibuffer.el (minibuffer-local-completion-map)
16937 (minibuffer-local-must-match-map): Move initialization from C.
16938 (minibuffer-local-filename-completion-map): Move initialization from C;
16939 don't inherit from anything here.
16940 (minibuffer-local-filename-must-match-map): Make obsolete.
16941 (completing-read-default): Use make-composed-keymap to combine
16942 minibuffer-local-filename-completion-map with either
16943 minibuffer-local-must-match-map or
16944 minibuffer-local-filename-completion-map.
16945
d224ac83
GM
169462011-07-01 Glenn Morris <rgm@gnu.org>
16947
3de63bf8
GM
16948 * type-break.el (type-break-time-sum): Use dolist.
16949
d224ac83
GM
16950 * textmodes/flyspell.el (flyspell-word-search-backward):
16951 Replace CL function.
16952
1a1e3f32
SM
169532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16954
fe3f64d5
SM
16955 * mouse.el (mouse--strip-first-event): New function.
16956 (function-key-map): Use it to map fringe clicks to normal clicks
16957 by default.
16958
eb604e34
SM
16959 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16960 (vc-bzr-revision-completion-table): Add support for annotate and date.
16961
1a1e3f32
SM
16962 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16963 inherit from parent.
16964
5bd35902
LMI
169652011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16966
ace6c69c 16967 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16968 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16969
191e2bed
LMI
16970 * dired.el (dired-mode): Fix up the doc string as suggested by
16971 Drew Adams (bug#8817).
16972
5bd35902
LMI
16973 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16974 cookie, since the manual says that it should be possible to add
16975 this function to `find-file-hook' (bug#8709).
16976
eee8207a
TZ
169772011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16978
16979 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16980 here. Noted Ted Zlatanov as the maintainer.
16981 (cfengine-common-settings, cfengine-common-syntax): New functions
16982 to set up common things between `cfengine-mode' and
16983 `cfengine3-mode'.
16984 (cfengine3-mode): New mode.
16985 (cfengine3-defuns cfengine3-defuns-regex
16986 (cfengine3-class-selector-regex cfengine3-category-regex)
16987 (cfengine3-vartypes cfengine3-font-lock-keywords)
16988 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16989 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16990
36b148cf
MA
169912011-07-01 Michael Albinus <michael.albinus@gmx.de>
16992
16993 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16994
16995 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16996
0bf4ba9a
MR
169972011-07-01 Martin Rudalics <rudalics@gmx.at>
16998
16999 * window.el (same-window-buffer-names, same-window-regexps)
17000 (same-window-p, special-display-frame-alist)
17001 (special-display-popup-frame, special-display-function)
17002 (special-display-buffer-names, special-display-regexps)
17003 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17004 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17005 (split-window-preferred-function, split-height-threshold)
17006 (split-width-threshold, even-window-heights)
17007 (display-buffer-mark-dedicated, window-splittable-p)
17008 (split-window-sensibly, window-safely-shrinkable-p):
17009 Un-obsolete.
17010 (display-buffer): Don't spread args with function specifier
17011 because special-display-popup-frame won't like it.
17012
35837f51
PE
170132011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17014
d0672f86
PE
17015 Time-stamp simplifications and fixes.
17016 These improve accuracy slightly, and future-proof the code
17017 against some potential changes to current-time format.
17018
b9444d97
PE
17019 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17020 by using time-since and float-time.
17021
0ef923dc
PE
17022 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17023 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17024 + NNN microseconds".
17025
2f81380d
PE
17026 * type-break.el (type-break-time-sum): Rewrite using time-add.
17027
845b5c3e
PE
17028 * play/hanoi.el (hanoi-current-time-float): Remove.
17029 All uses replaced by float-time.
17030
ee6f1be0
PE
17031 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17032 This yields a more-accurate answer.
17033 (rng-time-to-float): Remove; no longer needed.
17034
fe955043
PE
17035 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17036
5777162a
PE
17037 * calendar/timeclock.el (timeclock-seconds-to-time):
17038 Defalias to seconds-to-time, since they're the same thing.
17039
3103f8b6 17040 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17041 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17042 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17043
0e61a35f
SM
170442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17045
17046 * window.el (bury-buffer): Don't iconify the only frame.
17047 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17048 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17049
ddd63a1e
CY
170502011-07-01 Chong Yidong <cyd@stupidchicken.com>
17051
0e61a35f
SM
17052 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17053 Add mouse-yank-primary.
ddd63a1e 17054
055f4923
TZ
170552011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17056
17057 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17058
6a2fb145
SM
170592011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17060
17061 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17062 (find-library-name): Use it to find relative load names when provided
17063 absolute file name (bug#8803).
17064
fd4983f2
LMI
170652011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17066
887d14ad
LMI
17067 * textmodes/flyspell.el (flyspell-word): Consider words that
17068 differ only in case as potential doublons (bug#5687).
17069
c53dc7fc
LMI
17070 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17071 Remove two rather uninteresting debugging-like messages to make
17072 debbugs.el more silent.
17073
fd4983f2
LMI
17074 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17075 a password-like phrase.
17076
7a71b18d 170772011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
17078
17079 * progmodes/cc-guess.el: New file.
17080
6a2fb145 17081 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
17082
17083 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17084 derived from `c-basic-common-init'.
17085
17086 * progmodes/cc-mode.el (top-level): Require cc-guess.
17087 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17088
1fa280a3
LM
170892011-06-30 Lawrence Mitchell <wence@gmx.li>
17090
17091 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17092
e6597158
AM
170932011-06-30 Alan Mackenzie <acm@muc.de>
17094
1fa280a3
LM
17095 * progmodes/cc-engine.el (c-guess-continued-construct):
17096 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
17097 lock is disabled. Name this case as "CASE G".
17098
68ba37fb
KM
170992011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17100
17101 * allout.el (allout-yank-processing): Fix injection of extra space
17102 between bullet and non-whitespace character in first topic when
17103 pasting, ensuring that the actual spacing in the pasted topic
17104 following the bullet char is preserved. This extra space was
17105 causing pasted encrypted topics to get a decrypted status even
17106 when the content was actually still encrypted. Now the decryption
17107 status from before the paste is preserved.
17108
17109 (allout-flag-region): Set all allout overlays so they evaporate
17110 when reduced to zero length (evanescent), to prevent overlay
17111 leakage.
17112
887a0b34
GM
171132011-06-30 Glenn Morris <rgm@gnu.org>
17114
94b9acce
GM
17115 * w32-fns.el (w32-charset-info-alist): Declare.
17116
1d9b46d4
GM
17117 * find-dired.el (find-grep-options): Simplify.
17118
cc232200
GM
17119 * term/ns-win.el (ns-set-resource): Declare.
17120
28e77c46
GM
17121 * ses.el (row, col): Declare dynamic variables honestly.
17122
887a0b34
GM
17123 * textmodes/reftex-parse.el (index-tags): Declare.
17124
658d8eb8
CY
171252011-06-30 Chong Yidong <cyd@stupidchicken.com>
17126
17127 * cus-edit.el (customize-push-and-save): New function.
17128
17129 * files.el (hack-local-variables-confirm): Use it.
17130
1fa280a3
LM
17131 * custom.el (load-theme): New arg NO-CONFIRM.
17132 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17133 (custom-enabled-themes): Doc fix.
17134
17135 * cus-theme.el (customize-create-theme)
17136 (custom-theme-merge-theme): Callers to load-theme changed.
17137
bb617717
LMI
171382011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17139
d61bdd5d
LMI
17140 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17141 short URLs have at least one dot in them (bug #7614).
17142
bb617717
LMI
17143 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17144 nil, because using a pty is apparently too slow (bug #895).
17145
2f31f37a
LMI
171462011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17147
17148 * mail/sendmail.el (sendmail-query-once): New function.
17149 (sendmail-query-once-function): New variable.
17150
3076b24e
GM
171512011-06-29 Glenn Morris <rgm@gnu.org>
17152
faf2a174
GM
17153 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17154
3076b24e
GM
17155 * ses.el (top-level): Require cl when compiling.
17156 (ses-set-localvars): Fix error statement.
17157 Call it at compile time to silence a storm of warnings.
17158
5386012d
MR
171592011-06-29 Martin Rudalics <rudalics@gmx.at>
17160
17161 * window.el (normalize-live-buffer): Rename to
17162 window-normalize-buffer.
17163 (normalize-live-frame): Rename to window-normalize-frame.
17164 (normalize-any-window): Rename to window-normalize-any-window.
17165 (normalize-live-window): Rename to window-normalize-live-window.
17166 (make-window-atom): Rename to window-make-atom.
17167 (window-resize-reset): Rename to window--resize-reset.
17168 (window-resize-reset-1): Rename to window--resize-reset-1.
17169 (resize-mini-window): Rename to window--resize-mini-window.
17170 (resize-subwindows-skip-p): Rename to
17171 window--resize-subwindows-skip-p.
17172 (resize-subwindows-normal): Rename to
17173 window--resize-subwindows-normal.
17174 (resize-subwindows): Rename to window--resize-subwindows.
17175 (resize-other-windows): Rename to window--resize-siblings.
17176 (resize-this-window): Rename to window--resize-this-window.
17177 (resize-root-window): Rename to window--resize-root-window.
17178 (resize-root-window-vertically): Rename to
17179 window--resize-root-window-vertically.
17180 (normalize-buffer-to-display): Rename to
17181 window-normalize-buffer-to-display.
17182 (normalize-buffer-to-switch-to): Rename to
17183 window-normalize-buffer-to-switch-to.
17184 Correspondingly update all callers of the functions listed
17185 above.
17186 (display-buffer-alist, display-buffer-normalize-arguments)
17187 (display-buffer-normalize-options, display-buffer)
17188 (display-buffer-alist-set): Use "function" instead of
17189 "fun-with-args".
17190
1176868d
CY
171912011-06-28 Chong Yidong <cyd@stupidchicken.com>
17192
17193 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17194 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17195 debbugs.gnu.org. Mention acknowledgment email.
17196
20a7a65f
LMI
171972011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17198
17199 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17200 buffer multibyteness, since it shouldn't matter.
17201
5f45cca5
MR
172022011-06-28 Martin Rudalics <rudalics@gmx.at>
17203
17204 * window.el (display-buffer-in-side-window): Handle dedicated
17205 windows as in display-buffer-reuse-window.
17206 (display-buffer-normalize-alist): Use value of override
17207 specifier.
17208 (display-buffer-normalize-specifiers): Use value of
17209 other-window-means-other-frame specifier.
17210 (display-buffer-alist): Rewrite some texts in widgets.
17211 (display-buffer): Spread arguments when calling function
17212 specified by fun-with-args.
17213
ad85fe1f
DD
172142011-06-28 Deniz Dogan <deniz@dogan.se>
17215
1fa280a3
LM
17216 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17217 Unnest `let'.
da68c4c8 17218
ad85fe1f
DD
17219 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17220 selectors (Bug#5732).
ec49bd31 17221 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17222
a08cc025
JA
172232011-06-27 Jari Aalto <jari.aalto@cante.net>
17224
17225 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17226 (eshell-ls-date-format): New defcustom.
17227 (eshell-ls-file): Use it.
17228
e2b551c5
SM
172292011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17230
17231 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17232
8982b231
KY
172332011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17234
17235 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17236 (ange-ftp-make-tmp-name): New arg.
17237 (ange-ftp-file-local-copy): Use it.
17238
36c9fa27
J
172392011-06-27 Jambunathan K <kjambunathan@gmail.com>
17240
17241 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17242 no-conversion (Bug#8870).
17243
d68443dc
MR
172442011-06-27 Martin Rudalics <rudalics@gmx.at>
17245
17246 * window.el (window-right, window-left, window-child)
17247 (window-child-count, window-last-child)
17248 (window-iso-combination-p, walk-window-tree-1)
17249 (window-atom-check-1, window-tree-1, delete-window)
17250 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17251 new naming conventions - window-vchild, window-hchild,
17252 window-next and window-prev are now called window-top-child,
17253 window-left-child, window-next-sibling and window-prev-sibling
17254 respectively.
d615d6d2
MR
17255 (resize-window-reset): Rename to window-resize-reset.
17256 (resize-window-reset-1): Rename to window-resize-reset-1.
17257 (resize-window): Rename to window-resize.
17258 (window-min-height, window-min-width)
17259 (resize-mini-window, resize-this-window, resize-root-window)
17260 (resize-root-window-vertically, adjust-window-trailing-edge)
17261 (enlarge-window, shrink-window, maximize-window)
17262 (minimize-window, delete-window, quit-restore-window)
17263 (split-window, balance-windows, balance-windows-area-adjust)
17264 (balance-windows-area, window-state-put-2)
17265 (display-buffer-even-window-sizes, display-buffer-set-height)
17266 (display-buffer-set-width, set-window-text-height)
17267 (fit-window-to-buffer): Rename all "resize-window" prefixed
17268 calls to use the "window-resize" prefix convention.
17269 (display-buffer-alist): Fix symbol for label specifier.
17270 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17271 corresponding specifier.
17272 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17273
b6458526
VB
172742011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17275
17276 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17277 convention.
17278 (ses-call-printer): Does not pass an empty string to formatter when the
17279 cell is empty to keep from barking printer Calc math-format-value.
17280
d31fd9ac
RS
172812011-06-27 Richard Stallman <rms@gnu.org>
17282
43d5bf84
RS
17283 * battery.el (battery-mode-line-limit): New variable.
17284 (battery-update): Handle it.
17285
d31fd9ac
RS
17286 * mail/rmailmm.el (rmail-mime-process-multipart):
17287 Handle truncated messages.
17288
819a6054
GM
172892011-06-27 Glenn Morris <rgm@gnu.org>
17290
17291 * progmodes/flymake.el (flymake-err-line-patterns):
17292 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17293
cedc73f2
VB
172942011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17295
819a6054 17296 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17297 (ses--clean-!, ses--clean-_): New functions.
17298 (ses-range): Add configurability of readout order, and conversion
17299 to Calc vector.
17300
5e5d49b6
VB
17301 * ses.el (ses-repair-cell-reference-all): New function.
17302 (ses-cell-symbol): Set macro as safe, so that it can be used in
17303 formulas.
17304
56e6cc31 17305 * ses.el: Update cycle detection algorithm.
90ca8b49 17306 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17307 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17308 (ses-set-localvars): New function.
17309 (ses-make-cell): Add property-list as a cell element.
17310 (ses-cell-property-get-fun, ses-cell-property-get)
17311 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17312 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17313 New functions.
90ca8b49
VB
17314 (ses-cell-property-set, ses-cell-property-pop)
17315 (ses-cell-property-get-handle): New macro.
17316 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17317 New aliases, used for code readability.
17318 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17319 cycle detection.
17320 (ses-self-reference-early-detection): New defcustom.
fac916bf 17321 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17322 (ses-mode): Use ses-set-localvars.
17323 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17324 before lauching the update processing.
17325 (ses-initialize-Dijkstra-attempt): New function.
17326 (ses-recalculate-cell): Update for cycle detection based on
17327 Dijkstra algorithm.
17328
2bb63e81
VB
17329 * ses.el: Fix commenting and indenting convention.
17330
c9d29fb8
SM
173312011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17332
17333 * bs.el (bs-cycle-next): Complete last change.
17334
d8e4b68b
JB
173352011-06-27 Drew Adams <drew.adams@oracle.com>
17336
17337 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17338
40098786
LMI
173392011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17340
c9d29fb8
SM
17341 * net/network-stream.el (network-stream-open-starttls):
17342 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17343 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17344
40098786
LMI
17345 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17346 to binary to possibly avoid line encoding issues on Windows (among
17347 other things).
17348
468d09d4
LMI
173492011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17350
17351 * net/network-stream.el (open-network-stream): Return an :error
17352 saying what the problem was, if possible.
17353
17354 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17355 server.
17356
17357 * net/network-stream.el (network-stream-open-starttls): If we
17358 wanted to use STARTTLS, and the server offered it, but we weren't
17359 able to because we had no STARTTLS support, then close the connection.
17360 (open-network-stream): Return an :error element, if present.
17361
16f07dd7
CY
173622011-06-26 Chong Yidong <cyd@stupidchicken.com>
17363
88821ca0
CY
17364 * hl-line.el (hl-line-sticky-flag): Doc fix.
17365 (global-hl-line-sticky-flag): New option (Bug#8323).
17366 (global-hl-line-highlight): Obey it.
17367
16f07dd7
CY
17368 * vc/vc.el (vc-revert-show-diff): Default to t.
17369
6b5ccddf
KM
173702011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17371
c9d29fb8
SM
17372 * allout-widgets.el (allout-widgets-post-command-business):
17373 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17374 undecorated when an isearch is continued past, and isearch
17375 automatically collapses them. This leads to "widget leaks", where
17376 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17377 hidden widgets can slow down cursor travel, substantially.
17378 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17379 so we're doing without this nicety.
17380
17381 (allout-widgets-tally-string): Don't try to do a hash-table-count
17382 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17383 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17384 *Messages* when allout-widgets-maintain-tally is t.
17385
355f2e07
MR
173862011-06-26 Martin Rudalics <rudalics@gmx.at>
17387
17388 * window.el (display-buffer-normalize-argument): Rename to
17389 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17390 LABEL argument. Respect special-display-function when popping up
17391 a new frame. Fix code searching for a window showing the buffer
17392 on another frame.
c9d29fb8
SM
17393 (display-buffer-normalize-specifiers):
17394 Call display-buffer-normalize-arguments.
355f2e07
MR
17395 (display-buffer-in-window): Don't undedicate the window if its
17396 buffer remains the same.
17397 Reported by Drew Adams <drew.adams@oracle.com>.
17398 (display-buffer-alist): Add choice for same-window macro
17399 specfier.
17400 (display-buffer): Mention special meaning of LABEL argument in
17401 doc-string. Fix quoting. Don't pop up a new frame even as
17402 fallback.
17403
7ca8fc42
JB
174042011-06-26 Juanma Barranquero <lekktu@gmail.com>
17405
17406 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17407 avoid deleting the current window in some cases (bug#8911).
17408
bc312254
AS
174092011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17410
17411 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17412 (Bug#8934)
17413
2db18f3f
LMI
174142011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17415
c9d29fb8
SM
17416 * net/network-stream.el (network-stream-open-starttls):
17417 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17418 (network-stream-open-tls): Ditto.
17419
6302e0d3
LL
174202011-06-26 Leo Liu <sdl.web@gmail.com>
17421
17422 * register.el (registerv): New struct.
17423 (registerv-make): New function.
c9d29fb8
SM
17424 (jump-to-register, describe-register-1, insert-register):
17425 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17426 struct. (Bug#8415)
17427
5fdd4046
CY
174282011-06-26 Chong Yidong <cyd@stupidchicken.com>
17429
2afef60a
CY
17430 * vc/vc.el (vc-revert-show-diff): New defcustom.
17431 (vc-diff-internal): New arg specifying diff buffer.
17432 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17433 reuse an existing *vc-diff* buffer (Bug#8927).
17434
5fdd4046
CY
17435 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17436
e93db24a
GM
174372011-06-26 Glenn Morris <rgm@gnu.org>
17438
17439 * progmodes/f90.el (f90-critical-indent): New option.
17440 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17441 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17442 (f90-mode): Doc fix.
17443 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17444 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17445 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17446 (f90-match-end): Handle block, critical.
17447
eefff499
GM
174482011-06-25 Glenn Morris <rgm@gnu.org>
17449
f6ba4cc9
GM
17450 * calendar/diary-lib.el (diary-included-files): Doc fix.
17451 (diary-include-files): New function, extracted from
17452 diary-include-other-diary-files and diary-mark-included-diary-files.
17453 (diary-include-other-diary-files, diary-mark-included-diary-files):
17454 Just call diary-include-files.
17455 (diary-mark-entries): Reset diary-included-files on first call.
17456
16712304
GM
17457 * calendar/diary-lib.el (diary-mark-entries)
17458 (diary-mark-included-diary-files):
17459 Visit included diary-files in temp buffers.
17460
5d8e0d43
GM
17461 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17462 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17463 (f90-start-block-re, f90-imenu-generic-expression)
17464 (f90-looking-at-program-block-start, f90-no-block-limit):
17465 Add support for submodules.
17466
ccf7a5d5
GM
17467 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17468 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17469
11fdef7d 174702011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17471
17472 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17473 buffer-file-type before setting its value, to avoid disastrous
eefff499 17474 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17475
74f53697
JB
174762011-06-25 Juanma Barranquero <lekktu@gmail.com>
17477
17478 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17479
17480 * ses.el (ses-unload-function):
17481 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17482
17483 * proced.el (proced-unload-function):
17484 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17485
18a4ce5e
AR
174862011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17487
17488 * server.el (server-create-window-system-frame): Add parameters arg.
17489 (server-process-filter): Doc fix. Handle frame-parameters.
17490
519d22cc
JB
174912011-06-25 Juanma Barranquero <lekktu@gmail.com>
17492
17493 Fix bug#8730, bug#8781.
17494
17495 * loadhist.el (unload--set-major-mode): New function.
17496 (unload-feature): Use it.
17497
17498 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17499 (python-unload-function): New function.
17500
c206f5b0
SM
175012011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17502
17503 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17504
f9ad64f3
GS
175052011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17506
17507 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17508 the candidates list.
17509
7d0da90e
JB
175102011-06-24 Juanma Barranquero <lekktu@gmail.com>
17511
17512 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17513
14b4e83d
RS
175142011-06-23 Richard Stallman <rms@gnu.org>
17515
17516 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17517 (rmail-variables): Set next-error-move-function.
17518 (rmail-what-message): Take argument POS.
17519 (rmail-next-error-move): New function.
17520
273d2baf
SM
175212011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17522
17523 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17524 messages for adjacent non-terminals.
17525
56c2cc9a
RS
175262011-06-23 Richard Stallman <rms@gnu.org>
17527
17528 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 17529 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
17530 (rmail-start-mail): Don't specify use of rmail-mail-return;
17531 that's done by mail-bury now.
17532 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 17533
d59eb518
MA
175342011-06-23 Michael Albinus <michael.albinus@gmx.de>
17535
17536 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17537 SIZE is a number.
17538
02cfc6d6
MR
175392011-06-23 Martin Rudalics <rudalics@gmx.at>
17540
17541 * window.el (get-lru-window, get-mru-window)
17542 (get-largest-window): Never return a minibuffer window.
17543 (display-buffer-pop-up-window): Fix a bug that could lead to
17544 reusing the minibuffer window.
17545 (display-buffer): Pass original specifier argument to
17546 display-buffer-function instead of the normalized one.
17547 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17548
4e323265
LL
175492011-06-22 Leo Liu <sdl.web@gmail.com>
17550
17551 * minibuffer.el (completing-read-function)
1f9f395d 17552 (completing-read-default): Move from minibuf.c.
4e323265 17553
7a70468f
RS
175542011-06-22 Richard Stallman <rms@gnu.org>
17555
50718fc2
RS
17556 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17557 to Rmail even if not started by a special Rmail command.
17558
7a70468f
RS
17559 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17560 Copy the buffer currently showing just one message.
17561
297dde5a
RW
175622011-06-22 Roland Winkler <winkler@gnu.org>
17563
17564 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17565 (bibtex-clean-entry): First delete the old key so that a
17566 customized algorithm for generating the new key does not get
17567 confused by the old key.
17568 (bibtex-url): Obey regexp of first step.
17569 (bibtex-search-entries): Do not use add-to-list with local
17570 list-var.
17571
97bb1093
LMI
175722011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17573
17574 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17575 stored a user name, then query for the password first, instead of
17576 waiting for SMTP to give an error message and the trying again.
17577
1c0f1a19
JD
175782011-06-22 Lawrence Mitchell <wence@gmx.li>
17579
17580 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17581 BUFFER in call-process.
17582
396f7c9d
LMI
175832011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17584
17585 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17586 QUIT twice.
ddb7ffee
LMI
17587 (smtpmail-try-auth-methods): Require user name and password from
17588 auth-source.
396f7c9d 17589
8998d1b3
MR
175902011-06-22 Martin Rudalics <rudalics@gmx.at>
17591
17592 * window.el (display-buffer-default-specifiers)
17593 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17594 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17595 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17596
17597 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17598 (special-display-frame-alist, special-display-popup-frame):
17599 Remove duplicate declarations. These are now in window.el.
17600
4ea31e07
LMI
176012011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17602
c9d29fb8
SM
17603 * mail/smtpmail.el (smtpmail-via-smtp):
17604 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17605 server supports it. SMTP servers that support STARTTLS commonly
17606 require it.
17607
17608 * net/network-stream.el (network-stream-open-starttls): Support
17609 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17610 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17611
95f41d9a
LMI
17612 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17613 upgrades with `open-network-stream', and rely solely on
17614 auth-source for all credentials. Big changes throughout the file,
17615 but in particular:
c9d29fb8
SM
17616 (smtpmail-auth-credentials): Remove.
17617 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17618 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17619 MAIL FROM, too.
95f41d9a 17620
c9d29fb8
SM
17621 * net/network-stream.el (network-stream-open-starttls):
17622 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17623 STARTTLS.
17624 (auth-source): Require.
17625 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17626 (network-stream-certificate): Change cert-cert to cert and
17627 cert-key to key.
4ea31e07 17628
065ec2c7
MA
176292011-06-21 Michael Albinus <michael.albinus@gmx.de>
17630
17631 * net/tramp-cache.el (top): Don't load the persistency file when
17632 "emacs -Q" has been called.
17633
cd93b359
DR
176342011-06-21 Tim Harper <timcharper@gmail.com>
17635
d8e4b68b
JB
17636 * term/ns-win.el (ns-initialize-window-system):
17637 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17638 resource to NO as it is not yet supported by the NS port.
17639
ae9c0411
JB
176402011-06-21 Juanma Barranquero <lekktu@gmail.com>
17641
17642 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17643 (list-dynamic-libraries): ...not here.
17644
7f3f739f
LL
176452011-06-21 Leo Liu <sdl.web@gmail.com>
17646
17647 * subr.el (sha1): Implement sha1 using secure-hash.
17648
327c8fb1
MR
176492011-06-21 Martin Rudalics <rudalics@gmx.at>
17650
17651 * window.el (display-buffer-alist): In default value do not
17652 enforce searching a window on any but the selected frame.
17653 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17654 (display-buffer-select-window): Remove function.
17655 (display-buffer-in-window): When a window on another frame gets
17656 reused, do not select it any more but just raise its frame if
17657 necessary (Bug#8851) and (Bug#8856).
17658 (display-buffer-normalize-options): Handle pop-up-frames related
17659 options more faithfully.
17660 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17661 window if it is on another frame.
c9d29fb8
SM
17662 (display-buffer-alist, display-buffer-default-specifiers):
17663 Don't make new frame unsplittable by default.
9e9de014
MR
17664 (display-buffer-normalize-argument): Fix doc-string typo and use
17665 'same-frame-other-window instead of 'other-window when associating
17666 with display-buffer-macro-specifiers.
327c8fb1 17667
7cf3f556
VB
176682011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17669
17670 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17671 New functions.
17672 (5x5-mode-map, 5x5-mode-menu): Bind them.
17673 (5x5-draw-grid): Tweak the solver's rendering.
17674
60a406cf
SM
176752011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17676
17677 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17678 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17679
d8e4b68b 176802011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17681
17682 * menu-bar.el: Use function variable instead of switch-to-buffer.
17683 (menu-bar-select-buffer-function): New variable.
60a406cf 17684 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17685
478d6f95
SM
176862011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17687
17688 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17689 variable's status.
17690
ca530739
JD
176912011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17692
17693 * x-dnd.el (x-dnd-version-from-flags)
17694 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17695 and long as number (Bug#8899).
17696 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17697
bcd70d97
SM
176982011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17699
60a406cf 17700 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17701 (completion-try-completion, completion-all-completions): Compute the
17702 metadata argument if it's missing; make it optional (bug#8795).
17703
60a406cf 17704 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17705 (widget-complete): Use new :completion-function property.
17706 (widget-completions-at-point): New function.
17707 (default): Use :completion-function instead of :complete.
60a406cf
SM
17708 (widget-default-completions): Rename from widget-default-complete;
17709 Rewrite.
bcd70d97
SM
17710 (widget-string-complete, widget-file-complete, widget-color-complete):
17711 Remove functions.
17712 (file, symbol, function, variable, coding-system, color):
17713 * international/mule-cmds.el (default-input-method, charset)
17714 (language-info-custom-alist):
17715 * cus-edit.el (face): Use new property :completions.
17716
17717 * progmodes/pascal.el (pascal-completions-at-point): New function.
17718 (pascal-mode): Use it.
17719 (pascal-mode-map): Use completion-at-point.
17720 (pascal-toggle-completions): Make obsolete.
17721 (pascal-complete-word, pascal-show-completions):
17722 * progmodes/octave-mod.el (octave-complete-symbol):
17723 Redefine as obsolete alias.
17724 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17725 Signal absence of completion info for old Octave,
17726 (inferior-octave-complete): Redefine as obsolete alias.
17727 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17728 (meta-completions-at-point): Rename from meta-complete-symbol and
17729 adapt it for use on completion-at-point-functions.
17730 (meta-common-mode): Use it.
17731 (meta-looking-at-backward, meta-match-buffer): Remove.
17732 (meta-complete-symbol): Redefine as obsolete alias.
17733 (meta-common-mode-map): Use completion-at-point.
17734 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17735 (makefile-mode-map): Use completion-at-point.
17736 (makefile-completions-at-point): Rename from makefile-complete and
17737 adapt it for use on completion-at-point-functions.
17738 (makefile-mode): Use it.
17739 (makefile-complete): Redefine as obsolete alias.
17740
aebf69c8
DD
177412011-06-20 Deniz Dogan <deniz@dogan.se>
17742
17743 * net/rcirc.el: Delete trailing whitespaces once and for all.
17744
bfbbb27d
DC
177452011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17746
17747 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17748
d264a46b
CY
177492011-06-19 Chong Yidong <cyd@stupidchicken.com>
17750
4ca009e5
CY
17751 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17752
d264a46b
CY
17753 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17754
fbf5b3ce
MR
177552011-06-19 Martin Rudalics <rudalics@gmx.at>
17756
17757 * window.el (display-buffer-other-window-means-other-frame):
17758 Call display-buffer-normalize-alist.
17759 (display-buffer-normalize-specifiers-1): Rename to
17760 display-buffer-normalize-argument. New argument other-frame.
17761 Rewrite.
17762 (display-buffer-normalize-specifiers-2): Rename to
17763 display-buffer-normalize-options.
17764 (display-buffer-normalize-alist-1): New function.
17765 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17766 display-buffer-normalize-alist.
17767 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17768 (display-buffer-normalize-options-inhibit): New variable.
17769 (display-buffer-normalize-specifiers): Rewrite calling
17770 display-buffer-normalize-alist,
17771 display-buffer-normalize-argument, and
17772 display-buffer-normalize-options. Don't call the latter if
17773 display-buffer-normalize-options-inhibit is non-nil.
17774 (frame-auto-delete): New option.
17775 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17776 (window-list-no-nils, window-state-ignored-parameters)
17777 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17778 (window-state-put-1, window-state-put-2, window-state-put):
17779 New functions.
9a028c23
MR
17780 (display-buffer-normalize-options): Move special-display-p group
17781 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17782
6d10d800
CY
177832011-06-18 Chong Yidong <cyd@stupidchicken.com>
17784
6420d28b
CY
17785 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17786 groups (Bug#8776).
17787 (rx-submatch-n): New function.
17788 (rx): Document it.
17789
ddb8b596
CY
17790 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17791 (Bug#8768).
17792
17793 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17794
77080289
CY
17795 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17796
61dfb316
CY
17797 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17798 anytime existing face settings are present (Bug#8889).
17799
6d10d800
CY
17800 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17801 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17802 Remove unused argument.
17803
be3fb2b8
MR
178042011-06-18 Martin Rudalics <rudalics@gmx.at>
17805
bcd70d97
SM
17806 * window.el (display-buffer-default-specifiers):
17807 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17808 pop-up-window-min-width, and another reuse-window specifier
17809 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17810 (display-buffer-normalize-specifiers-2):
17811 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17812 pop-up-windows is unset. Add a reuse-window specifier for the
17813 case popping up a new window fails.
17814 (special-display-popup-frame): Remove double quoting.
28dec25a 17815 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17816
1c6d8c76
SM
178172011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17818
17819 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17820 according to comint-completion-addsuffix.
17821
17822 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17823 (pcomplete-suffix-list): Mark as obsolete.
17824 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17825 pcomplete-seen in the closure.
17826 (pcomplete-comint-setup): Setup completion-at-point as well.
17827 (pcomplete--entries): New function.
17828 (pcomplete--env-regexp): New var.
17829 (pcomplete-entries): Rewrite to work with partial-completion and
17830 without relying on pcomplete-suffix-list.
17831 (pcomplete-pare-list): Remove, unused.
17832
25aef8b8
MR
178332011-06-17 Martin Rudalics <rudalics@gmx.at>
17834
17835 * window.el (display-buffer-alist): Set pop-up-window-min-height
17836 and pop-up-window-min-width in default value. Reported by
17837 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17838 other-window-means-other-frame.
17839 (display-buffer-macro-specifiers): Comment out entry for
17840 other-window specifier.
17841 (display-buffer-other-window-means-other-frame): New function.
17842 (display-buffer-normalize-specifiers-1): New arguments
17843 buffer-name and label. Treat other-window case specially.
17844 (display-buffer-normalize-specifiers-2): Treat other-window case
17845 specially.
17846 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17847 (display-buffer-normalize-specifiers):
17848 Call display-buffer-normalize-specifiers-3.
25aef8b8 17849
dbad4f69
MR
178502011-06-17 Martin Rudalics <rudalics@gmx.at>
17851
17852 * window.el (same-window-p): Fix two typos introduced when
17853 adding with-no-warnings.
d1067961
MR
17854 (display-buffer-normalize-specifiers-1): Don't check
17855 pop-up-frames for 'unset initialization.
17856 (display-buffer-normalize-specifiers-2): Major rewrite using
17857 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17858 (pop-up-frames, display-buffer-reuse-frames)
17859 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17860 Suggested by David Engster <deng@randomsample.de>.
17861 (even-window-heights): Initialize to 'unset.
17862 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17863 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17864 other window case.
dbad4f69 17865
9b9c9e3a
MR
178662011-06-16 Martin Rudalics <rudalics@gmx.at>
17867
bcd70d97
SM
17868 * window.el (display-buffer-normalize-specifiers-1):
17869 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17870 second argument of display-buffer (Bug#8865).
981d5c09
MR
17871 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17872 (switch-to-buffer-other-window-same-frame)
17873 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17874 Adams (Bug#8875).
9c2755e9
MR
17875 (display-buffer): Don't check noninteractive when calling
17876 display-buffer-pop-up-frame.
17877 (display-buffer-pop-up-frame): Never pop up a frame in
17878 noninteractive mode (Bug#8857).
67222e1d
MR
17879 (enlarge-window, shrink-window): Don't report an error when the
17880 window can't be resized as requested (Bug#8862).
9b9c9e3a 17881
2b75be67
SM
178822011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17883
9ffdd3ba
SM
17884 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17885
cb581a67
SM
17886 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17887
2b75be67
SM
17888 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17889
8c0e3589
AM
178902011-06-15 Alan Mackenzie <acm@muc.de>
17891
cb581a67
SM
17892 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17893 for declarators, disable knr checking to speed up for normal files.
17894 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17895
b96e6cde
LMI
178962011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17897
4bba86e6
LMI
17898 * net/network-stream.el (open-network-stream): Add the keyword
17899 :always-query-capabilities for the case where you want to force a
17900 `plain' network connection, but the protocol still requires the
17901 capabilitiy command (i.e., SMTP and EHLO).
17902
2b75be67 17903 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17904 consistency with other `-live-p' functions.
17905
efdcdbf8
SM
179062011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17907
17908 * window.el (same-window-buffer-names, same-window-regexps)
17909 (special-display-frame-alist, special-display-popup-frame)
17910 (special-display-function, special-display-buffer-names)
17911 (special-display-regexps, pop-up-frame-alist)
17912 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17913 (pop-up-windows, split-window-preferred-function)
17914 (split-height-threshold, split-width-threshold, even-window-heights)
17915 (display-buffer-mark-dedicated): Don't encourage the use of
17916 display-buffer-alist from Elisp code.
17917
c5cde042
DN
179182011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17919
17920 * progmodes/python.el (python-mode): Derive from prog-mode.
17921 * progmodes/ps-mode.el (ps-mode):
17922 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17923 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17924 * progmodes/ld-script.el (ld-script-mode): Likewise.
17925
baa1c9ab
MR
179262011-06-15 Martin Rudalics <rudalics@gmx.at>
17927
17928 * window.el (display-buffer-alist): Trim default value to avoid
17929 popping up a new frame (Bug#8857) or reusing an arbitrary window
17930 on another frame.
17931 (display-buffer): Do not fall back on popping up a new frame in
17932 batch mode (Bug#8857).
17933
c5dd5a51
CY
179342011-06-14 Chong Yidong <cyd@stupidchicken.com>
17935
17936 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17937 (custom-theme-summary): New function.
17938 (customize-themes): Use it.
17939
d647b7c4
GM
179402011-06-13 Glenn Morris <rgm@gnu.org>
17941
17942 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17943
9481c002
MR
179442011-06-13 Martin Rudalics <rudalics@gmx.at>
17945
357f93d2
MR
17946 * help.el (help-window): Remove variable.
17947 (help-window-point-marker, temp-buffer-max-height)
17948 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17949 (help-print-return-message): Don't set help-window.
17950 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17951 (help-window-setup-finish): Remove.
17952 (help-window-display-message, help-window-setup)
17953 (with-help-window): Major rewrite based on new
17954 display-buffer-window variable.
17955
17956 * help-mode.el (help-mode-finish): Remove help-window related
17957 code.
17958
17959 * view.el (view-exits-all-viewing-windows): Remove reference to
17960 view-return-to-alist in doc-string.
17961 (view-return-to-alist): Make obsolete.
17962 (view-buffer): Call pop-to-buffer-same-window and remove
17963 undo-window code.
17964 (view-buffer-other-window): Call pop-to-buffer-other-window and
17965 simplify code. Ignore second argument.
17966 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17967 simplify code. Ignore second argument.
17968 (view-return-to-alist-update): Make obsolete.
17969 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17970 Rewrite using quit-restore window parameters.
2b75be67
SM
17971 (view-mode-exit): Rename second argument to EXIT-ONLY.
17972 Rewrite using quit-restore-window.
357f93d2
MR
17973 (View-exit, View-exit-and-edit, View-leave, View-quit)
17974 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17975 appropriate arguments.
17976 (view-end-message): Use quit-restore window parameter.
17977
9481c002
MR
17978 * window.el (display-buffer-function): Rewrite doc-string.
17979 (display-buffer-window, display-buffer-alist): New variables.
17980 (display-buffer-split-specifiers)
17981 (display-buffer-side-specifiers)
17982 (display-buffer-macro-specifiers): New constants.
17983 (display-buffer-even-window-sizes, display-buffer-set-height)
17984 (display-buffer-set-width, display-buffer-select-window)
17985 (display-buffer-in-window, display-buffer-reuse-window)
17986 (display-buffer-split-window-1, display-buffer-split-window)
17987 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17988 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17989 (display-buffer-in-side-window, normalize-buffer-to-display)
17990 (display-buffer-normalize-specifiers-1)
17991 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17992 (display-buffer-normalize-specifiers, display-buffer-frame):
17993 New functions.
9481c002
MR
17994 (display-buffer): Major rewrite.
17995 (display-buffer-other-window, display-buffer-other-frame)
17996 (pop-to-buffer, switch-to-buffer-other-window)
17997 (switch-to-buffer-other-frame): Rewrite.
17998 (display-buffer-same-window, display-buffer-same-frame)
17999 (display-buffer-same-frame-other-window)
18000 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18001 (pop-to-buffer-other-window)
18002 (pop-to-buffer-same-frame-other-window)
18003 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18004 (switch-to-buffer-other-window-same-frame): New functions.
18005 (same-window-p, special-display-p): Rewrite disabling warnings.
18006 Make obsolete.
18007 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18008 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18009 Make obsolete
18010 (same-window-buffer-names, same-window-regexps)
18011 (special-display-frame-alist, special-display-popup-frame)
18012 (special-display-function, special-display-buffer-names)
18013 (special-display-regexps, pop-up-frame-alist)
18014 (pop-up-frame-function, split-window-preferred-function)
18015 (split-height-threshold, split-width-threshold)
18016 (even-window-heights): Make obsolete.
18017
9db51aca
GM
180182011-06-12 Glenn Morris <rgm@gnu.org>
18019
18020 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18021 Misc simplifications.
9db51aca 18022
39cffb44
MR
180232011-06-12 Martin Rudalics <rudalics@gmx.at>
18024
18025 * window.el (window-safely-shrinkable-p): Restore function which
18026 was inadvertently removed in change from 2011-06-11. Declare as
18027 obsolete.
18028
2b75be67
SM
18029 * calendar/calendar.el (calendar-generate-window):
18030 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18031 window-safely-shrinkable-p.
18032
a8955be7
GM
180332011-06-12 Glenn Morris <rgm@gnu.org>
18034
18035 * progmodes/fortran.el (fortran-mode-syntax-table):
18036 * progmodes/f90.el (f90-mode-syntax-table):
18037 Set % to punctuation. (Bug#8820)
18038 (f90-find-tag-default): Remove, no longer needed.
18039
f0d4059d
DC
180402011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18041
18042 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18043
1100a63c
CY
180442011-06-11 Chong Yidong <cyd@stupidchicken.com>
18045
18046 * image.el (image-animated-p): Return animation delay in seconds.
18047 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18048 (image-animate-timeout): Remove DELAY argument. Don't assume
18049 every subimage has the same delay; get it from image-animated-p.
18050 (image-animate): Caller changed.
18051
def722bf
MA
180522011-06-11 Michael Albinus <michael.albinus@gmx.de>
18053
18054 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18055 to ignored backtrace functions.
18056
0a2bb1a9
GM
180572011-06-11 Glenn Morris <rgm@gnu.org>
18058
18059 * calendar/appt.el (appt-disp-window-function): Doc fix.
18060 (appt-check): Handle overlapping appointments. (Bug#8337)
18061
6198ccd0
MR
180622011-06-11 Martin Rudalics <rudalics@gmx.at>
18063
18064 * window.el (window-tree-1, window-tree): New functions, moving
18065 the latter to window.el.
18066 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18067 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18068 (bw-refresh-edges): Remove.
18069 (balance-windows-1, balance-windows-2): New functions.
18070 (balance-windows): Rewrite in terms of window tree functions,
18071 balance-windows-1 and balance-windows-2.
18072 (bw-adjust-window): Remove.
18073 (balance-windows-area-adjust): New function with functionality of
18074 bw-adjust-window but using resize-window.
2b75be67
SM
18075 (set-window-text-height): Rewrite doc-string.
18076 Use normalize-live-window and resize-window.
18077 (enlarge-window-horizontally, shrink-window-horizontally):
18078 Rename argument to DELTA.
6198ccd0
MR
18079 (window-buffer-height): New function.
18080 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18081 Rewrite using new window resize routines.
2b75be67
SM
18082 (kill-buffer-and-window, mouse-autoselect-window-select):
18083 Use ignore-errors instead of condition-case.
6198ccd0
MR
18084 (quit-window): Call delete-frame instead of delete-windows-on
18085 for the only buffer on frame.
18086
9397e56f
MR
180872011-06-10 Martin Rudalics <rudalics@gmx.at>
18088
18089 * loadup.el (top-level): Load window before files for the sake
18090 of replace-buffer-in-windows.
18091
18092 * files.el (read-buffer-to-switch)
18093 (switch-to-buffer-other-window)
2b75be67
SM
18094 (switch-to-buffer-other-frame, display-buffer-other-frame):
18095 Move to window.el.
9397e56f
MR
18096
18097 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18098 (previous-buffer): Move to window.el.
18099
18100 * bindings.el (unbury-buffer): Move to window.el.
18101
18102 * window.el (delete-other-windows-vertically): Move after
18103 definition of delete-other-windows.
18104 (other-window, delete-windows-on, replace-buffer-in-windows):
18105 Move here from window.c.
18106 (record-window-buffer, unrecord-window-buffer)
18107 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18108 (switch-to-next-buffer): New functions.
18109 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18110 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18111 (previous-buffer): Move here from simple.el.
18112 Call switch-to-prev-buffer.
9397e56f
MR
18113 (bury-buffer): Move here from buffer.c. Switch to previous
18114 buffer when window cannot be deleted.
18115 (unbury-buffer): Move here from bindings.el.
18116 (ctl-x-map): Move binding for other-window from window.c to
18117 here.
18118 (read-buffer-to-switch, switch-to-buffer-other-window)
18119 (switch-to-buffer-other-frame): Move here from files.el.
18120 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18121 (switch-to-buffer): Move here from buffer.c.
18122 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18123
562dd5e9
MR
181242011-06-10 Martin Rudalics <rudalics@gmx.at>
18125
18126 * window.el (window-min-height, window-min-width): Move here
18127 from window.c. Add defcustoms and rewrite doc-strings.
18128 (resize-mini-window, resize-window): New functions.
18129 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18130 Move here from window.c.
18131 (maximize-window, minimize-window): New functions.
18132 (delete-window, delete-other-windows, split-window): Move here
18133 from window.c.
18134 (window-split-min-size): New function.
18135 (split-window-keep-point): Mention split-window-above-each-other
18136 instead of split-window-vertically.
2b75be67 18137 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18138 Rename split-window-vertically to split-window-above-each-other
18139 and provide defalias for old definition.
18140 (split-window-side-by-side, split-window-horizontally):
18141 Rename split-window-horizontally to split-window-side-by-side
18142 and provide defalias for the old definition.
562dd5e9
MR
18143 (ctl-x-map): Move bindings for delete-window,
18144 delete-other-windows and enlarge-window here from window.c.
18145 Replace bindings for split-window-vertically and
18146 split-window-horizontally by bindings for
18147 split-window-above-each-other and split-window-side-by-side.
18148
18149 * cus-start.el (all): Remove entries for window-min-height and
18150 window-min-width. Add entries for window-splits and
18151 window-nest.
18152
f0da764a
GM
181532011-06-09 Glenn Morris <rgm@gnu.org>
18154
80675c21
GM
18155 * calendar/appt.el (appt-mode-line): New function.
18156 (appt-check, appt-disp-window): Use it.
18157
f0da764a
GM
18158 * files.el (hack-one-local-variable-eval-safep):
18159 Allow minor-modes with explicit +/-1 arguments.
18160
59f623b7
TZ
181612011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18162
18163 * term/xterm.el (xterm): Add defgroup.
18164 (xterm-extra-capabilities): Add defcustom to supply known xterm
18165 capabilities, skip querying them, or query them (default).
18166 (terminal-init-xterm): Use it.
18167 (terminal-init-xterm-modify-other-keys): New function to set up
18168 modifyOtherKeys support to simplify `terminal-init-xterm'.
18169
9aab8e0d
MR
181702011-06-09 Martin Rudalics <rudalics@gmx.at>
18171
18172 * window.el (resize-window-reset, resize-window-reset-1)
18173 (resize-subwindows-skip-p, resize-subwindows-normal)
18174 (resize-subwindows, resize-other-windows, resize-this-window)
18175 (resize-root-window, resize-root-window-vertically)
18176 (window-deletable-p, window-or-subwindow-p)
18177 (frame-root-window-p): New functions.
18178
e8b08aee
GM
181792011-06-09 Glenn Morris <rgm@gnu.org>
18180
18181 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18182 (ange-ftp-get-files): Use it.
18183
254c37a5
AK
181842011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18185
18186 * mail/sendmail.el (mail-recover-1, mail-recover):
18187 * files.el (recover-file, recover-session):
18188 Handle dired-listing-switches not being just a single short option.
18189
35d7dbd3
GM
181902011-06-09 Glenn Morris <rgm@gnu.org>
18191
18192 * calendar/appt.el (appt-display-message, appt-disp-window):
18193 Handle lists of appointments.
18194
387522b2
MR
181952011-06-08 Martin Rudalics <rudalics@gmx.at>
18196
2b75be67
SM
18197 * window.el (one-window-p): Move down in code.
18198 Rewrite doc-string.
18199 (window-current-scroll-bars): Rewrite doc-string.
18200 Normalize live window argument.
387522b2
MR
18201 (walk-windows, get-window-with-predicate, count-windows):
18202 Rewrite doc-string. Use window-list-1.
18203 (window-in-direction-2, window-in-direction, get-mru-window):
18204 New functions.
18205
d8e4b68b 182062011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18207
18208 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18209 Doc fix (Bug#8713).
18210
182112011-06-08 Chong Yidong <cyd@stupidchicken.com>
18212
18213 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18214
182152011-06-08 Juanma Barranquero <lekktu@gmail.com>
18216
18217 * loadhist.el (unload-feature-special-hooks):
18218 Add `comint-output-filter-functions'.
18219
0de12c52
IK
182202011-06-08 Ivan Kanis <gnu@kanis.fr>
18221
18222 * calendar/appt.el (appt-check): Move some initializations into the let.
18223
f3d1777e
MR
182242011-06-08 Martin Rudalics <rudalics@gmx.at>
18225
18226 * window.el (window-height): Defalias to window-total-height.
18227 (window-width): Defalias to window-body-width.
18228
18af70d0
CY
182292011-06-07 Chong Yidong <cyd@stupidchicken.com>
18230
18231 * image-mode.el (image-toggle-animation): New command.
18232 (image-mode-map): Bind it to RET.
18233 (image-mode): Update message.
18234 (image-toggle-display-image): Avoid a spurious cache flush.
18235 (image-transform-rotation): Doc fix.
18236 (image-transform-properties): Return quickly in the normal case.
18237 (image-animate-loop): Rename from image-animate-max-time.
18238
2b75be67 18239 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18240 (create-animated-image): Remove unnecessary function.
18241 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18242 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18243 (image-animate-timer): Use car-safe.
18244 (image-animate-timeout): Rename argument.
18245
190b47e6
MR
182462011-06-07 Martin Rudalics <rudalics@gmx.at>
18247
18248 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18249 window.c. Rename first argument to ALL-FRAMES.
18250 Rephrase doc-strings.
18251 (get-buffer-window-list): Rewrite using window-list-1.
18252 Rephrase doc-string.
a1511caf
MR
18253 (window-safe-min-height, window-safe-min-width): New constants.
18254 (window-size-ignore, window-min-size, window-min-size-1)
18255 (window-sizable, window-sizable-p, window-size-fixed-1)
18256 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18257 (window-max-delta-1, window-max-delta, window-resizable)
18258 (window-resizable-p, window-total-height, window-total-width)
18259 (window-body-width): New functions.
18260 (window-full-height-p, window-full-width-p): Rewrite using
18261 window-total-size.
18262 (window-body-height): Rewrite using window-body-size.
190b47e6 18263
85cc1f11
MR
182642011-06-06 Martin Rudalics <rudalics@gmx.at>
18265
18266 * window.el (window-right, window-left, window-child)
18267 (window-child-count, window-last-child, window-any-p)
18268 (normalize-live-buffer, normalize-live-frame)
18269 (normalize-any-window, normalize-live-window)
18270 (window-iso-combination-p, window-iso-combined-p)
18271 (window-iso-combinations)
18272 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18273 (windows-with-parameter, window-with-parameter)
18274 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18275 (window-atom-check, window-side-check, window-check):
18276 New functions.
85cc1f11
MR
18277 (ignore-window-parameters, window-sides, window-sides-vertical)
18278 (window-sides-slots): New variables.
18279 (window-size-fixed): Move down in code. Minor doc-string fix.
18280
e7156492
AS
182812011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18282
18283 * comint.el (comint-dynamic-complete-as-filename)
18284 (comint-dynamic-complete-filename): Correctly call
18285 completion-in-region.
18286
7e821d0d
DD
182872011-06-05 Deniz Dogan <deniz@dogan.se>
18288
18289 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18290 in last change.
18291
ac09b8a1
DD
182922011-06-05 Deniz Dogan <deniz@dogan.se>
18293
18294 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18295 (rcirc): Use it to prompt for encryption.
18296
34699b85
RW
182972011-06-05 Roland Winkler <winkler@gnu.org>
18298
18299 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18300 (bibtex-search-entries): New command bound to C-c C-a.
18301 (bibtex-display-entries): New function.
18302
004dedd3
RW
183032011-06-05 Roland Winkler <winkler@gnu.org>
18304
18305 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18306 (bibtex-insert-kill): After yanking insert newline if necessary.
18307 (bibtex-initialize): Call bibtex-string-files-init only once.
18308 (bibtex-mode): Do not call easy-menu-add.
18309 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18310 (bibtex-yank): Set arg properly if nil.
18311
022fe7ce
RW
183122011-06-05 Roland Winkler <winkler@gnu.org>
18313
2b75be67
SM
18314 * textmodes/bibtex.el (bibtex-search-entry-globally):
18315 New variable.
022fe7ce
RW
18316 (bibtex-search-entry): Use it.
18317
b7c3692a
RW
183182011-06-05 Roland Winkler <winkler@gnu.org>
18319
18320 * textmodes/bibtex.el (bibtex-entry-format): New option
18321 sort-fields.
18322 (bibtex-format-entry, bibtex-reformat): Honor this option.
18323 (bibtex-parse-entry): Return fields in proper order.
18324
8eda563d
JB
183252011-06-05 Juanma Barranquero <lekktu@gmail.com>
18326
18327 * doc-view.el (doc-view-remove-if): Move computation of result out
18328 of `dolist' to silence misleading lexical-binding warning.
18329
7dbe3dbc
CY
183302011-06-04 Chong Yidong <cyd@stupidchicken.com>
18331
18332 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18333 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18334
0c33dd17
MA
183352011-06-04 Michael Albinus <michael.albinus@gmx.de>
18336
18337 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18338 "SunOS 5.10".
18339
f8f91c2b
MA
183402011-06-04 Michael Albinus <michael.albinus@gmx.de>
18341
18342 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18343 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18344 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18345 (tramp-parse-putty):
18346 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18347 (tramp-completion-function-alist-ssh)
18348 (tramp-completion-function-alist-telnet)
18349 (tramp-completion-function-alist-su)
18350 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18351 cookie.
18352
18353 * net/tramp-ftp.el:
18354 * net/tramp-sh.el:
18355 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18356 load "tramp.el" `tramp-set-completion-function'.
18357
e17d9003
SM
183582011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18359
18360 * shell.el: Require and use pcomplete.
18361 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18362 (shell-completion-vars): Set pcomplete-default-completion-function.
18363
6c4cab03
DD
183642011-06-04 Deniz Dogan <deniz@dogan.se>
18365
18366 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18367 `memq' (Bug#8799).
18368
ea9fafe0
SM
183692011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18370
18371 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18372
b3e945d3
JB
183732011-06-02 Juanma Barranquero <lekktu@gmail.com>
18374
18375 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18376 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18377 * vc/log-view.el (log-view-beginning-of-defun):
18378 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18379 (smerge-refine-forward, smerge-refine-chopup-region):
18380 Silence warning for unused `dotimes' counter variables.
18381
7d520089
SM
183822011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18383
18384 * net/tramp.el (tramp-with-progress-reporter): Rename from
18385 with-progress-reporter. Use `declare'.
18386 * net/tramp-smb.el:
18387 * net/tramp-sh.el:
18388 * net/tramp-gvfs.el: Update all uses.
18389
a1c2400f
JB
183902011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18391
18392 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18393 buffer isn't killed before making it current.
18394
2403c841
SM
183952011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18396
18397 Silence various byte-compiler warnings.
18398 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18399 `access-type' and new obsolescence format.
18400 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18401 new format.
18402 (byte-compile-check-variable): New `access-type' argument.
18403 Only warn if the access-type is obsolete.
18404 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18405 (byte-compile-variable-set): Adjust callers.
18406 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18407 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18408 setting it as obsolete.
18409 * simple.el (minibuffer-completing-symbol):
18410 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18411 access as obsolete.
18412 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18413 obsolete yet.
18414 * international/quail.el (quail-mouse-choose-completion): Remove unused
18415 code referring to obsolete var.
18416 (quail-choose-completion-string): Remove.
18417 * server.el (server-clients-with, server-kill-buffer-query-function)
18418 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18419 * proced.el (proced-send-signal):
18420 * emacs-lisp/lisp.el (lisp-complete-symbol):
18421 Replace completion-annotate-function with completion-extra-properties.
18422
2462470b
SM
184232011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18424
fb5b2591
SM
18425 * simple.el (goto-line): Use read-number.
18426 (overriding-map-is-bound): Remove.
18427 (saved-overriding-map): Change default.
18428 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18429 Take the map as argument.
18430 (universal-argument, negative-argument, digit-argument): Use it.
18431 (restore-overriding-map): Adjust.
18432 (do-auto-fill): Use fill-forward-paragraph.
18433 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18434
fd6fa53f
SM
18435 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18436 (minibuffer-inactive-mode): New major mode.
18437 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18438 the *Messages* buffer" hack.
18439 (mouse-popup-menubar): Don't burp if the event is a normal key.
18440
2462470b
SM
18441 Miscellaneous tweaks.
18442 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18443 lexical scoping as in subr.el's dolist and dotimes.
18444 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18445 Silence compiler warning.
18446 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18447 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18448 * international/ccl.el (ccl-compile): Trivial simplification.
18449 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18450 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18451 `printflag' argument.
18452 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18453 Purecopy the whole obsolescence data.
18454
108bf785
LL
184552011-06-01 Leo Liu <sdl.web@gmail.com>
18456
18457 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18458 improve doc-string as suggested by Marco Pessotto
18459 <melmothx@gmail.com>.
18460 (rcirc-print): Fix last change.
18461
30a23501
SM
184622011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18463
18464 * minibuffer.el (complete-with-action): Return nil for the metadata and
18465 boundaries of non-functional tables.
18466 (completion-table-dynamic): Return nil for the metadata.
18467 (completion-table-with-terminator): Add default case, using
18468 complete-with-action.
18469 (completion--metadata): New function.
18470 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18471 to try and avoid pathological performance problems.
18472 (completion--embedded-envvar-table): Return `category' metadata.
18473
bcd54f83
LMI
184742011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18475
18476 * subr.el (process-alive-p): New tiny convenience function.
18477
e227544d
SM
184782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18479
18480 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18481 content but also its previous major mode.
18482
e8296fdc
HE
184832011-05-31 Helmut Eller <eller.helmut@gmail.com>
18484
4d61f28d 18485 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18486 *Backtrace* buffer when we exit with C-M-c.
18487
620c53a6
SM
184882011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18489
18490 * minibuffer.el: Add metadata method to completion tables.
18491 (completion-category-overrides): New defcustom.
18492 (completion-metadata, completion--field-metadata)
18493 (completion-metadata-get, completion--styles)
18494 (completion--cycle-threshold): New functions.
18495 (completion-try-completion, completion-all-completions):
18496 Add `metadata' argument to choose completion-styles.
18497 (completion--do-completion): Use metadata to choose cycling.
18498 (completion-all-sorted-completions): Use metadata for sorting.
18499 Remove :completion-cycle-penalty which is not needed any more.
18500 (completion--try-word-completion): Add `metadata' argument.
18501 (minibuffer-completion-help): Check metadata for annotation function
18502 and sorting.
18503 (completion-file-name-table): Return `category' metadata.
18504 (minibuffer-completing-file-name): Make obsolete.
18505 * simple.el (minibuffer-completing-symbol): Make obsolete.
18506 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18507 completion-try-completion.
18508
1257e755
SM
185092011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18510
18511 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18512
3767e706
LL
185132011-05-30 Leo Liu <sdl.web@gmail.com>
18514
18515 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18516 (rcirc-print): Decode all incoming messages (bug#8744).
18517 (rcirc-decode-coding-system): Allow value nil for automatic coding
18518 system detection.
3767e706 18519
d1a5d56a
GM
185202011-06-01 Glenn Morris <rgm@gnu.org>
18521
18522 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18523
e8cbec34
CY
185242011-05-29 Chong Yidong <cyd@stupidchicken.com>
18525
18526 * image.el (image-animate-max-time): Allow nil and t values.
18527 Default to nil.
18528 (create-animated-image): Doc fix.
18529 (image-animate-start): Remove second arg; just use
18530 image-animate-max-time.
18531 (image-animate-timeout): Doc fix. Args changed.
18532
18533 * image-mode.el (image-toggle-display-image): Ensure that the
18534 image spec passed to the animate timer is the same object as in
58179cce 18535 the buffer's display property (Bug#6981).
e8cbec34
CY
18536 (image-transform-properties): Doc fix.
18537
18538 * image.el (image-animate-max-time): Default to nil.
18539
159daf87
MR
185402011-05-29 Martin Rudalics <rudalics@gmx.at>
18541
18542 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18543 entire buffer list (Bug#8184).
18544
d66c4c7c
CY
185452011-05-29 Chong Yidong <cyd@stupidchicken.com>
18546
18547 * image.el (imagemagick-types-inhibit)
18548 (imagemagick-register-types): Doc fix.
18549
80aec780
DD
185502011-05-29 Deniz Dogan <deniz@dogan.se>
18551
18552 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18553 default.
18554
1dd3c2d9
CY
185552011-05-29 Chong Yidong <cyd@stupidchicken.com>
18556
18557 * select.el: Don't perform clipboard-manager saving in hooks;
18558 leave the hooks empty.
18559
60e56523
LL
185602011-05-28 Leo Liu <sdl.web@gmail.com>
18561
18562 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18563 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18564 (occur-edit-mode): New major mode (Bug#8463).
18565 (occur-after-change-function): New function.
18566 (occur-engine): Give Occur tags a read-only property.
18567
2b1e1a22
KR
185682011-05-28 Kevin Ryde <user42@zip.com.au>
18569
18570 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18571
5d344e88
CY
185722011-05-28 Chong Yidong <cyd@stupidchicken.com>
18573
8e6ca83d
CY
18574 * bindings.el (help-echo): Make the initial non-indicator dash
18575 empty on graphical terminals (Bug#7295).
18576
5d344e88
CY
18577 * files.el (auto-mode-alist): Move config rule after the
18578 in-stripping one (Bug#8547).
18579
bfbbace7
CY
18580 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18581
fbeba6e2
CY
18582 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18583 setting (Bug#8740).
18584
60ed8c72
AA
185852011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18586
4ac619f0
AA
18587 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18588 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18589 (Bug#8539).
60ed8c72 18590
23db196e
CY
185912011-05-28 Chong Yidong <cyd@stupidchicken.com>
18592
18593 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18594
5012f24c
DK
185952011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18596
18597 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18598 (hs-hide-block-at-point, hs-find-block-beginning)
18599 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18600 (Bug#8279).
18601
6a639b16
GM
186022011-05-28 Glenn Morris <rgm@gnu.org>
18603
18604 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18605
d43eaf2c
CY
186062011-05-28 Chong Yidong <cyd@stupidchicken.com>
18607
5199bde1
CY
18608 * help-fns.el (describe-function-1): If the function is a derived
18609 major mode, print the parent mode.
18610
d43eaf2c
CY
18611 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18612 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18613
423428a8
SM
186142011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18615
0ff8e1ba 18616 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18617 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18618 * progmodes/etags.el (tags-completion-at-point-function):
18619 * info-look.el (info-lookup-completions-at-point): Mark as
18620 non-exclusive.
18621 (info-complete): Adjust accordingly.
18622
423428a8
SM
18623 * info-look.el: Convert to lexical-binding and completion-at-point.
18624 (info-lookup-completions-at-point): New function.
18625 (info-complete): Use it and completion-in-region.
18626
b74aa22b
DA
186272011-05-28 Drew Adams <drew.adams@oracle.com>
18628
18629 * isearch.el: Let M-e start with point at the first mismatched char.
18630 (isearch-fail-pos): New function.
18631 (isearch-edit-string): Use it.
18632
66e2e71d
DK
186332011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18634
18635 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18636
b1890b0f 186372011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18638
18639 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18640 traversal functions for avl-trees.
18641 (avl-tree--stack): New struct.
18642 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18643 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18644 (avl-tree--do-enter): Add optional `updatefun' arg.
18645 Change return value.
eb95d01d 18646 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18647 (avl-tree--do-delete): Add `test' and `nilflag' args.
18648 Change return value.
eb95d01d
TC
18649 (avl-tree-member): Add optional `nilflag'
18650 (avl-tree-member-p): New function.
18651 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18652 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18653 (avl-tree-stack-empty-p): New functions.
18654
3769ddcf
TC
18655 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18656 avl-tree--del-balance1 and make it work both ways.
18657 (avl-tree--del-balance2): Remove.
18658 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18659 make it work both ways.
18660 (avl-tree--enter-balance2): Remove.
18661 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18662 New macros.
18663 (avl-tree--mapc, avl-tree-map): Add direction argument.
18664
eb95d01d 186652011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18666
18667 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18668
a9f737ee
CY
186692011-05-27 Chong Yidong <cyd@stupidchicken.com>
18670
18671 * select.el: Support clipboard managers with built-in function
18672 x-clipboard-manager-save, via delete-frame-functions and
18673 kill-emacs-hook.
18674 (xselect-convert-to-targets): Add MULTIPLE target to list.
18675 (xselect-convert-to-save-targets): New function.
18676
c92a1e54
KH
186772011-05-27 Kenichi Handa <handa@m17n.org>
18678
18679 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18680 let-binding rfc2047-encode-encoded-words to nil.
18681
e145f188
GM
186822011-05-27 Glenn Morris <rgm@gnu.org>
18683
5ec8a862
GM
18684 * mail/emacsbug.el: Don't require url-util.
18685
4b29d9fb
GM
18686 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18687
e145f188
GM
18688 * files.el (set-auto-mode):
18689 Also respect mode: entries at the end of the file. (Bug#8586)
18690
7d15102b
GM
186912011-05-26 Glenn Morris <rgm@gnu.org>
18692
98f593b8
GM
18693 * files.el (hack-local-variables-prop-line, hack-local-variables):
18694 Downcase mode names, as seems to be traditional.
27b48e63 18695 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18696
7d15102b
GM
18697 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18698 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18699
51d5b4ec
JD
187002011-05-25 Julien Danjou <julien@danjou.info>
18701
18702 * textmodes/rst.el (rst-define-level-faces): Do not define face
18703 symbol if it is already defined.
18704
91513f63
VB
187052011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18706
18707 * play/5x5.el (5x5-new-game, 5x5-randomize):
18708 Reset 5x5-solver-output to nil when a new grid is cast.
18709 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18710 these debugging traces, as defmacro breaks the compiled code.
18711
4d90d6d0
DK
187122011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18713
18714 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18715
e1b90ef6
LL
187162011-05-24 Leo Liu <sdl.web@gmail.com>
18717
18718 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18719 (vc-bzr-sha1): Adapt.
18720
d8e4b68b 18721 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18722
18723 * bindings.el: Provide sha1 feature.
18724
db0406bb 187252011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18726
18727 * mail/sendmail.el: Require `rfc2047'.
18728 (mail-insert-from-field): Do not perform RFC2047 encoding.
18729 (mail-encode-header): New function.
18730 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18731 buffer to the return value of select-message-coding-system.
18732 Call mail-encode-header.
b8d747b9
KH
18733
18734 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18735
db0406bb 187362011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18737
4d90d6d0
DK
18738 * mail/supercite.el (sc-default-cite-frame):
18739 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18740
eb8a5e9b
GM
187412011-05-24 Glenn Morris <rgm@gnu.org>
18742
f8630703
GM
18743 * progmodes/python.el (brm-menu): Declare.
18744
8831bbed
GM
18745 * emulation/viper.el (viper-set-hooks): Declare.
18746
eb8a5e9b
GM
18747 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18748 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18749 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18750 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18751 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18752 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18753
a2a25d24
SM
187542011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18755
18756 Add an :exit-function for completion-at-point.
18757
18758 * minibuffer.el (completion--done): New fun.
18759 (completion--do-completion): Use it. New arg `expect-exact'.
18760 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18761 since completion--do-completion does it for us now.
18762 (minibuffer-force-complete): Use completion--done and
18763 completion--replace. Handle sole-completion case with more care.
18764 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18765 (completion-extra-properties): New var.
18766 (completion-annotate-function): Make obsolete.
18767 (minibuffer-completion-help): Adjust accordingly.
18768 Use completion-list-insert-choice-function.
18769 (completion-at-point, completion-help-at-point):
18770 Bind completion-extra-properties.
18771 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18772 * simple.el (completion-list-insert-choice-function): New var.
18773 (completion-setup-function): Preserve it.
18774 (choose-completion): Pay attention to it, shuffle the code a bit.
18775 (choose-completion-string): New arg `insert-function'.
18776
18777 * textmodes/bibtex.el: Convert to lexical binding.
18778 (bibtex-mode-map): Use completion-at-point.
18779 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18780 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18781 (bibtex-complete): Define as obsolete alias.
18782 (bibtex-complete-internal): Remove.
18783 (bibtex-format-entry): Remove unused sub-group in regexp.
18784 * shell.el (shell--command-completion-data)
18785 (shell-environment-variable-completion):
18786 * pcomplete.el (pcomplete-completions-at-point):
18787 * comint.el (comint--complete-file-name-data): Use :exit-function
18788 instead of completion-table-with-terminator so it also works for
18789 choose-completion.
18790
e44e373d
SM
187912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18792
4f91a816
SM
18793 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18794
782fc819
SM
18795 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18796 (bug#8710).
18797
e44e373d
SM
18798 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18799
381987c3
KM
188002011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18801
18802 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18803 customization variable and implement: If non-nil, auto-fill will
18804 be inhibited while on topic's header line.
18805
b776bc70
VB
188062011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18807
18808 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18809 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18810 always have a solution in grid size = 5 cases.
18811 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18812 (5x5-solver-output, 5x5-log-buffer): New vars.
18813 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18814 Make these variables buffer local to achieve 5x5 multi-session-ness.
18815 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18816 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18817 (5x5-solve-suggest): New funs.
18818 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18819 randomize a grid so that we ensure that there is always a solution.
18820 (5x5-make-random-grid): Allow other movement than flipping.
18821
7de88b6e
KR
188222011-05-23 Kevin Ryde <user42@zip.com.au>
18823
18824 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18825 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18826 advice and passes PREDICATE.
18827
b1ef1257
SM
188282011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18829
bbca48fe
SM
18830 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18831 byte-compile-lambda if it's actually a lambda.
18832
b1ef1257
SM
18833 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18834 Fix function quoting. Use backquote better.
18835
92a9cc65
YS
188362011-05-22 Yuanle Song <sylecn@gmail.com>
18837
18838 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18839 matching (Bug#8516).
18840
fe93f41a 188412011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
18842
18843 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18844 different face (Bug#8178).
18845
d5b44c93
CY
188462011-05-22 Chong Yidong <cyd@stupidchicken.com>
18847
18848 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18849 defface (Bug#8144).
18850
79106a44
SM
188512011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18852
9c848d8a
SM
18853 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18854 funcall as well (bug#8712). Warn when performing those conversions.
18855 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18856
79106a44
SM
18857 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18858
88dfa756
GM
188592011-05-22 Glenn Morris <rgm@gnu.org>
18860
18861 * files.el (hack-local-variables-prop-line): Small simplifications.
18862 (hack-local-variables, hack-local-variables-prop-line):
18863 If MODE-ONLY, return the mode, rather than just `t'.
18864
b7cf2c79
SM
188652011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18866
18867 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18868
3f1a8558
GM
188692011-05-21 Glenn Morris <rgm@gnu.org>
18870
7e4ccca3
GM
18871 * files.el (hack-local-variables-prop-line, hack-local-variables):
18872 If only interested in the mode, don't bother doing the other stuff.
18873
637d46ca
GM
18874 * image-mode.el (image-after-revert-hook):
18875 Redraw all frames on which the image is visible. (Bug#8567)
18876
973d955b
GM
18877 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18878
3f1a8558
GM
18879 * wid-edit.el (widget-checklist-match-inline):
18880 Fix 2011-04-19 change. (Bug#8649)
18881
96479927
SM
188822011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18883
1dcf791f
SM
18884 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18885 Also allow singlespace after single-letter capitals followed by a dot.
18886
96479927
SM
18887 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18888 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18889
35fd0881
N
188902011-05-20 Nix <nix@esperi.org.uk>
18891
18892 * files.el (basic-save-buffer-2):
18893 Fix handling of break-hardlink-on-save with non-existent files.
18894
82745640
DD
188952011-05-19 Deniz Dogan <deniz@dogan.se>
18896
18897 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18898 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18899
4a720484
GM
189002011-05-19 Glenn Morris <rgm@gnu.org>
18901
d1f21341
GM
18902 * progmodes/f90.el (f90-type-def-re):
18903 Handle "type, bind(c)". (Bug#8691)
18904
4a720484
GM
18905 * emacs-lisp/autoload.el (batch-update-autoloads):
18906 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18907
2fb0a219
MA
189082011-05-18 Michael Albinus <michael.albinus@gmx.de>
18909
18910 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18911 property for the correct connection in case of multihops.
18912
e565dd37
GM
189132011-05-18 Glenn Morris <rgm@gnu.org>
18914
c2571358 18915 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18916 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18917
e565dd37
GM
18918 Rationalize calendar handling of day and month abbrev-arrays.
18919 * calendar/calendar.el (calendar-customized-p): New function.
18920 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18921 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18922 Add :set function.
18923 (calendar-abbrev-length, calendar-day-abbrev-array)
18924 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18925 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18926 Elements may no longer be nil.
18927 (calendar-day-name, calendar-month-name):
18928 Update for changed nature of abbrev arrays.
18929 * calendar/diary-lib.el (diary-name-pattern):
18930 Update for changed nature of abbrev arrays.
18931 (diary-mark-entries-1): Update calendar-make-alist calls.
18932 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18933 * calendar/cal-html.el (cal-html-day-abbrev-array):
18934 Simply inherit from calendar-day-abbrev-array.
18935
1d99a745
SM
189362011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18937
18938 * progmodes/grep.el (grep-mode): Disable default
18939 compilation-directory-matcher setting (bug#8684).
18940
7c1d9aa0
MA
189412011-05-17 Michael Albinus <michael.albinus@gmx.de>
18942
18943 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18944 instead of "head" and "tail". There were problems with SunOS 5.9,
18945 and it performs better.
18946
3952e9d8
GM
189472011-05-17 Glenn Morris <rgm@gnu.org>
18948
2dd12e7f
GM
18949 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18950
e4157b9c
GM
18951 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18952 Replace obsolete function.
18953
8e249bbd
GM
18954 * shell.el (pcomplete-parse-arguments-function): Declare.
18955
3952e9d8
GM
18956 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18957 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18958 (appt-check): Doc fixes.
18959 (appt-disp-window-function, appt-delete-window-function):
18960 Remove needless special case in custom :type.
18961 (appt-display-count): Default to 0, not nil.
18962 (appt-check): Reset appt-display-count to 0, not nil.
18963
c71a0d48 189642011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18965
c71a0d48
GM
18966 * progmodes/python.el (python-font-lock-keywords):
18967 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18968
31d55be9
SM
189692011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18970
18971 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18972
3bfacb2f
KR
189732011-05-16 Kevin Ryde <user42@zip.com.au>
18974
18975 * info-look.el (makefile-automake-mode): New setups, looking in
18976 automake manual, then makefile-mode.
18977 (makefile-mode): Remove automake manual, have it just in
18978 makefile-automake-mode since there's various things different or
18979 not relevant to plain make.
18980 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18981 believe a hypothetical automake-mode would go to makefile-mode,
18982 not the other way around.
18983
c8e83751
CY
189842011-05-15 Chong Yidong <cyd@stupidchicken.com>
18985
5e9e35cd
CY
18986 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18987 hunk-end tags (Bug#8672).
18988
c8e83751
CY
18989 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18990 vc-annotate-show-diff-revision-at-line (Bug#8671).
18991
50b23e5a
GM
189922011-05-14 Glenn Morris <rgm@gnu.org>
18993
7210a739
GM
18994 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18995 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18996 (change-log-font-lock-keywords): Also handle multiple author lines
18997 with leading tabs. (Bug#8644)
7210a739 18998
4691905a
GM
18999 * calendar/appt.el (appt-check): Rename some local variables.
19000 Some simplification/reordering.
19001
50b23e5a
GM
19002 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19003 (feedmail-sendmail-f-doesnt-sell-me-out)
19004 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19005 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19006 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19007 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19008 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19009 (feedmail-binmail-gnulinuxish-template):
19010 Rename from feedmail-binmail-linuxish-template.
19011 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19012 Use insert-buffer-substring.
19013
215cda7c
BC
190142011-05-14 Bill Carpenter <bill@carpenter.org>
19015
19016 * mail/feedmail.el (feedmail-patch-level): Increase.
19017 (feedmail-debug): New custom group.
19018 (feedmail-confirm-outgoing-timeout)
19019 (feedmail-sendmail-f-doesnt-sell-me-out)
19020 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19021 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19022 (feedmail-sender-line, feedmail-from-line)
19023 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19024 (feedmail-spray-this-address)
215cda7c
BC
19025 (feedmail-spray-address-fiddle-plex-list)
19026 (feedmail-queue-use-send-time-for-date)
19027 (feedmail-queue-use-send-time-for-message-id)
19028 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19029 (feedmail-buffer-eating-function):
19030 Doc fixes.
19031 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19032 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19033 (feedmail-message-action-scroll-down): New functions.
19034 (feedmail-queue-directory, feedmail-queue-draft-directory):
19035 Use expand-file-name.
19036 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19037 Remove C-v help entry.
19038 (feedmail-queue-buffer-file-name): New variable.
19039 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19040 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19041 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19042 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19043 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19044 (feedmail-message-action-toggle-spray)
19045 (feedmail-run-the-queue-no-prompts)
19046 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19047 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19048 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19049 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19050 (feedmail-envelope-deducer, feedmail-fiddle-from)
19051 (feedmail-fiddle-sender, feedmail-default-date-generator)
19052 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19053 (feedmail-fiddle-spray-address)
19054 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19055 (feedmail-fiddle-list-of-fiddle-plexes)
19056 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19057 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19058 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19059 Change default. Doc fix.
19060 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19061 (feedmail-binmail-linuxish-template): New constant.
19062 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19063 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19064 (feedmail-send-it): Add debug call.
19065 Use feedmail-queue-buffer-file-name, and
19066 feedmail-send-it-immediately-wrapper.
19067 (feedmail-message-action-send): Add debug call.
19068 Use feedmail-send-it-immediately-wrapper.
19069 (feedmail-queue-express-to-queue): Add debug call.
19070 Run feedmail-queue-express-hook.
19071 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19072 (feedmail-message-action-help-blat):
19073 Rename from feedmail-queue-send-edit-prompt-help-first.
19074 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19075 Check line-endings. Handle errors better.
19076 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19077 Doc fix. Add debug call.
19078 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19079 Use feedmail-queue-send-edit-prompt-inner.
19080 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19081 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19082 from feedmail-queue-send-edit-prompt.
19083 (feedmail-queue-send-edit-prompt-help)
19084 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19085 (feedmail-tidy-up-slug): Add debug call.
19086 Respect feedmail-queue-slug-suspect-regexp.
19087 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19088 (feedmail-dump-message-to-queue): Add debug call.
19089 Expand queue-directory.
19090 (feedmail-dump-message-to-queue): Change message slightly.
19091 Use feedmail-say-chatter.
19092 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19093 (feedmail-send-it-immediately-wrapper): New function.
19094 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19095 Insert empty string rather than newline. Handle full-frame case.
19096 Use catch/throw. Use feedmail-say-chatter.
19097 (feedmail-fiddle-from): Try mail-host-address.
19098 (feedmail-default-message-id-generator): Doc fix.
19099 Bind system-time-locale. Handle missing end.
19100 (feedmail-fiddle-x-mailer): Add debug call.
19101 Handle feedmail-x-mailer-line being nil.
19102 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19103 Add debug call. Use buffer-substring-no-properties.
19104 (feedmail-say-debug, feedmail-say-chatter): New functions.
19105 (feedmail-find-eoh): Give an explicit error.
19106
42c7e61e
UJ
191072011-05-13 Ulf Jasper <ulf.jasper@web.de>
19108
c2571358 19109 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19110 family from helvetica to sans.
c2571358 19111 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19112 etc/images/newsticker.
19113
c2571358 19114 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19115 family from helvetica to sans.
19116
19117 * net/newst-plainview.el (newsticker-new-item-face)
19118 (newsticker-old-item-face, newsticker-immortal-item-face)
19119 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19120 (newsticker-statistics-face): Change default family from
42c7e61e 19121 helvetica to sans.
c2571358 19122 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19123 etc/images/newsticker.
19124
5d3385a0
JB
19125 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19126 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19127 auto-marking.
19128
8497a297
DV
191292011-05-13 Didier Verna <didier@xemacs.org>
19130
19131 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19132 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19133 TODO entries.
8497a297
DV
19134 (lisp-lambda-list-keyword-parameter-indentation)
19135 (lisp-lambda-list-keyword-parameter-alignment)
19136 (lisp-lambda-list-keyword-alignment): New customizable user options.
19137 (lisp-indent-defun-method): Improve docstring.
19138 (extended-loop-p): Fix comment.
19139 (lisp-indent-lambda-list-keywords-regexp): New variable.
19140 (lisp-indent-lambda-list): New function.
19141 (lisp-indent-259): Use it.
19142 (lisp-indent-defmethod): Support for more than one
19143 method qualifier and properly indent methods lambda-lists.
19144 (defgeneric): Provide a missing common-lisp-indent-function property.
19145
f278f87f
SM
191462011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19147
19148 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19149 bounds for the empty string (bug#8667).
19150
5233edd7
GM
191512011-05-13 Glenn Morris <rgm@gnu.org>
19152
5237a44f
GM
19153 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19154
8340026c 19155 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19156 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19157
5233edd7 19158 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19159 (appt-time-msg-list): Doc fix.
a5464014 19160 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19161
92d10796
AS
191622011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19163
19164 * progmodes/ld-script.el (ld-script-keywords)
19165 (ld-script-builtins): Update keywords list.
19166
914a0ae1
SM
191672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19168
c89be45f
SM
19169 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19170
914a0ae1
SM
19171 * shell.el (shell-completion-vars): New function.
19172 (shell-mode):
19173 * simple.el (read-shell-command): Use it.
19174 (blink-matching-open): No need for " [...]" in minibuffer-message.
19175
98dc3df3
GM
191762011-05-12 Glenn Morris <rgm@gnu.org>
19177
19178 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19179 (appt-check): Simplify.
19180
d2fc7e3d 191812011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19182
4d61f28d 19183 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19184 literal "/dev/null".
19185
d2fc7e3d 191862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19187
19188 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19189 Fix typo.
19190
d2fc7e3d 191912011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19192
3f254caa
SM
19193 * progmodes/which-func.el (which-function):
19194 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19195 which might not be defined (Bug#8260).
19196
d45885f7
GM
191972011-05-12 Glenn Morris <rgm@gnu.org>
19198
19199 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19200 Let byte-compile-initial-macro-environment always take precedence.
19201
488086f4
SM
192022011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19203
19204 * net/rcirc.el: Add support for SSL/TLS connections.
19205 (rcirc-server-alist): New field `encryption'.
19206 (rcirc): Check `encryption' settings.
19207 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19208 Merge make-local-variable into `set'.
19209 (rcirc--connection-open-p): New function.
19210 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19211 the process is not a network process (e.g. running gnutls-cli).
19212 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19213 Make rcirc-(en|de)code-coding-system local here.
19214 (rcirc-mode): Merge make-local-variable into `set'.
19215 (rcirc-parent-buffer): Make permanent buffer-local.
19216 (rcirc-multiline-minor-mode): Don't do it here.
19217 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19218 there's no server buffer.
19219
7d3b9d44
GM
192202011-05-11 Glenn Morris <rgm@gnu.org>
19221
f64049c6
GM
19222 * newcomment.el (comment-kill): Prefix "unused" local.
19223
93c9df73
GM
19224 * term/w32console.el (get-screen-color): Declare.
19225
7d3b9d44
GM
19226 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19227 Handle symbol elements of byte-compile-initial-macro-environment.
19228
9e2dd53f
LL
192292011-05-10 Leo Liu <sdl.web@gmail.com>
19230
488086f4
SM
19231 * bookmark.el (bookmark-bmenu-mode-map):
19232 Bind bookmark-bmenu-search to `/'.
8b340240 19233
9e2dd53f 19234 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19235 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19236 (Footnote-unicode): New function.
19237 (footnote-style-alist): Add unicode style to the list.
19238 (footnote-style): Doc fix.
9e2dd53f 19239
79b70037
GM
192402011-05-10 Jim Meyering <meyering@redhat.com>
19241
19242 Fix doubled-word typos.
19243 * international/quail.el (quail-insert-kbd-layout): and and -> and
19244 * kermit.el: and and -> and
19245 * net/ldap.el (ldap-search-internal): to to -> to
19246 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19247 * progmodes/js.el (js-mode): and and -> and
19248 * textmodes/artist.el (artist-move-to-xy): at at -> at
19249 (artist-draw-region-trim-line-endings): if if -> if
19250 And Safetyc -> Safety.
19251 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19252
b8f82dc1 192532011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19254 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19255
19256 * files.el (hack-one-local-variable-eval-safep):
19257 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19258
4f99f44b
GM
192592011-05-10 Glenn Morris <rgm@gnu.org>
19260
19261 * calendar/diary-lib.el (diary-list-entries-hook)
19262 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19263 (diary-nongregorian-marking-hook, diary-list-entries)
19264 (diary-include-other-diary-files, diary-mark-entries)
19265 (diary-mark-included-diary-files): Doc fixes.
19266
84f29e6b
JB
192672011-05-09 Juanma Barranquero <lekktu@gmail.com>
19268
19269 * misc.el: Require tabulated-list.el during compilation.
19270
9bedd73a
CY
192712011-05-09 Chong Yidong <cyd@stupidchicken.com>
19272
488086f4
SM
19273 * progmodes/compile.el (compilation-start):
19274 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19275 (compilation-filter-hook): Doc fix.
19276
797c735c
DD
192772011-05-09 Deniz Dogan <deniz@dogan.se>
19278
19279 * wdired.el: Remove outdated installation comment. Fix usage
19280 comment.
19281
5f4b1dfe
JB
192822011-05-09 Juanma Barranquero <lekktu@gmail.com>
19283
19284 * misc.el: Implement new command `list-dynamic-libraries'.
19285 (list-dynamic-libraries--loaded-only-p): New variable.
19286 (list-dynamic-libraries--refresh): New function.
19287 (list-dynamic-libraries): New command.
19288
4c44026c
CY
192892011-05-09 Chong Yidong <cyd@stupidchicken.com>
19290
488086f4
SM
19291 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19292 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19293 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19294 higher priority to avoid clobbering by gnu.
19295
027f966d
CY
192962011-05-08 Chong Yidong <cyd@stupidchicken.com>
19297
19298 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19299 if the face has existing theme settings (Bug#8454).
19300
085f5d7d
CY
193012011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19302
488086f4
SM
19303 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19304 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19305
2a86a00c
RS
19306 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19307 special file names `.' and `..' (Bug#8259).
19308
d9c54a06
CY
193092011-05-08 Chong Yidong <cyd@stupidchicken.com>
19310
488086f4
SM
19311 * progmodes/grep.el (grep-mode-font-lock-keywords):
19312 Remove buffer-changing entries.
d9c54a06
CY
19313 (grep-filter): New function.
19314 (grep-mode): Add it to compilation-filter-hook.
19315
19316 * progmodes/compile.el (compilation-filter-hook)
19317 (compilation-filter-start): New defvars.
19318 (compilation-filter): Call compilation-filter-hook prior to
19319 updating the process mark.
19320
c4662635
SM
193212011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19322
19323 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19324
b0512a1d
EZ
193252011-05-07 Eli Zaretskii <eliz@gnu.org>
19326
605c9376
EZ
19327 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19328 mailclient-send-it even if window-system is nil. (Bug#8595)
19329
c4662635
SM
19330 * term/w32console.el (terminal-init-w32console):
19331 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19332 background-mode. (Bug#8597)
19333
d1dc2cc2
SM
193342011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19335
19336 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19337 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19338 New functions.
19339 (defgeneric, eieio--defmethod): Use them.
19340 (eieio-defgeneric): Remove.
19341 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19342
915d1300
GM
193432011-05-07 Glenn Morris <rgm@gnu.org>
19344
a3961c3e
GM
19345 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19346 Use let rather than let*.
19347 (timeclock-find-discrep): Remove unused local.
19348
314347b9
GM
19349 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19350
915d1300
GM
19351 * calendar/appt.el (appt-time-msg-list): Doc fix.
19352
275b59b0
NF
193532011-05-06 Noah Friedman <friedman@splode.com>
19354
19355 * apropos.el (apropos-print-doc): Only use
19356 emacs-lisp-docstring-fill-column when it is bound to an integer,
19357 per that variable's documentation.
19358
6c19f744
SM
193592011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19360
19361 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19362 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19363
60f884b2
GM
193642011-05-06 Glenn Morris <rgm@gnu.org>
19365
5006e634
GM
19366 * calendar/appt.el (appt-message-warning-time): Doc fix.
19367 (appt-warning-time-regexp): New option.
19368 (appt-make-list): Respect appt-message-warning-time.
19369
548d0a63
GM
19370 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19371 New options.
19372 (diary-add-to-list): Strip comments from the displayed string.
19373 (diary-mode): Set comment-start and comment-end.
19374
60f884b2
GM
19375 * vc/diff-mode.el (smerge-refine-subst): Declare.
19376 (diff-refine-hunk): Don't require smerge-mode when compiling.
19377
989681bb
JB
193782011-05-06 Juanma Barranquero <lekktu@gmail.com>
19379
19380 * simple.el (list-processes): Return nil as the docstring says.
19381
a6bc05e1
MA
193822011-05-05 Michael Albinus <michael.albinus@gmx.de>
19383
19384 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19385 to "".
19386 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19387 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19388 determining of binary transfer. (Bug#7383)
19389
23c22e9a
MA
193902011-05-05 Michael Albinus <michael.albinus@gmx.de>
19391
c4662635
SM
19392 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19393 Fix port computation bug. (Bug#8618)
23c22e9a 19394
0bff894f
GM
193952011-05-05 Glenn Morris <rgm@gnu.org>
19396
b8296902
GM
19397 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19398
1f522ce8
GM
19399 * simple.el (shell-dynamic-complete-functions)
19400 (comint-dynamic-complete-functions): Declare.
19401
cf5bee67
GM
19402 * net/network-stream.el (gnutls-negotiate):
19403 * simple.el (tabulated-list-print): Fix declarations.
19404
19405 * progmodes/gud.el (syntax-symbol, syntax-point):
19406 Remove unnecessary and incorrect declarations.
19407
0bff894f 19408 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19409 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19410
9869b3ae
SM
194112011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19412
19413 Fix earlier half-done eieio-defmethod change (bug#8338).
19414 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19415 Streamline and change calling convention.
19416 (defmethod): Adjust accordingly and simplify.
19417 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19418 new eieio--defmethod.
19419 (slot-boundp): Minor CSE simplification.
19420
9c1d5ac5
MZ
194212011-05-05 Milan Zamazal <pdm@zamazal.org>
19422
19423 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19424 (glasses-make-readable): Use glasses-separate-capital-groups.
19425
455c834e
JB
194262011-05-05 Juanma Barranquero <lekktu@gmail.com>
19427
19428 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19429 (warning-series): Doc fix.
19430 (display-warning): Don't try to create the buffer if we just found it.
19431
9ed7c8cb
CY
194322011-05-04 Chong Yidong <cyd@stupidchicken.com>
19433
19434 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19435 (autoload-find-generated-file): New function.
19436 (generate-file-autoloads): Bind generated-autoload-file to
19437 buffer-file-name.
9869b3ae
SM
19438 (update-file-autoloads, update-directory-autoloads):
19439 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19440 output file (Bug#7989).
19441 (batch-update-autoloads): Doc fix.
19442
0898ca10
JB
194432011-05-04 Juanma Barranquero <lekktu@gmail.com>
19444
19445 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19446
31dfb76c
GM
194472011-05-04 Glenn Morris <rgm@gnu.org>
19448
f330b642
GM
19449 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19450 function, so it follows changes in calendar-date-style.
19451 (diary-fancy-date-matcher): New function.
19452 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19453 (diary-fancy-font-lock-fontify-region-function):
19454 Use diary-fancy-date-pattern as a function.
19455
31dfb76c
GM
19456 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19457 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19458
48e79d6a
TZ
194592011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19460
19461 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19462 instead of positional arguments. Allow :keylist and :crlfiles
19463 arguments.
19464 (open-gnutls-stream): Call it.
19465
19466 * net/network-stream.el (network-stream-open-starttls): Adjust to
19467 call `gnutls-negotiate' with :process and :hostname arguments.
19468
dd5a5ee0
SM
194692011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19470
ef80fc09
SM
19471 * minibuffer.el (completion--message): New function.
19472 (completion--do-completion, minibuffer-complete)
19473 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19474 (completion--do-completion): Don't ignore completion-auto-help when in
19475 icomplete-mode.
19476
dd5a5ee0
SM
19477 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19478 internal encoding (e.g. tibetan zero is not whitespace).
19479 (global-whitespace-mode): Prefer save-current-buffer.
19480 (whitespace-trailing-regexp): Remove useless save-match-data.
19481 (whitespace-empty-at-bob-regexp): Minor simplification.
19482
b7d22a83
CY
194832011-05-03 Chong Yidong <cyd@stupidchicken.com>
19484
19485 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19486
5192af46
AM
194872011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19488
19489 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19490 Use `concat' to create string for insertion.
5192af46 19491
5767d190
SM
194922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19493
19494 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19495 Avoid open-line which runs post-self-insert-hook.
19496 (bibtex-fill-entry): Remove unused `end' var.
19497
bf242939
AM
194982011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19499
5767d190
SM
19500 * textmodes/ispell.el (ispell-add-per-file-word-list):
19501 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19502
25666126
LL
195032011-05-03 Leo Liu <sdl.web@gmail.com>
19504
19505 * isearch.el (isearch-yank-pop): New command.
5767d190 19506 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19507 (isearch-forward): Mention it.
19508
52d3c2d0
SM
195092011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19510
1bcace58
SM
19511 * simple.el (minibuffer-complete-shell-command): Remove.
19512 (minibuffer-local-shell-command-map): Use completion-at-point.
19513 (read-shell-command): Setup completion vars here instead.
19514 (read-expression-map): Bind TAB to symbol completion.
19515
52d3c2d0
SM
19516 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19517 error directly rather via storing it into `results'.
19518
35813471
LL
195192011-05-02 Leo Liu <sdl.web@gmail.com>
19520
19521 * vc/diff.el: Fix description.
19522
e793a940
LMI
195232011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19524
19525 * server.el (server-eval-at): New function.
19526
8de66e05
LMI
195272011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19528
19529 * net/network-stream.el (open-network-stream): Take a :nowait
19530 parameter and pass it on to `make-network-process'.
19531 (network-stream-open-plain): Ditto.
19532
dcb79f20
AS
195332011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19534
19535 * faces.el (face-spec-set-match-display): Don't match toolkit
19536 options on terminal frames.
19537
14a7fbd8
SM
195382011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19539
7eabc1be
SM
19540 * progmodes/pascal.el: Use lexical binding.
19541 (pascal-mode-map): Remove author preferences.
19542
14a7fbd8
SM
19543 * pcomplete.el (pcomplete-std-complete): Don't abuse
19544 completion-at-point.
19545
50f84510
JB
195462011-04-28 Juanma Barranquero <lekktu@gmail.com>
19547
6e087a44
JB
19548 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19549 removing code that has been dead since 1991 or so.
19550
50f84510
JB
19551 * startup.el (command-line): When warning about "_emacs", use a
19552 delayed warning to allow the user to filter it out.
19553
0ba690bd
DD
195542011-04-28 Deniz Dogan <deniz@dogan.se>
19555
19556 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19557 user has not joined.
19558
08abfaad
SM
195592011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19560
19561 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19562 aren't any completions at point.
19563
638f053a
JB
195642011-04-28 Juanma Barranquero <lekktu@gmail.com>
19565
19566 * subr.el (display-delayed-warnings): New function.
19567 (delayed-warnings-hook): New variable.
19568
8fff8daa
SM
195692011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19570
08abfaad
SM
19571 * minibuffer.el (completion-at-point, completion-help-at-point):
19572 Don't presume that a given completion-at-point-function will always
19573 use the same calling convention.
19574
8fff8daa
SM
19575 * pcomplete.el (pcomplete-completions-at-point):
19576 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19577 pcomplete-seen is non-nil.
19578 (pcomplete-comint-setup): Also recognize the new comint/shell
19579 completion functions.
19580 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19581 pcomplete-seen is non-nil.
19582
841a1577 195832011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19584
841a1577 19585 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19586 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19587 the first character in the entry. This allows for code to add its
211ec907
UJ
19588 own uid to the entry.
19589 (icalendar--convert-float-to-ical): Add export of
19590 `diary-float'-entries save for those with the optional DAY
19591 argument.
19592
2a782793
DC
195932011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19594
19595 * subr.el (shell-quote-argument): Use alternate escaping strategy
19596 when we spot a variable reference in a string.
19597
0438ce91
DC
195982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19599
19600 * cus-start.el (all): Define customization for debug-on-event.
19601
841a1577 196022011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19603
19604 * subr.el (shell-quote-argument): Escape correctly under Windows.
19605
d090ed6c
SM
196062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19607
19608 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19609
bfd31217
MA
196102011-04-25 Michael Albinus <michael.albinus@gmx.de>
19611
d090ed6c
SM
19612 * net/tramp.el (tramp-process-actions): Add POS argument.
19613 Delete region between POS and (pos).
bfd31217 19614
d090ed6c
SM
19615 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19616 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19617 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19618
19619 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19620 position in `tramp-process-actions' call.
19621
19622 * net/trampver.el: Update release number.
19623
e92f3bd3
SM
196242011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19625
850256b5
SM
19626 * custom.el (defcustom): Obey lexical-binding.
19627
e92f3bd3
SM
19628 Fix octave-inf completion problems reported by Alexander Klimov.
19629 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19630 Inherit from octave-mode-syntax-table.
19631 (inferior-octave-mode): Set info-lookup-mode.
19632 (inferior-octave-completion-at-point): New function.
19633 (inferior-octave-complete): Use it and completion-in-region.
19634 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19635 comint-filename-completion.
19636 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19637 symbol elements which shouldn't be word elements.
19638 (octave-font-lock-keywords, octave-beginning-of-defun)
19639 (octave-function-header-regexp): Adjust regexps accordingly.
19640 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19641
cd22b309
JB
196422011-04-25 Juanma Barranquero <lekktu@gmail.com>
19643
19644 * net/gnutls.el (gnutls-errorp): Declare before first use.
19645
8b492194
TZ
196462011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19647
19648 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19649 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19650 default trustfile exists before going to use it. Add missing
5a5fa834 19651 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19652 Reported by Claudio Bley <claudio.bley@gmail.com>.
19653 (open-gnutls-stream): Add usage example.
19654
19655 * net/network-stream.el (network-stream-open-starttls): Give host
19656 parameter to `gnutls-negotiate'.
19657 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19658 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19659
841a1577 196602011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19661
cd22b309
JB
19662 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19663 Use correct match group (bug#8438).
05842630 19664
3ba7869c
CY
196652011-04-24 Chong Yidong <cyd@stupidchicken.com>
19666
512e3ae1
CY
19667 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19668 (package-menu--generate): New arg specifying packages to show.
19669 (package-menu-refresh, package-menu-execute, list-packages):
19670 Callers changed.
19671 (package-show-package-list): New function, replacing deleted
19672 package--list-packages (renamed because it is non-internal).
19673
19674 * finder.el (finder-list-matches): Use package-show-package-list
19675 instead of deleted package--list-packages.
19676
e92f3bd3
SM
19677 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19678 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19679 (vc-annotate-mode-map): Bind it to RET.
19680
7031be6d
UR
196812011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19682
19683 * progmodes/etags.el (next-file): Don't use set-buffer to change
19684 buffers (Bug#8478).
19685
4ef177aa
CY
196862011-04-24 Chong Yidong <cyd@stupidchicken.com>
19687
c8d173eb
CY
19688 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19689
4ef177aa
CY
19690 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19691 (apropos-accumulator): Doc fix.
19692 (apropos-function, apropos-macro, apropos-command)
19693 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19694 (apropos-plist): Add face property.
19695 (apropos-symbols-internal): Fix indentation.
19696 (apropos-print): Simplify help, and recognize apropos-multi-type.
19697 (apropos-print-doc): Use button-type-get to extract the button's
19698 face property. Fill docstring (Bug#8352).
19699
4ffd0d6b 197002011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19701
19702 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19703
c6c32125 19704 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19705 (mpuz-mode-map): Use mapc.
c6c32125
JB
19706 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19707 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19708 Fix typos in docstrings.
19709
58d468b4
JB
19710 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19711 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19712
6470c3c6
JB
19713 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19714
4ffd0d6b 197152011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19716
19717 * minibuffer.el (completion--do-completion): Avoid the "Next char
19718 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19719
3ad8bad0
CY
19720 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19721 mouse-2 into unread-command-events, it is interpreted correctly.
19722
71d73c9c 19723 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19724 (image-toggle-display): Doc fix.
71d73c9c 19725
841a1577 197262011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19727
4ffd0d6b
GM
19728 * textmodes/page.el (what-page): Use line-number-at-pos to
19729 calculate line number (Bug#6825).
6e1dbaa9 19730
c2fb1b60
JB
197312011-04-22 Juanma Barranquero <lekktu@gmail.com>
19732
19733 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19734 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19735 Pass argument NO-DEFAULT to `find-tag-interactive'.
19736
e02f48d7
JB
197372011-04-22 Juanma Barranquero <lekktu@gmail.com>
19738
19739 Lexical-binding cleanup.
19740
19741 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19742 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19743 * progmodes/ada-prj.el (ada-prj-initialize-values)
19744 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19745 (ada-prj-show-value):
19746 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19747 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19748 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19749 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19750 * progmodes/bug-reference.el (bug-reference-push-button):
19751 * progmodes/fortran.el (fortran-line-length):
19752 * progmodes/glasses.el (glasses-change):
19753 * progmodes/octave-mod.el (octave-fill-paragraph):
19754 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19755 (python-pdbtrack-grub-for-buffer, python-sentinel):
19756 * progmodes/sql.el (sql-save-connection):
19757 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19758 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19759 Mark unused parameters.
19760
19761 * progmodes/compile.el (compilation--flush-directory-cache)
19762 (compilation--flush-parse, compile-internal): Mark unused parameters.
19763 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19764 (compilation-next-error-function): Remove unused variable `timestamp'.
19765
19766 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19767 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19768
19769 * progmodes/dcl-mode.el (dcl-end-of-command):
19770 Remove unused variable `start'.
19771 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19772 (dcl-option-value-basic, dcl-option-value-offset)
19773 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19774 Mark unused parameters.
19775 (dcl-save-local-variable): Remove unused variable `val'.
19776 (mode): Declare.
19777
19778 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19779 Mark unused parameters.
19780 (delphi-ignore-changes): Move before first use.
19781 (delphi-charset-token-at): Remove unused variable `start'.
19782 (delphi-else-start): Remove unused variable `if-count'.
19783 (delphi-comment-block-start, delphi-comment-block-end):
19784 Remove unused variable `kind'.
19785 (delphi-indent-line): Remove unused variable `new-point'.
19786
19787 * progmodes/ebrowse.el (ebrowse-files-list)
19788 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19789 Mark unused parameters. Don't quote `lambda'.
19790 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19791 Don't quote `lambda'.
19792 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19793 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19794 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19795 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19796 Use `ignore-errors'.
19797 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19798 (ebrowse-view/find-file-and-search-pattern)
19799 (ebrowse-view/find-member-declaration/definition):
19800 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19801 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19802 Rename parameter PREFIX-ARG to PREFIX.
19803 (ebrowse-tags-read-name): Remove unused variables `start' and
19804 `member-info'.
19805 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19806 to `tags-file'.
19807
19808 * progmodes/etags.el (local-find-tag-hook): Declare.
19809 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19810 Mark unused parameters.
19811
19812 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19813 (executable-interpret): Mark unused parameter.
19814
19815 * progmodes/flymake.el (flymake-process-sentinel)
19816 (flymake-after-change-function)
19817 (flymake-create-temp-with-folder-structure)
19818 (flymake-get-include-dirs-dot): Mark unused parameters.
19819 (flymake-safe-delete-directory): Remove unused variable `err'.
19820
19821 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19822 (speedbar-timer-fn, speedbar-line-text)
19823 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19824 (speedbar-center-buffer-smartly): Declare functions.
19825 (gdb-find-watch-expression): Remove unused variable `array'.
19826 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19827 (gdb-starting): Mark unused parameters.
19828 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19829 (gdb-table-string): Remove unused variable `res'.
19830 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19831 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19832 (gdb-display-buffer): Remove unused variable `cur-size'.
19833
19834 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19835 allow lexical-binding compilation.
19836 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19837 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19838 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19839 Mark unused parameters.
19840 (gud-gdb-marker-filter): Remove unused variable `match'.
19841 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19842 lambda expressions and funcall them, instead of using `fset'.
19843
19844 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19845 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19846
19847 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19848 variable `header-beg'; use `let'.
19849
19850 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19851 `restart', `last-sexp' and `at-do'.
19852
19853 * progmodes/js.el (js--debug): Mark unused parameter.
19854 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19855 (js--splice-into-items): Remove unused variable `item'.
19856 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19857
19858 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19859 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19860 (makefile-complete): Remove unused variable `try'.
19861 (makefile-fill-paragraph, makefile-match-function-end):
19862 Mark unused parameters.
19863
19864 * progmodes/octave-inf.el (inferior-octave-complete):
19865 Remove unused variable `proc'.
19866 (inferior-octave-output-digest): Mark unused parameter.
19867
19868 * progmodes/perl-mode.el (perl-calculate-indent):
19869 Remove unused variable `err'.
19870
19871 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19872 (prolog-indent-line): Mark unused parameters.
19873 (prolog-indent-line): Remove unused variable `beg'.
19874
19875 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19876 (reporter-dont-compact-list): Declare.
19877
19878 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19879 Remove unused variable `char'.
19880 (sh-debug): Mark unused parameter.
19881 (sh-get-indent-info): Remove unused variable `start'.
19882 (sh-calculate-indent): Remove unused variable `var'.
19883
19884 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19885 (simula-electric-keyword): Remove unused variable `null'.
19886 (simula-search-backward, simula-search-forward): Remove unused
19887 variables `begin' and `end'.
19888
19889 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19890 Remove unused variable `pos'.
19891 (vera-electric-tab, vera-comment-uncomment-region):
19892 Mark unused parameters.
19893 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19894
7ede3b65
CY
198952011-04-22 Chong Yidong <cyd@stupidchicken.com>
19896
19897 * emacs-lisp/package.el (package--builtins, package-alist)
19898 (package-load-descriptor, package-built-in-p, package-activate)
19899 (define-package, package-installed-p)
19900 (package-compute-transaction, package-buffer-info)
19901 (package--push): Doc fix. Distinguish more clearly between
19902 version strings and version lists.
19903
121656e9
JB
199042011-04-21 Juanma Barranquero <lekktu@gmail.com>
19905
19906 Lexical-binding cleanup.
19907
19908 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19909 (5x5-make-mutate-best):
19910 * play/fortune.el (fortune-in-buffer):
19911 * play/gomoku.el (gomoku-init-display):
19912 * play/solitaire.el (solitaire, solitaire-do-check):
19913 * play/tetris.el (tetris-default-update-speed-function):
19914 Mark unused parameters.
19915
19916 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19917 (bubbles--shift): Remove unused variable `char-org'.
19918 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19919 (bubbles--show-images): Remove unused variable `char'.
19920
19921 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19922 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19923 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19924 (decipher-analyze-buffer): Use ?\s.
19925 (decipher-make-checkpoint): Remove unused variable `mapping'.
19926
19927 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19928
19929 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19930 Remove unused variable `result'; use `let'.
19931
19932 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19933 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19934 (gametree-children-shown-p, gametree-compute-reduced-score):
19935 Use `ignore-errors'.
19936
19937 * play/handwrite.el (ps-lpr-switches): Declare.
19938 (handwrite): Remove unused variables `pmin' and `lastp'.
19939
19940 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19941
19942 * play/landmark.el (landmark-init-display)
19943 (landmark-update-naught-weights): Mark unused parameters.
19944 (landmark-y): Remove unused variable `noise'. Simplify.
19945 (landmark-human-plays): Remove unused variable `score'.
19946
19947 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19948 (mpuz-try-proposal): Remove unused variable `game'.
19949
19950 * play/zone.el (life-patterns): Declare.
19951
80f499c7
JB
199522011-04-20 Juanma Barranquero <lekktu@gmail.com>
19953
19954 * vc/vc.el (ediff-vc-internal): Declare function.
19955
024ff170
SM
199562011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19957
c0a193ea
SM
19958 * shell.el: Use lexical-binding and std completion UI.
19959 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19960 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19961 comint-preoutput-filter-functions rather than on
19962 comint-output-filter-functions.
19963 (shell-command-completion, shell--command-completion-data)
19964 (shell-filename-completion, shell-environment-variable-completion)
19965 (shell-c-a-p-replace-by-expanded-directory): New functions.
19966 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19967 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19968 (shell-dynamic-complete-environment-variable): Use them.
19969 (shell-dynamic-complete-as-environment-variable)
19970 (shell-dynamic-complete-as-command): Remove.
19971 (shell-match-partial-variable): Match past point.
19972 * comint.el: Clean up use of completion-at-point-functions.
19973 (comint-completion-at-point): New function.
19974 (comint-mode): Use it completion-at-point-functions.
19975 (comint-dynamic-complete): Make it obsolete.
19976 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19977 (comint-c-a-p-replace-by-expanded-history): New function.
19978 (comint-dynamic-complete-functions)
19979 (comint-replace-by-expanded-history): Use it.
19980 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19981 termination strings. Try harder to avoid second try-completion.
19982 (completion-in-region-mode-map): Disable bindings that don't work yet.
19983
2dbaa080
SM
19984 * comint.el: Use lexical-binding. Require CL.
19985 (comint-dynamic-complete-functions): Use comint-filename-completion.
19986 (comint-completion-addsuffix): Tweak custom type.
19987 (comint-filename-completion, comint--common-suffix)
19988 (comint--common-quoted-suffix, comint--table-subvert)
19989 (comint--complete-file-name-data): New functions.
19990 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19991 (comint-dynamic-list-filename-completions): Use them.
19992 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19993
2dbaa080
SM
19994 * minibuffer.el (completion-in-region-mode):
19995 Keep completion-in-region-mode--predicate global.
19996 (completion-in-region--postch):
19997 Assume completion-in-region-mode--predicate is not null.
19998
c79a6f38
SM
19999 * progmodes/flymake.el (flymake-start-syntax-check-process):
20000 Obey `dir'. Simplify.
20001
024ff170
SM
20002 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20003 we're in VC after all.
20004
1c6c854e
CS
200052011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20006
20007 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20008 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20009 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20010
bed7f140
SM
200112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20012
332e62ab
SM
20013 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20014 add sanity check.
20015
bed7f140
SM
20016 * obsolete/erc-hecomplete.el: Make obsolete.
20017 * obsolete/: Standardize obsolescence info in the header.
20018
f195c582
GM
200192011-04-20 Glenn Morris <rgm@gnu.org>
20020
20021 * calendar/solar.el (solar-horizontal-coordinates):
20022 Use the longitude argument rather than `calendar-longitude'.
20023 (solar-date-next-longitude): Remove unused locals.
20024
cb79b8c0
VJL
200252011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20026
20027 * whitespace.el: New version 13.2.1.
20028
200292011-04-20 felix <EmacsWiki> (tiny change)
20030
d8e4b68b 20031 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20032 switching between major modes on a file.
20033
602ea69d
SM
200342011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20035
20036 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20037 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20038 multi-line comments as well.
20039
06b60517
JB
200402011-04-19 Juanma Barranquero <lekktu@gmail.com>
20041
20042 Lexical-binding cleanup.
20043
20044 * arc-mode.el (archive-mode-revert):
20045 * cmuscheme.el (scheme-interactively-start-process):
20046 * custom.el (custom-initialize-delay):
20047 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20048 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20049 * emacs-lock.el (emacs-lock-clear-sentinel):
20050 * ezimage.el (defezimage):
20051 * follow.el (follow-avoid-tail-recenter):
20052 * fringe.el (set-fringe-mode-1):
20053 * generic-x.el (bat-generic-mode-compile):
20054 * help-mode.el (help-info-variable, help-do-xref)
20055 (help-mode-revert-buffer):
20056 * help.el (view-emacs-todo):
20057 * iswitchb.el (iswitchb-completion-help):
20058 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20059 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20060 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20061 * locate.el (locate-update):
20062 * longlines.el (longlines-encode-region)
20063 (longlines-after-change-function):
20064 * outline.el (outline-isearch-open-invisible):
20065 * ps-def.el (declare-function, charset-dimension, char-width)
20066 (encode-char):
20067 * ps-mule.el (ps-mule-plot-string):
20068 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20069 (recentf-edit-list-select, recentf-edit-list-validate)
20070 (recentf-open-files-action):
20071 * rect.el (delete-whitespace-rectangle-line)
20072 (rectangle-number-line-callback):
20073 * register.el (window-configuration-to-register)
20074 (frame-configuration-to-register):
20075 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20076 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20077 (xselect-convert-to-targets, xselect-convert-to-delete)
20078 (xselect-convert-to-filename, xselect-convert-to-charpos)
20079 (xselect-convert-to-lineno, xselect-convert-to-colno)
20080 (xselect-convert-to-os, xselect-convert-to-host)
20081 (xselect-convert-to-user, xselect-convert-to-class)
20082 (xselect-convert-to-name, xselect-convert-to-integer)
20083 (xselect-convert-to-atom, xselect-convert-to-identity):
20084 * subr.el (declare, ignore, process-kill-without-query)
20085 (text-clone-maintain):
20086 * terminal.el (te-get-char, te-tic-sentinel):
20087 * tool-bar.el (tool-bar-make-keymap):
20088 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20089 * type-break.el (type-break-mode, type-break-noninteractive-query):
20090 * view.el (View-back-to-mark):
20091 * wid-browse.el (widget-browse-action, widget-browse-widget)
20092 (widget-browse-widgets, widget-browse-sexp):
20093 * widget.el (define-widget-keywords):
20094 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20095 Mark unused parameters.
20096
20097 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20098 (align-areas): Remove unused variable `look'.
20099 (align-region): Remove unused variables `real-end' and `pos-list'.
20100
20101 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20102
20103 * bindings.el (mode-line-modified, mode-line-remote):
20104 Mark unused parameters.
20105 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20106
20107 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20108 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20109
20110 * comint.el (comint-history-isearch-pop-state)
20111 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20112 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20113 (comint-substitute-in-file-name): Doc fix.
20114
20115 * completion.el (cmpl-statistics-block): Mark unused parameter.
20116 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20117 (save-completions-to-file, load-completions-from-file):
20118 Remove unused local variable `e'.
20119
20120 * composite.el (compose-chars): Remove unused variable `len'.
20121 (lgstring-insert-glyph): Remove unused variable `g'.
20122 (compose-glyph-string): Remove unused variables `ascent',
20123 `descent', `lbearing' and `rbearing'.
20124 (compose-glyph-string-relative): Remove unused variables
20125 `lbearing', `rbearing' and `wadjust'.
20126 (compose-gstring-for-graphic): Remove unused variables `header',
20127 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20128 (compose-gstring-for-terminal): Remove unused variables `header'
20129 and `nchars'. Use `let', not `let*'.
20130
20131 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20132 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20133 (Custom-buffer-done, custom-buffer-create-internal)
20134 (custom-browse-visibility-action, custom-browse-group-tag-action)
20135 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20136 (widget-magic-mouse-down-action, custom-toggle-parent)
20137 (custom-add-parent-links, custom-toggle-hide-variable)
20138 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20139 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20140 (custom-face-menu-create, custom-variable-menu-create, get)
20141 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20142 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20143 (customize-apropos): Remove unused variable `tests'.
20144 (custom-group-value-create): Remove unused variable `hidden-p'.
20145 (sort-fold-case): Declare.
20146
20147 * cus-theme.el (custom-reset-standard-faces-list)
20148 (custom-reset-standard-variables-list): Declare.
20149 (customize-create-theme, custom-theme-revert, custom-theme-write)
20150 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20151 Mark unused parameters.
20152
20153 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20154
20155 * delim-col.el (delimit-columns-max): Move defvar before first use.
20156
20157 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20158 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20159
20160 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20161 (auto-insert): Declare.
20162 (desktop-restore-file-buffer): Rename desktop-* parameters;
20163 mark unused ones.
20164 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20165 (desktop-buffer): Rename desktop-* parameters.
20166
20167 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20168 (dframe-reposition-frame-xemacs, dframe-help-echo)
20169 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20170 Mark unused parameters.
20171
20172 * dired-aux.el (backup-extract-version-start, overwrite-query)
20173 (overwrite-backup-query, rename-regexp-query)
20174 (rename-non-directory-query): Declare.
20175 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20176 (dired-add-entry): Remove unused variable `orig-file-name'.
20177 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20178 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20179 `dired-copy-preserve-time' directly.
20180 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20181 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20182
20183 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20184 (dired-virtual-revert, dired-make-relative-symlink):
20185 Mark unused parameters.
20186 (manual-program): Declare.
20187 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20188 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20189 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20190
20191 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20192
20193 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20194
20195 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20196 Declare.
20197
20198 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20199
20200 * electric.el (Electric-command-loop): Rename parameter
20201 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20202
20203 * expand.el (expand-in-literal): Remove unused variable `here'.
20204
20205 * facemenu.el (facemenu-add-new-color):
20206 Remove unused variable `docstring'.
20207
20208 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20209 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20210 (face-attr-construct): Mark unused parameter. Doc fix.
20211 (read-color): Remove unused variable `hex-string'.
20212
20213 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20214 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20215 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20216 (display-buffer-other-frame): Remove unused variable `old-window'.
20217 (kill-buffer-hook): Declare.
20218 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20219 Mark unused parameters.
20220 (after-find-file): Pass 1 to `auto-save-mode', not t.
20221
20222 * files-x.el (auto-insert): Declare.
20223 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20224
20225 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20226 variable `buf'. Mark unused parameter.
06b60517
JB
20227 (find-lisp-insert-directory): Mark unused parameter.
20228
20229 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20230 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20231 (format-common-tail): Remove, unused.
20232 (format-deannotate-region): Remove unused variable `loc'.
20233 (format-annotate-region): Remove unused variable `p'.
20234 (format-annotate-single-property-change): Remove unused variables
20235 `default' and `tail'.
20236
20237 * forms.el (read-file-filter): Declare.
20238 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20239
20240 * frame.el (frame-creation-function-alist): Mark unused parameter.
20241 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20242
20243 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20244 Remove unused parameters.
20245 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20246 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20247
20248 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20249 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20250 (hfy-prepare-tag-map): Mark unused parameters.
20251 (htmlfontify-buffer): Use `called-interactively-p'.
20252
20253 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20254 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20255 (ibuffer-do-occur): Mark unused parameters.
20256 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20257 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20258
20259 * ibuffer.el: Don't quote `lambda'.
20260 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20261 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20262 Mark unused parameters.
20263
20264 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20265 (ido-completing-read): Mark unused parameters.
20266 (ido-copy-current-word): Mark unused parameters;
20267 remove unused variable `name'.
20268 (ido-sort-merged-list): Remove unused parameter `dirs'.
20269
20270 * ielm.el (ielm-input-sender): Mark unused parameter.
20271 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20272 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20273 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20274 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20275 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20276
20277 * image-dired.el (image-dired-display-thumbs): Remove unused
20278 variables `curr-file' and `count'.
20279 (image-dired-remove-tag): Remove unused variable `start'.
20280 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20281 variable `curr-file'
20282 (image-dired-rotate-original): Remove unused variable `temp-file'.
20283 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20284 Remove unused variable `file'.
20285 (image-dired-gallery-generate): Remove unused variable `curr'.
20286 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20287
20288 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20289
20290 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20291
20292 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20293
20294 * isearch.el (minibuffer-history-symbol): Declare.
20295 (isearch-edit-string): Remove unused variable `err'.
20296 (isearch-message-prefix, isearch-message-suffix):
20297 Mark unused parameters.
20298
20299 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20300
20301 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20302
20303 * makesum.el (double-column): Remove unused variable `cnt'.
20304
20305 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20306 (ido-ignore-item-temp-list): Declare.
20307
20308 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20309 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20310 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20311 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20312 `mouse-col-delta'.
20313
20314 * mouse-sel.el (mouse-extend-internal):
20315 Remove unused variable `orig-window-frame'.
20316
20317 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20318 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20319 Move declarations before first use.
20320 (pcomplete-opt): Mark unused parameters; doc fix.
20321
20322 * proced.el (proced-revert): Mark unused parameter.
20323 (proced-send-signal): Remove unused variable `err'.
20324
20325 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20326 Rename parameter PREFIX-ARG to ARG.
20327 (ps-basic-plot-string, ps-basic-plot-whitespace):
20328 Mark unused parameters.
20329
20330 * replace.el (replace-count): Define.
20331 (occur-revert-function): Mark unused parameters.
20332 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20333 (isearch-case-fold-search, isearch-string): Declare.
20334 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20335 bind `case-fold-search'. Remove unused variables `beg' and `end',
20336 and simplify.
20337 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20338 COUNT and bind `replace-count'.
20339 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20340 to COUNT.
20341
20342 * savehist.el (print-readably, print-string-length): Declare.
20343
20344 * shadowfile.el (shadow-expand-cluster-in-file-name):
20345 Remove unused variable `cluster'.
20346 (shadow-copy-file): Remove unused variable `i'.
20347 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20348 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20349 (shadow-define-literal-group, shadow-define-regexp-group)
20350 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20351
20352 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20353 (shell): Use `called-interactively-p'.
20354 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20355
20356 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20357 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20358 (delete-backward-char): Remove unused variable `ocol'.
20359 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20360 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20361 (event-apply-hyper-modifier, event-apply-shift-modifier)
20362 (event-apply-control-modifier, event-apply-meta-modifier):
20363 Mark unused parameters.
20364 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20365 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20366
20367 * speedbar.el (speedbar-ignored-directory-expressions)
20368 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20369 (speedbar-find-file, speedbar-dir-follow)
20370 (speedbar-directory-buttons-follow, speedbar-tag-find)
20371 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20372 (speedbar-buffers-line-directory, speedbar-buffer-click):
20373 Mark unused parameters.
20374 (speedbar-tag-file): Remove unused variable `mode'.
20375 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20376
20377 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20378
20379 * talk.el (talk): Remove unused variable `display'.
20380
20381 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20382 (tar-write-region-annotate): Mark unused parameter.
20383
20384 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20385 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20386 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20387 warning by another.
20388
20389 * time-stamp.el (time-stamp-string-preprocess):
20390 Remove unused variable `require-padding'.
20391
20392 * tree-widget.el (widget-glyph-enable): Declare.
20393 (tree-widget-action): Mark unused parameter.
20394
20395 * w32-fns.el (x-get-selection): Mark unused parameter.
20396 (autoload-make-program, generated-autoload-file): Declare.
20397
20398 * wdired.el (wdired-revert): Mark unused parameters.
20399 (wdired-xcase-word): Remove unused variable `err'.
20400
20401 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20402 (whitespace-help-scroll): Remove unused variable `data-help'.
20403
20404 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20405 (widget-image-insert, widget-after-change, default)
20406 (widget-default-format-handler, widget-default-notify)
20407 (widget-default-prompt-value, widget-info-link-action)
20408 (widget-url-link-action, widget-function-link-action)
20409 (widget-variable-link-action, widget-file-link-action)
20410 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20411 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20412 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20413 (widget-insert-button-action, widget-delete-button-action, visibility)
20414 (widget-documentation-link-action, widget-documentation-string-action)
20415 (widget-const-prompt-value, widget-regexp-match, symbol)
20416 (widget-coding-system-prompt-value)
20417 (widget-key-sequence-value-to-external, sexp)
20418 (widget-sexp-value-to-internal, character, vector, cons)
20419 (widget-choice-prompt-value, widget-boolean-prompt-value)
20420 (widget-color--choose-action): Mark unused parameters.
20421 (widget-item-match-inline, widget-choice-match-inline)
20422 (widget-checklist-match, widget-checklist-match-inline)
20423 (widget-group-match): Rename parameter VALUES to VALS.
20424 (widget-field-value-set): Remove unused variable `size'.
20425 (widget-color-action): Remove unused variables `value' and `start'.
20426
20427 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20428 variable `dir'. Doc fix.
06b60517
JB
20429 (windmove-find-other-window): Don't pass it.
20430
20431 * window.el (count-windows): Mark unused parameter.
20432 (bw-adjust-window): Remove unused variable `err'.
20433
20434 * woman.el (woman-file-name): Remove unused variable `default'.
20435 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20436 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20437 (global-font-lock-mode): Declare.
20438 (woman-decode-region): Mark unused parameter.
20439 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20440
20441 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20442 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20443 (x-dnd-handle-moz-url): Remove unused variable `title'.
20444 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20445
20446 * xml.el (xml-parse-tag, xml-parse-attlist):
20447 Remove unused variable `pos'.
20448
bc4f7f3d
GM
204492011-04-19 Glenn Morris <rgm@gnu.org>
20450
20451 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20452 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20453 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20454 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20455 * calendar/cal-html.el (cal-html-insert-minical):
20456 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20457 (calendar-mark-date-pattern):
20458 Prefix "unused" locals.
20459
20460 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20461 optional argument `style'.
20462
20463 * calendar/appt.el (appt-make-list):
20464 * calendar/cal-china.el (calendar-chinese-date-string):
20465 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20466 (diary-hebrew-yahrzeit):
20467 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20468 * calendar/calendar.el (calendar-generate-window):
20469 * calendar/time-date.el (time-to-days):
20470 Remove unused local variables.
20471
16a43933
CY
204722011-04-18 Chong Yidong <cyd@stupidchicken.com>
20473
20474 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20475 glyphless-char-display table.
20476 (tabulated-list-glyphless-char-display): New var.
20477
7eed1860
SS
204782011-04-18 Sam Steingold <sds@gnu.org>
20479
20480 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20481 to acknowledgments.
20482
4d2d1ccd
GM
204832011-04-17 Glenn Morris <rgm@gnu.org>
20484
20485 * calendar/diary-lib.el (diary-sexp-entry):
20486 * calendar/holidays.el (holiday-sexp):
20487 Set debug-on-error rather than the removed stack-trace-on-error.
20488
239da61d
GM
204892011-04-16 Glenn Morris <rgm@gnu.org>
20490
20491 * progmodes/f90.el: Use lexical-binding.
20492 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20493
8b05752a
SM
204942011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20495
daca8ba5
SM
20496 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20497 (mail-mode): Setup mailalias completion here instead.
20498 * mail/mailalias.el: Use lexical-binding.
20499 (pattern, mailalias-done): Declare dynamic.
20500 (mail-completion-at-point-function): New function, from mail-complete.
20501 (mail-complete): Use it.
20502 (mail-completion-expand): New function.
20503 (mail-get-names): Use it.
20504 (mail-directory, mail-directory-process, mail-directory-stream):
20505 Don't use `pattern' for lexically bound arg.
20506
6f542485
SM
20507 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20508
037e7c3f
SM
20509 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20510 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20511 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20512
8b05752a
SM
20513 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20514 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20515 (byte-interactive-p): Define them again, for use when inlining
20516 old code.
20517
49093f60
JB
205182011-04-15 Juanma Barranquero <lekktu@gmail.com>
20519
20520 * loadup.el: Use `string-to-number', not `string-to-int'.
20521
b5b8e7de
SM
205222011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20523
20524 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20525 gud-gdb-complete-command.
20526 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20527 (gud-gdb-completion-at-point): New function.
20528 (gud-gdb-completions): Remove.
20529
f42efeb5
MA
205302011-04-14 Michael Albinus <michael.albinus@gmx.de>
20531
49093f60
JB
20532 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20533 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20534 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20535 whether `executable-find' is bound.
f42efeb5
MA
20536
20537 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20538
e240cc21
SM
205392011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20540
20541 * minibuffer.el (completion-in-region-mode-predicate)
20542 (completion-in-region-mode--predicate): New vars.
20543 (completion-in-region, completion-in-region--postch)
20544 (completion-in-region-mode): Use them.
20545 (completion--capf-wrapper): Also return the hook function.
20546 (completion-at-point, completion-help-at-point):
20547 Adjust and provide a predicate.
c2bd2ab0
SM
20548
20549 Preserve arg names for advice of subr and lexical functions (bug#8457).
20550 * help-fns.el (help-function-arglist): Consolidate the subr and
20551 new-byte-code cases. Add argument `preserve-names' to extract names
20552 from the docstring when needed.
20553 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20554 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20555 (ad-arglist): Use help-function-arglist's new arg.
20556 (ad-definition-type): Use cond.
20557
c183f693
JB
205582011-04-13 Juanma Barranquero <lekktu@gmail.com>
20559
06641a47
JB
20560 * autorevert.el (auto-revert-handler):
20561 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20562 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20563 Don't quote lambda.
20564
c183f693
JB
20565 * image-mode.el (image-transform-set-scale):
20566 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20567
1e3b6001
G
205682011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20569
20570 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20571 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20572 Upgrades via gnutls-cli are too slow to be done opportunistically.
20573
2d6af8dd
JB
205742011-04-12 Juanma Barranquero <lekktu@gmail.com>
20575
20576 * dframe.el (dframe-current-frame): Remove spurious quote.
20577
c0749a51
GM
205782011-04-12 Glenn Morris <rgm@gnu.org>
20579
088d0d61
GM
20580 * calendar/cal-tex.el (cal-tex-end-document):
20581 Try to automatically use latin1 input if needed.
20582
c0749a51
GM
20583 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20584 Don't try to cons a mark onto an empty element.
20585
5c90fde0
LL
205862011-04-11 Leo Liu <sdl.web@gmail.com>
20587
20588 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20589 buffers.
20590 (ido-kill-buffer-at-head): Support killing virtual buffers.
20591
369e974d
CY
205922011-04-10 Chong Yidong <cyd@stupidchicken.com>
20593
20594 * minibuffer.el (completion-show-inline-help): New var.
20595 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20596 (minibuffer-force-complete, minibuffer-complete-word):
20597 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20598
20599 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20600 to avoid interference from inline help (Bug#5849).
20601
37f1c930
LL
206022011-04-10 Leo Liu <sdl.web@gmail.com>
20603
099c39a4
JB
20604 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20605 Fix typo.
37f1c930 20606
a32d4040
CY
206072011-04-09 Chong Yidong <cyd@stupidchicken.com>
20608
20609 * image-mode.el (image-toggle-display-image): Signal an error if
20610 not in Image mode.
20611 (image-transform-mode, image-transform-resize)
20612 (image-transform-set-rotation): Doc fix.
daca8ba5 20613 (image-transform-set-resize): Delete.
a32d4040
CY
20614 (image-transform-set-scale, image-transform-fit-to-height)
20615 (image-transform-fit-to-width): Handle image-toggle-display-image
20616 and image-transform-resize directly.
20617
099c39a4 206182011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20619
20620 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20621 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20622 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20623 (doc-view-mode-map): Add bindings for the new functions.
20624
099c39a4 206252011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20626
4d61f28d 20627 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20628 Fix typo in docstring.
20629
3726838a
EZ
206302011-04-08 Eli Zaretskii <eliz@gnu.org>
20631
04f33f1e
EZ
20632 * files.el (file-size-human-readable): Produce one digit after
20633 decimal, like "ls -lh" does.
20634
20635 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20636 the file size representation.
20637
3726838a
EZ
20638 * simple.el (list-processes): If async subprocesses are not
20639 available, error out with a clear error message.
20640
cbb59342
CY
206412011-04-08 Chong Yidong <cyd@stupidchicken.com>
20642
20643 * help.el (help-form-show): New function, to be called from C.
20644 Put help-form output in a buffer named differently than *Help*.
20645
e3971c44
EZ
206462011-04-08 Eli Zaretskii <eliz@gnu.org>
20647
20648 * files.el (file-size-human-readable): New function.
20649
20650 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20651 computing the representation inline. Don't require `cl'.
20652
12544bbe
GM
206532011-04-08 Glenn Morris <rgm@gnu.org>
20654
a1de6c6a
GM
20655 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20656
3c4671f4
GM
20657 * net/browse-url.el (browse-url-firefox):
20658 Test system-type, not system-configuration.
20659
b605679c
GM
20660 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20661 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20662 Use log-edit-empty-buffer-p. (Bug#7598)
20663
56442f0c
GM
20664 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20665 (rlogin-mode-map): Initialize in the defvar.
20666 (rlogin): Use ignore-errors.
20667
12544bbe
GM
20668 * replace.el (occur-mode-map): Some fixes for menu items.
20669
eb237b0f
AH
206702011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20671
20672 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20673
7d668f2c
CY
206742011-04-06 Chong Yidong <cyd@stupidchicken.com>
20675
e67a13ab
CY
20676 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20677 issuing unused warnings.
20678
20679 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20680 macro directly.
20681
7d668f2c
CY
20682 * simple.el: Lisp reimplement of list-processes. Based on an
20683 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20684 (process-menu-mode): New major mode.
20685 (list-processes--refresh, list-processes):
20686 (process-menu-visit-buffer): New functions.
20687
20688 * files.el (save-buffers-kill-emacs): Don't assume any return
20689 value of list-processes, which is undocumented anyway.
20690
a83ec3c9
CY
206912011-04-06 Chong Yidong <cyd@stupidchicken.com>
20692
20693 * emacs-lisp/tabulated-list.el: New file.
20694
e91a96fe
CY
20695 * emacs-lisp/package.el: Use Tabulated List mode.
20696 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20697 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20698 table format using Tabulated List mode variables.
20699 (package--push): New macro, replacing package-list-maybe-add.
20700 (package-menu--generate): Use package--push. Renamed from
20701 package--generate-package-list.
20702 (package-menu-refresh, list-packages): Use it.
daca8ba5 20703 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20704 Return insertion data instead of inserting it directly.
099c39a4
JB
20705 (package-menu-describe-package, package-menu-execute):
20706 Use tabulated-list-get-id.
e91a96fe
CY
20707 (package-menu-mark-delete, package-menu-mark-install)
20708 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20709 (package-menu-mark-obsolete-for-deletion):
20710 Use tabulated-list-put-tag.
e91a96fe
CY
20711 (package--list-packages, package-menu-revert)
20712 (package-menu-get-package, package-menu-get-version)
20713 (package-menu-sort-by-column): Functions deleted.
20714 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20715 (package-menu--status-predicate, package-menu--version-predicate)
20716 (package-menu--name-predicate)
20717 (package-menu--description-predicate): Handle arguments in the
20718 Tabulated List format.
20719 (package-list-packages-no-fetch): Call list-packages.
20720
3e214b50
JB
207212011-04-06 Juanma Barranquero <lekktu@gmail.com>
20722
20723 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20724 (after-find-file): Don't bind it.
3e214b50
JB
20725 (revert-buffer-in-progress-p): New variable.
20726 (revert-buffer): Bind it.
20727 Pass nil for `after-find-file-from-revert-buffer'.
20728
20729 * saveplace.el (save-place-find-file-hook): Use new variable
20730 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20731
3f0f1700
GM
207322011-04-06 Glenn Morris <rgm@gnu.org>
20733
c0274801
GM
20734 * Makefile.in (AUTOGEN_VCS): New variable.
20735 (autoloads): Use $AUTOGEN_VCS.
20736
3f0f1700
GM
20737 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20738 * calendar/calendar.el (calendar-mode-map):
20739 Check for toolkit scroll bars. (Bug#8305)
20740
41ea9e48
CY
207412011-04-05 Chong Yidong <cyd@stupidchicken.com>
20742
20743 * minibuffer.el (completion-in-region--postch)
20744 (completion-in-region-mode): Remove unnecessary messages.
20745
6194c800
JB
207462011-04-05 Juanma Barranquero <lekktu@gmail.com>
20747
33256f14
JB
20748 * font-lock.el (font-lock-refresh-defaults):
20749 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20750 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20751
6194c800
JB
20752 * info.el (Info-directory-list, Info-read-node-name-2)
20753 (Info-split-parameter-string): Doc fixes.
20754 (Info-virtual-nodes): Reflow docstring.
20755 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20756 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20757 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20758 Fix typos in docstrings.
20759 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20760 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20761 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20762 (Info-restore-desktop-buffer): Mark unused parameters.
20763 (Info-directory-find-file, Info-directory-find-node)
20764 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20765 (Info-virtual-index-find-node, Info-apropos-find-file)
20766 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20767 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20768 (Info-virtual-index): Remove unused local variable `nodename'.
20769
b87a8200 207702011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20771
b87a8200
DD
20772 * net/rcirc.el: Update my e-mail address.
20773 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20774
3b2ff876
CY
207752011-04-05 Chong Yidong <cyd@stupidchicken.com>
20776
20777 * startup.el (command-line): Save the cursor's theme-face
20778 directly, instead of using face-override-spec.
20779
20780 * custom.el (load-theme): Minor optimization in assigning faces.
20781
8d17e7ca
JB
207822011-04-04 Juanma Barranquero <lekktu@gmail.com>
20783
20784 * help-fns.el (describe-variable): Complete all variables having
20785 documentation, including keywords.
20786 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20787
2fbc1934
JB
207882011-04-04 Juanma Barranquero <lekktu@gmail.com>
20789
20790 Convert to lexical-binding.
20791
20792 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20793 (bs--get-marked-string, bs--get-modified-string)
20794 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20795 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20796 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20797
20798 * ehelp.el (electric-help-execute-extended)
20799 (electric-help-ctrl-x-prefix):
20800 * hexl.el (hexl-revert-buffer-function):
20801 * linum.el (linum-after-change, linum-after-scroll):
20802 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20803
20804 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20805
74f50695
DU
208062011-04-04 Daiki Ueno <ueno@unixuser.org>
20807
20808 * epa-dired.el:
20809 * epa-mail.el:
20810 * epa-hook.el:
20811 * epa-file.el:
20812 * epa.el:
20813 * epg.el: Use lexical binding.
20814
c11325f7
CY
208152011-04-03 Chong Yidong <cyd@stupidchicken.com>
20816
0d9e9a12
CY
20817 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20818
c11325f7 20819 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20820 dictionary case for flyspell-mark-duplications-exceptions.
20821 Use regexp matching for languages.
c11325f7
CY
20822 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20823 default dictionary (Bug#7926).
20824
da91b5f2
CY
208252011-04-02 Chong Yidong <cyd@stupidchicken.com>
20826
099c39a4
JB
20827 * emacs-lisp/package.el (package--with-work-buffer):
20828 Recognize https URLs.
da91b5f2 20829
099c39a4
JB
20830 * net/network-stream.el: Move from gnus/proto-stream.el.
20831 Change prefix to network-stream throughout.
da91b5f2
CY
20832 (open-protocol-stream): Merge into open-network-stream, leaving
20833 open-protocol-stream as an alias. Handle nil BUFFER args.
20834
20835 * subr.el (open-network-stream): Move to net/network-stream.el.
20836
afa8e9f6
GM
208372011-04-02 Glenn Morris <rgm@gnu.org>
20838
1d2e369d
GM
20839 * find-dired.el (find-exec-terminator): New option.
20840 (find-ls-option): Test for -ls support.
20841 (find-ls-subdir-switches): Test for -b in find-ls-option.
20842 (find-dired, find-grep-dired): Doc fixes.
20843 (find-dired): Use find-exec-terminator.
20844
8abb7da8 20845 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20846 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20847 (find-name-arg): Remove purecopy.
8abb7da8 20848
f3ca7378
GM
20849 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20850 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20851 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20852 accordingly. Don't add the null-device if not needed.
20853
afa8e9f6
GM
20854 * files.el (save-some-buffers): Doc fix.
20855
35eae264
EZ
208562011-04-02 Eli Zaretskii <eliz@gnu.org>
20857
20858 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20859
26b51db5
JB
208602011-04-01 Juanma Barranquero <lekktu@gmail.com>
20861
20862 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20863 Use `dolist' rather than `mapcar'.
20864
7200d79c
SM
208652011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20866
03408648 20867 Add lexical binding.
7200d79c 20868
03408648
SM
20869 * subr.el (apply-partially): Use new closures rather than CL.
20870 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20871 (dolist, dotimes): Use slightly different expansion for lexical code.
20872 (functionp): Move to C.
20873 (letrec): New macro.
20874 (with-wrapper-hook): Use it and apply-partially instead of CL.
20875 (eval-after-load): Preserve lexical-binding.
20876 (save-window-excursion, with-output-to-temp-buffer): Turn them
20877 into macros.
7200d79c 20878
03408648
SM
20879 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20880
20881 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20882 than the arglist.
20883 (help-add-fundoc-usage): Don't add `Not documented'.
20884 (help-function-arglist): Handle closures, subroutines, and new
20885 byte-code-functions.
20886 (help-make-usage): Remove leading underscores.
20887 (describe-function-1): Handle closures.
20888 (describe-variable): Use special-variable-p for completion.
20889
20890 * files.el (lexical-binding): Declare safe.
f488fb65 20891
03408648
SM
20892 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20893 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20894 (pcase): Add `let' pattern.
20895 Change memoization so it actually works.
20896 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20897 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20898 <let>: New case.
f488fb65 20899
03408648
SM
20900 * emacs-lisp/macroexp.el: Use lexical binding.
20901 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20902 Don't convert ' to #' without checking that it's indeed quoting
20903 a lambda.
20904
20905 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20906 Use eval-sexp-add-defvars.
03408648
SM
20907 (eval-sexp-add-defvars): New fun.
20908
20909 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20910
20911 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20912 Don't autoload.
20913 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20914 than the internal `byte-compile-lambda'.
20915 (defmethod): Don't hide code under quotes.
20916 (eieio-defmethod): New `code' argument.
20917
20918 * emacs-lisp/eieio-comp.el: Remove.
20919
20920 * emacs-lisp/edebug.el (edebug-eval-defun)
20921 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20922 (edebug-toggle): Avoid `eval'.
20923
20924 * emacs-lisp/disass.el (disassemble-internal): Handle new
20925 `closure' objects.
20926 (disassemble-1): Handle new byte codes.
20927
20928 * emacs-lisp/cl.el (pushnew): Silence warning.
20929
20930 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20931 (cl-byte-compile-throw): Remove.
20932 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20933
20934 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20935 closures.
20936
20937 * emacs-lisp/cconv.el: New file.
20938
20939 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20940 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20941 (byte-compile-initial-macro-environment):
20942 Handle declare-function here.
20943 (byte-compile--lexical-environment): New var.
20944 (byte-stack-ref, byte-stack-set, byte-discardN)
20945 (byte-discardN-preserve-tos): New lap codes.
20946 (byte-interactive-p): Don't use any more.
20947 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20948 New macros.
20949 (byte-compile-lapcode): Use them and handle new lap codes.
20950 (byte-compile-obsolete): Remove.
20951 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20952 (byte-compile-arglist-warn): Check late def of inlinable funs.
20953 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20954 since they should have been expanded by now.
20955 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20956 (byte-compile-from-buffer): Remove unused second arg.
20957 (byte-compile-preprocess): New function.
20958 (byte-compile-toplevel-file-form): New function to distinguish
20959 file-form calls from outside from file-form calls from hunk-handlers.
20960 (byte-compile-file-form): Simplify.
20961 (byte-compile-file-form-defsubst): Remove.
20962 (byte-compile-file-form-defmumble): Simplify now that
20963 byte-compile-lambda always returns a byte-code-function.
20964 (byte-compile): Preprocess.
20965 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20966 Remove, not used any more.
20967 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20968 (byte-compile-make-args-desc): New funs.
20969 (byte-compile-lambda): Handle lexical functions. Always return
20970 a byte-code-function.
20971 (byte-compile-reserved-constants): New var, to make up room for
20972 closed-over variables.
20973 (byte-compile-constants-vector): Obey it.
20974 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20975 (byte-compile-macroexpand-declare-function): New function.
20976 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20977 byte-code-functions.
20978 (byte-compile-form): Check obsolescence here.
20979 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20980 (byte-compile-variable-ref): Remove.
20981 (byte-compile-dynamic-variable-op): New fun.
20982 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20983 (byte-compile-variable-set): New funs.
20984 (byte-compile-discard): Add 2 args.
20985 (byte-compile-stack-ref, byte-compile-stack-set)
20986 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20987 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20988 macroexpand-all instead.
20989 (byte-compile-quote-form): Remove.
20990 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20991 (byte-compile-bind, byte-compile-unbind): New funs.
20992 (byte-compile-let): Handle let* and lexical binding.
20993 (byte-compile-let*): Remove.
20994 (byte-compile-catch, byte-compile-unwind-protect)
20995 (byte-compile-track-mouse, byte-compile-condition-case):
20996 Handle a new :fun-body form, used for lexical scoping.
20997 (byte-compile-save-window-excursion)
20998 (byte-compile-with-output-to-temp-buffer): Remove.
20999 (byte-compile-defun): Simplify.
21000 (byte-compile-stack-adjustment): New fun.
21001 (byte-compile-out): Use it.
21002 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21003
21004 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21005 handler any more.
21006
21007 * emacs-lisp/byte-opt.el: Use lexical binding.
21008 (byte-inline-lapcode): Remove (to bytecomp).
21009 (byte-compile-inline-expand): Pay attention to inlining to/from
21010 lexically bound code.
21011 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21012 any more.
21013 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21014 any more and don't call compiler-macros.
21015 (byte-compile-splice-in-already-compiled-code): Remove.
21016 (byte-code): Don't inline any more.
21017 (disassemble-offset): Receive `bytes' as argument rather than via
21018 dynamic scoping.
21019 (byte-compile-tag-number): Declare before first use.
21020 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21021 `return' even if make-spliceable.
21022 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21023 obsolete interactive-p.
21024 (byte-optimize-lapcode): Optimize new lap-codes.
21025 Don't trip up on new form of `byte-constant' lap code.
21026
21027 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21028
21029 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21030
21031 * custom.el (custom-initialize-default, custom-declare-variable):
21032 Use `defvar'.
21033
21034 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21035 New variables.
21036 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21037 (COMPILE_FIRST): Add macroexp and cconv.
21038 * makefile.w32-in: Mirror changes in Makefile.in.
21039
21040 * vc/cvs-status.el:
21041 * vc/diff-mode.el:
21042 * vc/log-edit.el:
21043 * vc/log-view.el:
21044 * vc/smerge-mode.el:
21045 * textmodes/bibtex-style.el:
090bd7cb 21046 * textmodes/css-mode.el:
03408648
SM
21047 * startup.el:
21048 * uniquify.el:
da91b5f2
CY
21049 * minibuffer.el:
21050 * newcomment.el:
21051 * reveal.el:
21052 * server.el:
21053 * mpc.el:
21054 * emacs-lisp/smie.el:
21055 * doc-view.el:
21056 * dired.el:
03408648
SM
21057 * abbrev.el: Use lexical binding.
21058
0f0c1f27
EZ
210592011-04-01 Eli Zaretskii <eliz@gnu.org>
21060
21061 * info.el (info-display-manual): New function.
21062
c82b2579
SM
210632011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21064
21065 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21066
221ddf68
TH
210672011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21068
21069 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 21070 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 21071
cba6e77e
GM
210722011-03-31 Glenn Morris <rgm@gnu.org>
21073
e040639f
GM
21074 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21075
cba6e77e
GM
21076 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21077
6d0f1c9e
CS
210782011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21079
21080 * progmodes/python.el (python-default-interpreter)
21081 (python-python-command-args, python-jython-command-args)
21082 (python-which-shell, python-which-args, python-which-bufname)
21083 (python-file-queue, python-comint-output-filter-function)
21084 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21085 variables and functions.
21086
3e2d70fd
SM
210872011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21088
21089 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21090 (completion-in-region-mode): New minor mode.
21091 (completion-in-region): Use it.
21092 (completion-in-region--data, completion-in-region-mode-map): New vars.
21093 (completion-in-region--postch): New function.
21094 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21095 New vars.
21096 (completion--capf-wrapper): New function.
21097 (completion-at-point): Use it to track well-behavedness of
21098 hook functions.
21099 (completion-help-at-point): New command.
21100
f3e4086c
JM
211012011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21102
21103 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21104 syntax class to search for whitespace on a single line
21105 (Message-ID: <4D938140.4030905@redhat.com>).
21106
eb7ffc14
LL
211072011-03-30 Leo Liu <sdl.web@gmail.com>
21108
21109 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21110 New commands.
21111 (edit-abbrevs-map): Bind them here.
21112 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21113
d806ab68
KM
211142011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21115
21116 * allout.el (allout-hide-by-annotation, allout-flag-region):
21117 Reduce possibility of overlay leakage by making them volatile.
21118
21119 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21120 hash is not shared between buffers. Mode initialization is
21121 responsible for giving it a useful starting value.
21122 (allout-item-span): Reduce possibility of overlay leakage by
21123 making them volatile.
21124 (allout-widgets-count-buttons-in-region): Add diagnostic function
21125 for tracking down button overlay leaks.
21126
ea622834
LL
211272011-03-29 Leo Liu <sdl.web@gmail.com>
21128
21129 * ido.el (ido-read-internal): Use the default history var
21130 minibuffer-history if no HISTORY is specified.
21131
b62f8267
G
211322011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21133
03408648
SM
21134 * net/imap.el (imap-shell-open, imap-process-connection-type):
21135 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21136 Kerberos, SSL, other subprocesses.
21137
947b6566
LL
211382011-03-28 Leo Liu <sdl.web@gmail.com>
21139
21140 * abbrev.el (abbrev-table-empty-p): New function.
21141 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21142 nonempty ones. (Bug#5937)
21143
5ffb62aa
JD
211442011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21145
21146 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21147
7a097943
LL
211482011-03-27 Leo Liu <sdl.web@gmail.com>
21149
21150 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21151 for foreground and background colors.
21152 (ansi-color-make-color-map): Adapt.
21153
c5b40130
LL
211542011-03-25 Leo Liu <sdl.web@gmail.com>
21155
1f48f7d2
LL
21156 * midnight.el (midnight-time-float): Remove. Note it calculates
21157 the microsecond component incorrectly and seconds-to-time does the
21158 same job.
625897ec 21159 Remove redundant (require 'timer).
1f48f7d2 21160
c5b40130
LL
21161 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21162 (ido-completions): Remove unused arguments. (Bug#8329)
21163
d86d2721
SM
211642011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21165
21166 * minibuffer.el (completion--flush-all-sorted-completions):
21167 Remove itself from hook.
21168 (completion-at-point): Let the functions perform the completion
21169 immediately and return nil or t.
21170 * comint.el (comint-dynamic-complete-functions): Now identical to
21171 completion-at-point-functions.
21172 (comint-dynamic-list-input-ring): Remove unused var `index'.
21173 (comint--match-partial-filename, comint--unquote&expand-filename):
21174 New funs, split from comint-match-partial-filename.
21175 (comint-dynamic-complete): Use completion-at-point.
21176 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21177
e8974c48
DA
211782011-03-24 Drew Adams <drew.adams@oracle.com>
21179
21180 * thingatpt.el: Support `defun'.
21181
def71b5e
LL
211822011-03-23 Leo Liu <sdl.web@gmail.com>
21183
cb5af48e
LL
21184 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21185
def71b5e
LL
21186 * help-mode.el (help-mode-finish): Tweak regexp.
21187
927c53e7
GM
211882011-03-23 Glenn Morris <rgm@gnu.org>
21189
18d05bed
GM
21190 * eshell/esh-opt.el (eshell-eval-using-options):
21191 Do not bind unused local variable `eshell-option-stub'.
21192
927c53e7
GM
21193 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21194
9d0da923
JB
211952011-03-22 Juanma Barranquero <lekktu@gmail.com>
21196
21197 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21198 keymap variable in `with-no-warnings' to avoid a warning when the
21199 keymap has been already `defconst'ed.
21200
4b978a67
LL
212012011-03-22 Leo Liu <sdl.web@gmail.com>
21202
21203 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21204 encode all chars in abbrevs; otherwise use emacs-mule or
21205 utf-8-emacs. (Bug#8308)
21206
5fd62452
JB
212072011-03-22 Juanma Barranquero <lekktu@gmail.com>
21208
0b1596c6
JB
21209 * simple.el (backward-delete-char-untabify):
21210 Avoid warning about using `delete-backward-char'.
21211
5fd62452
JB
21212 * image.el (image-type-file-name-regexps): Make it variable.
21213 `imagemagick-register-types' modifies it, and the user may want
21214 to add new extensions for known image types.
21215 (imagemagick-register-types): Throw error if not using ImageMagick.
21216
0b4e93f1
LL
212172011-03-22 Leo Liu <sdl.web@gmail.com>
21218
21219 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21220 located before rcirc-prompt-end-marker.
21221 (rcirc-complete): Error if point is not after rcirc prompt.
21222 Handle the case when table is nil.
9882e214 21223 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21224
fccee4ab
CY
212252011-03-22 Chong Yidong <cyd@stupidchicken.com>
21226
21227 * custom.el (custom--inhibit-theme-enable): Make it affect only
21228 custom-theme-set-variables and custom-theme-set-faces.
21229 (provide-theme): Ignore custom--inhibit-theme-enable.
21230 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21231 (custom-enabling-themes): Delete variable.
d86d2721
SM
21232 (enable-theme): Accept only loaded themes as arguments.
21233 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21234 (custom-enabled-themes): Forbid themes from setting this.
21235 Eliminate use of custom-enabling-themes.
21236 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21237
af896da6
LL
212382011-03-21 Leo Liu <sdl.web@gmail.com>
21239
21240 * ido.el (ido-read-internal): Add ido-selected to history instead
21241 of user input.
21242
78f64af0
SM
212432011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21244
21245 * subr.el (deferred-action-list, deferred-action-function):
21246 Mark obsolete.
21247
b16ac1ec
LL
212482011-03-21 Leo Liu <sdl.web@gmail.com>
21249
810f7698
LL
21250 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21251 change on 2011-02-13 (bug#8309).
21252
b16ac1ec
LL
21253 * minibuffer.el (read-file-name-function): Change default value.
21254 (read-file-name--defaults): Rename from read-file-name-defaults.
21255 (read-file-name-default): Rename from read-file-name.
21256 (read-file-name): Call read-file-name-function.
21257
4e05e67e
GM
212582011-03-21 Glenn Morris <rgm@gnu.org>
21259
21260 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21261 Doc fixes.
21262
4359915b
CY
212632011-03-21 Chong Yidong <cyd@stupidchicken.com>
21264
21265 * cus-theme.el: Add missing provide statement.
21266 (customize-create-theme): Extract theme value correctly.
21267 (custom-theme-visit-theme): Autoload.
21268 (customize-create-theme): Prompt before inserting default faces.
21269
1fe275ee
JB
212702011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21271
21272 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21273 units and musical notes.
21274
cd394be1 212752011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21276
21277 * ido.el (ido-read-internal): Use completing-read-default.
21278 (ido-completing-read): Fix compatibility with completing-read.
21279
7d476bde
CO
212802011-03-20 Christian Ohler <ohler@gnu.org>
21281
21282 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21283 (ert-delete-all-tests): Use `called-interactively-p' rather than
21284 `interactive-p'.
21285 (ert--make-xrefs-region): Respect END.
21286
fe0fb33e
CY
212872011-03-19 Chong Yidong <cyd@stupidchicken.com>
21288
ff854b0b
CY
21289 * dired-aux.el (dired-create-directory): Signal an error if the
21290 directory already exists (Bug#8246).
21291
fe0fb33e
CY
21292 * facemenu.el (list-colors-display): Call list-faces-display
21293 inside with-help-window.
21294 (list-colors-print): Use display property to align the final
21295 column, instead of checking window-width.
21296
576bce32
EZ
212972011-03-19 Eli Zaretskii <eliz@gnu.org>
21298
4d61f28d 21299 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21300 windows-nt systems.
21301 (emerge-protect-metachars): Quote correctly for ms-dos and
21302 windows-nt systems.
21303
89c41d68 213042011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21305
21306 * info.el (info-initialize): Replace all uses of `:' with
21307 path-separator for compatibility with non-Unix systems.
21308 Cache quoting of path-separator. (Bug#8258)
21309
b14e3e21 213102011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21311
21312 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21313 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21314 (mouse-avoidance-mode): Fix typos in docstrings.
21315
4525ce3e
CY
213162011-03-19 Chong Yidong <cyd@stupidchicken.com>
21317
21318 * startup.el (package-subdirectory-regexp): Move from package.el.
21319 Omit \\` and \\', and let callers add them.
21320
21321 * emacs-lisp/package.el (package-strip-version)
21322 (package-load-all-descriptors): Add \\` and \\' to
21323 package-subdirectory-regexp before using it.
21324 (package-untar-buffer): New arg DIR; ensure that file untars only
21325 into this expected directory. Remove superfluous delete-region.
21326 (package-unpack): Caller changed.
21327 (package-tar-file-info): Use package-subdirectory-regexp.
21328
a904a09a 213292011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21330
a904a09a
SM
21331 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21332 diff-mode-shared-map (bug#8284).
21333 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21334
213352011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21336
21337 * calendar/time-date.el (format-seconds): Use assoc instead of
21338 assoc-string, since assoc-string doesn't exist in XEmacs.
21339
171fc304
JB
213402011-03-17 Juanma Barranquero <lekktu@gmail.com>
21341
21342 * custom.el (custom-known-themes): Reflow docstring.
21343 (custom-theme-load-path): Fix typo in docstring.
21344 (load-theme): Fix typo in error message.
21345 (custom-available-themes, custom-variable-theme-value):
21346 Use `let', not `let*'.
21347
d71990a1
JB
213482011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21349
21350 * calc/README: Mention inclusion of musical notes.
21351
21352 * calc/calc-units.el (calc-lu-quant): Rename from
21353 `calc-logunits-quantity'.
21354 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21355 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21356 (calc-db): Rename from `calc-dblevel'.
21357 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21358 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21359 (calc-np): Rename from `calc-nplevel'.
21360 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21361 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21362 (calc-lu-plus): Rename from `calc-logunits-add'.
21363 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21364 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21365 (calc-lu-minus): Rename from `calc-logunits-sub'.
21366 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21367 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21368 (calc-lu-times): Rename from `calc-logunits-mul'.
21369 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21370 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21371 (calc-lu-divide): Rename from `calc-logunits-div'.
21372 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21373 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21374
21375 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21376 functions being autoloaded.
21377
21378 * calc/calc.el (calc-lu-power-reference): Rename from
21379 `calc-logunits-power-reference'.
21380 (calc-lu-field-reference): Rename from
21381 `calc-logunits-field-reference'.
21382
7a71b18d
GM
21383 * calc/calc-help.el (calc-l-prefix-help):
21384 Mention musical note functions.
d71990a1 21385
40c2934b
SM
213862011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21387
21388 * minibuffer.el (completion-all-sorted-completions):
21389 Use :completion-cycle-penalty text property if present.
21390
b0911414
KM
213912011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21392
21393 * allout.el (allout-yank-processing): Adjust for new rebulleting
21394 regime so bullet being yanked is used without prompting the user
21395 for a choice.
21396
8a05b668
JB
213972011-03-16 Juanma Barranquero <lekktu@gmail.com>
21398
21399 * startup.el (command-line): Warn the user that _emacs is deprecated.
21400
5ba5fb81
JB
214012011-03-16 Juanma Barranquero <lekktu@gmail.com>
21402
21403 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21404 (delphi-verbose, delphi-comment-face, delphi-string-face)
21405 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21406 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21407 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21408 (delphi-new-comment-line, delphi-font-lock-defaults)
21409 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21410 Fix typos in docstrings.
21411
2dab465b
KM
214122011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21413
5ba5fb81 21414 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21415 Invert the roles of character and string values for INSTEAD, so a
21416 string is used for the more common case of a defaulting prompt.
21417
0adf5618
SM
214182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21419
21420 * progmodes/ruby-mode.el (ruby-backward-sexp):
21421 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21422 * play/gamegrid.el (gamegrid-make-face):
21423 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21424 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21425 * notifications.el (notifications-notify):
21426 * net/xesam.el (xesam-search-engines):
21427 * net/quickurl.el (quickurl-list-insert):
21428 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21429
d72700e5
CY
214302011-03-15 Chong Yidong <cyd@stupidchicken.com>
21431
21432 * startup.el (command-line): Update package subdirectory regexp.
21433
49c5410a
SM
214342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21435
c6eee9aa
SM
21436 * allout.el (allout-abbreviate-flattened-numbering)
21437 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21438
49c5410a
SM
21439 * subr.el (read-char-choice): Only show the cursor after the prompt,
21440 not after the answer.
21441
047b2bb9
KR
214422011-03-15 Kevin Ryde <user42@zip.com.au>
21443
21444 * help-fns.el (variable-at-point): Skip leading quotes, if any
21445 (bug#8253).
21446
0a57d256
SM
214472011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21448
21449 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21450 warning message.
21451
77c992bc
MA
214522011-03-14 Michael Albinus <michael.albinus@gmx.de>
21453
21454 * shell.el (shell): When called interactively, offer to change the
21455 shell file name on remote hosts.
21456
eebc475d
TZ
214572011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21458
21459 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21460 integration for LDAP parameters. The host, base, user or binddn,
21461 and secret tokens can be specified in a netrc file, for instance.
21462 This is optional because an `auth-source' parameter must be
21463 specified in the search attributes.
21464
9d05d1ba
JB
214652011-03-13 Juanma Barranquero <lekktu@gmail.com>
21466
21467 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21468
09d9db2c
GM
214692011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21470
21471 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21472 into declaration. Remove redundant and harmful binding.
21473
214742011-03-12 Eli Zaretskii <eliz@gnu.org>
21475
21476 * files.el (file-ownership-preserved-p): Pass `integer' as an
21477 explicit 2nd argument to `file-attributes'. If the file's owner
21478 is the Administrators group on Windows, and the current user is
21479 Administrator, consider that a match.
21480
21481 * server.el (server-ensure-safe-dir): Consider server directory
21482 safe on MS-Windows if its owner is the Administrators group while
21483 the current Emacs user is Administrator. Use `=' to compare
21484 numerical UIDs, since they could be integers or floats.
21485
219bd536
JB
214862011-03-12 Juanma Barranquero <lekktu@gmail.com>
21487
21488 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21489
f3afd36b
MA
214902011-03-12 Michael Albinus <michael.albinus@gmx.de>
21491
21492 Sync with Tramp 2.2.1.
21493
21494 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21495
21496 * net/trampver.el: Update release number.
21497
3aaaa6f1
SM
214982011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21499
94642599
SM
21500 * progmodes/compile.el (compilation--previous-directory): Fix up
21501 various nil/dead-marker mismatches (bug#8014).
21502 (compilation-directory-properties, compilation-error-properties):
21503 Don't call it at a position past the one we're about to change.
21504
3aaaa6f1
SM
21505 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21506 Disable obsolescence warnings in the file that declares it.
21507
14239447
KM
215082011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21509
099c39a4
JB
21510 * allout-widgets.el (allout-widgets-tally):
21511 Initialize allout-widgets-tally as a hash table rather than nil to
21512 prevent mode-line redisplay warnings. Also, clarify the module
21513 description and fix a comment typo.
14239447 21514
135e287c
JB
215152011-03-11 Juanma Barranquero <lekktu@gmail.com>
21516
21517 * help-fns.el (describe-variable): Don't complete keywords.
21518 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21519
ffbf300e
CY
215202011-03-10 Chong Yidong <cyd@stupidchicken.com>
21521
ba08b241
CY
21522 * emacs-lisp/package.el (package-version-join): Impose a standard
21523 string representation for pre/alpha/beta version lists.
21524 (package-unpack-single): Standardize the directory name by passing
21525 it through package-version-join.
21526 (package-strip-rcs-id): Accept any version string that does not
21527 signal an error in version-to-list.
ffbf300e 21528
f346fd6b
MA
215292011-03-10 Michael Albinus <michael.albinus@gmx.de>
21530
21531 * simple.el (delete-trailing-whitespace): Return nil for the
21532 benefit of `write-file-functions'.
21533
ccb55d27
GM
215342011-03-10 Glenn Morris <rgm@gnu.org>
21535
5ceaac0c
GM
21536 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21537
02da65ff
GM
21538 * vc/vc-git.el (vc-git-program): New option.
21539 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21540 (vc-git--call): Use it.
21541
b2f603cc
GM
21542 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21543
5772caab
GM
21544 * cus-edit.el (Custom-newline): If no button at point, look
21545 for a subgroup button at start-of-line. (Bug#2298)
21546
ccb55d27
GM
21547 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21548
ec6ecaed
JD
215492011-03-10 Julien Danjou <julien@danjou.info>
21550
21551 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21552 `cursor-type' is nil.
21553
9d5aa01d
JB
215542011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21555
21556 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21557
b6a5875b
KM
215582011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21559
7a71b18d 21560 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21561 preserves the existing header prefix, rebulleting it if necessary,
21562 rather than replacing it. This is necessary for proper operation
21563 of cooperative addons like allout-widgets.
1154d12e
JB
21564 (allout-make-topic-prefix, allout-rebullet-heading):
21565 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21566 value as alternate bullet to be used, instead of prompting the user
21567 for a bullet character.
b6a5875b 21568
ee545c35
MA
215692011-03-09 Michael Albinus <michael.albinus@gmx.de>
21570
d86d2721
SM
21571 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21572 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21573 `tramp-default-port'.
21574
c47971d7
DD
215752011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21576
21577 * net/rcirc.el (rcirc-handler-001): Remove useless
21578 with-rcirc-process-buffer.
21579 (rcirc-check-auth-status): Swap arguments to string-match.
21580
13522cb4
GM
215812011-03-09 Glenn Morris <rgm@gnu.org>
21582
0be6f4f1
GM
21583 * shell.el (shell-mode):
21584 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21585
13522cb4
GM
21586 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21587 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21588
515de2e3
CY
215892011-03-08 Chong Yidong <cyd@stupidchicken.com>
21590
21591 * emacs-lisp/package.el (package-refresh-contents)
21592 (package-menu-execute): Use condition-case-no-debug.
21593
b511b994
MA
215942011-03-08 Michael Albinus <michael.albinus@gmx.de>
21595
21596 * simple.el (shell-command-to-string): Use `process-file'.
21597
21598 * emacs-lisp/package.el (package-tar-file-info): Handle also
21599 remote files.
21600
d86d2721
SM
21601 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21602 Use `equal' for upload base check.
b511b994 21603
25bbfb31
AM
216042011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21605
21606 * textmodes/texinfo.el (texinfo-environments):
21607 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21608
be996521
GM
216092011-03-08 Glenn Morris <rgm@gnu.org>
21610
e9c8529f
GM
21611 * cus-start.el (cursor-in-non-selected-windows):
21612 Fix :set quoting oddness. (Bug#8192)
21613
be996521
GM
21614 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21615 in some setf expressions. (Bug#2159)
21616
2bb5649e
CY
216172011-03-08 Chong Yidong <cyd@stupidchicken.com>
21618
21619 * custom.el (custom-available-themes): Return themes in
21620 alphabetical order.
21621
33383987 21622See ChangeLog.15 for earlier changes.
e3d51b27
MR
21623
21624;; Local Variables:
21625;; coding: utf-8
e3d51b27
MR
21626;; End:
21627
ab422c4d 21628 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
21629
21630 This file is part of GNU Emacs.
21631
21632 GNU Emacs is free software: you can redistribute it and/or modify
21633 it under the terms of the GNU General Public License as published by
21634 the Free Software Foundation, either version 3 of the License, or
21635 (at your option) any later version.
21636
21637 GNU Emacs is distributed in the hope that it will be useful,
21638 but WITHOUT ANY WARRANTY; without even the implied warranty of
21639 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21640 GNU General Public License for more details.
21641
21642 You should have received a copy of the GNU General Public License
21643 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.