* lisp/subr.el (eval-after-load): Preserve evaluation order.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
1809eef8
SM
12013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4
1f1e06e2
SM
52013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
8
d96ad422
GM
92013-08-23 Glenn Morris <rgm@gnu.org>
10
11 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
12
f26afdb0
GM
132013-07-27 Glenn Morris <rgm@gnu.org>
14
15 * format.el (format-annotate-function):
16 Handle read-only text properties in the source. (Bug#14887)
17
736b5829
GM
182013-07-24 Glenn Morris <rgm@gnu.org>
19
20 * dired-x.el (dired-mark-extension): Convert comment to doc string.
21
862f1c9c
GM
222013-07-20 Glenn Morris <rgm@gnu.org>
23
24 * image-dired.el (image-dired-track-original-file):
25 Avoid changing point of wrong window. (Bug#14909)
26
188c1ae6
RC
272013-07-18 Richard Copley <rcopley@gmail.com> (tiny change)
28
29 * progmodes/gdb-mi.el (gdb-done-or-error):
30 Guard against "%" in gdb output. (Bug#14127)
31
f7a03897
AS
322013-07-08 Andreas Schwab <schwab@linux-m68k.org>
33
34 * progmodes/sh-script.el (sh-read-variable): Remove interactive
35 spec. (Bug#14826)
36
208dee4d
GM
372013-07-03 Glenn Morris <rgm@gnu.org>
38
39 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
40
f782d531
FEG
412013-05-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
42
43 * progmodes/python.el (python-indent-block-enders): Add break,
44 continue and raise keywords.
45
b01682fb
UM
462013-05-08 Ulrich Mueller <ulm@gentoo.org>
47
48 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
49
e5271cf2
GM
502013-04-24 Glenn Morris <rgm@gnu.org>
51
52 * subr.el (read-number): Once more use `read' rather than
53 `string-to-number', to trap non-numeric input. (Bug#14254)
54
70203c2e
EC
552013-04-22 Erik Charlebois <erikcharlebois@gmail.com>
56
57 * emacs-lisp/syntax.el (syntax-propertize-multiline):
58 Use `syntax-multiline' text property consistently instead of
59 `font-lock-multiline'. (bug#14237).
60
f6ae5c5d
SM
612013-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
62
63 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
64 into the prompt either (bug#13963).
65
c9886b39
FEG
662013-03-26 Fabián Ezequiel Gallina <fabian@anue.biz>
67
68 Un-indent after "pass" and "return" statements (Bug#13888)
69 * progmodes/python.el (python-indent-block-enders): New var.
70 (python-indent-calculate-indentation): Use it.
71
4430bd53
MA
722013-03-25 Michael Albinus <michael.albinus@gmx.de>
73
74 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
75 defun. Defining it as defalias could introduce too eager
76 byte-compiler optimization. (Bug#14030)
77
89468837
CY
782013-03-25 Chong Yidong <cyd@gnu.org>
79
80 * iswitchb.el (iswitchb-read-buffer): Fix typo.
81
67ed8fcd
LL
822013-03-16 Leo Liu <sdl.web@gmail.com>
83
84 * progmodes/scheme.el: Add indentation and font-locking for λ.
85 (Bug#13975)
86
efe8bf5d
SM
872013-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
88
89 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
90 token before point (bug#13942).
91
00094c26
LL
922013-03-14 Leo Liu <sdl.web@gmail.com>
93
95b43468 94 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 95
24958590
GM
962013-03-11 Glenn Morris <rgm@gnu.org>
97
98 * Version 24.3 released.
99
f0e19dc1
GM
1002013-02-25 Glenn Morris <rgm@gnu.org>
101
102 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
103
54d9de11
JL
1042013-02-21 Juri Linkov <juri@jurta.org>
105
106 * isearch.el (isearch-lazy-highlight-new-loop):
107 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
108 to `isearch-other-end' if it is not nil. (Bug#13402)
109
110 * replace.el (replace-highlight): Let-bind `isearch-other-end'
111 to `match-beg'.
112
113 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
114 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
115 and `isearch-error' to nil.
116
c132ab79
FEG
1172013-02-20 Fabián Ezequiel Gallina <fgallina@cuca>
118
efe8bf5d
SM
119 * progmodes/python.el (python-info-current-defun):
120 Enhance match-data cluttering prevention.
c132ab79 121
e233e100
GM
1222013-02-19 Glenn Morris <rgm@gnu.org>
123
124 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
125 loaded while outline-regexp is let bound. (Bug#9584)
126
33c0cb25
FEG
1272013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
128
129 * progmodes/python.el (python-info-current-defun): Fix failed
130 defun name retrieval because of unwanted match-data cluttering.
131
2af3b9c1
FEG
1322013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
133
efe8bf5d
SM
134 * progmodes/python.el (python-indent-context):
135 Fix python-info-line-ends-backslash-p call.
2af3b9c1
FEG
136 (python-info-line-ends-backslash-p)
137 (python-info-beginning-of-backslash): Respect line-number
138 argument.
139 (python-info-current-line-comment-p): Fix behavior when not at
140 beginning-of-line.
141 (python-util-position): Remove function.
142 (python-util-goto-line): New function.
143
c9bcc580
MA
1442013-02-18 Michael Albinus <michael.albinus@gmx.de>
145
146 * eshell/em-unix.el (eshell/su): Require tramp.
147 (eshell/sudo): Require tramp. Remove now unnecessary check.
148
149 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
150 `tramp-current-connection' in order to avoid an error when several
151 commands are invoked in a short time in eshell and friends.
152
e5b246e9
DV
1532013-02-16 Didier Verna <didier@didierverna.net>
154
155 * net/network-stream.el (network-stream-open-starttls):
156 Check that response to the starttls-command is non-nil. (Bug#13706)
157
9e16c3b4
GM
1582013-02-14 Glenn Morris <rgm@gnu.org>
159
160 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
161
213ac168
SM
1622013-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * net/goto-addr.el (goto-address-fontify): Add start and end args.
165 (goto-address-fontify-region): Use them instead of narrowing, so
166 syntax-ppss has access to the whole buffer.
167
ea5f4192
FEG
1682013-02-14 Fabián Ezequiel Gallina <fgallina@cuca>
169
170 * progmodes/python.el: Explain how to restore "cc-mode"-like
171 forward-sexp movement in header documentation (Bug#13642).
172 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
173 comments and strings (GH bug 114).
174
5cd3d1e5
FEG
1752013-02-13 Fabián Ezequiel Gallina <fgallina@cuca>
176
177 * progmodes/python.el (python-info-current-defun): Fix current
178 defun detection (Bug#13618).
179
a1d23eb5
CY
1802013-02-13 Chong Yidong <cyd@gnu.org>
181
182 * xml.el (xml-parse-string): Fix typo in handling of bad character
183 references.
184
e08e7d91
MA
1852013-02-10 Michael Albinus <michael.albinus@gmx.de>
186
187 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
188 if DIR exists and PARENTS is non-nil.
189
e78e7e48
CY
1902013-02-09 Chong Yidong <cyd@gnu.org>
191
192 * mail/emacsbug.el (report-emacs-bug): Change binding of
193 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
194
d23b0804
AM
1952013-02-02 Alan Mackenzie <acm@muc.de>
196
197 Fix bug in the state cache mechanism. Remove 'BOD "strategy". Refactor.
198 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
199 (c-parse-state-get-strategy): Don't return 'BOD any more.
200 (c-append-lower-brace-pair-to-state-cache): Extra parameter HERE
201 instead of narrowing. Widen to top of buffer before searching
202 backwards for a brace pair.
203 (c-state-push-any-brace-pair): Add HERE parameter to function
204 call.
205 (c-append-to-state-cache): Extra parameter HERE in place of
206 narrowing. Narrow to parameter HERE, in place of being called
207 narrowed.
208 (c-remove-stale-state-cache): Extra parameter HERE in place of
209 narrowing. Check there's an open brace in the cache before
210 searching for its match.
211 (c-invalidate-state-cache-1): Add HERE parameter to function call.
212 (c-parse-state-1): Don't narrow here for 'forward strategy,
efe8bf5d
SM
213 instead passing extra parameter HERE to several functions.
214 Remove 'BOD strategy.
d23b0804 215
13841bfc
SM
2162013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * mouse.el (mouse-drag-track): Always deactivate the mark before
219 running the final event's command since that command is in charge of
220 activating the mark if needed (bug#13523).
221
dc2bc295
JL
2222013-02-01 Juri Linkov <juri@jurta.org>
223
224 * replace.el (perform-replace): Move let-bindings of isearch-*
225 variables deeper to the loop that searches for the next match.
226 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
227 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
228 (Bug#13579)
229
230 * isearch.el (isearch-search-fun-default): Check for null
231 first element of isearch-cmds as a precaution when it's used
232 with inactive isearch.
233
f864e0ea
AN
2342013-02-01 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
235
236 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
237 error when buffer in question is narrowed so position 1 is out of
238 visible part.
239
fb77fe0f
GM
2402013-01-31 Glenn Morris <rgm@gnu.org>
241
242 * textmodes/remember.el (remember-clipboard): Doc fix.
243
c517ec69
SM
2442013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
247 properties (bug#13179).
248
c491dd70
GM
2492013-01-30 Glenn Morris <rgm@gnu.org>
250
251 * mouse.el (mouse-drag-line): Avoid pushing same event onto
252 unread-command-events twice in some cases. This tries to implement
253 the 2012-07-26 changes in a different way. (Bug#13560)
254
6ff930c3
FEG
2552013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
256
257 * progmodes/python.el
258 (python-pdbtrack-comint-output-filter-function): Enhancements on
259 stacktrace detection. (thanks @gnovak)
260
1886a16d
GM
2612013-01-30 Glenn Morris <rgm@gnu.org>
262
263 * imenu.el (imenu-default-create-index-function):
264 Put back a version of the infinite loop test removed 2013-01-23.
265
e4497086
FEG
2662013-01-28 Fabián Ezequiel Gallina <fgallina@cuca>
267
c517ec69
SM
268 * progmodes/python.el (python-shell-parse-command):
269 Find python-shell-interpreter with modified environment.
e4497086 270
beb6d07d
SM
2712013-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
272
273 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
274
345f866e
FEG
2752013-01-24 Fabián Ezequiel Gallina <fgallina@cuca>
276
277 * progmodes/python.el: Enhancements to header documentation about
278 skeletons. (Bug#5716)
279
ddc62155
FEG
2802013-01-23 Fabián Ezequiel Gallina <fgallina@cuca>
281
282 * imenu.el (imenu-default-create-index-function): Remove useless
283 infinite loop check. (Bug#13438)
284
267eacb5
AM
2852013-01-23 Alan Mackenzie <acm@muc.de>
286
287 Fix a bug in the state cache mechanism. Refactor this a bit.
288
289 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
290 `cache-pos' element from the return value.
291 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
292 buffer to enable proper searching from beyond HERE. Amend the
293 test for detecting the sought brace pair. Amend the value written
294 to the "brace desert cache" when the brace isn't found.
295 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
296 and several other variables analogously.
297 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
298 parameter to a locally calculated variable.
299 (c-parse-state-1): Change the calling conventions to the two
300 defuns involving `cache-pos'.
301
4d4ddaa7
CY
3022013-01-23 Chong Yidong <cyd@gnu.org>
303
304 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
305
2fc71e3c
LL
3062013-01-18 Leo Liu <sdl.web@gmail.com>
307
308 * dired.el (dired-get-marked-files): Prune erroneous values due to
309 last change. (Bug#13152)
310
19503d5a
GM
3112013-01-17 Glenn Morris <rgm@gnu.org>
312
313 * progmodes/etags.el (tags-table-check-computed-list):
314 Preserve point in tags buffer. (Bug#13412)
315
41b057ad
GM
3162013-01-16 Glenn Morris <rgm@gnu.org>
317
f8a42ad6
GM
318 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
319
41b057ad
GM
320 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
321 Revert 2012-12-29 change. Ref:
322 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00360.html>
323
50620051
FEG
3242013-01-10 Fabián Ezequiel Gallina <fgallina@cuca>
325
c517ec69
SM
326 * progmodes/python.el (python-nav-end-of-statement):
327 Fix cornercase when handling multiline strings.
50620051 328
3c855b96
GM
3292013-01-10 Glenn Morris <rgm@gnu.org>
330
331 * emacs-lisp/authors.el (authors-ignored-files)
332 (authors-valid-file-names, authors-renamed-files-alist):
333 Add some more entries.
334
08ce64e6
SM
3352013-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * image-mode.el (image-mode-winprops): Don't throw away the fallback
338 `t' pseudo-window entry.
339
8cff5feb
AM
3402013-01-09 Alan Mackenzie <acm@muc.de>
341
342 Fix bugs in the c-parse-state mechanism. Reuse some markers
343 instead of continually generating new ones.
344
345 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
346 (c-state-old-cpp-end-marker): New variables.
347 (c-append-lower-brace-pair-to-state-cache): Start a backward
348 search for "}" definitively outside CPP constructs.
349 (c-remove-stale-state-cache): Inform the caller of a need to
350 search back for a brace pair in certain circumstances.
351 (c-state-maybe-marker): New macro.
352 (c-parse-state): Reuse markers when appropriate.
353
89c0dda8
GM
3542013-01-09 Glenn Morris <rgm@gnu.org>
355
356 * simple.el (execute-extended-command): Doc fix.
357 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
358
5b64ccd7
CY
3592013-01-09 Chong Yidong <cyd@gnu.org>
360
361 * faces.el (read-face-name): Doc fix.
362
c5ad92de
GM
3632013-01-09 Glenn Morris <rgm@gnu.org>
364
365 * emacs-lisp/trace.el (trace-function, trace-function-background):
366 Doc fix.
367
39a0786e
JL
3682013-01-09 Juri Linkov <juri@jurta.org>
369
370 * international/mule-cmds.el (read-char-by-name): Move let-binding
371 of completion-ignore-case around completing-read to fix regression
372 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
373 `string-match-p' using the nil value of `case-fold-search' and
374 `completion-ignore-case' in `completion-pcm--all-completions'.
375 (Bug#12615).
376
06364e64
GM
3772013-01-07 Glenn Morris <rgm@gnu.org>
378
379 * progmodes/compile.el (compilation-parse-errors):
380 Fix typo. (Bug#13369)
381
236a8f0c
VS
3822013-01-07 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
383
384 * comint.el (comint-send-input): Check size of buffer before
385 waiting for process output, in case already accepted. (Bug#13290)
386
f99ced35
MA
3872013-01-04 Michael Albinus <michael.albinus@gmx.de>
388
389 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
390 non-negative integers. Otherwise, the default values are used.
391 (tramp-convert-file-attributes): Convert uid and gid to integers.
392
ad235a8b
GM
3932013-01-03 Glenn Morris <rgm@gnu.org>
394
d2be4dcc
GM
395 * term.el (term-handle-colors-array): Ensure face attributes
396 are fully specified, not nil. (Bug#13337)
397
5b00b749
GM
398 * term.el (term-default-fg-color, term-default-bg-color):
399 Fix custom type.
400
220740a3
GM
401 * progmodes/etags.el (tags-compression-info-list): Doc fix.
402 (tag-find-file-of-tag-noselect): Check auto-compression-mode
403 rather than 'jka-compr being loaded. (Bug#13338)
404
ed5bdeb9
GM
405 * subr.el (eval-after-load): Don't purecopy the form, so that it
406 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
407
ad235a8b
GM
408 * emacs-lisp/byte-run.el (defun): Place cl declarations
409 after any interactive spec. (Bug#13265)
410
5cebef2d
AS
4112012-12-31 Andreas Schwab <schwab@linux-m68k.org>
412
413 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
414 defun. Don't check for DECL if DOCSTRING isn't a string.
415 (defun): Likewise.
416
4cddca30
GM
4172012-12-31 Glenn Morris <rgm@gnu.org>
418
5ee1772e
GM
419 * eshell/em-cmpl.el (eshell-pcomplete):
420 More thoroughly imitate pcomplete. (Bug#13293)
421
4cddca30
GM
422 * files.el (parse-colon-path): Doc fix. (Bug#12351)
423 Return nil for empty path elements. (Bug#13296)
424
6861432e
FEG
4252012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
426
427 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
428 order to improve efficiency (Based on Daniel Colascione's
429 <dancol@dancol.org> patch). (Bug#13182)
430
b83a2ddd
GM
4312012-12-31 Glenn Morris <rgm@gnu.org>
432
433 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
434
df4758b8
FEG
4352012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
436
437 * progmodes/python.el: Support other commands triggering
438 python-indent-line so indentation cycling continues to work.
439 (python-indent-trigger-commands): New defcustom.
440 (python-indent-line): Use it.
441
4422012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
443
444 * progmodes/python.el (python-shell-send-region): Add blank lines
445 for non sent code so backtraces remain correct.
446
bdcad781
AS
4472012-12-31 Andreas Schwab <schwab@linux-m68k.org>
448
449 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
450 neither DOCSTRING nor DECL was given. (Bug#13316)
451
8db39aeb
GM
4522012-12-30 Glenn Morris <rgm@gnu.org>
453
454 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
455 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
456 (rmail-summary-displayed, rmail-summary): Declare.
457 (mairix-rmail-display): Just require rmail.
458
3c94d7a6
CY
4592012-12-29 Chong Yidong <cyd@gnu.org>
460
461 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
462 check for the tarball contents.
463
af39894a
MF
4642012-12-29 Matt Fidler <matt.fidler@alcon.com> (tiny change)
465
466 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
467 tarfile content listings (Bug#13136).
468
bb709253
ML
4692012-12-29 Mark Lillibridge <mark.lillibridge@hp.com>
470
c517ec69
SM
471 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
472 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 473
3ee24a3b
MA
4742012-12-28 Michael Albinus <michael.albinus@gmx.de>
475
476 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
477 integers, if they are real numbers. (Bug#13282)
478
db590ef6
DG
4792012-12-26 Dmitry Gutov <dgutov@yandex.ru>
480
481 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
c517ec69
SM
482 "module" and "def" to have indentation before them.
483 Regression from 109911 (see the new test).
db590ef6 484
ea0857a1
DG
4852012-12-24 Dmitry Gutov <dgutov@yandex.ru>
486
487 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
488
3f6b93cd
AM
4892012-12-23 Alan Mackenzie <acm@muc.de>
490
491 Speed up fontification where there's large brace blocks.
492 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
493 to a call of c-beginning-of-decl-1.
494
594f37aa
CY
4952012-12-21 Chong Yidong <cyd@gnu.org>
496
497 * sort.el (sort-subr): Doc fix (Bug#13056).
498
acc650b8
BG
4992012-12-20 Bastien Guerry <bzg@gnu.org>
500
acc650b8
BG
501 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
502
14b8c3d9
AM
5032012-12-11 Alan Mackenzie <acm@muc.de>
504
505 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
506 * progmodes/cc-engine.el (c-backward-comments): Add code to work
507 around `forward-comment' not recognizing ^M as whitespace.
508
2c43a9ad
FEG
5092012-12-11 Fabián Ezequiel Gallina <fgallina@cuca>
510
511 * progmodes/python.el (python-skeleton-class)
512 (python-skeleton-def): Do not add space after defun name.
513
2c066ad3
CY
5142012-12-09 Chong Yidong <cyd@gnu.org>
515
516 * simple.el (set-mark-default-inactive): Mark as obsolete, for
517 removal after 24.3.
518
6ce49f24
DM
5192012-12-08 Dani Moncayo <dmoncayo@gmail.com>
520
521 * simple.el (just-one-space): Doc fix.
522
8d43bd30
EZ
5232012-12-07 Eli Zaretskii <eliz@gnu.org>
524
c517ec69
SM
525 * textmodes/texinfo.el (texinfo-enable-quote-envs):
526 Add "smallexample".
8d43bd30 527
3a21537c
LW
5282012-12-07 Le Wang <l26wang@gmail.com>
529
530 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
531 narrowed buffer (bug#12361).
532
61025111
MH
5332012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
534
535 * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
536 Virtually backported from trunk.
537
bf741d33
JB
5382012-12-07 Juanma Barranquero <lekktu@gmail.com>
539
540 * vc/vc-hooks.el (vc-state): Doc fix.
541
07026166
GM
5422012-12-06 Glenn Morris <rgm@gnu.org>
543
544 * mail/rmail.el (rmail-maybe-display-summary):
545 Preserve buffer, in case select-window changes it. (Bug#13066)
546
82e1f390
SM
5472012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
550 cl-load-hook where they belong.
551
e1d51545
CY
5522012-12-06 Chong Yidong <cyd@gnu.org>
553
554 * ffap.el (ffap-replace-file-component): Fix typo.
555
ef54d315
SM
5562012-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
557
558 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
559 fix open-paren-like token test (bug#12785).
560
52d129cd
GM
5612012-12-04 Glenn Morris <rgm@gnu.org>
562
563 * mail/rmailsum.el (rmail-new-summary): Tweak for
564 rmail-maybe-display-summary changing buffer. (Bug#13066)
565
68bf4e09
JL
5662012-12-03 Juri Linkov <juri@jurta.org>
567
568 * info.el (Info-fontify-node): Don't hide the last newline.
569 (Bug#12272)
570
ff3d86d0
LL
5712012-12-01 Leo Liu <sdl.web@gmail.com>
572
573 * files.el (dir-locals-read-from-file): Check file non-empty
574 before reading. (Bug#13038)
575
6247eff5
GM
5762012-11-28 Glenn Morris <rgm@gnu.org>
577
578 * jka-cmpr-hook.el (jka-compr-get-compression-info):
579 Remove any version extension before checking filename. (Bug#13006)
580 (jka-compr-compression-info-list): Belated :version bump.
581
a5bf43ba
CY
5822012-11-28 Chong Yidong <cyd@gnu.org>
583
8ecba97d
CY
584 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
585
a5bf43ba
CY
586 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
587 (buffer-menu): Doc fix (Bug#12294).
588
34755291
RW
5892012-11-27 Roland Winkler <winkler@gnu.org>
590
591 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
592 of diary-show-all-entries in the diary buffer (Bug#12994).
593
c2f5b60a
MA
5942012-11-27 Michael Albinus <michael.albinus@gmx.de>
595
596 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
597 "<STDIN>". This is binary safe.
598
369f945d
SM
5992012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * textmodes/table.el (table-insert): Don't use `symbol-name' on
602 lexically scoped variables (bug#13005).
603
999e745e 6042012-11-26 Glenn Morris <rgm@gnu.org>
98f99594 605
999e745e
GM
606 * vc/vc-hooks.el (vc-mistrust-permissions):
607 Default to t, to avoid data-loss. (Bug#11490)
98f99594 608
207cb73c
FEG
6092012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
610
999e745e
GM
611 * progmodes/python.el (python-indent-guess-indent-offset):
612 If indentation is guessed make python-indent-offset buffer-local.
613
207cb73c 614 Fix Imenu regression.
999e745e
GM
615 * progmodes/python.el (python-nav-beginning-of-defun):
616 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
617 (python-imenu-prev-index-position): New function.
618
33a488e4
EZ
6192012-11-26 Eli Zaretskii <eliz@gnu.org>
620
621 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
622
623 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 624 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 625
50207191
GM
6262012-11-26 Glenn Morris <rgm@gnu.org>
627
628 * hippie-exp.el (hippie-expand-try-functions-list):
629 Re-autoload it. (Bug#12982)
630
2147c6ab
EZ
6312012-11-25 Eli Zaretskii <eliz@gnu.org>
632
369f945d
SM
633 * descr-text.el (describe-char-padded-string):
634 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 635
58b1ae1e
AS
6362012-11-24 Andreas Schwab <schwab@linux-m68k.org>
637
638 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
639 and obsoletion message.
640
35a10516
SM
6412012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
642
643 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
644 the constructs to keep outside of the `cl-block' (bug#12977).
645
0c5ef133
CY
6462012-11-24 Chong Yidong <cyd@gnu.org>
647
648 * mouse.el (mouse-drag-line): Even if the line is not draggable,
649 keep reading until we get the up-event anyway, in order to process
650 the up-event for mouse-1-click-follows-link (Bug#12971).
651
002c019c
SM
6522012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
655 lexical-binding (bug#12938).
656
977f9325
WJ
6572012-11-23 Wolfgang Jenkner <wjenkner@inode.at>
658
659 * image-mode.el (image-transform-check-size): Use assertions only
660 for images of type imagemagick.
661
662 Otherwise no error, image-transform-fit-to-{width,height} is
663 silently ignored, as before. Doc fix.
664
bccffa83
CY
6652012-11-23 Chong Yidong <cyd@gnu.org>
666
667 * faces.el (color-defined-p): Doc fix (Bug#12853).
668
61a2a122
JL
6692012-11-23 Juri Linkov <juri@jurta.org>
670
671 * dired.el (dired-mark): Add optional arg `interactive'.
672 Check for `use-region-p' if `interactive' is non-nil.
673 (dired-unmark, dired-flag-file-deletion): Add optional arg
674 `interactive'. Call `dired-mark' with the arg `interactive'.
675 (Bug#10624)
676
cc4c01bd
JL
6772012-11-23 Juri Linkov <juri@jurta.org>
678
679 * wdired.el: Revert 2012-10-17 change partly and replace it with
680 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
681 (wdired-finish-edit): Add marks for new file names to
682 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
683 after `revert-buffer'.
684 (wdired-do-renames): Remove calls to `dired-remove-file',
685 `dired-add-file', `dired-add-entry'. (Bug#11795)
686
b03aabda
AM
6872012-11-21 Alan Mackenzie <acm@muc.de>
688
dc310ed0
AM
689 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
690
b03aabda
AM
691 Fix bugs in the state cache. Enhance a debugging mechanism.
692 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
693 "brace at column zero" strategy for C++.
694 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
695 (c-parse-state-point): New variable.
696 (c-record-parse-state-state): Record old parse state with
697 `copy-tree'. Record previous value of point.
698 (c-debug-parse-state-double-cons): New debugging function.
699 (c-debug-parse-state): Call the above new function.
700 (c-toggle-parse-state-debug): Output a confirmatory message.
701
002c019c
SM
702 * progmodes/cc-mode.el (c-before-change, c-after-change):
703 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
704 `c-after-change'.
705
a16ac13f
DC
7062012-11-20 Daniel Colascione <dancol@dancol.org>
707
002c019c
SM
708 * term/w32-win.el (cygwin-convert-path-from-windows):
709 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
a16ac13f
DC
710 This change is a backport from trunk.
711
7cf95797
EZ
7122012-11-20 Eli Zaretskii <eliz@gnu.org>
713
714 * simple.el (line-move): Don't call line-move-partial if
715 scroll-conservatively is in effect. (Bug#12927)
716
555ccdc2
MA
7172012-11-20 Michael Albinus <michael.albinus@gmx.de>
718
719 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
720 order to distinguish from trunk.
721
bc715d67
SM
7222012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
723
63f25172
SM
724 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
725 non-symbols for compiler macros (yet).
726
93b05041
SM
727 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
728 Fallback on completion-at-point rather than
729 pcomplete-expand-and-complete, and only if pcomplete actually failed.
730 (eshell-cmpl-initialize): Setup completion-at-point.
731
732 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
733
bc715d67
SM
734 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
735
d7f2a65c
MA
7362012-11-19 Michael Albinus <michael.albinus@gmx.de>
737
738 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
739 are remote, check out-of-band property for both.
740
d1c0cddf
SM
7412012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * window.el (switch-to-buffer): Re-add the warning that was lost in the
744 code rewrite.
745
0c93aa38
PE
7462012-11-18 Paul Eggert <eggert@cs.ucla.edu>
747
535efd4a
PE
748 More minor time fixes.
749 * calendar/time-date.el: Commentary fix.
750 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
751 too much other code depends on (0 0) time stamps.
752 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
753 Add a couple of FIXME comments.
754
0c93aa38
PE
755 Minor cleanup for times as lists of four integers.
756 * files.el (dir-locals-directory-cache):
757 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
758 Doc fixes.
759 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
760 * ps-bdf.el (bdf-file-newer-than-time):
761 Process four-integers time stamps, not two. Doc fixes.
762
913c8291
GM
7632012-11-18 Glenn Morris <rgm@gnu.org>
764
765 * image.el (insert-image, insert-sliced-image): Doc fix.
766
ec6f8ce6
CY
7672012-11-17 Chong Yidong <cyd@gnu.org>
768
769 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
770 (Bug#12810).
771
c2d07557
CY
7722012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
773
774 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
775 response when the target file is in a subdirectory (Bug#12757).
776
33f8917c
CY
7772012-11-17 Chong Yidong <cyd@gnu.org>
778
779 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
780
65463c40
GM
7812012-11-17 Glenn Morris <rgm@gnu.org>
782
9a5e2ee3
GM
783 * woman.el (woman-non-underline-faces):
784 * emacs-lisp/cl-lib.el (face-underline-p):
785 Use set-face-underline rather than the alias set-face-underline-p.
786
65463c40 787 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
788 * subr.el (with-output-to-temp-buffer):
789 Add doc xref to with-temp-buffer-window.
65463c40 790
cdc5d88c
SM
7912012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * emacs-lisp/cl-lib.el: Set more meaningful version number.
794
0ff7851c
MR
7952012-11-16 Martin Rudalics <rudalics@gmx.at>
796
797 * window.el (enlarge-window, shrink-window): Don't mention return
798 value in doc-string (Bug#12896).
799 (window--display-buffer): Don't resize frames - it won't work
800 with all window managers and defeat pop-up-frame-alist.
801 (display-buffer-alist): In doc-string explain that CONDITION can
802 be a function and which arguments are passed to it (Bug#12854).
803 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
804 expressions (Bug#12854).
805 (display-buffer): Pass ACTION argument to
806 display-buffer-assq-regexp.
807
dedd1884
GM
8082012-11-16 Glenn Morris <rgm@gnu.org>
809
7c82753d
GM
810 * window.el (fit-frame-to-buffer-bottom-margin)
811 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
812
dedd1884
GM
813 * faces.el (face-underline-p): Use face-attribute-specified-or.
814
662b0ee6
JB
8152012-11-15 Juanma Barranquero <lekktu@gmail.com>
816
817 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
818
eb31fa40
SM
8192012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
820
821 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
822
e2e13f18
GM
8232012-11-15 Glenn Morris <rgm@gnu.org>
824
17c083ac
GM
825 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
826 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
827
bde3c6c0
GM
828 * faces.el (face-underline-p): Doc fix. Handle :underline being
829 things other than `t' (a string, a list).
830 (face-inverse-video-p): Doc fix.
831 (set-face-underline): Rename it back from set-face-underline-p.
832 Doc fix. Allow interactive input of values other than t.
833 (read-face-attribute): Apply formatting to :underline,
834 since like :box and :stipple it can take list values.
835
e2e13f18
GM
836 * term.el (ansi-term): Don't let C-x escape-char binding
837 clobber the more standard C-c binding. (Bug#12842)
838
3a514ab0
SM
8392012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
840
841 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
842 (bug#12879).
843
e0ea8060
GM
8442012-11-14 Glenn Morris <rgm@gnu.org>
845
846 * subr.el (set-temporary-overlay-map): Doc fix.
847
92346275
MR
8482012-11-13 Martin Rudalics <rudalics@gmx.at>
849
850 * window.el (record-window-buffer)
851 (display-buffer-record-window): When copying the markers to
852 window-point preserve window-point-insertion-type. (Bug#12588)
853
7b1bf173
GM
8542012-11-13 Glenn Morris <rgm@gnu.org>
855
856 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
857 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
858 Use new names for hooks rather than obsolete aliases.
859
f8705f6e
SM
8602012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
861
862 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
863
9db94175
WJ
8642012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
865
866 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
867 39 and 49. This fixes bug#12792. Also, treat unimplemented
868 parameters as 0, thereby restoring the behavior of revisions prior
869 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
870
2e6625b5
FEG
8712012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
872
873 Fix end-of-defun misbehavior.
874 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
875 python-beginning-of-defun-function. Handle nested defuns
876 correctly.
877 (python-nav-end-of-defun): Rename from
878 python-end-of-defun-function. Ensure forward movement.
f8705f6e 879 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
880 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
881 parent defuns as soon as possible.
882
24c38527
GM
8832012-11-12 Glenn Morris <rgm@gnu.org>
884
885 * progmodes/flymake.el (flymake-error-bitmap)
886 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
887 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
888
d1e1e53d
DG
8892012-11-12 Dmitry Gutov <dgutov@yandex.ru>
890
891 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
892 backward, always stop at indentation. Reverts the change from
893 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
894
68146aa5
GM
8952012-11-11 Glenn Morris <rgm@gnu.org>
896
a1d3e07e
GM
897 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
898 Add ibuffer-filter-by-derived-mode.
899
84acf328
GM
900 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
901 the same name shadowing each other.
902
38785e75
GM
903 * window.el (with-temp-buffer-window): Doc tweak.
904
57fc0fee
GM
905 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
906
6ba6a3e5
GM
907 * help.el (temp-buffer-max-height):
908 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
909 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
910
e4e46889
LL
9112012-11-10 Leo Liu <sdl.web@gmail.com>
912
913 * ido.el (ido-set-matches-1): Fix split-string args to avoid
914 performance issue. (Bug#12796)
915
19e09879
GM
9162012-11-10 Glenn Morris <rgm@gnu.org>
917
bf67dafa
GM
918 * term.el (term-default-fg-color, term-default-bg-color):
919 Make obsolete, rather than just saying "deprecated" in the doc.
920
19e09879
GM
921 * term.el (term): Rename from `term-face'.
922 (term-current-face, ansi-term-color-vector)
923 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
924 Update all users.
925
d743088d
JD
9262012-11-09 Jan Djärv <jan.h.d@swipnet.se>
927
f8705f6e 928 * server.el (server-create-window-system-frame): Improve comment.
d743088d 929
531bdce6
JD
9302012-11-08 Jan Djärv <jan.h.d@swipnet.se>
931
932 * server.el (server-create-window-system-frame): Handle Nextstep
933 specially (Bug#12780).
934
fedb154e
GM
9352012-11-08 Glenn Morris <rgm@gnu.org>
936
937 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
938 Unautoload, and make obsolete. (Bug#7449)
939
9d9e48d9
CY
9402012-11-08 Chong Yidong <cyd@gnu.org>
941
942 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
943 rename from diff-remove-trailing-whitespace (Bug#12831).
944
32170f7f
SM
9452012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
948 miscompilation of trace.el.
949
26f59676
GM
9502012-11-08 Glenn Morris <rgm@gnu.org>
951
952 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
953
41626722
SM
9542012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
955
956 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
957 (bug#12812).
958
7d806bfe
CY
9592012-11-07 Chong Yidong <cyd@gnu.org>
960
961 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
962 a defcustom with an appropriate :set function.
963 (minibuffer-default--in-prompt-regexps): New function.
964
2ee1d59f
GM
9652012-11-07 Glenn Morris <rgm@gnu.org>
966
031b2ea7
GM
967 * emacs-lisp/cl.el (define-setf-expander, defsetf)
968 (define-modify-macro): Doc fixes.
969
2ee1d59f
GM
970 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
971 (gv-define-simple-setter): Update doc of `fix-return'.
972
d57c286e
SM
9732012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
974
b715ed44
SM
975 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
976 twice when `fix-return' is set (bug#12813).
977
d57c286e
SM
978 * emacs-lisp/cl.el (defsetf): Pass the third arg to
979 gv-define-simple-setter (bug#12812).
980
c9cac599
SM
9812012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
984 (bug#12756).
985
6b3770fb
GM
9862012-11-06 Glenn Morris <rgm@gnu.org>
987
988 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
989
5593ed90
GM
9902012-11-05 Glenn Morris <rgm@gnu.org>
991
992 * emacs-lisp/cl-extra.el (cl-prettyexpand):
993 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
994 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
995 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
996
997 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
998
5c677d44
GM
9992012-11-03 Glenn Morris <rgm@gnu.org>
1000
49138400
GM
1001 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1002 Rename handler properties back from cl-- to cl-. (Bug#12788)
1003
5c677d44
GM
1004 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1005
1d4341f9
EZ
10062012-11-03 Eli Zaretskii <eliz@gnu.org>
1007
1008 * term/pc-win.el: Don't load term/internal from here.
1009
1010 * loadup.el: Load term/internal from here.
1011
12fd5ee1
FEG
10122012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1013
1014 * progmodes/python.el (inferior-python-mode): Fix hang in
1015 jit-lock (Bug#12645).
1016
43bcfda6
MR
10172012-11-03 Martin Rudalics <rudalics@gmx.at>
1018
1019 * window.el (switch-to-visible-buffer)
1020 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1021
b4b096e4
SB
10222012-11-01 Stephen Berman <stephen.berman@gmx.net>
1023
1024 * play/gomoku.el (gomoku-display-statistics): Update mode line
1025 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1026
218e997a
MR
10272012-10-31 Martin Rudalics <rudalics@gmx.at>
1028
1029 * window.el (quit-restore-window): If the window has been
1030 created on an existing frame and ended up as the sole window on
1031 that frame, do not delete it (Bug#12764).
1032
b08b6da7
SM
10332012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1034
3618df45
SM
1035 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1036 Rename from sh--inside-arithmetic-expression, handle more cases
1037 (bug#11263).
1038
b08b6da7
SM
1039 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1040 (sh-font-lock-open-heredoc): Use it (bug#12770).
1041
4ddedf94
GM
10422012-10-30 Glenn Morris <rgm@gnu.org>
1043
f43a5263
GM
1044 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1045
4ddedf94
GM
1046 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1047
748b0d84
CY
10482012-10-29 Chong Yidong <cyd@gnu.org>
1049
b5dd9a77
CY
1050 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1051 function key is stored in a keyboard macro (Bug#4894).
1052
748b0d84
CY
1053 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1054
e07fcbdc
SM
10552012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1056
d7f9cc85
SM
1057 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1058 header comments".
1059 (diff-unified->context, diff-context->unified)
1060 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1061
c606253c
SM
1062 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1063
e07fcbdc
SM
1064 * files.el (find-alternate-file): Only ask one question (bug#12487).
1065
894b9dd9
CY
10662012-10-29 Chong Yidong <cyd@gnu.org>
1067
1dc2755a
CY
1068 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1069 Suggested by Dan Nicolaescu (Bug#6326).
1070
329c48d8
CY
1071 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1072
2230fa5b 1073 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 1074
e84cad57
CY
1075 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1076
1913c5f5
CY
1077 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1078
894b9dd9
CY
1079 * face-remap.el (face-remap-add-relative): Handle the case where a
1080 face-remapping-alist entry is a cons cell (Bug#12762).
1081
329c48d8
CY
10822012-10-29 Kevin Ryde <user42@zip.com.au>
1083
1084 * woman.el (woman-parse-numeric-value): Handle picas correctly
1085 (Bug#12639).
1086
a0ccbcbd
GM
10872012-10-29 Glenn Morris <rgm@gnu.org>
1088
1089 * emacs-lisp/cl.el (defsetf): Doc fix.
1090
b3871e59
SM
10912012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1092
1093 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1094 syntax to the matching opener, if any (bug#12547).
1095 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1096 matching open as a "case-(".
1097 (sh-smie-rc-grammar): Add a corresponding rule for it.
1098
cd44022c
DH
10992012-10-28 Daniel Hackney <dan@haxney.org>
1100
1101 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1102 "PKGNAME-autoloads.el" in case we created it.
1103
70edffb1
SM
11042012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1105
86957a0c
SM
1106 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1107 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 1108 (completion--twq-all): Disable too-strict assertions.
86957a0c 1109
70edffb1
SM
1110 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1111
d069271c
EZ
11122012-10-27 Eli Zaretskii <eliz@gnu.org>
1113
1114 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1115 text to match the real keybindings.
1116
e2f022a3
JL
11172012-10-27 Juri Linkov <juri@jurta.org>
1118
1119 * wdired.el (wdired-keep-marker-rename): New defcustom.
1120 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1121 (Bug#11795)
1122
1123 * dired.el (dired-keep-marker-rename): Add reference to
1124 `wdired-keep-marker-rename' in the docstring.
1125 Add default character value ?R to display initially in
1126 Customization UI instead of ?@.
1127
df171c23
MR
11282012-10-27 Martin Rudalics <rudalics@gmx.at>
1129
1130 * window.el (display-buffer): In doc-string describe
1131 window-height and window-width alist entries.
1132
1133 * time.el (display-time-world): Restore fit-window-to-buffer
1134 behavior.
1135
05b621a6
CY
11362012-10-27 Chong Yidong <cyd@gnu.org>
1137
1138 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1139
55f197b2
J
11402012-10-26 Jambunathan K <kjambunathan@gmail.com>
1141
1142 * minibuffer.el (completion-category-overrides): New completion
1143 category `bookmark' (bug#11131).
1144
372212df
SM
11452012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1146
150f809c
SM
1147 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1148 Silence bogus compiler warnings for ad-do-it.
1149
372212df
SM
1150 * bookmark.el (bookmark-completing-read): Set the completion category
1151 to `bookmark' (bug#11131).
1152
c5772569
B
11532012-10-26 Bastien <bzg@altern.org>
1154 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * face-remap.el: Use lexical-binding.
1157 (text-scale-adjust): Improve docstring. Use itself for the temporary
1158 overlay-map bindings, so as to repeat the "Use..." message each time.
1159
a2be0357
SM
11602012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1161
63314e57
SM
1162 * emacs-lisp/macroexp.el (macroexp--expand-all):
1163 Obey byte-compile-warning-enabled-p (bug#12486).
1164
a2be0357
SM
1165 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1166 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1167
8c7727c3
MR
11682012-10-26 Martin Rudalics <rudalics@gmx.at>
1169
1170 * mouse.el (mouse-drag-line): Move last form into preceding when
1171 clause (Bug#12731).
1172
1173 * help.el (resize-temp-buffer-window): Fix doc-string.
1174
3f2a848d
DE
11752012-10-25 David Engster <deng@randomsample.de>
1176
1177 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1178 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1179
1180 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1181 always loaded. Require `speedbar' unconditionally.
1182
a7723be6
SM
11832012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1184
aaabfc8b
SM
1185 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1186
414a8595
SM
1187 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1188
fb5b9475
SM
1189 * net/ldap.el (ldap-search-internal): The official ldif format starts
1190 with a "version: 1" header (bug#12724).
1191
a7723be6
SM
1192 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1193 (bug#12721).
1194
a05cb6e3
GM
11952012-10-25 Glenn Morris <rgm@gnu.org>
1196
1197 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1198
3c92de70
SM
11992012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1200
1201 * minibuffer.el (minibuffer-force-complete): Use one more marker
1202 for the temporary-overlay-map command (bug#12619).
1203
a4b6d7c6
CY
12042012-10-24 Chong Yidong <cyd@gnu.org>
1205
1206 * time.el (display-time-world-mode): Derive from special-mode.
1207 (display-time-world): Use display-buffer (Bug#12708).
1208 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1209 (display-time-world-display): Wrap the final delete-char inside
1210 inhibit-read-only.
a4b6d7c6 1211
75e8f9d2
CY
12122012-10-24 Chong Yidong <cyd@gnu.org>
1213
cd996018
CY
1214 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1215 Doc fix.
1216
75e8f9d2
CY
1217 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1218
d92df117
SM
12192012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1220
1221 * minibuffer.el (completion--all-sorted-completions-location): New var.
1222 (completion--cache-all-sorted-completions)
1223 (completion--flush-all-sorted-completions): Use it.
1224 (completion-in-region, completion-in-region--postch)
1225 (completion-at-point, completion-help-at-point): Use markers in
1226 completion-in-region--data (bug#12619).
1227
9c3e39f3
SM
12282012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1229
c79825bd
SM
1230 * progmodes/compile.el (compilation-start): Try to handle common
1231 quoting of `cd' argument (bug#12640).
1232
9c3e39f3
SM
1233 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1234 (bug#12671).
1235
a6709bc7
GM
12362012-10-23 Glenn Morris <rgm@gnu.org>
1237
1238 * progmodes/gud.el (gud-menu-map):
1239 Check gdb-active-process is bound. (Bug#12358)
1240
d1069532
SM
12412012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1242
d20d69c0
SM
1243 * repeat.el (repeat): Set real-this-command (bug#12232).
1244
d1069532
SM
1245 * htmlfontify.el (hfy-post-html-hook):
1246 * filesets.el (filesets-cache-fill-content-hook):
1247 * arc-mode.el (archive-extract-hook):
1248 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1249 * net/rcirc.el (rcirc-sentinel-functions)
1250 (rcirc-receive-message-functions, rcirc-activity-functions)
1251 (rcirc-print-functions):
1252 * net/dbus.el (dbus-event-error-functions):
1253 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1254 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1255 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1256 * term/sun.el (sun-raw-prefix-hooks):
1257 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1258
f7eac6d8
MA
12592012-10-23 Michael Albinus <michael.albinus@gmx.de>
1260
d1069532
SM
1261 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1262 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
1263 (tramp-smb-wait-for-output): Add timeout to
1264 `tramp-accept-process-output' calls.
1265
608d9d7c
CY
12662012-10-23 Chong Yidong <cyd@gnu.org>
1267
49238e7f
CY
1268 * faces.el (font-list-limit): Define as an obsolete variable.
1269
1270 * startup.el (command-line):
1271 * cus-start.el: Don't refer to font-list-limit.
1272
608d9d7c
CY
1273 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1274
4ff5b1b2
SM
12752012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1276
1277 * subr.el (internal-temp-output-buffer-show): Rename from
1278 temp-output-buffer-show, since previously compiled files expect this name.
1279
ea1d4aac
GM
12802012-10-23 Glenn Morris <rgm@gnu.org>
1281
1282 * image.el (image-type-from-file-name): If multiple types match,
1283 return the first one that is supported. (Bug#9045)
1284
eda82a31
GM
12852012-10-22 Glenn Morris <rgm@gnu.org>
1286
1287 * image.el (imagemagick-enabled-types): Doc fix.
1288
4f020bec
TA
12892012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1290
1291 * progmodes/which-func.el (which-func-current): The hash-table may have
1292 an explicit nil (bug#12338).
1293
c77d37e2
SM
12942012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * electric.el (electric-pair-delete-selection-self-insert-function):
1297 Rename to electric-pair-will-use-region, return a boolean.
1298 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1299
1300 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1301 (delete-selection-pre-hook): Use use-region-p.
1302 (delete-selection-self-insert-function): Remove.
1303 (self-insert-command): Obey self-insert-uses-region-functions.
1304 (self-insert-iso): Revert to previous setting, since we don't actually
1305 know what that command does.
1306 (delete-selection-self-insert-hooks): Remove.
1307
b1d39ccc
SL
13082012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1309
1310 * delsel.el (delete-selection-helper): New function, extracted from
1311 delete-selection-pre-hook.
1312 (delete-selection-pre-hook): Use it.
1313 (delete-selection-self-insert-function): New function.
1314 (delete-selection-self-insert-hooks): New hook.
1315 (self-insert-command, self-insert-iso): Use it.
1316 * electric.el (electric-pair-syntax): New function, extracted from
1317 electric-pair-post-self-insert-function.
1318 (electric-pair-post-self-insert-function): Use it.
1319 (electric-pair-delete-selection-self-insert-function): New function.
1320 (electric-pair-mode): Require delsel and setup
1321 delete-selection-self-insert-hooks (bug#11520).
1322
045ef729
CY
13232012-10-20 Chong Yidong <cyd@gnu.org>
1324
4c5d08a8
CY
1325 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1326 no changes to show (Bug#12586).
1327
045ef729
CY
1328 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1329 list explicitly (Bug#12571).
1330
3503c798 13312012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1332
b1d39ccc
SL
1333 * progmodes/flymake.el (flymake-create-temp-inplace):
1334 Use file-truename.
79e1997a 1335
2068905b
EZ
13362012-10-20 Eli Zaretskii <eliz@gnu.org>
1337
1338 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1339
4c9e9550
JB
13402012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1341
1342 * calc/calc-units.el (math-extract-units): Properly extract powers
1343 of units.
1344
1a6e7e38
DC
13452012-10-20 Daniel Colascione <dancol@dancol.org>
1346
1347 * frame.el (make-frame): Set x-display-name as we used to in order
1348 to unbreak creating an X11 frame from an Emacs daemon started
1349 without a display.
1350
8e808318
SM
13512012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1354 the same completion-field (bug@12221).
1355
fb0104da
MR
13562012-10-19 Martin Rudalics <rudalics@gmx.at>
1357
1358 * emacs-lisp/debug.el (debug): Record height of debugger window
1359 also when debugger will be back (Bug#8789).
1360
8c27235e
CY
13612012-10-18 Chong Yidong <cyd@gnu.org>
1362
1363 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1364 Convert to defcustom.
1365 (gdb-get-source-file): Don't bind pop-up-windows.
1366
1367 * progmodes/gud.el (gud-display-line): Don't specially re-use
1368 other frames for the gdb-mi case (Bug#12648).
1369
90eacf99
SM
13702012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1371
aaf0c300
SM
1372 * emacs-lisp/advice.el: Clean up commentary a bit.
1373 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1374 (byte-code-function-p): Never redefine.
1375
90eacf99
SM
1376 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1377
281c9d2b
GM
13782012-10-18 Glenn Morris <rgm@gnu.org>
1379
40714e3d
GM
1380 * dired.el (dired-sort-toggle): Some ls implementations only allow
1381 a single option string. (Bug#12666)
1382
281c9d2b
GM
1383 * minibuffer.el (completion-cycle-threshold): Doc fix.
1384
b278604e
KH
13852012-10-17 Kenichi Handa <handa@gnu.org>
1386
90eacf99
SM
1387 * international/mule.el (set-keyboard-coding-system):
1388 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1389 Supply TERMINAL arg to set-input-meta-mode.
1390
df171c23 13912012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1392
1393 * wdired.el (wdired-old-marks): New variable.
1394 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1395 (wdired-do-renames): Move point with renamed file and don't lose
1396 mark status (Bug#11795).
1397
e5a94ec4
JL
13982012-10-16 Juri Linkov <juri@jurta.org>
1399
1400 * replace.el (query-replace-help): Mention multi-buffer replacement
1401 keys in the Help message. (Bug#12655)
1402
d18a0d24
CY
14032012-10-15 Chong Yidong <cyd@gnu.org>
1404
1405 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1406
8111f5e6
EZ
14072012-10-14 Eli Zaretskii <eliz@gnu.org>
1408
7b9abf24
EZ
1409 * window.el (display-buffer): Doc fix.
1410
8111f5e6
EZ
1411 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1412 Adjust the msft regexp to the output of Studio 2010, and move msft
1413 before edg-1. See the discussion on emacs-devel,
1414 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1415 for the details.
1416
5046ef67
SM
14172012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1418
9760c73c
SM
1419 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1420 (oset): Move uses of object-class-fast macro after its definition.
1421
5046ef67
SM
1422 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1423
0d11ff1c
CY
14242012-10-13 Chong Yidong <cyd@gnu.org>
1425
1426 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1427 enabled, re-enable it (Bug#11963).
1428
88ded8ac
MR
14292012-10-13 Martin Rudalics <rudalics@gmx.at>
1430
1431 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1432 non-nil, restore window configuration (Bug#12623).
1433
bd0ffffd
SM
14342012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1435
06485aa8
SM
1436 * help-fns.el (describe-variable, describe-function-1):
1437 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1438
bd0ffffd
SM
1439 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1440
3a989246
GM
14412012-10-12 Glenn Morris <rgm@gnu.org>
1442
1443 * mail/rmailsum.el (rmail-header-summary):
1444 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1445
55cd00c8
FEG
14462012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1447
bd0ffffd
SM
1448 * progmodes/python.el (python-mode-map):
1449 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1450 (python-nav--up-list): Fix behavior for blocks on the same level.
1451
ac9fc2c7
SM
14522012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1453
d8cc4c00 1454 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1455
5253a5fd
SM
1456 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1457 changes to the format of load-history.
1458
ac9fc2c7
SM
1459 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1460 completion-ignore-case in case that var is buffer-local (bug#12615).
1461
cde44a77
KH
14622012-10-11 Kenichi Handa <handa@gnu.org>
1463
1464 * international/eucjp-ms.el: Re-generated.
1465
4ef4a10d
KH
14662012-10-10 Kenichi Handa <handa@gnu.org>
1467
1468 * select.el (xselect--encode-string): If a coding is specified for
1469 selection, and that is compatible with COMPOUND_TEXT, use it.
1470
9d7f027b
MR
14712012-10-10 Martin Rudalics <rudalics@gmx.at>
1472
1473 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1474 (switch-to-buffer):
1475 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1476
238f3a58
SM
14772012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1478
1479 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1480 Don't document nil as a useful value (bug#12583).
1481
1d51f99c
MA
14822012-10-09 Michael Albinus <michael.albinus@gmx.de>
1483
238f3a58
SM
1484 * net/tramp.el (tramp-debug-message):
1485 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1486 (with-tramp-progress-reporter): Rename from
1487 `tramp-with-progress-reporter'.
238f3a58
SM
1488 (with-tramp-file-property, with-tramp-connection-property):
1489 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1490 `with-connection-property', respectively.
1491
1492 * net/tramp-cache.el: Remove `with-file-property' and
1493 `with-connection-property'.
1494
1495 * net/tramp.el:
1496 * net/tramp-gvfs.el:
1497 * net/tramp-sh.el:
1498 * net/tramp-smb.el: Adapt callees.
1499
1500 * net/trampver.el: Update release number.
1501
26b77251
GM
15022012-10-09 Glenn Morris <rgm@gnu.org>
1503
9a5f296f
GM
1504 * w32-fns.el (set-message-beep):
1505 * term/w32-win.el (set-message-beep): Update declarations.
1506
94c66ce5
SM
15072012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1508
10766e9e
SM
1509 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1510 (mode-line-widen, mode-line-input-method-map)
1511 (mode-line-coding-system-map, mode-line-remote)
1512 (mode-line-unbury-buffer, mode-line-bury-buffer)
1513 (mode-line-next-buffer, mode-line-previous-buffer):
1514 Replace save-selected-window+select-window => with-selected-window.
1515
f754db08
SM
1516 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1517 * progmodes/cc-vars.el (bq-process): Remove, unused.
1518
94c66ce5
SM
1519 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1520
a4ff7fe1
FEG
15212012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1522
1523 Implemented `backward-up-list'-like navigation.
1524 * progmodes/python.el (python-nav-up-list)
1525 (python-nav-backward-up-list): New functions.
1526 (python-mode-map): Define substitute key for backward-up-list to
1527 python-nav-backward-up-list.
1528
24517d82
FEG
15292012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1530
1531 * progmodes/python.el (python-fill-paragraph): Rename from
1532 python-fill-paragraph-function. Fixed fill-paragraph for
1533 decorators (Bug#12605).
1534
51867ae2
FEG
15352012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1536
1537 * progmodes/python.el (python-shell-output-filter): Handle extra
1538 carriage return in OSX (Bug#12409).
1539
a5b773c4
FEG
15402012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1541
1542 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1543 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1544 (python-syntax-propertize-function): Use it.
1545 (python-shell-output-syntax-table): New var.
1546 (inferior-python-mode): Prevent unbalanced parens/quotes from
1547 previous output mess with current input context.
1548
13373538
JB
15492012-10-08 Juanma Barranquero <lekktu@gmail.com>
1550
1551 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1552 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1553
775a132d
MA
15542012-10-08 Michael Albinus <michael.albinus@gmx.de>
1555
1556 * ffap.el (ffap-replace-file-component): Support Tramp file name
1557 syntax, not only ange-ftp's one.
1558
3ab44929
GM
15592012-10-08 Glenn Morris <rgm@gnu.org>
1560
57f1dee4
GM
1561 * cus-start.el (message-log-max): Set :version.
1562
3ab44929
GM
1563 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1564
6a088630
MR
15652012-10-08 Martin Rudalics <rudalics@gmx.at>
1566
1567 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1568 the minibuffer window (Bug#10851).
1569
8dbce54c
FEG
15702012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1571
1572 Enhancements on forward-sexp movement.
1573 * progmodes/python.el (python-nav-beginning-of-statement)
1574 (python-nav-end-of-statement): Return point-marker.
1575 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1576 (python-info-current-symbol)
1577 (python-info-statement-starts-block-p): Rename from
1578 python-info-beginning-of-block-p.
1579 (python-info-statement-ends-block-p): Rename from
1580 python-info-end-of-block-p.
1581 (python-info-beginning-of-statement-p)
1582 (python-info-end-of-statement-p)
1583 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1584 New functions.
1585
5acd2b3e
SM
15862012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1587
1588 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1589 frame-selected-windows.
1590
e08348a0
DC
15912012-10-08 Daniel Colascione <dancol@dancol.org>
1592
1593 * battery.el (battery-status-function): Check for
1594 w32-battery-status itself, not system-time windows-nt.
1595
1596 * frame.el: Require cl-lib.
1597 (display-format-alist): New variable mapping frame types to
1598 functions that initialize them.
1599 (window-system-for-display): New function: interprets
1600 display-format-alist.
1601 (make-frame-on-display): Remove existing display-selection logic
1602 and just forward to make-frame, which will now DTRT.
1603 (make-frame): Restructure to use window-system-for-display to
1604 figure out how to create a frame on a given display.
1605 (display-mouse-p): Look for frame-type w32, not a particular
1606 system-type.
1607
1608 * loadup.el: Load w32 lisp code when we have the w32 feature.
1609
1610 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1611 system-type windows-nt.
1612
1613 * server.el (server-create-window-system-frame): Look for window
1614 type.
1615 (server-proces-filter): Only force a window system when windows-nt
1616 _and_ w32. Explain why.
1617
1618 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1619 of window systems we configure for the mode.
1620
1621 * startup.el (command-line): Mark window system is initialized
1622 after we've done it.
1623
1624 * common-win.el (x-select-text): Look for w32, not windows-nt.
1625
1626 * ns-win.el: Require cl-lib. Add ourselves to
1627 display-format-alist.
1628 (ns-initialize-window-system): Assert we're not initialized twice.
1629
1630 * w32-win.el: Enable lexical binding; require cl-lib; add
1631 ourselves to display-format-alist.
1632 (w32-handle-dropped-file): Convert incoming dropped files from
1633 Windows paths to Cygwin ones before passing them on to the rest of
1634 Emacs.
1635 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1636 (w32-initialize-window-system): Assert we're not initialized twice.
1637
1638 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1639 (x-initialize-window-system): Assert we're not initialized twice.
1640
1641 * w32-common-fns.el: New File.
1642 (w32-version, w32-using-nt, w32-get-clipboard-data)
1643 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1644 (w32-charset-info-alist, x-last-selected, text)
1645 (x-get-selection-value, x-selection-value): Move here.
1646
1647 * w32-fns.el: Require w32-common-fns.
1648 (w32-version, w32-using-nt, w32-get-clipboard-data)
1649 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1650 (w32-charset-info-alist, x-last-selected, text)
1651 (x-get-selection-value, x-selection-value): Move to
1652 w32-common-fns.
1653
1654 * w32-vars.el:
1655 (w32-allow-system-shell, w32-system-shells): Define only in
1656 non-cygwin case.
1657
795b1482
SM
16582012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1661 (read-passwd): Remove a few more potential sources of leaks.
1662
f27c99dc
FEG
16632012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1664
1665 * progmodes/python.el (inferior-python-mode)
795b1482 1666 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1667 variables copied from parent buffer.
1668
fcacb558
JD
16692012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1670
1671 * term/ns-win.el (ns-read-file-name): Update declaration to match
1672 nsfns.m.
1673 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1674 it is set when font is acted upon.
1675
be0d5bae
FEG
16762012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1677
1678 Enhancements to indentation.
1679 * progmodes/python.el (python-indent-context): Give priority to
1680 inside-string context. Make comments indentation markers.
1681 (python-indent-region): Do not mess with strings, unless it's the
1682 enclosing set of quotes.
1683
13af0d10
SM
16842012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1685
662a9d0e
SM
1686 * window.el (internal--before-save-selected-window)
1687 (internal--after-save-selected-window): New functions extracted from
1688 save-selected-window. Make sure we return the `alist' we construct.
1689 (save-selected-window): Use them.
1690
1691 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1692 Use with-selected-window.
1693
13af0d10
SM
1694 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1695 forms that define macros (bug#12593).
1696
6aa75fb6
KH
16972012-10-07 Kenichi Handa <handa@gnu.org>
1698
13af0d10
SM
1699 * international/mule-conf.el (compound-text-with-extensions):
1700 Add :mime-charset property as x-ctext.
6aa75fb6 1701
78d876b9
SM
17022012-10-07 Stefan Merten <smerten@oekonux.de>
1703
1704 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1705 (rst-indent-literal-normal, rst-indent-literal-minimized)
1706 (rst-indent-comment): Correct :version tag.
557337e9 1707 (rst-official-cvs-rev): Correct version string.
78d876b9 1708
99a1e701
GM
17092012-10-07 Glenn Morris <rgm@gnu.org>
1710
1711 * mail/rmailmm.el (rmail-mime-process-multipart):
1712 Do not confuse a multipart message with an epilogue
1713 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1714
08f18c3d
FEG
17152012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1716
1717 Fix shell output retrieval and comint-prompt-regexp init.
1718 * progmodes/python.el (inferior-python-mode):
1719 (python-shell-make-comint): Fix initialization of
1720 comint-prompt-regexp from copied file local variables.
1721 (python-shell-fetched-lines): Remove var.
1722 (python-shell-output-filter-in-progress): Rename from
1723 python-shell-fetch-lines-in-progress.
1724 (python-shell-output-filter-buffer): Rename from
1725 python-shell-fetch-lines-string.
1726 (python-shell-fetch-lines-filter): Delete function.
1727 (python-shell-output-filter): New function.
1728 (python-shell-send-string-no-output): Use them.
1729
82ed3ab4
GM
17302012-10-07 Glenn Morris <rgm@gnu.org>
1731
1595ecfa
GM
1732 * hi-lock.el (hi-lock-process-phrase):
1733 Try to make it less fragile. (Bug#7161)
1734
82ed3ab4
GM
1735 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1736
f1f4dba0
GM
17372012-10-06 Glenn Morris <rgm@gnu.org>
1738
addc11ed 1739 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1740 non-existent mode `help'.
1741 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1742
460042b8
GM
1743 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1744 (reftex-create-bibtex-footer): Fix custom types.
1745
67667c70
GM
1746 * progmodes/sh-script.el (sh-indent-after-continuation):
1747 Add explicit :group.
1748
18dec750
GM
1749 * textmodes/rst.el (rst-preferred-decorations)
1750 (rst-shift-basic-offset): Clarify obsolescence versions.
1751
d1a1c7e6
GM
1752 * profiler.el (profiler): Add missing group :version tag.
1753 * avoid.el (mouse-avoidance-banish-position):
1754 * proced.el (proced-renice-command):
1755 * calc/calc.el (calc-ensure-consistent-units):
1756 * calendar/icalendar.el (icalendar-import-format-uid):
1757 * net/tramp.el (tramp-save-ad-hoc-proxies):
1758 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1759 * progmodes/flymake.el (flymake-error-bitmap)
1760 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1761 * progmodes/sh-script.el (sh-indent-after-continuation):
1762 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1763 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1764 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1765 (vhdl-array-index-record-field-in-sensitivity-list)
1766 (vhdl-indent-comment-like-next-code-line):
1767 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1768 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1769 (reftex-cite-key-separator, reftex-create-bibtex-header)
1770 (reftex-create-bibtex-footer):
1771 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1772 (rst-indent-literal-normal, rst-indent-literal-minimized)
1773 (rst-indent-comment): Add missing custom :version tags.
1774
ef35abb4
GM
1775 * calendar/timeclock.el (timeclock-modeline-display):
1776 Add missing obsolete alias for renamed user option.
1777
d1aae614
GM
1778 * strokes.el (strokes-modeline-string):
1779 * emulation/crisp.el (crisp-mode-modeline-string):
1780 * eshell/esh-mode.el (eshell-status-in-modeline):
1781 Aliases to defcustoms must come before the defcustom.
1782
f1f4dba0
GM
1783 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1784 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1785 (cal-tex-cursor-week-monday): Doc fixes.
1786 (cal-tex-cursor-week2-summary): Doc fix.
1787 Rename from cal-tex-cursor-week-at-a-glance.
1788
1789 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1790 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1791
1792 * calendar/calendar.el (calendar-mode-map):
1793 Add cal-tex-cursor-week2-summary.
1794
d39109c3
SM
17952012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1796
685f87b0
SM
1797 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1798
d39109c3
SM
1799 * subr.el (read-passwd-map): New var.
1800 (read-passwd): Use `read-string' again.
1801 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1802
5694896d
J
18032012-10-06 Jambunathan K <kjambunathan@gmail.com>
1804
1805 * register.el (append-to-register, prepend-to-register):
1806 Deactivate mark, as does `copy-to-register' (bug#12389).
1807
9414dd8d
CY
18082012-10-06 Chong Yidong <cyd@gnu.org>
1809
1810 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1811
2b89bca4
KH
18122012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1813
1814 * international/characters.el: Fix simple mistake ((car chars) ->
1815 elt), delete duplicated code.
1816
d5acb99a
GM
18172012-10-06 Glenn Morris <rgm@gnu.org>
1818
1819 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1820
123ec157
JS
18212012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1822
1823 * color.el (color-hsl-to-rgb): Fix incorrect results for
1824 small and large hue values. (Bug#12559)
1825
7fa36ccb
FEG
18262012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1827
1828 Enhancements to docstring formatting when filling paragraphs.
1829 * progmodes/python.el (python-fill-docstring-style): Rename from
1830 python-fill-string-style. Added new style.
1831 (python-fill-string): Use new style. Better checks for
1832 docstrings.
1833
d8788e1e
GM
18342012-10-05 Glenn Morris <rgm@gnu.org>
1835
204f3953
GM
1836 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1837
d8788e1e
GM
1838 * color.el (color-name-to-rgb, color-rgb-to-hex)
1839 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1840 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1841 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1842 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1843
8d956cef
GM
1844 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1845
e8757f09 18462012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1847
1848 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1849 to get the correct size across symlinks.
1850
e8757f09
GM
1851 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1852
0e2ae83d
JL
18532012-10-04 Juri Linkov <juri@jurta.org>
1854
1855 * replace.el (query-replace-interactive): Declare obsolete.
1856 (query-replace-read-from): Add the last incremental search string
1857 to the list of default values accessible via M-n.
1858 (map-query-replace-regexp): Use `read-regexp'.
1859 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1860 (map-query-replace-regexp, replace-string, replace-regexp):
1861 Fix docstrings to replace mentions of `query-replace-interactive'
1862 with alternatives. (Bug#12526)
1863
93cacb6d
JL
18642012-10-04 Juri Linkov <juri@jurta.org>
1865
1866 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1867 (dired-pop-to-buffer): Declare obsolete.
1868 (dired-mark-pop-up): Doc fix.
1869
fc345011
FEG
18702012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1871
1872 Allow user to set docstring style for fill-paragraph.
1873 * progmodes/python.el
1874 (python-fill-comment-function, python-fill-string-function)
1875 (python-fill-decorator-function, python-fill-paren-function):
1876 Remove :safe for defcustoms.
1877 (python-fill-string-style): New defcustom
5694896d 1878 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1879 (python-fill-string): Honor python-fill-string-style settings.
1880
6bab5d8b
MR
18812012-10-04 Martin Rudalics <rudalics@gmx.at>
1882
1883 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1884 after setting its buffer (Bug#10805).
1885
a1a9f411
FEG
18862012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1887
1888 Fix cornercase for string syntax.
1889 * progmodes/python.el (python-syntax-propertize-function):
1890 Simplify and enhance the regexp for unescaped quotes. Now it also
1891 matches quotes in weird situations like the single quote in
1892 "something\"'".
1893 (python-syntax-stringify): Simplify num-quotes detecting code.
1894
05e153a6
GM
18952012-10-03 Glenn Morris <rgm@gnu.org>
1896
1897 * help-macro.el (three-step-help):
1898 Revert 2012-09-29 change. (Bug#12567)
1899
2e566ecb
MR
19002012-10-03 Martin Rudalics <rudalics@gmx.at>
1901
96ef9ccd
MR
1902 * menu-bar.el (kill-this-buffer): Don't do anything when
1903 `menu-frame' is not alive or visible (Bug#8184).
1904
2e566ecb
MR
1905 * emacs-lisp/debug.el (debug): When quitting the debugger window
1906 restore current buffer (Bug#12502).
1907
a96e1cb7
CY
19082012-10-02 Chong Yidong <cyd@gnu.org>
1909
5694896d
J
1910 * progmodes/hideif.el (hif-lookup, hif-defined):
1911 Handle semantic-c-takeover-hideif.
a96e1cb7 1912
b3ecad33
PE
19132012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1914
1915 Change sampling interval units from ms to ns.
1916 * profiler.el (profiler-sampling-interval): Change units
1917 from ms to ns, multiplying the default by 1000000 so that
1918 it remains 1 ms.
1919 (profiler-report-cpu-line-format): Give enough room for
1920 the maximum counters on 64-bit hosts.
1921 (profiler-report-render-calltree-1): Call them "CPU samples",
1922 not "Time (ms)", since they are not milliseconds now (and
1923 never really were).
1924
8cb51b66 19252012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1926
5694896d
J
1927 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1928 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1929
fd795bf4
CY
19302012-10-02 Chong Yidong <cyd@gnu.org>
1931
1932 * emacs-lisp/eieio.el: Restore Version header.
1933
fe0a74f9
SM
19342012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1935
6be9197e
SM
1936 * vc/diff-mode.el (diff--auto-refine-data): New var.
1937 (diff-hunk): Use it to delay refinement.
1938 (diff-mode): Remove overlays when we turn off font-lock.
1939
18486139
SM
1940 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1941 (table-initialize-table-fixed-width-mode)
1942 (table-set-table-fixed-width-mode): Remove functions.
1943 (table-command-list): Move initialization into declaration.
1944 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1945 (table-with-cache-buffer): Use `declare'.
1946 (table-span-cell): Simplify via CSE.
1947 (table-fixed-width-mode): Use define-minor-mode.
1948 (table-call-interactively, table-funcall, table-apply): Remove.
1949 (table-function): New function, to replace them.
1950
d83ef976
SM
1951 * bookmark.el (bookmark-search-pattern): Remove var.
1952 (bookmark-read-search-input): Remove function.
1953 (bookmark-bmenu-search): Reimplement using a minibuffer.
1954
cd386662
SM
1955 * faces.el (modeline): Remove obsolete face name.
1956
fe0a74f9
SM
1957 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1958 and give a non-nil default value.
1959 (add-change-log-entry): Simplify accordingly.
1960
9f7b98f8
DG
19612012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1962
1963 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1964 (vc-git-log-edit-toggle-amend): New function.
1965 (vc-git-log-edit-toggle-signoff): New function.
1966 (vc-git-log-edit-mode): New major mode.
1967 (vc-git-log-edit-mode-map): Keymap for it.
1968 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1969
1970 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1971 header names.
1972 (log-edit-toggle-header): New function.
1973 (log-edit-extract-headers): Accept function values in HEADERS alist.
1974
62a81506
CY
19752012-10-01 David Engster <deng@randomsample.de>
1976
1977 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1978 from symbol property and change message to be more consistent with
1979 Emacs proper.
1980 (eieio-describe-generic): Add filename for each implementation.
1981 Fix indices for generic and normal methods.
1982 (eieio-method-def, eieio-class-def): New buttons.
1983 (eieio-help-find-method-definition)
1984 (eieio-help-find-class-definition): New functions.
1985 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1986 class, constructor and method definitions.
1987
1988 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1989 information in symbol property.
1990 (scoped-class): Remove.
1991 (eieio-slot-name-index, call-next-method): Check if it is bound.
1992
19932012-10-01 Leo P. White <lpw25@cam.ac.uk>
1994
1995 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1996 (eieio-custom-mode): New major mode.
1997 (eieio-customize-object): Use it.
1998
19992012-10-01 Eric Ludlam <zappo@gnu.org>
2000
2001 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2002 specifying the expected class, and whether subclassing is allowed.
2003 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2004 (eieio-persistent-validate/fix-slot-value)
2005 (eieio-persistent-slot-type-is-class-p): New functions.
2006 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2007
2008 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2009 Stop using unused publd variable.
2010
2011 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2012 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2013 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2014 (eieio-speedbar-handle-click): Do not specify a class for the
2015 method. Fixes method invocation order problems with EDE.
2016
375e49d4
SM
20172012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2020 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2021
16ce6ccd
KF
20222012-10-01 Karl Fogel <kfogel@red-bean.com>
2023
2024 * bookmark.el (bookmark-version-control): Give tags in the
2025 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2026 (bookmark-write-file): Bind `print-circle' to `t' to allow
2027 circular custom bookmark types. (Bug#12503)
16ce6ccd 2028
19e54a4d
PE
20292012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2030
86ec63ba
PE
2031 Revert the FOLLOW-SYMLINKS change for file-attributes.
2032 * files.el (remote-file-name-inhibit-cache, after-find-file):
2033 * time.el (display-time-file-nonempty-p): Undo last change.
2034
19e54a4d
PE
2035 * profiler.el (profiler-sampling-interval): Change default back to 1.
2036 See Stefan Monnier in
2037 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2038
0478776b
FEG
20392012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2040
2041 Shell output catching a la gud-gdb.
2042 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2043 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2044 New Vars.
0478776b
FEG
2045 (python-shell-fetch-lines-filter): New function.
2046 (python-shell-send-string-no-output): Use them.
2047
c22bac2c
TM
20482012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2049
2050 * profiler.el (profiler-sampling-interval): Rename from
2051 profiler-sample-interval.
2052 (profiler-sampling-interval): Default to 10.
2053 (profiler-find-profile): New command (was profiler-find-log).
2054 (profiler-find-profile-other-window): New command.
2055 (profiler-find-profile-other-frame): New command.
2056 (profiler-profile): Introduce API-level data structure.
2057
e7a2937b
PE
20582012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2059
2060 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2061 * files.el (remote-file-name-inhibit-cache):
2062 * time.el (display-time-file-nonempty-p): Use it.
2063 * files.el (after-find-file): Don't chase links before calling
2064 file-exists-p, as file-exists-p already does the right thing.
2065
4f595e15
RA
20662012-09-30 Ralf Angeli <angeli@caeruleus.net>
2067
2068 Merge from standalone RefTeX repository.
2069
2070 The following ChangeLog entries are shortened versions of the
2071 original ones with file paths adapted. A not so strongly edited
2072 version of the original ChangeLog can be found in the commit log.
2073
2074 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
2075 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2076 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
2077
2078 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
2079 that entries with whitespace at various places are found.
2080 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
2081 Include @String definitions in the resulting bib file. Add header
2082 and footer defined in `reftex-create-bibtex-header' and
2083 `reftex-create-bibtex-footer'.
2084 (reftex-do-citation): Make it possible again to insert
2085 non-existent entries. Save match data when asking for optional
2086 arguments. Return all keys, not just the first one.
2087 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2088 all citations in the same line.
2089 (reftex-parse-bibtex-entry): Accept additional optional argument
2090 `raw' and keep quotes or braces if it is non-nil. Match fields
2091 containing hyphens besides word constituents.
2092 (reftex-get-string-refs): New function.
2093 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2094 and ask if it should be reread in case it did.
2095 (reftex-pop-to-bibtex-entry)
2096 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2097 entries with spaces or tabs in front of arguments.
2098 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
2099 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2100 Match entries containing numbers and symbol constituents.
2101 (reftex-do-citation, reftex-figure-out-cite-format):
2102 Use `reftex-cite-key-separator'.
4f595e15
RA
2103
2104 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2105 (reftex-mouse-view-crossref): Explain why point is set.
2106
2107 * textmodes/reftex-global.el: Whitespace changes.
2108
2109 * textmodes/reftex-index.el: Move provide statement to end of
2110 file.
2111 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2112 (reftex-index-visit-phrases-buffer): Set marker when visiting
2113 buffer. This allows for returning from the phrases file to the
2114 file one was just editing instead of the file where the last
2115 phrases was added from.
2116 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2117 punctuation syntax as it usually is not used as string quote in
2118 TeX-related modes and may occur unmatched. The change also
2119 prevents fontification of quoted content.
2120 (reftex-index-phrases-mode): Use it.
2121
375e49d4
SM
2122 * textmodes/reftex-parse.el (reftex-parse-from-file):
2123 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
2124 (reftex-parse-from-file): Use beginning of match instead of end as
2125 bound.
2126
2127 * textmodes/reftex-ref.el: Adapt creation of
2128 `reftex-<package>-<macro>' functions to new structure of
2129 `reftex-ref-style-alist'.
375e49d4
SM
2130 (reftex-reference): Use `reftex-ref-style-list' function.
2131 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
2132 reference macro if `reftex-ref-macro-prompt' is non-nil.
2133 (reftex-reference): Pass refstyle to `reftex-format-special'.
2134 Determine reference macro by looking at
375e49d4
SM
2135 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2136 Use only one special format function.
4f595e15
RA
2137 (reftex-varioref-vref, reftex-fancyref-fref)
2138 (reftex-fancyref-Fref): Remove definitions. The functions are now
2139 generated from `reftex-ref-style-alist'.
2140 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2141 Remove.
2142 (reftex-format-special): New function.
2143
2144 * textmodes/reftex-sel.el
2145 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2146 of `reftex-ref-style-alist'. Remove code for testing macro type.
2147 (reftex-select-toggle-varioref)
2148 (reftex-select-toggle-fancyref): Remove.
2149 (reftex-select-cycle-ref-style-internal)
2150 (reftex-select-cycle-ref-style-forward)
2151 (reftex-select-cycle-ref-style-backward): New functions.
2152 (reftex-select-label-map): Use `v' and `V' for general cycling
2153 through reference styles. Add `p' for switching between number
2154 and page reference types.
2155
375e49d4
SM
2156 * textmodes/reftex-toc.el (reftex-re-enlarge):
2157 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
2158 the horizontal version throws an error even if the parameter is 0.
2159
2160 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2161 (reftex-plug-into-AUCTeX): Doc fix.
2162 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2163 string. Adapt to new name.
2164 (reftex-ref-style-alist): Change structure so that it is not
2165 possible to use multiple different package names within a style.
375e49d4
SM
2166 Remove the symbols for symbols for macro type distinction.
2167 Add characters for macro selection.
4f595e15
RA
2168 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2169 (reftex-create-bibtex-footer): New variables.
2170 (reftex-format-ref-function): Mention third argument of special
2171 format function.
375e49d4
SM
2172 (reftex-ref-style-alist, reftex-ref-style-default-list):
2173 New variables.
4f595e15
RA
2174 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2175 to new implementation. Mark as obsolete. Add compatibility code
2176 for honoring the variable values in case they are set.
375e49d4
SM
2177 (reftex-cite-format-builtin, reftex-bibliography-commands):
2178 Add support for ConTeXt.
2179 (reftex-format-ref-function, reftex-format-cite-function):
2180 Fix custom type.
4f595e15
RA
2181 (reftex-cite-key-separator): New variable.
2182
2183 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2184 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2185 `reftex-syntax-table' because parens have to retain their paren
2186 syntax in order for parsing of BibTeX entries like @book(...) to
2187 work.
2188 (reftex-in-comment): Do not error out if `comment-start-skip' is
2189 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2190 (reftex-tie-multifile-symbols): Add doc string.
2191 Initialize `reftex-ref-style-list'.
4f595e15
RA
2192 (reftex-untie-multifile-symbols): Add doc string.
2193 (reftex-add-index-macros): Doc fix.
2194 (reftex-ref-style-activate, reftex-ref-style-toggle)
2195 (reftex-ref-style-list): New functions.
2196 (reftex-mode-menu): Use them. Adapt to new structure of
2197 `reftex-ref-style-alist'.
2198 (reftex-select-with-char): Kill the RefTeX Select buffer when
2199 done.
2200 (reftex-remove-if): New function.
2201 (reftex-erase-all-selection-and-index-buffers)
2202 (reftex-mode-menu): Reference styles are now computed from
2203 `reftex-ref-style-alist'. Fix typo.
2204 (reftex-report-bug): New function.
2205 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2206 algorithms with O(n log n). Introduce optional argument SORT (not
2207 yet used).
2208
440ba395
FEG
22092012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2210
2211 Enhancements for triple-quote string syntax.
375e49d4
SM
2212 * progmodes/python.el (python-syntax-propertize-function):
2213 Match both quote cases in one regexp.
440ba395
FEG
2214 (python-syntax-stringify): Handle matches properly.
2215
4c478e6b
JL
22162012-09-30 Juri Linkov <juri@jurta.org>
2217
2218 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2219 to nil around the call to `insert' to prevent
4c478e6b
JL
2220 directory time modification by lock_file. (Bug#2295)
2221 * tar-mode.el (tar-summarize-buffer): Idem.
2222
d80d54b2
JL
22232012-09-30 Juri Linkov <juri@jurta.org>
2224
2225 * facemenu.el (list-colors-sort): Add option "Luminance".
2226 (list-colors-sort-key): Implement it.
2227
2228 * vc/diff-mode.el (diff-refine-removed):
2229 * vc/ediff-init.el (ediff-fine-diff-A):
2230 * vc/smerge-mode.el (smerge-refined-removed):
2231 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2232
d7e642cc
JD
22332012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2234
2235 * term/ns-win.el (x-file-dialog): New function.
2236
ee41332b
JB
22372012-09-30 Juanma Barranquero <lekktu@gmail.com>
2238
2239 * ido.el (ido-max-directory-size): Default to nil; the current
2240 default is small for POSIX systems, and impractical on Windows 7
2241 now that lstat returns directory sizes for NTFS.
2242
5938d519
MR
22432012-09-30 Martin Rudalics <rudalics@gmx.at>
2244
2245 In buffer display functions handle window-height/window-width
2246 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
2247 * window.el (window--display-buffer): New argument ALIST.
2248 Obey window-height and window-width alist entries.
2249 (window--try-to-split-window): New argument ALIST.
2250 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
2251 changed and window-combination-limit equals `window-size'.
2252 (display-buffer-in-atom-window)
2253 (display-buffer-in-major-side-window)
2254 (display-buffer-in-side-window, display-buffer-same-window)
2255 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2256 (display-buffer-pop-up-window, display-buffer-below-selected)
2257 (display-buffer-at-bottom, display-buffer-in-previous-window)
2258 (display-buffer-use-some-window): Adjust all callers of
2259 window--display-buffer and window--try-to-split-window.
2260 (fit-frame-to-buffer): New option.
2261 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2262 is non-nil.
2263 (display-buffer-in-major-side-window): Evaluate window-height /
2264 window-width alist entries.
2265
2266 * help.el (temp-buffer-resize-frames)
2267 (temp-buffer-resize-regexps): Remove options.
2268 (temp-buffer-resize-mode): Adjust doc-string.
2269 (resize-temp-buffer-window): Don't consult
2270 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2271 temp-buffer-resize-frames.
2272
375e49d4
SM
2273 * dired.el (dired-mark-pop-up):
2274 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
2275 entry.
2276
c4c0c2df
CY
22772012-09-30 Chong Yidong <cyd@gnu.org>
2278
48de8b12
CY
2279 * server.el (server-host): Document the security implications.
2280 (server-auth-key): Doc fix.
2281
2282 * startup.el (initial-buffer-choice): Doc fix.
2283
2284 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2285
a97dc380
CY
2286 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2287 restriction change.
2288
d39d3c8e
CY
2289 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2290
c4c0c2df
CY
2291 * help-fns.el (help-fns--obsolete): Fix last change.
2292
98a5e33b
SM
22932012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2294
34cf6f39
SM
2295 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2296 (minor-mode-map-alist): Remove redundant code.
2297
e01c13fe
SM
2298 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2299 visited in a buffer.
2300 (cvs-insert-visited-file): New function.
2301 (find-file-hook): Use it.
2302
2303 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2304
02661b3a
SM
2305 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2306 chose face.
2307 (log-edit-empty-buffer-p): Don't require a space after a header.
2308
43711d4b
SM
2309 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2310
38a30d64
SM
2311 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2312
4ffb41a9
SM
2313 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2314 a proper minor-mode.
2315
98a5e33b
SM
2316 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2317
de82e29b
GM
23182012-09-29 Glenn Morris <rgm@gnu.org>
2319
5cc2e639
GM
2320 * winner.el (winner-mode): Remove variable (let define-minor-mode
2321 handle it).
2322 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2323 Doc fixes.
2324 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2325 (winner-mode): Use define-minor-mode.
2326
7bd302eb
GM
2327 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2328 the full definition in loaddefs, rather than duplicating it.
2329
2923922f 2330 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2331
0e3e4156
GM
2332 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2333 (inferior-lisp-program, inferior-lisp-load-command)
2334 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2335 No need to autoload defcustoms.
0e3e4156 2336
de82e29b
GM
2337 * hippie-exp.el (hippie-expand-try-functions-list)
2338 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2339 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2340 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2341 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2342 * progmodes/vhdl-mode.el (vhdl-line-expand):
2343 Explicitly load hippie-exp, so it does not get autoloaded
2344 while hippie-expand-try-functions-list is let-bound.
2345
e60b51ab
GM
23462012-09-28 Glenn Morris <rgm@gnu.org>
2347
277f0cfa
GM
2348 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2349
e60b51ab
GM
2350 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2351 Only "cl.el" counts as cl these days.
2352
53baf48a
JL
23532012-09-28 Juri Linkov <juri@jurta.org>
2354
2355 Display archive errors in the echo area instead of inserting
2356 to the file buffer.
2357
2358 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2359 to STDERR-TEST that can be a regexp matching a successful output.
2360 Create a temporary file and redirect stderr to it. Search for
2361 STDERR-TEST in the stderr output and display it in the echo area
2362 if no match is found.
2363 (archive-extract-by-file): New function like
2364 `archive-extract-by-stdout' but extracting archives to files
2365 and looking for successful matches in stdout. Function body is
2366 mostly copied from `archive-rar-extract'.
2367 (archive-rar-extract): Use `archive-extract-by-file'.
2368 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2369
9c1228c3
LL
23702012-09-28 Leo Liu <sdl.web@gmail.com>
2371
375e49d4
SM
2372 * pcomplete.el (pcomplete-show-completions):
2373 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2374
9c1228c3
LL
2375 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2376
7f457c06
SM
23772012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2378
3df749b0
SM
2379 * type-break.el: Use lexical-binding.
2380 (type-break-mode): Use define-minor-mode.
2381
7f457c06
SM
2382 * emacs-lisp/pcase.el (pcase--mark-used): New.
2383 (pcase--u1): Use it (bug#12512).
2384
2385 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2386 in load-history with the right file name.
2387
c00ebc98
TH
23882012-09-28 Tassilo Horn <tsdh@gnu.org>
2389
2390 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2391 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2392 (doc-view-get-bounding-box): Make bounding box slicing work for
2393 ODF and DVI documents.
2394
96fb7170
GM
23952012-09-28 Glenn Morris <rgm@gnu.org>
2396
2397 * type-break.el (type-break-mode, type-break-interval)
2398 (type-break-good-rest-interval, type-break-keystroke-threshold):
2399 No need to autoload.
2400 (type-break-good-rest-interval, type-break-keystroke-threshold):
2401 Add :set-after.
2402
5bc93c67
CY
24032012-09-28 Chong Yidong <cyd@gnu.org>
2404
2405 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2406 Add :version tag.
2407
9cad61d6
SM
24082012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2409
e28e67b3 2410 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2411
daee954c
GM
24122012-09-27 Glenn Morris <rgm@gnu.org>
2413
a88324d4
GM
2414 * faces.el (x-display-name): Declare (for without-x builds).
2415
8e5064e5
GM
2416 * linum.el (linum-format): Don't autoload it. Improve :type.
2417
cc1783c2
GM
2418 * progmodes/tcl.el: Don't require outline when compiling.
2419 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2420 * textmodes/sgml-mode.el: Don't require outline when compiling.
2421 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2422
48c339f2
GM
2423 * term.el (term-ansi-reset):
2424 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2425
daee954c
GM
2426 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2427 files for RCS and SCCS. (Bug#9781)
2428
b7f42161
CY
24292012-09-27 Chong Yidong <cyd@gnu.org>
2430
2431 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2432 change; value should be t.
2433
a2e770db
SM
24342012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2435
83600dc8
SM
2436 * image-mode.el: Use lexical-binding.
2437 (image-mode-winprops): Use t to stand for the window of
2438 a buffer that's not displayed.
2439 * doc-view.el (doc-view-new-window-function): Handle the new
2440 t in winprops.
2441 (doc-view-enlarge): Make it a real nop if the size is not changed.
2442 (doc-view-display): Handle the case where the buffer is not (yet?)
2443 displayed in any window.
2444 (doc-view-saved-settings): New var.
2445 (doc-view-mode): Use it.
2446 (doc-view-fallback-mode): Set it.
2447
a2e770db
SM
2448 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2449 Set lexical-binding.
2450 (minibuffer-eldef-shorten-default): New var.
2451 (minibuffer-default-in-prompt-regexps): Use it for new default.
2452 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2453
e3b60857
JB
24542012-09-26 Juanma Barranquero <lekktu@gmail.com>
2455
2456 * international/uni-bidi.el:
2457 * international/uni-category.el:
2458 * international/uni-name.el:
2459 * international/uni-numeric.el: Regenerate.
2460
3a880af4
SM
24612012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2462 Stefan Monnier <monnier@iro.umontreal.ca>
2463
2464 * profiler.el: New file.
2465
07b1a5fb
SM
24662012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2467
2468 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2469 (testcover-reinstrument): Simplify with CSE.
2470
42019c2e
JB
24712012-09-26 Juanma Barranquero <lekktu@gmail.com>
2472
2473 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2474
179f044b
WS
24752012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2476
2477 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2478 (verilog-auto-input, verilog-auto-insert-lisp)
2479 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2480 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2481 (verilog-auto-unused, verilog-auto-wire)
2482 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2483 newline. Reported by Andrew Jones.
2484 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2485 Reported by Brad Dobbie.
07b1a5fb
SM
2486 (verilog-batch-delete-trailing-whitespace):
2487 Create verilog-batch-delete-trailing-whitespace.
2488 Reported by Brad Dobbie.
179f044b
WS
2489 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2490 parameters from another module. Reported by Dan Katz.
2491 (verilog-auto, verilog-auto-assign-modport)
2492 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2493 AUTOINOUTMODPORT for UVM interface module shell generation.
2494 Reported by Brad Dobbie.
2495 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2496 standard behavior.
2497 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2498 Reported by Matt Martin.
2499
9c52dd5a
MR
25002012-09-25 Martin Rudalics <rudalics@gmx.at>
2501
2502 * window.el (window--resize-child-windows): When resizing child
2503 windows proportionally, process them in reverse order to
2504 preserve the "when splitting a window the new one gets the odd
2505 line" behavior.
2506 (window--resize-root-window-vertically): When resizing the
2507 minibuffer window try to affect only windows at the bottom of the
2508 frame. (Bug#12419)
2509
863666eb
CY
25102012-09-25 Chong Yidong <cyd@gnu.org>
2511
2512 * subr.el (declare): Doc fix.
2513
2514 * help-fns.el (help-fns--obsolete): Handle macros properly.
2515
59f7af81
CY
25162012-09-25 Chong Yidong <cyd@gnu.org>
2517
2518 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2519 this function obsolete.
2520
2521 * calendar/cal-x.el (calendar-two-frame-setup)
2522 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2523 * calendar/calendar.el (american-calendar, european-calendar)
2524 (calendar-for-loop):
2525 * comint.el (comint-dynamic-simple-complete)
2526 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2527 * desktop.el (desktop-load-default):
2528 * dired-x.el (dired-omit-here-always)
2529 (dired-hack-local-variables, dired-default-directory):
2530 * emacs-lisp/derived.el (derived-mode-class):
2531 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2532 * emacs-lock.el (toggle-emacs-lock):
2533 * epa.el (epa-display-verify-result):
2534 * epg.el (epg-sign-keys, epg-start-sign-keys)
2535 (epg-passphrase-callback-function):
2536 * eshell/esh-util.el (eshell-for):
2537 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2538 (eshell-add-to-window-buffer-names):
2539 * files.el (locate-file-completion):
2540 * imenu.el (imenu-example--create-c-index)
2541 (imenu-example--create-lisp-index)
2542 (imenu-example--lisp-extract-index-name)
2543 (imenu-example--name-and-position):
2544 * international/mule-cmds.el (princ-list):
2545 * international/mule-diag.el (decode-codepage-char):
2546 * international/mule-util.el (detect-coding-with-priority):
2547 * iswitchb.el (iswitchb-read-buffer):
2548 * mail/mailalias.el (mail-complete):
2549 * mail/sendmail.el (mail-sent-via):
2550 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2551 (mouse-major-mode-menu):
2552 * password-cache.el (password-read-and-add):
2553 * pcomplete.el (pcomplete-parse-comint-arguments):
2554 * progmodes/sh-script.el (sh-maybe-here-document):
2555 * replace.el (query-replace-regexp-eval):
2556 * savehist.el (savehist-load):
2557 * simple.el (choose-completion-delete-max-match):
2558 * term.el (term-dynamic-simple-complete):
2559 * vc/ediff-init.el (ediff-check-version):
2560 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2561 * vc/vc.el (vc-diff-switches-list):
2562 * view.el (view-return-to-alist-update): Likewise.
2563
2564 * subr.el (eval-next-after-load, makehash, insert-string)
2565 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2566 mark obsolete.
2567 (mode-line-inverse-video): Variable deleted.
2568
2569 * international/mule-util.el (string-to-sequence): Remove.
2570
2571 * calendar/calendar.el (calendar-version):
2572 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2573 (icalendar-convert-diary-to-ical):
2574 * cus-edit.el (custom-mode):
2575 * ansi-color.el (ansi-color-unfontify-region):
2576 * international/latin1-disp.el (latin1-char-displayable-p):
2577 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2578 * progmodes/which-func.el (which-func-update-1):
2579 Use define-obsolete-function-alias.
59f7af81
CY
2580
2581 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2582 * net/newst-treeview.el (newsticker-groups-filename):
2583 Fix incorrect obsolescence declaration.
59f7af81
CY
2584
2585 * allout.el (allout-passphrase-hint-string): Likewise.
2586 (allout-init): Use a declare form to mark obsolete.
2587
2588 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2589 this applies to functions.
2590
2591 * iswitchb.el (iswitchb-read-buffer): Move code of
2592 iswitchb-define-mode-map here, and delete that obsolete function.
2593
2594 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2595 font-lock-reference-face.
2596
cca96c97
GM
25972012-09-25 Glenn Morris <rgm@gnu.org>
2598
b06eeda8
GM
2599 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2600 Doc fixes.
2601
cca96c97
GM
2602 * eshell/em-term.el (eshell-term-name):
2603 Default to term-term-name. (Bug#12485)
2604
dc4f818b
FEG
26052012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2606
cca96c97
GM
2607 * progmodes/python.el (python-shell-send-buffer): Better handling
2608 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2609
289c24bd
GM
26102012-09-24 Glenn Morris <rgm@gnu.org>
2611
2612 * eshell/esh-cmd.el (eshell-find-alias-function):
2613 Tighten up file-name regexp. (Bug#12499)
2614
8fb8b88f
FEG
26152012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2616
2617 Enhancements for triple-quote string syntax.
2618 * progmodes/python.el (python-quote-syntax): Remove.
2619 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2620 (python-syntax-count-quotes, python-syntax-stringify):
2621 New functions.
8fb8b88f 2622
6c27f0f8
CY
26232012-09-24 Chong Yidong <cyd@gnu.org>
2624
a5f2b6ec
CY
2625 * mail/supercite.el (sc-version): Remove obsolete function.
2626 (sc-describe): Don't mark as obsolete, since it is bound.
2627 (sc-submit-bug-report): Remove.
2628
2629 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2630 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2631 (log-edit-require-final-newline)
2632 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2633
2634 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2635 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2636 * vc/vc.el (vc-checkout-carefully): Likewise.
2637
2638 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2639 (emerge-version): Remove.
2640
2641 * progmodes/compile.el (compile-internal): Remove.
2642 (compilation-parse-errors-function): Fix typo.
2643
2644 * international/mule.el (set-char-table-default): Remove.
2645 (set-coding-priority, make-coding-system, generic-char-p)
2646 (charset-list, charset-bytes, charset-id): Use declare to mark
2647 functions as obsolete.
2648
2649 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2650 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2651 * vc/vc-hooks.el (vc-default-registered): Don't use
2652 vc-master-templates.
2653
07b1a5fb
SM
2654 * font-lock.el (font-lock-reference-face):
2655 Use define-obsolete-variable-alias.
6c27f0f8
CY
2656
2657 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2658 * calendar/calendar.el (calendar-font-lock-keywords):
2659 * calendar/diary-lib.el (diary-font-lock-keywords)
2660 (diary-fancy-font-lock-keywords):
2661 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2662 * textmodes/reftex-index.el (reftex-insert-index):
2663 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2664 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2665 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2666 * progmodes/prolog.el (prolog-font-lock-keywords):
2667 * progmodes/idlwave.el (idlwave-idl-keywords):
2668 * progmodes/ada-mode.el (ada-font-lock-keywords):
2669 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2670
bcc0adbf
GM
26712012-09-24 Glenn Morris <rgm@gnu.org>
2672
2673 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2674
095bb823
FEG
26752012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2676
2677 * progmodes/python.el (python-indent-line): More consistent cursor
2678 movement behavior.
2679
70efc5c9
SM
26802012-09-23 Stefan Merten <smerten@oekonux.de>
2681
2682 * textmodes/rst.el: Fix compiler warning.
2683
2f438239
RW
26842012-09-23 Roland Winkler <winkler@gnu.org>
2685
07b1a5fb
SM
2686 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2687 Transcribe also LaTeX hyphenation.
2f438239
RW
2688 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2689 bibtex-reformat-previous-options.
2690
936ad041
RW
26912012-09-23 Roland Winkler <winkler@gnu.org>
2692
2693 * proced.el (proced-renice-command): New variable.
2694 (proced-marked-processes): New function.
2695 (proced-with-processes-buffer): New macro.
2696 (proced-send-signal): Use them.
2697 (proced-renice): New command bound to r.
2698
6fab0274
RW
26992012-09-23 Roland Winkler <winkler@gnu.org>
2700
2701 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2702 ibuffer-saved-filter-groups has one element, shortcut the call of
2703 completing-read. (Bug#12331)
2704
9a930676
CY
27052012-09-23 Chong Yidong <cyd@gnu.org>
2706
2707 * bindings.el (mode-line-toggle-read-only):
2708 * bs.el (bs-toggle-readonly):
2709 * buff-menu.el (Buffer-menu-toggle-read-only):
2710 * dired.el (dired-toggle-read-only):
2711 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2712
d07ff9db
CY
27132012-09-23 Chong Yidong <cyd@gnu.org>
2714
2715 * image.el (image-type-available-p): Adapt to init-image-library
2716 argument changes.
2717
51c4474e
JL
27182012-09-22 Juri Linkov <juri@jurta.org>
2719
2720 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2721 `dired-toggle-read-only'. (Bug#12462)
2722
43bf5e8e
MR
27232012-09-22 Martin Rudalics <rudalics@gmx.at>
2724
2725 * subr.el (temp-output-buffer-show): New function.
2726 (with-output-to-temp-buffer): Call temp-output-buffer-show
2727 instead of internal-temp-output-buffer-show.
2728
c88b867f
CY
27292012-09-22 Chong Yidong <cyd@gnu.org>
2730
3df47cd5
CY
2731 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2732 (Bug#12462).
2733
c88b867f
CY
2734 * repeat.el (repeat): Doc fix (Bug#12348).
2735
2736 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2737 (Bug#10909).
2738
2739 * simple.el (shell-command-on-region): Doc fix.
3171e303 2740 (read-only-mode): Doc fix.
c88b867f 2741
df9685f3
EZ
27422012-09-22 Eli Zaretskii <eliz@gnu.org>
2743
2744 * emacs-lisp/timer.el (run-with-idle-timer)
2745 (timer-activate-when-idle): Warn against reinvoking an idle timer
2746 from within its own timer action. (Bug#12447)
2747
8e17c9ba
MR
27482012-09-22 Martin Rudalics <rudalics@gmx.at>
2749
2750 * cus-start.el (window-combination-limit): Add new optional
2751 values.
2752 * window.el (temp-buffer-window-show)
2753 (window--try-to-split-window): Handle new values of
2754 window-combination-limit (Bug#1806).
2755 (split-window): Test window-combination-limit for t instead of
2756 non-nil.
2757 (display-buffer-at-bottom): New buffer display action function.
2758 * help.el (temp-buffer-resize-regexps): New option.
2759 (temp-buffer-resize-mode): Rewrite doc-string.
2760 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2761 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2762
48a24920
SM
27632012-09-22 Stefan Merten <smerten@oekonux.de>
2764
70efc5c9 2765 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2766 (rst-official-version)
2767 (rst-package-emacs-version-alist): Sync with official version
2768 V1.4.0.
2769 (rst-faces-defaults, rst-set-level-default)
2770 (rst-level-face-max, rst-level-face-base-color)
2771 (rst-level-face-base-light, rst-level-face-format-light)
2772 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2773 (rst-adornment-faces-alist): Match new setup.
2774 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2775 (rst-level-5, rst-level-6): New faces.
2776
82f8cd94
CY
27772012-09-22 Chong Yidong <cyd@gnu.org>
2778
2779 * simple.el (undo): Handle indirect buffers (Bug#8207).
2780
acfa068f 27812012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2782
2783 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2784 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2785 (ido-set-matches-1): Use it. (Bug#2042)
2786
acfa068f 27872012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2788
2789 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2790 Fix 2011-05-17 change. (Bug#12418)
2791
acfa068f 27922012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2793
2794 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2795
acfa068f 27962012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2797
2798 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2799 Be more robust about locating simple.el.
2800
acfa068f 28012012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2802
2803 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2804
acfa068f
CY
28052012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2806
2807 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2808
41a97e6f
JL
28092012-09-20 Juri Linkov <juri@jurta.org>
2810
eb2deaff
JL
2811 * replace.el (query-replace-read-from): Use `read-regexp' instead
2812 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2813 (occur-read-primary-args): Use `read-regexp' instead of
2814 `read-string'.
2815 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2816 `read-from-minibuffer'.
2817 * isearch.el (isearch-occur): Use `read-regexp' instead of
2818 `read-string'.
2819 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2820 `read-from-minibuffer'.
2821 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2822 of `read-string'. (Bug#7567)
2823
5825610b
JL
2824 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2825 and allow accepting a list of strings prepended to a list of
2826 standard default values. Doc fix. (Bug#12321)
2827
eebbf404
JL
2828 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2829
41a97e6f
JL
2830 * replace.el (read-regexp): Don't add ": " when PROMPT already
2831 ends with a colon and space. (Bug#12321)
2832
c9e452d3
TH
28332012-09-20 Tassilo Horn <tsdh@gnu.org>
2834
2835 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2836 error.
2837
ee97deee
SM
28382012-09-20 Stefan Merten <smerten@oekonux.de>
2839
70efc5c9 2840 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2841 Fixes feature request bug#11711.
2842 (rst-mode): Create `imenu-create-index-function'.
2843 (rst-get-stripped-line): Delete after refactoring.
2844 (rst-section-tree, rst-section-tree-rec)
2845 (rst-section-tree-point): Refactor and document properly.
2846 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2847 (rst-imenu-convert-cell, rst-imenu-create-index):
2848 New function.
ee97deee 2849
f490dab9
SM
28502012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2851
95b9712e
SM
2852 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2853 (macroexp--expand-all): Use it.
2854 (macroexp--funcall-and-return): Remove by folding it into its sole
2855 caller (macroexp--warn-and-return).
2856 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2857 Use macroexp--obsolete-warning.
2858
f490dab9
SM
2859 * calc/calc.el: Fix last change by removing the whole chunk, since it
2860 was only needed back when Calc was not bundled.
2861
96e8d411
MR
28622012-09-20 Martin Rudalics <rudalics@gmx.at>
2863
2864 * emacs-lisp/debug.el (debug): Restore assignment to
2865 debugger-old-buffer removed on 2012-09-08.
2866
0876a82d
JL
28672012-09-20 Juri Linkov <juri@jurta.org>
2868
2869 * dired-aux.el (dired-diff): Remove (require 'diff) since
2870 `diff-latest-backup-file' is now autoloaded.
2871
9f7c28f0
CY
28722012-09-20 Chong Yidong <cyd@gnu.org>
2873
2874 * vc/diff.el (diff-latest-backup-file): Autoload.
2875
7a04bee9
SM
28762012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2877
e6f0a80d
SM
2878 * calc/calc.el: Remove redundant autoload shape check.
2879 (sel-mode): Don't defvar.
2880 (calc-get-stack-element): Add `sel-mode' arg instead.
2881 (calc-top, calc-top-list): Pass it this additional argument.
2882 * calc/calc-store.el (calc-store-map):
2883 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2884 (calc-map-equation, calc-outer-product, calc-inner-product):
2885 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2886
7a04bee9
SM
2887 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2888
12734222
JL
28892012-09-19 Juri Linkov <juri@jurta.org>
2890
2891 * dired-aux.el (dired-diff): Add (require 'diff) because
2892 `diff-latest-backup-file' is not autoloaded.
2893 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2894 of `dired-get-filename' to t to not report error when there is
2895 no default file on the current line.
2896
46624b4f
SM
28972012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2898
ce97595b
SM
2899 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2900 macroexp--eval-if-compile.
2901 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2902 (macroexp--expand-all): Use them (bug#12371).
2903
46624b4f
SM
2904 * doc-view.el (doc-view-guess-paper-size)
2905 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2906
db8a5a18
TH
29072012-09-19 Tassilo Horn <tsdh@gnu.org>
2908
2909 New feature: set optimal slice from BoundingBox information.
2910 * doc-view.el (doc-view-mode-map): Add keybinding.
2911 (doc-view-menu): Add menu entry.
2912 (doc-view-set-slice): Adapt docstring.
2913 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2914 (doc-view-scale-bounding-box)
2915 (doc-view-set-slice-from-bounding-box): New functions.
2916 (doc-view-paper-sizes): New defvar.
2917
69f6644c
GM
29182012-09-19 Glenn Morris <rgm@gnu.org>
2919
35f5b19d
GM
2920 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2921 (byte-compile-log-warning): Autoload. (Bug#12371)
2922
69f6644c
GM
2923 * calendar/calendar.el (calendar-american-month-header)
2924 (calendar-european-month-header, calendar-iso-month-header)
2925 (calendar-month-header): New options.
2926 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2927 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2928
e543ae91
JD
29292012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2930
2931 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2932
2fd5e67d
JL
29332012-09-18 Juri Linkov <juri@jurta.org>
2934
2935 * dired-aux.el (dired-diff): Restore original functionality of
2936 getting the default value, but keep new feature of using the
2937 latest existing backup file (`diff-latest-backup-file').
2938
42917e79
JL
29392012-09-18 Juri Linkov <juri@jurta.org>
2940
2941 * dired.el (dired-mark): If the region is active in Transient Mark
2942 mode, mark all files in the active region. Doc fix.
2943 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2944 Doc fix. (Bug#10624)
2945
20f70ede
JL
29462012-09-18 Juri Linkov <juri@jurta.org>
2947
2948 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2949 attributes for M-n are pulled from the file at point.
2950 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2951 Suggested by Drew Adams. (Bug#10624)
2952
32fb8162
DG
29532012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2954
2955 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2956 whitespace after "end".
2957 (ruby-do-end-to-brace): Collapse block to one line if it fits
2958 within fill-column.
2959
37ab5092
MR
29602012-09-18 Martin Rudalics <rudalics@gmx.at>
2961
2962 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2963 value.
2964 (debug): Don't remove debugger window when debugger is expected
2965 to be back.
2966
ed1f0bd3
CY
29672012-09-18 Chong Yidong <cyd@gnu.org>
2968
2969 * custom.el (defface): Doc fix.
2970
2971 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2972
a11035b8
MB
29732012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2974
2975 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2976 to initialize query-on-exit; then test that instead (bug#12288).
2977
64f6a736
SM
29782012-09-17 Stefan Merten <smerten@oekonux.de>
2979
70efc5c9 2980 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2981 (rst-defcustom-testcover, rst-testcover-add-compose)
2982 (rst-testcover-add-1value): New functions.
2983 (rst-portable-mark-active-p): Replace by `use-region-p'.
2984 (rst-update-section, rst-classify-adornment)
2985 (rst-find-title-line): Mark `1value' forms.
2986 (rst-classify-adornment): Remove superfluous form.
2987 (rst-update-section, rst-get-adornments-around)
2988 (rst-adornment-complete-p, rst-get-next-adornment)
2989 (rst-adjust, rst-promote-region)
2990 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2991 (rst-find-pfx-in-region, rst-section-tree-rec)
2992 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2993 (rst-toc-node, rst-toc, rst-forward-section)
2994 (rst-iterate-leftmost-paragraphs)
2995 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2996 (rst-bullet-list-region)
2997 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2998 (rst-compile-find-conf, rst-compile)
2999 (rst-repeat-last-character): Fix style.
3000
580bd868
CY
30012012-09-17 Chong Yidong <cyd@gnu.org>
3002
3003 * comint.el (comint--complete-file-name-data): Don't add a space
3004 if the status is `sole'; that adds a gratuitous space in the
3005 completion-cycling case (Bug#12092).
3006
3007 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3008
69de3ec6
RS
30092012-09-17 Richard Stallman <rms@gnu.org>
3010
0dee970c
RS
3011 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3012 only in the mime-shown mode, not in raw mode.
3013 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3014 mime processing. (Bug#12305)
0dee970c 3015
6b250df6
GM
3016 * mail/rmail.el (rmail-retry-failure):
3017 Turn off mime processing first. (Bug#12037)
acb1c47b 3018
69de3ec6
RS
3019 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3020
d079ee5f
CY
30212012-09-17 Chong Yidong <cyd@gnu.org>
3022
3023 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3024 (shell-dynamic-complete-functions): Convert to defcustom.
3025 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3026
865fe16f
CY
3027 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3028 * comint.el (comint-prompt-read-only):
3029 * custom.el (defcustom):
3030 * hi-lock.el (hi-lock-mode):
3031 * ibuffer.el (ibuffer-formats):
3032 * ielm.el (ielm-prompt-read-only):
3033 * novice.el (disable-command):
3034 * saveplace.el (toggle-save-place):
3035 * speedbar.el (speedbar-supported-extension-expressions):
3036 * startup.el (auto-save-list-file-prefix, init-file-user)
3037 (after-init-hook, inhibit-startup-echo-area-message):
3038 * strokes.el (strokes-help):
3039 * time-stamp.el (time-stamp):
3040 * calendar/calendar.el (calendar, diary-file):
3041 * calendar/diary-lib.el (diary-mail-entries, diary)
3042 (diary-list-entries-hook):
3043 * calendar/holidays.el (holidays, calendar-holidays):
3044 * calendar/lunar.el (lunar-phases):
3045 * calendar/solar.el (sunrise-sunset):
3046 * emulation/edt.el (edt-load-keys):
3047 * emulation/viper.el (viper-mode):
3048 * eshell/em-alias.el (eshell-command-aliases-list):
3049 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3050 * international/ogonek.el (ogonek-information):
3051 * net/tramp-cmds.el (tramp-bug):
3052 * net/quickurl.el (quickurl-reread-hook-postfix):
3053 * play/decipher.el (decipher-font-lock-keywords):
3054 * progmodes/cc-styles.el (c-set-style):
3055 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3056 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3057 * progmodes/octave-mod.el (octave-mode):
3058 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3059 * progmodes/verilog-mode.el (verilog-read-defines):
3060 * textmodes/two-column.el (2C-mode): Likewise.
3061
48093eb9
KY
30622012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3063
3064 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3065 that holds many addresses.
3066
c584eaf9
CY
30672012-09-16 Chong Yidong <cyd@gnu.org>
3068
40d70ecb
CY
3069 * align.el (align-areas): Call the indication function with
3070 positions instead of markers for arguments (Bug#12343).
3071
1667e065
CY
3072 * files.el (parse-colon-path): Use split-string (Bug#12351).
3073
fdc2806d 3074 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 3075 (display-buffer-function): Mark as obsolete.
fdc2806d 3076
f1be615c 3077 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
3078 values similar to font-lock-keywords (Bug#12136).
3079 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
3080 (compilation-error-regexp-alist): Doc fix.
3081
f40a9709
GM
30822012-09-15 Glenn Morris <rgm@gnu.org>
3083
72aa16e1
GM
3084 * version.el (emacs-bzr-version-bzr): New function.
3085 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3086
82375160
GM
3087 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3088 checkouts, check the parent dirstate matches the branch.
3089 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3090 empty string.
3091
f40a9709
GM
3092 * version.el (emacs-bzr-version): Doc fix.
3093 (emacs-bzr-version-dirstate): New function.
3094 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3095 is local try and check that it matches the branch. If not, just
3096 use dirstate information. (Bug#12441)
3097
cb26b7f5
JL
30982012-09-14 Juri Linkov <juri@jurta.org>
3099
3100 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3101 (Bug#12399)
3102
2de39f08
SM
31032012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3104
0fb3cb7c
SM
3105 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3106
2de39f08
SM
3107 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3108 Remove obsolete byte-compiler hack that tried to silence some warnings.
3109 (edebug-submit-bug-report): Remove.
3110 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3111 Remove aliases, use the un-prefixed name instead.
3112 (edebug-pop-to-buffer): Consider other frames.
3113 (edebug-original-read):: Make it more obvious that it's always defined.
3114 (edebug--make-form-data-entry, edebug--form-data-name)
3115 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3116 single-dashed name, and implement with cl-defstruct.
3117 (edebug-set-form-data-entry): Use the standard accessors.
3118 (edebug-make-top-form-data-entry): Use push.
3119 (edebug-no-match): Drop useless `funcall'.
3120 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3121 to functions.
3122 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3123 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3124 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3125 (easy-menu-define, with-custom-print): Remove redundant specs.
3126 (edebug-outside-overriding-local-map)
3127 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3128 (edebug--display): Bind unread-command-events directly to nil rather
3129 than binding it to unread-command-events and later setting it to nil.
3130 (edebug--display): Kill edebug-eval-buffer here...
3131 (edebug--recursive-edit): ...rather than here.
3132 Bind standard-output and standard-input.
3133 (edebug-eval): Check cl-macroexpand-all is fboundp.
3134 (edebug-temp-display-freq-count): Fix last change.
3135
3136 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3137 * subr.el (noreturn, 1value): Add `debug' spec.
3138 * emacs-lisp/advice.el: Require cl-lib.
3139 (ad-copy-tree): Remove, use copy-tree instead.
3140 (ad-dolist): Remove use dolist or cl-dolist instead.
3141 (ad-do-return): Remove, use cl-return instead.
3142 (defadvice): Add `debug' spec.
3143
5b68b333
JL
31442012-09-13 Juri Linkov <juri@jurta.org>
3145
3146 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3147 (Bug#12399)
3148
b9800ec4
GM
31492012-09-13 Glenn Morris <rgm@gnu.org>
3150
6a2e6868
GM
3151 * calc/calc.el (math-compose-expr):
3152 * calc/calc-ext.el (math-compose-expr):
3153 * progmodes/cc-defs.el (cl-macroexpand-all):
3154 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3155 (cl-macroexpand-all): Update declarations.
3156
b9800ec4
GM
3157 * vc/vc.el: No need to require ediff.
3158 (ediff-load-version-control): Declare.
3159 (ediff-vc-internal): Fix declaration.
3160 (vc-version-ediff): Require ediff.
3161
c18e885b
PE
31622012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3163
3164 Use a more backwards-compatible timer format (Bug#12430).
3165 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3166 being right after USECS, as that better supports old code that
3167 inadvisedly looked directly at the timer vector.
3168
d607d303
KH
31692012-09-13 Kenichi Handa <handa@gnu.org>
3170
3171 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3172 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3173 `coding-priority' property of these language environment.
3174
72eac303
PE
31752012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3176
3177 Fix glitches caused by addition of psec to timers (Bug#12430).
3178 * image.el (image-animate-timer):
3179 * time.el (display-time-world-timer):
3180 Use timer--function and timer--args rather than raw access to
3181 timer vector.
3182
2168fe4f
GM
31832012-09-13 Glenn Morris <rgm@gnu.org>
3184
3185 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3186 If not compiling a file, try using load-file-name.
3187
bd8d6108
SM
31882012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3189
c0c54fbd
SM
3190 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3191 Fix last change.
3192 (edebug-update-eval-list): Use `push'.
3193
bd8d6108
SM
3194 * emacs-lisp/edebug.el: Use lexical-binding.
3195 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3196 Mark unused args with underscore.
3197 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3198 (edebug-form-data): Use defvar-local.
3199 (edebug-make-before-and-after-form, edebug-make-after-form):
3200 Use backquote.
3201 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3202 Not dynamically scoped any more.
3203 (edebug--enter-trace): Add arguments `function' and `args'.
3204 Rename from edebug-enter-trace.
3205 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3206 (edebug--update-coverage): Add `after-index' and `value' args.
3207 Rename from edebug-update-coverage.
3208 (edebug-slow-after): Call it accordingly.
3209 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3210 edebug-recursive-edit.
3211 (edebug--display): Call it accordingly. Add args `value',
3212 `offset-index', and `arg-mode'. Rename from edebug-display.
3213 (edebug-debugger, edebug): Call it accordingly.
3214 (edebug-eval-display-list): Use dolist.
3215
a9f9d9de
JL
32162012-09-12 Juri Linkov <juri@jurta.org>
3217
3218 * info.el (Info-search): Don't check for isearch-mode and
3219 isearch-regexp before let-binding search-spaces-regexp to
3220 Info-search-whitespace-regexp.
3221 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3222 search-whitespace-regexp if isearch-lax-whitespace or
3223 isearch-regexp-lax-whitespace is non-nil.
3224 (Info-mode): Don't set local variable search-whitespace-regexp.
3225 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3226
bfeae2cf
SM
32272012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3229 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3230 (debugger-env-macro): Remove support for unread-command-char.
3231
3232 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3233 the temporary map re-appearing on emulation-mode-map-alists.
3234
3235 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3236 since 22.1.
3237
3238 * ehelp.el (with-electric-help): Accept functions in
3239 electric-help-form-to-execute.
3240 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3241 And replace unread-command-char -> unread-command-events.
3242
fbbcaf1b
MA
32432012-09-12 Michael Albinus <michael.albinus@gmx.de>
3244
3245 Sync with Tramp 2.2.6.
3246
3247 * net/tramp.el (tramp-accept-process-output): Don't use
3248 JUST-THIS-ONE in the XEmacs case.
3249
3250 * net/trampver.el: Update release number.
3251
4dece104
MR
32522012-09-12 Martin Rudalics <rudalics@gmx.at>
3253
bfeae2cf
SM
3254 * emacs-lisp/debug.el (debugger-previous-window-height):
3255 New variable.
4dece104
MR
3256 (debug): When debugger-jumping-flag is non-nil try to restore
3257 height of debugger window. (Bug#8789)
3258
45b82ad0
SM
32592012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3260
60c49c0f
SM
3261 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3262 overriding-local-map and pre/post-command-hook here.
3263 (edebug-recursive-edit): Do it here instead (bug#12345).
3264 (edebug-outside-unread-command-char): Remove all uses of
3265 unread-command-char.
3266
45b82ad0
SM
3267 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3268 inhibit-debugger is bound instead.
3269
baa26ea0
BG
32702012-09-11 Bastien Guerry <bzg@gnu.org>
3271
3272 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 3273 (Bug#12346)
baa26ea0 3274
04e8abfa
BG
32752012-09-11 Bastien Guerry <bzg@gnu.org>
3276
96d03571 3277 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 3278 (Bug#12347)
96d03571
BG
3279
32802012-09-11 Bastien Guerry <bzg@gnu.org>
3281
fc0c31f8 3282 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3283
04e082b0
MM
32842012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3285
3286 * progmodes/sql.el: Version 3.1
3287 (sql-db2-escape-newlines): New variable.
3288 (sql-escape-newlines-filter): Use it.
3289
399a361b
JB
32902012-09-10 Juanma Barranquero <lekktu@gmail.com>
3291
3292 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3293
0780c517
DN
32942012-09-10 Dan Nicolaescu <dann@gnu.org>
3295
45b82ad0
SM
3296 * vc/diff-mode.el (diff-mode-menu):
3297 Bind diff-remove-trailing-whitespace.
0780c517 3298
9b851e25
SM
32992012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3302 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3303 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3304 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3305 (eval-defun-2): Remove bogus interactive spec.
3306 (lisp-indent-line): Remove redundant whole-exp code, now done in
3307 indent-according-to-mode.
3308 (save-match-data): Remove redundant indent data.
3309
3310 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3311 Use `declare'.
3312
3231d532
JL
33132012-09-09 Juri Linkov <juri@jurta.org>
3314
3315 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3316 (replace-lax-whitespace, query-replace-regexp)
3317 (query-replace-regexp-eval, replace-regexp): Doc fix.
3318 (perform-replace, replace-highlight): Let-bind
3319 isearch-lax-whitespace to replace-lax-whitespace and
3320 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3321
3322 * isearch.el (isearch-query-replace): Let-bind
3323 replace-lax-whitespace to isearch-lax-whitespace and
3324 replace-regexp-lax-whitespace to
3325 isearch-regexp-lax-whitespace. (Bug#10885)
3326
70fe8236
SM
33272012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3330
8ed43f15
AM
33312012-09-09 Alan Mackenzie <acm@muc.de>
3332
70fe8236
SM
3333 * progmodes/cc-engine.el (c-state-cache-init):
3334 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3335 (c-record-parse-state-state):
3336 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3337
bfabf70a
AS
33382012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3339
3340 * register.el (register-separator): Rename from
3341 separator-register. All uses changed. Doc fix.
3342 (register): Fix version.
3343
011474aa
CY
33442012-09-09 Chong Yidong <cyd@gnu.org>
3345
3346 * replace.el (query-replace-map): Bind four new symbols for
3347 requesting window scrolling.
3348
3349 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3350 query-replace-map (Bug#8948).
3351
3352 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3353
3354 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3355 since they are now in query-replace-map.
3356
3357 * window.el (scroll-other-window-down): Make the arg optional.
3358
a8b7cd8d
CY
33592012-09-09 Chong Yidong <cyd@gnu.org>
3360
3361 * files.el (hack-local-variables-confirm): Use quit-window to kill
3362 the *Local Variables* buffer.
3363
c3268831
DG
33642012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3365
3366 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3367 not just expect to be at its beginning. Adjust callees.
3368 Succeed when do-end block has no space before the pipe character.
3369 (ruby-brace-to-do-end): When the original block is one-liner,
3370 convert to multiline. Reindent the result.
3371
0979429b
J
33722012-09-08 Jambunathan K <kjambunathan@gmail.com>
3373
3374 * register.el (register): New group.
27359e99 3375 (separator-register): New user option.
0979429b
J
3376 (increment-register): Route it to `append-to-register', if
3377 register contains text. Implication is that `C-x r +' can now be
3378 used for appending to a text register (bug#12217).
3379 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3380 `separator-register'.
0979429b 3381
ace2989a
AM
33822012-09-08 Alan Mackenzie <acm@muc.de>
3383
3384 AWK Mode: make auto-newline work when there's "==" in the pattern.
3385 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3386 correctly.
0979429b
J
3387 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3388 Test more rigorously for "=" token.
ace2989a 3389
616c6c36
DG
33902012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3391
0979429b
J
3392 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3393 Only fail when reached LIMIT.
616c6c36 3394
35d98877
CY
33952012-09-08 Chong Yidong <cyd@gnu.org>
3396
3397 * dired.el (dired-mode-map): Don't bind M-=.
3398
3399 * dired-aux.el (dired-diff): Use backup file as default.
3400
1715f2db
DA
34012012-09-08 Drew Adams <drew.adams@oracle.com>
3402
3403 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3404
6dcef6ec
CY
34052012-09-08 Chong Yidong <cyd@gnu.org>
3406
3407 * subr.el (syntax-after, syntax-class): Doc fix.
3408
fa2bcf43
MR
34092012-09-08 Martin Rudalics <rudalics@gmx.at>
3410
3411 * window.el (display-buffer-in-previous-window): New buffer
3412 display action function.
3413
3414 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3415 (debugger-previous-window): New variable.
3416 (debug): Rewrite using display-buffer-in-previous-window,
3417 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3418
daac280a
SM
34192012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3422
9dd40b00
MM
34232012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3424
daac280a
SM
3425 * progmodes/python.el (python-shell-send-string):
3426 When default-directory is remote, create temp file on remote
9dd40b00
MM
3427 filesystem.
3428 (python-shell-send-file): When file is remote, pass local view of
3429 file paths to remote Python interpreter. (Bug#12340)
3430
145823ec
CY
34312012-09-07 Chong Yidong <cyd@gnu.org>
3432
cee2e90d
CY
3433 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3434
0d7eb2ea
CY
3435 * files.el (after-find-file): Don't fail on a read-only buffer if
3436 require-final-newline is `visit' or `visit-save' (Bug#11156).
3437
145823ec
CY
3438 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3439
daac280a
SM
3440 * userlock.el (ask-user-about-supersession-threat):
3441 Use read-char-choice (Bug#12093).
145823ec 3442
74c582e6
CY
34432012-09-07 Chong Yidong <cyd@gnu.org>
3444
e5c2edf7
CY
3445 * subr.el (buffer-narrowed-p): New function.
3446
3447 * ses.el (ses-widen):
3448 * simple.el (count-words--buffer-message):
1f9f395d 3449 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3450
3451 * simple.el (count-words-region): Don't signal an error if there
3452 is a non-nil prefix arg and the mark is not set.
c640e87d 3453
74c582e6
CY
3454 * help.el (describe-key-briefly): Allow the message to be seen
3455 when invoked from the minibuffer (Bug#7014).
3456
d81ceaaf
DG
34572012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3458
3459 * progmodes/ruby-mode.el (ruby-end-of-defun)
3460 (ruby-beginning-of-defun): Simplify, allow indentation before
3461 block beginning and end keywords.
8f06acce
DG
3462 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3463 (ruby-end-of-defun): Expect that the point is at the beginning of
3464 the defun.
d81ceaaf 3465
d458ef98
SM
34662012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3467
3468 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3469 (bug#12367).
3470 (cl--make-usage-args): Strip _ from argument names.
3471
20367d28
RS
34722012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3473
3474 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3475 obsolete alias speedbar-key-map.
3476 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3477 (vhdl-index-menu-init): Don't use obsolete variable
3478 font-lock-maximum-size.
3479
3424a4f6
CY
34802012-09-06 Chong Yidong <cyd@gnu.org>
3481
3482 * frame.el (window-system-version): Mark as obsolete.
3483
fcbfbdea
CY
3484 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3485 of obsolete variable speedbar-key-map.
3486
826b3235
JL
34872012-09-06 Juri Linkov <juri@jurta.org>
3488
3489 * replace.el (replace-lax-whitespace): New defcustom.
3490 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3491 (replace-string, replace-regexp): Mention it in docstrings.
3492 (perform-replace, replace-highlight): Let-bind
3493 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3494 to the values of replace-lax-whitespace and regexp-flag.
3495 Don't let-bind search-whitespace-regexp. (Bug#10885)
3496
3497 * isearch.el (isearch-query-replace): Let-bind
3498 replace-lax-whitespace instead of let-binding
3499 replace-search-function and replace-re-search-function.
3500 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3501 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3502 (isearch-toggle-symbol): Set isearch-regexp to nil
3503 in isearch-word mode (like in isearch-toggle-word).
3504
1ec5e41d
JL
35052012-09-06 Juri Linkov <juri@jurta.org>
3506
3507 * replace.el (replace-search-function)
3508 (replace-re-search-function): Set default values to nil.
3509 (perform-replace): Let-bind isearch-related variables based on
3510 replace-related values, call `isearch-search-fun' and let-bind
3511 the result to `search-function'. Remove code that sets
3512 `search-function' and `search-string' separately for
3513 `delimited-flag'.
3514 (replace-highlight): Add new argument `delimited-flag' and
3515 rename other arguments to the names used in `perform-replace'.
3516 Let-bind `isearch-word' to the argument `delimited-flag'.
3517 (Bug#10885, bug#10887)
3518
0ba2d4b6
DG
35192012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3520
3521 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3522 ruby-beginning-of-indent, simplify, allow all keywords to have
3523 indentation before them.
3524 (ruby-beginning-of-indent): Adjust for above. Search until the
3525 found point is not inside a string or comment.
3526 (ruby-font-lock-keywords): Allow symbols to start with "@"
3527 character, give them higher priority than variables.
3528 (ruby-syntax-propertize-function)
3529 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3530 matchers. Expression expansions are not comments when inside a
3531 string, and there comment syntax status is irrelevant.
3532 (ruby-match-expression-expansion): New function. Check that
3533 expression expansion is inside a string, and it's not escaped.
3534 (ruby-font-lock-keywords): Use it.
3535
ef654460
MR
35362012-09-05 Martin Rudalics <rudalics@gmx.at>
3537
3538 * help.el (temp-buffer-max-height): New default value.
3539 (temp-buffer-resize-frames): New option.
3540 (resize-temp-buffer-window): Optionally resize frame.
3541
3542 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3543 (fit-frame-to-buffer): New function.
3544
7e570fbf 35452012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3546
3547 * emulation/cua-rect.el (cua--init-rectangles):
3548 * textmodes/picture.el (picture-mode-map):
3549 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3550 like forward-char and backward-char. (Bug#12317)
3551
7e570fbf 35522012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3553
3554 * progmodes/flymake.el (flymake-warning-re): New variable.
3555 (flymake-parse-line): Use it.
3556
7e570fbf 35572012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3558
3559 * calendar/holidays.el (holiday-christian-holidays):
3560 Rename an entry. (Bug#12289)
3561
7e570fbf 35622012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3563
3564 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3565 (bug#12222).
3566
972debf2
SM
35672012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * loadup.el: Load macroexp. Remove hack.
3570 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3571 (macroexp--expand-all): Use it to get better warnings.
3572 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3573 (internal-macroexpand-for-load): New functions.
3574 (macroexp--pending-eager-loads): New var.
3575 (emacs-startup-hook): New hack to replace one in loadup.el.
3576 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3577 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3578 (cl-psetf): Simplify.
3579 (cl-defstruct): Add indent rule.
3580
8ce192e3
LI
35812012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3582
3583 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3584 over `user-mail-address' for the SMTP MAIL FROM envelope.
3585 (smtpmail-via-smtp): Ditto.
3586
6578b4d8
DG
35872012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3588
3589 * progmodes/ruby-mode.el: Clean up keybindings.
3590 (ruby-mode-map): Don't bind ruby-electric-brace,
3591 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3592 backward-kill-word, reindent-then-newline-and-indent.
3593 (ruby-mark-defun): Remove.
3594 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3595 (ruby-mode): Set local beginning-of-defun-function and
3596 end-of-defun-function values.
3597
c5e28e39
MR
35982012-09-03 Martin Rudalics <rudalics@gmx.at>
3599
3600 * window.el (temp-buffer-window-setup-hook)
3601 (temp-buffer-window-show-hook): New hooks.
3602 (temp-buffer-window-setup, temp-buffer-window-show)
3603 (with-temp-buffer-window): New functions.
972debf2
SM
3604 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3605 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3606
3607 * help.el (temp-buffer-resize-mode): Fix doc-string.
3608 (resize-temp-buffer-window): New optional argument WINDOW.
3609
3610 * files.el (recover-file, save-buffers-kill-emacs):
3611 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3612
73406194
MA
36132012-09-02 Michael Albinus <michael.albinus@gmx.de>
3614
3615 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3616 remote definition of `default-directory', ensure we can connect.
3617
63dd1c6f
JL
36182012-09-02 Juri Linkov <juri@jurta.org>
3619
3620 Toggle whitespace matching mode with M-s SPC.
3621 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3622
3623 * isearch.el (search-whitespace-regexp): Doc fix.
3624 Remove cons cell customization.
3625 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3626 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3627 New variables.
3628 (isearch-forward, isearch-forward-regexp): Doc fix.
3629 (isearch-toggle-lax-whitespace): New command.
3630 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3631 (re-search-forward-lax-whitespace)
3632 (re-search-backward-lax-whitespace): New functions.
3633 (isearch-whitespace-regexp): Remove function.
3634 (isearch-query-replace): Let-bind replace-search-function and
3635 replace-re-search-function.
3636 (isearch-occur): Let-bind search-spaces-regexp according to the
3637 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3638 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3639 condition for C-q SPC.
3640 (isearch-search-fun-default): Use new functions mentioned above.
3641 (isearch-search-forward, isearch-search-backward): Remove functions.
3642 (isearch-search): Don't let-bind search-spaces-regexp.
3643 (isearch-lazy-highlight-space-regexp): Remove variable.
3644 (isearch-lazy-highlight-lax-whitespace)
3645 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3646 (isearch-lazy-highlight-new-loop): Use them.
3647 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3648
af7dda05
CY
36492012-09-02 Chong Yidong <cyd@gnu.org>
3650
3651 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3652
d67d3afd
GM
36532012-09-02 Glenn Morris <rgm@gnu.org>
3654
3655 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3656
69678719
GM
36572012-09-01 Glenn Morris <rgm@gnu.org>
3658
3659 * term.el: Tidy up menu definitions.
3660 (term-mode-map): Use easymenu for In/Out, Complete menus.
3661 (term-pager-break-map): Initialize in the defvar.
3662 (term-terminal-menu, term-signals-menu): Define with easymenu.
3663 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3664 (term-pager-menu): New, extracted from term-process-pager.
3665 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3666 (term-update-mode-line): Propertize line/char and page items.
3667 (term-process-pager): Move keymap initialization elsewhere.
3668
78dd6ab1
MR
36692012-09-01 Martin Rudalics <rudalics@gmx.at>
3670
3671 * window.el (switch-to-prev-buffer): Handle additional values of
3672 BURY-OR-KILL argument. Don't switch in minibuffer window.
3673 (switch-to-next-buffer): Don't switch in minibuffer window.
3674 (quit-restore-window): New function based on quit-window.
3675 Handle additional values of former KILL argument.
3676 (quit-window): Call quit-restore-window with appropriate
3677 interpretation of KILL argument.
3678 (display-buffer-below-selected): New buffer display action
3679 function.
3680
3d10e134
SM
36812012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * minibuffer.el (completion-at-point-functions): Complete docstring
3684 (bug#12254).
3685
0e23ef9d
PE
36862012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3687
3688 Better seed support for (random).
3689 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3690 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3691 * play/mpuz.el, play/tetris.el, play/zone.el:
3692 * calc/calc-comb.el (math-init-random-base):
3693 * play/blackbox.el (bb-init-board):
3694 * play/life.el (life):
3695 * server.el (server-use-tcp):
3696 * type-break.el (type-break):
3697 Remove unnecessary call to (random t).
3698 * net/sasl.el (sasl-unique-id-function):
3699 Change (random t) to (random), now that the latter is more random.
3700 * play/life.el (life-initialized): Remove no-longer-needed var.
3701
862382df
MR
37022012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3703
3704 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3705 Consider frame's buffer predicate when choosing the buffer.
3706 (Bug#12081)
3707
262a66e1
RS
37082012-08-30 Richard Stallman <rms@gnu.org>
3709
3710 * simple.el (special-mode-map): Delete binding for `z'.
3711
f17e1d00
AS
37122012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3713
3714 * progmodes/compile.el (compilation-always-kill): Doc fix.
3715
24777832
CY
37162012-08-30 Chong Yidong <cyd@gnu.org>
3717
3718 * window.el (display-buffer-reuse-frames): Make the obsolescence
3719 message more informative.
3720
69ba1f04
GM
37212012-08-30 Glenn Morris <rgm@gnu.org>
3722
3723 * paren.el (show-paren-delay):
3724 Add a :set function. Doc fix. (Bug#12297)
3725
f0019ede
MB
37262012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3727
3728 * progmodes/compile.el (compilation-always-kill): New var.
3729 (compilation-start): Use it.
3730
35e62fc9
SM
37312012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3732
af070a1c
SM
3733 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3734 * files.el (read-only-mode): Move to simple.el.
3735
35e62fc9
SM
3736 * files.el (read-only-mode): New minor mode.
3737 (toggle-read-only): Use it and mark obsolete.
3738 (find-file--read-only):
3739 * vc/vc.el (vc-next-action, vc-checkout):
3740 * vc/vc-cvs.el (vc-cvs-checkout):
3741 * obsolete/vc-mcvs.el (vc-mcvs-update):
3742 * ffap.el (ffap--toggle-read-only): Update callers.
3743
c2c43c23
MA
37442012-08-29 Michael Albinus <michael.albinus@gmx.de>
3745
3746 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3747 remote shell scripts.
3748 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3749
3750 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3751 "/usr/local/sbin".
3752
9fba804b
SM
37532012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3756
eada0861 37572012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3758
806f0cc7
LL
3759 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3760 completion-at-point. (Bug#12220)
3761
3bb213b9
LL
3762 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3763
22ab32ef
LL
3764 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3765
eada0861 37662012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3767
19c17fc1
CY
3768 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3769 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3770
eada0861 37712012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3772
3773 * progmodes/hideif.el (hif-compress-define-list):
3774 Fix typo. (Bug#11951)
3775
eada0861 37762012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3777
3778 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3779 buffer local setting.
3780
27d6c5a8
LL
3781 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3782 rcirc-encode-coding-system.
3783
eada0861 37842012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3785
3786 * net/rcirc.el (rcirc-split-message): New function.
3787 (rcirc-send-message): Use it. (Bug#12051)
3788
d44688e4
JL
37892012-08-28 Juri Linkov <juri@jurta.org>
3790
3791 * info.el (Info-fontify-node): Hide empty lines at the end of
3792 the node. (Bug#12272)
3793
34f10d41
MR
37942012-08-27 Drew Adams <drew.adams@oracle.com>
3795
3796 * dired.el (dired-pop-to-buffer): Make window start at beginning
3797 of buffer (Bug#12281).
3798
77f1f99c
CY
37992012-08-26 Chong Yidong <cyd@gnu.org>
3800
3801 * window.el (special-display-regexps, special-display-frame-alist)
3802 (special-display-buffer-names, special-display-function)
3803 (display-buffer-reuse-frames): Mark as obsolete.
3804
3805 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3806
3807 * help.el (help-print-return-message): Don't treat
3808 display-buffer-reuse-frames specially.
3809
d97af5a0
CY
38102012-08-26 Chong Yidong <cyd@gnu.org>
3811
9fba804b
SM
3812 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3813 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3814 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3815 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3816 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3817 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3818 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3819 the functions directly with gdb-display-buffer-other-frame-action.
3820 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3821 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3822 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3823 (gdb-display-registers-buffer): Define directly.
3824 (def-gdb-display-buffer): Macro deleted.
3825 (gdb-display-buffer): Remove second and third args, callers don't
3826 use them. Defer to the default display-buffer behavior, apart
3827 from making windows dedicated.
3828 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3829
3830 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3831
3832 * window.el (display-buffer-pop-up-frame): Handle a
3833 pop-up-frame-parameters alist entry.
3834 (display-buffer): Document it.
3835
dd7ffad6
CY
38362012-08-26 Chong Yidong <cyd@gnu.org>
3837
3838 * isearch.el (search-whitespace-regexp): Make string and nil
3839 values apply to both ordinary and regexp search. Allow a cons
3840 cell value to distinguish between the two.
3841 (isearch-whitespace-regexp, isearch-search-forward)
3842 (isearch-search-backward): New functions.
3843 (isearch-occur, isearch-search-fun-default, isearch-search)
3844 (isearch-lazy-highlight-new-loop): Use them.
3845 (isearch-forward, isearch-forward-regexp): Doc fix.
3846
4c47bd1e
CY
38472012-08-26 Chong Yidong <cyd@gnu.org>
3848
3849 * faces.el (help-argument-name): Always inherit from italic
3850 (Bug#12213).
3851
9aba119d
MR
38522012-08-25 Martin Rudalics <rudalics@gmx.at>
3853
3854 * window.el (window--even-window-heights): Even heights when
3855 WINDOW and the selected window form a vertical combination.
3856 (display-buffer-use-some-window): Provide that window used gets
3857 sized back by quit-window. (Bug#11880) and (Bug#12091)
3858
ca5256ad
PE
38592012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3860
3861 Fix file time stamp problem with bzr and CVS (Bug#12001).
3862 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3863 in the file's time stamp, since the version control system loses
3864 that information.
3865
d1c0d176
JL
38662012-08-22 Juri Linkov <juri@jurta.org>
3867
3868 * info.el (Info-fontify-node): Hide the suffix of the
3869 Info file name in the header line. (Bug#12187)
3870
141562ff
GM
38712012-08-22 Glenn Morris <rgm@gnu.org>
3872
3873 * calendar/cal-tex.el (cal-tex-weekly-common):
3874 Restore leading blank page.
3875
3a21537c 38762012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
3877
3878 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3879 the region under `shift-select-mode'. (Bug#12231)
3880
38812012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3882
3883 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3884 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3885 gives details on why the space is never needed.
3886
ea95074e
MR
38872012-08-22 Martin Rudalics <rudalics@gmx.at>
3888
9fba804b
SM
3889 * window.el (walk-window-tree, window-with-parameter):
3890 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3891 should run on the minibuffer window.
3892 (window-at-side-list): Don't operate on minibuffer window.
3893 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3894 (window--size-ignore): Rename to window--size-ignore-p.
3895 Update callers.
caceae25
MR
3896 (display-buffer-in-atom-window, window--major-non-side-window)
3897 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3898 (delete-side-window, display-buffer-in-side-window):
3899 New functions.
caceae25
MR
3900 (window--side-check, window-deletable-p, delete-window)
3901 (delete-other-windows, split-window): Handle side windows and
3902 atomic windows appropriately.
3903 (window--display-buffer): Call display-buffer-record-window also
3904 when the window buffer did not change.
ea95074e 3905
80a51fa0
CS
39062012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3907
3908 * help-fns.el (help-fns--key-bindings):
3909 Abbreviate non-symbol remap targets. (Bug#12174)
3910
fbb6300b
MR
39112012-08-22 Martin Rudalics <rudalics@gmx.at>
3912
3913 * dired.el (dired-mark-remembered): Don't clobber point.
3914 (Bug#11795)
3915
2b2c0794
GM
39162012-08-22 Glenn Morris <rgm@gnu.org>
3917
3918 * progmodes/bug-reference.el (bug-reference): New custom group.
3919 (bug-reference-bug-regexp): Make it a defcustom.
3920
37219830
DU
39212012-08-22 Daiki Ueno <ueno@unixuser.org>
3922
3923 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3924 (js-paren-indent-offset, js-square-indent-offset)
3925 (js-curly-indent-offset): Add :safe (Bug#12257).
3926
94e0e559
EC
39272012-08-22 Edward O'Connor <hober0@gmail.com>
3928
3929 * json.el (json-key-format): Add error properties.
3930 (json-encode-key): New function.
3931 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3932 Use json-encode-key.
3933
da485f5e
GM
39342012-08-22 Glenn Morris <rgm@gnu.org>
3935
3936 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3937 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3938 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3939 Update for above change.
3940
c6cc78b8
AS
39412012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3942
3943 * cus-face.el (custom-face-attributes): Fix customize type for the
3944 :underline attribute. (Bug#11805)
3945
5481664a
MR
39462012-08-21 Martin Rudalics <rudalics@gmx.at>
3947
3948 * window.el (window-point-1, set-window-point-1): Remove.
3949 (window-in-direction, record-window-buffer)
3950 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3951 (window--state-get-1, display-buffer-record-window):
3952 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3953 window-point and set-window-point respectively.
3954
6d74698e
GM
39552012-08-21 Glenn Morris <rgm@gnu.org>
3956
b7fa2691
GM
3957 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3958 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3959 Use it.
3960
52f56d5a
GM
3961 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3962 (cal-tex-shortday): New function.
3963 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3964 (cal-tex-cursor-filofax-daily): Use the above.
3965
9f1ee09e
GM
3966 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3967 New functions.
3968 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3969 (cal-tex-cursor-filofax-week): Use them.
3970
79858159
GM
3971 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3972 New constants.
3973 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3974 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3975
d346b2b4
GM
3976 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3977 (cal-tex-end-document): Don't rely on buffer name.
3978
b2403709
GM
3979 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3980 Use cal-tex-vspace.
3981 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3982 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3983 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3984 Use cal-tex-arg.
b2403709 3985
1cebb5c0
GM
3986 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3987 (cal-tex-cursor-week, cal-tex-cursor-week2)
3988 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3989 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3990 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3991 (cal-tex-insert-preamble, cal-tex-b-document)
3992 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3993 Improve cal-tex-cmd usage.
3994
c68cd5d4
GM
3995 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3996 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3997 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3998 (cal-tex-weekly-paper): New function.
3999 (cal-tex-cursor-week, cal-tex-cursor-week2)
4000 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4001 (cal-tex-cursor-day): Use it.
4002
9dca4801
GM
4003 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4004 (cal-tex-cursor-filofax-week): Remove leading blank page.
4005
1941e134
GM
4006 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4007 Add autoload cookie. For now at least, don't use color, since
4008 no other cal-tex function does.
4009
6d74698e
GM
4010 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4011 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4012 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4013
64cde199
JL
40142012-08-21 Juri Linkov <juri@jurta.org>
4015
4016 * info.el (Info-file-attributes): New variable.
4017 (info-insert-file-contents): Add file attributes to
4018 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4019 `Info-toc-nodes' when previous modtime of the Info file is less
4020 than new modtime.
4021 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4022 of info.el. (Bug#12230)
4023
32757648
GM
40242012-08-20 Glenn Morris <rgm@gnu.org>
4025
4026 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4027 * calendar/holidays.el (calendar-holiday-list):
4028 Report errors with display-warning rather than beep'n'sleep.
4029
a32fbbcf
MA
40302012-08-20 Michael Albinus <michael.albinus@gmx.de>
4031
4032 * net/tramp.el (tramp-accept-process-output): Accept only output
4033 from PROC. Otherwise, process filters and sentinels might be
4034 confused. (Bug#12145)
4035
a05731a0
CY
40362012-08-20 Chong Yidong <cyd@gnu.org>
4037
4038 * descr-text.el (describe-text-properties-1): Use overlays-in to
4039 report on empty overlays (Bug#3322).
4040
36e8d1eb
GM
40412012-08-20 Glenn Morris <rgm@gnu.org>
4042
3d300447
GM
4043 * mail/rmailout.el (rmail-output-read-file-name):
4044 Trap and report errors in rmail-output-file-alist elements.
4045
36e8d1eb
GM
4046 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4047 since most non-font-lock faces are not also variables).
4048
b96e5814
ER
40492012-08-20 Edward Reingold <reingold@iit.edu>
4050
4051 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4052 New function. (Bug12160)
4053
7cef3569
GM
40542012-08-19 Glenn Morris <rgm@gnu.org>
4055
4056 * mail/rmailout.el (rmail-output-read-file-name):
4057 Fix previous change (when the alist is nil or does not match).
4058
17975d7f
CY
40592012-08-19 Chong Yidong <cyd@gnu.org>
4060
4061 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4062 (Bug#12228).
4063
2170b1bd
CY
40642012-08-18 Chong Yidong <cyd@gnu.org>
4065
4066 * simple.el (yank-handled-properties): New defcustom.
4067 (yank-excluded-properties): Add font-lock-face and category.
4068 (yank): Doc fix.
4069
9fba804b
SM
4070 * subr.el (remove-yank-excluded-properties):
4071 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
4072 and category is now done this way, instead of being hard-coded.
4073 (insert-for-yank-1): Remove font-lock-face handling.
4074 (yank-handle-font-lock-face-property)
4075 (yank-handle-category-property): New function.
4076
ee218151
GM
40772012-08-17 Glenn Morris <rgm@gnu.org>
4078
4079 * mail/rmailout.el (rmail-output-read-file-name):
4080 Check rmail-output-file-alist against the full message body
4081 in the correct rmail buffer. (Bug#12214)
4082
4a6bc3fd
MA
40832012-08-17 Michael Albinus <michael.albinus@gmx.de>
4084
9fba804b
SM
4085 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4086 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 4087
383dcbf9
CY
40882012-08-17 Chong Yidong <cyd@gnu.org>
4089
4090 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4091 font spec, set the font directly (Bug#3228).
4092
998c4a6a
MR
40932012-08-17 Martin Rudalics <rudalics@gmx.at>
4094
4095 * window.el (delete-window): Fix last fix.
4096
52162052
MR
40972012-08-16 Martin Rudalics <rudalics@gmx.at>
4098
4099 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
4100 (window-child, window-child-count, window-last-child)
4101 (window-normalize-window, window-combined-p)
4102 (window-combinations, window-atom-root, window-min-size)
4103 (window-sizable, window-sizable-p, window-size-fixed-p)
4104 (window-min-delta, window-max-delta, window--resizable)
4105 (window--resizable-p, window-resizable, window-total-size)
4106 (window-full-height-p, window-full-width-p, window-body-size)
4107 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4108 (minimize-window, window-deletable-p, delete-window)
4109 (delete-other-windows, set-window-buffer-start-and-point)
4110 (next-buffer, previous-buffer, split-window, balance-windows-2)
4111 (set-window-text-height, window-buffer-height)
4112 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
4113 (truncated-partial-width-window-p): Minor code adjustments.
4114 In doc-strings state whether the argument window has to denote a
85c2386b 4115 live, valid or any window.
52162052 4116
1c308380
PS
41172012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4118
4119 * progmodes/subword.el (subword-forward-function)
4120 (subword-backward-function, subword-forward-regexp)
4121 (subword-backward-regexp): New variables.
4122 (subword-forward, subword-forward-internal, subword-backward-internal):
4123 Use new variables, eg so that different "word" definitions
4124 can be easily used. (Bug#11411)
4125
94c9ece1
SM
41262012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4127
4128 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4129 for composite selectors.
4130 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4131 operation just because we can't find a previous revision.
4132
f2045622
CY
41332012-08-15 Chong Yidong <cyd@gnu.org>
4134
4135 * frame.el (set-frame-font): Accept font objects.
4136
582db660
SM
41372012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4140
2f29c200
WJ
41412012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4142
456e62c2
WJ
4143 * man.el (Man-overstrike-face, Man-underline-face)
4144 (Man-reverse-face): Remove variables.
4145 (Man-overstrike, Man-underline, Man-reverse): New faces.
4146 (Man-fontify-manpage): Use them instead of the variables.
4147 (Man-cleanup-manpage): Comment change.
4148 (Man-ansi-color-map): New variable.
4149 (Man-fontify-manpage): Use it.
4150 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4151
2f29c200
WJ
4152 Implement ANSI SGR parameters 22-27 (bug#12146).
4153 * ansi-color.el (ansi-colors): Doc fix.
4154 (ansi-color-context, ansi-color-context-region): Doc fix.
4155 (ansi-color--find-face): New function.
4156 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4157 Rename the local variable `face' to `codes' since it is now a list of
4158 ansi codes. Doc fix.
4159 (ansi-color-get-face): Remove.
4160 (ansi-color-parse-sequence): New function, derived from
4161 ansi-color-get-face.
4162 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4163 codes 22-27.
4164
b4f5e9df
SM
41652012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * subr.el (read-passwd): Allow use from a minibuffer.
4168
ba025fbd
EZ
41692012-08-14 Eli Zaretskii <eliz@gnu.org>
4170
4171 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4172 inside comments and strings as identifiers.
4173
4174 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4175 expression to evaluate. This allows to evaluate expressions with
4176 embedded whitespace.
4177 (gud-tooltip-tips): Add a blank before the newline in the
4178 message-box text, for the benefit of message-box emulation on
4179 MS-Windows.
4180
4181 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4182 messages from GDB, pop them up in a tooltip to give feedback to
4183 user.
b4f5e9df
SM
4184 (gdb-tooltip-print-1): Quote the expression to evaluate.
4185 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4186 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4187 if the TTY name is nil or empty (which happens when communicating
4188 with the inferior via pipes, e.g. on MS-Windows).
4189 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4190 don't send that to the GUD buffer.
4191
c548f821
GM
41922012-08-14 Glenn Morris <rgm@gnu.org>
4193
4194 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4195 Optimize away setq-default with no args, as for setq. (Bug#12195)
4196
55802e4a
CY
41972012-08-14 Chong Yidong <cyd@gnu.org>
4198
4abcdac8
CY
4199 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4200
55802e4a
CY
4201 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4202 (Bug#12085).
4203
3c3cda1a
GM
42042012-08-14 Glenn Morris <rgm@gnu.org>
4205
4206 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4207
e1873bd0
MA
42082012-08-14 Michael Albinus <michael.albinus@gmx.de>
4209
4210 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4211 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4212 Use cached shell name.
4213
925411b4
FEG
42142012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4215
4216 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4217 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4218
e636fafe
DG
42192012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4220
4221 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4222 (ruby-percent-literal-beg-re): New constant.
4223 (ruby-syntax-general-delimiters-goto-beg): Rename to
4224 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4225 (ruby-syntax-propertize-general-delimiters): Rename to
4226 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4227 popular term. Adjust comments everywhere.
4228 (ruby-syntax-propertize-percent-literal): Only propertize when not
4229 inside a simple string or comment. When the literal is unclosed,
4230 leave the text after it unpropertized.
f063063a
DG
4231 (ruby-syntax-methods-before-regexp): New constant.
4232 (ruby-syntax-propertize-function): Use it to recognize regexps.
4233 Don't look at the text after regexp, just use the whitelist.
e636fafe 4234
e5b19827
AS
42352012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4236
4237 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4238 non-nil always load the compiled file if it exists. (Bug#12197)
4239
a9f6f311
CY
42402012-08-14 Chong Yidong <cyd@gnu.org>
4241
4242 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4243 (hi-lock-set-pattern): When deciding whether to use font lock or
4244 overlays, look at font-lock-mode instead of font-lock-fontified
4245 (Bug#12168).
4246 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4247 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4248
7d806b1e
DU
42492012-08-14 Daiki Ueno <ueno@unixuser.org>
4250
4251 * subr.el (internal--after-with-selected-window): Fix typo
4252 (Bug#12193).
4253
5beed586
FEG
42542012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4255
4256 Use `completion-table-dynamic' for completion functions.
4257 * progmodes/python.el
4258 (python-shell-completion--do-completion-at-point)
e636fafe
DG
4259 (python-shell-completion--get-completions):
4260 Remove functions.
5beed586
FEG
4261 (python-shell-completion-complete-at-point): New function.
4262 (python-completion-complete-at-point): Use it.
4263
92cb3b04
J
42642012-08-13 Jambunathan K <kjambunathan@gmail.com>
4265
4266 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4267 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4268
89660017
SM
42692012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4270
3c98c962
SM
4271 * subr.el (function-get): Refine `autoload' arg so it can also
4272 autoload functions for gv.el (bug#12191).
4273 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4274 autoloads macros.
4275
aa7c6dbe
SM
4276 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4277 Prefer pcase-let over destructuring-bind.
4278 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4279 Also, remove whitespace as we go, rather than after accumulating the
4280 various places.
4281
89660017
SM
4282 * subr.el (internal--before-with-selected-window)
4283 (internal--after-with-selected-window): Fix typo seleted->selected.
4284 (with-selected-window): Adjust callers.
4285 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4286
31cd32c9
BG
42872012-08-13 Bastien Guerry <bzg@gnu.org>
4288
0fcd3d9f 4289 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4290 enhancement. (Bug#12172)
4291
1b15d8ad
AS
42922012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4293
31e54db0
AS
4294 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4295 type 1-6.
4296 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4297 extended headers.
4298
1b15d8ad
AS
4299 * files.el (hack-local-variables-filter): Remove useless eval.
4300
35cb9c06
MR
43012012-08-13 Martin Rudalics <rudalics@gmx.at>
4302
4303 * subr.el (with-selected-window): Fix last change.
4304
1439443b
SM
43052012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * subr.el (internal--before-with-seleted-window)
4308 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4309 (with-selected-window): Use them, to replace dependency on
4310 tty-top-frame.
1439443b 4311
0d9e2599
NN
43122012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4313
4314 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4315 binding for `newline'.
4316 (ruby-move-to-block): When moving backward, stop at block opening,
4317 not indentation.
4318 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4319 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4320 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4321 `ruby-toggle-block'.
4322
ba10c48c
SM
43232012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4324
4325 * ibuffer.el (ibuffer-do-toggle-read-only):
4326 * dired.el (dired-toggle-read-only):
4327 * buff-menu.el (Buffer-menu-toggle-read-only):
4328 * bindings.el (mode-line-toggle-read-only):
4329 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4330
9229c658
AS
43312012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4332
4333 * descr-text.el (describe-char): Put the overlays over the
4334 "displayed as" character.
4335
0fd09128
JB
43362012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4337
4338 * calc/calc-units.el (math-default-units-table): Give an
4339 initial value.
4340 (math-put-default-units): Add options to put composite units and
4341 unit systems in the default units table.
4342 (calc-convert-units): Send composite units to
4343 `math-put-default-units' when appropriate.
4344
9ff9402d 43452012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4346
fbb5e336
GM
4347 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4348
7aacaf15
GM
4349 * tutorial.el (help-with-tutorial):
4350 * emacs-lisp/copyright.el (copyright-update-directory):
4351 * emacs-lisp/autoload.el (autoload-find-generated-file)
4352 (autoload-find-file): Disable local eval: (for insurance).
4353
f40b9f10
GM
4354 * files.el (hack-local-variables-filter): If an eval: form is not
4355 known to be safe, and enable-local-variables is :safe, then ignore
4356 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4357 This is CVE-2012-3479.
f40b9f10 4358
daa9f1a6
SM
43592012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4362 (rx-form): Simplify.
4363
9cd80478
DG
43642012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4365
0d9e2599
NN
4366 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4367 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4368 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4369 (ruby-syntax-propertize-function): Adjust for changes in
4370 `ruby-syntax-propertize-heredoc'.
4371
43722012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4373
9cd80478
DG
4374 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4375 binding (use `M-;' instead).
9cd80478 4376 (ruby-singleton-class-p): New function.
0d9e2599 4377 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4378
d301b413
SM
43792012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4382
1530c98e
CY
43832012-08-10 Chong Yidong <cyd@gnu.org>
4384
4385 * progmodes/python.el (python-shell-get-process-name): Don't mess
4386 with same-window-buffer-names.
4387
4388 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4389 (eshell-remove-from-window-buffer-names): Make obsolete.
4390 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4391 (eshell): Just use pop-to-buffer-same-window instead.
4392
e1293765
CY
43932012-08-10 Chong Yidong <cyd@gnu.org>
4394
4395 * bindings.el: Bind M-= back to count-words-region.
4396
4397 * simple.el (count-words-region): Accept a prefix arg for acting
4398 on the entire buffer.
4399 (count-words--buffer-message): New helper function.
4400
e1894109
SM
44012012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4402
4403 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4404 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4405 (event-start, event-end): Use posn-at-point to return a more
4406 informative posn.
4407 (posnp): New function.
4408 * mouse.el (popup-menu-normalize-position): Use it.
4409
c69f56a2
MY
44102012-08-10 Masatake YAMATO <yamato@redhat.com>
4411
4412 * mouse.el (popup-menu-normalize-position): New function.
4413 (popup-menu): Use `popup-menu-normalize-position' to normalize
4414 the form for POSITION argument.
4415
4416 * term/x-win.el (x-menu-bar-open):
4417 Use the value returend from (posn-at-point) as position
4418 passed to `popup-menu'.
4419
31673780
JB
44202012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4421
4422 * calc/calccomp.el (math-compose-expr): Add extra argument
4423 indicating that parentheses should be put around products in
4424 denominators. Give multiplication precedence over division during
4425 composition.
4426
dab7711b
CY
44272012-08-09 Chong Yidong <cyd@gnu.org>
4428
dee4ef93
CY
4429 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4430 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4431 (Man-untabify-command, manual-program): Convert to defcustom
4432 (Bug#10429).
4433
73e2bbc5
CY
4434 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4435
3e861c8a
CY
4436 * descr-text.el (describe-char): Don't insert extra newlines
4437 (Bug#10127).
4438
a9f5a649
CY
4439 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4440 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4441
dab7711b
CY
4442 * align.el (align-region): Delete temporary markers (Bug#10047).
4443 Plus some code cleanups.
4444
e0cc4efa
FEG
44452012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4446
4447 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4448 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4449 (python-shell-internal-last-output): Use make-local-variable
4450 instead of make-variable-buffer-local.
4451
489af14f
FEG
44522012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4453
4454 * progmodes/python.el: Enhancements to forward-sexp.
4455 (python-nav-forward-sexp): Rename from
4456 python-nav-forward-sexp-function.
c69f56a2
MY
4457 (python-nav--forward-sexp, python-nav--backward-sexp):
4458 New functions.
489af14f 4459
0fc50303
JB
44602012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4461
4462 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4463 modes and simplification modes.
4464
5d65606a
SM
44652012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4466
4467 * delsel.el (delete-selection-pre-hook): Don't propagate the
4468 file-supersession signals (bug#12161).
4469
4250fdf5
SM
44702012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4471
4472 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4473 (cl-map-extents): Add compatibility aliases (bug#12135).
4474
d9f9b465
MA
44752012-08-08 Michael Albinus <michael.albinus@gmx.de>
4476
4477 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4478 tests by `ignore-error'.
4479 (tramp-find-shell): Open also a new shell, when cache is already
4480 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4481
ce0fcefa
JL
44822012-08-08 Juri Linkov <juri@jurta.org>
4483
4484 * bookmark.el: Add `defaults' property to the bookmark record.
4485 (bookmark-current-buffer): Doc fix.
4486 (bookmark-make-record): Add `defaults' property with default values
4487 to the bookmark record.
4488 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4489 with `bookmark-insert-current-bookmark'.
4490 (bookmark-set): Get `defaults' property from the bookmark record
4491 and use it in `read-from-minibuffer'.
4492 (bookmark-insert-current-bookmark): Remove function.
4493
4494 * info.el (Info-bookmark-make-record): Add `defaults' property
4495 with values of canonical Info node name, the current Info file
4496 name and the current Info node name. (Bug#12107)
4497
53fa8652
JL
44982012-08-08 Juri Linkov <juri@jurta.org>
4499
4500 * files.el (basic-save-buffer): Use `buffer-name' as the default
4501 of `read-file-name' when buffer is not visiting a file (bug#12128).
4502
242c0a95
JL
45032012-08-08 Juri Linkov <juri@jurta.org>
4504
4505 * info.el (Info-isearch-search): Doc fix.
4506 (Info-search): Change search-failed message from "initial node" to
4507 "end of node" (bug#12078).
4508 (Info-isearch-search): Change `isearch-string-state' to
4509 `isearch--state-string'.
4510
32ac3a6b
GM
45112012-08-08 Glenn Morris <rgm@gnu.org>
4512
4513 * language/persian.el: Remove file.
f8c1afd5 4514 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4515 * loadup.el: Remove language/persian.
4516
2c2d9c9c
OF
45172012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4518
4519 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4520
2d79ec42
FEG
45212012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4522
3c855b96 4523 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
4524 (python-syntax-context) Rename from python-info-ppss-context.
4525 (python-syntax-context-type): Rename from
4526 python-info-ppss-context-type.
4527 (python-syntax-comment-or-string-p): Rename from
4528 python-info-ppss-comment-or-string-p.
4529
2bd255dd
JB
45302012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4531
4532 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4533
c395097f
AS
45342012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4535
6125983e
AS
4536 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4537 a defcustom that is quoted with backquote.
4538
4250fdf5
SM
4539 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4540 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4541 (math-do-arg-check, math-define-function-body): Use backquote forms.
4542 * calc/calc-ext.el (math-defcache): Likewise.
4543 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4544 * allout.el (allout-new-exposure): Likewise.
4545 * calc/calcalg2.el (math-tracing-integral): Likewise.
4546 * info.el (Info-last-menu-item): Likewise.
4547 * emulation/vip.el (vip-loop): Likewise.
4548 * textmodes/artist.el (artist-funcall): Likewise.
4549 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4550 Construct menu-item directly.
4551
4250fdf5
SM
4552 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4553 Don't declare.
c395097f 4554
5fb50dd3
CY
45552012-08-07 Chong Yidong <cyd@gnu.org>
4556
4557 * simple.el (deactivate-mark): Preserve text properties when
4558 saving the primary selection (Bug#8384).
4559
54eea618
KR
45602012-08-07 Kevin Ryde <user42@zip.com.au>
4561
4562 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4563 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4564 and continue processing (Bug#12110).
4565
638eaeb9
SM
45662012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4567
4568 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4569 syntax-propertize-function (bug#10095).
4570
ea376861
SM
45712012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4572
f91b35be
SM
4573 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4574 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4575 describe-function-1.
4576 (describe-function-1): Use them. Move compiler macro after sig.
4577 (help-fns--compiler-macro): Use function-get. Assume we're already in
4578 standard-output. Adjust layout to new call order.
4579
ea376861
SM
4580 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4581 re-binding a symbol that has a symbol-macro (bug#12119).
4582
d5be7bd0
MB
45832012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4584
4585 * language/persian.el: New file. (Bug#11812)
4586 * loadup.el: Add language/persian.el.
4587
90749b53
CY
45882012-08-06 Chong Yidong <cyd@gnu.org>
4589
4590 * window.el (window--maybe-raise-frame): New function.
4591 (window--display-buffer): Split off from here.
4592 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4593 (display-buffer-pop-up-window, display-buffer-use-some-window):
4594 Obey an inhibit-switch-frame action alist entry.
4595 (display-buffer): Update doc.
4596
4597 * replace.el (occur-after-change-function): Avoid losing focus by
4598 using the inhibit-switch-frame display parameter (Bug#12139).
4599
ba7b0154
FEG
46002012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4601
4602 Make internal shell process buffer names start with space.
4603 * progmodes/python.el (python-shell-make-comint): Add optional
4604 argument INTERNAL.
4605 (run-python-internal): Use it.
4606 (python-shell-internal-get-or-create-process): Check for new
4607 internal buffer names.
4608
5eaeacb5
GM
46092012-08-06 Glenn Morris <rgm@gnu.org>
4610
e296d94b 4611 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4612 Do less getting and setting of environment variables.
4613
b7ccbdc2
CY
46142012-08-05 Chong Yidong <cyd@gnu.org>
4615
777fe95e
CY
4616 * proced.el (proced): Add substitution string to docstring to
4617 trigger autoloading of the proced library on C-h f (Bug#1768).
4618
4250fdf5
SM
4619 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4620 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4621
4622 * imenu.el (imenu-generic-expression): Move documentation here
4623 from imenu--generic-function.
4624 (imenu--generic-function): Refer to imenu-generic-expression.
4625
9e3b7800 46262012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4627
4628 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4629 indentation declaration.
4630 (viper-loop): Add indentation declaration (Bug#7025).
4631
e5d9c0d1
CY
46322012-08-05 Chong Yidong <cyd@gnu.org>
4633
f0422feb
CY
4634 * help-fns.el (describe-variable): Add hyperlink for
4635 directory-local variables files. Improve buffer-local and
4636 permanent-local reporting; suggested by MON KEY (Bug#6644).
4637
4638 * help-mode.el (help-dir-local-var-def): New button type.
4639
e5d9c0d1
CY
4640 * files.el (kill-buffer-hook): Provide a defvar.
4641
a4f2deaa
GM
46422012-08-05 Glenn Morris <rgm@gnu.org>
4643
4644 * eshell/esh-ext.el (eshell/addpath):
4645 Also update eshell-path-env. (Bug#12013)
4646
a9dd5754
CY
46472012-08-05 Chong Yidong <cyd@gnu.org>
4648
a4f2deaa 4649 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4650
d014c740
CY
4651 * fringe.el (fringe-styles): Add docstring.
4652 (fringe--check-mode): New function.
4653 (set-fringe-mode, set-fringe-style): Use it.
4654 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4655
a9dd5754
CY
4656 * files.el (set-auto-mode): Fix invalid setq call.
4657
7c2dc8bd
SM
46582012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * isearch.el: Misc simplification; use defstruct.
4661 (isearch-mode-map): Dense maps now work like sparse ones.
4662 (isearch--state): New defstruct.
4663 (isearch-string-state, isearch-message-state, isearch-point-state)
4664 (isearch-success-state, isearch-forward-state)
4665 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4666 (isearch-wrapped-state, isearch-barrier-state)
4667 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4668 replaced by defstruct's accessors.
4669 (isearch--set-state): Rename from isearch-top-state and change
4670 calling convention.
4671 (isearch-push-state): Use new isearch--get-state.
4672 (isearch-toggle-word): Disable regexp when enabling word.
4673 (isearch-message-prefix): Remove unused arg _c-q-hack.
4674 (isearch-message-suffix): Remove unused arg _ellipsis.
4675
7fcc0070
AS
46762012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4677
4678 * simple.el (list-processes--refresh): For a server use :host or
4679 :local as the address.
97ad0769 4680 (list-processes): Doc fix.
7fcc0070 4681
a11035b8 46822012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4683
4684 * lisp/mpc.el: Support password in host argument.
4685 (mpc--proc-connect): Parse and use new password element.
4686 Set mpc-proc variable instead of returning process.
4687 (mpc-proc): Adjust accordingly.
4688
6dad7178
EZ
46892012-08-03 Eli Zaretskii <eliz@gnu.org>
4690
18949c2f
EZ
4691 * whitespace.el (whitespace-display-mappings): Use Unicode
4692 codepoints, instead of emacs-mule codepoints. See
4693 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4694 for the details.
4695
6dad7178
EZ
4696 * files.el (file-truename): Don't skip symlink-chasing part on
4697 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
4698 Windows into the loop that recursively chases symlinks.
4699 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
4700 MS-DOS.
4701
385b0198
CY
47022012-08-03 Chong Yidong <cyd@gnu.org>
4703
6200f3c4
CY
4704 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4705
385b0198
CY
4706 * sort.el (sort-regexp-fields): Doc fix.
4707
b9e74744
TH
47082012-08-03 Tassilo Horn <tsdh@gnu.org>
4709
4710 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4711 labels regex position point at the expected place.
4712
41013cb4
MK
47132012-08-03 MON KEY <monkey@sandpframing.com>
4714
4715 * net/imap.el (imap-interactive-login, imap-authenticate)
4716 (imap-mailbox-lsub, imap-mailbox-list)
4717 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4718 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4719 (imap-parse-response): Doc fix.
4720
0ffee616
JT
47212012-08-03 João Távora <joaotavora@gmail.com>
4722
4723 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4724 if sexp scanning does not move point (Bug#5734).
4725
cfcc9cc8
TH
47262012-08-02 Tassilo Horn <tsdh@gnu.org>
4727
4728 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4729 Add listings, minted, and ctable packages.
4730 (reftex-label-alist-builtin): Move listings, minted, and ctable
4731 entries before LaTeX.
a01bbb84 4732 (reftex-label-alist): Docfix.
cfcc9cc8 4733
66ec2442
BG
47342012-08-02 Bastien Guerry <bzg@gnu.org>
4735
4736 * replace.el (occur): Fix docstring (bug#12122).
4737
837b365b
GM
47382012-08-02 Glenn Morris <rgm@gnu.org>
4739
4740 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4741
e098de97
PE
47422012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4743
4744 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4745 * international/mule-cmds.el: Create
4746 inactivate-current-input-method-function as an obsolete alias for
4747 deactivate-current-input-method-function. See Katsumi Yamaoka in
4748 <http://bugs.gnu.org/10150#46>.
4749
a0f95636
JB
47502012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4751
4752 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4753 of nested `if's.
4754
0d26d7c4
GM
47552012-08-01 Glenn Morris <rgm@gnu.org>
4756
4757 * progmodes/autoconf.el (autoconf-definition-regexp):
4758 Add AH_TEMPLATE, adjust submatch numbering.
4759 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4760 (autoconf-current-defun-function): Update for above change.
4761 (autoconf-current-defun-function): First skip to end of current word.
4762
b686ba06
RS
47632012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4764
4765 * calendar/cal-html.el (cal-html-insert-agenda-days):
4766 Fix typo. (Bug#12018)
4767
0d49da68
FEG
47682012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4769
4770 Shell processes: enhancements to startup and CEDET compatibility.
4771 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4772 (python-shell-make-comint): accept-process-output at startup.
4773 (run-python-internal): Set inferior-python-mode-hook to nil.
4774 (python-shell-internal-get-or-create-process): call sit-for.
4775 (python-preoutput-result): Add obsolete alias.
4776 (python-shell-internal-send-string): Use it.
4777 (python-shell-send-setup-code): Remove call to
4778 accept-process-output.
4779
f1a71c6e
AS
47802012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4781
4782 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4783 (Bug#12108)
4784
d2605269
JB
47852012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4786
4787 * calc-mode.el (calc-basic-simplification-mode): Rename from
4788 `calc-limited-simplification-mode'.
4789 (calc-alg-simplification-mode): New function.
fc0c31f8 4790 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4791
d2605269
JB
4792 * calc.el (calc-set-mode-line): Adjust mode line display for
4793 basic simplification mode.
4794
4795 * calc-help.el (calc-m-prefix-help): Update help message.
4796
4797 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4798 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4799
a3827a43
BG
48002012-07-31 Bastien Guerry <bzg@gnu.org>
4801
4802 * man.el (man): Fix comment. (bug#12101)
4803
502e3f89
MR
48042012-07-31 Martin Rudalics <rudalics@gmx.at>
4805
4806 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4807 Don't return a non-nil value when no suitable buffer was found.
4808
d7714961
FEG
48092012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4810
4811 * progmodes/python.el (run-python-internal): Disable font lock for
4812 internal shells.
4813
1f45e27e
SM
48142012-07-30 Stefan Merten <smerten@oekonux.de>
4815
70efc5c9 4816 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4817 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4818 (rst-official-version, rst-official-cvs-rev)
4819 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4820 (rst-mode-map): New key binding.
4821
0aee6912
PE
48222012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4823
4824 Update .PHONY listings in makefiles.
4825 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4826 autoloads, update-subdirs, updates, bzr-update, update-authors,
4827 compile-onefile, compile-calc, backup-compiled-files,
4828 compile-after-backup, compile-one-process, mh-autoloads,
4829 bootstrap-clean, distclean, maintainer-clean.
4830
9052f9f0
JB
48312012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4832
1823ac5a
JB
4833 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4834 (calc-set-mode-line): Don't display "AlgSimp ".
4835
4836 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4837 (calc-lim-simplify-mode): New function.
4838 (calc-set-simplify-mode): Default to 'alg.
4839 (calc-default-simplify-mode): Make algebraic simplifications
4840 the default.
4841
4842 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4843 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4844
8d7c7eed 4845 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4846 indicate new simplification modes.
4847
1823ac5a
JB
4848 * calc/README: Mention new default simplification mode.
4849
9052f9f0
JB
4850 * calc/calc.el (math-normalize-error): New variable.
4851 (math-normalize): Set `math-normalize-error' to t
4852 when there's an error.
4853
4854 * calc/calc-alg.el (math-simplify): Don't simplify when
4855 `math-normalize' returns an error.
4856
20ba0cb4
EZ
48572012-07-29 Eli Zaretskii <eliz@gnu.org>
4858
4859 * international/mule-cmds.el (set-locale-environment): Revert last
4860 change, since display-graphic-p returns nil when this function is
4861 called during startup. Instead...
4862
4863 * term/w32console.el (terminal-init-w32console): ...setup the
4864 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4865
a5dcc929
JL
48662012-07-29 Juri Linkov <juri@jurta.org>
4867
4868 * simple.el (goto-line): Don't display default line number in the
4869 prompt because it should be displayed by `read-number' (bug#9952).
4870 Add the current line number to the defaults of `goto-line' to
4871 allow its easier modification by users with `M-n' (bug#9201).
4872
4873 * subr.el (read-number): Support multiple default values like in
4874 other minibuffer reading functions. Replace `read' with
4875 `string-to-number' for consistency with `number-to-string'.
4876
72b255c7
PE
48772012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4878
4879 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4880 * emulation/viper-init.el (viper-deactivate-input-method-action):
4881 Rename from viper-inactivate-input-method-action.
4882 (viper-deactivate-input-method):
4883 Rename from viper-inactivate-input-method.
4884 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4885 * international/mule-cmds.el (deactivate-input-method):
4886 Rename from inactivate-input-method.
4887 Also run input-method-deactivate-hook.
4888 (deactivate-current-input-method-function):
4889 Rename from inactivate-current-input-method-function.
4890 (input-method-deactivate-hook): New hook.
4891 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4892 (inactivate-input-method): Mark obsolete.
4893
72b255c7
PE
4894 * international/quail.el (quail-activate):
4895 Also run quail-deactivate-hook.
4896 (quail-deactivate): Rename from quail-inactivate.
4897 * international/robin.el (robin-activate):
4898 Also run robin-deactivate-hook.
4899 (robin-deactivate): Rename from robin-inactivate.
4900
2549c068
CY
49012012-07-29 Chong Yidong <cyd@gnu.org>
4902
4903 * simple.el (indicate-copied-region): New function.
4904 (kill-ring-save): Split off from here.
4905
4906 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4907 (kill-rectangle): Set deactivate-mark to t on read-only error.
4908
4909 * register.el (copy-to-register, copy-rectangle-to-register):
4910 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4911 (append-to-register, prepend-to-register): Call indicate-copied-region.
4912
49132012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4914
4915 * simple.el (async-shell-command-buffer): New defcustom.
4916 (shell-command): Use it. (Bug#4719)
4917
01bd1b0d
EZ
49182012-07-28 Eli Zaretskii <eliz@gnu.org>
4919
4920 * international/mule-cmds.el (set-locale-environment): In a
4921 console session on MS-Windows, set up keyboard and terminal
4922 encoding from the OEM codepage, not the ANSI codepage.
4923 (Bug#12055)
4924
a55739d3
CY
49252012-07-28 Chong Yidong <cyd@gnu.org>
4926
4927 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4928 gdb-get-location.
4929
0e1a094f 49302012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4931
4932 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4933 the alist (bug#12029).
4934
20329d73
EZ
49352012-07-28 Eli Zaretskii <eliz@gnu.org>
4936
4937 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4938 (compile-always, compile-first)
4939 ($(lisp)/calendar/cal-loaddefs.el)
4940 ($(lisp)/calendar/diary-loaddefs.el)
4941 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4942 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4943 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4944 instead of on update-subdirs.
4945 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4946
345a2258
CY
49472012-07-28 Chong Yidong <cyd@gnu.org>
4948
1eee6341
CY
4949 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4950 directory if vc-deduce-backend returns nil (Bug#7350).
4951
345a2258
CY
4952 * simple.el (delete-trailing-lines): New option.
4953 (delete-trailing-whitespace): Obey it (Bug#11879).
4954
049a0936
DE
49552012-07-28 David Engster <deng@randomsample.de>
4956
4957 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4958 Explanation of new 'symbol-qnames feature in doc-strings.
4959 (xml-maybe-do-ns): Return expanded names as plain symbols if
4960 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4961 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4962
aa81af71
FEG
49632012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4964
4965 Consistent completion in inferior python with emacs -nw.
4966 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4967 binding in inferior-python-mode-map with "\t".
4968 (python-shell-completion-complete-at-point)
4969 (python-completion-complete-at-point): Remove interactive spec.
4970
e827b1eb
JB
49712012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4972
4973 * calc/calccomp.el (math-compose-expr): Undo previous change.
4974
a90dfb95
FEG
49752012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4976
4250fdf5 4977 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4978 run-python.
4979 (python-shell-make-comint): Fix pop-to-buffer call.
4980 (run-python): Autoload. New arg SHOW.
4981 (python-shell-get-or-create-process): Do not pop python process
4982 buffer.
4983
32770973 49842012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4985
4986 * notifications.el (notifications-on-action-signal)
4987 (notifications-on-closed-signal): Use also the bus address for the map.
4988 (notifications-notify, notifications-close-notification)
fc0c31f8 4989 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4990
86332df2
TH
49912012-07-27 Tassilo Horn <tsdh@gnu.org>
4992
4250fdf5
SM
4993 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4994 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4995 ctable macro.
4996 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4997 labels written in keyvals syntax.
4998
ca1302a4
JB
49992012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5000
5001 * calc/calccomp.el (math-compose-expr): Use parentheses when
5002 there is a product in the denominator of a fraction.
5003
f8b91036
EZ
50042012-07-26 Eli Zaretskii <eliz@gnu.org>
5005
5006 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5007 ($(lisp)/calendar/diary-loaddefs.el)
5008 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5009 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5010 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5011 rewritten while the autoload files are built at the same time,
5012 which needs to load subdirs.el.
5013
c8e5a42c
MR
50142012-07-26 Martin Rudalics <rudalics@gmx.at>
5015
5016 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5017 (mouse-drag-line): Don't exit tracking when a switch-frame or
5018 switch-window event occurs (Bug#12006).
5019
670d85ea
SM
50202012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5021
5022 * mouse.el (popup-menu): Fix last change.
5023
7abaf5cc
SM
50242012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 Autoload from Lisp with more care. Follow aliases when looking for
5027 function properties.
5028 * subr.el (autoloadp): New function.
5029 (symbol-file): Use it.
5030 (function-get): New function.
5031 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5032 autoload-do-load.
5033 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5034 (lisp-indent-function):
5035 * emacs-lisp/gv.el (gv-get):
5036 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5037 * emacs-lisp/byte-opt.el (byte-optimize-form):
5038 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5039 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5040 Use function-get.
5041 * emacs-lisp/cl.el: Don't propagate function properties any more.
5042
5043 * speedbar.el (speedbar-add-localized-speedbar-support):
5044 * emacs-lisp/disass.el (disassemble-internal):
5045 * desktop.el (desktop-load-file):
5046 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5047 (describe-function-1):
5048 * emacs-lisp/find-func.el (find-function-noselect):
5049 * emacs-lisp/elp.el (elp-instrument-function):
5050 * emacs-lisp/advice.el (ad-has-proper-definition):
5051 * apropos.el (apropos-safe-documentation, apropos-macrop):
5052 * emacs-lisp/debug.el (debug-on-entry):
5053 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5054 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5055 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5056
b1364986
AA
50572012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5058
5059 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5060 function, not an obsolete variable (Bug#12046).
5061
67ada220
AS
50622012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5063
5064 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5065
f08088e3
CS
50662012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5067
5068 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5069 window only if it is still live (Bug#12034).
5070
8137e7b3
MR
50712012-07-25 Martin Rudalics <rudalics@gmx.at>
5072
5073 * subr.el (redirect-frame-focus): Add advertised calling
5074 convention (Bug#12030).
5075
09ae5da1
PE
50762012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5077
5078 Prefer typical American spelling for "acknowledgment".
5079 * vc/add-log.el (change-log-acknowledgment): Rename from
5080 change-log-acknowledgement, with an alias for the old name.
5081
3cc5a3a8
JB
50822012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5083
5084 * calc-alg.el (math-simplify-divide): Don't cross multiply
5085 in an equation when the lhs is a variable.
5086
b7af7f62
JD
50872012-07-24 Julien Danjou <julien@danjou.info>
5088
5089 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5090 Remove, unused.
5091
ec1b09b1
EZ
50922012-07-23 Eli Zaretskii <eliz@gnu.org>
5093
5094 * startup.el (command-line): Don't display an empty user name in
5095 the error message about non-existent home directory, when
5096 init-file-user was set to an empty string. See
5097 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5098 for the details and context.
5099
b525fd8a
VB
51002012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5101
5102 * ses.el (ses-cell-formula-aset): New macro.
5103 (ses-cell-references-aset): New macro.
5104 (ses-cell-p): New function.
5105 (ses-rename-cell): Do no longer rely on complex operations like
5106 ses-cell-set-formula or ses-set-cell to change the cell and handle
5107 the undo at the same time, but rather use lower level new macros
5108 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 5109 the undo directly. Refresh the mode line.
b525fd8a 5110
2c73e345
LL
51112012-07-21 Leo Liu <sdl.web@gmail.com>
5112
670d85ea
SM
5113 * progmodes/cc-cmds.el (c-defun-name):
5114 Use match-string-no-properties instead for consistency.
2c73e345 5115
542dfbde
LL
51162012-07-20 Leo Liu <sdl.web@gmail.com>
5117
3646bcd6
LL
5118 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5119 (Bug#7879)
5120
542dfbde
LL
5121 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5122
25721031
CY
51232012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5124
5125 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5126 * progmodes/bug-reference.el, misearch.el: Provide themselves
5127 (bug#11915).
5128
5129 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5130 of narrowed buffer (bug#11966).
5131
316e68a7
VB
51322012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5133
5134 * ses.el (ses-rename-cell): Set new name also in reference list of
5135 cells of which the renamed cell depends.
5136
bbf0e7d9
MY
51372012-07-20 Masatake YAMATO <yamato@redhat.com>
5138
5139 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5140 to check whether menu-bar is shown or not. If not shown,
5141 show the menu-bar as a popup menu instead of using tmm.
5142 * mouse.el (popup-menu): Accept `point' as `position' argument.
5143
c28662a8
DG
51442012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5145
5146 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5147 up inside string symbol literal (bug#11923).
5148
87ab808f
EZ
51492012-07-20 Eli Zaretskii <eliz@gnu.org>
5150
5151 * startup.el (fancy-startup-text): Read the whole tutorial, not
5152 just its first 256 bytes. Prevents gibberish in display of the
5153 tutorial title.
5154
89dea803
DA
51552012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5156
5157 Drop idle buffer compaction due to an absence of the
5158 proved efficiency.
5159 * compact.el: Remove.
5160
8a4e6db8
SS
51612012-07-19 Sam Steingold <sds@gnu.org>
5162
5163 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5164 vc-bzr-pull & vc-bzr-merge-branch.
5165 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5166 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5167 for consistency with compilation-error-regexp-alist.
5168 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5169 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5170 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5171 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5172
5db81e33
SM
51732012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5174
5175 * emacs-lisp/chart.el: Use lexical-binding.
5176 (chart-emacs-storage): Don't hardcode the list of entries.
5177
5b835e1d
DA
51782012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5179
5180 Next round of tweaks caused by Fgarbage_collect changes.
5181 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5182
9cd47b72
DA
51832012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5184
5185 Compact buffers when idle.
5186 * compact.el: New file.
5187
1d6fc0df
SM
51882012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5189
5190 * subr.el (eventp): Presume that if it looks vaguely like an event,
5191 it's an event (bug#10190).
5192
1d29cc7d
FEG
51932012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5194
5195 Enhancements to ppss related code (thanks Stefan).
5196 * progmodes/python.el (python-indent-context)
5197 (python-indent-calculate-indentation, python-indent-dedent-line)
5198 (python-indent-electric-colon, python-nav-forward-block)
5199 (python-mode-abbrev-table)
1d6fc0df 5200 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5201 for ppss context.
5202 (python-info-continuation-line-p): Cleanup.
5203 (python-info-ppss-context): Do not catch 'quote.
5204 (python-info-ppss-context-type)
5205 (python-info-ppss-comment-or-string-p): Simplify.
5206
d583cbe6
FEG
52072012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5208
5209 * progmodes/python.el: Enhancements to eldoc support.
5210 (python-info-current-symbol): New function.
5211 (python-eldoc-at-point): Use python-info-current-symbol.
5212 (python-info-current-defun): Fix cornercase on first defun scan.
5213 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5214 and signal error when no inferior python process is available.
5215
eceb6feb
DG
52162012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5217
5218 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5219 assume it's always t.
5220 (vc-git-registered): Remove caching, the function is only called
5221 once.
5222 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5223
4c8ff0fe
CY
52242012-07-18 Chong Yidong <cyd@gnu.org>
5225
19fb7186
CY
5226 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5227
9587c688
CY
5228 * simple.el (count-words): Report on narrowing (Bug#9959).
5229
0fe776a1
CY
5230 * bindings.el: Bind M-= to count-words.
5231
4c8ff0fe
CY
5232 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5233
7f5331cc
MY
52342012-07-18 Masatake YAMATO <yamato@redhat.com>
5235
5236 * progmodes/sh-script.el (sh-imenu-generic-expression):
5237 Capture a function with `function' keyword and without parentheses
5238 like "function FOO" (bug#11856).
5239
2dc2a609
TH
52402012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5241
5242 * window.el (split-window-sensibly): Make WINDOW argument
5243 optional.
5244
439f7677
CY
52452012-07-18 Chong Yidong <cyd@gnu.org>
5246
9aeb25a6
CY
5247 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5248
439f7677
CY
5249 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5250 and make C-x 8 RET exit isearch (Bug#11439).
5251
5252 * international/iso-transl.el: Move isearch-mode-map key
5253 definitions to isearch.el.
5254
12999ea8
SM
52552012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5256
5257 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5258 (eieio-defclass): Use gv-define-setter when possible.
5259
3ab6e069
DA
52602012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5261
5262 Reflect recent changes in Fgarbage_collect.
5263 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5264 reflect new format of data returned by Fgarbage_collect.
5265
0a60bc10
FEG
52662012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5267
5268 New utility functions + python-info-ppss-context fix (Bug#11910).
5269 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5270 (python-info-ppss-comment-or-string-p): New functions.
5271 (python-info-ppss-context): Small fix for string check.
5272
6dafa0d5
JL
52732012-07-17 Juri Linkov <juri@jurta.org>
5274
5275 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5276 (dired-do-async-shell-command): Don't add `*' at the end of the
5277 command (Bug#11815).
5278 (dired-do-shell-command): Doc fix.
5279 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5280 Join the individual commands using either "&" or ";" as the
5281 separator depending on the values of these trailing characters.
5282 At the end re-add the trailing "&". (Bug#10598)
5283
5284 * simple.el (async-shell-command): Sync the interactive spec with
5285 `shell-command'. Doc fix.
5286 (shell-command): Doc fix.
5287
b19dd9d1
JL
52882012-07-17 Juri Linkov <juri@jurta.org>
5289
5290 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5291
bcdc27d7 52922012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5293
bcdc27d7 5294 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5295 * progmodes/python.el (python-nav-beginning-of-statement):
5296 Rename from python-nav-statement-start.
bcdc27d7
FEG
5297 (python-nav-end-of-statement): Rename from
5298 python-nav-statement-end.
5299 (python-nav-beginning-of-block): Rename from
5300 python-nav-block-start.
5301 (python-nav-end-of-block): Rename from python-nav-block-end.
5302
191da00e
FEG
53032012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5304
7f5331cc
MY
5305 * progmodes/python.el (python-shell-send-string-no-output):
5306 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5307 future interactions (Bug#11868).
5308
4dc7c8d5 53092012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5310
88ecaf8f
SM
5311 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5312
ef501ef0
SM
5313 * emacs-lisp/elint.el (elint-find-args-in-code):
5314 Use help-function-arglist, so as to handle lexical byte-code.
5315
aa7aaf8f
SM
5316 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5317 change (bug#11826).
5318
45fd731c
SM
53192012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5320
2143fa32
SM
5321 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5322 Avoid spuriously marking the buffer as modified because of c-is-sws.
5323
efc26dbe
SM
5324 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5325 as not-a-comment (bug#11946).
5326
f5695c9a
SM
5327 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5328 for uninterned vars.
5329
5330 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5331 Use read-event since we don't really want to read chars but bytes.
5332
45fd731c
SM
5333 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5334 $$..$$ but also $..$ using regexps (bug#11953).
5335 Use tex-verbatim for \url and \path.
5336 (tex-font-lock-keywords): Define as defconst like the others.
5337 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5338
ddfc8813
RK
53392012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5340
5341 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5342 alias for insert-char.
5343
758e556a
FEG
53442012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5345
5346 * progmodes/python.el: Simplified imenu implementation.
5347 (python-nav-jump-to-defun): Remove command.
5348 (python-mode-map): Use `imenu' instead.
5349 (python-nav-list-defun-positions-cache)
5350 (python-imenu-include-defun-type, python-imenu-make-tree)
5351 (python-imenu-subtree-root-label, python-imenu-index-alist):
5352 Remove vars.
5353 (python-nav-list-defun-positions, python-nav-read-defun)
5354 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5355 (python-imenu-make-tree, python-imenu-create-index):
5356 Remove functions.
758e556a
FEG
5357 (python-mode): Update to interact with imenu by setting
5358 `imenu-extract-index-name-function' only.
5359
032d23ab
FEG
53602012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5361
5362 * progmodes/python.el: Enhancements to navigation commands.
5363 (python-nav-backward-sentence)
5364 (python-nav-forward-sentence): Remove.
5365 (python-nav-backward-statement, python-nav-forward-statement)
5366 (python-nav-statement-start, python-nav-statement-end)
5367 (python-nav-backward-block, python-nav-forward-block)
5368 (python-nav-block-start, python-nav-block-end)
5369 (python-nav-forward-sexp-function)
5370 (python-info-current-line-comment-p)
5371 (python-info-current-line-empty-p): New functions.
5372 (python-indent-context): Use `python-nav-statement-start'.
5373
01795a1b
MA
53742012-07-16 Michael Albinus <michael.albinus@gmx.de>
5375
9328d9aa
MA
5376 * eshell/em-ls.el (eshell/ls): Use `apply'.
5377
5378 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5379 multi-hops, instead of Tramp internals.
5380
01795a1b
MA
5381 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5382
5383 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5384 when F1 and F2 are located on different hosts.
5385
63408057
CY
53862012-07-14 Chong Yidong <cyd@gnu.org>
5387
5388 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5389 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5390 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5391 (xterm-mouse--read-event-sequence-1000)
5392 (xterm-mouse--read-event-sequence-1006): New functions. For old
5393 mouse protocol, handle M-mouse-X events correctly.
5394 (xterm-mouse-event): New arg specifying mouse protocol.
5395 (turn-on-xterm-mouse-tracking-on-terminal)
5396 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5397 sequence to toggle extended coordinates on newer XTerms.
5398 This appears to be harmless on terminals which do not support this.
63408057 5399
cd276f6e
LL
54002012-07-14 Leo Liu <sdl.web@gmail.com>
5401
28ca98ac
LL
5402 Add fringe bitmap indicators for flymake. (Bug#11253)
5403 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5404 (flymake-make-overlay): New arg BITMAP.
5405 (flymake-error-bitmap, flymake-warning-bitmap)
5406 (flymake-fringe-indicator-position): New user variables.
5407
cd276f6e
LL
5408 * fringe.el: New bitmap exclamation-mark.
5409
04408072
JD
54102012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5411
5412 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5413 also (Bug#7879).
5414
b5cf7fc4
CY
54152012-07-14 Chong Yidong <cyd@gnu.org>
5416
5417 * electric.el (electric-pair-post-self-insert-function): Fix pair
5418 insertion in empty-region case (Bug#11520).
5419
be755c79
RT
54202012-07-14 Chong Yidong <cyd@gnu.org>
5421
45fd731c
SM
5422 * bindings.el: Consolidate ctl-x-r-map bindings.
5423 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5424
5425 * rect.el, register.el: Move bindings to bindings.el.
5426
54272012-07-14 Reuben Thomas <rrt@sc3d.org>
5428
5429 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5430
7f5b3198
AS
54312012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5432
5433 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5434
97662200
JB
54352012-07-13 Juanma Barranquero <lekktu@gmail.com>
5436
80185fed
JB
5437 * bindings.el (top): Use `mapc' instead of `mapcar'.
5438
97662200
JB
5439 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5440
2bb1ae55
MA
54412012-07-13 Michael Albinus <michael.albinus@gmx.de>
5442
5443 * progmodes/sql.el (sql-comint): Suppress the check for program on
5444 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5445 (Bug#11908)
5446
dea31bd3
CY
54472012-07-13 Chong Yidong <cyd@gnu.org>
5448
5449 * bindings.el: Assign a non-nil permanent-local property to
5450 per-buffer variables which lack a default value (Bug#11930).
5451
5452 * help-fns.el (describe-variable): In the "automatically becomes
5453 local" notice, take note of permanent-local variables.
5454
b68b3337
CY
54552012-07-13 Chong Yidong <cyd@gnu.org>
5456
5457 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5458 to allow printing the message when called from Lisp.
5459
5460 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5461 Remove toggle-read-only.
5462
5463 * bs.el (bs-toggle-readonly):
45fd731c
SM
5464 * buff-menu.el (Buffer-menu-toggle-read-only):
5465 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5466
5467 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5468 Remove with-no-warnings around toggle-read-only.
5469 (ffap-read-only, ffap-read-only-other-window)
5470 (ffap-read-only-other-frame): Callers changed.
5471
5472 * help-mode.el: Don't require view package.
5473 (help-mode-finish): Set buffer-read-only instead of calling
5474 toggle-read-only.
5475
5476 * bindings.el (mode-line-toggle-read-only):
5477 * dired.el (dired-toggle-read-only):
5478 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5479 with non-nil second arg.
5480
5481 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5482 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5483 directly.
5484
56bc1586
EZ
54852012-07-12 Eli Zaretskii <eliz@gnu.org>
5486
5487 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5488 not incf.
5489
a464a6c7
SM
54902012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 More CL cleanups and reduction of use of cl.el.
5493 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5494 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5495 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5496 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5497 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5498 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5499 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5500 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5501 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5502 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5503 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5504 * eshell/em-cmpl.el, eshell/em-banner.el:
5505 * calendar/parse-time.el: Use cl-lib.
5506 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5507 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5508 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5509 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5510 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5511 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5512 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5513 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5514 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5515 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5516 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5517 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5518 `lambda' rather than with `quote'.
5519 (eshell-do-opt): Adjust accordingly.
5520 (eshell-process-option): Simplify.
5521 * eshell/esh-var.el:
5522 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5523 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5524 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5525 to `pcase--dontcare'.
5526 * emacs-lisp/cl.el (labels): Mark obsolete.
5527 (cl--letf, letf): Move to cl-lib.
5528 (cl--letf*, letf*): Remove.
5529 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5530 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5531 (cl-progv): Rewrite.
5532 (cl--letf, cl-letf): Move from cl.el.
5533 (cl-letf*): New macro.
5534 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5535
7ad4afe1
MA
55362012-07-11 Michael Albinus <michael.albinus@gmx.de>
5537
5538 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5539
9af57756
CY
55402012-07-11 Chong Yidong <cyd@gnu.org>
5541
5542 * vc/log-edit.el (log-edit-vc-backend): New variable.
5543 (log-edit): Doc fix.
5544
5545 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5546 argument of log-edit to set up all local variables.
5547 (vc-start-logentry): New optional arg specifying VC backend.
5548
5549 * vc/vc.el (vc-checkin): Use it.
5550 (vc-deduce-fileset): Handle Log Edit buffers.
5551 (vc-diff): Make first argument optional too.
5552
5553 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5554
8477cc7a
MA
55552012-07-10 Michael Albinus <michael.albinus@gmx.de>
5556
5557 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5558 command, just in case. The function is not needed anymore.
5559 (eshell-external-command): Do not call `eshell-remote-command'.
5560
19faa8e8
SM
55612012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5562
f58e0fd5
SM
5563 Reduce use of (require 'cl).
5564 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5565 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5566 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5567 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5568 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5569 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5570 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5571 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5572 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5573 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5574 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5575 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5576 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5577 (byte-compile-unfold-bcf, byte-compile-check-variable):
5578 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5579 (byte-compile-nilconstp):
5580 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5581 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5582
2519d43a
SM
5583 * emacs-lisp/gv.el (cond): Make it a valid place.
5584 (if): Simplify slightly.
5585
19faa8e8
SM
5586 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5587 (pcase--self-quoting-p): New function.
5588 (pcase--u1): Use it.
5589
c4907a5e
GM
55902012-07-10 Glenn Morris <rgm@gnu.org>
5591
5592 * emacs-lisp/authors.el (authors-fixed-entries):
5593 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5594
c4444d16
PE
55952012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5596
5597 Rename configure.in to configure.ac (Bug#11603).
5598 * emacs-lisp/authors.el (authors-canonical-file-name):
5599 * progmodes/autoconf.el (autoconf-mode):
5600 Prefer configure.ac to configure.in.
5601
d75be97d
CY
56022012-07-08 Chong Yidong <cyd@gnu.org>
5603
01ac65bd
CY
5604 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5605 Implement the mouse-1-click-follows-link handling properly.
5606
5607 * info.el (Info-link-keymap): Use follow-link mechanism for
5608 header-line links (Bug#374).
5609
d75be97d
CY
5610 * simple.el (deactivate-mark): Do not set the primary selection
5611 if another program has acquired it (Bug#11772).
5612
87a92845 56132012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5614
5615 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5616 (woman-decode-region): Replace escaped-escapes without destroying
5617 bold or underline (Bug#11552).
87a92845 5618 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5619
621b9d6c
CY
56202012-07-07 Chong Yidong <cyd@gnu.org>
5621
5622 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5623 (interprogram-cut-function, interprogram-paste-function):
5624 Mention that we typically mean the clipboard.
621b9d6c 5625
133a11fc
GM
56262012-07-06 Glenn Morris <rgm@gnu.org>
5627
0d27a45e
GM
5628 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5629
133a11fc
GM
5630 * files.el (toggle-read-only): Restrict message to interactive use.
5631
07b151f1
MA
56322012-07-06 Michael Albinus <michael.albinus@gmx.de>
5633
5634 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5635
5636 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5637
211b896b
GM
56382012-07-06 Glenn Morris <rgm@gnu.org>
5639
50394322
GM
5640 * Makefile.in (compile-one-process): Rename from "recompile".
5641
211b896b
GM
5642 * Makefile.in (bzr-update): "compile" is the same as "recompile
5643 autoloads", but parallelizable, so use that instead.
5644
4737eec9
DG
56452012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5646
5647 * window.el (quit-window): Always restore window height when
8137e7b3 5648 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5649
226c3633 56502012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5651
5652 * simple.el (kill-whole-line): Doc tweak.
5653
226c3633 56542012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5655
5656 * files.el (file-relative-name): Compare file names
5657 case-insensitively if on MS-Windows or MS-DOS, or if
5658 read-file-name-completion-ignore-case is non-nil. Don't use
5659 case-fold-search for this purpose. (Bug#11827)
5660
4dc7c8d5
SM
56612012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5662
5663 * calendar/cal-dst.el (calendar-current-time-zone):
5664 Return calendar-current-time-zone-cache if non-nil.
5665
56662012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 56672012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5668
19faa8e8
SM
5669 * calendar/cal-dst.el (calendar-current-time-zone):
5670 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5671
60198fc9
GM
56722012-07-06 Glenn Morris <rgm@gnu.org>
5673
5674 * Makefile.in (cvs-update): Remove old alias.
5675
957b3189
MA
56762012-07-05 Michael Albinus <michael.albinus@gmx.de>
5677
5678 Sync with Tramp 2.2.6-pre.
5679
5680 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5681 compatible declaration.
5682
19faa8e8
SM
5683 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5684 Protect `list-load-path-shadows' call.
957b3189
MA
5685
5686 * net/tramp-compat.el (top): Require packages, which aren't
5687 autoloaded anymore for XEmacs. Protect call of
5688 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5689 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5690 it hurts at least for SXEmacs.
5691 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5692 standard-value for `temporary-file-directory'.
5693
5694 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5695 Redirect stderr to /dev/null.
5696 (tramp-sh-handle-write-region): uid and gid can be floats.
5697 Reported by Russell Sim <russell.sim@gmail.com>.
5698 (tramp-sh-handle-vc-registered): Hide errors.
5699 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5700 and `start-file-process'.
5701 (tramp-maybe-open-connection): Check also whether `non-essential'
5702 is bound.
5703
566df3fc
CY
57042012-07-04 Chong Yidong <cyd@gnu.org>
5705
5706 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5707 (xml-parse-tag): Likewise, and avoid changing entity tables.
5708 (xml-syntax-table): Define from scratch, making sure not to give
5709 x2000 and other Unicode spaces whitespace syntax, since those are
5710 not spaces in XML.
5711 (xml-parse-fragment): Delete unused function.
5712 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5713 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5714 (xml-entity-ref, xml-pe-reference-re)
5715 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5716 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5717 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5718 (xml-entity-value-re): Use syntax references in regexps where
5719 possible; no need to define inside a let-binding.
5720 (xml-parse-dtd): Use xml-pe-reference-re.
5721 (xml-entity-or-char-ref-re): New defconst.
5722 (xml-parse-string, xml-substitute-special): Use it.
5723
30eabd7a
SM
57242012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5725
0781098a
SM
5726 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5727 (find-file--read-only): New function.
5728 (find-file-read-only, find-file-read-only-other-window)
5729 (find-file-read-only-other-frame): Use it.
5730 (insert-file-contents-literally): Don't `fset'.
5731 (get-free-disk-space): Use locate-dominating-file.
5732
b5771c0d
SM
5733 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5734 function is already compiled.
5735
30eabd7a
SM
5736 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5737
b4886f6e
MA
57382012-07-03 Michael Albinus <michael.albinus@gmx.de>
5739
5740 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5741 files on the same host.
5742
b9d82339
AS
57432012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5744
5745 * help-fns.el (describe-function-1): Only call
5746 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5747
a76e6535
CY
57482012-07-03 Chong Yidong <cyd@gnu.org>
5749
5750 * xml.el: Protect parser against XML bombs.
5751 (xml-entity-expansion-limit): New variable.
5752 (xml-parse-string, xml-substitute-special): Use it.
5753 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5754
b544fef2
GM
57552012-07-03 Glenn Morris <rgm@gnu.org>
5756
5757 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5758 Allow linking to specific messages in debbugs reports (eg 123#5).
5759
a7aef6f5
CY
57602012-07-02 Chong Yidong <cyd@gnu.org>
5761
5762 * xml.el: Fix entity and character reference expansion, allowing
5763 them to expand into markup as per XML spec.
5764 (xml-default-ns): New variable.
5765 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5766 (xml-parse-region): Make first two arguments optional.
5767 Discard text properties.
5768 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5769 All callers changed.
a7aef6f5
CY
5770 (xml-parse-tag): Call xml-parse-tag-1. For backward
5771 compatibility, this function should not modify buffer contents.
5772 (xml-parse-tag-1): Fix opening-tag regexp.
5773 (xml-parse-string): Rewrite, handling entity and character
5774 references properly.
5775 (xml--entity-replacement-text): Signal an error if a parameter
5776 entity is undefined.
5777
3df31c9f
SM
57782012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5779
2b5208f1
SM
5780 * comint.el (comint-output-filter): Filter out repeated prompts.
5781
3df31c9f
SM
5782 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5783 and file-name-absolute-p.
5784 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5785 internal calls.
5786
e3ac1281
PE
57872012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5788
5789 Spelling fixes.
5790 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5791 Rename from byte-compile--refiy-function. All uses changed.
5792
fbf2e7ad
CY
57932012-07-01 Chong Yidong <cyd@gnu.org>
5794
5795 * xml.el (xml--parse-buffer): New function. Move most of
5796 xml-parse-region here.
5797 (xml-parse-region): Copy region into a temporary buffer, since
5798 parameter entity substitution requires changing buffer contents.
5799 Use xml--parse-buffer.
5800 (xml-parse-file): Use xml--parse-buffer.
5801 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5802 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5803
9bf0aa15
GM
58042012-06-30 Glenn Morris <rgm@gnu.org>
5805
bbce2853
GM
5806 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5807
9bf0aa15
GM
5808 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5809 Remove outdated and unnecessary dbus declarations.
5810
0d23c240
EZ
58112012-06-30 Eli Zaretskii <eliz@gnu.org>
5812
5813 * emacs-lisp/timer.el (timer-until): Subtract results of
5814 float-time, instead of taking float-time of the result of
5815 time-subtract, since float-time signals an error for negative time
5816 arguments.
5817
b3218de1
CY
58182012-06-30 Chong Yidong <cyd@gnu.org>
5819
5820 * xml.el (xml-*-re): Convert defvars into defconsts, and
5821 eval-and-compile them so eval-and-compile works on derivatives.
5822 (xml--entity-replacement-text): Use eval-and-comple.
5823
a40c87a0
MA
58242012-06-30 Michael Albinus <michael.albinus@gmx.de>
5825
5826 * vc/vc-git.el (vc-git-registered): Use cache property
5827 `git-registered'.
5828 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5829 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5830 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5831
ac87de97
DG
58322012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5833
5834 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5835 removed (likely outside Emacs). (Bug#11757)
ac87de97 5836
ac10fe06
SM
58372012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5838
3df31c9f 5839 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5840
7f3fbd5d
CY
58412012-06-30 Chong Yidong <cyd@gnu.org>
5842
5843 * xml.el: Implement XML parameter entities.
5844 (xml-parameter-entity-alist): New variable.
5845 (xml-parse-region, xml-parse-fragment): Preserve previous values
5846 of xml-entity-alist and xml-parameter-entity-alist, so that
5847 repeated calls on different documents do not change them.
5848 (xml-parse-tag): Fix doctype regexp.
5849 (xml--entity-replacement-text): New function.
5850 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5851 properly requires url retrieval which is unimplemented.
5852 (xml-escape-string): Doc fix.
5853
3cfbebba
SM
58542012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5857
2af3565e
DA
58582012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5859
5860 * fringe.el (fringe-mode): Doc fix.
5861
929df0e7
MA
58622012-06-29 Michael Albinus <michael.albinus@gmx.de>
5863
5864 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5865 is non-nil.
5866 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5867 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5868
c8d3a25c 58692012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5870
c8d3a25c
GM
5871 * calendar/cal-dst.el (calendar-current-time-zone):
5872 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5873
c8d3a25c 58742012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5875
5876 * progmodes/which-func.el (which-func-format):
5877 Add mouse-face. (Bug#11698)
5878
c8d3a25c
GM
58792012-06-29 Leo Liu <sdl.web@gmail.com>
5880
5881 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5882
58832012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5884
5885 * minibuffer.el (minibuffer-confirm-exit-commands):
5886 Add completion-at-point (bug#11725).
5887
58882012-06-29 Glenn Morris <rgm@gnu.org>
5889
5890 * progmodes/f90.el (f90-font-lock-keywords-2):
5891 Add some preprocessor elements. (Bug#10499)
5892
58932012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5896 Use syntax-propertize (bug#11739).
5897
2badeec4
JB
58982012-06-28 Juanma Barranquero <lekktu@gmail.com>
5899
5900 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5901
ae4969c2
JD
59022012-06-28 Julien Danjou <julien@danjou.info>
5903
5904 * term.el (term-handle-colors-array): Use a set of new faces to
5905 color the terminal. Also uses :inverse-video property.
5906 (term-default-fg-color): Set to nil by default, deprecate in favor
5907 of `term-face'.
5908 (term-default-bg-color): Set to nil by default, deprecate in favor
5909 of `term-face'.
5910 (term-current-face): Use `term-face' by default.
5911 (term-bold-attribute): Variable deleted.
5912
1c9bd870
GM
59132012-06-28 Glenn Morris <rgm@gnu.org>
5914
5915 * simple.el (completion-list-mode-finish):
5916 Don't use toggle-read-only. (Since completion-list-mode has
5917 a special mode-class, it wasn't doing anything extra anyway.)
5918
c207708c
SM
59192012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5920
5921 Make inlining of other-mode interpreted functions work (bug#11799).
5922 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5923 (byte-compile): Use it to fix compilation of lexical-binding closures.
5924 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5925 function, if needed.
5926
3fd56834
SM
59272012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5928
04901786
SM
5929 * help-mode.el (help-make-xrefs): Don't just withstand
5930 cyclic-variable-indirection but any error in documentation-property.
5931
1ec4b7b2
SM
5932 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5933 memory use.
5934 * bindings.el (bindings--define-key): New function.
5935 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5936 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5937 * bindings.el: Use it to purecopy define-key bindings.
5938
e309e2a5
SM
5939 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5940
d5c6faf9
SM
5941 * emacs-lisp/cl.el (flet): Mark obsolete.
5942 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5943 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5944 * progmodes/js.el (js-c-fill-paragraph):
5945 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5946 (ebrowse-switch-member-buffer-to-derived-class):
5947 * play/5x5.el (5x5-solver): Use cl-flet.
5948
6e9590e2
SM
5949 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5950 (cl--symbol-function): New macro.
5951 (cl--letf, cl--letf*): Use it.
5952
3fd56834
SM
5953 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5954 Strip "toggle-" if any.
5955
35ff222c
GM
59562012-06-27 Glenn Morris <rgm@gnu.org>
5957
1ba6038a
GM
5958 * info.el (Info-default-directory-list): Move here from paths.el.
5959 * paths.el: Remove file, which is now empty.
5960 * loadup.el: No longer load "paths".
5961
0ea0e51b
GM
5962 * custom.el (custom-initialize-delay): Doc fix.
5963
35ff222c
GM
5964 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5965 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5966 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5967 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5968 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5969 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5970 * eshell/eshell.el (eshell-defgroup): Remove alias.
5971
c89926a5
CY
59722012-06-27 Chong Yidong <cyd@gnu.org>
5973
5974 * help.el (help-enable-auto-load): New variable.
5975
5976 * help-fns.el (help-fns--autoloaded-p): New function.
5977 (describe-function-1): Refer to a function as "autoloaded" if it
5978 was autoloaded at any time in the past. Perform autoloading if
5979 help-enable-auto-load is non-nil.
5980
cc06e7e7
EZ
59812012-06-26 Eli Zaretskii <eliz@gnu.org>
5982
5983 * makefile.w32-in (compile, compile-always): Depend on
5984 update-subdirs, not on subdirs.el. Otherwise, several different
5985 sub-targets of 'bootstrap' running in parallel could
5986 simultaneously write to subdirs.el, producing a garbled file.
5987
d2c32364
SS
59882012-06-26 Sam Steingold <sds@gnu.org>
5989
5990 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5991 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5992 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5993 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5994 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5995 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5996 * textmodes/tex-mode.el: Use it.
5997 Did not touch cedet and org because they are maintained elsewhere.
5998
5cf983b2
MR
59992012-06-26 Martin Rudalics <rudalics@gmx.at>
6000
6001 * calendar/calendar.el (calendar-exit): Don't try to delete or
6002 iconify last frame. See:
6003 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6004
8c4f2952
JD
60052012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6006
6007 * server.el (server-process-filter): Remember dir in the
6008 process's `server-client-directory' properties.
6009
772b2e2c
CY
60102012-06-24 Chong Yidong <cyd@gnu.org>
6011
6012 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6013 non-tag text.
6014
711b11e1
JB
60152012-06-23 Juanma Barranquero <lekktu@gmail.com>
6016
6017 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6018
dc5d230c
SM
60192012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * help-fns.el (describe-variable): Don't croak when doc is not found.
6022 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6023 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6024 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6025 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6026 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6027 ((lambda ..) ..).
6028 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6029
136e1c1d
CY
60302012-06-23 Chong Yidong <cyd@gnu.org>
6031
e8c1cabf
CY
6032 * info.el (Info-mouse-follow-link): Accept symbol values of
6033 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6034 (Info-fontify-node): Use Info-link-keymap for all navigation
6035 buttons, with link-args property to perform the desired action.
6036 (Info-link-keymap): Doc fix.
6037 (Info-next-link-keymap, Info-prev-link-keymap)
6038 (Info-up-link-keymap): Delete now-unused keymaps.
6039
0e9e6c6a
CY
60402012-06-23 Chong Yidong <cyd@gnu.org>
6041
05e89fea
CY
6042 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6043
0e9e6c6a
CY
6044 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6045 system abbrevs.
6046
6047 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6048
e33c6771
SM
60492012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6050
b68581e2
SM
6051 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6052 (bug#11719).
6053
e33c6771
SM
6054 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6055 the requote function doesn't work properly (bug#11714).
6056
7117e105
GM
60572012-06-23 Glenn Morris <rgm@gnu.org>
6058
6059 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6060
36cec983
SM
60612012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6062
6063 Further GV/CL cleanups.
6064 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6065 gv-expander.
6066 (gv--defun-declaration): New function.
6067 (defun-declarations-alist): Use it.
6068 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6069 (gv-place): Autoload.
6070 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6071 original definition of dotimes and dolist.
6072 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6073 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6074 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6075 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6076 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6077 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6078 to the function's definition.
6079 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6080 * window.el:
6081 * files.el:
6082 * faces.el:
6083 * env.el: Don't use CL.
6084
d35af63c
PE
60852012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6086
6087 Support higher-resolution time stamps (Bug#9000).
6088
6089 * calendar/time-date.el (with-decoded-time-value): New arg
6090 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6091 (encode-time-value): New optional arg PICO. New type 3.
6092 (time-to-seconds) [!float-time]: Support the new picoseconds
6093 component if it's used.
6094 (seconds-to-time, time-subtract, time-add):
6095 Support ps-resolution time stamps as well.
6096
6097 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6098 (timerp): Timer vectors now have length 9, not 8.
6099 (timer--time): Support new-style (4-part) time stamps.
6100 (timer-next-integral-multiple-of-time): Time stamps now have
6101 picosecond resolution, so take a bit more care about rounding.
6102 (timer-relative-time, timer-inc-time): New optional arg psecs.
6103 (timer-set-time-with-usecs): Set psecs to 0.
6104 (timer--activate): Check psecs component, too.
6105
6106 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6107
ac77b21a
SM
61082012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6109
f143bfe3
SM
6110 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6111 Move the non-essential binding to the post/pre-command-hook where it is
6112 more obviously correct.
6113
ac77b21a
SM
6114 * subr.el (read-passwd): Don't use a history at all.
6115 * savehist.el (savehist-save): Remove password saved accidentally
6116 because of the above bug.
6117
76386c5a
BG
61182012-06-22 Bastien Guerry <bzg@gnu.org>
6119
6120 * files.el (toggle-read-only): Display a message telling whether
6121 the buffer is read-only or not (bug#11726).
6122
2ee3d7f0
SM
61232012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6124
6125 * emacs-lisp/gv.el: New file.
6126 * subr.el (push, pop): Extend to generalized variables.
6127 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6128 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6129 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6130 gv-define-simple-setter, and gv-define-expander.
6131 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6132 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6133 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6134 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6135 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6136 gv-letplace.
6137 (cl-defstruct): Don't define setf-method any more.
6138 * emacs-lisp/cl.el (flet): Don't autoload.
6139 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6140 (define-setf-expander, defsetf, define-modify-macro)
6141 (cl-struct-setf-expander): Move from cl-lib.el.
6142 * emacs-lisp/syntax.el:
6143 * emacs-lisp/ewoc.el:
6144 * emacs-lisp/smie.el:
6145 * emacs-lisp/cconv.el:
6146 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6147 (timer--time): Use gv-define-simple-setter.
6148 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6149 to avoid coding-system problems in subr.el. Adjust all users.
6150 (macroexp--maxsize, macroexp-small-p): New functions.
6151 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6152 * scroll-bar.el (scroll-bar-mode):
6153 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6154 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6155 * winner.el (winner-configuration, winner-make-point-alist)
6156 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6157 * files.el (locate-file-completion-table): Avoid list*.
6158
c5695d1d
CY
61592012-06-22 Chong Yidong <cyd@gnu.org>
6160
6161 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6162 (dired-create-files): Doc fix (Bug#11329).
6163 (dired-do-copy): Doc fix (Bug#11334).
6164 (dired-mark-read-string): Doc fix (Bug#11553).
6165
2ee3d7f0
SM
6166 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6167 Doc fix (Bug#11326).
c5695d1d
CY
6168 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6169 (dired-dwim-target): Doc fix.
6170
6171 * wdired.el (wdired-mode): Doc fix.
6172
89b5595a
GM
61732012-06-22 Glenn Morris <rgm@gnu.org>
6174
575db3f1
GM
6175 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6176 (pcmpl-rpm-cache-stamp-file): New constant.
6177 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6178 (pcmpl-rpm-packages): Optionally cache list of packages.
6179
a4c8dd51
GM
6180 * pcmpl-rpm.el (pcmpl-rpm): New group.
6181 (pcmpl-rpm-query-options): New option.
6182 (pcmpl-rpm-packages): No need to inline it.
6183 Use pcmpl-rpm-query-options.
6184
89b5595a
GM
6185 * calendar/calendar.el (calendar-in-read-only-buffer):
6186 Avoid some needless mode changes.
6187
e76f0800
CY
61882012-06-21 Chong Yidong <cyd@gnu.org>
6189
6190 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6191 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6192 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6193
297a8f1d
CY
61942012-06-20 Chong Yidong <cyd@gnu.org>
6195
6196 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6197
d34c18b1
DR
61982012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6199
6200 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6201 (bug#11201).
6202
32f7f28e
CY
62032012-06-20 Chong Yidong <cyd@gnu.org>
6204
6205 * term.el (term-window-width): Handle the case of a missing right
6206 fringe (Bug#8837).
6207 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6208 (term-mode): Use define-derived-mode. Minor cleanups.
6209 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6210 (term-move-columns, term-insert-char, term-emulate-terminal)
6211 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6212
493c6688
MA
62132012-06-20 Michael Albinus <michael.albinus@gmx.de>
6214
d34c18b1
DR
6215 * net/ange-ftp.el (ange-ftp-get-passwd):
6216 Bind `enable-recursive-minibuffers'.
493c6688
MA
6217 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6218
3f06ecf4
DR
62192012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6220
6221 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6222
68f12411
GM
62232012-06-19 Glenn Morris <rgm@gnu.org>
6224
6225 * progmodes/python.el (python-mode): Derive from prog-mode.
6226
b3820318
KG
62272012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6228
6229 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6230 (edt-user-menu-bar-update-buffers): New functions.
6231 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6232
c6bf3022
CY
62332012-06-19 Chong Yidong <cyd@gnu.org>
6234
6235 * subr.el (with-selected-window): Preserve the selected window's
6236 terminal's top-frame (Bug#4702).
6237
6238 * window.el (save-selected-window): Likewise.
6239
25f09295
SM
62402012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6241
6242 * progmodes/python.el (python-rx-constituents): Move backquote.
6243 (python-skeleton-define, python-define-auxiliary-skeleton):
6244 Use `declare'.
6245
6b11952a
MA
62462012-06-18 Michael Albinus <michael.albinus@gmx.de>
6247
6248 * minibuffer.el (read-file-name-default): Revert the patch from
6249 2012-06-17.
6250
ee4b1330
SM
62512012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6252
6253 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6254 (pcase--u1, pcase--q1): Don't use apply-partially.
6255
35647f79
GM
62562012-06-18 Glenn Morris <rgm@gnu.org>
6257
6258 * progmodes/python.el (python-proc, python-buffer)
6259 (python-send-receive, python-send-string): Fix obsolete versions.
6260
24b0cff0
MR
62612012-06-18 Martin Rudalics <rudalics@gmx.at>
6262
6263 * window.el (special-display-p): Completely remove stringp
6264 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6265
29855149
MA
62662012-06-17 Michael Albinus <michael.albinus@gmx.de>
6267
6268 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6269
6270 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6271
6272 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6273 * net/tramp-sh.el (tramp-maybe-open-connection):
6274 Throw if `non-essential' is non-nil.
6275
07463363
MR
62762012-06-17 Martin Rudalics <rudalics@gmx.at>
6277
6278 * window.el (special-display-p): Signal an error if BUFFER-NAME
6279 is not a string (Bug#11713).
6280
48d1354e
PE
62812012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6282
6283 * progmodes/python.el (python-info-beginning-of-backslash):
6284 Rename from python-info-beginning-of-backlash, as a spelling fix.
6285
eb4a8a9a
CY
62862012-06-17 Chong Yidong <cyd@gnu.org>
6287
6288 * term.el (term-emulate-terminal): If term-check-size is called,
6289 move point to the process mark without resetting point (Bug#4635).
6290
ddfbf826 62912012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6292
6293 * international/mule-cmds.el (mule-menu-keymap)
6294 (set-language-environment, set-locale-environment): Doc tweaks.
6295
9b0e3eba
AA
62962012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6297
6298 * cus-face.el (custom-face-attributes): Add wave-style underline
6299 attribute.
6300 * faces.el (set-face-attribute): Update docstring to describe
6301 wave-style underline attribute.
6302
771e3eae
CY
63032012-06-16 Chong Yidong <cyd@gnu.org>
6304
6305 * term/xterm.el (terminal-init-xterm): Discard input before
6306 querying background mode (Bug#10959).
6307
7ae2ea10
SM
63082012-06-16 Stefan Merten <smerten@oekonux.de>
6309
6310 * textmodes/rst.el: Added and corrected some comments.
6311 (rst-re-alist-def): Improve symbol syntax.
6312 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6313 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6314 (rst-official-version, rst-official-cvs-rev): Update version
6315 information.
7ae2ea10 6316
b6974efa
JB
63172012-06-15 Juanma Barranquero <lekktu@gmail.com>
6318
6319 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6320 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6321
8826d473
GM
63222012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6323
6324 * progmodes/python.el: New python.el merge.
6325 (python-guess-indent): Obsolete var.
6326 (python-indent-guess-indent-offset): New defcustom.
6327 (python-indent): Obsolete var.
6328 (python-indent-offset): New defcustom.
6329 (python-python-command, python-jython-command): Delete var.
6330 (python-shell-interpreter): New defcustom.
6331 (python-pdbtrack-do-tracking-p): Delete var.
6332 (python-pdbtrack-activate): New defcustom.
6333 (python-use-skeletons): Obsolete var.
6334 (python-skeleton-autoinsert): New defcustom.
6335 (inferior-python-filter-regexp, python-continuation-offset)
6336 (python-honour-comment-indentation, python-indent-string-contents)
6337 (python-jython-packages, python-mode-hook)
6338 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6339 (python-shell-prompt-alist)
6340 (python-source-modes): Delete defcustoms.
6341 (python-check-buffer-name, python-eldoc-setup-code)
6342 (python-eldoc-string-code, python-ffap-setup-code)
6343 (python-ffap-string-code, python-fill-comment-function)
6344 (python-fill-decorator-function, python-fill-paren-function)
6345 (python-fill-string-function, python-imenu-include-defun-type)
6346 (python-imenu-make-tree, python-imenu-subtree-root-label)
6347 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6348 (python-shell-compilation-regexp-alist)
6349 (python-shell-completion-module-string-code)
6350 (python-shell-completion-pdb-string-code)
6351 (python-shell-completion-setup-code)
6352 (python-shell-completion-string-code)
6353 (python-shell-enable-font-lock, python-shell-exec-path)
6354 (python-shell-extra-pythonpaths)
6355 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6356 (python-shell-process-environment)
6357 (python-shell-prompt-block-regexp)
6358 (python-shell-prompt-output-regexp)
6359 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6360 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6361 (python-shell-virtualenv-path): New defcustoms.
6362 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6363 (inferior-python-mode-syntax-table, python--prompt-regexp)
6364 (python-buffer, python-command python-python-command)
6365 (python-default-template, python-imports, python-indent-index)
6366 (python-indent-list, python-indent-list-length)
6367 (python-mode-running, python-pdbtrack-is-tracking-p)
6368 (python-preoutput-continuation, python-preoutput-leftover)
6369 (python-preoutput-result, python-preoutput-skip-next-prompt)
6370 (python-prev-dir/file, python-recursing)
6371 (python-saved-check-command, python-version-checked)
6372 (python-which-func-length-limit)
6373 (view-return-to-alist): Delete vars.
6374 (python-check-custom-command, python-dotty-syntax-table)
6375 (python-imenu-index-alist, python-indent-current-level)
6376 (python-indent-dedenters, python-indent-levels)
6377 (python-nav-beginning-of-defun-regexp)
6378 (python-nav-list-defun-positions-cache)
6379 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6380 (python-shell-internal-buffer)
6381 (python-skeleton-available): New vars.
6382 (def-python-skeleton): Delete macro.
6383 (python-skeleton-define): New macro.
6384 (python-define-auxiliary-skeleton, python-rx): New macros.
6385 (python-insert-class): Delete command.
6386 (python-skeleton-class): New command.
6387 (python-insert-def): Delete command.
6388 (python-skeleton-def): New command.
6389 (python-insert-for): Delete command.
6390 (python-skeleton-for): New command.
6391 (python-insert-if): Delete command.
6392 (python-skeleton-if): New command.
6393 (python-insert-try/except, python-insert-try/finally): Delete commands.
6394 (python-skeleton-try): New command.
6395 (python-insert-while): Delete command.
6396 (python-skeleton-while): New command.
6397 (python-backspace): Delete command.
6398 (python-indent-dedent-line-backspace): New command.
6399 (python-electric-colon): Delete command.
6400 (python-indent-electric-colon): New command.
6401 (python-guess-indent): Delete command.
6402 (python-indent-guess-indent-offset): New command.
6403 (python-shift-left): Delete command.
6404 (python-indent-shift-left): New command.
6405 (python-shift-right): Delete command.
6406 (python-indent-shift-right): New command.
6407 (python-find-function): Delete command.
6408 (python-nav-jump-to-defun): New command.
6409 (python-next-statement): Delete command.
6410 (python-nav-forward-sentence): New command.
6411 (python-previous-statement): Delete command.
6412 (python-nav-backward-sentence): New command.
6413 (python-fill-paragraph): Delete command.
6414 (python-fill-paragraph-function): New command.
6415 (python-send-buffer): Delete command.
6416 (python-shell-send-buffer): New command.
6417 (python-send-defun): Delete command.
6418 (python-shell-send-defun): New command.
6419 (python-send-region, python-send-region-and-go): Delete commands.
6420 (python-shell-send-region)
6421 (python-shell-switch-to-shell): New commands.
6422 (python-send-string): Delete command.
6423 (python-shell-send-string): New command.
6424 (python-switch-to-python): Delete command.
6425 (python-shell-switch-to-shell): New command.
6426 (python-describe-symbol): Delete command.
6427 (python-eldoc-at-point): New command.
6428 (python--set-prompt-regexp, python-args-to-list)
6429 (python-after-info-look, python-check-version)
6430 (python-check-comint-prompt, python-find-imports)
6431 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6432 (python-unload-function, python-expand-template)
6433 (python-maybe-jython, python-preoutput-filter)
6434 (python-pdbtrack-get-source-buffer)
6435 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6436 (python-pdbtrack-toggle-stack-tracking)
6437 (python-pdbtrack-track-stack-file, python-initial-text)
6438 (python-first-word, python-comment-line-p, python-send-command)
6439 (python-setup-brm, python-sentinel, python-set-proc)
6440 (python-skip-out, python-input-filter, python-outdent-p)
6441 (python-outline-level, python-backslash-continuation-line-p)
6442 (python-end-of-block, python-end-of-statement, python-mark-block)
6443 (python-beginning-of-block, python-beginning-of-statement)
6444 (python-blank-line-p, python-beginning-of-string)
6445 (python-open-block-statement-p): Delete functions.
6446 (python-indent-line, python-indent-line-1): Delete functions.
6447 (python-indent-line): New function.
6448 (python-indentation-levels): Delete function.
6449 (python-indent-calculate-levels): New function.
6450 (python-proc): Delete function.
6451 (python-shell-get-process): New function.
6452 (python-send-receive): Delete function.
6453 (python-shell-send-string-no-output): New function.
6454 (python-module-path): Delete function.
6455 (python-ffap-module-path): New function.
6456 (python-completion-at-point)
6457 (python-symbol-completions): Delete functions.
6458 (python-completion-complete-at-point): New function.
6459 (python-load-file): Delete function.
6460 (python-shell-send-file): New function.
6461 (python-calculate-indentation): Delete function.
6462 (python-indent-calculate-indentation): New function.
6463 (python-skip-comments/blanks): Delete function.
6464 (python-util-forward-comment): New function.
6465 (python-continuation-line-p): Delete function.
6466 (python-info-continuation-line-p): New function.
6467 (python-which-func, python-current-defun): Delete function.
6468 (python-info-current-defun): New function.
6469 (python-beginning-of-defun): Delete function.
6470 (python-nav-beginning-of-defun): New function.
6471 (python-close-block-statement-p)
6472 (python-block-end-p): Delete function.
6473 (python-info-closing-block): New function.
6474 (python-comint-output-filter-function)
6475 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6476 (python-fill-comment, python-fill-decorator, python-fill-paren)
6477 (python-fill-string, python-imenu-make-element-tree)
6478 (python-imenu-make-tree, python-imenu-tree-assoc)
6479 (python-indent-context, python-indent-dedent-line)
6480 (python-indent-line-function)
6481 (python-indent-post-self-insert-function)
6482 (python-indent-toggle-levels)
6483 (python-info-assignment-continuation-line-p)
6484 (python-info-beginning-of-backlash)
6485 (python-info-block-continuation-line-p)
6486 (python-info-closing-block-message)
6487 (python-info-line-ends-backslash-p)
6488 (python-info-looking-at-beginning-of-defun)
6489 (python-info-ppss-context, python-info-ppss-context-type)
6490 (python-nav-list-defun-positions, python-nav-read-defun)
6491 (python-nav-sentence-end, python-nav-sentence-start)
6492 (python-pdbtrack-comint-output-filter-function)
6493 (python-pdbtrack-set-tracked-buffer)
6494 (python-shell-calculate-exec-path)
6495 (python-shell-calculate-process-environment)
6496 (python-shell-completion--do-completion-at-point)
6497 (python-shell-completion--get-completions)
6498 (python-shell-completion-complete-at-point)
6499 (python-shell-completion-complete-or-indent)
6500 (python-shell-get-or-create-process)
6501 (python-shell-get-process-name)
6502 (python-shell-internal-get-or-create-process)
6503 (python-shell-internal-get-process-name)
6504 (python-shell-internal-send-string, python-shell-make-comint)
6505 (python-shell-parse-command, python-shell-send-setup-code)
6506 (python-skeleton-add-menu-items)
6507 (python-util-clone-local-variables, python-util-position)
6508 (run-python-internal, python-indentation-levels)
6509 (python-nav-beginning-of-defun)
6510 (python-completion-complete-at-point): New functions.
6511 (run-python): Change arguments. New API requirements.
6512
4302f5ba
SM
65132012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6514
f38ea36d
SM
6515 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6516 (bug#11649).
6517
6518 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6519 (macroexp--expand-all): Use it.
6520
4302f5ba
SM
6521 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6522 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6523 Use `cl-function' instead.
6524
33377562
JB
65252012-06-14 Juanma Barranquero <lekktu@gmail.com>
6526
6527 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6528 Suggested by Stefan Monnier while discussing bug#11657.
6529
54c5ba1a
SS
65302012-06-14 Sam Steingold <sds@gnu.org>
6531
6532 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6533
f9f1b1fe
AS
65342012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6535
6536 * play/doctor.el (doctor-doc): Remove parameter and use
6537 doctor-sent instead of sent.
6538 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6539
a81068ba
SM
65402012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6541
5a315f9c
SM
6542 * files.el: Require cl-lib.
6543 (file-name-non-special): Replace case -> cl-case.
6544
6545 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6546
a81068ba
SM
6547 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6548 mapping from #' to function*.
6549
8cca9703
CY
65502012-06-13 Chong Yidong <cyd@gnu.org>
6551
6552 * mouse.el (mouse-drag-track): Do not set the mark if the user
6553 releases the mouse without selecting anything (Bug#11588).
6554
a12ac9d7
SM
65552012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6556
ccf1dc18
SM
6557 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6558 as well (bug#11646).
6559
ef62b23d
SM
6560 * loadup.el: Count byte-code functions as well.
6561
c4c8444a
SM
6562 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6563 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6564
a12ac9d7
SM
6565 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6566 (bug#11649). Add cl-defun and cl-defmacro.
6567
87e6e64f
DA
65682012-06-13 Drew Adams <drew.adams@oracle.com>
6569
6570 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6571 Fix last change.
6572
682cefaf
MA
65732012-06-13 Michael Albinus <michael.albinus@gmx.de>
6574
6575 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6576 Otherwise, it blocks in batch mode.
6577
773e1f08
JB
65782012-06-13 Juanma Barranquero <lekktu@gmail.com>
6579
6580 * help-mode.el (bookmark-make-record-default): Declare.
6581
60057926
CY
65822012-06-13 Chong Yidong <cyd@gnu.org>
6583
6584 * emacs-lisp/package.el (list-packages): Compute a list of
6585 packages that are newly-available since the last list-packages
6586 invocation.
6587 (package-menu--new-package-list): New var.
6588 (package-menu--generate, package-menu--print-info)
6589 (package-menu--status-predicate, package-menu-mark-install):
6590 Handle new status label "new".
6591
ad4d226c
SM
65922012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6595 conversion to backquotes.
6596
f1a4e679
CY
65972012-06-12 Chong Yidong <cyd@gnu.org>
6598
6599 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6600 Rename from gud-inhibit-global-bindings.
6601
6602 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6603
6604 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6605 hook from nxml-glyph-set-hook.
6606
6607 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6608 declaration.
6609
6610 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6611
6612 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6613 Convert to defcustom.
6614
0c9e42b5
DA
66152012-06-12 Drew Adams <drew.adams@oracle.com>
6616
6617 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6618 New functions.
6619 (help-mode): Use them.
6620
09e06855
GM
66212012-06-11 Glenn Morris <rgm@gnu.org>
6622
6623 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6624 Use preprocessor face for directives.
6625 (fortran-directive-re): Doc fix.
6626
71adb94b
SM
66272012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6628
2eb87922
SM
6629 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6630 conversion to backquotes (bug#11652).
6631
71adb94b
SM
6632 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6633 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6634 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6635 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6636 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6637 (cl-ninth, cl-tenth): Mark them as inlinable.
6638 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6639 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6640 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6641 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6642 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6643 (cl-list*, cl-adjoin): Don't put an autoload manually.
6644 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6645 (cl--compiler-macro-list*): Add autoload cookie.
6646 (cl--compiler-macro-cXXr): New function.
2eb87922 6647
71adb94b
SM
6648 * help-fns.el (help-fns--compiler-macro): New function extracted from
6649 describe-function-1; follow aliases and use `compiler-macro' property.
6650 (describe-function-1): Use it.
6651
a6674402
CY
66522012-06-11 Chong Yidong <cyd@gnu.org>
6653
6654 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6655 is uninstalled, if imagemagick is installed.
6656
bb3faf5b
SM
66572012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6658
6659 * emacs-lisp/cl-lib.el: Use lexical-binding.
6660 (cl-map-extents, cl-maclisp-member): Remove.
6661 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6662 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6663 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6664 * emacs-lisp/cl-extra.el: Use lexical-binding.
6665 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6666 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6667 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6668 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6669 * emacs-lisp/cl-seq.el: Use lexical-binding.
6670 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6671 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6672 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6673 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6674 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6675 CL's internals.
6676
2fe4b125
MA
66772012-06-11 Michael Albinus <michael.albinus@gmx.de>
6678
6679 Sync with Tramp 2.2.6-pre.
6680
6681 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6682 `print-length' and `print-level' to nil, in order to avoid
6683 truncation. Reported by Christopher Schmidt
6684 <christopher@ristopher.com>.
6685
6686 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6687
6688 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6689 New defmacro.
6690 (tramp-compat-copy-directory): Add optional argument
6691 COPY-CONTENTS. It is not handled yet.
6692
6693 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6694 (tramp-ftp-file-name-p): Simplify.
6695
6696 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6697 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6698 connection vector.
6699
6700 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6701 (tramp-methods): Do not use `tramp-password-end-of-line'.
6702 (tramp-completion-function-alist-putty): Handle UNIX case.
6703 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6704 (tramp-do-file-attributes-with-stat)
6705 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6706 gid as real numbers. They could run out of integer range on cygwin.
6707 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6708 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
6709 (tramp-open-connection-setup-interactive-shell):
6710 Use `tramp-cleanup'. Move check for busyboxes ...
6711 (tramp-find-shell): ... here. Simplify implementation.
6712 Set "remote-shell" property also for alternative shells.
6713 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6714 If failing, a regular file would be written otherwise.
6715 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
6716 (tramp-find-inline-encoding): Cache the coding commands in the
6717 process cache. Apply test command on the remote side, if defined.
6718 (tramp-find-inline-compress): Cache the compress commands in the
6719 process cache.
6720 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6721 when requested. Handle hops.
6722 (tramp-current-connection): New defvar.
87e6e64f
DA
6723 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6724 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6725 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6726 (tramp-get-inline-compress, tramp-get-inline-coding):
6727 Read connection properties from the process cache.
2fe4b125
MA
6728
6729 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6730 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6731 New defconsts.
2fe4b125
MA
6732 (tramp-smb-prompt): Extend for powershell prompt.
6733 (tramp-smb-file-name-handler-alist): Add handlers for
6734 `process-file', `shell-command' and `start-file-process'.
6735 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6736 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6737 (tramp-smb-file-name-p): Simplify.
6738 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6739 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6740 (tramp-smb-shell-quote-argument): New defuns.
6741 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6742 Implement using "tar". By this, time-stamps are preserved.
6743 (tramp-smb-handle-copy-file): Handle also the case of directories.
6744 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6745 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6746 Use `tramp-get-connection-buffer').
2fe4b125
MA
6747 (tramp-smb-handle-rename-file): Use "rename", when source and
6748 target are on the same share.
87e6e64f
DA
6749 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6750 Use `tramp-smb-server-version'.
2fe4b125
MA
6751 (tramp-smb-wait-for-output): Remove prompt.
6752
6753 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6754 (tramp-methods, tramp-rsh-end-of-line):
6755 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6756 (tramp-save-ad-hoc-proxies): New defcustom.
6757 (tramp-completion-function-alist): Adapt docstring.
6758 (tramp-default-password-end-of-line): Remove defcustom.
6759 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6760 (tramp-user-regexp, tramp-file-name-regexp-unified)
6761 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6762 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6763 (tramp-remote-file-name-spec-regexp): New defconst.
6764 (tramp-file-name-structure): Extend structure for hops.
6765 (tramp-get-method-parameter): Move up.
6766 (tramp-file-name-p, tramp-dissect-file-name)
6767 (with-parsed-tramp-file-name): Handle hops.
6768 (tramp-file-name-hop): New defun.
6769 (tramp-make-tramp-file-name): New optional arg HOP.
6770 (tramp-message-show-progress-reporter-message): New defvar.
6771 (tramp-with-progress-reporter): Use it. We cannot use
6772 `tramp-message-show-message' here, because this suppresses also
6773 error buffers.
6774 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6775 `tramp-message-show-message' is nil.
6776 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6777 (tramp-cleanup): New defun.
6778 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6779 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6780 an error unchanged.
6781 (tramp-completion-handle-file-name-all-completions): Handle hops.
6782 Fix an error when called from ido.
6783 (tramp-completion-dissect-file-name): Use better local variable
6784 name. Add hop to the vector.
6785 (tramp-handle-insert-file-contents): Use progress-reporter for the
6786 whole scenario.
6787 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6788 to `t'.
6789 (tramp-check-for-regexp): Simplify search.
6790 (tramp-enter-password): Remove it. Move implementation ...
6791 (tramp-action-password): ... here.
6792 (tramp-mode-string-to-int, tramp-local-host-p)
6793 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6794 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6795 Set tramp-autoload cookie.
2fe4b125
MA
6796
6797 * net/trampver.el: Update release number.
6798
67992012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6800 Michael Albinus <michael.albinus@gmx.de>
6801
6802 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6803 (tramp-parse-group, tramp-parse-file)
6804 (tramp-parse-shostkeys-sknownhosts): New defuns.
6805 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6806 (tramp-parse-shosts-group, tramp-parse-sconfig)
6807 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6808 (tramp-parse-sknownhosts, tramp-parse-hosts)
6809 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6810 Use them.
6811 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6812 (tramp-parse-putty-group): Don't narrow.
6813 (tramp-parse-putty): Make a loop.
6814 (tramp-file-name-handler): Catch the `suppress' signal.
6815
72834e10
CY
68162012-06-11 Chong Yidong <cyd@gnu.org>
6817
6818 * image.el (imagemagick-register-types): Put the ImageMagick entry
6819 at the end of image-type-file-name-regexps.
6820
a4712e11
JB
68212012-06-11 Johan Bockgård <bojohan@gnu.org>
6822
6823 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6824 (pcase, pcase-let*, pcase-dolist): Use them.
6825
82ad98e3
SM
68262012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 * emacs-lisp/pcase.el (pcase--let*): New function.
6829 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6830 (pcase--expand): Use macroexp-let².
6831
f80efb86
SM
68322012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6835 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6836 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6837 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6838 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6839 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6840
31ca4639 68412012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6842
31ca4639
CY
6843 * mail/rmail.el (rmail-yank-current-message): Leave point at
6844 correct position. (Bug#11660)
94f0aa34 6845
31ca4639 68462012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6847
31ca4639 6848 * allout-widgets.el: Fix code header.
9e1b8ec4 6849
31ca4639 68502012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6851
f80efb86
SM
6852 * cus-edit.el (customize-changed-options-previous-release):
6853 Bump to 24.1.
31ca4639 6854
642b6d30
AS
68552012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6856
6857 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6858
4f5d2ba1
CY
68592012-06-09 Chong Yidong <cyd@gnu.org>
6860
6861 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6862
e75852fd
MR
68632012-06-09 Martin Rudalics <rudalics@gmx.at>
6864
6865 * window.el (special-display-popup-frame): Don't use
6866 window--display-buffer (Bug#11651).
6867
1e48e282
EZ
68682012-06-09 Eli Zaretskii <eliz@gnu.org>
6869
8a26b487
EZ
6870 Fix parallel builds: make sure loaddefs.el is not being written
6871 while Lisp files are compiled.
6872 (compile): Don't depend on 'mh-autoloads'.
6873 (compile-CMD, compile-SH): Depend on 'autoloads'.
6874 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6875
1e48e282
EZ
6876 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6877
6175e34b
CY
68782012-06-09 Chong Yidong <cyd@gnu.org>
6879
6880 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6881 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6882 Doc fixes (Bug#11225).
6883
d9857e53
SM
68842012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6887 a function if there's a clear indication that it has a compiler-macro.
6888 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6889 (macro-declarations-alist): Add arglist to declaration functions.
6890 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6891 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6892 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6893 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6894 Also add autoload to find the compiler macro.
6895 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6896 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6897 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6898 (cl--compiler-macro-get): New functions, replacing calls to
6899 cl-define-compiler-macro.
6900 (cl-typep) [compiler-macro]: Use macroexp-let².
6901
f81298f8 69022012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6903
6904 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6905 string properly, fixes Bug#11473.
6906
4b56d0fe
CY
69072012-06-08 Chong Yidong <cyd@gnu.org>
6908
6909 * faces.el (set-face-attribute): Doc fix.
6910 (modify-face): Don't use :bold and :italic.
6911 (error, warning, success): Tweak definitions.
6912
6913 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6914 (custom-modified, custom-set, custom-changed, custom-themed)
6915 (custom-saved, custom-button, custom-button-mouse)
6916 (custom-button-pressed, custom-state, custom-comment-tag)
6917 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6918 (custom-group-subtitle): Use new-style face specs.
6919 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6920 (custom-set-face, custom-changed-face, custom-saved-face)
6921 (custom-button-face, custom-button-pressed-face)
6922 (custom-documentation-face, custom-state-face)
6923 (custom-comment-face, custom-comment-tag-face)
6924 (custom-variable-tag-face, custom-variable-button-face)
6925 (custom-face-tag-face, custom-group-tag-face-1)
6926 (custom-group-tag-face): Remove obsolete face alias.
6927
6928 * epa.el (epa-validity-high, epa-validity-medium)
6929 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6930 (epa-field-name, epa-field-body):
6931 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6932 (font-lock-keyword-face, font-lock-builtin-face)
6933 (font-lock-function-name-face, font-lock-variable-name-face)
6934 (font-lock-type-face, font-lock-constant-face):
6935 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6936 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6937 * speedbar.el (speedbar-button-face, speedbar-file-face)
6938 (speedbar-directory-face, speedbar-tag-face)
6939 (speedbar-selected-face, speedbar-highlight-face)
6940 (speedbar-separator-face):
6941 * whitespace.el (whitespace-newline, whitespace-space)
6942 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6943 (whitespace-line, whitespace-space-before-tab)
6944 (whitespace-space-after-tab, whitespace-indentation)
6945 (whitespace-empty):
6946 * emulation/cua-base.el (cua-global-mark):
6947 * eshell/em-prompt.el (eshell-prompt):
6948 * net/newst-plainview.el (newsticker-new-item-face)
6949 (newsticker-old-item-face, newsticker-immortal-item-face)
6950 (newsticker-obsolete-item-face, newsticker-date-face)
6951 (newsticker-statistics-face, newsticker-default-face):
6952 * net/newst-reader.el (newsticker-feed-face)
6953 (newsticker-extra-face, newsticker-enclosure-face):
6954 * net/newst-treeview.el (newsticker-treeview-face)
6955 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6956 (newsticker-treeview-immortal-face)
6957 (newsticker-treeview-obsolete-face)
6958 (newsticker-treeview-selection-face):
6959 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6960 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6961 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6962 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6963 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6964 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6965 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6966 (mpuz-text):
6967 * progmodes/vera-mode.el (vera-font-lock-number)
6968 (vera-font-lock-function, vera-font-lock-interface):
6969 * textmodes/table.el (table-cell): Use new-style face specs, and
6970 don't use the old :bold and :italic attributes.
6971
6972 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6973 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6974 (ebrowse-member-class, ebrowse-progress): Likewise.
6975 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6976 (ebrowse-file-name-face, ebrowse-default-face)
6977 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6978 (ebrowse-progress-face): Remove obsolete faces.
6979
6980 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6981 Inherit from error and warning faces respectively.
6982
6983 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6984 Likewise.
f80efb86
SM
6985 (flyspell-incorrect-face, flyspell-duplicate-face):
6986 Remove obsolete aliases.
4b56d0fe 6987
03310646
MA
69882012-06-08 Michael Albinus <michael.albinus@gmx.de>
6989
6990 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6991 Avoid infloop.
6992
513749ee
SM
69932012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6994
6995 * startup.el (argv, argi): Make lexically scoped.
6996 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6997 * emacs-lisp/cl-macs.el: Use lexical-binding.
6998 Rename cl-bind-* to cl--bind-*.
6999 * files.el: Don't require `cl' since it doesn't use it.
7000 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7001
595ef4ad
JB
70022012-06-08 Juanma Barranquero <lekktu@gmail.com>
7003
7004 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7005 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7006 instead of calling external sort utility.
7007 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7008
e9f66fcb
EZ
70092012-06-08 Eli Zaretskii <eliz@gnu.org>
7010
7011 * descr-text.el (describe-char): Mention how to insert the
7012 character, if the current input method doesn't support it.
7013 See the discussion in this thread for the details:
7014 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7015
3d10db47
SS
70162012-06-08 Sam Steingold <sds@gnu.org>
7017
7018 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7019 XF86Back to previous-buffer.
7020 (minibuffer-local-map): Bind them to next-history-element and
7021 previous-history-element respectively.
7022 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7023 help-go-back respectively.
7024 * info.el (Info-mode-map): Bind them to Info-history-forward and
7025 Info-history-back respectively.
7026 These are the keys next to Up on the ThinkPad keyboard.
7027
de7e2b36
SM
70282012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7029
7030 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7031 * emacs-lisp/cl-macs.el: Provide itself.
7032 (cl--labels-convert-cache): New var.
7033 (cl--labels-convert): New function.
7034 (cl-flet, cl-labels): New implementation with new semantics, relying on
7035 lexical-binding.
7036 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7037 (cl-closure-vars, cl--function-convert-cache)
7038 (cl--function-convert): Move from cl-macs.el.
7039 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7040 rename by removing the "cl-" prefix.
7041 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7042
6fa6c4ae
SM
70432012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7046 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7047 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7048 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7049 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7050 (cl-hash-table-count): Add old compatibility aliases.
7051
7052 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7053 Use macroexpand-all-environment instead.
7054 (cl--old-macroexpand): New var.
7055 (cl--sm-macroexpand): New function.
7056 (cl-symbol-macrolet): Use it during macro expansion.
7057 (cl--function-convert-cache): New var.
7058 (cl--function-convert): New function, extracted from
7059 cl-macroexpand-all.
7060 (cl-lexical-let): Use it.
7061
7062 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7063 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7064 (cl-member): Remove old alias.
7065
7066 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7067 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7068 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7069 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7070 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7071 (cl-macroexpand-cmacs): Remove var.
7072 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7073 Use macroexpand-all instead.
7074
4dd1c416
SM
70752012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7076
7077 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7078 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7079 (macroexp-copyable-p): New functions and macros.
7080 * emacs-lisp/edebug.el (edebug-unwrap):
7081 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7082 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7083 (pcase--let*): Remove.
7084 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7085 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7086 macroexp-const-p instead.
7087 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7088
7089 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7090 instead of "cl-" for internal definitions. Use macroexp-const-p.
7091 (cl-old-bc-file-form): Remove var.
7092 (cl-const-exprs-p): Remove fun.
7093 (cl-labels, cl-macrolet): Use backquote.
7094 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7095 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7096 (cl-define-setf-expander): Rename from cl-define-setf-method.
7097 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7098
7099 * international/mule-cmds.el: Don't require CL.
7100 (view-hello-file): Don't use `letf'.
7101
ed8bd4d7
SM
71022012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7287f2f3
SM
7104 * tmm.el (tmm-prompt): Use string-prefix-p.
7105 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7106 (tmm-add-prompt): Use minibuffer-completion-help.
7107 (tmm-delete-map): Remove.
7108
ed8bd4d7
SM
7109 * subr.el (kbd): Make it its own function.
7110
7b4cdbf4
SM
71112012-06-07 Stefan Merten <smerten@oekonux.de>
7112
7113 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7114 Silence compiler warnings. Fix versions.
ed8bd4d7 7115 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 7116 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 7117 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
7118 (rst-package-emacs-version-alist): Correct Emacs version to
7119 represent major merge with upstream.
ed8bd4d7 7120 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 7121
2b48d721
GM
71222012-06-06 Glenn Morris <rgm@gnu.org>
7123
7124 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7125 Only print environment variables if set.
7126
fa779ab0
SM
71272012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7130 (macroexp--cons): Rename from maybe-cons.
7131 (macroexp--accumulate): Rename from macroexp-accumulate.
7132 (macroexp--all-forms): Rename from macroexpand-all-forms.
7133 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7134 (macroexp--expand-all): Rename from macroexpand-all-1.
7135
628299e0
SS
71362012-06-06 Sam Steingold <sds@gnu.org>
7137
7138 * calendar/calendar.el (calendar-in-read-only-buffer):
7139 Call `special-mode' to enable the standard read-only keybindings.
7140
b7bb5838
SM
71412012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7142
7143 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7144 with "loading" messages (bug#11635).
7145
dfb308ba
MA
71462012-06-06 Michael Albinus <michael.albinus@gmx.de>
7147
7148 * files.el (enable-remote-dir-locals): New option.
7149 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7150
0372ee92
MA
7151 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7152 Ensure, that the temp directory is local.
7153
7154 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7155 `temporary-file-directory'.
7156
eed0bb91
MA
7157 * progmodes/python.el (python-send-region): Ensure, that the
7158 temporary file is created also in the remote case.
7159
7a58f64d
GM
71602012-06-06 Glenn Morris <rgm@gnu.org>
7161
f7dd4e98
GM
7162 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7163 (vc-rcs-update-changelog): Use it.
7164
090bd7cb 7165 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7166
7a58f64d
GM
7167 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7168 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7169 (vc-sccs-diff): Replace use of the external vcdiff script.
7170
daed4003
GM
71712012-06-05 Glenn Morris <rgm@gnu.org>
7172
7173 * ledit.el: Move to obsolete/.
7174
48c455c7
SS
71752012-06-05 Sam Steingold <sds@gnu.org>
7176
ed9265fc 7177 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7178 patch (Bug#11140).
7179
57a7d507
SM
71802012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7181
090bd7cb 7182 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7183
53aacf21
SM
7184 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7185 compiler-macro expansion.
7186
57a7d507
SM
7187 Add native compiler-macro support.
7188 * emacs-lisp/macroexp.el (macroexpand-all-1):
7189 Support compiler-macros directly. Properly follow aliases and apply
7190 the compiler macros more thoroughly.
7191 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7192 macroexpand now properly follows aliases.
7193 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7194 (cl-compiler-macroexpand): Use new prop.
7195 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7196
7197 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7198
51a5f9d8
MR
71992012-06-05 Martin Rudalics <rudalics@gmx.at>
7200
7201 * window.el (get-lru-window, get-mru-window, get-largest-window):
7202 New argument NOT-SELECTED to avoid picking the selected window.
7203 (window--display-buffer-1, window--display-buffer-2): Replace by
7204 new function window--display-buffer
7205 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7206 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7207 Use window--display-buffer.
51a5f9d8
MR
7208 (display-buffer-use-some-window): Remove temporary dedication
7209 hack by calling get-lru-window and get-largest-window with
7210 NOT-SELECTED argument non-nil. Call window--display-buffer.
7211
08f9f738
GM
72122012-06-05 Glenn Morris <rgm@gnu.org>
7213
7214 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7215 Replace external vcdiff script.
7216
e364a2b7
SM
72172012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7218
7219 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7220
041df390
CY
72212012-06-04 Chong Yidong <cyd@gnu.org>
7222
e364a2b7
SM
7223 * image.el (imagemagick-types-inhibit): Revert last change.
7224 Add INFO and M.
47b36b94 7225 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7226
7c1898a7
SM
72272012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7228
7229 * emacs-lisp/cl-lib.el: Rename from cl.el.
7230 * emacs-lisp/cl.el: New compatibility file.
7231 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7232 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7233 to obey the "cl-" prefix.
7234 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7235
0c3461de
GM
72362012-06-03 Glenn Morris <rgm@gnu.org>
7237
1e266c88
GM
7238 * emacs-lisp/authors.el (authors-aliases): Addition.
7239
0c3461de
GM
7240 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7241 Fix :version.
7242
d8a52e15
SM
72432012-06-03 Stefan Merten <smerten@oekonux.de>
7244
7245 * textmodes/rst.el: Add comments.
7246 (rst-transition, rst-adornment): New faces.
7247 (rst-adornment-faces-alist): Make default safe to reevaluate.
7248 Fixes
7249 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7250 Improve customization tags.
7251 (rst-define-level-faces): Clarify meaning.
7252
5205d6f6
CY
72532012-06-03 Chong Yidong <cyd@gnu.org>
7254
7255 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
7256 (compilation-mode-line-run, compilation-mode-line-exit):
7257 New faces.
5205d6f6
CY
7258 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7259
757ee657
JD
72602012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7261
7c1898a7
SM
7262 * progmodes/which-func.el (which-func-update-ediff-windows):
7263 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 7264
5f2c76c6
CY
72652012-06-03 Chong Yidong <cyd@gnu.org>
7266
7267 * bindings.el: Remove explicit help text from format-mode-line.
7268 It is now supplied by mode-line-default-help-echo.
7269 (mode-line-front-space, mode-line-end-spaces)
7270 (mode-line-misc-info): New variables.
7271 (mode-line-modes, mode-line-position): Move the default value to
7272 the variable definition.
7273 (mode-line-default-help-echo): New defcustom.
383f7350
CY
7274 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7275 (mode-line-modified-help-echo): New functions.
7276 (mode-line-mule-info, mode-line-modified): Use them.
7277 (mode-line-eol-desc, propertized-buffer-identification):
7278 Consistency fixes for help text.
cbe46e5f
CY
7279 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7280 set-buffer-file-coding-system (Bug#289).
7281 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7282
f2d6a3df
SM
72832012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * simple.el (execute-extended-command): Set real-this-command
7286 (bug#11506).
7287
37269466
CY
72882012-06-02 Chong Yidong <cyd@gnu.org>
7289
7290 Remove incorrect uses of "modeline" in comments, docstrings, and
7291 function/variable names (Bug#10329).
7292
7293 * cus-edit.el (mode-line):
7294 * dframe.el (dframe-mouse-hscroll):
7295 * emacs-lisp/re-builder.el:
7296 * emacs-lisp/easy-mmode.el (define-minor-mode):
7297 * frame.el (set-frame-name):
7298 * help.el (lookup-minor-mode-from-indicator):
7299 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7300 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7301 (c-toggle-hungry-state):
7302 * progmodes/antlr-mode.el (antlr-language-alist):
7303 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7304 * progmodes/vhdl-mode.el (vhdl-mode):
7305 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7306 * term/ns-win.el (ns-face-at-pos):
7307 * term/sup-mouse.el (sup-mouse-report):
7308 * textmodes/flyspell.el (flyspell-mode-line-string):
7309 * textmodes/ispell.el (ispell-highlight-face):
7310 * textmodes/reftex-global.el:
7311 * vc/vc-arch.el (vc-arch-mode-line-string):
7312 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7313 * vc/vc-git.el (vc-git-mode-line-string):
7314 * vc/vc-hooks.el (vc-display-status)
7315 (vc-default-mode-line-string):
7316 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7317
7318 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7319
7320 * dired.el (dired-sort-set-mode-line): Rename from
7321 dired-sort-set-modeline. All callers changed.
7322
7323 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7324 eshell-status-in-modeline.
7325
7326 * foldout.el (foldout-mode-line-string): Rename from
7327 foldout-modeline-string. All callers changed.
7328 (foldout-update-mode-line): Rename from foldout-update-modeline.
7329
7330 * subr.el (redraw-modeline): Make into obsolete alias.
7331
7332 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7333 timeclock-modeline-display. Make old name an alias.
7334 (timeclock-update-mode-line): Likewise. All callers changed.
7335 (timeclock-mode-line-display): No need to check before using
7336 add-hook.
7337 (timeclock-relative, timeclock-day-over-hook)
7338 (timeclock-use-elapsed, timeclock-mode-string)
7339 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7340
7341 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7342 crisp-mode-modeline-string.
7343
7344 * play/solitaire.el (solitaire-build-mode-line): Rename from
7345 solitaire-build-modeline. All callers changed.
7346
7347 * play/zone.el (zone-hiding-mode-line): Rename from
7348 zone-hiding-modeline. All callers changed.
7349 (zone): Remove unusued `modeline-hidden-level' property.
7350
7351 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7352 xscheme-modeline-initialize. All callers changed.
7353
7354 * strokes.el (strokes-lighter): Rename from
7355 strokes-modeline-string.
7356
7357 * textmodes/sgml-mode.el (html-face-tag-alist)
7358 (html-tag-face-alist): Use mode-line face instead of obsolete
7359 alias modeline.
7360
42152ee4
SM
73612012-06-02 Stefan Merten <smerten@oekonux.de>
7362
7363 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7364 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7365
95f520b5
CY
73662012-06-02 Chong Yidong <cyd@gnu.org>
7367
7368 * image.el (imagemagick-enabled-types): Rename from
7369 imagemagick-types-enable. Add many more types.
7370 (imagemagick-types-inhibit): Change default to nil.
7371 (imagemagick-filter-types): Caller changed.
7372
4a5f187a
SM
73732012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7374
03fef3e6
SM
7375 * emacs-lisp/cl-macs.el: Use backquotes.
7376 (cl-transform-function-property): Use eval-and-compile rather than
7377 abusing `require'.
7378 (defstruct): Use declare-function instead of with-no-warnings.
7379
4a5f187a
SM
7380 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7381 (byte-compile-output-docform): Re-add the print-circle bindings.
7382 (byte-compile-fix-header): Use #$ just because it's shorter.
7383 (byte-compile-output-file-form): Remove defun/defmacro.
7384
bd56924f
MR
73852012-06-01 Martin Rudalics <rudalics@gmx.at>
7386
7387 * simple.el (choose-completion): Remove now obsolete binding for
7388 owindow.
7389
046e38ce
MA
73902012-06-01 Michael Albinus <michael.albinus@gmx.de>
7391
7392 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7393 in order to avoid "Stack overflow in regexp matcher".
7394
32d72c2f
GM
73952012-05-31 Glenn Morris <rgm@gnu.org>
7396
7397 * image.el: For clarity, call imagemagick-register-types at
7398 top-level, rather than relying on a custom :initialize.
7399 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7400 (imagemagick-filter-types): New function. (Bug#7406)
7401 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7402 If disabling support, remove elements altogether rather
7403 than using an impossible regexp.
7404 (imagemagick-types-inhibit): Give it the default init function.
7405
dd41169b
SM
74062012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7407
4a5f187a
SM
7408 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7409 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7410
efc00ab1 74112012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7412
7413 * desktop.el (desktop-read): Clear previous and next buffers for
7414 all windows and bury *Messages* buffer (bug#11556).
7415
500fcedc
SM
74162012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 Add `declare' for `defun'. Align `defmacro's with it.
7419 * emacs-lisp/easy-mmode.el (define-minor-mode)
7420 (define-globalized-minor-mode): Don't autoload the var definitions.
7421 * emacs-lisp/byte-run.el: Use lexical-binding.
7422 (defun-declarations-alist, macro-declarations-alist): New vars.
7423 (defmacro, defun): Use them.
7424 (make-obsolete, define-obsolete-function-alias)
7425 (make-obsolete-variable, define-obsolete-variable-alias):
7426 Use `declare'.
7427 (macro-declaration-function): Mark obsolete.
7428 * emacs-lisp/autoload.el: Use lexical-binding.
7429 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7430
6e8a1786
AM
74312012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7432
7433 * textmodes/ispell.el (ispell-with-no-warnings):
7434 Define as a macro.
500fcedc
SM
7435 (ispell-kill-ispell, ispell-change-dictionary):
7436 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7437 `interactive-p'.
7438
61b108cc
SM
74392012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7442 (macro-declaration-function): Move var from C code.
7443 (macro-declaration-function): Define function with defalias.
7444 * emacs-lisp/macroexp.el (macroexpand-all-1):
7445 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7446 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7447 defun/defmacro any more.
7448 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7449 Provide fallback for unknown arglist.
7450 (byte-compile-arglist-warn): Change calling convention.
7451 (byte-compile-output-file-form): Move print-vars binding.
7452 (byte-compile-output-docform): Simplify accordingly.
7453 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7454 (byte-compile-defmacro-declaration): Remove.
7455 (byte-compile-file-form-defmumble): Generalize to defalias.
7456 (byte-compile-output-as-comment): Return byte-positions.
7457 Simplify callers accordingly.
7458 (byte-compile-lambda): Use `assert'.
7459 (byte-compile-defun, byte-compile-defmacro): Remove.
7460 (byte-compile-file-form-defalias):
7461 Use byte-compile-file-form-defmumble.
7462 (byte-compile-defalias-warn): Remove.
7463
6d3f7c2f
SM
74642012-05-29 Stefan Merten <smerten@oekonux.de>
7465
7466 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7467 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7468
7469 (rst-mode-abbrev-table): Merge definition.
7470 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7471 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7472
6dbaa1c7
UJ
74732012-05-29 Ulf Jasper <ulf.jasper@web.de>
7474
7475 * calendar/icalendar.el
7476 (icalendar-export-region): Export UID properly.
7477
d209e2fb 74782012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7479 * calendar/icalendar.el (icalendar-import-format):
7480 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7481 (icalendar-import-format-uid): New.
7482 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7483 Export UID.
7484
6876a58d
SM
74852012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7488 different alternative patterns.
7489 (pcase-codegen): Be more careful to preserve identity.
7490 (pcase--u1): Don't forget to mark vars as used.
7491
7492 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7493 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7494 (byte-compile-from-buffer): ...rather than here.
7495
7496 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7497 functions from byte-compile-function-environment.
7498
46b7967e
TN
74992012-05-29 Troels Nielsen <bn.troels@gmail.com>
7500
7501 * window.el (window-deletable-p): Avoid deleting the root window
7502 of a frame with an active minibuffer.
7503
69d565e2
MR
75042012-05-29 Martin Rudalics <rudalics@gmx.at>
7505
7506 * simple.el (choose-completion): Use quit-window (Bug#11567).
7507
a149fa51
CY
75082012-05-29 Chong Yidong <cyd@gnu.org>
7509
7510 * whitespace.el (whitespace-cleanup): Fix usage of
7511 whitespace-empty-at-bob-regexp (Bug#11492).
7512
2b311310
AH
75132012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7514
7515 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7516 revert (Bug#11488).
7517
b9cb2387
JL
75182012-05-29 Juri Linkov <juri@jurta.org>
7519
7520 * isearch.el (isearch-mode-map): Bind `M-s _' to
7521 `isearch-toggle-symbol'. Bind `M-s c' to
7522 `isearch-toggle-case-fold'.
7523 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7524 (isearch-forward): Add `M-s _' to the docstring.
7525 (isearch-forward-symbol, isearch-toggle-case-fold)
7526 (isearch-symbol-regexp): New functions. (Bug#11381)
7527
d5e61c1c
JL
75282012-05-29 Juri Linkov <juri@jurta.org>
7529
7530 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7531 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7532 a function, call it to get the regexp.
7533 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7534 property `isearch-message-prefix' instead of the string "word ".
7535 (isearch-search-fun-default): For the case of `isearch-word',
7536 return a lambda that calls re-search-forward/re-search-backward
7537 with a regexp returned by `word-search-regexp' or by the function
7538 in `isearch-word'.
7539
8cbd80f7
JL
75402012-05-29 Juri Linkov <juri@jurta.org>
7541
7542 * isearch.el (isearch-search-fun-default): New function.
7543 (isearch-search-fun): Move default part to the new function
7544 `isearch-search-fun-default'.
7545 (isearch-search-fun-function): Set the default value to
7546 `isearch-search-fun-default'. (Bug#11381)
7547
7548 * comint.el (comint-history-isearch-end):
7549 Use `isearch-search-fun-default'.
7550 (comint-history-isearch-search): Use `isearch-search-fun-default'
7551 and remove spacial case for `isearch-word'.
7552 (comint-history-isearch-wrap): Remove spacial case for
7553 `isearch-word'.
7554
7555 * hexl.el (hexl-isearch-search-function):
7556 Use `isearch-search-fun-default'.
7557
7558 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7559 Use `word-search-regexp' for `isearch-word'.
7560
7561 * misearch.el (multi-isearch-search-fun):
7562 Use `isearch-search-fun-default'.
7563
7564 * simple.el (minibuffer-history-isearch-search):
7565 Use `isearch-search-fun-default' and remove spacial case for
7566 `isearch-word'.
7567 (minibuffer-history-isearch-wrap): Remove spacial case for
7568 `isearch-word'.
7569
7570 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7571 Remove spacial case for `isearch-word'.
7572 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7573
85c8c5b6
AM
75742012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7575
7576 Decrease XEmacs incompatibilities.
7577 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7578 Use `string-match'.
7579 (flyspell-delete-region-overlays): Use alternative definition for
7580 XEmacs.
7581 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7582 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7583 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7584 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7585 `define-obsolete-face-alias' under XEmacs, but old method.
7586
7587 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7588 `with-no-warnings' definition or Emacs alias.
7589 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7590 (ispell-word): Do not use `region-p' if XEmacs.
7591
8cab9efc
AM
75922012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7593
7594 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7595 Check for `ispell-dictionary-base-alist' instead of full
7596 `ispell-dictionary-alist'.
7597 (ispell-init-process): Show spellchecker when starting new Ispell
7598 process.
7599
fda91268
RZ
76002012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7603 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7604
694ea8e3
JB
76052012-05-27 Juanma Barranquero <lekktu@gmail.com>
7606
7607 * version.el (motif-version-string, gtk-version-string)
7608 (ns-version-string): Declare.
7609
e4d4f539
JL
76102012-05-27 Juri Linkov <juri@jurta.org>
7611
7612 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7613 after the `eval-defun-1' specialcaseing
7614 like in `edebug-eval-defun' (bug#10181).
7615
7616 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7617 like in `eval-defun-1'.
7618
33017faf 76192012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7620
fda91268
RZ
7621 * mail/sendmail.el (mail-yank-region):
7622 Recognize rmail-yank-current-message in addition to insert-buffer.
7623 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7624 a *mail* buffer created through rmail-start-mail with sendmail as
7625 mail-user-agent.
7626
33017faf
GM
76272012-05-27 Chong Yidong <cyd@gnu.org>
7628
7629 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7630 Default to 256 (Bug#11267).
7631
7632 * help.el (describe-mode): Doc fix.
7633
04188bb9
GM
76342012-05-26 Glenn Morris <rgm@gnu.org>
7635
38264cc9
GM
7636 * w32-fns.el (w32-init-info): Remove.
7637 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7638
eb7afdad
GM
7639 * info.el (info-initialize): For self-contained NS builds, put the
7640 included info/ directory at the front. (Bug#2791)
7641
04188bb9
GM
7642 * paths.el (Info-default-directory-list): Make it a defcustom,
7643 mainly so that we can use custom-initialize-delay.
7644
a179e3f7
SM
76452012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7646
43416392
SM
7647 * subr.el (buffer-has-markers-at): Mark obsolete.
7648
a179e3f7 7649 * subr.el (lambda): Use declare.
43416392 7650
a179e3f7
SM
7651 * emacs-lisp/lisp-mode.el (lambda):
7652 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7653
34a008d9
AH
76542012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7655
7656 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7657
0a3b289f
GM
76582012-05-26 Glenn Morris <rgm@gnu.org>
7659
7660 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7661
758c81e8
GM
76622012-05-25 Glenn Morris <rgm@gnu.org>
7663
f9f334f0
GM
7664 * paths.el: Remove no-byte-compile.
7665 * loadup.el: No need to load paths.el uncompiled.
7666
87eb79c2
GM
7667 * image.el (imagemagick-types-inhibit): Doc fix.
7668
758c81e8
GM
7669 * version.el: Remove no-byte-compile and associated formatting.
7670 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7671 is ancient code from when there was an "inc-vers.el".
7672
e7e85dc0
SM
76732012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7674
7675 * progmodes/gdb-mi.el: Minor style changes.
7676 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7677 Turn into minor modes.
7678 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7679 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7680 (gdb-shell): Remove unneeded let-binding.
7681 (gdb-get-many-fields): Eliminate O(n²) behavior.
7682
f31237a4
EZ
76832012-05-25 Eli Zaretskii <eliz@gnu.org>
7684
7685 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7686 platforms that don't link in fontset.c.
7687
bc1b21bb
JL
76882012-05-25 Juri Linkov <juri@jurta.org>
7689
7690 Use the same diff color scheme as in modern VCSes (bug#10181).
7691
7692 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7693 to avoid confusion with `diff-added' that now uses green colors.
7694 (diff-removed): Use shades of red.
7695 (diff-added): Use shades of green.
7696 (diff-changed): Leave just the yellow color.
7697 (diff-use-changed-face): New variable.
7698 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7699 how to highlight context diff changes.
7700 (diff-refine-change): Use shades of yellow.
7701 (diff-refine-removed): New face that uses shades of red.
7702 (diff-refine-added): New face that uses shades of green.
7703 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7704 `diff-refine-removed' in the call to `smerge-refine-subst'
7705 depending on the value of `diff-use-changed-face'.
7706
7707 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7708 (smerge-other): Use shades of green.
7709 (smerge-base): Use shades of yellow.
7710 (smerge-refined-change): Empty face.
7711 (smerge-refined-removed): New face that uses shades of red.
7712 (smerge-refined-added): New face that uses shades of green.
7713 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7714 args `props-r' and `props-a', and use them. Doc fix.
7715 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7716 on its value use different faces `smerge-refined-change',
7717 `smerge-refined-removed', `smerge-refined-added' in the call to
7718 `smerge-refine-subst'.
7719
7720 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7721 Add face condition `min-colors 88' with shades of red.
7722 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7723 `min-colors 88' with shades of green.
7724 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7725 `min-colors 88' with shades of yellow.
7726
6df9112c
GM
77272012-05-24 Glenn Morris <rgm@gnu.org>
7728
ead5edc0
GM
7729 * paths.el (prune-directory-list, remote-shell-program): Move to...
7730 * files.el (prune-directory-list, remote-shell-program): ...here.
7731 For the latter, delay initialization, prefer ssh, just search PATH.
7732
f18b81e6
GM
7733 * paths.el (term-file-prefix): Move to faces.el (the only user).
7734 * faces.el (term-file-prefix): Move here, make it a defcustom.
7735
ee2f89a6
GM
7736 * paths.el (news-directory, news-path, news-inews-program):
7737 Move to gnus/nnspool.el.
61a583ca 7738
f8815e4c
GM
7739 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7740
c8f3b42c
GM
7741 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7742 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7743 Make the latter a defcustom, with a delayed initialization.
7744
6df9112c
GM
7745 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7746 These were deleted from Gnus itself late 2010.
7747
5dadff36
JB
77482012-05-22 Juanma Barranquero <lekktu@gmail.com>
7749
9e1701c6
JB
7750 * progmodes/which-func.el (which-func-ff-hook):
7751 Check against user-error, not error.
7752
bd7239f5 7753 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7754 cl-specs.el, which no longer exists.
7755
3290526d
GM
77562012-05-22 Glenn Morris <rgm@gnu.org>
7757
7758 * info.el (info-emacs-bug): New command.
7759 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7760 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7761
ff0c3cfb
GM
77622012-05-21 Glenn Morris <rgm@gnu.org>
7763
7764 * makefile.w32-in (update-subdirs-SH):
7765 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7766
5814f126
SM
77672012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7768
a52c0aa0
SM
7769 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7770
5814f126
SM
7771 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7772 Simplify Maven regexp, and make sure the file can't start with a space
7773 (bug#11517).
7774
b847032c
GM
77752012-05-21 Glenn Morris <rgm@gnu.org>
7776
7777 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7778 Scrap superfluous subshells.
7779
3858bfe7
SM
77802012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7781
7782 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7783 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7784
d14b0029
JB
77852012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7786
7787 * calc/calc.el (calc-ensure-consistent-units): New variable.
7788
a52c0aa0
SM
7789 * calc/calc-units.el (math-consistent-units-p)
7790 (math-check-unit-consistency): New functions.
7791 (calc-quick-units, calc-convert-units):
7792 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7793 is non-nil.
d14b0029
JB
7794 (calc-extract-units): Fix typo.
7795
60c4db3a
SM
77962012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7797
77f3b62e
SM
7798 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7799
60c4db3a
SM
7800 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7801 (flyspell-default-deplacement-commands): Don't spell check after
7802 repeated window/frame switches (e.g. triggered by mouse-movement).
7803 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7804 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7805 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7806 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7807 Remove unused vars.
7808 (flyspell-get-casechars, flyspell-get-not-casechars):
7809 Simplify; Don't bother removing a ] just to add it back.
7810 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7811
d209e2fb 78122012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7813
7814 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7815 New functions.
bd7239f5 7816 (math-function-table): Add support for more C functions.
b1a10716 7817
3f1b25b5
AM
78182012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7819
090bd7cb
JB
7820 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7821 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7822 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7823
b581bb5c
SM
78242012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7825
7826 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7827 their respective macro declarations.
7828 * skeleton.el (define-skeleton):
7829 * progmodes/compile.el (define-compilation-mode):
7830 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7831 (define-ibuffer-filter):
7832 * emacs-lisp/generic.el (define-generic-mode):
7833 * emacs-lisp/easy-mmode.el (define-minor-mode)
7834 (define-globalized-minor-mode):
7835 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7836 * emacs-lisp/byte-run.el (defsubst):
7837 * custom.el (deftheme): Add doc-string metadata.
7838
70b8ef8f
SM
78392012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7840
7841 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7842
b1198e17
SM
78432012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7844
9abdc45d
SM
7845 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7846
b1198e17
SM
7847 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7848 * emacs-lisp/cl-macs.el: Idem.
7849 * emacs-lisp/cl-specs.el: Remove.
7850
4735906a
SM
78512012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7852
7853 Minor renaming of internal CL functions and variables.
7854 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7855 (cl--position): Rename from cl-position.
7856 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7857 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7858 (cl--random-state): Rename from *random-state*.
7859
ac348012
SM
78602012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7861
7862 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7863 parens around the arg list (bug#11499).
7864
a0a79cde
JL
78652012-05-17 Juri Linkov <juri@jurta.org>
7866
7867 * isearch.el (word-search-regexp, word-search-backward)
7868 (word-search-forward, word-search-backward-lax)
7869 (word-search-forward-lax): Move functions from search.c
7870 (bug#10145, bug#11381).
7871
65034a51
AM
78722012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7873
090bd7cb
JB
7874 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7875 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7876 Delay for otherchars as for normal word components.
65034a51 7877
1a72a195
SM
78782012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7879
7880 * minibuffer.el (completion--sifn-requote): Fix last change.
7881 (minibuffer-local-must-match-filename-map):
7882 Move define-obsolete-variable-alias before its var.
7883
fdb058c2
SM
78842012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7885
c41045e6
SM
7886 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7887
036dfb8b
SM
7888 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7889 behavior.
7890 (completion--string-equal-p): New function.
7891 (completion--twq-all): Use it to get better assertion failure data.
7892
2473256d
SM
7893 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7894 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7895 (shell--requote-argument): New functions.
7896 (shell-completion-vars): Use them.
7897 (shell--parse-pcomplete-arguments): Rename from
7898 shell-parse-pcomplete-arguments.
7899 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7900 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7901 Obey comint-file-name-quote-list.
7902
fdb058c2
SM
7903 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7904 (smie-indent-keyword): Use it.
7905
51fa99f1
SM
79062012-05-14 Stefan Merten <smerten@oekonux.de>
7907
7908 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7909
e18afed7 79102012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7911
7912 * net/rlogin.el (rlogin-mode-map): Fix last change.
7913
e18afed7 79142012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7915
7916 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7917 the following \r\n using a single `process-send-string', since the
7918 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7919 with two `process-send-string's (Bug#11444).
8633b1f4 7920
e18afed7 79212012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7922
fdb058c2
SM
7923 * shell.el (shell-parse-pcomplete-arguments):
7924 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7925
2d21d7f6
WJ
79262012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7927
e18afed7 7928 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7929 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7930 (image-transform-width, image-transform-fit-width): New functions.
7931 (image-transform-properties): Use them.
7932 (image-transform-check-size): New function.
7933 (image-toggle-display-image): Use it (for testing).
7934 (image-transform-set-rotation): Reduce angle mod 360.
7935 Delete obsolete comment.
7936
7102e6d0
WJ
79372012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7938
7939 * image-mode.el: Fix scaling (bug#11399).
7940 (image-transform-resize): Doc fix.
7941 (image-transform-properties): Default scale is 1 and height should
7942 be an integer.
7943
06bc5e6e
SM
79442012-05-13 Johan Bockgård <bojohan@gnu.org>
7945
7946 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7947 than hard-coding `car', to fix misbehavior when moving forward.
7948
0ae03b6a
CY
79492012-05-13 Chong Yidong <cyd@gnu.org>
7950
7951 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7952 (tabulated-list-entries, tabulated-list-padding)
7953 (tabulated-list-sort-key): Make permanent-local.
7954
7955 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7956 (electric-buffer-list): Put electric buffer menu
7957 command descriptions in this docstring, instead of the docstring
7958 of electric-buffer-menu-mode. Code cleanups.
7959 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7960 Electric-buffer-menu-mode.
7961 (electric-buffer-update-highlight): Minor code cleanup.
7962
205a7391
MA
79632012-05-13 Michael Albinus <michael.albinus@gmx.de>
7964
7965 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7966 (Bug#11447)
7967
e5bd0a28
SM
79682012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7969
7970 Move define-obsolete-variable-alias before the var's definition.
7971 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7972 * tooltip.el (tooltip-hook):
7973 * textmodes/reftex-toc.el (reftex-toc-map):
7974 * textmodes/reftex-sel.el (reftex-select-label-map)
7975 (reftex-select-bib-map):
7976 * textmodes/reftex-index.el (reftex-index-map)
7977 (reftex-index-phrases-map):
7978 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7979 * progmodes/meta-mode.el (meta-mode-map):
7980 * novice.el (disabled-command-hook):
7981 * loadhist.el (unload-hook-features-list):
7982 * frame.el (blink-cursor):
7983 * files.el (find-file-not-found-hooks, write-file-hooks)
7984 (write-contents-hooks):
7985 * emulation/tpu-edt.el (GOLD-map):
7986 * emacs-lock.el (emacs-lock-from-exiting):
7987 * emacs-lisp/generic.el (generic-font-lock-defaults):
7988 * emacs-lisp/chart.el (chart-map):
7989 * dos-fns.el (register-name-alist):
7990 * dired-x.el (dired-omit-files-p):
7991 * desktop.el (desktop-enable):
7992 * cus-edit.el (custom-mode-hook):
7993 * buff-menu.el (buffer-menu-mode-hook):
7994 * bookmark.el (bookmark-read-annotation-text-func)
7995 (bookmark-exit-hooks):
7996 * allout.el (allout-mode-deactivate-hook)
7997 (allout-exposure-change-hook, allout-structure-added-hook)
7998 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7999 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8000 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8001 comes before the corresponding variable's definition.
8002
ac59c2f6
CY
80032012-05-12 Chong Yidong <cyd@gnu.org>
8004
8005 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8006 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8007 (Buffer-menu-mode-map): Bind it.
8008 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8009
dee6c9a3
SM
80102012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8011
2171cea5
SM
8012 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8013 (prolog-upper-case-string, prolog-lower-case-string)
8014 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8015 (prolog-use-smie, prolog-smie-grammar): New vars.
8016 (prolog-smie-forward-token, prolog-smie-backward-token)
8017 (prolog-smie-rules): New funs.
8018 (prolog-comment-indent): Remove.
8019 (prolog-mode-variables): Use default comment indentation instead.
8020 Setup SMIE.
8021 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8022 (prolog-mode): Don't call them any more.
8023 (prolog-electric-colon, prolog-electric-dash)
8024 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8025
aa0382bd
SM
8026 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8027
dbacb4bd
SM
8028 * minibuffer.el (completion--twq-all): Again, allow case differences.
8029
13bdd94c
SM
8030 * term.el: Move keymap initialization code to be more idiomatic.
8031 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8032 (term-terminal-menu): Move initialization into declaration.
8033 (term-escape-char): Let the user set it in her .emacs.
8034
ff46c759
SM
8035 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8036 Provide SMIE-based indentation (not enabled by default yet).
8037 (sh-mode-map): Don't bind electric keys.
8038 Use electric-pair-mode instead of skeleton-pair.
8039 (sh-assignment-regexp): Fit within 80 columns.
8040 (sh-indent-supported): Specify actual shell name instead of boolean.
8041 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8042 (sh-maybe-here-document): Use it. Make obsolete.
8043 (sh-electric-here-document-mode) New minor mode.
8044 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8045 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8046 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8047 (sh-smie-rc-grammar, sh-use-smie): New vars.
8048 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8049 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8050 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8051 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8052 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8053 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8054 (sh-set-shell): Use smie-setup if requested.
8055
dee6c9a3
SM
8056 * term.el (term-set-escape-char): Properly set term-escape-char.
8057 See http://stackoverflow.com/questions/10524656.
8058
9f9aa044
CY
80592012-05-10 Chong Yidong <cyd@gnu.org>
8060
8061 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8062 Use url-generic-parse-url, and handle host names and Windows
8063 filenames properly.
8064 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8065 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8066 URL schemes to work on.
8067 (ffap--toggle-read-only): New function.
8068 (ffap-read-only, ffap-read-only-other-window)
8069 (ffap-read-only-other-frame): Use it.
8070 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8071 necessary for ffap-url-unwrap-remote.
8072
836d29b3
DA
80732012-05-10 Dave Abrahams <dave@boostpro.com>
8074
8075 * cus-start.el (create-lockfiles): Add it.
8076
00fd78ed
CY
80772012-05-09 Chong Yidong <cyd@gnu.org>
8078
8079 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8080 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8081
666b903b 80822012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
8083
8084 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8085
666b903b 80862012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
8087
8088 * ansi-color.el (ansi-color-process-output): Check for validity of
8089 comint-last-output-start before using it. This avoids a bad
8090 interaction with gdb-mi's input/output buffer.
8091
666b903b 80922012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
8093
8094 * files.el (dir-locals-read-from-file):
8095 Mention dir-locals in any error message.
8096
666b903b 80972012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
8098
8099 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8100 package (Bug#11410).
8101
f677562b
CY
8102 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8103 variables into description.
8104
666b903b 81052012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
8106
8107 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8108 shell-delimiter-argument-list (bug#11348).
8109 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8110
b499d8d0
JB
81112012-05-09 Juanma Barranquero <lekktu@gmail.com>
8112
8f6b6da8
JB
8113 * textmodes/rst.el: Silence byte-compiler warnings.
8114 (rst-re-alist, rst-reset-section-caches): Move around.
8115 (rst-re): Use `characterp', not `char-valid-p'.
8116 (font-lock-beg, font-lock-end): Declare.
8117
4824146a
JB
8118 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8119 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8120
b499d8d0
JB
8121 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8122
ad89bb83
GM
81232012-05-08 Glenn Morris <rgm@gnu.org>
8124
8125 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8126
8bba5a75
SM
81272012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8128
49ed9c8e
SM
8129 * vc/log-edit.el: Add GNU coding standards highlighting.
8130 (log-edit-font-lock-gnu-style)
8131 (log-edit-font-lock-gnu-keywords): New vars.
8132 (log-edit-font-lock-keywords): New fun.
8133 (log-edit-mode): Don't fold case in font-lock.
8134 (log-edit-font-lock-keywords): Do not assume case-folding.
8135
07d00b56
SM
8136 * imenu.el: Misc cleanup. Make docstrings out of comments.
8137 Use lexical-binding.
8138 (imenu--index-alist, imenu--last-menubar-index-alist)
8139 (imenu-menubar-modified-tick): Use defvar-local.
8140 (imenu--split-menu): Remove unused var.
8141 (imenu--cleanup-seen): Declare as global.
8142 (imenu--cleanup): Use dolist.
8143
8bba5a75
SM
8144 * subr.el (defvar-local): Add debug spec and doc-string position.
8145
5075bdb5
GM
81462012-05-08 Glenn Morris <rgm@gnu.org>
8147
090bd7cb 8148 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
8149 * language/english.el, language/georgian.el, language/greek.el:
8150 * language/japanese.el, language/khmer.el, language/korean.el:
8151 * language/lao.el, language/misc-lang.el, language/romanian.el:
8152 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8153 * language/thai.el, language/utf-8-lang.el:
8154 Remove no-byte-compile setting.
8155
5075bdb5
GM
8156 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8157
06f679a7
AH
81582012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8159
8160 * progmodes/make-mode.el (makefile-browse):
8161 Remove unnecessary interactive. (Bug#11324)
8162
03794570
GM
81632012-05-07 Glenn Morris <rgm@gnu.org>
8164
af8630f4
GM
8165 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8166
03794570
GM
8167 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8168
f0809a9d
SM
81692012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8170
28be5ce7
SM
8171 * loadup.el: Preload newcomment.el.
8172 * newcomment.el: Move autoload-only code to toplevel.
8173
f0809a9d
SM
8174 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8175 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8176 Handle new :right-align column property.
8177 (tabulated-list-print-col): Idem, plus use `display' text-property to
8178 try and preserve alignment for variable pitch fonts.
8179
1241b724
CY
81802012-05-07 Chong Yidong <cyd@gnu.org>
8181
8182 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8183 (tabulated-list-use-header-line): New var.
8184 (tabulated-list-init-header): Use it.
8185 (tabulated-list-print-fake-header): New function.
8186 (tabulated-list-print): Use it.
8187 (tabulated-list-sort-button-map): Add non-header-line commands.
8188 (tabulated-list-init-header): Add column name property to basic
8189 labels as well.
8190 (tabulated-list-col-sort): Handle non-header-line button case.
8191 (tabulated-list--sort-by-column-name): Fix a corner case.
8192
f0809a9d
SM
8193 * buff-menu.el (list-buffers--refresh):
8194 Handle Buffer-menu-use-header-line.
1241b724 8195
e5f9458f
CY
81962012-05-06 Chong Yidong <cyd@gnu.org>
8197
8198 * buff-menu.el: Convert to Tabulated List mode.
8199 (Buffer-menu-buffer+size-width): Make obsolete.
8200 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8201 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8202 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8203 documentation into docstring of buffer-menu.
8204 (Buffer-menu-toggle-files-only): Add an informative message.
8205 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8206 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8207 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8208 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8209 (Buffer-menu-execute, Buffer-menu-select)
8210 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8211 (Buffer-menu-bury): Use Tabulated List machinery.
8212 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8213 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8214 Delete.
e5f9458f
CY
8215 (list-buffers--refresh): New function.
8216 (list-buffers-noselect): Use it.
8217 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8218 (Buffer-menu--pretty-file-name): New helper functions.
8219
8220 * loadup.el: Preload tabulated-list.
8221
8222 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8223 tabulated-list-sort-column.
8224 (tabulated-list-init-header): Add the initial aligning space even
8225 if tabulated-list-padding is zero.
8226
e129292c
CS
82272012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8228
8229 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8230 whose cdr is not a cons cell correctly (bug#11038).
8231
6632d361
CY
82322012-05-06 Chong Yidong <cyd@gnu.org>
8233
e129292c
CS
8234 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8235 Accept additional plist in column descriptors.
6632d361
CY
8236 (tabulated-list-init-header): Obey it.
8237 (tabulated-list-get-entry): New function.
8238 (tabulated-list-put-tag): Use it. Use string-width instead of
8239 length.
8240 (tabulated-list--column-number): New function.
8241 (tabulated-list-print): Use it.
e129292c
CS
8242 (tabulated-list-print-col): New function.
8243 Set `tabulated-list-column-name' property on each column's text.
6632d361 8244 (tabulated-list-print-entry): Use it.
e129292c
CS
8245 (tabulated-list-delete-entry, tabulated-list-set-col):
8246 New functions.
6632d361
CY
8247 (tabulated-list-sort-column): New command (Bug#11337).
8248
3cc99f68
CY
8249 * buff-menu.el (list-buffers): Move C-x C-b binding from
8250 buff-menu.el to bindings.el.
8251
8252 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8253 :advertised-binding feature.
8254
52b61776
TN
82552012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8256
8257 * progmodes/compile.el (compilation-internal-error-properties):
8258 Calculate start position correctly when end-col is set but
8259 end-line is not (Bug#11382).
8260
ebfe2597
WJ
82612012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8262
8263 * man.el (Man-unindent): Use text-property-default-nonsticky to
8264 prevent untabify from inheriting face properties (Bug#11408).
8265
6d3f7c2f
SM
82662012-05-05 Stefan Merten <smerten@oekonux.de>
8267
8268 * textmodes/rst.el: Major merge with upstream development up to
8269 Docutils SVN r7399 / rst.el V1.2.1.
8270
8271 Clarify maintainership and authors.
8272
8273 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8274 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8275 (rst-official-version, rst-official-cvs-rev, rst-version)
8276 (rst-package-emacs-version-alist): New functions and variables
8277 for version information.
8278
8279 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8280 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8281 (rst-mode-syntax-table, rst-mode): New and corrected functions
8282 and variables representing reStructuredText features.
8283
8284 (rst-re): New function for reStructuredText regexes. Use in
8285 many places.
8286
8287 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8288 (rst-mode-map): Rebind keys.
8289
8290 (rst-mode-lazy, rst-font-lock-keywords)
8291 (rst-font-lock-extend-region)
8292 (rst-font-lock-extend-region-internal)
8293 (rst-font-lock-extend-region-extend)
8294 (rst-font-lock-find-unindented-line-limit)
8295 (rst-font-lock-find-unindented-line-match)
8296 (rst-adornment-level, rst-font-lock-adornment-level)
8297 (rst-font-lock-adornment-match)
8298 (rst-font-lock-handle-adornment-pre-match-form)
8299 (rst-font-lock-handle-adornment-matcher): Major revision of
8300 font-locking. Integrate with other code. Use `jit-lock-mode'.
8301
8302 (rst-preferred-adornments, rst-adjust-hook)
8303 (rst-new-adornment-down, rst-preferred-bullets)
8304 (rst-preferred-bullets, rst-indent, rst-indent-width)
8305 (rst-indent-field, rst-indent-literal-normal)
8306 (rst-indent-literal-minimized, rst-indent-comment): Change,
8307 extend and improve customization.
8308
8309 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8310 (rst-normalize-cursor-position, rst-get-decoration)
8311 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8312 (rst-rstrip, rst-toc-insert-find-delete-contents)
8313 (rst-shift-fill-region, rst-compute-bullet-tabs)
8314 (rst-debug-print-tabs, rst-debug-mark-found)
8315 (rst-shift-region-guts, rst-shift-region-right)
8316 (rst-shift-region-left, rst-use-char-classes)
8317 (rst-font-lock-keywords-function)
8318 (rst-font-lock-indentation-point)
8319 (rst-font-lock-find-unindented-line-begin)
8320 (rst-font-lock-find-unindented-line-end)
8321 (rst-font-lock-find-unindented-line)
8322 (rst-font-lock-adornment-point, rst-font-lock-level)
8323 (rst-adornment-level-alist): Remove functions and variables.
8324
8325 (rst-compare-adornments, rst-get-adornment-match)
8326 (rst-suggest-new-adornment, rst-get-adornments-around)
8327 (rst-adornment-complete-p, rst-get-next-adornment)
8328 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8329 (rst-straighten-adornments): Standardize function names to
8330 use "adornment" instead of "decoration". Correct callers.
8331 Similar standardizing in many places.
8332
8333 (rst-update-section, rst-adjust, rst-promote-region)
8334 (rst-enumerate-region, rst-bullet-list-region)
8335 (rst-repeat-last-character): Correct use of `interactive'.
8336
8337 (rst-classify-adornment, rst-find-all-adornments)
8338 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8339 (rst-find-leftmost-column, rst-repeat-last-character):
8340 Refactor functions.
8341
8342 (rst-find-title-line, rst-reset-section-caches)
8343 (rst-get-adornments-around, rst-adjust-adornment-work)
8344 (rst-arabic-to-roman, rst-roman-to-arabic)
8345 (rst-insert-list-pos, rst-insert-list-new-item)
8346 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8347 New functions.
8348
8349 (rst-all-sections, rst-section-hierarchy)
8350 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8351 New variables.
8352
8353 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8354 configuration instead of only buffer. Change where necessary.
8355
8356 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8357 (rst-shift-region, rst-adaptive-fill): New functions for
8358 indentation and filling.
8359
8360 (rst-comment-line-break, rst-comment-indent)
8361 (rst-comment-insert-comment, rst-comment-region)
8362 (rst-uncomment-region): New functions for handling comments.
8363
8364 (rst-compile): Quote shell arguments.
8365
8366 (rst-compile-pdf-preview, rst-compile-slides-preview):
8367 Delete temporary files after use.
8368
a43f98b3
GM
83692012-05-05 Glenn Morris <rgm@gnu.org>
8370
48176e8b
GM
8371 * calendar/cal-html.el: Optionally include holidays in the output.
8372 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8373 (cal-html-holidays): New option.
8374 (cal-html-css-default): Add holiday entry.
8375 (holiday-in-range): Autoload it.
8376 (cal-html-htmlify-entry): Add optional class argument.
8377 (cal-html-htmlify-list): Add optional holidays argument.
8378 (cal-html-insert-agenda-days): Include holidays in the output.
8379 (cal-html-one-month): Maybe include holidays.
8380
a43f98b3
GM
8381 * calendar/holidays.el (holiday-in-range):
8382 Move here from cal-tex-list-holidays.
8383 * calendar/cal-tex.el (cal-tex-list-holidays):
8384 Make it an obsolete alias for holiday-in-range. Update all callers.
8385
fef9d149 83862012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8387
8388 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8389 Nextstep.
8390
248da2f4
RW
83912012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8392
8393 * files.el (file-auto-mode-skip): New var.
8394 (set-auto-mode-1): Use it.
8395
f95e9344
SM
83962012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8397
df96ab1e
SM
8398 * repeat.el: Use lexical-binding.
8399 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8400 (repeat-undo-count): Remove.
8401 (repeat):
8402 * progmodes/octave-mod.el (octave-abbrev-start):
8403 * progmodes/f90.el (f90-abbrev-start):
8404 * face-remap.el (text-scale-adjust):
8405 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8406
5342bb06
SM
8407 * emacs-lisp/pcase.el (pcase--let*): New function.
8408 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8409 a bit more.
8410 (pcase--split-pred): Be more clever about ruling out overlap between
8411 a predicate and some constant pattern.
8412 (pcase--q1): Use `null' instead of (eq foo nil).
8413
f95e9344
SM
8414 * subr.el (setq-local, defvar-local): New macros.
8415 (kbd): Redefine as an alias.
8416 (with-selected-window): Leave unrelated frames alone.
8417 (set-temporary-overlay-map): New function.
8418
71873e2b
SM
84192012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8420
8421 * subr.el (user-error): New function.
8422 * window.el (switch-to-buffer):
8423 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8424 (smerge-match-conflict):
8425 * simple.el (previous-matching-history-element)
8426 (next-matching-history-element, goto-history-element, undo-more)
8427 (undo-start):
8428 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8429 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8430 (next-file, tags-loop-scan, list-tags, complete-tag):
8431 * progmodes/compile.el (compilation-loop):
8432 * mouse.el (mouse-minibuffer-check):
8433 * man.el (Man-bgproc-sentinel, Man-goto-page):
8434 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8435 (Info-history-forward, Info-follow-reference, Info-menu)
8436 (Info-extract-menu-item, Info-extract-menu-counting)
8437 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8438 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8439 (Info-next-reference, Info-prev-reference, Info-index)
8440 (Info-index-next, Info-follow-nearest-node)
8441 (Info-copy-current-node-name):
8442 * imenu.el (imenu--make-index-alist)
8443 (imenu-default-create-index-function, imenu-add-to-menubar):
8444 * files.el (basic-save-buffer, recover-file):
8445 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8446 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8447 (checkdoc-message-text, checkdoc-defun):
8448 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8449 * cus-edit.el (customize-changed-options, customize-rogue)
8450 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8451 (custom-variable-mark-to-reset-standard)
8452 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8453 (custom-file):
8454 * completion.el (check-completion-length):
8455 * comint.el (comint-search-arg)
8456 (comint-previous-matching-input-string-position)
8457 (comint-previous-matching-input)
8458 (comint-replace-by-expanded-history-before-point, comint-send-input)
8459 (comint-copy-old-input, comint-backward-matching-input)
8460 (comint-goto-process-mark, comint-set-process-mark):
8461 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8462 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8463
8a61ee22
SM
84642012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8465
66408d1e
SM
8466 * dabbrev.el (dabbrev--ignore-case-p): New function.
8467 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8468 Use it.
8469
8a61ee22
SM
8470 * files.el (automount-dir-prefix): Mark as obsolete.
8471
3c74813a
GM
84722012-05-04 Glenn Morris <rgm@gnu.org>
8473
8474 * patcomp.el, play/bruce.el: Move to obsolete/.
8475
0bfcf5c5
PE
84762012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8477
8478 Fix minor Y10k bugs.
8479 * arc-mode.el (archive-unixdate):
8480 * autoinsert.el (auto-insert-alist):
8481 * calc/calc-forms.el (math-this-year):
8482 * emacs-lisp/copyright.el (copyright-current-year)
8483 (copyright-update-year, copyright):
8484 * tar-mode.el (tar-clip-time-string):
8485 * time.el (display-time-update):
8486 Don't assume years have 4 digits.
8487
78f3273a
CY
84882012-05-04 Chong Yidong <cyd@gnu.org>
8489
8490 * dos-w32.el (file-name-buffer-file-type-alist)
8491 (direct-print-region-use-command-dot-com):
8492 * ffap.el (ffap-menu-regexp):
8493 * find-file.el (ff-special-constructs):
8494 * follow.el (follow-debug):
8495 * forms.el (forms--debug):
8496 * iswitchb.el (iswitchb-all-frames):
8497 * ido.el (ido-all-frames):
8498 * emacs-lisp/timer.el (timer-max-repeats):
8499 * mail/feedmail.el (feedmail-mail-send-hook)
8500 (feedmail-mail-send-hook-queued):
8501 * mail/footnote.el (footnote-signature-separator):
8502 * mail/mailabbrev.el (mail-alias-separator-string)
8503 (mail-abbrev-mode-regexp):
8504 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8505 * progmodes/idlwave.el (idlwave-libinfo-file)
8506 (idlwave-default-completion-case-is-down)
8507 (idlwave-library-routines): Convert defvars to defcustoms.
8508
8509 * mail/rmail.el (rmail-decode-mime-charset):
8510 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8511 (idlwave-shell-fix-inserted-breaks)
8512 (idlwave-shell-activate-alt-keybindings)
8513 (idlwave-shell-use-breakpoint-glyph):
8514 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8515
f7ae6719
SM
85162012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8517
8518 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8519
47086495
WS
85202012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8521
8522 * progmodes/verilog-mode.el (font-lock-keywords):
8523 Fix mis-highligting auto. Reported by Craig Barner.
8524 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8525 defines from global name space. Reported by Dan Dever.
47086495
WS
8526 (verilog-auto-reset, verilog-auto-reset-widths)
8527 (verilog-auto-tieoff): Support using unbased numbers for
8528 AUTORESET and AUTOTIEOFF.
8529 (verilog-submit-bug-report): Update variable list.
8530 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8531 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8532 (verilog-auto-template-lint): Fix hash error when linting modules
8533 with no used templates.
8534 (verilog-warn, verilog-warn-error)
8535 (verilog-warn-fatal): When non-interactive report multiple
8536 warnings before exiting. Suggested by Brad Dobbie.
8537 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8538 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8539 to report unused template errors. Reported by Brad Dobbie.
8540 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8541 nets, bug438. Reported by Vns Blore.
47086495
WS
8542 (verilog-auto-inout-module, verilog-auto-reg)
8543 (verilog-read-decls, verilog-read-sub-decls-sig)
8544 (verilog-signals-edit-wire-reg, verilog-signals-with):
8545 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8546 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8547 "reg" for backwards compatibility presuming Verilog 2001.
8548 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8549 (verilog-preprocess): Fix replication of preprocess output.
8550 Reported by Brad Dobbie.
8551 (verilog-auto-inst-interfaced-ports):
8552 Create verilog-auto-inst-interfaced-ports, bug429.
8553 Reported by Julian Gorfajn.
8554 (verilog-after-save-font-hook)
8555 (verilog-before-save-font-hook): New variable.
8556 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8557 (verilog-save-font-mods): Wrap disabling fontification, reported
8558 by David Rogoff.
8559 (verilog-do-indent, verilog-pretty-declarations-auto)
8560 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8561 Reported by Pierre-David Pfister.
8562 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8563 of class declarations, bug292. Reported by Kevin Heilman.
8564 (verilog-read-decls): Fix 'parameter type' not appearing in
8565 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8566 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8567 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8568 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8569 Reported by David Kravitz.
8570
85712012-05-03 Michael McNamara <mac@mail.brushroad.com>
8572
8573 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8574 assignment with tests in ifs and for loops.
8575 (verilog-extended-complete-re, verilog-complete-reg): Change so
8576 that DPI inport functions don't look like fuction declarations.
8577 (verilog-pretty-expr): Don't line up assignment
8578 operations to the test and increment in if and for loops
8579 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8580 that DPI inport functions don't look like fuction declarations.
47086495 8581
2e51d4b5
KH
85822012-05-03 Kenichi Handa <handa@m17n.org>
8583
8584 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8585 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8586 (Bug#11282).
8587
2bd785a2
SM
85882012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8589
8590 * emacs-lisp/bytecomp.el
8591 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8592 since cconv.el might have introduced :fun-body, internal-make-closure,
8593 and friends for bytecomp to handle (bug#11391).
8594 * custom.el (defcustom): Avoid ((λ ..) ..).
8595
99d27583
SM
85962012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8597
8598 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8599
55a71479
JB
86002012-05-02 Juanma Barranquero <lekktu@gmail.com>
8601
8602 * notifications.el (dbus-debug):
8603 * term/linux.el (gpm-mouse-enable):
8604 * term/screen.el (xterm-register-default-colors): Declare.
8605
7b97c764
CY
86062012-05-02 Chong Yidong <cyd@gnu.org>
8607
2bc356d7
CY
8608 * cus-start.el (gc-cons-percentage, exec-suffixes)
8609 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8610 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8611 (make-cursor-line-fully-visible, void-text-area-pointer)
8612 (font-list-limit): Add customization data.
8613
7b97c764
CY
8614 * allout.el (allout-exposure-change-functions)
8615 (allout-structure-added-functions)
8616 (allout-structure-deleted-functions)
8617 (allout-structure-shifted-functions): Rename abnormal hooks from
8618 *-hook, and convert to defcustoms.
5d3385a0
JB
8619 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8620 Convert to defcustoms.
7b97c764
CY
8621 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8622
8623 * allout-widgets.el: Hook callers changed.
8624
90207a15 86252012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8626
8627 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8628 the yanked message in preference to the default value of
8629 buffer-file-coding-system.
8630
90207a15 86312012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8632
5d3385a0
JB
8633 * window.el (display-buffer--action-function-custom-type):
8634 Fix entry.
d9558cad 8635
90207a15 86362012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8637
8638 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8639
d80ac57b
GM
86402012-05-01 Glenn Morris <rgm@gnu.org>
8641
976f7668
GM
8642 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8643
beb83b5a
GM
8644 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8645
d80ac57b
GM
8646 * cus-edit.el (custom-variable-documentation): Simplify with format.
8647
b593d6a9 86482012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8649 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8650
8651 * simple.el (suggest-key-bindings, execute-extended-command):
8652 Move from keyboard.c.
8653
782fbf2a
CY
86542012-05-01 Chong Yidong <cyd@gnu.org>
8655
8656 * follow.el: Eliminate advice.
8657 (set-process-filter, process-filter, sit-for): Advice deleted.
8658 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8659 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8660 Vars deleted.
782fbf2a
CY
8661 (follow-auto): Use a :set function.
8662 (follow-mode): Rewritten. Don't advise process filters.
8663 (follow-switch-to-current-buffer-all, follow-scroll-up)
8664 (follow-scroll-down): Assume follow-mode is bound.
8665 (follow-comint-scroll-to-bottom)
8666 (follow-align-compilation-windows): New functions.
8667 (follow--window-sorter): New function.
8668 (follow-all-followers): Use it to explicitly sort windows by their
8669 positions; don't make assumptions about next-window order.
8670 (follow-windows-start-end, follow-delete-other-windows-and-split)
8671 (follow-calc-win-start): Doc fix.
8672 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8673 vertical-motion unnecessarily.
8674 (follow-adjust-window): New function.
8675 (follow-post-command-hook): Use it.
8676 (follow-call-set-process-filter, follow-call-process-filter)
8677 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8678 (follow-stop-intercept-process-output, follow-generic-filter):
8679 Functions deleted.
8680 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8681 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8682 New functions, replacing advice on scroll-bar-* commands.
87233a14 8683 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8684
8685 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8686 (comint-postoutput-scroll-to-bottom): Use it.
8687 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8688
290af740
GM
86892012-05-01 Glenn Morris <rgm@gnu.org>
8690
8691 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8692 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8693 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8694 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8695 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8696 Remove no-byte-compile setting.
8697
6eac8dc9
SM
86982012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8701 all-completions code to not return a number in the last cdr.
8702
9cc7819c
LL
87032012-04-30 Leo Liu <sdl.web@gmail.com>
8704
8705 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8706 read-only error.
8707
c93b886f
CY
87082012-04-29 Chong Yidong <cyd@gnu.org>
8709
8710 * follow.el (follow-calc-win-end): Rewrite to handle partial
8711 screen lines correctly (Bug#8390).
8712 (follow-avoid-tail-recenter): Minor cleanup.
8713
8b6c19f4
SM
87142012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8715
8716 Avoid the obsolete `assoc' package.
8717 * speedbar.el (speedbar-refresh): Avoid adelete.
8718 (speedbar-file-lists): Simplify and avoid aput.
8719 * man.el (Man--sections, Man--refpages): New vars, replacing
8720 Man-sections-alist and Man-refpages-alist.
8721 (Man-build-section-alist, Man-build-references-alist):
8722 Use them; avoid aput.
8723 (Man--last-section, Man--last-refpage): New vars.
8724 (Man-follow-manual-reference): Use them.
8725 Use the `default' arg of completing-read.
8726 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8727
c5bb7569
CY
87282012-04-27 Chong Yidong <cyd@gnu.org>
8729
d1d2e2e8
CY
8730 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8731
15cd8efd
CY
8732 * startup.el (x-apply-session-resources): New function.
8733
8734 * term/ns-win.el (ns-initialize-window-system):
8735 * term/w32-win.el (w32-initialize-window-system):
8736 * term/x-win.el (x-initialize-window-system): Use it to properly
8737 set menu-bar-mode and other vars from X resources, even if the
8738 initial frame is not a window-system frame (Bug#2299).
8739
c5bb7569
CY
8740 * subr.el (read-key): Avoid running filter function when setting
8741 up temporary tool bar entries (Bug#9922).
8742
a8e7d6d7 87432012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8744
8745 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8746 (Bug#11344)
8747
a8e7d6d7 87482012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8749
8750 * select.el (xselect--encode-string): New function, split from
8751 xselect-convert-to-string.
8752 (xselect-convert-to-string): Use it.
8753 (xselect-convert-to-filename, xselect-convert-to-os)
8754 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8755 returned strings are properly encoded (Bug#11315).
8756
a8e7d6d7 87572012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8758
8759 * simple.el (delete-active-region): Move to killing custom group.
8760
a8e7d6d7 87612012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8762
8763 * progmodes/which-func.el (which-func-current): Quote %
8764 characters for mode-line processing.
8765
578c1d4b 87662012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8767
8768 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8769 reaching eob (Bug#11286).
8770
a8e7d6d7 87712012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8772
8773 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8774 (gdb): Make it buffer-local and init to zero.
8775 (gdb-control-commands-regexp): New variable.
8776 (gdb-send): Don't wrap in "-interpreter-exec console" if
8777 gdb-control-level is positive. Increment gdb-control-level
8778 whenever the command matches gdb-control-commands-regexp, and
8779 decrement it each time the command is "end". (Bug#11279)
8780
a8e7d6d7 87812012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8782
8783 * window.el (adjust-window-trailing-edge, enlarge-window)
8784 (shrink-window, window-resize):
8785 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8786 windows (Bug#11276).
8787
b3608390
CY
87882012-04-27 Chong Yidong <cyd@gnu.org>
8789
8790 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8791 fix "missing prefix" warning. All callers changed.
b3608390 8792
797e6e88
SM
87932012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8794
8795 * emacs-lisp/assoc.el: Move to obsolete/.
8796
e95a67dc
SM
87972012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8798
657c21e4 8799 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8800
8801 * term/ns-win.el (ns-define-service):
8802 * progmodes/pascal.el (pascal-goto-defun):
8803 * progmodes/js.el (js--read-tab):
8804 * progmodes/etags.el (tags-lazy-completion-table):
8805 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8806 * emacs-lisp/ewoc.el (ewoc--wrap):
8807 * emacs-lisp/assoc.el (aput, adelete, amake):
8808 * doc-view.el (doc-view-convert-current-doc):
8809 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8810
cb3e7ae0
CY
88112012-04-26 Chong Yidong <cyd@gnu.org>
8812
dce04f7f
CY
8813 * image.el (image-type-from-buffer): Only return supported image
8814 type (Bug#9045).
8815
cb3e7ae0
CY
8816 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8817 value, for symmetry with diff-end-of-hunk.
8818 (diff-split-hunk, diff-find-source-location)
8819 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8820 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8821 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8822 compute the relevant hunk or file properly (Bug#6005).
8823 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8824
0d42eb3e
SM
88252012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 * vc/vc-mtn.el:
8828 * vc/vc-hg.el:
8829 * vc/vc-git.el:
8830 * vc/vc-dir.el:
8831 * vc/vc-cvs.el:
8832 * vc/vc-bzr.el:
8833 * vc/vc-arch.el:
8834 * vc/vc.el: Replace lexical-let by lexical-binding.
8835 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8836 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8837 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8838
f08ae1c9
CY
88392012-04-26 Chong Yidong <cyd@gnu.org>
8840
8b71081d
CY
8841 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8842 (diff-mode-shared-map): Bind it to / and [remap undo].
8843
f08ae1c9
CY
8844 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8845 (ediff-window-setup-function): Use it as the default, to set up
8846 windows based on whether the current frame is graphical (Bug#2138).
8847 (ediff-choose-window-setup-function-automatically): Make obsolete.
8848
8849 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8850
ef24141c
SM
88512012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8852
cc356a5d
SM
8853 * ffap.el: Remove old code for obsolete package.
8854 (ffap-complete-as-file-p): Remove.
8855
b4ff4f1f
SM
8856 Use completion-table-with-quoting for comint and pcomplete.
8857 * comint.el (comint--unquote&requote-argument)
8858 (comint--unquote-argument, comint--requote-argument): New functions.
8859 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8860 (comint-quote-filename): Use regexp-opt-charset.
8861 (comint--common-suffix, comint--common-quoted-suffix)
8862 (comint--table-subvert): Remove.
8863 (comint-unquote-function, comint-requote-function): New vars.
8864 (comint--complete-file-name-data): Use them with
8865 completion-table-with-quoting.
8866 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8867 * pcomplete.el (pcomplete-arg-quote-list)
8868 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8869 (pcomplete-unquote-argument-function): Default to non-nil.
8870 (pcomplete-unquote-argument): Simplify.
8871 (pcomplete--common-quoted-suffix): Remove.
8872 (pcomplete-requote-argument-function): New var.
8873 (pcomplete--common-suffix): New function.
8874 (pcomplete-completions-at-point): Use completion-table-with-quoting
8875 and completion-table-subvert.
8876
79c4eeb4
SM
8877 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8878 (minibuffer--double-dollars): Preserve properties.
8879 (completion--sifn-requote): New function.
8880 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8881
ef24141c
SM
8882 * minibuffer.el: Add support for completion of quoted/escaped data.
8883 (completion-table-with-quoting, completion-table-subvert): New funs.
8884 (completion--twq-try, completion--twq-all): New functions.
8885 (completion--nth-completion): New function.
8886 (completion-try-completion, completion-all-completions): Use it.
8887
784e7d6e
LL
88882012-04-25 Leo Liu <sdl.web@gmail.com>
8889
dd2ac746
SM
8890 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8891 Use compilation-message if available to find real filename.
784e7d6e 8892
07875ee7
CY
88932012-04-25 Chong Yidong <cyd@gnu.org>
8894
8895 * vc/diff-mode.el (diff-setup-whitespace): New function.
8896 (diff-mode): Use it.
8897
8898 * vc/diff.el (diff-sentinel):
8899 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8900 Whitespace mode variables based on diff style (Bug#8612).
8901
5055880d
LL
89022012-04-25 Leo Liu <sdl.web@gmail.com>
8903
daf75653
LL
8904 * progmodes/python.el (python-send-region): Add suffix .py to the
8905 temp file.
8906
5055880d
LL
8907 * files.el (auto-mode-alist): Use javascript-mode instead.
8908
db9b177b
AH
89092012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8910
ef24141c 8911 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8912
090bd7cb 8913 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8914 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8915 references, see Bug#9.
ef24141c 8916 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8917 when receiving a fault reply.
ef24141c 8918 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8919
090bd7cb 8920 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8921 (soap-inspect-simple-type): New function.
db9b177b 8922
090bd7cb 8923 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8924 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8925 (soap-decode-basic-type, soap-encode-basic-type):
8926 support unsignedInt and double basic types.
db9b177b 8927 (soap-resolve-references-for-simple-type)
ef24141c
SM
8928 (soap-parse-simple-type, soap-encode-simple-type): New function.
8929 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8930
090bd7cb 8931 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8932 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8933 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8934 the local name of "soapenc:Array".
8935 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8936 decoding integer, byte and anyURI xsd types.
8937
1fc6097b
CY
89382012-04-25 Chong Yidong <cyd@gnu.org>
8939
8940 * cus-edit.el (custom-buffer-create-internal): Update header text.
8941
afc6df87
EZ
89422012-04-25 Eli Zaretskii <eliz@gnu.org>
8943
8944 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8945 settings on 'system-type', not on 'window-system'. On MS-Windows,
8946 set interactive-mode on in GDB.
8947
dfbd787f
SM
89482012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8949
8950 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8951 (ruby-syntax-propertize-regexp): Remove.
8952 (ruby-syntax-propertize-function): Split regexp into chunks.
8953 Match following code directly.
8954
85222d44
DG
89552012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8956
51a8ea2a
DG
8957 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8958 (ruby-syntax-propertize-regexp): New function.
8959 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8960 by a special keyword.
8961
85222d44
DG
8962 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8963 (ruby-syntax-general-delimiters-goto-beg)
8964 (ruby-syntax-propertize-general-delimiters): New functions.
8965 (ruby-syntax-propertize-function): Use them to handle GDL.
8966 (ruby-font-lock-keywords): Move old handling of GDL...
8967 (ruby-font-lock-syntactic-keywords): .. to here.
8968 (ruby-calculate-indent): Adjust indentation for GDL.
8969
b613912b
MA
89702012-04-24 Michael Albinus <michael.albinus@gmx.de>
8971
b5380639
MA
8972 * notifications.el (top): Remove unneeded declarations.
8973 (notifications-specification-version): Change to "1.2".
e43042fe 8974 (notifications-interface, notifications-notify-method)
b613912b
MA
8975 (notifications-close-notification-method): Fix docstring.
8976 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8977 (notifications-notify): Add :action-items, :resident and
8978 :transient hints. Change "image_data" to "image-data" and
8979 "image_path" to "image-path".
b613912b
MA
8980 (notifications-get-capabilities): New defun.
8981
257440aa
LL
89822012-04-24 Leo Liu <sdl.web@gmail.com>
8983
8984 * progmodes/python.el: Move hideshow setup to the end.
8985
b1bac16e
MR
89862012-04-24 Martin Rudalics <rudalics@gmx.at>
8987
8988 * window.el (handle-select-window): Clear echo area since this is
8989 no more done by read_char (Bug#11304).
8990
d81bd059
SM
89912012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8994 and `/ M' to filter-derived-mode.
8995 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8996 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8997 (ibuffer-mark-by-mode): Use default rather than initial-input.
8998 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8999
c4cf6d91
IA
90002012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9001
9002 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9003 (ibuffer-filter-by-derived-mode): New filter.
9004 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9005
7511ded8
CY
90062012-04-23 Andreas Politz <politza@fh-trier.de>
9007
9008 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9009
775c916b
CY
90102012-04-23 Chong Yidong <cyd@gnu.org>
9011
9012 * cus-edit.el (customize-apropos, customize-apropos-options):
9013 Disable matching of non-option variables (Bug#11176).
9014 (customize-option, customize-option-other-window)
9015 (customize-changed-options): Doc fix.
9016 (customize-apropos-options, customize-apropos-faces)
9017 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9018
9019 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9020 Fix word list splitting (Bug#11132).
46c71e23
CY
9021 (apropos-symbol, apropos-keybinding, apropos-label)
9022 (apropos-property, apropos-function-button)
9023 (apropos-variable-button, apropos-misc-button): New faces.
9024 (apropos-symbol-face, apropos-keybinding-face)
9025 (apropos-label-face, apropos-property-face, apropos-match-face):
9026 Variables removed (Bug#8396).
9027 (apropos-library-button, apropos-format-plist, apropos-print)
9028 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9029
2df41f9c
MA
90302012-04-23 Michael Albinus <michael.albinus@gmx.de>
9031
9032 * net/xesam.el (xesam-mode-map): Use let-bound map in
9033 initialization. (Bug#11292)
9034
da00640a
AM
90352012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9036
9037 Preserve ispell session localwords when switching back to
9038 original buffer.
9039
090bd7cb
JB
9040 * textmodes/ispell.el (ispell-buffer-session-localwords):
9041 New buffer-local variable to hold buffer session localwords.
ed9265fc 9042 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9043 localwords.
9044 (ispell-command-loop, ispell-change-dictionary)
9045 (ispell-buffer-local-words): Preserve session localwords when
9046 needed.
9047
090bd7cb
JB
9048 * textmodes/flyspell.el (flyspell-process-localwords)
9049 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 9050
f621ccf5
AM
90512012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9052
090bd7cb
JB
9053 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9054 using obsolete `translation-table-for-input'.
ef24141c
SM
9055 (ispell-word, ispell-process-line, ispell-complete-word):
9056 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 9057
c2d1019e
CY
90582012-04-22 Chong Yidong <cyd@gnu.org>
9059
9060 * cus-edit.el (custom-variable-menu)
9061 (custom-variable-reset-saved, custom-face-menu)
9062 (custom-face-reset-saved): If there is no saved value, make the
9063 "reset-saved" operation bring back the default (Bug#9509).
9064 (custom-face-state): Properly detect themed faces.
9065
eeddc531
CY
9066 * faces.el (face-spec-set): Stop supporting deprecated form of
9067 third arg.
9068
dcbf5805
MA
90692012-04-22 Michael Albinus <michael.albinus@gmx.de>
9070
9071 Move functions from C to Lisp. Make non-blocking method calls
9072 the default. Implement further D-Bus standard interfaces.
9073
ef24141c
SM
9074 * net/dbus.el (dbus-message-internal): Declare function.
9075 Remove unneeded function declarations.
dcbf5805
MA
9076 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9077 (dbus-message-type-method-return, dbus-message-type-error)
9078 (dbus-message-type-signal): Declare variables. Remove local
9079 definitions.
9080 (dbus-interface-dbus, dbus-interface-peer)
9081 (dbus-interface-introspectable, dbus-interface-properties)
9082 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9083 Adapt docstring.
9084 (dbus-interface-objectmanager): New defconst.
9085 (dbus-call-method, dbus-call-method-asynchronously)
9086 (dbus-send-signal, dbus-method-return-internal)
9087 (dbus-method-error-internal, dbus-register-service)
9088 (dbus-register-signal, dbus-register-method): New defuns, moved
9089 from dbusbind.c
9090 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
9091 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9092 New defuns.
dcbf5805
MA
9093 (dbus-call-method-non-blocking): Make it an obsolete function.
9094 (dbus-unregister-object, dbus-unregister-service)
9095 (dbus-handle-event, dbus-register-property)
9096 (dbus-property-handler): Obey the new structure of
9097 `bus-registered-objects'.
9098 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9099 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9100 Use `dbus-call-method'.
9101
cf20dee0
CY
91022012-04-22 Chong Yidong <cyd@gnu.org>
9103
9104 * cus-edit.el (custom-commands, custom-reset-menu)
9105 (Custom-reset-standard): Tweak labels.
9106 (custom-reset-button-menu): Change default to t.
9107 (custom-buffer-create-internal): For the custom-reset-button-menu
9108 case, put the revert button first.
9109 (custom-group-subtitle): New face.
9110 (custom-group-value-create): Align docstring to a specific column.
9111
9112 * wid-edit.el (widget-documentation-link-add): Don't handle
9113 indentation in this function.
9114 (widget-documentation-string-indent-to): New function.
9115 (widget-documentation-string-value-create): Use it.
9116
9117 * autorevert.el (auto-revert):
9118 * epg-config.el (epg):
9119 * ibuffer.el (ibuffer):
9120 * mpc.el (mpc):
9121 * ses.el (ses):
9122 * eshell/eshell.el (eshell):
9123 * net/ange-ftp.el (ange-ftp):
9124 * progmodes/ebnf2ps.el (postscript):
9125 * progmodes/flymake.el (flymake):
9126 * progmodes/prolog.el (prolog):
9127 * progmodes/verilog-mode.el (verilog-mode):
9128 * progmodes/which-func.el (which-func):
9129 * term/xterm.el (xterm):
9130 * textmodes/picture.el (picture):
9131 * textmodes/tildify.el (tildify):
9132 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9133 customization buffers.
9134
583e23bd
AM
91352012-04-22 Alan Mackenzie <acm@muc.de>
9136
9137 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9138 Adding a ) can hide the resulting (..) from searches. Fix it.
9139 Bound the backward search to the position of the existing (.
9140
7dd51bf1
JB
91412012-04-21 Juanma Barranquero <lekktu@gmail.com>
9142
9143 * progmodes/verilog-mode.el (verilog-mode): Check whether
9144 which-func-modes is t before adding verilog-mode.
9145 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9146
d64a438f
LL
91472012-04-21 Leo Liu <sdl.web@gmail.com>
9148
7dd51bf1 9149 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 9150
081e8d65
MV
91512012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9152
9153 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9154 filling of the last column of a table (Bug#5635).
9155 (woman-find-next-control-line): New arg, specifying an additional
9156 regexp component for the control line.
9157 (woman2-roff-buffer): Use it.
9158 (woman-break-table): New function.
9159 (woman2-TS): Use it.
9160
91612012-04-21 Chong Yidong <cyd@gnu.org>
9162
9163 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9164 (woman-horizontal-escapes, woman-negative-vertical-space)
9165 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9166 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9167
ed571ccb
SM
91682012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * minibuffer.el (completion-file-name-table): Complete user names.
9171
39773899
LL
91722012-04-20 Leo Liu <sdl.web@gmail.com>
9173
9174 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9175 and pcase-let*.
9176
de6ff46d
CY
91772012-04-20 Chong Yidong <cyd@gnu.org>
9178
9179 * server.el (server-execute): Respect initial-buffer-choice if it
9180 is a string and there are no files to open (Bug#2825).
9181 (server-create-window-system-frame, server-create-tty-frame):
9182 Don't switch buffers here.
2d0e8e61
CY
9183 (server-process-filter): Only try to open a window system frame if
9184 compiled with graphical support (Bug#8314).
de6ff46d 9185
54071013
DN
91862012-04-20 Dan Nicolaescu <dann@gnu.org>
9187
9188 * battery.el (battery-echo-area-format): Display remaining time
9189 for sysfs backend too (Bug#11269).
9190 (battery-linux-sysfs): Fix conditional for the charge.
9191
f30d612a
CY
91922012-04-20 Chong Yidong <cyd@gnu.org>
9193
c07a4c0b 9194 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9195 (gdb-inferior-io--init-proc): New function.
9196 (gdb-init-1): Use it.
9197 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9198 responsible for allocating a new pty and hooking it to gdb when
9199 the old pty gets an EIO due to process exit.
9200 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9201 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9202 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9203
2116e93c
EZ
92042012-04-20 Eli Zaretskii <eliz@gnu.org>
9205
9206 * window.el (window-min-size, window-sizable, window-min-delta)
9207 (window-max-delta, window--resizable, window-resizable)
9208 (window-total-size, window-full-height-p, window-full-width-p)
9209 (window-in-direction, window--resize-mini-window, window-resize)
9210 (window--resize-child-windows-normal)
9211 (window--resize-child-windows, window--resize-siblings)
9212 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9213 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9214
c07a4c0b 92152012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9216
ef24141c
SM
9217 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9218 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9219 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9220 pty process (Bug#11273).
9221 (gdb-update): New arg to suppress talking to the gdb process.
9222 (gdb-done-or-error): Use it.
9223 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9224 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9225 sentinel not being called.
9226
9227 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9228
d02766ab
CY
9229 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9230
c07a4c0b 92312012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
9232
9233 * net/network-stream.el (open-network-stream): Doc fix.
9234
c07a4c0b 92352012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
9236
9237 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9238
c07a4c0b 92392012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
9240
9241 Ensure searching for keywords is case sensitive.
9242
9243 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9244 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9245 (c-defun-name, c-mark-function, c-cpp-define-name)
9246 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 9247 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 9248
ef24141c
SM
9249 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9250 Bind case-fold-search to nil.
f0f6bc35 9251
c07a4c0b 92522012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
9253
9254 * mail/sendmail.el (mail-bury): Call return action with the right
9255 Rmail buffer (Bug#11242).
9256
9a864fa2
CY
9257 * server.el (server-process-filter): Handle corner case where both
9258 tty and nowait options are present (Bug#11102).
9259
539aa513
EZ
92602012-04-20 Eli Zaretskii <eliz@gnu.org>
9261
9262 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
9263 (top level): Put into the executable the ident-style '$Id:' tag on
9264 windows-nt as well.
539aa513 9265
cfc7d5da
SM
92662012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9267
9268 * electric.el (electric-indent-post-self-insert-function): Check that
9269 electric-indent-mode is enabled in current buffer.
9270
5b01685c
JB
92712012-04-19 Juanma Barranquero <lekktu@gmail.com>
9272
9273 * imenu.el (imenu-progress-message): Restore; it is "used" in
9274 erc/erc-imenu.el and net/snmp-mode.el.
9275
4d6769e1
JB
92762012-04-19 Juanma Barranquero <lekktu@gmail.com>
9277
9278 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9279 (mouse-avoidance-nudge-mouse): Remove unused binding.
9280
9281 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9282
9283 * descr-text.el (describe-char):
9284 * progmodes/python.el (python-describe-symbol):
9285 Don't call `toggle-read-only', set `buffer-read-only'.
9286
9287 * imenu.el (imenu-default-goto-function): Mark unused args.
9288 (imenu-progress-message): Remove obsolete macro; all callers changed.
9289
9290 * subr.el (keymap-canonicalize): Remove unused binding.
9291 (read-passwd): Mark unused arg.
9292
9293 * tutorial.el (tutorial--display-changes): Remove unused binding.
9294 (tutorial--save-tutorial-to): Remove unused variable.
9295
9296 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9297 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9298 (package-generate-autoloads, package-menu--generate)
9299 (package-menu--find-upgrades): Remove unused bindings.
9300
9301 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9302 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9303 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9304 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9305 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9306 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9307 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9308 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9309 (cua-delete-char-rectangle): Mark unused args.
9310 (cua-align-rectangle): Remove unused binding.
9311
9312 * mail/rmail.el (compilation--message->loc)
9313 (epa--find-coding-system-for-mime-charset): Declare.
9314
9315 * net/dbus.el (dbus-register-service): Declare.
9316 (dbus-name-owner-changed-handler): Remove unused binding.
9317
9318 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9319 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9320 (nxml-scan-backward-within): Mark unused arg.
9321 (nxml-dynamic-markup-word): Remove unused binding.
9322
9323 * mouse.el (mouse-menu-major-mode-map):
9324 * emacs-lisp/authors.el (authors-scan-change-log)
9325 (authors-add-to-author-list):
9326 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9327 * emacs-lisp/smie.el (smie-auto-fill):
9328 * mail/sendmail.el (mail-bury):
9329 * mail/unrmail.el (unrmail):
9330 * net/tls.el (open-tls-stream):
9331 * textmodes/picture.el (picture-mouse-set-point):
9332 Remove unused bindings.
9333
8c8fc5df
MA
93342012-04-19 Michael Albinus <michael.albinus@gmx.de>
9335
9336 * net/tramp.el (tramp-action-password): Let-bind
9337 `enable-recursive-minibuffers' to t.
9338
a77b0ac9
SS
93392012-04-18 Sam Steingold <sds@gnu.org>
9340
9341 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9342 instead of 'string to accommodate values like [f11].
9343 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9344 * progmodes/gdb-mi.el: Likewise.
9345
12a106a9
LL
93462012-04-18 Leo Liu <sdl.web@gmail.com>
9347
9348 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9349 current buffer.
9350 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9351 LOCAL is nil.
9352
bc6494ef
CY
93532012-04-18 Chong Yidong <cyd@gnu.org>
9354
9355 * simple.el (line-move): Use forward-line if in batch mode
9356 (Bug#11053).
9357
c09c46b2
CS
93582012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9359
9360 * files.el (after-find-file): Do not try to add a final newline if
9361 the buffer is read-only (Bug#11156).
9362
5f6530ea
RS
93632012-04-17 Richard Stallman <rms@gnu.org>
9364
9365 * mail/rmail.el (rmail-start-mail):
9366 Pass (rmail-mail-return...) for the return-action.
9367 Pass (rmail-yank-current-message...) for the yank-action.
9368 (rmail-yank-current-message): New function.
9369 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9370 (rmail-reply): Likewise.
9371 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9372
9373 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9374 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9375 buffer, not newbuf.
9376
197b6f3c
JB
93772012-04-17 Juanma Barranquero <lekktu@gmail.com>
9378
9379 * server.el (server-ensure-safe-dir): Simplify.
9380
2311d8e5 93812012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9382
2311d8e5
GM
9383 * emacs-lisp/smie.el: Provide smarter auto-filling.
9384 (smie-auto-fill): New function.
9385 (smie-setup): Use it.
98fb480e 9386
2311d8e5
GM
9387 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9388
93892012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9390
9391 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9392 (comment-indent): Use it.
9393
2311d8e5 93942012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9395
9396 * ses.el: The overall change is to add cell renaming, that is
9397 setting fancy names for cell symbols other than name matching
9398 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9399 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9400 (ses-create-cell-variable): New defun.
2311d8e5 9401 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9402 (ses-relocate-formula): Relocate formulas only for cells the
9403 symbols of which are not renamed, i.e. symbols whose names do not
9404 match regexp "\\`[A-Z]+[0-9]+\\'".
9405 (ses-relocate-all): Relocate values only for cells the symbols of
9406 which are not renamed.
9407 (ses-load): Create cells variables as the (ses-cell ...) are read,
9408 in order to check row col consistency with cell symbol name only
9409 for cells that are not renamed.
9410 (ses-replace-name-in-formula): New defun.
9411 (ses-rename-cell): New defun.
4bdf2ad2 9412
fc72b15c
PO
94132012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9414
9415 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9416 New option (bug#11118).
9417 (perl-calculate-indent): Respect it.
9418
12e10e61
GM
94192012-04-17 Glenn Morris <rgm@gnu.org>
9420
9421 * dired-aux.el (dired-mark-read-string): Doc fix.
9422
30009afd
DA
94232012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9424
9425 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9426 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9427
41f03f4d
GM
94282012-04-17 Glenn Morris <rgm@gnu.org>
9429
9430 * mouse.el (mouse-drag-track):
9431 * speedbar.el (speedbar-frame-mode):
9432 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9433
f45f90f3
LL
94342012-04-16 Leo Liu <sdl.web@gmail.com>
9435
9436 * progmodes/python.el: Trivial cleanup.
9437
94ee8db5
GM
94382012-04-16 Glenn Morris <rgm@gnu.org>
9439
121b8917
GM
9440 * vc/vc.el (vc-string-prefix-p):
9441 * vc/pcvs-util.el (cvs-string-prefix-p):
9442 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9443 * mpc.el (mpc-string-prefix-p):
9444 Make all of these into obsolete aliases for string-prefix-p.
9445 Update callers.
9446 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9447
1197ecfa
GM
9448 * textmodes/two-column.el: Move custom options to the start.
9449 (frame-width): Remove compat definition.
9450 (2C-associate-buffer, 2C-dissociate):
9451 Use with-current-buffer rather than save-excursion.
9452 (2C-dissociate): Force a mode-line update.
9453 (2C-autoscroll): Use ignore-errors.
9454
099e7202
GM
9455 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9456 Autoload trivia.
9457
bf350d6a
GM
9458 * emacs-lisp/cl-extra.el (*random-state*):
9459 Remove unnecessary declaration.
9460
0e829eab
GM
9461 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9462
e3ad7552
GM
9463 * play/cookie1.el (cookie-snarf):
9464 Give an explicit error if input file cannot be read.
9465
68892d27
GM
9466 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9467
20f0c46d
GM
9468 * progmodes/perl-mode.el (c-macro-expand):
9469 Remove unnecessary autoload (it is in loaddefs.el).
9470
5a0978ce
GM
9471 * textmodes/picture.el (picture-desired-column)
9472 (picture-update-desired-column): Convert comments to doc-strings.
9473 (picture-substitute): Remove function.
9474 (picture-mode-map): Initialize in the defvar.
9475
6b955486
GM
9476 * woman.el: Remove eval-after-load for tar-mode.
9477 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9478 (woman-tar-extract-file): Autoload it.
9479
94ee8db5
GM
9480 * frame.el (automatic-hscrolling): Make this alias obsolete.
9481
177eca34
AM
94822012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9483
090bd7cb 9484 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9485 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9486 (ispell-dictionary-base-alist): Revert to original XEmacs
9487 friendly version for default. [:alpha:] will be added in
090bd7cb 9488 `ispell-set-spellchecker-params' if needed.
177eca34 9489
c505aaeb
CY
94902012-04-16 Chong Yidong <cyd@gnu.org>
9491
b19dd9d1 9492 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9493 (imagemagick-register-types): Use it.
9494 (imagemagick-types-inhibit): Add :set function. Allow new value
9495 of t to inhibit all types.
9496
9497 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9498 so we can preload it.
9499
9500 * loadup.el (fboundp): Preload regexp-opt, needed by
9501 imagemagick-register-types.
9502
60efac0f
CY
95032012-04-15 Chong Yidong <cyd@gnu.org>
9504
9505 * frame.el (scrolling): Remove nearly unused customization group.
9506
9507 * scroll-all.el (scroll-all-mode): Move to windows group.
9508
5dd1713e
CY
95092012-04-15 Chong Yidong <cyd@gnu.org>
9510
9511 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9512
e6fd457e
CY
95132012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9516 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9517
e153c136
GM
95182012-04-15 Glenn Morris <rgm@gnu.org>
9519
9520 * simple.el (process-file-side-effects): Doc fix.
9521
e6fd457e 95222012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9523
9524 * international/mule-cmds.el (set-language-environment): Doc fix.
9525
3603c3b1
JB
95262012-04-14 Juanma Barranquero <lekktu@gmail.com>
9527
9528 * server.el (server-auth-key, server-generate-key): Doc fixes.
9529 (server-get-auth-key): Doc fix. Use `string-match-p'.
9530 (server-start): Reflow docstring.
9531
e6de100c
LI
95322012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9533
9534 * server.el (server-generate-key): `called-interactively-p'
9535 requires a parameter.
9536
29734c21
MN
95372012-04-14 Michal Nazarewicz <mina86@mina86.com>
9538
9539 * server.el (server-auth-key): New variable.
75f1671a 9540 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9541 (server-start): Use the new variable and functions to allow
9542 setting a permanent server key (bug#9423).
9543
d65c9521
LL
95442012-04-14 Leo Liu <sdl.web@gmail.com>
9545
9546 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9547
5ae255c7
PE
95482012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9549
9550 Spelling fixes.
9551 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9552 Emacs uses American spelling.
9553
d5e6342e
JB
95542012-04-14 Juanma Barranquero <lekktu@gmail.com>
9555
9556 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9557 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9558 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9559 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9560
ab036cd7
SM
95612012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9562
9563 * progmodes/which-func.el (which-func-modes): Change default.
9564
35dc09a1 95652012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9566
9567 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9568 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9569
35dc09a1 95702012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9571
9572 * custom.el (custom-theme-set-variables): Doc fix.
9573
35dc09a1 95742012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9575
9576 * international/mule.el (set-auto-coding-for-load): Doc fix.
9577
35dc09a1 95782012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9579
35dc09a1
GM
9580 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9581 imenu work again for Objective C Mode. Correct the *-index values,
9582 these having been disturbed by a previous change in 2011-08.
57f845ee 9583
0de3da9f
AM
9584 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9585 Correct two search limits.
9586
35dc09a1 95872012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9588
9589 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9590
35dc09a1 95912012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9592
9593 * international/characters.el: Fix sorting.
9594
35dc09a1 95952012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9596
9597 * international/characters.el: Add more missing Latin case pairs.
9598
35dc09a1 95992012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9600
9601 * files.el (dir-locals-set-class-variables): Doc fix.
9602
35dc09a1 96032012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9604
3f1b5bf8
EZ
9605 * international/characters.el: Add set-case-syntax-pair call for
9606 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9607 counterpart. (Bug#11209)
9608
9f847f41
EZ
9609 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9610
35dc09a1 96112012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9612
9613 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9614
35dc09a1 96152012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9616
35dc09a1
GM
9617 * textmodes/ispell.el (ispell-dictionary-base-alist):
9618 Add data for Hebrew.
e2627d21 9619
35dc09a1 96202012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9621
35dc09a1
GM
9622 * net/rcirc.el (rcirc-cmd-quit):
9623 Revert 2012-03-18 change (Bug#11192).
5c14e333 9624
35dc09a1 96252012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9626
9627 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9628
35dc09a1 96292012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9630
4517fe3a
SM
9631 * minibuffer.el (completion-in-region-mode-map):
9632 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9633
b472a594
VD
96342012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9635
9636 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9637
09b95ce3
MY
96382012-04-13 Masatake YAMATO <yamato@redhat.com>
9639
9640 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9641 to allow `C-M-f' and `C-M-b' to move to the nearest path
9642 separator (bug#9511).
9643
4b63a9ca
LI
96442012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9645
9646 * avoid.el: Require cl when compiling. And also move the
9647 `provide' to the end.
9648
7b55b8bf
TV
96492012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9650
9651 * avoid.el (mouse-avoidance-banish-position): New variable.
9652 (mouse-avoidance-banish-destination): Use it (bug#10165).
9653
adedaa1f
LL
96542012-04-13 Leo Liu <sdl.web@gmail.com>
9655
9656 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9657
70e74021
KB
96582012-04-13 Ken Brown <kbrown@cornell.edu>
9659
9660 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9661 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9662 (browse-url-filename-alist): For the same reason, don't modify
9663 file:// URLs on Cygwin.
9664
e75e89ba
SM
96652012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9666
9667 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9668 the region on shift if the binding is already shifted (bug#11221).
9669
82f289a4
GM
96702012-04-12 Glenn Morris <rgm@gnu.org>
9671
9672 * mail/mailpost.el: Move to obsolete/.
9673
d333dc4c
DA
96742012-04-12 Drew Adams <drew.adams@oracle.com>
9675
9676 * imenu.el (imenu--generic-function): Ignore invisible definitions
9677 (bug#10123).
9678
0d15b5ba
VD
96792012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9680
9681 * hexl.el (hexl-bits): New variable.
9682 (hexl-options): Mention the variable in the doc string.
75f1671a 9683 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9684 (hexl-mode): Mention the new variable.
75f1671a
JB
9685 (hexl-mode, hexl-current-address, hexl-current-address):
9686 Use the displen.
0d15b5ba
VD
9687 (hexl-ascii-start-column): New function.
9688 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9689 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9690
64a440db
AM
96912012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9692
9693 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9694 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9695 the encoding, as expected by hunspell.
9696
6decb6c2
SM
96972012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * battery.el (battery--linux-sysfs-regexp): New const.
9700 (battery-status-function): Use it. Remove yeeloong special case.
9701 (battery-yeeloong-sysfs): Remove.
9702 (battery-echo-area-format): Remove yeeloong special case.
9703
088be6fb
SM
97042012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9705
6622e416
SM
9706 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9707 Reported by Noah Friedman.
9708
088be6fb
SM
9709 * subr.el (read-passwd): Use read-string.
9710
b49f886e
LMI
97112012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9712
9713 * vcursor.el (vcursor-move): Increase the priority of the overlay
9714 (bug#9663).
9715
a63067fc
DD
97162012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9717
9718 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9719 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9720
ac3cf14a
WS
97212012-04-11 William Stevenson <yhvh2000@gmail.com>
9722
9723 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9724 define-minor-mode (bug#10760).
9725
c4fc691b 97262012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9727
4d6769e1 9728 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9729 that directories matching `grep-find-ignored-files' won't be
9730 pruned (bug#10351).
9731
af23e2e5
CY
97322012-04-11 Chong Yidong <cyd@gnu.org>
9733
9734 * startup.el (command-line): Remove support for long-obsolete
9735 variable font-lock-face-attributes.
9736
ab7ce8c1
GM
97372012-04-11 Glenn Morris <rgm@gnu.org>
9738
9739 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9740
de8c03dc
SM
97412012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9742
9743 * window.el (window--state-get-1): Obey window-point-insertion-type.
9744
050cc68b
LB
97452012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9746
9747 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9748 to previous function when point is on the first character of a
75f1671a 9749 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9750
a38c310c
GM
97512012-04-11 Glenn Morris <rgm@gnu.org>
9752
effed0c2
GM
9753 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9754 not just file-errors.
9755
a38c310c
GM
9756 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9757 (vc-bzr-sha1): Use internal sha1.
9758
0221e323
SM
97592012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9762
43956923
SG
97632012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9764
9765 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9766 that start in the middle of the line (bug#10496).
9767
6a8c9eaf
DN
97682012-04-10 Dan Nicolaescu <dann@gnu.org>
9769
9770 * battery.el (battery-linux-proc-acpi): Only one battery is
9771 discharged at a time, but that seems to confuse battery.el when
9772 computing `rate-type' for the battery not being discharged
9773 (bug#10332).
9774
1930bf5d
SM
97752012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9776
2a718f6f
SM
9777 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9778
599430d0
SM
9779 * international/quail.el: Use dolist and simplify.
9780 (quail-define-package, quail-update-keyboard-layout)
9781 (quail-define-rules): Use dolist.
9782 (quail-insert-kbd-layout, quail-get-translation): CSE.
9783
a2754b6c
SM
9784 * tmm.el: Use dolist, remove left over hook.
9785 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9786 Use dolist.
9787 (calendar-load-hook): Don't mess with it.
9788
1930bf5d
SM
9789 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9790 Use derived-mode-p. Run the diff asynchronously.
9791
9f67961c
LMI
97922012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9793
9794 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9795
2a8ce227
JB
97962012-04-10 Juanma Barranquero <lekktu@gmail.com>
9797
9798 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9799 (list-dynamic-libraries--loaded): New function.
9800 (list-dynamic-libraries--refresh): Use it.
9801
8f33b5f8
NW
98022012-04-10 Nathan Weizenbaum <nweiz@google.com>
9803
1930bf5d
SM
9804 * progmodes/python.el (python-fill-paragraph):
9805 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9806 disabled (bug#7018).
9807
b12f0439
L
98082012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9809
1930bf5d 9810 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9811 DOS/MS Windows for the Baltic languages. There are still plenty
9812 of texts written in this encoding/codepage (bug#6519).
b12f0439 9813
57c3bd01
GM
98142012-04-10 Glenn Morris <rgm@gnu.org>
9815
9816 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9817 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9818
6c3eab30
FA
98192012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9820
1930bf5d 9821 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9822 next-line "n" and previous-line "p" in order to make recentf more
9823 consistent with ibuffer, dired or org-mode (bug#9387).
9824
24d78a88
LMI
98252012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9826
bc72b5d9
LMI
9827 * image.el (put-image): Return the overlay created instead of the
9828 optional input string (bug#7834). Note that this may break code
9829 that is (for some reason or other) depending on `put-image'
9830 returning the string.
9831
bd2dba5a
LMI
9832 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9833
74beb59f
LMI
9834 * simple.el (zap-to-char): Allow zapping using input methods
9835 (bug#1580).
9836
24d78a88
LMI
9837 * textmodes/fill.el (fill-region): Leave point and mark where they
9838 were before filling (bug#5399).
9839
263f20cd
GM
98402012-04-09 Glenn Morris <rgm@gnu.org>
9841
9842 * version.el (emacs-bzr-get-version):
9843 Handle lightweight checkouts of local branches.
9844
58d1f797
AS
98452012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9846
263f20cd 9847 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9848
b4d3bc10
CY
98492012-04-09 Chong Yidong <cyd@gnu.org>
9850
9851 * custom.el (custom-variable-p): Return nil for non-symbol
9852 arguments instead of signaling an error.
9853 (user-variable-p): Obsolete alias for custom-variable-p.
9854
9855 * apropos.el (apropos-variable):
9856 * files-x.el (read-file-local-variable):
9857 * simple.el (set-variable):
9858 * woman.el (woman-mini-help):
9859 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9860
fd06db5d
GM
98612012-04-09 Glenn Morris <rgm@gnu.org>
9862
e5fcdb5e
GM
9863 * startup.el (normal-top-level): Don't look for leim-list.el
9864 in places where it will not be found. (Bug#910)
9865
fd06db5d
GM
9866 * international/mule-cmds.el (set-default-coding-systems):
9867 * files.el (normal-mode):
9868 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9869 This function was removed with ucs-tables.el in 2008.
9870
b39bb7e1
EZ
98712012-04-08 Eli Zaretskii <eliz@gnu.org>
9872
9873 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9874 ispell-encoding8-command to "-i", without a trailing space.
9875 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9876 separate command-line arguments, to specify the encoding, since
9877 that's how hunspell expects it.
9878
5c5b8e23
GM
98792012-04-08 Glenn Morris <rgm@gnu.org>
9880
9881 * loadup.el: Load bindings before cus-start.
9882 This reduces somewhat the number of "rogue" settings in emacs -Q.
9883
a1ed8b05
GM
98842012-04-07 Glenn Morris <rgm@gnu.org>
9885
9886 * version.el (emacs-bzr-get-version): New function.
dfae128a 9887 (emacs-bzr-version): New variable.
a1ed8b05
GM
9888 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9889 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9890
b142f158
EZ
98912012-04-07 Eli Zaretskii <eliz@gnu.org>
9892
dfae128a
GM
9893 * international/uni-bidi.el, international/uni-category.el:
9894 * international/uni-combining.el, international/uni-decimal.el:
9895 * international/uni-decomposition.el, international/uni-digit.el:
9896 * international/uni-lowercase.el, international/uni-mirrored.el:
9897 * international/uni-name.el, international/uni-numeric.el:
9898 * international/uni-titlecase.el, international/uni-uppercase.el:
9899 Update for Unicode 6.1.
b142f158 9900
9078ead6
EZ
99012012-04-07 Eli Zaretskii <eliz@gnu.org>
9902
9903 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9904
f23d2c7d
LMI
99052012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9906
9907 * window.el (shrink-window): Mention the `window-min-height'
9908 variable in the doc string.
9909
0a0a3573
BG
99102012-04-05 Bastien Guerry <bzg@altern.org>
9911
9912 * color.el (color-lighten-name): Fix typo.
9913
e5248ac9
SM
99142012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9915
9916 * server.el (server--on-display-p): New function.
9917 (server--on-display-p): Use it.
9918
a8e4d516 99192012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
b4243e22
GV
9920
9921 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9922 (bug#11145).
9923
305d9f44
SM
99242012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9925
9926 * comint.el (comint--common-quoted-suffix): Check string boundary
9927 before comparing (bug#11158).
9928 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9929
3d439cd1
CY
99302012-04-04 Chong Yidong <cyd@gnu.org>
9931
321cc491
CY
9932 * minibuffer.el (completion-extra-properties): Doc fix.
9933
3d439cd1
CY
9934 * subr.el (delayed-warnings-hook): Doc fix.
9935
2d562c0f
DU
99362012-04-04 Daiki Ueno <ueno@unixuser.org>
9937
9938 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9939 selection (Bug#11159).
9940 (epa-insert-keys): Inform that the default public key will be
9941 exported if no key is selected.
9942
4443f204
RS
99432012-04-04 Richard Stallman <rms@gnu.org>
9944
9945 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9946
529c06b6
CY
99472012-04-03 Chong Yidong <cyd@gnu.org>
9948
9949 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9950 mail-insert-file, not its obsolete alias mail-attach-file.
9951
66b907dc
MA
99522012-04-03 Michael Albinus <michael.albinus@gmx.de>
9953
9954 * notifications.el (notifications-notify): Fix docstring.
9955
c0ea195d
GM
99562012-04-02 Glenn Morris <rgm@gnu.org>
9957
9958 * emacs-lisp/authors.el (authors-aliases): Another addition.
9959
5ca64e00
MA
99602012-04-02 Michael Albinus <michael.albinus@gmx.de>
9961
9962 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9963 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9964 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9965
42ee526b
CY
99662012-04-01 Chong Yidong <cyd@gnu.org>
9967
9968 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9969 Handle root directory properly.
9970 (copy-directory): Caller changed.
9971
9972 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9973 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9974
0b021094
GM
99752012-03-31 Glenn Morris <rgm@gnu.org>
9976
40f86458
GM
9977 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9978
7019c177
GM
9979 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9980
a1daddd6
GM
9981 * calendar/calendar.el (calendar-window-list)
9982 (calendar-hide-window): Restore. (Bug#11140)
9983 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9984
0b021094
GM
9985 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9986
40311efc
TV
99872012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9988
9989 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9990 Check if file is a symlink (Bug#10489).
9991
9992 * files.el (copy-directory): Likewise.
9993
5319014e
CY
99942012-03-30 Chong Yidong <cyd@gnu.org>
9995
9996 * image.el (imagemagick-types-inhibit)
9997 (imagemagick-register-types): Doc fix.
9998
935d1290
AM
99992012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10000
090bd7cb 10001 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10002 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10003 and treats ~word as ordinary words in pipe mode.
935d1290 10004
61c6e8fd
GM
100052012-03-30 Glenn Morris <rgm@gnu.org>
10006
10007 * tutorial.el (help-with-tutorial): Ensure local variables don't
10008 happen to make the buffer read-only. (Bug#11127)
10009
81fdff00
SM
100102012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10011
10012 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10013 (perl-calculate-indent): Return `noindent' in strings.
10014
6e7a6ec0
SS
100152012-03-28 Sam Steingold <sds@gnu.org>
10016
10017 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10018 instead of the broken adhockery which does not prevent calendar
10019 buffers from being displayed at random after exit.
10020 (calendar-window-list, calendar-hide-window): Remove the broken
10021 adhockery.
10022
fee88ca0
GM
100232012-03-28 Glenn Morris <rgm@gnu.org>
10024
10025 * replace.el (query-replace-map): Doc fix.
10026
38de3354
AS
100272012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10028
10029 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10030 contents. (Bug#11109)
10031
b973155e
SM
100322012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10035 (bug#11077).
10036 (avl-tree--check, avl-tree--check-node): New funs.
10037
dcb6e7b3
MR
100382012-03-27 Martin Rudalics <rudalics@gmx.at>
10039
10040 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10041 (switch-to-prev-buffer, switch-to-next-buffer):
10042 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10043 showing a buffer already is done on the same frame.
10044
b4fa35fa
GM
100452012-03-27 Glenn Morris <rgm@gnu.org>
10046
10047 * startup.el (mail-host-address): Doc fix.
10048
f9210e18
SM
100492012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10050
10051 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10052 than 197 variables.
10053
c0bf7753
AF
100542012-03-26 Ami Fischman <ami@fischman.org>
10055
10056 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10057
33da7b16
GM
100582012-03-26 Glenn Morris <rgm@gnu.org>
10059
02243d9d
GM
10060 * files.el (save-buffers-kill-emacs): Doc fix.
10061
33da7b16
GM
10062 * startup.el (normal-top-level, command-line, command-line-1):
10063 Give them doc strings.
10064
e5a69fd0
EZ
100652012-03-25 Eli Zaretskii <eliz@gnu.org>
10066
10067 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 10068 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 10069
9a69676a
CY
100702012-03-25 Chong Yidong <cyd@gnu.org>
10071
4125cb8b
CY
10072 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10073 theme if it was previously enabled before (Bug#11031).
10074
dd470960
CY
10075 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10076 spec with custom-face-get-current-spec if its :shown-value is not
10077 determined yet (Bug#9337).
4125cb8b 10078 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 10079
9a69676a
CY
10080 * button.el (button-at): Minor addition to docstring.
10081
6e7e90fa
SL
100822012-03-24 Simon Leinen <simon.leinen@gmail.com>
10083
10084 * vc/vc.el (vc-merge): Fix a prompt.
10085
f06e2758
CY
100862012-03-24 Chong Yidong <cyd@gnu.org>
10087
10088 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10089 point (Bug#9623).
10090
6e7e90fa
SL
10091 * button.el (button-at): Minor addition to docstring.
10092
b9d0879b
SM
100932012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10094
10095 * newcomment.el (comment-choose-indent): No space after BOL.
10096
e71cebb3
SS
100972012-03-22 Sam Steingold <sds@gnu.org>
10098
10099 * window.el (switch-to-prev-buffer): Revert last patch because the
10100 bug turned out to be an advertised feature (Elisp manual 28.14).
10101
335aff35
GM
101022012-03-22 Glenn Morris <rgm@gnu.org>
10103
10104 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10105 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10106
c676576a
LMI
101072012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10108
10109 * net/network-stream.el (network-stream-open-starttls): Make error
10110 message under Windows be less misleading.
10111
126f3d39
LW
101122012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10113
10114 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10115 understands (bug#9942).
10116
64fee311
CY
101172012-03-22 Chong Yidong <cyd@gnu.org>
10118
10119 * simple.el (end-of-visible-line): Handle return value of
10120 next-single-property-change properly (Bug#9371).
10121
a640d29a
KH
101222012-03-22 Kenichi Handa <handa@m17n.org>
10123
10124 * international/quail.el (quail-insert-kbd-layout): Fix previous
10125 change. To avoid unwanted bidi reordering, use
10126 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10127
39675016
DG
101282012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10129
10130 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10131 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10132 (ruby-beginning-of-indent): Be more careful with the difference
10133 between word-boundary and symbol boundary.
10134 (ruby-mode-syntax-table): Make : a symbol constituent.
10135
0a6934fc 101362012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 10137
3d008e4f
SM
10138 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10139
0a6934fc
SM
101402012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10141
af67c9d7
SM
10142 * progmodes/etags.el (tags-completion-at-point-function):
10143 Improve last fix.
10144
1acad97c
SM
10145 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10146
e298b5da
SS
101472012-03-21 Sam Steingold <sds@gnu.org>
10148
10149 * progmodes/etags.el (tags-completion-at-point-function):
10150 Avoid the error when point is inside the pattern.
10151
91d82a70
JY
101522012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10153
10154 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10155 line (Bug#10855).
10156
69188b79
CY
101572012-03-21 Drew Adams <drew.adams@oracle.com>
10158
10159 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10160
99fc91fe
AK
101612012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10162
10163 * ido.el (ido-set-current-directory, ido-read-internal)
10164 (ido-choose-completion-string, ido-completion-help): Handle nil
10165 value of ido-completion-buffer (Bug#11008).
10166
087bbb4c
SS
101672012-03-21 Sam Steingold <sds@gnu.org>
10168
10169 * window.el (switch-to-prev-buffer): Do not switch to a visible
10170 window previous buffer, just like with the frame previous buffers.
10171
fb5b8aca
CY
101722012-03-21 Chong Yidong <cyd@gnu.org>
10173
10174 * faces.el (make-face, make-empty-face, copy-face):
10175 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10176 Doc fixes.
10177
dc9924b8
SM
101782012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10179
10180 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10181 (widget-complete): Remove broken use of it.
10182
f0bcceb9
CY
101832012-03-20 Chong Yidong <cyd@gnu.org>
10184
dc9924b8
SM
10185 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10186 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10187 characters.
10188
ee52ebf3
TH
101892012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10190
10191 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10192 to draw rectangles, not squares. (Regression introduced by revno
10193 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10194
4c5779ab
CY
101952012-03-18 Chong Yidong <cyd@gnu.org>
10196
10197 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10198 it is not yet defined (for temacs).
10199
15360934
LL
102002012-03-18 Leo Liu <sdl.web@gmail.com>
10201
735135f9
PE
10202 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10203 prefix.
15360934 10204
d9a8eb66
EZ
102052012-03-17 Eli Zaretskii <eliz@gnu.org>
10206
10207 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10208 (ispell-choices-win-default-height, ispell-silently-savep)
10209 (ispell-dictionary-alist, ispell-encoding8-command)
10210 (ispell-check-version, ispell-aspell-find-dictionary)
10211 (ispell-valid-dictionary-list, ispell-words-keyword)
10212 (ispell-get-word, ispell-internal-change-dictionary)
10213 (ispell-region, ispell-skip-region-list)
10214 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10215 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10216 (ispell-message-text-end, ispell-message)
10217 (ispell-buffer-local-parsing): Doc fix.
10218
f02ff80d
J
102192012-03-13 Jambunathan K <kjambunathan@gmail.com>
10220
10221 * htmlfontify.el: Add support for code block fontification for ODT
10222 export (Bug #9914).
10223 (hfy-optimisations): Define new option
10224 `body-text-only'
10225 (hfy-fontify-buffer): Honor above setting.
10226 (hfy-begin-span, hfy-end-span): New routines factored out form
10227 `hfy-fontify-buffer'.
10228 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10229 that permit insertion of custom tags.
10230 (hfy-fontify-buffer): Use above handlers.
10231 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10232 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 10233 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 10234 over multiple runs. This is made possible by having the caller let
f02ff80d
J
10235 bind a special variable `hfy-user-sheet-assoc'.
10236 (htmlfontify-string): New defun.
10237 (hfy-compile-face-map): Make sure that the last char in the
10238 buffer is correctly fontified.
10239 (hfy-face-resolve-face): Whitespace only change.
10240
9ac7a13f
EZ
102412012-03-17 Eli Zaretskii <eliz@gnu.org>
10242
10243 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10244 message more clear.
10245
e2b5bdd7
LL
102462012-03-16 Leo Liu <sdl.web@gmail.com>
10247
10248 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10249
2e492df3
AM
102502012-03-16 Alan Mackenzie <acm@muc.de>
10251
10252 Further optimise the handling of large macros.
10253
10254 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10255 limit to a call of `c-literal-limits'.
10256 (c-determine-+ve-limit): New function.
dc9924b8
SM
10257 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10258 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
10259 In CASE 5B, restrict a search limit to 500.
10260 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10261
10262 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10263 Restrict macro bounds to +-500 from after-change's BEG END.
10264
50e94f0c
LL
102652012-03-16 Leo Liu <sdl.web@gmail.com>
10266
10267 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10268
6f09f6ed
AH
102692012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10270
10271 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 10272 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 10273
c7e73d51
GM
102742012-03-16 Glenn Morris <rgm@gnu.org>
10275
da986230
GM
10276 * view.el (view-buffer, view-buffer-other-window)
10277 (view-buffer-other-frame): Doc fixes re special mode-class.
10278
0835f01e
GM
10279 * subr.el (eval-after-load): If named feature is provided not from
10280 a file, run after-load forms. (Bug#10946)
10281
c7e73d51
GM
10282 * calendar/calendar.el (calendar-insert-at-column):
10283 Handle non-unit-width characters a bit better. (Bug#10978)
10284
3f2eafd1
CY
102852012-03-15 Chong Yidong <cyd@gnu.org>
10286
10287 * emacs-lisp/ring.el (ring-extend): New function.
10288 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10289
10290 * comint.el (comint-read-input-ring)
10291 (comint-add-to-input-history): Grow comint-input-ring lazily.
10292
103af3fe
SM
102932012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10294
663b1677
SM
10295 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10296 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10297
103af3fe
SM
10298 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10299 (imenu-add-to-menubar): Don't add a redundant index.
10300 (imenu-update-menubar): Handle a dynamically composed keymap.
10301
899cb7cb
KY
103022012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10303
10304 * mail/sendmail.el (mail-encode-header):
10305 Bind rfc2047-encode-encoded-words to nil.
10306
3809f91d
GM
103072012-03-13 Glenn Morris <rgm@gnu.org>
10308
10309 * calendar/calendar.el (calendar-string-spread):
10310 Handle non-unit-width characters a bit better. (Bug#10978)
10311
9e345a01
LL
103122012-03-13 Leo Liu <sdl.web@gmail.com>
10313
10314 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10315 directory and file as argument (Bug#10822).
10316
4a07df36
KS
103172012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10318
10319 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10320 For dynamically generated code, follow $PC.
10321 (gdb-disassembly-handler-custom): Handle no function name case.
10322
4aaa9356
TL
103232012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10324
10325 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10326 * emulation/ws-mode.el (ws-query-replace):
10327 * sort.el (sort-regexp-fields):
10328 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10329
225979da
SM
103302012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10331
10332 * dabbrev.el: Fix cycle completion order (bug#10963).
10333 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10334 (dabbrev-completion): Don't use an obarray; provide
10335 a cycle-sort-function.
10336
e2f1fdab
LL
103372012-03-12 Leo Liu <sdl.web@gmail.com>
10338
dc9924b8 10339 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10340 (kill-do-not-save-duplicates): Doc fix.
10341
b19490ed
SM
103422012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10343
10344 * dabbrev.el: Fix cycle completion (bug#10963).
10345 Use lexical binding and wrap to 80 columns.
10346 (dabbrev-completion): Delay computing the list of completions.
10347
4b05d722
KH
103482012-03-12 Kenichi Handa <handa@m17n.org>
10349
10350 * international/quail.el (quail-insert-kbd-layout): Surround each
10351 row by LRO and PDF instead of inserting many LRMs. Pad the left
10352 and right of each non-spacing marks. Insert invisible space
10353 between lower and upper characters to prevent composition.
10354
dbbc2e69
SM
103552012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10356
10357 * minibuffer.el (minibuffer-complete): Don't get confused when the
10358 function is run twice via different commands (bug#10958).
10359 (complete-with-action): Fix docstring.
10360
292112ed
CY
103612012-03-12 Chong Yidong <cyd@gnu.org>
10362
5d1ac394
CY
10363 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10364 (nxml-completion-at-point-function): New function.
10365 (nxml-mode): Use it.
10366 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10367
292112ed
CY
10368 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10369 Load generated autoloads file before byte compiling (Bug#10970).
10370 (package--make-autoloads-and-compile): New helper fun.
10371
4098f8f7
CS
103722012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10373
10374 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10375
8f754691
MA
103762012-03-11 Michael Albinus <michael.albinus@gmx.de>
10377
10378 * autorevert.el (auto-revert-handler): Ensure, that
10379 file-readable-p is applied only for local files or in
10380 auto-revert-tail-mode.
10381
e29ab36b
AS
103822012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10383
dbbc2e69
SM
10384 * server.el (server-eval-at): Handle non-tcp connections.
10385 Decode result string.
ad0bf5b6 10386
e29ab36b
AS
10387 * server.el (server-msg-size): New constant.
10388 (server-reply-print): New function.
10389 (server-eval-and-print): Use it.
10390 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10391 Handle -print-nonl.
10392
de5939ba
CS
103932012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10394
10395 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10396 (Bug#10987).
10397
0c93eabf
CY
103982012-03-11 Chong Yidong <cyd@gnu.org>
10399
397a688f
CY
10400 * simple.el (goto-line): Doc fix (Bug#9938).
10401
2cc775f9
CY
10402 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10403
0c93eabf
CY
10404 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10405 when finished (Bug#10963).
10406
c491fa41
MR
104072012-03-11 Martin Rudalics <rudalics@gmx.at>
10408
10409 * window.el (split-window-below): Fix bug in case where
10410 split-window-keep-point is nil (Bug#10971).
10411
300e8fa5
JL
104122012-03-11 Juri Linkov <juri@jurta.org>
10413
10414 * replace.el (replace-highlight): Set isearch-word to nil
10415 unconditionally. (Bug#10887)
10416
dbf6c5a1
EZ
104172012-03-10 Eli Zaretskii <eliz@gnu.org>
10418
10419 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10420 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10421 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10422 (mairix-widget-create-query): Add usage information about mairix
10423 search forms: negating words, searching for substrings, etc.
10424
b9e501de
JP
104252012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10426
10427 * international/fontset.el (font-encoding-alist): Add an entry for
10428 ksx1001 (Bug#5667).
10429
92795c91
RS
104302012-03-10 Richard Stallman <rms@gnu.org>
10431
1694e6c1
RS
10432 * mail/sendmail.el (mail-encode-header):
10433 Set rfc2047-encode-encoded-words.
10434
607e8555
RS
10435 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10436
de3bc99a
RS
10437 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10438 view buffer means not swapped.
10439 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10440 (rmail-write-region-annotate): Error if real text has disappeared.
10441
92795c91
RS
10442 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10443
699bd04e
CY
104442012-03-10 Chong Yidong <cyd@gnu.org>
10445
10446 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10447 * emulation/cua-base.el (cua--init-keymaps):
10448 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10449
570a1714
MR
104502012-03-10 Martin Rudalics <rudalics@gmx.at>
10451
dbbc2e69
SM
10452 * speedbar.el (speedbar-unhighlight-one-tag-line):
10453 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10454
82dcf4e4
CY
104552012-03-10 Chong Yidong <cyd@gnu.org>
10456
7a2c7ca7
CY
10457 * minibuffer.el (completion-in-region, completion-help-at-point):
10458 Give the completion field overlay a high priority (Bug#6830).
10459
82dcf4e4
CY
10460 * dired.el (dired-goto-file): Recognize absolute file name
10461 listings (Bug#7126).
10462 (dired-goto-file-1): New helper function.
10463 (dired-toggle-read-only): Inhibit warnings.
10464
052e28ac
MA
104652012-03-09 Michael Albinus <michael.albinus@gmx.de>
10466
75f1671a 10467 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10468 there are no properties.
10469
95d5e396
LL
104702012-03-09 Leo Liu <sdl.web@gmail.com>
10471
10472 * savehist.el (savehist-printable): Stricter check for string
10473 value (Bug#10937).
10474
3f018d6d
EZ
104752012-03-09 Eli Zaretskii <eliz@gnu.org>
10476
dbbc2e69
SM
10477 * mail/smtpmail.el (smtpmail-send-it):
10478 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10479 valid mbox format.
10480
f7fd3d79
GM
104812012-03-09 Glenn Morris <rgm@gnu.org>
10482
10483 * files.el (dir-locals-find-file):
10484 Don't check result is regular, readable.
10485 (dir-locals-read-from-file): Demote errors.
10486
6ff6e72f
EZ
104872012-03-08 Eli Zaretskii <eliz@gnu.org>
10488
dbbc2e69
SM
10489 * international/quail.el (quail-insert-kbd-layout):
10490 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10491 layout cell, to prevent their reordering by bidi display engine.
10492 For details, see the discussion in
10493 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10494
9cec7834
AM
104952012-03-08 Alan Mackenzie <acm@muc.de>
10496
10497 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10498 the starting position; make it extend the marked region when
10499 invoked repeatedly - all under appropriate circumstances.
10500 Fixes bugs #5525, #10906.
10501
9a40b8d4
GM
105022012-03-08 Glenn Morris <rgm@gnu.org>
10503
10504 * files.el (locate-dominating-file, dir-locals-find-file):
10505 Undo 2012-03-06 change.
10506
7a08ed35
EZ
105072012-03-07 Eli Zaretskii <eliz@gnu.org>
10508
dbbc2e69
SM
10509 * international/quail.el (quail-help):
10510 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10511 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10512 for the reason.
10513
5aca4f71 105142012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10515
10516 Avoid superfluous registering of signals. (Bug#10807)
10517
10518 * notifications.el (notifications-on-action-object)
10519 (notifications-on-close-object): New defvars.
10520 (notifications-on-action-signal, notifications-on-closed-signal):
10521 Unregister the signal if not needed any longer.
10522 (notifications-notify): Register `notifications-action-signal' or
10523 `notifications-closed-signal', if :on-action or :on-close has been
10524 passed as argument.
10525
78e8b10a
CY
105262012-03-07 Chong Yidong <cyd@gnu.org>
10527
10528 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10529 non-X platforms.
10530
69481eb8
GM
105312012-03-06 Glenn Morris <rgm@gnu.org>
10532
10533 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10534 (x-disown-selection-internal, x-get-selection-internal):
10535 Doc fix (add arglist signatures). (Bug#10783)
10536
133b8e11
KS
105372012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10538
10539 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10540 Handle breakpoints with no "type".
10541
99a83064
GM
105422012-03-06 Glenn Morris <rgm@gnu.org>
10543
10544 * files.el (locate-dominating-file): Add optional predicate argument.
10545 (dir-locals-find-file): Make use of above change.
10546
17798e78
TTN
105472012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10548
10549 * info.el (Info-insert-dir): Also try "dir.gz".
10550
eb182446
GM
105512012-03-06 Glenn Morris <rgm@gnu.org>
10552
8f2114ee
GM
10553 * files.el (dir-locals-find-file):
10554 Ignore non-readable or non-regular files. (Bug#10928)
10555
eb182446
GM
10556 * files.el (locate-dominating-file): Doc fix.
10557
24679323
AS
105582012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10559
10560 * calendar/calendar.el (calendar-set-mode-line):
10561 `getenv' returns a string. (Bug#10951)
10562
01d972a9
LL
105632012-03-05 Leo Liu <sdl.web@gmail.com>
10564
109aa8a9
LL
10565 * simple.el (backward-delete-char-untabify): Constrain point to
10566 field (Bug#10939).
10567
01d972a9
LL
10568 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10569
10607bea
CY
105702012-03-05 Chong Yidong <cyd@gnu.org>
10571
10572 * simple.el (count-words): If called from Lisp, return the word
10573 count, for symmetry with `count-lines'. Arglist changed.
10574 (count-words--message): Args changed. Consolidate counting code
10575 from count-words and count-words-region.
10576 (count-words-region): Caller changed.
10577 (count-lines-region): Make it an obsolete alias.
10578
5dd11cfe
TH
105792012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10580
10581 * saveplace.el (save-place-to-alist)
10582 (save-place-ignore-files-regexp): Allow value nil to disable this
10583 feature.
10584
c349f4e6
CY
105852012-03-04 Chong Yidong <cyd@gnu.org>
10586
10587 * faces.el (face-spec-reset-face): For the default face, reset the
10588 attributes to default values (Bug#10748).
10589
e627be4c
LMI
105902012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10591
10592 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10593 previous patch: Check `message-send-mail-function', and not the
10594 default function (bug#10897).
10595
ebeabff4
MA
105962012-03-04 Michael Albinus <michael.albinus@gmx.de>
10597
a41a6cf4
MA
10598 * notifications.el (notifications-on-action-signal)
10599 (notifications-on-closed-signal): Check for unique service name of
10600 incoming event. Fix error in removing entry.
ebeabff4 10601 (top): Register for signals with wildcard service name.
a41a6cf4 10602 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10603
c1ca42b4
CY
106042012-03-04 Chong Yidong <cyd@gnu.org>
10605
dc9924b8 10606 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10607
ea16568d
GM
106082012-03-04 Glenn Morris <rgm@gnu.org>
10609
10610 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10611 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10612 (expand-abbrev, define-abbrev-table): Doc fixes.
10613
fbae4637
LMI
106142012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10615
10616 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10617 `message-default-send-mail-function' and not `send-mail-function'
10618 when doing the prompting for `sendmail-query-once' before sending
10619 in Message buffers (bug#10897).
10620
a1e7225c
LMI
10621 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10622 This is inconsistent with all the other stream functions, which leave
10623 the setting up to the higher levels (if so wanted) (bug#10931).
10624
56d093a9
AM
106252012-03-02 Alan Mackenzie <acm@muc.de>
10626
10627 Depessimize the handling of very large macros.
10628
10629 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10630 (c-macro-cache-syntactic): New variables to implement a one
10631 element macro cache.
10632 (c-invalidate-macro-cache): New function.
10633 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10634 Adapt to use the new cache.
10635 (c-state-safe-place): Use better the cache of safe positions.
10636 (c-state-semi-nonlit-pos-cache)
10637 (c-state-semi-nonlit-pos-cache-limit):
10638 New variables for...
10639 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10640 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10641 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10642 Use c-state-semi-safe-place.
56d093a9 10643
dbbc2e69
SM
10644 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10645 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10646
817e5c3d
MA
106472012-03-02 Michael Albinus <michael.albinus@gmx.de>
10648
dbbc2e69
SM
10649 * jka-compr.el (jka-compr-call-process):
10650 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10651 not remote.
10652
a032a702
MA
106532012-03-01 Michael Albinus <michael.albinus@gmx.de>
10654
10655 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10656 access of FILE2, if FILE1 does not exist.
10657
99a54f21
MA
10658 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10659 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10660
10661 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10662 Add "PAGER=" to `process-environment'.
10663
f6561e1f
MM
106642012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10665
10666 * progmodes/sql.el: Bug fix
10667 (sql-get-login-ext): Save login values in globals.
10668 (sql-get-login): Use new version of `sql-get-login-ext'.
10669 (sql-interactive-mode): Set global `sql-connection' to nil.
10670 (sql-connect): Set global values for connection.
10671 (sql-product-interactive): Save global values as buffer local.
10672
2d44d9cc
LL
106732012-02-29 Leo Liu <sdl.web@gmail.com>
10674
10675 * abbrev.el (define-abbrevs): Reset sys to nil.
10676
96b49301 106772012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10678
bf7f9bc5
JB
10679 * files.el (file-equal-p): Rename from `files-equal-p'.
10680 Return nil when one or both files don't exist.
96b49301 10681 (file-subdir-of-p): Now only top directory must exists,
10682 return nil if it doesn't.
bf7f9bc5
JB
10683 (copy-directory): No need to test with `file-subdir-of-p' after
10684 creating dir.
10685 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10686 to `file-equal-p'.
96b49301 10687
44e97401
GM
106882012-02-28 Glenn Morris <rgm@gnu.org>
10689
10690 * shell.el (shell-mode):
10691 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10692 * play/landmark.el (landmark-font-lock-face-O):
10693 * play/handwrite.el (handwrite):
10694 * play/gomoku.el (gomoku-O):
10695 * net/browse-url.el (browse-url-browser-display):
10696 * international/mule.el (define-charset):
10697 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10698 * filesets.el (filesets-find-file-delay):
10699 * eshell/em-xtra.el (eshell-xtra):
10700 * eshell/em-unix.el (eshell-grep):
10701 * emulation/viper.el (viper-mode):
10702 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10703 * emacs-lisp/easymenu.el (easy-menu-define):
10704 * calendar/timeclock.el (timeclock-use-display-time):
10705 * bs.el (bs-mode):
10706 * bookmark.el (bookmark-save-flag):
10707 Doc fix (standardize possessive apostrophe usage).
10708
c98c6276
CY
107092012-02-27 Chong Yidong <cyd@gnu.org>
10710
bf7f9bc5
JB
10711 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10712 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 10713
c98c6276
CY
10714 * font-lock.el (font-lock-specified-p): Rename from
10715 font-lock-spec-present. Callers changed.
10716
9c62cd04 107172012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 10718
bf7f9bc5
JB
10719 * emacs-lisp/package.el (package-compute-transaction):
10720 Handle holding a package version to t in package-load-list.
8ac9e529 10721
530739c9
MA
107222012-02-26 Michael Albinus <michael.albinus@gmx.de>
10723
10724 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10725 (tramp-get-inode, tramp-get-device): Use cached values.
10726
487915d7
AM
107272012-02-26 Alan Mackenzie <acm@muc.de>
10728
10729 Check there is a font-lock specification before doing initial
10730 fontification.
10731
10732 * font-core.el (font-lock-mode): Move the conditional from
10733 :after-hook to font-lock-initial-fontify.
10734 (font-lock-default-function): Move the check for a specification
10735 to font-lock-spec-present.
10736
dc9924b8 10737 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10738 (font-lock-spec-present): New function.
10739
4fd96557
JB
107402012-02-26 Jim Blandy <jimb@red-bean.com>
10741
10742 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10743 (gdb-send): Apply it to the operand of the '-interpreter-exec
10744 console' command, so that we can pass arguments with (say) quotes
10745 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10746
9a4888c0
CY
107472012-02-26 Chong Yidong <cyd@gnu.org>
10748
07498861
CY
10749 * help-fns.el (describe-function-1): Clarify description of
10750 remapping (Bug#10844).
10751
9a4888c0
CY
10752 * files.el (files-equal-p): Doc fix.
10753 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10754 and quit the loop once a mismatch is found.
10755
ea8fb88d
JB
107562012-02-25 Juanma Barranquero <lekktu@gmail.com>
10757
10758 * bs.el (bs--show-with-configuration): Don't throw an error
10759 if the window cannot be split; otherwise, subsequent calls to
10760 bs-show fail, restoring a stale window config. (Bug#10882)
10761
525795c1
JD
107622012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10763
10764 * term/ns-win.el (global-map): Bind ns-drag-file to
10765 ns-find-file (Bug#5855, Bug#10050).
10766
f008086f
AS
107672012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10768
10769 * calendar/parse-time.el (parse-time-string): Allow extractor to
10770 return nil.
10771
a3fcfa99
MA
107722012-02-25 Michael Albinus <michael.albinus@gmx.de>
10773
91027d08
JB
10774 * net/tramp.el (tramp-file-name-for-operation):
10775 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10776
10777 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10778 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10779 Add COPY-CONTENTS argument.
a3fcfa99 10780
67b0de11
CY
107812012-02-25 Chong Yidong <cyd@gnu.org>
10782
10783 Add custom groups for VC backends, for consistency with vc-bzr.
10784
10785 * vc/vc-arch.el (vc-arch):
10786 * vc/vc-cvs.el (vc-cvs):
10787 * vc/vc-git.el (vc-git):
10788 * vc/vc-hg.el (vc-hg):
10789 * vc/vc-mtn.el (vc-mtn):
10790 * vc/vc-rcs.el (vc-rcs):
10791 * vc/vc-sccs.el (vc-sccs):
10792 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10793 All relevant defcustoms reassigned.
10794
3c9dfce6
CY
107952012-02-25 Chong Yidong <cyd@gnu.org>
10796
1339bf43
CY
10797 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10798
3c9dfce6
CY
10799 * term/x-win.el (x-initialize-window-system): Reduce default for
10800 x-selection-timeout to 5 seconds (Bug#8869).
10801
25b2e303 108022012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10803
ec70a47d
GM
10804 * files.el (files-equal-p, file-subdir-of-p): New functions.
10805 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10806 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10807 * dired-aux.el (dired-copy-file-recursive): Same.
10808 (dired-create-files): Modify destination when source is equal to
10809 dest when copying files.
53a46cd0 10810 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10811
914260cd
MA
108122012-02-24 Michael Albinus <michael.albinus@gmx.de>
10813
10814 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10815 (Bug#10874)
10816
2cb228f7
AM
108172012-02-23 Alan Mackenzie <acm@muc.de>
10818
10819 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10820 parameter "after-hook:" to allow the expansion to run code after
10821 the execution of the mode hooks.
10822
10823 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10824 from font-lock-mode-internal.
2cb228f7 10825
91027d08 10826 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10827 :after-hook.
10828
8f0fde21
SM
108292012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10830
3e88618b
SM
10831 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10832 (completion--cache-all-sorted-completions): New function.
10833 (completion-all-sorted-completions): Use it.
10834 (completion--do-completion, minibuffer-force-complete):
10835 Use it to re-instate the flush hook.
10836
8f0fde21
SM
10837 * icomplete.el (icomplete-completions): Replace last fix with a better
10838 one (bug#10850).
10839
8e911f6f
DG
108402012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10841
10842 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10843 when it might call us back infinitely (bug#10797).
10844
49fe4321
GM
108452012-02-23 Glenn Morris <rgm@gnu.org>
10846
10847 * minibuffer.el (completion-category-overrides): Doc fix.
10848
b291b572
SM
108492012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10850
10851 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10852 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10853
31a9ef2e
GM
108542012-02-23 Glenn Morris <rgm@gnu.org>
10855
5e6e6794 10856 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10857 (authors-obsolete-files-regexps, authors-ignored-files)
10858 (authors-ambiguous-files, authors-renamed-files-alist):
10859 Add more entries.
10860
0bd1e074
JL
108612012-02-23 Juri Linkov <juri@jurta.org>
10862
10863 * isearch.el (isearch-occur): Sync interactive spec with occur's
10864 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10865
b617673c
JL
10866 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10867
19e9789e
JL
108682012-02-22 Juri Linkov <juri@jurta.org>
10869
10870 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10871 (ucs-insert): Doc fix. Check for hex digits in the string.
10872 Don't display `nil' in the error message. (Bug#10857)
10873
f41ce09d
AM
108742012-02-22 Alan Mackenzie <acm@muc.de>
10875
7a71b18d 10876 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10877
ac2eceee
GM
108782012-02-22 Glenn Morris <rgm@gnu.org>
10879
10880 * ffap.el (ffap-c-path):
10881 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10882
abd1f678
CY
108832012-02-22 Chong Yidong <cyd@gnu.org>
10884
10885 * custom.el (load-theme): Doc fix.
10886
f25aef2e
GM
108872012-02-22 Glenn Morris <rgm@gnu.org>
10888
10889 * dired-x.el (dired-guess-shell-alist-default):
10890 Remove escape sequences from nroff output. (Bug#172)
10891
5f8dc2ca
GM
108922012-02-21 Glenn Morris <rgm@gnu.org>
10893
6ff86ec4
GM
10894 * vc/emerge.el (emerge-defvar-local):
10895 Set `permanent-local' property rather than unused `preserved'.
10896
be3223a3 10897 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10898 (picture-mode-map): Use it. (Bug#10860)
10899 (picture-mode): Doc fix.
10900
3fe58f4f
JB
109012012-02-21 Juanma Barranquero <lekktu@gmail.com>
10902
10903 * newcomment.el (uncomment-region-default): Remove unused binding.
10904
f9a998c3
GM
109052012-02-21 Glenn Morris <rgm@gnu.org>
10906
10907 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10908 (picture-self-insert, picture-tab-chars): Doc fix.
10909 (picture-mode-map): Fix C-a, C-e.
10910
c6029348
GM
109112012-02-20 Glenn Morris <rgm@gnu.org>
10912
10913 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10914
ab1ce9d7
LL
109152012-02-20 Leo Liu <sdl.web@gmail.com>
10916
10917 * icomplete.el (icomplete-completions): Check FROM arg before
10918 passing to substring (Bug#10850).
10919
0fd40f89
CY
109202012-02-19 Chong Yidong <cyd@gnu.org>
10921
10922 * comint.el: Require ansi-color.
10923 (comint-output-filter-functions): Add ansi-color-process-output.
10924
10925 * ansi-color.el: Don't set comint-output-filter-functions; it is
10926 now in the initial value defined in comint.el.
10927 (ansi-color-apply-face-function): New variable.
10928 (ansi-color-apply-on-region): Use it.
10929 (ansi-color-apply-overlay-face): New function.
10930
10931 * shell.el (shell): No need to require ansi-color.
10932 (shell-mode): Use ansi-color-apply-face-function to highlight
10933 color escapes using font-lock-face property (Bug#10835).
10934
20af2394
CY
109352012-02-19 Chong Yidong <cyd@gnu.org>
10936
10937 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10938 mode-line formats (Bug#10839).
10939
e23a3fbe
GM
109402012-02-18 Glenn Morris <rgm@gnu.org>
10941
b474519e
GM
10942 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10943
10944 * mail/undigest.el (unforward-rmail-message): Doc fix.
10945
e23a3fbe
GM
10946 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10947
57939ff4
EZ
109482012-02-18 Eli Zaretskii <eliz@gnu.org>
10949
10950 * international/characters.el (script-list): Sync with the latest
10951 Unicode Character Database.
10952
0c23686e
AS
109532012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10954
10955 * international/titdic-cnv.el: Remove duplicate coding tag.
10956 * language/cham.el: Likewise.
10957 * language/tai-viet.el: Likewise.
10958
6818b449
GM
109592012-02-18 Glenn Morris <rgm@gnu.org>
10960
10961 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10962 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10963 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10964 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10965 * calendar/holidays.el (holiday-bahai-holidays)
10966 (calendar-holidays, list-holidays):
10967 Use utf-8 Bahá'í in doc-strings, menus, etc.
10968
0311a3fc
TH
109692012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10970
10971 * saveplace.el (save-place-ignore-files-regexp): New variable
10972 allowing for excluding files from saving their location of point.
10973 The default value matches the temporary commit message editing
10974 files from Git, SVN, Bazaar, and Mercurial.
10975 (save-place-to-alist): Use it.
10976
d209e2fb 109772012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10978 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10979
10980 * newcomment.el (uncomment-region-default): Don't leave extra space
10981 when an arg is provided (bug#8150).
10982
ee0ce425
TZ
109832012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10984
eb864a71 10985 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10986
95ddf442
GM
109872012-02-17 Glenn Morris <rgm@gnu.org>
10988
10989 * net/socks.el: Require network-stream. (Bug#10599)
10990
48dd1e39 109912012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10992
10993 * international/charprop.el:
10994 * international/uni-name.el:
10995 * international/uni-old-name.el:
10996 * international/uni-comment.el: Regenerate.
10997
d68cd087
GM
109982012-02-16 Glenn Morris <rgm@gnu.org>
10999
11000 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11001 Interactively in calendar buffer, give an error if not on a date.
11002
13932042
GM
110032012-02-15 Glenn Morris <rgm@gnu.org>
11004
11005 * shell.el (shell-delimiter-argument-list):
11006 Revert 2011-02-17 change. (Bug#8027)
11007
c3a70e2b
CY
110082012-02-15 Chong Yidong <cyd@gnu.org>
11009
60236b0d
CY
11010 * minibuffer.el (completion-at-point-functions): Doc fix.
11011
c3a70e2b
CY
11012 * custom.el (defcustom): Doc fix; note use of defvar.
11013
9f26dc24
GM
110142012-02-15 Glenn Morris <rgm@gnu.org>
11015
11016 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11017 Doc fixes.
11018
6546b134
GM
110192012-02-14 Glenn Morris <rgm@gnu.org>
11020
11021 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11022
d29b2b4c
LI
110232012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11024
11025 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11026 way the ports list is computed.
835bdcba
LI
11027 (smtpmail-query-smtp-server): Prompt the user for a port number if
11028 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11029
08dcdbc9
TZ
110302012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11031
11032 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11033
2605051a
GM
110342012-02-13 Glenn Morris <rgm@gnu.org>
11035
11036 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11037
7ee99f32
TZ
110382012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11039
11040 * net/gnutls.el (gnutls-trustfiles): New variable.
11041 (gnutls-negotiate): Use it.
11042
5f0af64f
LI
110432012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11044
11045 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11046 does its stuff if Gnus is running.
11047
c14fcc95
AM
110482012-02-13 Alan Mackenzie <acm@muc.de>
11049
11050 Fix a loop in c-set-fl-decl-start.
11051
7a71b18d 11052 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
11053 c-backward-syntactic-ws actually moves backwards.
11054
142b4d90
LL
110552012-02-13 Leo Liu <sdl.web@gmail.com>
11056
11057 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11058 beginning so that all \C-o chars are removed.
11059
fa9958a6
TZ
110602012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11061
dc9924b8 11062 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 11063
0bc5886a
AM
110642012-02-12 Alan Mackenzie <acm@muc.de>
11065
11066 Fix infinite loop with long macros.
4d6769e1 11067 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 11068
d4bd55e7
CY
110692012-02-12 Chong Yidong <cyd@gnu.org>
11070
11071 * window.el (display-buffer): Doc fix (Bug#10785).
11072
66f3fe22
GM
110732012-02-12 Glenn Morris <rgm@gnu.org>
11074
bd7da63e
GM
11075 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11076 (x-disown-selection-internal, x-get-selection-internal):
11077 Sync docs with the xselect.c versions.
11078
66f3fe22
GM
11079 * allout-widgets.el: Add missing license notice.
11080
3e0d2fa7
GM
110812012-02-11 Glenn Morris <rgm@gnu.org>
11082
cfecdf09
GM
11083 * select.el (x-get-selection-internal, x-own-selection-internal)
11084 (x-disown-selection-internal):
11085 * x-dnd.el (x-get-selection-internal): Update declarations.
11086
6d216d7f
GM
11087 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11088
2bed3f04
GM
11089 * window.el (window-sides-slots):
11090 * tool-bar.el (tool-bar-position):
11091 * term/xterm.el (xterm-extra-capabilities):
11092 * ses.el (ses-self-reference-early-detection):
11093 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11094 (verilog-auto-wire-type)
11095 (verilog-auto-delete-trailing-whitespace)
11096 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11097 (verilog-auto-tieoff-declaration):
11098 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11099 (sql-oracle-statement-starters, sql-oracle-scan-on):
11100 * progmodes/prolog.el (prolog-align-comments-flag)
11101 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11102 (prolog-left-indent-regexp, prolog-paren-indent-p)
11103 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11104 (prolog-types, prolog-mode-specificators)
11105 (prolog-determinism-specificators, prolog-directives)
11106 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11107 (prolog-electric-dot-flag)
11108 (prolog-electric-dot-full-predicate-template)
11109 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11110 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11111 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11112 (prolog-program-switches, prolog-prompt-regexp)
11113 (prolog-debug-on-string, prolog-debug-off-string)
11114 (prolog-trace-on-string, prolog-trace-off-string)
11115 (prolog-zip-on-string, prolog-zip-off-string)
11116 (prolog-use-standard-consult-compile-method-flag)
11117 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11118 (prolog-imenu-max-lines, prolog-info-predicate-index)
11119 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11120 (prolog-char-quote-workaround):
11121 * progmodes/cc-vars.el (c-defun-tactic):
11122 * net/tramp.el (tramp-encoding-command-interactive)
11123 (tramp-local-end-of-line):
11124 * net/soap-client.el (soap-client):
11125 * net/netrc.el (netrc-file):
11126 * net/gnutls.el (gnutls):
11127 * minibuffer.el (completion-category-overrides)
11128 (completion-cycle-threshold)
11129 (completion-pcm-complete-word-inserts-delimiters):
11130 * man.el (Man-name-local-regexp):
11131 * mail/feedmail.el (feedmail-display-full-frame):
11132 * international/characters.el (glyphless-char-display-control):
11133 * eshell/em-ls.el (eshell-ls-date-format):
11134 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11135 (lisp-lambda-list-keyword-parameter-indentation)
11136 (lisp-lambda-list-keyword-parameter-alignment):
11137 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11138 * dired-x.el (dired-omit-verbose):
11139 * cus-theme.el (custom-theme-allow-multiple-selections):
11140 * calc/calc.el (calc-highlight-selections-with-faces)
11141 (calc-lu-field-reference, calc-lu-power-reference)
11142 (calc-note-threshold):
11143 * battery.el (battery-mode-line-limit):
11144 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11145 (archive-7z-update):
11146 * allout.el (allout-prefixed-keybindings)
11147 (allout-unprefixed-keybindings)
11148 (allout-inhibit-auto-fill-on-headline)
11149 (allout-flattened-numbering-abbreviation):
11150 * allout-widgets.el (allout-widgets-auto-activation)
11151 (allout-widgets-icons-dark-subdir)
11152 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11153 (allout-widgets-theme-dark-background)
11154 (allout-widgets-theme-light-background)
11155 (allout-widgets-item-image-properties-emacs)
11156 (allout-widgets-item-image-properties-xemacs)
11157 (allout-widgets-run-unit-tests-on-load)
11158 (allout-widgets-time-decoration-activity)
11159 (allout-widgets-hook-error-post-time)
11160 (allout-widgets-track-decoration):
11161 Add missing :version tags to new defcustoms and defgroups.
11162
5fec1b8e
GM
11163 * progmodes/sql.el (sql-ansi-statement-starters)
11164 (sql-oracle-statement-starters): Add custom type.
11165
3e0d2fa7
GM
11166 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11167 (prolog-system-version): Give it a type.
11168
90b671e2
EZ
111692012-02-11 Eli Zaretskii <eliz@gnu.org>
11170
11171 * term/pc-win.el (x-select-text, x-selection-owner-p)
11172 (x-own-selection-internal, x-disown-selection-internal)
11173 (x-get-selection-internal): Sync doc strings and argument lists
11174 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11175
5eac0c02
LL
111762012-02-11 Leo Liu <sdl.web@gmail.com>
11177
11178 * progmodes/python.el (python-end-of-statement): Fix infinite
11179 loop. (Bug#10788)
11180
f82cb659
GM
111812012-02-10 Glenn Morris <rgm@gnu.org>
11182
11183 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11184 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11185
cc26d239
LI
111862012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11187
11188 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11189 about SMTP before checking the From header.
11190
91027d08 11191 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11192 into own function for reuse by emacsbug.el.
11193
1be3ca5a
LL
111942012-02-10 Leo Liu <sdl.web@gmail.com>
11195
11196 * subr.el (condition-case-unless-debug): Rename from
11197 condition-case-no-debug. All callers changed.
11198 (with-demoted-errors): Fix caller.
11199
11200 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11201 * nxml/rng-valid.el (rng-do-some-validation):
11202 * emacs-lisp/package.el (package-refresh-contents)
11203 (package-menu-execute):
11204 * desktop.el (desktop-create-buffer):
91027d08 11205 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11206
b011fbfe
GM
112072012-02-10 Glenn Morris <rgm@gnu.org>
11208
b2096d72
GM
11209 * textmodes/bibtex.el:
11210 Add missing :version tags for new/changed defcustoms.
11211
b011fbfe
GM
11212 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11213
4c7e65bf
LI
112142012-02-09 Lars Ingebrigtsen <larsi@rusty>
11215
11216 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11217 (smtpmail-via-smtp): Use it, or fall back on the From address.
11218 (smtpmail-send-it): Ditto.
11219
f3934f6f
SM
112202012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11223 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11224 (byte-compile-tmp-var): New const.
11225 (byte-compile-defvar): Use it to minimize .elc size.
11226 Just use `defvar' rather than simulate it (bug#10761).
11227
a075a2c5
GM
112282012-02-09 Glenn Morris <rgm@gnu.org>
11229
cf3aa21b
GM
11230 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11231
354998cd
GM
11232 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11233 Add :version tags.
11234
dc9924b8
SM
11235 * progmodes/compile.el (compilation-error-screen-columns)
11236 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 11237
dab3703d
GM
11238 * vc/log-view.el (log-view-toggle-entry-display):
11239 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11240
3f88cd72
GM
11241 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11242 (report-emacs-bug-can-use-xdg-email):
11243 (report-emacs-bug-insert-to-mailer): Doc fixes.
11244 (report-emacs-bug): Message fix.
11245
d95b247d
GM
11246 * net/browse-url.el (browse-url-can-use-xdg-open)
11247 (browse-url-xdg-open): Doc fixes.
11248
a075a2c5
GM
11249 * electric.el (electric-indent-mode, electric-pair-mode)
11250 (electric-layout-rules, electric-layout-mode): Doc fixes.
11251 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11252
ffb6157e
MR
112532012-02-08 Martin Rudalics <rudalics@gmx.at>
11254
11255 * server.el (server-unselect-display): Don't inadvertently kill
11256 the current buffer. (Bug#10729)
11257
e1ac4066
GM
112582012-02-08 Glenn Morris <rgm@gnu.org>
11259
34e8a2da
GM
11260 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11261 (sql-list-table): Doc fixes.
11262
b4ac6e8c
GM
11263 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11264 Comment out (does nothing).
11265
e1ac4066
GM
11266 * completion.el (dynamic-completion-mode):
11267 * dirtrack.el (dirtrack-debug-mode):
11268 * electric.el (electric-layout-mode):
11269 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11270 * face-remap.el (text-scale-mode, buffer-face-mode):
11271 * iimage.el (iimage-mode):
11272 * image-mode.el (image-transform-mode):
11273 * minibuffer.el (completion-in-region-mode):
11274 * scroll-lock.el (scroll-lock-mode):
11275 * simple.el (next-error-follow-minor-mode):
11276 * tar-mode.el (tar-subfile-mode):
11277 * tooltip.el (tooltip-mode):
11278 * vcursor.el (vcursor-use-vcursor-map):
11279 * wid-browse.el (widget-minor-mode):
11280 * emulation/tpu-edt.el (tpu-edt-mode):
11281 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11282 * international/iso-ascii.el (iso-ascii-mode):
11283 * language/thai-util.el (thai-word-mode):
11284 * mail/supercite.el (sc-minor-mode):
11285 * net/goto-addr.el (goto-address-mode):
11286 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11287 * progmodes/cwarn.el (cwarn-mode):
11288 * progmodes/flymake.el (flymake-mode):
11289 * progmodes/glasses.el (glasses-mode):
11290 * progmodes/hideshow.el (hs-minor-mode):
11291 * progmodes/pascal.el (pascal-outline-mode):
11292 * textmodes/enriched.el (enriched-mode):
11293 * vc/smerge-mode.el (smerge-mode):
11294 Doc fixes (minor mode argument).
11295
5e0d957f
EZ
112962012-02-07 Eli Zaretskii <eliz@gnu.org>
11297
11298 * ls-lisp.el (ls-lisp-sanitize): New function.
11299 (ls-lisp-insert-directory): Use it to fix or remove any elements
11300 in file-alist with missing attributes. (Bug#4673)
11301
98d7371e
AM
113022012-02-07 Alan Mackenzie <acm@muc.de>
11303
11304 Fix spurious recognition of c-in-knr-argdecl.
11305
11306 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11307 putative K&R region.
11308
667ced3a
AM
113092012-02-07 Alan Mackenzie <acm@muc.de>
11310
eb864a71
LM
11311 * progmodes/cc-engine.el (c-forward-objc-directive):
11312 Prevent looping in "#pragma mark @implementation".
667ced3a 11313
5b77774d
MA
113142012-02-07 Michael Albinus <michael.albinus@gmx.de>
11315
11316 * notifications.el (notifications-on-closed-signal): Make `reason'
11317 optional. (Bug#10744)
11318
af008560
GM
113192012-02-07 Glenn Morris <rgm@gnu.org>
11320
60d47423
GM
11321 * emacs-lisp/easy-mmode.el (define-minor-mode):
11322 Doc fixes for the macro and the mode it defines.
11323
dd605cc4
GM
11324 * image.el (imagemagick-types-inhibit): Doc fix.
11325
af008560
GM
11326 * cus-start.el (imagemagick-render-type): Add it.
11327
5cc59a37
LI
113282012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11329
4d6769e1
JB
11330 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11331 Set the default at load time, too, so that `font-lock-fontify-buffer'
11332 can be called without setting up the entire mode first. This fixes
11333 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11334
9a6dd747
CY
113352012-02-06 Chong Yidong <cyd@gnu.org>
11336
2d16b285
CY
11337 * simple.el (list-processes--refresh): Delete exited processes
11338 (Bug#8094).
11339
171e9b6e
CY
11340 * comint.el (comint-next-prompt): next-single-char-property-change
11341 and prev-single-char-property-change never return nil (Bug#8657).
11342
9a6dd747
CY
11343 * custom.el (defcustom): Doc fix (Bug#9711).
11344
aa4589a7
CY
113452012-02-05 Chong Yidong <cyd@gnu.org>
11346
5c2a252f
CY
11347 * cus-edit.el (custom-variable-reset-backup): Quote the value
11348 before storing it in the customized-value property (Bug#6712).
4aab9006 11349 (custom-display): Add a customization type tag.
983b9602 11350 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11351
aa4589a7
CY
11352 * wid-edit.el (widget-field-value-get): New optional arg to
11353 suppress trailing whitespace truncation.
11354 (character): Use it (Bug#2689).
11355
1ff980ae
AS
113562012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11357
11358 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11359 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11360
03988c98
CY
113612012-02-05 Chong Yidong <cyd@gnu.org>
11362
eeb6cc88
CY
11363 * cus-edit.el (custom-variable-value-create): For mismatched
11364 types, show the current value (Bug#7600).
11365
03988c98
CY
11366 * custom.el (defcustom): Doc fix.
11367
f8cdeef0
GM
113682012-02-05 Glenn Morris <rgm@gnu.org>
11369
11370 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11371
0696d255
JB
113722012-02-05 Juanma Barranquero <lekktu@gmail.com>
11373
11374 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11375 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11376 (pp-last-sexp): Use `looking-at-p'.
11377
34c99998
GM
113782012-02-04 Glenn Morris <rgm@gnu.org>
11379
8f05da42
GM
11380 * files.el (revert-buffer):
11381 Doc fix (mention revert-buffer-in-progress-p).
11382
f160676e
GM
11383 * emacs-lisp/ert-x.el (ert-simulate-command):
11384 Check deferred-action-list (which is obsolete) is bound.
11385
c7291ad9
GM
11386 * subr.el (with-wrapper-hook): Doc fixes.
11387
34c99998
GM
11388 * simple.el (filter-buffer-substring-functions)
11389 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11390
6283a7d3
LL
113912012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11392
11393 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11394 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11395
e96e3013
LL
113962012-02-04 Leo Liu <sdl.web@gmail.com>
11397
11398 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11399
8ded50f2
GM
114002012-02-04 Glenn Morris <rgm@gnu.org>
11401
82ff1d13
GM
11402 * image.el (image-extension-data): Add obsolete alias.
11403
987a0a16
GM
11404 * isearch.el (isearch-update): Doc fix.
11405
ea32ef46
GM
11406 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11407
8ded50f2
GM
11408 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11409
eea14f31
GM
114102012-02-03 Glenn Morris <rgm@gnu.org>
11411
11412 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11413 (image-animate-timeout): Doc fix.
11414
11415 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11416
12f381b7
GM
114172012-02-02 Glenn Morris <rgm@gnu.org>
11418
953cebf5
GM
11419 * server.el (server-auth-dir): Doc fix.
11420 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11421
12f381b7
GM
11422 * subr.el (run-mode-hooks): Doc fix.
11423
953a8c3b
JL
114242012-02-02 Juri Linkov <juri@jurta.org>
11425
11426 * image-mode.el (image-toggle-display-image): Remove tautological
11427 `major-mode' from the `derived-mode-p' test.
11428
c5d3843c
KH
114292012-02-02 Kenichi Handa <handa@m17n.org>
11430
9f6e692e 11431 * composite.el (compose-region): Cancel previous change.
c5d3843c 11432
159462d4 114332012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11434
11435 * composite.el (compose-region, compose-string): Signal error for
11436 a null string component (Bug#6988).
11437
9f562668
CY
114382012-02-01 Chong Yidong <cyd@gnu.org>
11439
e2cef717
CY
11440 * view.el (view-buffer-other-window, view-buffer-other-frame):
11441 Handle special modes like view-buffer (Bug#10650).
11442 (view-buffer): Simplify.
11443
9f562668
CY
11444 * frame.el (set-frame-font): Tweak meaning of third argument.
11445
9f6e692e
JB
11446 * dynamic-setting.el (font-setting-change-default-font):
11447 Use set-frame-font (Bug#9982).
9f562668 11448
781acb9f
GM
114492012-02-01 Glenn Morris <rgm@gnu.org>
11450
6035be52
GM
11451 * progmodes/compile.el (compilation-internal-error-properties):
11452 Respect compilation-first-column in the "*compilation*" buffer.
11453
781acb9f
GM
11454 * emacs-lisp/easy-mmode.el (define-minor-mode):
11455 Relax :variable's test for a named function.
11456
abbceb00
AM
114572012-01-31 Alan Mackenzie <acm@muc.de>
11458
11459 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11460 off by one error.
11461
fce3fdeb
CY
114622012-01-31 Chong Yidong <cyd@gnu.org>
11463
11464 * frame.el (set-frame-font): New arg ALL-FRAMES.
11465
11466 * menu-bar.el (menu-set-font): Use set-frame-font.
11467
11468 * faces.el (face-spec-reset-face): Don't apply unspecified
11469 attribute values to the default face.
11470
47893581
JB
114712012-01-31 Juanma Barranquero <lekktu@gmail.com>
11472
11473 * progmodes/cwarn.el (cwarn): Remove dead link.
11474 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11475 Remove * from defcustom docstrings.
11476 (turn-on-cwarn-mode): Make obsolete.
11477 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11478 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11479
e58e988a
GM
114802012-01-31 Glenn Morris <rgm@gnu.org>
11481
60dc2671 11482 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11483 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11484 Allow named functions to be used as the cdr of :variable.
e58e988a 11485
7a3f511d
GM
114862012-01-30 Glenn Morris <rgm@gnu.org>
11487
11488 * emacs-lisp/authors.el (authors-fixed-entries):
11489 Remove reference to deleted file rnewspost.el.
11490
cb882333
JB
114912012-01-29 Juanma Barranquero <lekktu@gmail.com>
11492
11493 * window.el (window-with-parameter): Remove unused variable `windows'.
11494 (window--side-check): Remove unused variable `code'.
11495 (window--resize-siblings): Remove unused variable `first'.
11496 (adjust-window-trailing-edge): Remove unused variable `failed'.
11497 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11498 Use `let', not `let*'.
11499 (balance-windows-2): Remove unused variable `found'.
11500 (window--state-put-2): Remove unused variable `splits'.
11501 (window-state-put): Remove unused variable `selected'.
11502 (same-window-p): Use `string-match-p'.
11503 (display-buffer-assq-regexp): Remove unused variable `value'.
11504 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11505 Mark argument ALIST as ignored.
11506 (pop-to-buffer): Remove unused variable `old-window'.
11507
907201af
EZ
115082012-01-29 Eli Zaretskii <eliz@gnu.org>
11509
11510 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11511 and .lzma compressed files.
11512
ea162670
CY
115132012-01-29 Chong Yidong <cyd@gnu.org>
11514
5b95ee8a
CY
11515 * frame.el (window-system-default-frame-alist): Doc fix.
11516
ea162670
CY
11517 * dynamic-setting.el (font-setting-change-default-font): Don't
11518 change the default face if SET-FONT argument is non-nil (Bug#9982).
11519
d6e6f4b1
SB
115202012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11521
11522 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11523
0f29fa41 115242012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11525
11526 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11527 breakpoints in files outside current directory (Bug#6098).
11528
db174434
CY
115292012-01-29 Chong Yidong <cyd@gnu.org>
11530
6b25e4e2
SE
11531 * progmodes/python.el: Require ansi-color at top-level.
11532
6df6ae42
JB
11533 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11534 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11535 (lisp-mode-abbrev-table): Add doc.
11536 (lisp-mode-variables): Don't set local-abbrev-table.
11537 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11538
e70ee681
RW
115392012-01-28 Roland Winkler <winkler@gnu.org>
11540
11541 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11542
ace88aa2
RW
115432012-01-28 Roland Winkler <winkler@gnu.org>
11544
11545 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11546 (bibtex-set-dialect): Use it. Either set global values of
11547 dialect-dependent variables or bind these variables buffer-locally
11548 (Bug#10254).
11549 (bibtex-mode): Call bibtex-set-dialect via
11550 hack-local-variables-hook.
eb864a71
LM
11551 (bibtex-dialect): Update docstring.
11552 Add safe-local-variable predicate.
ace88aa2
RW
11553 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11554 bibtex-set-dialect.
11555 (bibtex-mode-map): Define menu for each dialect.
11556 (bibtex-entry): Fix docstring.
11557
93376c5b
CY
115582012-01-28 Chong Yidong <cyd@gnu.org>
11559
11560 * eshell/esh-arg.el (eshell-quote-argument): New function.
11561
11562 * eshell/esh-ext.el (eshell-invoke-batch-file):
11563 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11564 first arg to eshell-parse-command (Bug#10523).
11565
4372494f
DA
115662012-01-28 Drew Adams <drew.adams@oracle.com>
11567
11568 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11569 `default-directory' is non-nil.
11570
4d4ec1f8
EZ
115712012-01-28 Eli Zaretskii <eliz@gnu.org>
11572
11573 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11574 line that displays system-configuration-options. (Bug#9924)
11575
7c188927
DA
115762012-01-28 Drew Adams <drew.adams@oracle.com>
11577
11578 * descr-text.el (describe-char): Show information about POS, in
11579 addition to information about the character at POS. Improve and
11580 update the doc string. Change "code point" to "code point in
11581 charset", to avoid confusion with the character's Unicode code
11582 point shown above that. (Bug#10129)
11583
e0da685a
EZ
115842012-01-28 Eli Zaretskii <eliz@gnu.org>
11585
11586 * descr-text.el (describe-char): Show the raw character, not only
11587 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11588 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11589 for the reasons.
11590
70550acf
PH
115912012-01-28 Phil Hagelberg <phil@hagelb.org>
11592
eb864a71
LM
11593 * emacs-lisp/package.el (package-install):
11594 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11595
0ce8e868
CY
115962012-01-28 Chong Yidong <cyd@gnu.org>
11597
cb882333
JB
11598 * emacs-lisp/package.el (package-maybe-load-descriptor):
11599 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11600 (package-maybe-load-descriptor): Use it.
11601 (package-download-transaction): Fully load required packages
11602 inside the loop, so that `require' calls work (Bug#10593).
11603 (package-install): No need to call package-initialize now.
11604
2e7f3bea
CY
116052012-01-28 Chong Yidong <cyd@gnu.org>
11606
6e9bad14
CY
11607 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11608
f823b8ca
CY
11609 * tooltip.el (tooltip-mode): Doc fix.
11610 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11611
2680c309
CY
11612 * frame.el (set-cursor-color): Doc fix (Bug#352).
11613
d7a9e63b
CY
11614 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11615 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11616
2e7f3bea
CY
11617 * cus-edit.el (custom-buffer-create-internal): Fix search button
11618 action (Bug#10542).
2ae01800 11619 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11620
fc4f7a23
EW
116212012-01-27 Eduard Wiebe <usenet@pusto.de>
11622
11623 * dired.el (dired-mark-files-regexp):
11624 Include any subdirectory components. (Bug#10445)
11625
7dd37071
ML
116262012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11627
11628 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11629 Handle [host]:port syntax. (Bug#10533)
11630
a268160b
AH
116312012-01-27 Alex Harsanyi <harsanyi@mac.com>
11632
11633 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11634
e43273ef
GM
116352012-01-26 Glenn Morris <rgm@gnu.org>
11636
11637 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11638 * term.el (term-raw-escape-map): Use Control-X-prefix.
11639 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11640
1edf595d
MR
116412012-01-25 Martin Rudalics <rudalics@gmx.at>
11642
11643 * window.el (window-state-get, window--state-get-1): Don't deal
11644 with fixed-sizeness of windows. Simplify code.
11645
fa8eafef
JC
116462012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11647
6df6ae42
JB
11648 * window.el (window--state-get-1, window--state-put-2):
11649 Don't save and restore the mark.
fa8eafef 11650
0b21c100
CY
116512012-01-25 Chong Yidong <cyd@gnu.org>
11652
11653 * custom.el (custom-variable-p): Doc fix.
11654
5ae1a6c8
GM
116552012-01-25 Glenn Morris <rgm@gnu.org>
11656
40047858
GM
11657 * dired.el (dired-goto-file): Handle some of the more common
11658 characters that `ls -b' escapes. (Bug#10596)
11659
5ddce96c
GM
11660 * progmodes/compile.el (compilation-next-error-function):
11661 Respect compilation-first-column in the "*compilation*" buffer.
11662 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11663
5ae1a6c8
GM
11664 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11665
b559f1a9
GM
116662012-01-24 Glenn Morris <rgm@gnu.org>
11667
11668 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11669
6725d21a
JD
116702012-01-24 Julien Danjou <julien@danjou.info>
11671
11672 * color.el (color-rgb-to-hsl): Fix value computing.
11673 (color-hue-to-rgb): New function.
11674 (color-hsl-to-rgb): New function.
11675 (color-clamp, color-saturate-hsl, color-saturate-name)
11676 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11677 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11678
70df4bbe
GM
116792012-01-24 Glenn Morris <rgm@gnu.org>
11680
11681 * vc/vc-rcs.el (vc-rcs-create-tag):
11682 * vc/vc-sccs.el (vc-sccs-create-tag):
11683 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11684
802a2ae2
ML
116852012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11686
11687 * eshell/esh-util.el (eshell-read-hosts-file):
11688 Skip comment lines. (Bug#10549)
11689
d7128bb1
ML
11690 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11691
d1a5c3b4
JB
116922012-01-23 Juanma Barranquero <lekktu@gmail.com>
11693
2724d9c7
JB
11694 * subr.el (display-delayed-warnings): Doc fix.
11695 (collapse-delayed-warnings): New function to collapse identical
11696 adjacent warnings.
11697 (delayed-warnings-hook): Add it.
d1a5c3b4 11698
a5509865
MA
116992012-01-22 Michael Albinus <michael.albinus@gmx.de>
11700
11701 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11702
a5509865
MA
11703 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11704 (tramp-default-user-alist): Don't add "pscp".
11705 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11706 property "login-as", if set. (Bug#10530)
11707
cc6d5805
MA
117082012-01-21 Michael Albinus <michael.albinus@gmx.de>
11709
11710 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11711 "plink1" and "psftp". (Bug#10530)
11712
117132012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
11714
11715 * international/mule-cmds.el (prefer-coding-system): Show a
11716 warning message if the default value of file-name-coding-system
11717 was not changed.
11718
f0960428
JC
117192012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11720
cb882333
JB
11721 * windmove.el (windmove-reference-loc):
11722 Fix windmove-reference-loc miscalculation.
f0960428 11723
dd6f2a63
JB
117242012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11725
11726 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11727 default unit.
11728
7b447e9b
GM
117292012-01-21 Glenn Morris <rgm@gnu.org>
11730
117a9ea1
GM
11731 * international/mule.el (auto-coding-alist): Add .tbz.
11732
7b447e9b
GM
11733 * files.el (local-enable-local-variables): Doc fix.
11734 (inhibit-local-variables-regexps): Rename from
11735 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11736 Doc fix. Add some extensions from auto-coding-alist.
11737 (inhibit-local-variables-suffixes):
11738 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11739 (inhibit-local-variables-p):
11740 New function, extracted from set-auto-mode-1.
11741 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11742 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11743 (hack-local-variables): Doc fix. Make the mode-only case
11744 respect enable-local-variables and friends.
11745 Respect inhibit-local-variables-regexps for file-locals, but
11746 not for directory-locals.
11747 (set-visited-file-name):
11748 Take account of inhibit-local-variables-regexps.
11749 Whether it applies may change as the file name is changed.
11750 * jka-cmpr-hook.el (jka-compr-install):
11751 * jka-compr.el (jka-compr-uninstall):
11752 Update for inhibit-first-line-modes-suffixes name change.
11753
dd6e3cdd
MR
117542012-01-20 Martin Rudalics <rudalics@gmx.at>
11755
11756 * help-macro.el (make-help-screen): Temporarily restore original
11757 binding for minor-mode-map-alist (Bug#10454).
11758
0d0deb38
JD
117592012-01-19 Julien Danjou <julien@danjou.info>
11760
11761 * color.el (color-name-to-rgb): Use the white color to find the max
11762 color component value and return correctly computed values.
11763 (color-name-to-rgb): Add missing float conversion for max value.
11764
34a02f46
MR
117652012-01-19 Martin Rudalics <rudalics@gmx.at>
11766
11767 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11768 special state value for window-persistent-parameters.
11769 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11770 (window--state-put-2): Reset all window parameters to nil before
11771 assigning values of persistent parameters.
11772
606c44c4
AM
117732012-01-18 Alan Mackenzie <acm@muc.de>
11774
11775 Eliminate sluggishness and hangs in fontification of "semicolon
11776 deserts".
11777
cb882333
JB
11778 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11779 Change value 10000 -> 3000.
606c44c4
AM
11780 (c-state-safe-place): Reformulate so it doesn't stack up an
11781 infinite number of wrong entries in c-state-nonlit-pos-cache.
11782 (c-determine-limit-get-base, c-determine-limit): New functions to
11783 determine backward search limits disregarding literals.
11784 (c-find-decl-spots): Amend commenting.
11785 (c-cheap-inside-bracelist-p): New function which detects "={".
11786
11787 * progmodes/cc-fonts.el
11788 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11789 backward search.
11790 (c-font-lock-declarations): Fix an occurrence of point being
11791 undefined. Check additionally for point being in a bracelist or
11792 near a macro invocation without a semicolon so as to avoid a
11793 fruitless time consuming search for a declarator. Give a more
11794 precise search limit for declarators using the new
11795 c-determine-limit.
11796
f3860cea
GM
117972012-01-18 Glenn Morris <rgm@gnu.org>
11798
11799 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11800 (set-auto-mode): Doc fixes.
11801
1db03b16
GM
118022012-01-17 Glenn Morris <rgm@gnu.org>
11803
0e6038be
GM
11804 * isearch.el (search-nonincremental-instead): Fix doc typo.
11805
1db03b16
GM
11806 * dired.el (dired-insert-directory): Handle newlines in directory name.
11807 (dired-build-subdir-alist): Unescape newlines in directory name.
11808
4cb0aa75
MA
118092012-01-17 Michael Albinus <michael.albinus@gmx.de>
11810
11811 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11812 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11813 (tramp-action-terminal): Use it. (Bug#10530)
11814
1d00653d
SM
118152012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11816
11817 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11818
6a6ee00d
MR
118192012-01-16 Martin Rudalics <rudalics@gmx.at>
11820
11821 * window.el (window-state-ignored-parameters): Remove variable.
11822 (window--state-get-1): Rename argument MARKERS to IGNORE.
11823 Handle persistent window parameters. Make copy of clone-of
11824 parameter only if requested. (Bug#10348)
11825 (window--state-put-2): Install a window parameter only if it has
11826 a non-nil value or an existing parameter shall be overwritten.
11827
97912def
MA
118282012-01-15 Michael Albinus <michael.albinus@gmx.de>
11829
11830 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11831
688070a5
EZ
118322012-01-14 Eli Zaretskii <eliz@gnu.org>
11833
11834 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11835 don't pass the (nil) value of `upnode' to string-match.
11836
301afadc
CY
118372012-01-14 Chong Yidong <cyd@gnu.org>
11838
11839 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11840 Fix values recognized by the cursorBlink resource.
301afadc 11841
9e5788aa
PE
118422012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11843
11844 * epg.el (epg--make-temp-file): Avoid permission race condition
11845 when running on old Emacs versions (bug#10403).
11846
3cdb7f5a
GM
118472012-01-14 Glenn Morris <rgm@gnu.org>
11848
11849 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11850
8c82b1b4
AM
118512012-01-13 Alan Mackenzie <acm@muc.de>
11852
11853 Fix filling for when filladapt mode is enabled.
11854
11855 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11856 c-mask-paragraph, pass in `fill-paragraph' rather than
11857 `fill-region-as-paragraph'. (This is a reversion of a previous
11858 change.)
eb864a71
LM
11859 * progmodes/cc-mode.el (c-basic-common-init):
11860 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11861
e517eda4
GM
118622012-01-13 Glenn Morris <rgm@gnu.org>
11863
1498536e
GM
11864 * dired.el (dired-switches-escape-p): New function.
11865 (dired-insert-directory): Use dired-switches-escape-p.
11866 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11867
e517eda4
GM
11868 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11869
328f984d
GM
118702012-01-12 Glenn Morris <rgm@gnu.org>
11871
11872 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11873 changes in adaptive-fill-regexp. (Bug#10276)
11874
2cc769a8
AM
118752012-01-11 Alan Mackenzie <acm@muc.de>
11876
11877 Fix Emacs bug #10463 - put `widen's around the critical spots.
11878
1d00653d 11879 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11880 widen around each invocation of c-state-pp-to-literal. Remove an
11881 unused let variable.
11882
e52c37fa
GM
118832012-01-11 Glenn Morris <rgm@gnu.org>
11884
11885 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11886 Doc fix.
e52c37fa 11887
96f8741e
CY
118882012-01-10 Chong Yidong <cyd@gnu.org>
11889
1d00653d
SM
11890 * net/network-stream.el (network-stream-open-starttls):
11891 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11892 response to the capability command.
11893
b09a806e
GM
118942012-01-10 Glenn Morris <rgm@gnu.org>
11895
11896 * mail/unrmail.el (unrmail): Tweak previous change.
11897
7655cb66
CY
118982012-01-09 Chong Yidong <cyd@gnu.org>
11899
11900 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11901
9d5a8f0b
AM
119022012-01-08 Alan Mackenzie <acm@muc.de>
11903
11904 Optimise font locking in long enum definitions.
11905
11906 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11907 arm to a cond form to handle enums.
11908 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11909 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11910
9a0115ab 119112012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11912
11913 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11914 (Bug#10401)
6bb72cbd 11915
f186bb95
LMI
119162012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11917
29232a68
LMI
11918 * faces.el (set-face-attribute): Clarify the meaning of the nil
11919 frame (bug#10294).
11920
4e5d086d
LMI
11921 * subr.el (with-selected-frame): Mention that the selected frame
11922 is restored (bug#9980).
11923
8e66aebe
LMI
11924 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11925 (bug#9759).
11926
cd394be1 11927 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11928 (password-read): Don't autoload unused function.
11929
adf4e762
JB
119302012-01-07 Juanma Barranquero <lekktu@gmail.com>
11931
11932 * progmodes/which-func.el (which-func-mode): Turn into a
11933 non-interactive function and mark as obsolete (bug#10428).
11934
89bd9ccd
CY
119352012-01-06 Chong Yidong <cyd@gnu.org>
11936
11937 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11938 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11939 functions, along with 1 and -1.
11940
4afee9d5
EZ
119412012-01-06 Eli Zaretskii <eliz@gnu.org>
11942
11943 * time.el (display-time-load-average)
11944 (display-time-default-load-average): Doc fixes. See the thread
11945 starting at
11946 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11947 for the details.
11948
536aea70
GM
119492012-01-06 Glenn Morris <rgm@gnu.org>
11950
665ae865
GM
11951 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11952 has no messages. (Bug#10377)
11953
c869783d
GM
11954 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11955 than Info-edit. (Bug#10385)
11956
2bb4227e
GM
11957 * time.el (display-time-load-average, display-time-next-load-average):
11958 Doc fixes.
11959
7d5944b9
GM
11960 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11961 local setting of buffer-read-only to the input buffer. (Bug#10419)
11962
536aea70
GM
11963 * calendar/calendar.el (calendar-mode):
11964 Locally set scroll-margin to 0. (Bug#10379)
11965
7dccca16
UM
119662012-01-06 Ulrich Mueller <ulm@gentoo.org>
11967
11968 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11969
afbb7930
GM
119702012-01-05 Glenn Morris <rgm@gnu.org>
11971
11972 * eshell/em-unix.el (diff-no-select): Autoload it.
11973 (eshell/diff): Use diff-no-select. (Bug#10420)
11974
04482335
CY
119752012-01-05 Chong Yidong <cyd@gnu.org>
11976
7baca3bc
CY
11977 * shell.el (shell-dynamic-complete-functions): Revert last change.
11978 (shell-command-completion-function): New function.
11979 (shell-completion-vars): Use it to implement
11980 shell-completion-execonly (Bug#10417).
11981
04482335
CY
11982 * custom.el (enable-theme): Don't set custom-safe-themes.
11983
1d00653d
SM
11984 * cus-theme.el (custom-theme-merge-theme):
11985 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11986
bb5aa5d6
MM
119872012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11988
11989 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11990 first prompt in `sql-interacive-mode'.
11991 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11992 keywords.
6df6ae42 11993 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11994 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11995 context of original buffer. Invoke `sql-login-hook'.
11996
a7183d7c
EZ
119972012-01-04 Eli Zaretskii <eliz@gnu.org>
11998
11999 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12000 letters in cite-prefix.
12001
a1eacd1e
LMI
120022012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12003
12004 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12005
787cdb34
CY
120062012-01-03 Chong Yidong <cyd@gnu.org>
12007
1d00653d
SM
12008 * shell.el (shell-dynamic-complete-functions):
12009 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12010 comint-filename-completion first (Bug#10417).
12011
30710442
RS
120122012-01-02 Richard Stallman <rms@gnu.org>
12013
12014 * battery.el (battery-status-function):
12015 Detect when to use battery-yeeloong-sysfs.
12016 (battery-echo-area-format): Add string for Yeeloong.
12017 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12018 (battery-yeeloong-sysfs): New function.
12019
f75bfc33
CY
120202012-01-02 Chong Yidong <cyd@gnu.org>
12021
12022 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12023 (dirtrack): Merge code for handling relative filenames in prompt
12024 from shell-dir-cookie-watcher.
12025 (dirtrack-debug-message): New arg to avoid excess format calls.
12026
12027 * shell.el (shell-dir-cookie-re): Variable deleted.
12028 (shell-dir-cookie-watcher): Function deleted.
12029 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12030 with dirtrack-mode.
12031
651e947e
EZ
120322012-01-01 Eli Zaretskii <eliz@gnu.org>
12033
1d00653d
SM
12034 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12035 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12036 libgnutls-26.dll.
12037
94d4c7dc
AS
120382011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12039
12040 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12041
8d43f3cd
EZ
120422011-12-31 Eli Zaretskii <eliz@gnu.org>
12043
12044 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12045 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12046
98c8795a
MA
120472011-12-29 Michael Albinus <michael.albinus@gmx.de>
12048
12049 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12050 also for alternative shells.
12051 (tramp-open-connection-setup-interactive-shell): Check, whether
12052 the shell is a busybox.
12053 (tramp-send-command): Don't suppress multiple prompts for
12054 busyboxes, it hurts.
12055
51281b32
CY
120562011-12-28 Chong Yidong <cyd@gnu.org>
12057
12058 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12059 (gdb-get-source-file): Move mode line update to
12060 gdb-get-source-file (Bug#10087).
12061
2170cb53
CY
120622011-12-25 Chong Yidong <cyd@gnu.org>
12063
12064 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12065 gud-gdb-marker-filter without taking it as an argument.
12066 (gud-gdb-run-command-fetch-lines): Caller changed.
12067 (gud-gdb-completion-function): New variable.
12068 (gud-gdb-completion-at-point): Use it.
12069 (gud-gdb-completions-1): Split from gud-gdb-completions.
12070
12071 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12072 function as separate arguments.
12073 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12074 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12075 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12076 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12077 (gdb-stopped, def-gdb-auto-update-trigger)
12078 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
12079 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12080 Callers changed.
2170cb53
CY
12081 (gud-gdbmi-completions): New function.
12082 (gdb): Use it for generating the completion table.
12083
be8b11bb
AM
120842011-12-24 Alan Mackenzie <acm@muc.de>
12085
12086 Introduce a mechanism to widen the region used in context font
1d00653d 12087 locking. Use this to protect declarations from losing their contexts.
be8b11bb 12088
1d00653d
SM
12089 * progmodes/cc-langs.el (c-before-font-lock-functions):
12090 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 12091 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
12092 functions to be run just before context (etc.) font locking.
12093
12094 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 12095 New, functionality extracted from
be8b11bb 12096 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 12097 (c-in-after-change-fontification): New variable.
be8b11bb
AM
12098 (c-after-change): Set c-in-after-change-fontification.
12099 (c-set-fl-decl-start): Rejig its interface, so it can be called
12100 from both after-change and context fontifying.
b81d40f0
JB
12101 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12102 New functions.
12103 (c-standard-font-lock-fontify-region-function): New variable.
12104 (c-font-lock-fontify-region): New function.
be8b11bb 12105
341cf6ac
JL
121062011-12-24 Juri Linkov <juri@jurta.org>
12107
12108 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12109 (Bug#10348)
12110
bffcee0a
MA
121112011-12-23 Michael Albinus <michael.albinus@gmx.de>
12112
12113 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12114 existence of source file. (Bug#10325)
12115
cb5e207c
AM
121162011-12-23 Alan Mackenzie <acm@muc.de>
12117
12118 Fix unstable fontification inside templates.
12119
b81d40f0
JB
12120 * progmodes/cc-langs.el (c-before-font-lock-functions):
12121 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
12122 additionally has c-set-fl-decl-start. The other languages (apart
12123 from AWK) have that as a single entry.
12124
b81d40f0
JB
12125 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12126 The functionality for "local" declarations has been extracted to
cb5e207c
AM
12127 c-set-fl-decl-start.
12128
b81d40f0
JB
12129 * progmodes/cc-mode.el (c-common-init, c-after-change):
12130 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
12131 (c-set-fl-decl-start): New function, extracted from
12132 c-font-lock-enclosing-decls and enhanced.
12133
60ff536c
JB
121342011-12-23 Juanma Barranquero <lekktu@gmail.com>
12135
12136 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12137
1c4757d6
JL
121382011-12-22 Juri Linkov <juri@jurta.org>
12139
12140 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12141
d031f2c7
CY
121422011-12-22 Chong Yidong <cyd@gnu.org>
12143
12144 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12145
bace743a
DA
121462011-12-21 Drew Adams <drew.adams@oracle.com>
12147
12148 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12149
728a1f2b
JC
121502011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12151
12152 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12153
0d373f73
TZ
121542011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12155
fec0aaa4
TZ
12156 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12157 highlighting and support. Fix up comments for capitalization.
12158 (cfengine-mode-debug): New var.
12159 (cfengine3-mode): Change the modeline indicator to "CFE3".
12160 (cfengine3-font-lock-keywords): Improve defun highlighting.
12161 (cfengine2-actions): Rename from `cfengine-actions'.
12162 (cfengine2-font-lock-keywords): Rename from
12163 `cfengine-font-lock-keywords'.
12164 (cfengine2-imenu-expression): Rename from
12165 `cfengine-imenu-expression'.
12166 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12167 (cfengine2-beginning-of-defun): Rename from
12168 `cfengine-beginning-of-defun'.
12169 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12170 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12171 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12172 modeline indicator to "CFE2".
12173 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12174 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12175
bc86f573
CY
121762011-12-21 Chong Yidong <cyd@gnu.org>
12177
12178 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12179 filename argument.
12180
d45ba96b
MR
121812011-12-20 Martin Rudalics <rudalics@gmx.at>
12182
12183 * window.el (window-normalize-buffer-to-display): Remove.
12184 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12185
a6198c90
CY
121862011-12-19 Chong Yidong <cyd@gnu.org>
12187
12188 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12189 Don't signal an error in a predicate function; return non-nil.
12190 (vc-dir-mark-file): Move the error here.
12191 (vc-dir-mark-unmark): If acting on the region, keep going if one
12192 of the entries cannot be marked/unmarked.
12193 (vc-dir-mark-all-files): If current entry is a directory, mark
12194 only child files, as documented.
12195
34c5fb55
VB
121962011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12197
12198 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12199 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12200 addition.
12201
c803b2b7
JD
122022011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12203
12204 * term/ns-win.el (ns-get-selection-internal)
12205 (ns-store-selection-internal): Declare.
1154d12e
JB
12206 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12207 Declare as obsolete.
12208 (ns-get-pasteboard, ns-paste-secondary):
12209 Use ns-get-selection-internal.
41e9b956 12210 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12211 Use ns-store-selection-internal.
c803b2b7 12212
9cff91f8 122132011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12214
12215 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12216 (vc-deduce-fileset): Doc fix.
99a289d9 12217
f16c898a
AS
122182011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12219
12220 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12221
763237c4
SS
122222011-12-13 Sam Steingold <sds@gnu.org>
12223
12224 * man.el (Man-getpage-in-background): When running under a
12225 window-system, ignore $MANWIDTH and $COLUMNS.
12226
5fc1c122
KH
122272011-12-15 Kenichi Handa <handa@m17n.org>
12228
12229 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12230 (setup-ethiopic-environment-internal): Comment out key-binding for
12231 ethio-toggle-punctuation.
12232
13d49cbb
AM
122332011-12-13 Alan Mackenzie <acm@muc.de>
12234
898169a2
AM
12235 Add the switch statement to AWK Mode.
12236
7a71b18d 12237 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
12238 "default" to the keywords regexp.
12239
7a71b18d 12240 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 12241 expression as the rest.
1d00653d
SM
12242 (c-nonlabel-token-key): Allow string literals for AWK.
12243 Refactor for the other modes.
898169a2 12244
13d49cbb 12245 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 12246 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
12247 routines. Limit backward searching in c-font-lock-enclosing.decl.
12248
12249 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12250 pp-state and literal type in addition to the limits.
1d00653d 12251 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 12252 (c-state-literal-at): Use the above new defun.
1d00653d
SM
12253 (c-slow-in-literal, c-fast-in-literal): Remove.
12254 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
12255
12256 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12257 being in a literal. Add a limit for backward searching.
12258
12259 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12260 c-slow-in-literal.
12261
15e0efc7
SM
122622011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12263
12264 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12265
454592a6
MR
122662011-12-13 Martin Rudalics <rudalics@gmx.at>
12267
12268 * window.el (delete-other-windows): Use correct frame in call to
12269 window-with-parameter.
12270
87393f26
DP
122712011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12272
12273 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12274 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12275 (makefile-gmake-statements, makefile-makepp-statements):
12276 Use it and add new makepp keywords.
12277 (makefile-makepp-font-lock-keywords): Add new patterns.
12278 (makefile-match-function-end): Match new [...] and [[...]].
12279
11636b22
JB
122802011-12-11 Juanma Barranquero <lekktu@gmail.com>
12281
12282 * ses.el (ses-call-printer-return, ses-cell-property-get)
12283 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12284 (ses-create-cell-variable, ses-reset-header-string)
12285 (ses-cell-set-formula, ses-repair-cell-reference-all)
12286 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12287 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12288 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12289 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12290 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12291 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12292 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12293 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12294 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12295 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12296 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12297 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12298
cf018193
VB
122992011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12300
12301 * ses.el: The overall change is to add cell renaming, that is
12302 setting fancy names for cell symbols other than name matching
12303 "\\`[A-Z]+[0-9]+\\'" regexp .
12304 (ses-create-cell-variable): New defun.
12305 (ses-relocate-formula): Relocate formulas only for cells the
12306 symbols of which are not renamed, i.e. symbols whose names do not
12307 match regexp "\\`[A-Z]+[0-9]+\\'".
12308 (ses-relocate-all): Relocate values only for cells the symbols of
12309 which are not renamed.
12310 (ses-load): Create cells variables as the (ses-cell ...) are read,
12311 in order to check row col consistency with cell symbol name only
12312 for cells that are not renamed.
12313 (ses-replace-name-in-formula): New defun.
12314 (ses-rename-cell): New defun.
12315
ee957461
CY
123162011-12-11 Chong Yidong <cyd@gnu.org>
12317
12318 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12319 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12320
9a9e9ef0
MR
123212011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12322
12323 * window.el (other-window): Fix docstring.
12324
92a8eba5
EZ
123252011-12-10 Eli Zaretskii <eliz@gnu.org>
12326
12327 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12328 `from' or `to' address before taking its substring.
12329 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12330 encoded name is chopped in the middle of the encoded string, and
12331 thus displayed encoded.
12332
e152e577
JB
123332011-12-10 Juanma Barranquero <lekktu@gmail.com>
12334
12335 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12336
e5d84bfe
EZ
123372011-12-10 Eli Zaretskii <eliz@gnu.org>
12338
12339 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12340 to use texinfo-update-node and commands that call it if the
12341 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12342 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12343 (texinfo-all-menus-update, texinfo-master-menu)
12344 (texinfo-update-node, texinfo-every-node-update)
12345 (texinfo-multiple-files-update): Doc fix. Warn against updating
12346 all the @node lines.
12347 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12348 argument is numeric. Explain better in the doc string what the
12349 function really does.
12350 (texinfo-insert-master-menu-list): Improve the error message
12351 displayed if there's no menu in the Top node.
12352 (Bug#2975) See also this thread:
e5d84bfe
EZ
12353 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12354
1d84e9bb
MG
123552011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12356
12357 * speedbar.el (speedbar-supported-extension-expressions):
12358 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12359
382c953b
JB
123602011-12-09 Juanma Barranquero <lekktu@gmail.com>
12361
12362 * printing.el (pr-mode-alist):
12363 * simple.el (filter-buffer-substring-functions)
12364 (completion-list-insert-choice-function):
12365 * window.el (window-with-parameter, window-atom-root)
12366 (window-sides-slots, window-size-fixed, window-min-delta)
12367 (window-max-delta, window--resize-mini-window)
12368 (window--resize-child-windows-normal, window-tree)
12369 (delete-other-windows, quit-window, split-window)
12370 (display-buffer-record-window, special-display-buffer-names)
12371 (special-display-regexps, special-display-popup-frame)
12372 (same-window-p, split-window-sensibly)
12373 (display-buffer-overriding-action, display-buffer-alist)
12374 (display-buffer-base-action, display-buffer, switch-to-buffer)
12375 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12376 (fit-window-to-buffer, recenter-positions)
12377 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12378 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12379 and remove unneeded backslashes in docstrings.
12380
39c9faef
SM
123812011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12382
98449af8
SM
12383 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12384
39c9faef
SM
12385 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12386 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12387 end in ".mk".
12388 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12389 when reading the makefile (bug#10116).
12390
86ed9fdc
SM
123912011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12392
12393 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12394 (bug#10116).
12395
5580f89d
GM
123962011-12-06 Glenn Morris <rgm@gnu.org>
12397
12398 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12399
28d3917c
CY
124002011-12-06 Chong Yidong <cyd@gnu.org>
12401
12402 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12403
a98edce9
JB
124042011-12-06 Juanma Barranquero <lekktu@gmail.com>
12405
12406 * textmodes/table.el (table-shorten-cell): Fix typo.
12407
e65adfac
CG
124082011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12409
12410 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12411
71cc0b74
EZ
124122011-12-05 Eli Zaretskii <eliz@gnu.org>
12413
12414 * descr-text.el (describe-char): Fix display of strong
12415 right-to-left characters and directional embeddings and overrides.
12416
12417 * simple.el (what-cursor-position): Fix display of codepoints of
12418 strong right-to-left characters.
12419
315bc30d
CY
124202011-12-05 Chong Yidong <cyd@gnu.org>
12421
12422 * faces.el (read-color): Doc fix.
12423
58a70b94
GM
124242011-12-05 Glenn Morris <rgm@gnu.org>
12425
12426 * align.el (align--set-marker): Add doc-string.
12427 Don't try to move something that is not a marker. (Bug#10216)
12428
5158face
GM
124292011-12-04 Glenn Morris <rgm@gnu.org>
12430
12431 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12432 overly zealous deletion of trailing whitespace.
12433
520fca41
JB
124342011-12-04 Juanma Barranquero <lekktu@gmail.com>
12435
12436 * server.el (server-delete-client): On Windows, do not try to delete
12437 the only terminal.
12438 (server-process-filter): On Windows, treat requests for a tty frame as
12439 if they were for a GUI frame if the running server is in GUI mode.
12440
5e605a2e
GM
124412011-12-03 Glenn Morris <rgm@gnu.org>
12442
12443 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12444
5c3fe83f
SM
124452011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12446
6f5e57e7
SM
12447 * electric.el: Streamline electric-indent's hook.
12448 (electric-indent-chars): Revert to simple list.
12449 (electric-indent-functions): New var.
12450 (electric-indent-post-self-insert-function): Use it.
12451
5c3fe83f
SM
12452 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12453 there's no inferior buffer (bug#10196).
12454 (prolog-consult-compile): Don't use toggle-read-only.
12455
6bdac736
MA
124562011-12-02 Michael Albinus <michael.albinus@gmx.de>
12457
12458 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12459 interrupt. (Bug#10187)
12460
6131ba7f
SM
124612011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12462
99c79fee
SM
12463 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12464 (bug#9160).
12465
6131ba7f
SM
12466 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12467 (bug#10191).
12468
cb0a02ea
JL
124692011-12-02 Juri Linkov <juri@jurta.org>
12470
12471 * info.el (Info-search): Display "end of manual" when Isearch
12472 reaches the end of single-file Info manual. (Bug#9918)
12473
66e0570c
EZ
124742011-12-02 Eli Zaretskii <eliz@gnu.org>
12475
12476 * isearch.el (isearch-message-prefix): Run the input method part
12477 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12478
02b16839
JL
124792011-12-02 Juri Linkov <juri@jurta.org>
12480
12481 * isearch.el (isearch-occur): Use `word-search-regexp' for
12482 `isearch-word'.
12483 (isearch-search-and-update): Add condition for `isearch-word' and
12484 call `word-search-regexp'. (Bug#10145)
12485
0b950688
GM
124862011-12-01 Glenn Morris <rgm@gnu.org>
12487
12488 * eshell/em-hist.el (eshell-hist-initialize):
12489 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12490 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12491
9505c3c7
SM
124922011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12493
12494 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12495
1bbe96b2 124962011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12497
a1beca85
SM
12498 * progmodes/verilog-mode.el (verilog-pretty-expr):
12499 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12500 verilog, such as += *= and the like.
12501 (verilog-assignment-operator-re): Regular expression to find the
12502 assigment operator in a verilog assignment.
12503 (verilog-assignment-operation-re): Regular expression to find an
12504 assignment statement for pretty-expr.
12505 (verilog-in-attribute-p): Query returns true if point is in an
12506 attribute context; used to skip these for expression line up from
12507 pretty-expr.
12508 (verilog-in-parameter-p): Query returns true if point is in an
12509 parameter definition context; used to skip these for expression
12510 line up from pretty-expr.
12511 (verilog-in-parenthesis-p): Query returns true if point is in a
12512 parenthetical expression, specifically ( ) but not [ ] or { };
12513 used by pretty-expr.
12514 (verilog-just-one-space): If there is no space, don't add one.
12515 (verilog-get-lineup-indent-2): Specifically skip just attribute
12516 contexts for expression lineup, rather than skipping all
12517 parenthetical expressions.
12518 (verilog-calculate-indent): Fix comment, and fix indent.
12519 (verilog-do-indent): Indent declarations in lists (suggested by
12520 Joachim Lechner).
12521 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12522 skeleton items.
12523 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12524 by Alain Mellan).
12525
1bbe96b2 125262011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12527
12528 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12529 parameters with embedded comments. Reported by Ray Stevens.
12530 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12531 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12532 Reported by Tim Holt.
12533 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12534 instantiated by upper module causing wrong expansion until AUTOed a
12535 second time. Reported by K C Buckenmaier.
12536 (verilog-diff-auto): Fix showing .* as a difference when
12537 `verilog-auto-star-save' off. Reported by Dan Dever.
12538 (verilog-auto-reset, verilog-read-always-signals)
12539 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12540 temporary signals in reset list if
12541 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12542 style to each signal's assignment type, bug381.
12543 Reported by Thomas Esposito.
6288f0ca
WS
12544 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12545 (verilog-uvm-statement-re): Support UVM indentation and
12546 highlighting, with old OVM keywords only.
a1beca85 12547 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12548 Support AUTOTIEOFF creating non-wire data types.
12549 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12550 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12551 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12552 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12553 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12554 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12555 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12556 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12557 non-numeric vector width. Reported by Alex Reed.
12558 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12559 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12560 (verilog-auto-delete-trailing-whitespace):
12561 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12562 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12563 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12564 Fix verilog-scan-cache corruption when running user AUTO expansion
12565 hooks that call indentation routines.
12566 (verilog-simplify-range-expression): Fix typo ignoring lower case
12567 identifiers.
12568 (verilog-delete-auto): Fix delete-autos to also remove user created
12569 automatics, as long as they start with AUTO.
12570 (verilog-batch-diff-auto, verilog-diff-auto)
12571 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12572 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12573 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12574 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12575 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12576 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12577 is disabled and its cache will get corrupt, causing AUTOS not to
12578 expand. Instead use only -quick functions.
12579 (verilog-scan-region): Fix scanning over escaped quotes.
12580 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12581 (verilog-re-search-backward-quick)
12582 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12583 related functions now ignore strings, to fix misparsing of strings
12584 with magic comments embedded in them.
a1beca85
SM
12585 (verilog-read-auto-template):
12586 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12587 Reported by Brad Dobbie.
12588 (verilog-read-auto-template):
12589 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12590 Reported by Brad Dobbie.
6288f0ca
WS
12591 (verilog-auto-inst, verilog-auto-inst-param)
12592 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12593 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12594 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12595 debugging templates without merge conflicts, bug357.
12596 Reported by Brad Dobbie.
12597 (verilog-read-auto-template):
12598 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12599 Reported by Brad Dobbie.
12600 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12601 abbrevs so user won't be asked to save.
12602 (verilog-read-auto-lisp-present): Fix to start at beginning of
12603 buffer in case called outside of verilog-auto.
12604 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12605 to "X-2". Reported by Matthew Myers.
12606 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12607 all inputs from module templates. Reported by Leith Johnson.
12608 (verilog-module-inside-filename-p): Fix locating programs as with
12609 modules.
12610 (verilog-auto-inst-port): Fix vl-width expressions when using
12611 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12612 (verilog-decls-get-regs, verilog-decls-get-signals,
12613 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12614 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12615 verilog-read-decls): Combine reg and wire structures into one var
12616 structure to represent SystemVerilog concepts.
12617 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12618 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12619 (verilog-auto-wire-type, verilog-insert-definition):
12620 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12621 SystemVerilog "logic" keyword instead of "wire"/"reg".
12622 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12623 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12624 ifdef or generate if so there's not a driver conflict).
12625 Reported by Matthew Myers.
12626 (verilog-auto-declare-nettype, verilog-insert-definition):
12627 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12628 `default_nettype none. Reported by Julian Gorfajn.
12629 (verilog-read-always-signals-recurse, verilog-read-decls)
12630 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12631 malformed end statement, bug325. Reported by Joshua Wise and
12632 Andrew Drake.
12633 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12634 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12635 when expanding .* in interfaces, bug320.
12636 Reported by Pierre-David Pfister.
6288f0ca 12637 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12638 name and open parenthesis, bug317.
12639 Reported by Pierre-David Pfister.
6288f0ca
WS
12640 (verilog-simplify-range-expression): Fix simplification of
12641 multiplications inside AUTOWIRE connections, bug303.
12642 (verilog-auto-inst-port): Support parameter expansion in
12643 multidimensional arrays.
12644 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12645 after "assert property". Reported by Julian Gorfajn.
12646 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12647 with multiplication, bug303.
12648 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12649 Reported by Jan Frode Lonnum.
12650
1bbe96b2
GM
126512011-11-30 Juanma Barranquero <lekktu@gmail.com>
12652
12653 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12654 (hfy-shell-file-name, hfy-shell):
12655 * international/fontset.el (x-decompose-font-name): Fix typos.
12656
126572011-11-29 Ken Brown <kbrown@cornell.edu>
12658
12659 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12660 (gdb-version): Remove defvar.
12661 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12662 (gdb-gud-context-command, gdb-non-stop-handler)
12663 (gdb-current-context-command, gdb-stopped): Use it.
12664 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12665 (gdb-non-stop-handler): Don't enable pretty-printing here.
12666 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12667 non-stop mode. Use the following.
12668 (gdb-check-target-async): New defun.
12669 (gud-watch, gdb-stopped): Fix whitespace.
12670 (gdb-get-source-file): Don't try to display the source file if
12671 `gdb-main-file' is nil.
12672
126732011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12674
12675 * align.el: Try to generate fewer markers (bug#10047).
12676 (align--set-marker): New macro.
12677 (align-region): Use it.
12678
c935221f
SM
126792011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12680
12681 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12682
e70b5064
CY
126832011-11-29 Chong Yidong <cyd@gnu.org>
12684
12685 * indent.el (indent-for-tab-command, indent-according-to-mode):
12686 Doc fix.
12687 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12688
f3af92b7
MA
126892011-11-29 Michael Albinus <michael.albinus@gmx.de>
12690
12691 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12692 aware of remote file names. (Bug#10124)
12693
ed472be9
CY
126942011-11-29 Chong Yidong <cyd@gnu.org>
12695
12696 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12697
24510c22
SM
126982011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12699
12700 * files.el (find-file): Don't use force-same-window (bug#10144).
12701 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12702 use pop-to-buffer if the selected window can't be used.
12703 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12704
c60c3703
EZ
127052011-11-28 Eli Zaretskii <eliz@gnu.org>
12706
12707 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12708 special-mode-map.
12709
e95def75
CY
127102011-11-28 Chong Yidong <cyd@gnu.org>
12711
12712 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12713
c3f1c606
NR
127142011-11-27 Nick Roberts <nickrob@snap.net.nz>
12715
12716 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12717 gdb-get-source-file-list on gdb-create-source-file-list.
12718
00db469c
EZ
127192011-11-26 Eli Zaretskii <eliz@gnu.org>
12720
12721 * whitespace.el (whitespace-newline): Use a different foreground
12722 color for 16-color light-background displays.
12723
4ad3bc2a
CY
127242011-11-24 Chong Yidong <cyd@gnu.org>
12725
12726 * window.el (display-buffer--special-action): Doc fix.
12727
e9fce1ac
JB
127282011-11-25 Juanma Barranquero <lekktu@gmail.com>
12729
12730 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12731 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12732 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12733 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12734 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12735 (avl-tree-stack-first):
12736 * emacs-lisp/cconv.el (cconv--analyse-use):
12737 * net/gnutls.el (gnutls-negotiate): Fix typos.
12738
cb825e5d
GM
127392011-11-24 Glenn Morris <rgm@gnu.org>
12740
3adbe224
GM
12741 * lpr.el (lpr-windows-system, lpr-lp-system):
12742 * mail/binhex.el (binhex-begin-line):
12743 * progmodes/grep.el (grep-history, grep-find-history):
12744 * textmodes/flyspell.el:
12745 * vc/pcvs-defs.el (cvs-global-menu):
12746 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12747 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12748 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12749
321decc8
GM
12750 * net/tls.el: Fix case of "GnuTLS".
12751
420b63ad
GM
12752 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12753
cb825e5d
GM
12754 * version.el (emacs-build-system): Give it a doc-string.
12755
a0649f08
JL
127562011-11-24 Juri Linkov <juri@jurta.org>
12757
12758 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12759
c0bc0fd4
GM
127602011-11-24 Glenn Morris <rgm@gnu.org>
12761
12762 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12763 if called on a non-mime message just toggle the headers. (Bug#8006)
12764
20db1522
JB
127652011-11-24 Juanma Barranquero <lekktu@gmail.com>
12766
12767 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12768 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12769 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12770 (allout-rebullet-heading, allout-open-sibtopic)
12771 (allout-toggle-current-subtree-encryption)
12772 (allout-toggle-subtree-encryption, allout-encrypt-string)
12773 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12774 (allout-distinctive-bullets-string, allout-auto-activation):
12775 * window.el (window-normalize-buffer-to-display):
12776 * progmodes/verilog-mode.el (verilog-batch-indent):
12777 * textmodes/bibtex.el (bibtex-field-braces-opt)
12778 (bibtex-field-strings-opt):
12779 * vc/cvs-status.el (cvs-tree-merge):
12780 Fix typos.
12781
7262a87c
MA
127822011-11-23 Michael Albinus <michael.albinus@gmx.de>
12783
12784 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12785 `non-essential' to t, in order to avoid remote connections.
12786
283430a1
EZ
127872011-11-23 Eli Zaretskii <eliz@gnu.org>
12788
a1beca85
SM
12789 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12790 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12791 case-insensitively.
12792
d2992a38
ML
127932011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12794
12795 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12796
50419064
GM
127972011-11-23 Glenn Morris <rgm@gnu.org>
12798
da94eca1
GM
12799 * paths.el (rmail-file-name): Reformat the doc-string so that it
12800 is picked up.
12801
9aac4de2
GM
12802 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12803 (rmail-auto-file): Ignore case in the "special" field names,
12804 as mail-fetch-field does for all others.
12805
8038d2d2
GM
12806 * mail/rmail.el (rmail-forward):
12807 * mail/rmailkwd.el (rmail-set-label):
12808 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12809 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12810
f3fe222a
GM
12811 * mail/rmail.el (rmail-current-message): Doc fix.
12812
50419064
GM
12813 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12814
28109f49
SM
128152011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12816
12817 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12818
394c65f1
GM
128192011-11-22 Glenn Morris <rgm@gnu.org>
12820
12821 * mail/rmailmm.el (test-rmail-mime-handler)
12822 (test-rmail-mime-bulk-handler)
12823 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12824
f2a0aa3a
JL
128252011-11-21 Juri Linkov <juri@jurta.org>
12826
1154d12e
JB
12827 * calc/calc.el (calc-read-key-sequence):
12828 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12829
9c34a344
LMI
128302011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12831
12832 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12833 Tell the caller that the next line needs recomputation, even
12834 though it doesn't start a sexp (bug#10094).
12835
f04a3be9
SM
128362011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12837
12838 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12839
7978747f
SM
128402011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12841
f04a3be9
SM
12842 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12843 Use force-same-window.
7978747f 12844
fe7a3057
JB
128452011-11-20 Juanma Barranquero <lekktu@gmail.com>
12846
12847 * descr-text.el (describe-char-unicode-data):
12848 * json.el (json-string-escape):
12849 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12850 (Footnote-unicode, Footnote-style-p):
12851 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12852
24901d61
CY
128532011-11-20 Chong Yidong <cyd@gnu.org>
12854
12855 * window.el (replace-buffer-in-windows): Restore interactive spec.
12856
bac7ff22
SM
128572011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12858
24f3d7b9
SM
12859 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12860
bac7ff22
SM
12861 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12862 (byte-compile-global-not-obsolete-vars): New var.
12863 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12864 Use it.
12865 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12866
cd1181db
JB
128672011-11-20 Juanma Barranquero <lekktu@gmail.com>
12868
12869 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12870 * progmodes/pascal.el (electric-pascal-equal):
12871 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12872 * xml.el (xml-substitute-special): Fix typos.
12873
7fb18e9e
GM
128742011-11-20 Glenn Morris <rgm@gnu.org>
12875
12876 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12877 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12878 Doc fixes.
12879 (rmail-decode-mime-charset): Mark as obsolete.
12880
12881 * mail/rmailsum.el (rmail-message-regexp-p-1):
12882 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12883 Before using mime functions, check they are set. (Bug#10077)
12884
d5a6b3ba
JL
128852011-11-19 Juri Linkov <juri@jurta.org>
12886
12887 * info.el (Info-finder-find-node): Use `package--builtins' instead
12888 of `package-alist'. Use node names formed by the pattern "Keyword "
12889 and the keyword name.
12890
e981b61f
AS
128912011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12892
1d00653d 12893 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12894
3ffbc301
JL
128952011-11-19 Juri Linkov <juri@jurta.org>
12896
12897 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12898 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12899 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12900 `old-history', `old-history-forward'. Add let-binding
12901 `window-selected'. Remove calls to `kill-buffer',
12902 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12903 before calling `Info-find-node', so `Info-find-node-2' will reread
12904 the Info file. Restore window positions only when `window-selected'
12905 is non-nil.
12906
30c62133
JL
129072011-11-19 Juri Linkov <juri@jurta.org>
12908
12909 * isearch.el (isearch-lazy-highlight-new-loop):
12910 Remove condition `(not isearch-error)'. (Bug#9918)
12911
12912 * misearch.el (multi-isearch-search-fun): Add condition
12913 `(not bound)' to ignore lazy-highlighting search.
12914 Add the search-failed message "end of multi" when the end of
12915 multi-sequence is reached. Uncapitalize the search-failed
12916 message "Repeat for next buffer".
12917
12918 * info.el (Info-search): Add the search-failed message
12919 "end of the manual" when the end of the manual is reached
12920 in Isearch mode.
12921
645ca9cf
JL
129222011-11-19 Juri Linkov <juri@jurta.org>
12923
12924 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12925 Use non-destructive `remove' instead of `delete' because
12926 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12927 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12928
df754f66
JL
129292011-11-19 Juri Linkov <juri@jurta.org>
12930
12931 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12932 to nil instead of binding `search-ring' and `regexp-search-ring'.
12933 (Bug#9185)
12934
0e23d96a
EZ
129352011-11-19 Eli Zaretskii <eliz@gnu.org>
12936
12937 * simple.el (line-move): Force movement by logical lines for any
12938 hscrolled window, not only when auto-hscroll-mode is on.
12939 (line-move-visual): Update doc string to that effect. (Bug#10076)
12940
8a6ccb66
AS
129412011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12942
12943 * language/european.el (macintosh): Define as alias for mac-roman.
12944
49ae5b39
EZ
129452011-11-19 Eli Zaretskii <eliz@gnu.org>
12946
12947 * mail/rmailmm.el (rmail-mime-display-header)
12948 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12949 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12950 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12951 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12952 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12953 of a raw aref.
12954 (rmail-mime-entity-segment): To get past the tagline, move forward
12955 2 more lines, to account for the 2 empty lines that precede and
12956 follow the line with the buttons.
12957 (rmail-mime-update-tagline): Move one more line, to get past the
12958 empty line that follows the buttons in the tagline. (Bug#9520)
12959
c56cad4a
MR
129602011-11-19 Martin Rudalics <rudalics@gmx.at>
12961
12962 * window.el (window-max-delta-1, window-min-delta-1)
12963 (window-min-size-1, window-state-get-1, window-state-put-1)
12964 (window-state-put-2): Use "window--" prefix.
12965
cbe71af3
SM
129662011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12967
2ad52c60
SM
12968 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12969 (smie-warning-count): New var.
12970 (smie-set-prec2tab): Use it.
12971 (smie-bnf->prec2): Improve warnings. Add docstring.
12972 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12973 (smie-bnf--set-class): New function.
12974 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12975 corner case.
12976
6944dbc1
SM
12977 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12978 (compilation-error-properties, compilation-move-to-column):
12979 Handle compilation-first-column while in the target buffer.
12980
c400c4d7
SM
12981 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12982 Don't hardcode point-min==1.
12983
6dbe3e96
SM
12984 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12985 (eshell-rewrite-for-command): Remove workaround.
12986 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12987 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12988 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12989
cbe71af3
SM
12990 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12991
a8e1496d
GM
129922011-11-17 Glenn Morris <rgm@gnu.org>
12993
12994 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12995 Ignore buffer-local generated-autoload-file if it is the same
12996 as the global value. (Bug#10049)
12997
df85d315
JB
129982011-11-17 Juanma Barranquero <lekktu@gmail.com>
12999
13000 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13001 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13002 (reftex-toc-previous-heading, reftex-toc-max-level)
13003 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13004 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13005 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13006 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13007 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13008 (reftex-toc-rename-label, reftex-toc-visit-location)
13009 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13010 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13011 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13012 leaving "*toc*" only for references to the buffer.
13013
a0c2d0ae
MR
130142011-11-17 Martin Rudalics <rudalics@gmx.at>
13015
13016 * window.el (window-resize, delete-window, split-window):
13017 Replace window-splits by window-combination-resize.
1d00653d 13018 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13019
35c0bac8
GM
130202011-11-17 Glenn Morris <rgm@gnu.org>
13021
13022 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13023 Make bash entry derive from sh entry, not shell entry.
13024
d0c8fc8a
MA
130252011-11-16 Michael Albinus <michael.albinus@gmx.de>
13026
7262a87c
MA
13027 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13028 local file name.
13029
7877f373
JB
130302011-11-16 Juanma Barranquero <lekktu@gmail.com>
13031
13032 * menu-bar.el (menu-bar-file-menu):
13033 * printing.el (pr-ps-utility):
13034 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13035 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13036 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13037 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13038 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13039 (icalendar--convert-cyclic-to-ical)
13040 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13041 (icalendar--convert-ical-to-diary)
13042 (icalendar--convert-recurring-to-diary)
13043 (icalendar--convert-non-recurring-all-day-to-diary)
13044 (icalendar-import-format-sample):
13045 * progmodes/idlw-shell.el (idlwave-shell-mode):
13046 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13047 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13048 (vhdl-ps-print-init): Fix typos.
13049
10649b82
KM
130502011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13051
9d0cfcd6
GM
13052 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13053 FSF and collapse date sequence, obscure author/maintainer email address
13054 better, remove extra version line, track relocation of author's webpage.
10649b82 13055
9d0cfcd6
GM
13056 * progmodes/python.el (python-pdbtrack-input-prompt)
13057 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13058 regular python pdb prompts. Adjustments shamelessly taken exactly as
13059 suggested in EmacsWiki page (tiny change):
13060 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 13061
58179cce
JB
130622011-11-16 Juanma Barranquero <lekktu@gmail.com>
13063
13064 * expand.el (expand-pos, expand-index, expand-point):
13065 Remove redundant info from docstring.
13066 (expand-add-abbrevs): Doc fix.
13067 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13068 (expand-sample-perl-mode-expand-list): Fix typos.
13069
13070 * net/dbus.el (dbus-event-member-name):
13071 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13072 * term/pc-win.el (msdos-create-frame-with-faces):
13073 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13074
b6f67890
MR
130752011-11-16 Martin Rudalics <rudalics@gmx.at>
13076
13077 * window.el (split-window, window-state-get-1)
13078 (window-state-put-1, window-state-put-2): Rename occurrences of
13079 window-nest to window-combination-limit.
1d00653d 13080 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 13081
ce7ddba0
CY
130822011-11-16 Chong Yidong <cyd@gnu.org>
13083
13084 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13085 regexp (Bug#10033).
13086
3ae704f4
SM
130872011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13088
13089 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13090 `completing-read' will remove *Completions* and will preserve
13091 current-buffer for us.
13092 (tmm-add-prompt): Users of *Completions* will always (re)set its
13093 major mode.
13094 (tmm-old-comp-map): Remove.
13095
6ad1cdde
GM
130962011-11-16 Glenn Morris <rgm@gnu.org>
13097
13098 * mail/rmailedit.el: Require rmailmm when compiling.
13099 (rmail-old-mime-state): New declaration.
13100 (rmail-edit-current-message): If editing a mime message,
13101 edit the "raw" message from the mbox buffer.
13102 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13103
d20faa20
GM
131042011-11-15 Glenn Morris <rgm@gnu.org>
13105
13106 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13107 which wasn't being used. Add optional arg to force given state.
13108 (rmail-mime): Add optional arg to force given state.
13109
c7015153
JB
131102011-11-15 Juanma Barranquero <lekktu@gmail.com>
13111
13112 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13113 * frame.el (display-mm-dimensions-alist):
13114 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13115 (outline-move-subtree-down):
13116 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13117 (newsticker--treeview-do-get-node):
13118 * net/quickurl.el (quickurl-list-buffer-name):
13119 * progmodes/dcl-mode.el (dcl-mode):
13120 * progmodes/gdb-mi.el (gdb-mapcar*):
13121 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13122
45261b50
GM
131232011-11-15 Glenn Morris <rgm@gnu.org>
13124
13125 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13126 in a boolean sense, so just make it a boolean, and fix the doc.
13127 (rmail-show-mime-function, rmail-mime-feature)
13128 (rmail-require-mime-maybe): Doc fixes.
13129 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13130
13131 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13132
0d26e0b6
JB
131332011-11-15 Juanma Barranquero <lekktu@gmail.com>
13134
13135 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13136 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13137 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13138 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13139
447f30f6
GM
131402011-11-15 Glenn Morris <rgm@gnu.org>
13141
672b871d
GM
13142 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13143 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13144 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13145 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13146 (rmail-mime, rmail-show-mime): Doc fixes.
13147
f6aa5bb1
GM
13148 * term/ns-win.el (mode-line-frame-identification):
13149 Leave it alone. (Bug#10051)
13150
947cd66b
GM
13151 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13152
447f30f6
GM
13153 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13154 Handle empty buffers. (Bug#9978)
13155
0b381c7e
JB
131562011-11-14 Juanma Barranquero <lekktu@gmail.com>
13157
13158 * international/mule.el (define-charset):
13159 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13160 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13161 * progmodes/verilog-mode.el (verilog-backward-token):
13162 * textmodes/ispell.el (lookup-words):
13163 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13164
71e027ac
GM
131652011-11-14 Glenn Morris <rgm@gnu.org>
13166
56632ce4
GM
13167 * progmodes/executable.el
13168 (executable-make-buffer-file-executable-if-script-p):
13169 Handle file-modes returning nil.
13170
40500957
GM
13171 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13172 message - not necessary, and causes problems. (Bug#9831)
13173
071c2340
GM
13174 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13175
d3cfca60
GM
13176 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13177
71e027ac
GM
13178 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13179 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13180 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13181
89d61221
MR
131822011-11-12 Martin Rudalics <rudalics@gmx.at>
13183
13184 * window.el (window-resize, delete-window): Use window-splits
13185 variable instead of function.
13186 (window-state-get-1, window-state-put-2, window-state-put):
13187 Don't deal with windows' splits status.
13188
98282f6f
GM
131892011-11-12 Glenn Morris <rgm@gnu.org>
13190
13191 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13192 (apropos-documentation): Doc fixes.
13193
40a8bdf6
JB
131942011-11-11 Juanma Barranquero <lekktu@gmail.com>
13195
13196 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13197 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13198
65bd19ff
SM
131992011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13200
13201 * electric.el (electric-indent-post-self-insert-function): Make it
13202 possible for a char to only indent in some circumstances.
13203 (electric-indent-mode): Simplify.
13204
54f9154c
MR
132052011-11-11 Martin Rudalics <rudalics@gmx.at>
13206
13207 * window.el (windows-with-parameter): Remove unused function.
13208 (windows-at-side): Rename to window-at-side-list.
13209 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13210 (window-side-check, window-size-ignore, window-size-fixed-1)
13211 (window-in-direction-2): Prefix with "window--".
13212 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13213
68cbc58b
GM
132142011-11-11 Glenn Morris <rgm@gnu.org>
13215
13216 * subr.el (eval-after-load): If FILE is already loaded,
13217 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13218
b2621720
GM
132192011-11-10 Glenn Morris <rgm@gnu.org>
13220
9a4de110
GM
13221 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13222 Call svn via vc-svn-command rather than vc-do-command.
13223 (vc-svn-command): Add --non-interactive. (Bug#9993)
13224 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13225
b2621720
GM
13226 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13227 Add toggle-read-only. (Bug#7292)
13228 * files.el (toggle-read-only): Mention that it should only
13229 be used interactively. (Bug#10006)
13230
1dce7193
SM
132312011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13232
d9ac1a1e
SM
13233 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13234 Adjust regexp for OCaml warnings.
13235
0c325082
SM
13236 * electric.el (electric-pair-post-self-insert-function): Let user
13237 turn it off buffer-locally (bug#9932).
13238
90132c14
SM
13239 * progmodes/python.el (python-beginning-of-statement):
13240 Rewrite (bug#2703).
13241
1dce7193
SM
13242 * progmodes/compile.el: Better handle TABs (bug#9749).
13243 (compilation-internal-error-properties)
13244 (compilation-next-error-function): Obey the target buffer's
13245 compilation-error-screen-columns.
13246
c4e7c63a
JB
132472011-11-09 Juanma Barranquero <lekktu@gmail.com>
13248
13249 * progmodes/meta-mode.el: Remove obsolete comments.
13250 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13251 Fix typos in docstrings.
13252
2cffd681
MR
132532011-11-09 Martin Rudalics <rudalics@gmx.at>
13254
13255 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 13256 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
13257 (window--resizable): New function. Make all callers of
13258 window-resizable call window--resizable instead.
13259 (window-resizable): Rewrite in terms of window--resizable.
13260
0edcba87
GM
132612011-11-08 Glenn Morris <rgm@gnu.org>
13262
13263 * progmodes/delphi.el (delphi-mode-syntax-table):
13264 Let define-derived-mode define a proper syntax table. (Bug#9994)
13265
4b0d61e3
SM
132662011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13267
13268 * window.el: Stay away from defsubst.
13269 (window-list-no-nils): Remove.
13270 (window-state-get-1, window-state-get): Use backquote instead.
13271
cd394be1 132722011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 13273
4b0d61e3 13274 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 13275 Fix incorrect use of default argument in `completing-read'.
13276
e1c2c6f2
MR
132772011-11-08 Martin Rudalics <rudalics@gmx.at>
13278
13279 * window.el (display-buffer-function, special-display-function):
13280 Mention display-buffer-record-window but do not mention
13281 help-setup parameter in doc-strings.
b3f4a882 13282 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13283
105216ed
CY
132842011-11-08 Chong Yidong <cyd@gnu.org>
13285
13286 * window.el (window-total-height, window-total-width): Doc fix.
13287 (window-body-size): Move from C.
13288 (window-body-height, window-body-width): Move to C.
13289
0a9f9ab5
SM
132902011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13291
13292 * window.el: Make special-display like display-buffer-alist (bug#9532).
13293 (display-buffer--special-action): New function, morphed
13294 from display-buffer--special.
13295 (display-buffer): Use it to handle special-display-buffers at higher
13296 priority (just after display-buffer-alist).
13297 (display-buffer-fallback-action, display-buffer--other-frame-action)
13298 (pop-to-buffer-same-window): Remove display-buffer--special.
13299
a769dd15
GM
133002011-11-07 Glenn Morris <rgm@gnu.org>
13301
13302 * calendar/cal-menu.el (cal-menu-set-date-title):
13303 Do nothing if not in a calendar. (Bug#9976)
13304
05a61ee3
SM
133052011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13306
13307 * files.el (find-file): Always use selected-window.
13308
be7f5545
MR
133092011-11-07 Martin Rudalics <rudalics@gmx.at>
13310
13311 * window.el (window-combinations): Make WINDOW argument
13312 mandatory. Rewrite doc-string.
13313 (walk-window-subtree, window-atom-check, window-min-delta)
13314 (window-max-delta, window--resize-this-window)
13315 (window--resize-root-window-vertically, window-tree)
13316 (balance-windows, window-state-put): Rewrite doc-strings as to
13317 not mention the term "subwindow".
13318 (window--resize-subwindows-skip-p): Rename to
13319 window--resize-child-windows-skip-p.
13320 (window--resize-subwindows-normal): Rename to
13321 window--resize-child-windows-normal.
13322 (window--resize-subwindows): Rename to
13323 window--resize-child-windows.
13324 (window-or-subwindow-p): Rename to window--in-subtree-p.
13325
3c6702ef
ML
133262011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13327
13328 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13329 Ensure that mbox format messages end in two newlines (Bug#9974).
13330
49745b39
CY
133312011-11-06 Chong Yidong <cyd@gnu.org>
13332
13333 * window.el (window-combination-p): Function deleted; its
13334 side-effect is not used in any existing code.
13335 (window-combinations, window-combined-p): Call window-*-child
13336 directly.
13337
24300f5f
CY
133382011-11-05 Chong Yidong <cyd@gnu.org>
13339
13340 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13341 (window-size-ignore, window-state-get): Callers changed.
13342 (window-normalize-window): Rename from window-normalize-any-window.
13343 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13344 (window-normalize-live-window): Delete.
447f16b8
CY
13345 (window-combination-p, window-combined-p, window-combinations)
13346 (walk-window-subtree, window-atom-root, window-min-size)
13347 (window-sizable, window-sizable-p, window-size-fixed-p)
13348 (window-min-delta, window-max-delta, window-resizable)
13349 (window-resizable-p, window-full-height-p, window-full-width-p)
13350 (window-current-scroll-bars, window-point-1, set-window-point-1)
13351 (window-at-side-p, window-in-direction, window-resize)
13352 (adjust-window-trailing-edge, maximize-window, minimize-window)
13353 (window-deletable-p, delete-window, delete-other-windows)
13354 (record-window-buffer, unrecord-window-buffer)
13355 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13356 (quit-window, split-window, window-state-put)
13357 (set-window-text-height, fit-window-to-buffer)
13358 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13359
89bd5ee1
EZ
133602011-11-04 Eli Zaretskii <eliz@gnu.org>
13361
53479029
EZ
13362 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13363 rfc2047-decode-string.
13364 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13365 warnings.
13366
89bd5ee1
EZ
13367 * window.el (window-body-height, window-body-width): Mention in
13368 the doc string that the return values are in frame's canonical
13369 units. (Bug#9949)
13370
bd17fdee
AM
133712011-11-03 Alan Mackenzie <acm@muc.de>
13372
13373 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13374 change in cc-engine.el.
13375
acc825c5
SM
133762011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13377
13378 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13379
1885e5b8
MR
133802011-11-02 Martin Rudalics <rudalics@gmx.at>
13381
13382 * window.el (quit-window): Call unrecord-window-buffer after
13383 showing another buffer in the window. (Bug#9937)
acc825c5 13384 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13385
ebe06da9
JB
133862011-11-02 Juanma Barranquero <lekktu@gmail.com>
13387
13388 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13389 Accept status with more than 9 shelves. (Bug#9935)
13390 Reported by Colin D Bennett <colin@gibibit.com>.
13391
4ee88440
MR
133922011-11-01 Martin Rudalics <rudalics@gmx.at>
13393
13394 * help.el (with-help-window): Don't reference
13395 temp-buffer-show-specifiers in doc-string.
13396
08e1d82c
AS
133972011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13398
13399 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13400 menu-item.
13401
84bd6e9e
VJL
134022011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13403
13404 * whitespace.el: New version 13.2.2.
13405 (whitespace-newline-mode): Disable properly. Reported by Sarah
13406 <EmacsWiki>.
13407
dba0634a
UJ
134082011-10-30 Ulf Jasper <ulf.jasper@web.de>
13409
13410 * net/newst-treeview.el: Remove "Time-stamp".
13411 (newsticker--group-manage-orphan-feeds): Do not call
13412 newsticker--treeview-tree-update.
db22a3c2
JB
13413 (newsticker-treeview-update, newsticker-treeview):
13414 Call newsticker--treeview-tree-update if necessary.
dba0634a 13415
3d8daefe
MR
134162011-10-30 Martin Rudalics <rudalics@gmx.at>
13417
13418 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13419 (window-iso-combinations): Remove "iso-" infix.
13420 Suggested by Chong Yidong.
3d8daefe
MR
13421 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13422 (window-max-delta-1, window-resize, window--resize-siblings)
13423 (window--resize-this-window, adjust-window-trailing-edge)
13424 (split-window, balance-windows-1)
13425 (shrink-window-if-larger-than-buffer):
13426 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13427 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13428
1bc4c3ae
SM
134292011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13430
13431 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13432 in place (bug#9907).
13433 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13434 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13435 (eshell-structure-basic-command, eshell-rewrite-while-command)
13436 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13437 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13438 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13439 (eshell-do-pipelines-synchronously, eshell-eval-command):
13440 Use backquotes and prefer setq to set.
13441 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13442 (eshell-macrop): Use functionp.
c1e2f5fa 13443 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13444
30b65d9c
CY
134452011-10-30 Chong Yidong <cyd@gnu.org>
13446
13447 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13448 instead of set-mark (Bug#9810).
13449
2d197ffb
CY
134502011-10-30 Chong Yidong <cyd@gnu.org>
13451
13452 * window.el (split-window-below, split-window-right): Rename from
13453 split-window-above-each-other and split-window-side-by-side
13454 respectively. All callers changed.
13455 (split-window-sensibly, split-window-sensibly): Use them.
13456 (split-window-keep-point): Doc fix.
13457
13458 * isearch.el: Add isearch-scroll property to split-window-below
13459 and split-window-right.
13460
13461 * follow.el (follow-mode):
13462 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13463 * progmodes/ada-xref.el (ada-gdb-application):
13464 * emulation/vip.el (vip-buffer-in-two-windows):
13465 * image-dired.el (image-dired-dired-with-window-configuration):
13466 * dired-x.el (dired-do-find-marked-files):
13467 * dired.el (dired-pop-to-buffer):
13468 * bs.el (bs--show-with-configuration):
13469 * vc/emerge.el (emerge-setup-windows):
13470 * textmodes/two-column.el (2C-two-columns):
13471 * textmodes/reftex-toc.el (reftex-toc):
13472 * progmodes/gdb-mi.el (gdb-setup-windows):
13473 * progmodes/fortran.el (fortran-window-create):
13474 * net/newst-treeview.el (newsticker--treeview-window-init):
13475 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13476 * emulation/tpu-edt.el (tpu-gold-map):
13477 * emulation/crisp.el (crisp-mode-map):
13478 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13479
38bb2ca8
CY
134802011-10-29 Chong Yidong <cyd@gnu.org>
13481
aa4de341
CY
13482 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13483
e1eb5385
CY
13484 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13485
5d2ece3c
CY
13486 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13487 forged Ispell output (Bug#7904).
13488
38bb2ca8
CY
13489 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13490
d0af9f77
SM
134912011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13492
13493 * doc-view.el: Avoid ugly errors about not finding nil.
13494 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13495 (doc-view-dvipdf-program, doc-view-unoconv-program)
13496 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13497 Avoid nil or absolute file name as default value.
13498 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13499
52bedd34
AM
135002011-10-28 Alan Mackenzie <acm@muc.de>
13501
db22a3c2 13502 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13503
7e43cfa5
AM
135042011-10-28 Alan Mackenzie <acm@muc.de>
13505
13506 Amend the handling of c-beginning/end-of-defun in nested declaration
13507 scopes.
13508
52bedd34
AM
13509 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13510 cc-langs.el. Change it to a defcustom.
7e43cfa5 13511
52bedd34
AM
13512 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13513 cc-vars.el.
7e43cfa5 13514
d0af9f77
SM
13515 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13516 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13517
52bedd34 13518 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13519 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13520 (c-widen-to-enclosing-decl-scope): New function.
13521 (c-while-widening-to-decl-block): New macro.
13522 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13523 outward for defun boundaries, and correspondingly change symbol
13524 `respect-enclosure' to `go-outward'.
13525 (c-declaration-limits): Change algorithm to report only the "innermost"
13526 defun's boundaries.
13527
1a2ce9ee
DD
135282011-10-28 Deniz Dogan <deniz@dogan.se>
13529
13530 * net/rcirc.el (rcirc-mode): Use hard newlines.
13531
bc97a826
AM
135322011-10-28 Alan Mackenzie <acm@muc.de>
13533
13534 Amend to indent and fontify macros "which include their own semicolon"
13535 correctly, using the "virtual semicolon" mechanism.
13536
52bedd34 13537 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13538
d0af9f77 13539 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13540 Recode to scan one line at a time rather than having \n and \r
58179cce 13541 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13542 (c-forward-label): Amend for virtual semicolons.
58179cce 13543 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13544
52bedd34
AM
13545 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13546 of the new C macros.
bc97a826 13547
52bedd34 13548 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13549 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13550 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13551 (c-opt-cpp-macro-define): Make into a full language variable.
13552 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13553 AWK Mode (including \n, \r) removed, no longer needed.
13554
d0af9f77
SM
13555 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13556 Invoke c-make-macro-with-semi-re.
bc97a826 13557
52bedd34
AM
13558 * progmodes/cc-vars.el (c-macro-with-semi-re):
13559 (c-macro-names-with-semicolon): New variables.
58179cce 13560 (c-make-macro-with-semi-re): New function.
bc97a826 13561
7a6c0941
SM
135622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13563
13564 * vc/log-edit.el: Fill empty field rather than adding new one.
13565 (log-edit-add-field): New function.
13566 (log-edit-insert-changelog): Use it.
13567
b0c4cdcf
ML
135682011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13569
13570 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13571
ee1f1da9
SM
135722011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13573
13574 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13575 (gdb--check-interpreter): New function.
13576 (gdb): Use it.
13577
51bc5f8b
GM
135782011-10-27 Glenn Morris <rgm@gnu.org>
13579
416a2c45
GM
13580 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13581 (least-positive-float, least-negative-float)
13582 (least-positive-normalized-float, least-negative-normalized-float)
13583 (float-epsilon, float-negative-epsilon):
13584 Remove unnecessary declarations.
13585
13586 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13587 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13588 (least-positive-float, least-negative-float)
13589 (least-positive-normalized-float, least-negative-normalized-float)
13590 (float-epsilon, float-negative-epsilon): Add doc-strings,
13591 based on those in cl.texi.
13592
51bc5f8b
GM
13593 * files.el (set-visited-file-name): If the major-mode changed,
13594 reload the local variables. (Bug#9796)
13595
15de15c6
CY
135962011-10-27 Chong Yidong <cyd@gnu.org>
13597
13598 * subr.el (change-major-mode-after-body-hook): New hook.
13599 (run-mode-hooks): Run it.
13600
ee1f1da9
SM
13601 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13602 Use change-major-mode-before-body-hook.
15de15c6
CY
13603
13604 * simple.el (fundamental-mode):
13605 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13606 change introducing fundamental-mode-hook.
13607
5430d399
JB
136082011-10-26 Juanma Barranquero <lekktu@gmail.com>
13609
acc825c5 13610 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13611
ad74a69e
MA
136122011-10-26 Michael Albinus <michael.albinus@gmx.de>
13613
13614 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13615 tramp.el explicitly. (Bug#7583)
ad74a69e 13616
71d4c2a5
SM
136172011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13618
13619 * progmodes/octave-mod.el:
13620 * progmodes/octave-inf.el: Update maintainer.
13621
b1f6fa26
CY
136222011-10-26 Chong Yidong <cyd@gnu.org>
13623
13624 * subr.el (with-wrapper-hook): Rewrite doc.
13625
3f04efd6
MA
136262011-10-25 Michael Albinus <michael.albinus@gmx.de>
13627
13628 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13629 filenames "/method:foo:". (Bug#9793)
3f04efd6 13630
410488d3
SM
136312011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13632
13633 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13634 (bug#9865).
13635
c1ebb47e
GM
136362011-10-24 Glenn Morris <rgm@gnu.org>
13637
13638 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13639
7f5c46c7
MA
136402011-10-24 Michael Albinus <michael.albinus@gmx.de>
13641
13642 * notifications.el: Add the requirement of a running D-Bus session
13643 bus to the Commentary.
13644
db2440b6
JL
136452011-10-24 Juri Linkov <juri@jurta.org>
13646
13647 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13648 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13649 (Bug#9364)
13650
feecf435
JL
136512011-10-24 Juri Linkov <juri@jurta.org>
13652
13653 * info.el (Info-following-node-name-re): Add newline to the list
13654 of allowed characters for leading space. (Bug#9824)
13655
a3839de2
SM
136562011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13657
acc825c5
SM
13658 * progmodes/octave-inf.el (inferior-octave-mode-map):
13659 Fix C-c C-h binding.
a3839de2
SM
13660 * progmodes/octave-mod.el (octave-help): Remove.
13661
09388e76
MA
136622011-10-23 Michael Albinus <michael.albinus@gmx.de>
13663
13664 Sync with Tramp 2.2.3.
13665
13666 * net/tramp-cache.el (top): Pacify byte-compiler using
13667 `init-file-user' and `site-run-file'.
13668
13669 * net/trampver.el: Update release number.
13670
86c60681
CY
136712011-10-23 Chong Yidong <cyd@gnu.org>
13672
13673 * files.el (toggle-read-only): Remove obsolete comment about
13674 version control.
13675
13676 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13677 for toggle-read-only. Note that this hasn't called vc-next-action
13678 since 2008-05-02, though it wasn't documented at the time.
13679
a3839de2
SM
13680 * vc/ediff-init.el (ediff-toggle-read-only-function):
13681 Use toggle-read-only.
86c60681 13682
cd5495ff
AM
136832011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13684
13685 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13686 of c-parse-state.
13687
00b77525 13688 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13689 correct faulty logical expression.
cd5495ff
AM
13690 (c-parse-state-state, c-record-parse-state-state):
13691 (c-replay-parse-state-state): New defvar/defuns.
13692 (c-debug-parse-state): Use new functions.
13693
42ee24ed
MR
136942011-10-22 Martin Rudalics <rudalics@gmx.at>
13695
13696 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 13697 last fix. Use window-in-direction correctly.
42ee24ed 13698
a7dee7e7
CY
136992011-10-21 Chong Yidong <cyd@gnu.org>
13700
13701 * progmodes/idlwave.el (idlwave-mode):
13702 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
13703 require-final-newline; that's done in prog-mode.
13704 Suggested by Stefan Monnier.
a7dee7e7 13705
e07b9a6d
MR
137062011-10-21 Martin Rudalics <rudalics@gmx.at>
13707
13708 * mouse.el (mouse-drag-window-above)
13709 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13710 (mouse-drag-mode-line-1, mouse-drag-header-line)
13711 (mouse-drag-vertical-line-rightward-window): Remove.
13712 (mouse-drag-line): New function.
13713 (mouse-drag-mode-line, mouse-drag-header-line)
13714 (mouse-drag-vertical-line): Call mouse-drag-line.
13715 * window.el (window-at-side-p, windows-at-side): New functions.
13716
7e1361d9
UM
137172011-10-21 Ulrich Mueller <ulm@gentoo.org>
13718
13719 * tar-mode.el (tar-grind-file-mode):
13720 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13721
30fcaf3a
CY
137222011-10-21 Chong Yidong <cyd@gnu.org>
13723
13724 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13725 * progmodes/vera-mode.el (vera-mode):
13726 Use mode-require-final-newline.
30fcaf3a 13727
516eddb0
GM
137282011-10-20 Glenn Morris <rgm@gnu.org>
13729
db22a3c2 13730 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13731
10d5f513
CS
137322011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13733
13734 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13735
ac6c8639
CY
137362011-10-20 Chong Yidong <cyd@gnu.org>
13737
13738 * emulation/cua-base.el (cua-mode):
13739 * mail/footnote.el (footnote-mode):
13740 * mail/mailabbrev.el (mail-abbrevs-mode):
13741 * net/xesam.el (xesam-minor-mode):
13742 * progmodes/bug-reference.el (bug-reference-mode):
13743 * progmodes/cap-words.el (capitalized-words-mode):
13744 * progmodes/compile.el (compilation-minor-mode)
13745 (compilation-shell-minor-mode):
13746 * progmodes/gud.el (gud-tooltip-mode):
13747 * progmodes/hideif.el (hide-ifdef-mode):
13748 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13749 * progmodes/subword.el (subword-mode):
13750 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13751 * progmodes/which-func.el (which-function-mode):
13752 * term/tvi970.el (tvi970-set-keypad-mode):
13753 * term/vt100.el (vt100-wide-mode):
13754 * textmodes/flyspell.el (flyspell-mode):
13755 * textmodes/ispell.el (ispell-minor-mode):
13756 * textmodes/nroff-mode.el (nroff-electric-mode):
13757 * textmodes/paragraphs.el (use-hard-newlines):
13758 * textmodes/refill.el (refill-mode):
13759 * textmodes/reftex.el (reftex-mode):
13760 * textmodes/rst.el (rst-minor-mode):
13761 * textmodes/sgml-mode.el (html-autoview-mode)
13762 (sgml-electric-tag-pair-mode):
13763 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13764 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13765 * emulation/crisp.el (crisp-mode):
13766 * emacs-lisp/eldoc.el (eldoc-mode):
13767 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13768 minor mode behavior.
13769
aa42ab43
JL
137702011-10-19 Juri Linkov <juri@jurta.org>
13771
13772 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13773 the list of hard-coded chars with escape-glyph face.
13774
89400f1d
SM
137752011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13776
13777 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13778
305c07f6
MA
137792011-10-19 Michael Albinus <michael.albinus@gmx.de>
13780
13781 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13782 running process.
13783
13754b54
GM
137842011-10-19 Glenn Morris <rgm@gnu.org>
13785
13786 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13787 Ignore ignored files. (Bug#9726)
13788
06e21633
CY
137892011-10-19 Chong Yidong <cyd@gnu.org>
13790
13791 Doc fix for minor modes, stating that an omitted argument enables
13792 the mode unconditionally when called from Lisp.
13793
13794 * abbrev.el (abbrev-mode):
13795 * allout.el (allout-mode):
13796 * autoinsert.el (auto-insert-mode):
13797 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13798 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13799 (global-auto-revert-mode):
13800 * battery.el (display-battery-mode):
13801 * composite.el (global-auto-composition-mode)
13802 (auto-composition-mode):
13803 * delsel.el (delete-selection-mode):
13804 * desktop.el (desktop-save-mode):
13805 * dired-x.el (dired-omit-mode):
13806 * dirtrack.el (dirtrack-mode):
13807 * doc-view.el (doc-view-minor-mode):
13808 * double.el (double-mode):
13809 * electric.el (electric-indent-mode, electric-pair-mode):
13810 * emacs-lock.el (emacs-lock-mode):
13811 * epa-hook.el (auto-encryption-mode):
13812 * follow.el (follow-mode):
13813 * font-core.el (font-lock-mode):
13814 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13815 * help.el (temp-buffer-resize-mode):
13816 * hilit-chg.el (highlight-changes-mode)
13817 (highlight-changes-visible-mode):
13818 * hi-lock.el (hi-lock-mode):
13819 * hl-line.el (hl-line-mode, global-hl-line-mode):
13820 * icomplete.el (icomplete-mode):
13821 * ido.el (ido-everywhere):
13822 * image-file.el (auto-image-file-mode):
13823 * image-mode.el (image-minor-mode):
13824 * iswitchb.el (iswitchb-mode):
13825 * jka-cmpr-hook.el (auto-compression-mode):
13826 * linum.el (linum-mode):
13827 * longlines.el (longlines-mode):
13828 * master.el (master-mode):
13829 * mb-depth.el (minibuffer-depth-indicate-mode):
13830 * menu-bar.el (menu-bar-mode):
13831 * minibuf-eldef.el (minibuffer-electric-default-mode):
13832 * mouse-sel.el (mouse-sel-mode):
13833 * msb.el (msb-mode):
13834 * mwheel.el (mouse-wheel-mode):
13835 * outline.el (outline-minor-mode):
13836 * paren.el (show-paren-mode):
13837 * recentf.el (recentf-mode):
13838 * reveal.el (reveal-mode, global-reveal-mode):
13839 * rfn-eshadow.el (file-name-shadow-mode):
13840 * ruler-mode.el (ruler-mode):
13841 * savehist.el (savehist-mode):
13842 * scroll-all.el (scroll-all-mode):
13843 * scroll-bar.el (scroll-bar-mode):
13844 * server.el (server-mode):
13845 * shell.el (shell-dirtrack-mode):
13846 * simple.el (auto-fill-mode, transient-mark-mode)
13847 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13848 (line-number-mode, column-number-mode, size-indication-mode)
13849 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13850 * strokes.el (strokes-mode):
13851 * time.el (display-time-mode):
13852 * t-mouse.el (gpm-mouse-mode):
13853 * tool-bar.el (tool-bar-mode):
13854 * tooltip.el (tooltip-mode):
13855 * type-break.el (type-break-mode-line-message-mode)
13856 (type-break-query-mode):
13857 * view.el (view-mode):
13858 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13859 (global-whitespace-mode, global-whitespace-newline-mode):
13860 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13861
a3839de2
SM
13862 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13863 Fix autogenerated docstring.
06e21633 13864
5214e501
JL
138652011-10-19 Juri Linkov <juri@jurta.org>
13866
13867 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13868 by checking environment variables "DESKTOP_SESSION" and
13869 "XDG_CURRENT_DESKTOP". (Bug#9779)
13870
195f8db9
JL
138712011-10-19 Juri Linkov <juri@jurta.org>
13872
13873 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13874 (browse-url-chromium-program, browse-url-chromium-arguments):
13875 New defcustoms.
13876 (browse-url-default-browser): Check for `browse-url-chromium' and
13877 call `browse-url-chromium-program'.
13878 (browse-url-chromium): New command. (Bug#9779)
13879
343a34ff
JB
138802011-10-18 Juanma Barranquero <lekktu@gmail.com>
13881
13882 * facemenu.el (list-colors-duplicates): On Windows, detect more
13883 duplicates by assuming that only colors matching "^System" are
13884 special "system colors". (Bug#9722)
13885
6978a151
SM
138862011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13887
13888 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13889 to distinguish the author from the committer.
13890
6a80b297
MA
138912011-10-18 Michael Albinus <michael.albinus@gmx.de>
13892
13893 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13894
b31a5677
JK
138952011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13896
13897 * international/mule.el (sgml-html-meta-auto-coding-function):
13898 Add support for detecting encoding in HTML5 specified only as
13899 <meta charset="UTF-8">. Implementation just makes http-equiv and
13900 content-type parts from HTML4 encoding string optional. (Bug#9716)
13901
80c6d77f
GM
139022011-10-18 Glenn Morris <rgm@gnu.org>
13903
13904 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13905
08b0fee8
CY
139062011-10-18 Chong Yidong <cyd@gnu.org>
13907
13908 * faces.el (cursor): Doc fix.
13909
67e729a5
CY
139102011-10-17 Chong Yidong <cyd@gnu.org>
13911
13912 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13913
343a34ff 139142011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13915
13916 * dirtrack.el (dirtrack): Support shell buffers with path
13917 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13918
0bc06380
TZ
139192011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13920
13921 * json.el: Bump version to 1.3 and note change in History.
13922 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13923
8b79f3e0
SM
139242011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13925
5a7c536b
SM
13926 * comint.el (comint-insert-input, comint-send-input)
13927 (comint-get-old-input-default, comint-backward-matching-input)
13928 (comint-next-prompt): Use nil instead of `input' for field property of
13929 past user input (bug#114).
13930
96a8a0df
SM
13931 * minibuffer.el (completion--replace): Inherit surrounding properties
13932 (bug#114).
13933 (minibuffer-complete-and-exit): Use it.
13934
8b79f3e0
SM
13935 * comint.el (comint--table-subvert): Quote the all-completions output
13936 (bug#9160).
13937
b8f7ff0d
MR
139382011-10-17 Martin Rudalics <rudalics@gmx.at>
13939
8b79f3e0 13940 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13941
b8f7ff0d 13942 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13943 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13944 entries and separate them from frame entries.
13945
c235b555
GM
139462011-10-15 Glenn Morris <rgm@gnu.org>
13947
13948 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13949 Doc fixes.
13950
6bbfa6e1
CY
139512011-10-15 Chong Yidong <cyd@stupidchicken.com>
13952
8b79f3e0
SM
13953 * net/network-stream.el (network-stream-open-starttls):
13954 Improve detection of failure due to lack of TLS support.
ec5c990d 13955
6bbfa6e1
CY
13956 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13957 putting the input text in front and in bold.
13958
98488977
SM
139592011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13960
3d1337be
SM
13961 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13962
ee0b45e4
SM
13963 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13964 empty buffer.
13965
98488977
SM
13966 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13967 unread-command-events rather than pushing yet-another event.
13968
186f4720
EZ
139692011-10-14 Eli Zaretskii <eliz@gnu.org>
13970
13971 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13972 the explanation of the possible choices. Make the options passed
13973 to completing-read shorter.
13974
8b7a997c
AM
139752011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13976
13977 * textmodes/flyspell.el (flyspell-large-region): Make sure
13978 extended character mode is used if defined (Bug#1339).
13979
12587bbb
EZ
139802011-10-13 Eli Zaretskii <eliz@gnu.org>
13981
13982 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13983 character info for LRE, LRO, RLE, and RLO characters by appending
13984 an invisible PDF.
12587bbb 13985
bad41229
SM
139862011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13987
13988 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13989 even in case of error; add debug spec; simplify data flow.
13990 (with-timeout-handler): Remove.
13991
28dbc92f
MA
139922011-10-12 Michael Albinus <michael.albinus@gmx.de>
13993
13994 Fix Bug#6019, Bug#9315.
13995
13996 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13997 complete `buffer-file-name', the local file name part could look
13998 remotely (for example on VMS).
13999
14000 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14001 `tramp-run-real-handler'.
14002 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14003 already quoted by '"'.
14004
14005 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14006 Let `file-name-handler-alist' be nil, the local file name part
14007 could look remotely (for example on VMS).
14008
e1b0b23a
SM
140092011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14010
14011 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14012 from here...
14013 (flyspell-post-command-hook): ...to here.
14014
a120bde9
SM
140152011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14016
14017 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14018 if not needed.
14019 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14020 using completion. Protect against "slow" callers.
14021 Remove the "message hack".
14022
7ce7717b
JL
140232011-10-11 Juri Linkov <juri@jurta.org>
14024
14025 * isearch.el (isearch-lazy-highlight-word): New variable.
14026 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14027 Use it. (Bug#9727)
14028
c02ee9d6
GM
140292011-10-11 Glenn Morris <rgm@gnu.org>
14030
14031 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14032 like f90-previous-statement does.
14033
93e616fd 140342011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14035
1f190e73 14036 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14037 only in interactive use, to avoid error.
14038
af7b6078
SM
140392011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14040
14041 * minibuffer.el (completion-file-name-table): Fix last change,
14042 i.e. ignore normal errors but not the other ones.
14043
0563dae9
MR
140442011-10-10 Martin Rudalics <rudalics@gmx.at>
14045
14046 * window.el (special-display-buffer-names)
14047 (special-display-regexps): Remove some remnants of earlier
14048 changes from doc-strings.
366ca7f3
MR
14049 (quit-windows-on): New function.
14050
14051 * vc/vc.el (vc-revert, vc-rollback):
14052 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14053 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 14054 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 14055
49677495
MR
140562011-10-09 Martin Rudalics <rudalics@gmx.at>
14057
14058 * window.el (frame-auto-hide-function): Add version tag.
14059 (Bug#9699)
14060
56f2d1e1
MA
140612011-10-09 Michael Albinus <michael.albinus@gmx.de>
14062
14063 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14064 condition.
14065
112a6592
LL
140662011-10-09 Leo Liu <sdl.web@gmail.com>
14067
14068 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14069 (Bug#9701)
14070
0812589b
GM
140712011-10-08 Glenn Morris <rgm@gnu.org>
14072
14073 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14074 before the first code statement zero indent. (Bug#9690)
14075
b2b0776e
CY
140762011-10-08 Chong Yidong <cyd@stupidchicken.com>
14077
14078 * simple.el (count-words-region): Always count in the region.
14079 Report the number of lines and characters too.
14080 (count-words): New command, which counts in the buffer if the
14081 region is inactive, as count-words-region used to.
14082 (count-words--message): New function. Handle plurals.
14083 (count-lines-region): Make it an alias for count-words-region.
14084
14085 * bindings.el (esc-map): Replace count-lines-region with
14086 count-words-region.
14087
c557cd6b
MR
140882011-10-08 Martin Rudalics <rudalics@gmx.at>
14089
14090 * window.el (window--delete): Delete dedicated frame
14091 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 14092 (switch-to-buffer): Fix doc-string typo.
c557cd6b 14093
61a57ef4 140942011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14095
3a7d293b 14096 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 14097
c3833279
CY
140982011-10-07 Chong Yidong <cyd@stupidchicken.com>
14099
14100 * bindings.el ([M-left],[M-right]): Bind to left-word and
14101 right-word respectively.
14102
21ce8245
GM
141032011-10-07 Glenn Morris <rgm@gnu.org>
14104
14105 * cus-start.el (debug-on-quit): Fix custom type.
14106
6d823bb2
LMI
141072011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14108
0181e193
LMI
14109 * subr.el (define-key-after): Clarify that the function is not
14110 useful for non-menu keymaps.
14111
6d823bb2
LMI
14112 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14113
8e3459ce 141142011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14115
21ce8245 14116 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 14117 in current minibuffer (Fix bug with recursive minibuffers).
14118
a1c2d21e
CY
141192011-10-06 Chong Yidong <cyd@stupidchicken.com>
14120
14121 * progmodes/gdb-mi.el (gdb): Doc fix.
14122
5a4cf282
MR
141232011-10-05 Martin Rudalics <rudalics@gmx.at>
14124
14125 * window.el (frame-auto-hide-function): New option replacing
14126 frame-auto-delete. Suggested by Stefan Monnier.
14127 (window--delete): Call frame-auto-hide-function instead of
14128 investigating frame-auto-delete.
c96111ea
MR
14129 (window-point-1, set-window-point-1): New functions.
14130 (window-in-direction, record-window-buffer, window-state-get-1)
14131 (display-buffer-record-window): Use window-point-1 instead of
14132 window-point.
14133 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 14134
9854542e
SM
141352011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14136
14137 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14138
8943cfb0
GM
141392011-10-05 Glenn Morris <rgm@gnu.org>
14140
14141 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14142 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14143
647ab967
LL
141442011-10-05 Leo Liu <sdl.web@gmail.com>
14145
14146 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14147 works with buffer object.
14148
3ddfbced
SM
141492011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14150
14151 * mpc.el (mpc-tool-bar-map): Add labels.
14152
bdfa5dd2
GM
141532011-10-04 Glenn Morris <rgm@gnu.org>
14154
14155 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14156
0e2070b5
MR
141572011-10-04 Martin Rudalics <rudalics@gmx.at>
14158
14159 * window.el (window--delete): New function.
14160 (frame-auto-delete): Resuscitate option.
14161 (bury-buffer, replace-buffer-in-windows)
14162 (quit-window): Rewrite using window--delete.
14163 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14164 Pass display-buffer-mark-dedicated to window--display-buffer-2
14165 (Bug#9639).
14166
3dc61a09
SM
141672011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14168
915a9b64
SM
14169 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14170 returns a list (bug#9554). Add remote file name completion.
14171 * comint.el (comint--table-subvert): Curry and get quote&unquote
14172 functions as arguments.
14173 (comint--complete-file-name-data): Adjust call accordingly.
14174 * pcomplete.el (pcomplete--table-subvert): Remove.
14175 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14176
3dc61a09
SM
14177 * minibuffer.el (completion-table-case-fold): Use currying.
14178 (completion--styles-type, completion--cycling-threshold-type):
14179 New constants.
14180 (completion-styles, completion-category-overrides)
14181 (completion-cycle-threshold): Use them.
14182 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14183 completion-table-case-fold.
14184
8ea0a993
SB
141852011-10-03 Stephen Berman <stephen.berman@gmx.net>
14186
14187 * minibuffer.el (completion-category-overrides): Fix type of styles
14188 and add more user friendly tags (bug#9660).
14189
8c24b7f6
SM
141902011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14191
14192 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14193 (mule-input-method-string): New widget.
14194 (default-input-method, language-info-custom-alist): Use it.
14195
428fe61a
SM
141962011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14197
32c1fffd
SM
14198 * pcomplete.el: Require comint.
14199 (pcomplete--common-suffix): Remove.
14200 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14201 (pcomplete--table-subvert): Sync with comint--table-subvert.
14202 (pcomplete--entries): Use comint-completion-file-name-table.
14203 * comint.el (comint-unquote-filename): Simplify.
14204 (comint-completion-file-name-table): New function (bug#9616).
14205 (comint--complete-file-name-data): Use it.
14206
428fe61a
SM
14207 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14208 (pcmpl-gnu-tar-buffer): Remove.
14209 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14210 around. Make sure pcomplete-suffix-list is only changed temporarily.
14211 Don't look inside the tar's file if it's too large.
428fe61a 14212
04c52e2f
CY
142132011-10-01 Chong Yidong <cyd@stupidchicken.com>
14214
ce3cefcc
CY
14215 * cus-edit.el (custom-mode-map):
14216 * epa.el (epa-key-list-mode-map):
14217 * man.el (Man-mode-map):
14218 * startup.el (splash-screen-keymap):
14219 * simple.el (special-mode-map): Use scroll-up-command and
14220 scroll-down-command.
14221
14222 * progmodes/idlw-help.el (idlwave-help-mode-map):
14223 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14224 * net/newst-plainview.el (newsticker-mode-map):
14225 * emulation/ws-mode.el (wordstar-mode-map):
14226 * emulation/vi.el (vi-com-map):
14227 * calc/calc-graph.el (calc-graph-show-dumb):
14228 * term/sun.el (terminal-init-sun):
14229 * term/ns-win.el (global-map):
14230 * progmodes/grep.el (grep-mode-map):
14231 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14232 * mail/rmail.el (rmail-mode-map):
14233 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14234
04c52e2f
CY
14235 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14236 custom-safe-themes as special.
14237
79adf8c8
JD
142382011-10-01 Julien Danjou <julien@danjou.info>
14239
14240 * notifications.el (notifications-notify): Fix docstring.
14241
63bd50d3
PS
142422011-10-01 Per Starbäck <per@starback.se>
14243
14244 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14245
199e4c7e
MR
142462011-09-30 Martin Rudalics <rudalics@gmx.at>
14247
14248 * startup.el (command-line-1): Fix last fix by inserting
14249 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 14250 (Bug#9605) and (Bug#9636)
199e4c7e 14251
fe5f08dd
EZ
142522011-09-29 Eli Zaretskii <eliz@gnu.org>
14253
14254 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14255 window is hscrolled, move by logical lines. (Bug#9607)
14256 (line-move-visual): Update the doc string to the above effect.
14257
b5516bbd
MR
142582011-09-29 Martin Rudalics <rudalics@gmx.at>
14259
ccee00c0
MR
14260 * window.el (display-buffer-record-window): When WINDOW is the
14261 selected window use `point' instead of `window-point'. (Bug#9626)
14262
b5516bbd
MR
14263 * startup.el (command-line-1): Use insert-before-markers when
14264 inserting initial-scratch-message. (Bug#9605)
ccee00c0 14265
b5516bbd
MR
14266 * help.el (help-window): Remove variable.
14267
52aa0014
GM
142682011-09-29 Glenn Morris <rgm@gnu.org>
14269
14270 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14271
df9a7357
JB
142722011-09-29 Juanma Barranquero <lekktu@gmail.com>
14273
14274 * descr-text.el (describe-char-categories): Accept category
14275 descriptions more than one line long.
14276
a8406c20
SM
142772011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14278
88d9610c
SM
14279 * simple.el (delete-trailing-whitespace): Fix last change.
14280
a5daf810
SM
14281 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14282 Don't confuse "y => 3" as the beginning of a `y' operation.
14283
a8406c20
SM
14284 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14285 object has more than 4 slots (bug#9613).
14286
a239d4e9
JB
142872011-09-28 Juanma Barranquero <lekktu@gmail.com>
14288
14289 * subr.el (with-output-to-temp-buffer):
14290 * net/quickurl.el (quickurl, quickurl-browse-url):
14291 Fix typos in docstrings.
14292
693fbdb6
EZ
142932011-09-27 Eli Zaretskii <eliz@gnu.org>
14294
14295 * minibuffer.el (completion-styles)
14296 (completion-category-overrides): Cross reference each other in doc
14297 strings.
14298
8b457e28
GM
142992011-09-27 Glenn Morris <rgm@gnu.org>
14300
14301 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14302 to split-string. (Bug#9606)
14303
85a16208
LMI
143042011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14305
14306 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14307 (bug#9615).
14308
502f9ebd
CY
143092011-09-27 Chong Yidong <cyd@stupidchicken.com>
14310
14311 * emacs-lisp/package.el (list-packages): Fix echo area message.
14312
7690bdea
LL
143132011-09-27 Leo Liu <sdl.web@gmail.com>
14314
14315 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14316
e2ee6f30
MA
143172011-09-25 Michael Albinus <michael.albinus@gmx.de>
14318
14319 * net/dbus.el (dbus-unregister-object): Don't release services for
14320 registered signals. (Bug#9581)
14321
f3f98342
TZ
143222011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14323
14324 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14325 function that picks between cfengine 2 and 3 support
14326 automatically. Update docs accordingly.
14327
dd7aa8dd
KH
143282011-09-22 Kenichi Handa <handa@m17n.org>
14329
14330 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14331 ZERO.
14332 (indian-itrans-v5-table-for-tamil): New variable.
14333 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14334
3f2b07f8
KM
143352011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14336
14337 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14338 that's true if the current command involved collapsing of text.
14339 It's reset to false at the beginning of the next command.
14340 (allout-post-command-business): Move the cursor to the beginning
14341 of entry if the cursor is hidden and collapsing activity just
14342 happened.
14343
371d6a61
CY
143442011-09-24 Chong Yidong <cyd@stupidchicken.com>
14345
14346 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14347 tracking (Bug#9541).
14348
2ac2721a
UJ
143492011-09-24 Ulf Jasper <ulf.jasper@web.de>
14350
14351 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14352 (newsticker-show-news): Automatically load html rendering package
14353 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14354 because w3m-fill-column is let-bound" and the error "Symbol's value
14355 as variable is void: w3m-fill-column".
2ac2721a 14356
fac7ae53
MA
143572011-09-24 Michael Albinus <michael.albinus@gmx.de>
14358
14359 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14360 Release services only if they are defined. (Bug#9581)
14361
e08b633b
RS
143622011-09-23 Richard Stallman <rms@gnu.org>
14363
e488d29c
RS
14364 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14365 distinguish start of paragraph from start of its text.
14366
19c38752
RS
14367 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14368
e08b633b
RS
14369 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14370 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14371 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14372
0a39f27e
AS
143732011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14374
14375 * international/mule-diag.el (mule-diag): Insert a newline after
14376 each fontset description.
14377
db4e950d
SM
143782011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14379
14380 * simple.el (delete-trailing-whitespace):
14381 Document last change; simplify.
14382
eca3f3ea
PW
143832011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14384
d68e189a
PW
14385 * simple.el (delete-trailing-whitespace): Also delete
14386 extra newlines at the end of the buffer.
14387
eca3f3ea
PW
14388 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14389 (picture-newline): Use forward-line so as to ignore fields.
14390
01c157cc
SM
143912011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14392
14393 * subr.el (with-wrapper-hook): Fix edebug spec.
14394
022de23e
LMI
143952011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14396
14397 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14398 (bug#4538).
14399
91683089
MA
144002011-09-23 Michael Albinus <michael.albinus@gmx.de>
14401
eca3f3ea
PW
14402 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14403 Fix nasty bug using wrong cached values.
91683089 14404
5bdd6fa4
AM
144052011-09-23 Alan Mackenzie <acm@muc.de>
14406
14407 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14408
97adfb97
CY
144092011-09-23 Chong Yidong <cyd@stupidchicken.com>
14410
14411 * window.el (pop-to-buffer): Ensure right window is selected if we
14412 chose another frame.
14413
d4ef2b50
EZ
144142011-09-22 Eli Zaretskii <eliz@gnu.org>
14415
14416 * simple.el (what-cursor-position): Use get-char-property-change
14417 and next-single-char-property-change, to be able to show display
14418 properties that come from overlays as well as text properties.
14419
72258fe5
CY
144202011-09-22 Chong Yidong <cyd@stupidchicken.com>
14421
14422 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14423
14424 * cmuscheme.el (run-scheme, switch-to-scheme):
14425 * cus-edit.el (customize-group, custom-buffer-create)
14426 (customize-browse):
14427 * info.el (info):
14428 * shell.el (shell):
14429 * mail/sendmail.el (mail):
14430 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14431
8f098516
RS
144322011-09-22 Richard Stallman <rms@gnu.org>
14433
14434 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14435 move back only to line beg, don't move back over blank lines.
14436
e74f1bb6
MA
144372011-09-22 Michael Albinus <michael.albinus@gmx.de>
14438
14439 * files.el (copy-directory): Set directory attributes only in case
14440 they could be retrieved from the source directory. (Bug#9565)
14441
bfeef8b6
DK
144422011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14443
14444 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14445 (hs-find-block-beginning, hs-hide-level-recursive):
14446 Ignore strings as well as comments. (Bug#9502)
14447
7e423bb8
AS
144482011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14449
14450 * progmodes/sql.el (sql-comint-postgres):
14451 Convert port number to a string. (Bug#9566)
14452
b4d72fcf
MR
144532011-09-22 Martin Rudalics <rudalics@gmx.at>
14454
14455 * window.el (quit-window): Undedicate window when switching to
14456 previous buffer. Reported by Thierry Volpiatto
14457 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14458 (special-display-popup-frame): When popping up a new frame reset
14459 its previous buffers to nil. Simplify code.
b4d72fcf 14460
a7b88dc6
MA
144612011-09-21 Michael Albinus <michael.albinus@gmx.de>
14462
14463 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14464 and process filter, as done also in `shell-command'.
14465
cf4eacfd
MR
144662011-09-21 Martin Rudalics <rudalics@gmx.at>
14467
eca3f3ea 14468 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14469 Call set-window-start with NOFORCE argument t.
14470 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14471 (quit-window): Reword doc-string. Handle new format of
14472 quit-restore parameter. Don't delete window if it has a
14473 previous buffer we can show instead of the present one.
14474 (display-buffer-record-window): Rewrite using a new format for
14475 the quit-restore window parameter
14476 (special-display-popup-frame, display-buffer-same-window)
14477 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14478 (display-buffer-pop-up-window, display-buffer-use-some-window):
14479 Adapt symbol passed to display-buffer-record-window.
14480 * help.el (help-window-setup): Handle new format of quit-restore
14481 parameter.
14482
8d28cb95
SM
144832011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14484
94ab793f
SM
14485 * faces.el (face-list): Fix docstring (bug#9564).
14486
8d28cb95
SM
14487 * window.el (display-buffer--action-function-custom-type):
14488 Don't include internal functions in the Custom interface.
14489
3820edeb
JL
144902011-09-20 Juri Linkov <juri@jurta.org>
14491
14492 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14493 (Info-forward-node, Info-backward-node, Info-next-preorder)
14494 (Info-last-preorder): Use it. (Bug#9528)
14495
5147931d
JL
144962011-09-20 Juri Linkov <juri@jurta.org>
14497
14498 * info.el (Info-last-preorder): Visit last menu item only when
14499 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14500
cf499a1a
JD
145012011-09-20 Julien Danjou <julien@danjou.info>
14502
14503 * password-cache.el (password-cache-remove): Remove entries even if the
14504 value is nil, so that password with a nil value (negative caching) is
14505 possible to invalidate.
14506
f84e2fe2
LM
145072011-09-20 Lawrence Mitchell <wence@gmx.li>
14508
14509 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14510 all whitespace around breakpoint. (Bug#9553)
14511 (f90-find-breakpoint): Only break at whitespace inside a comment.
14512
78054a46
SM
145132011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14514
14515 * minibuffer.el (completion-file-name-table): Keep track of errors.
14516 (completion-table-with-predicate): Handle the case where pred1 is nil.
14517 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14518
345083b2
SM
145192011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14520
e24e27be
SM
14521 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14522 (debugger-return-value): Signal an error if the debugging context does
14523 not await any return value.
14524
345083b2
SM
14525 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14526 * image-mode.el (image-toggle-display-text)
14527 (image-toggle-display-image): Stay away from evil `intangible'.
14528
08d355e3
LL
145292011-09-19 Leo Liu <sdl.web@gmail.com>
14530
14531 * replace.el (occur-revert-arguments): Make it permanent-local.
14532 (occur-mode): Don't call font-lock-defontify.
14533
f01da43f
CY
145342011-09-19 Chong Yidong <cyd@stupidchicken.com>
14535
14536 * net/ldap.el (ldap-search-internal): Don't push empty search
14537 result (Bug#9508).
14538
b6072fa6
SM
145392011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14540
14541 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14542
443d6696
MA
145432011-09-19 Michael Albinus <michael.albinus@gmx.de>
14544
14545 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14546 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14547
7cc6e154
JL
145482011-09-18 Juri Linkov <juri@jurta.org>
14549
14550 * buff-menu.el (Buffer-menu-mode-map):
14551 * dired.el (dired-mode-map):
14552 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14553 (lisp-interaction-mode-map):
14554 * emacs-lisp/package.el (package-menu-mode-map):
14555 * epa.el (epa-key-list-mode-map):
14556 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14557 (menu-bar-options-menu):
14558 * outline.el (outline-mode-menu-bar-map):
14559 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14560 * vc/vc-dir.el (vc-dir-menu-map):
14561 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14562 Capitalize non-function content words in menu item strings.
14563
14564 * dired.el (dired-mode-map): Add menu item for
14565 `image-dired-dired-toggle-marked-thumbs'.
14566
80302a81
JL
145672011-09-18 Juri Linkov <juri@jurta.org>
14568
14569 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14570 to `isearch-case-fold-search' and restore its original value
14571 after the `isearch-mode' call.
14572
46c5cf66
JL
145732011-09-18 Juri Linkov <juri@jurta.org>
14574
14575 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14576 because `zgrep' returns 1 for successful matches (bug#9226).
14577
d18b513b
JL
145782011-09-18 Juri Linkov <juri@jurta.org>
14579
14580 * info.el (Info-extract-menu-node-name): Check the second match
14581 for empty string (second test-case of bug#9528).
14582 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14583 intermediate nodes to the history (first test-case of bug#9528).
14584
72753f87
JL
145852011-09-18 Juri Linkov <juri@jurta.org>
14586
14587 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14588 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14589
c9384295
JL
145902011-09-18 Juri Linkov <juri@jurta.org>
14591
1154d12e
JB
14592 * info.el (Info-file-supports-index-cookies):
14593 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14594 outputs one more line for long file names (bug#4142).
c9384295 14595
d473dce8
CY
145962011-09-18 Chong Yidong <cyd@stupidchicken.com>
14597
14598 * newcomment.el (comment-normalize-vars): If prompting for
14599 comment-start, set comment-start-skip too (Bug#8424).
14600
2176854d
JB
146012011-09-18 Johan Bockgård <bojohan@gnu.org>
14602
14603 * icomplete.el: Fix previous fix of Bug#5849.
14604 (icomplete-mode): Don't set completion-show-inline-help.
14605 (icomplete-minibuffer-setup): Set completion-show-inline-help
14606 locally during icompletion.
14607
3aace4e4
CY
146082011-09-18 Chong Yidong <cyd@stupidchicken.com>
14609
c940224f
CY
14610 * woman.el (woman2-process-escapes): Don't delete unrecognized
14611 escapes (Bug#7843).
14612
3aace4e4
CY
14613 * files.el (inhibit-first-line-modes-regexps): Add image files.
14614 (hack-local-variables-prop-line): Return nil for malformed
14615 prop-lines (Bug#9044).
14616
710dec63
MA
146172011-09-18 Michael Albinus <michael.albinus@gmx.de>
14618
14619 * net/tramp.el (top): Don't require 'shell.
14620 (tramp-methods): Fix docstring.
14621 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14622 Return complete remote file name. Handle "smb" case.
14623 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14624 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14625
14626 * net/tramp-compat.el (top): Require 'shell.
14627
14628 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14629 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14630 `tramp-current-host'.
14631 (tramp-get-remote-tmpdir): Remove.
14632
14633 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14634 `tramp-tmpdir' entries.
14635 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14636 (tramp-smb-handle-file-attributes): Ignore errors.
14637 (tramp-smb-wait-for-output): Check also for process end.
14638
5d5ac8ec
LMI
146392011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14640
14641 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14642 when sending QUIT (bug#9312).
14643
8c0f49f0
CY
146442011-09-17 Chong Yidong <cyd@stupidchicken.com>
14645
14646 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14647 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14648 occur-mode-display-occurrence.
14649 (occur-edit-mode): Add usage message.
14650 (occur-cease-edit): New command.
14651 (occur-after-change-function): Use text properties to find the
14652 position of the prefix text.
14653 (occur-engine): Set stickiness of prefix text properties.
14654
8f1383f7
GM
146552011-09-17 Glenn Morris <rgm@gnu.org>
14656
14657 * progmodes/etags.el (complete-tag):
14658 Fix call to completion-in-region. (Bug#9526)
14659
744ba0e3
JL
146602011-09-17 Juri Linkov <juri@jurta.org>
14661
14662 * textmodes/ispell.el (ispell-word): Add to the error message
14663 the word, ispell program name and current dictionary (bug#9121).
14664 (ispell-tex-arg-end): Capitalize "error" in the error message.
14665
d9bbf400
AS
146662011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14667
14668 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14669 check. (Bug#4251)
14670
8da11505
JL
146712011-09-17 Juri Linkov <juri@jurta.org>
14672
14673 * window.el (window-safe-min-height, window-safe-min-width):
14674 Fix typos (followup to bug#9522).
14675
a91adc7e
SJ
146762011-09-17 Sven Joachim <svenjoac@gmx.de>
14677
14678 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14679
064f328a
EZ
146802011-09-16 Eli Zaretskii <eliz@gnu.org>
14681
14682 * simple.el (line-move): If goal-column is set, move by logical
14683 lines, not by display lines. (Bug#971)
14684 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14685 to reflect the above change.
14686
e69df516
SM
146872011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14688
14689 * image.el (imagemagick-register-types): Use regexp-opt.
14690
cbb0f9ab
CY
146912011-09-15 Chong Yidong <cyd@stupidchicken.com>
14692
14693 * window.el (display-buffer-base-action): Rename from
14694 display-buffer-default-action. Make default value empty.
14695 (display-buffer-overriding-action): Convert to defvar.
14696 (display-buffer-fallback-action): New var.
14697
25322144
CY
146982011-09-15 Chong Yidong <cyd@stupidchicken.com>
14699
14700 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14701 declaration.
14702 (package--add-to-archive-contents): If there is a duplicate entry
14703 with an older version, remove it.
14704 (package-menu-mark-delete, package-menu-mark-install)
14705 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
14706 (package-menu-mark-obsolete-for-deletion):
14707 Use package-menu-get-status instead of a regexp search.
25322144
CY
14708 (package-menu-get-status): Use tabulated-list-entry.
14709 (package-menu-mark-upgrades): New command.
d770725a 14710 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
14711 (package-menu-execute): Do installation before deletion.
14712 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14713 instead of checking major-mode.
14714 (package-menu--find-upgrades): New function.
14715
7520339c
LMI
147162011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14717
14718 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14719 passwords in the log buffer.
65a046c4
LMI
14720 (smtpmail-process-filter): Update the process marker so that the
14721 "broken by peer" status message is inserted in the right place.
7520339c 14722
d3c30954
SM
147232011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14724
3fe48822
SM
14725 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14726 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14727 bibtex-completion-at-point-function.
14728 (bibtex-completion-at-point-function): Use them.
14729
1b8b3954
SM
14730 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14731
d3c30954
SM
14732 * mpc.el (mpc-constraints-tag-lookup): New function.
14733 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14734 also to browser "album|playlist".
14735
72779976
JL
147362011-09-14 Juri Linkov <juri@jurta.org>
14737
14738 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14739 (isearch-edit-string): Use length of `isearch-string' when
14740 `isearch-fail-pos' returns nil.
14741 (isearch-message): Remove duplicate code and call
14742 `isearch-fail-pos' with arg `t'.
14743
a0bf2bcd
CY
147442011-09-14 Chong Yidong <cyd@stupidchicken.com>
14745
17bb0a2d
CY
14746 * replace.el (occur-mode-goto-occurrence): Don't force using other
14747 window (Bug#9499).
14748
a0bf2bcd
CY
14749 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14750
f678e0b6
MR
147512011-09-14 Martin Rudalics <rudalics@gmx.at>
14752
14753 * window.el (display-buffer-window): Remove.
14754 (display-buffer-record-window): Use help-setup window parameter
14755 instead of variable display-buffer-window.
14756 (display-buffer-function, special-display-buffer-names)
14757 (special-display-function): Mention help-setup parameter instead
14758 of display-buffer-window in doc-string.
d3c30954
SM
14759 * help.el (help-window-setup): New argument help-window.
14760 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14761 Reword some messages.
14762 (with-help-window): Pass window used for displaying the buffer
14763 to help-window-setup. Don't set display-buffer-window.
14764
8e39b2e8
GM
147652011-09-13 Glenn Morris <rgm@gnu.org>
14766
14767 * emacs-lisp/debug.el (debugger-make-xrefs):
14768 Preserve point. (Bug#9462)
14769
85e9c04b
CY
147702011-09-13 Chong Yidong <cyd@stupidchicken.com>
14771
14772 * window.el (window-deletable-p): Use next-frame.
14773
1b36ed6a
MR
147742011-09-13 Martin Rudalics <rudalics@gmx.at>
14775
14776 * window.el (window-auto-delete): Remove.
14777 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14778 dedication and previous buffers.
1b36ed6a
MR
14779 (switch-to-prev-buffer): Don't delete window.
14780 (delete-windows-on): Delete a window's frame if and only if the
14781 window is dedicated.
14782 (replace-buffer-in-windows): Delete buffer's window or frame if
14783 and only if window is dedicated.
14784 (quit-window): Handle quit-restore as before last change.
4d61f28d 14785 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14786
ef8ef9fb
CY
147872011-09-13 Chong Yidong <cyd@stupidchicken.com>
14788
14789 * window.el (window-deletable-p): Never delete the last frame on a
14790 given terminal.
14791
b2cba41e
GM
147922011-09-13 Glenn Morris <rgm@gnu.org>
14793
14794 * help.el (describe-key-briefly): Copy previous standard-output change.
14795
51553db6 147962011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14797
14798 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14799
b7556719
GM
148002011-09-13 Glenn Morris <rgm@gnu.org>
14801
14802 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14803 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14804
64b51947
CY
148052011-09-12 Chong Yidong <cyd@stupidchicken.com>
14806
14807 * dired-aux.el (dired-mark-read-string): Don't return default
14808 value on empty input (Bug#9361).
14809 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14810 Omit initial minibuffer contents.
14811 (dired-do-chmod): Signal an error on empty input.
14812 (dired-mark-read-string): Don't return default on empty input.
14813
14814 * files.el (file-modes-symbolic-to-number): Doc fix.
14815
393a301e
SM
148162011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14817
14818 * international/mule-cmds.el (ucs-completions): Remove.
14819 (read-char-by-name): Use complete-with-action instead; add metadata.
14820
fa5660f9
CY
148212011-09-11 Chong Yidong <cyd@stupidchicken.com>
14822
14823 * window.el (display-buffer--action-function-custom-type)
14824 (display-buffer--action-custom-type): New vars.
14825 (display-buffer-alist, display-buffer-default-action)
14826 (display-buffer-overriding-action): Add defcustom types.
14827
4a592f66
CY
14828 * frame.el (delete-other-frames): Doc fix (Bug#276).
14829
73d56dbd
LMI
148302011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14831
14832 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14833
37ac18a3
CY
148342011-09-11 Chong Yidong <cyd@stupidchicken.com>
14835
14836 Change modes that used same-window-* vars to use switch-to-buffer.
14837
14838 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14839 Use switch-to-buffer.
14840
14841 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14842 (customize-browse, custom-buffer-create-other-window):
14843 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14844
14845 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14846 (Info-prev, Info-up, Info-speedbar-goto-node)
14847 (info-display-manual): Use switch-to-buffer.
14848 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14849
14850 * mail/sendmail.el (mail): Use switch-to-buffer.
14851 (mail-recover): Use switch-to-buffer-other-window.
14852
14853 * cmuscheme.el (run-scheme, switch-to-scheme):
14854 * ielm.el (ielm):
14855 * shell.el (shell):
14856 * net/rlogin.el (rlogin):
14857 * net/telnet.el (telnet, rsh):
14858 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14859
10195bd6
AS
148602011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14861
14862 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14863
b322f63a
LMI
148642011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14865
39d7fed6
LMI
14866 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14867 so don't mention it (bug#9301).
ba5a81f1 14868 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14869
ee0e9f11
LMI
14870 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14871 match `x', `w32' and `ns', like the manual says (bug#9029).
14872
0b1c89c1 14873 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14874 (process-kill-buffer-query-function): Mention the buffer name in
14875 the query.
0b1c89c1 14876
77549ea8
LMI
14877 * image-mode.el (image-next-line): The line parameter is mandatory
14878 (bug#9258).
14879
803ef892
LMI
14880 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14881 which can be useful (bug#9301).
14882
12980837
LMI
14883 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14884
91054f8f
LMI
14885 * subr.el (match-string): Mention that the current buffer should
14886 be the same as the search was done in (bug#9282).
14887
b322f63a
LMI
14888 * facemenu.el: Disable the remove-* commands if the mark isn't
14889 active (bug#9162).
14890
3199b96f
CY
148912011-09-10 Chong Yidong <cyd@stupidchicken.com>
14892
14893 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14894 of display-buffer.
14895 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14896
14897 * replace.el (occur-mode-goto-occurrence)
14898 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14899 and display-buffer.
14900
14901 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14902 display-buffer.
14903
14904 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14905 special-display and same-window variables.
14906 (mail-other-window): Use switch-to-buffer-other-window.
14907 (mail-other-frame): USe switch-to-buffer-other-frame.
14908
393a301e
SM
14909 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14910 Use display-buffer-other-frame.
3199b96f
CY
14911 (gdb-display-gdb-buffer): Use pop-to-buffer.
14912
14913 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14914
14915 * progmodes/python.el: Don't set same-window-buffer-names.
14916
14917 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14918
14919 * window.el (display-buffer-alist): Add *Python*.
14920
8319e0bf
CY
149212011-09-10 Chong Yidong <cyd@stupidchicken.com>
14922
14923 * window.el (display-buffer-alist): Add entry for buffers
14924 previously handled same-window-*.
14925 (display-buffer-alist, display-buffer-default-action)
14926 (display-buffer-overriding-action): Mark as risky.
14927 (display-buffer-alist): Document action function changes.
14928 (display-buffer--same-window-action)
14929 (display-buffer--other-frame-action): New variables.
14930 (switch-to-buffer, display-buffer-other-frame): Use them.
14931 (display-buffer): Rename reuse-frame entry to reusable-frames.
14932 (display-buffer-reuse-selected-window): Function deleted.
14933 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14934 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14935 (display-buffer-special): New function.
14936 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14937 display-buffer-reuse-or-pop-window. Split off special-display
14938 part into display-buffer-special.
14939 (display-buffer-use-some-window): Don't perform any special
14940 pop-up-frames handling.
14941 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14942 (display-buffer--maybe-same-window): Rename from
0d3ff375 14943 display-buffer-maybe-same-window.
8319e0bf 14944
919a69aa
CY
14945 * info.el: Don't set same-window-regexps.
14946 (info-setup): New function.
14947 (info-other-window, info): Call it.
14948
14949 * cus-edit.el: Don't set same-window-regexps.
14950 (customize-group): New argument.
14951 (customize-group-other-window): Use it.
14952 (customize-face, customize-face-other-window): Likewise.
14953 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14954
8319e0bf
CY
14955 * net/rlogin.el:
14956 * net/telnet.el:
14957 * progmodes/gud.el: Don't set same-window-regexps.
14958
14959 * cmuscheme.el:
14960 * ielm.el:
14961 * shell.el:
14962 * mail/sendmail.el:
14963 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14964
25173000
JL
149652011-09-10 Juri Linkov <juri@jurta.org>
14966
14967 * isearch.el (isearch-edit-string): Remove obsolete mention of
14968 `C-w' (`isearch-yank-word-or-char') from docstring.
14969 (isearch-query-replace): Fix typo in docstring (bug#9466).
14970
056e44ef
JL
149712011-09-10 Juri Linkov <juri@jurta.org>
14972
14973 * paren.el (show-paren-function): Don't show escaped parens.
14974 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14975
c3760c17
EZ
149762011-09-10 Eli Zaretskii <eliz@gnu.org>
14977
14978 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14979 (mm-default-file-encoding): Remove autoload forms, they are
14980 replaced with autoload cookies in mml.el and mm-encode.el.
14981 (mail-add-attachment): New command.
14982 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14983 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14984 the doc string.
14985 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14986
fece895e
RT
149872011-09-10 Reuben Thomas <rrt@sc3d.org>
14988
e69df516
SM
14989 * simple.el (count-words-region): Use buffer if there's no region
14990 (bug#9429).
fece895e 14991
5e68ce4a
JL
149922011-09-09 Juri Linkov <juri@jurta.org>
14993
14994 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14995 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14996 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14997
0a6b9622
AM
149982011-09-09 Alan Mackenzie <acm@muc.de>
14999
15000 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15001 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15002
14a29deb
EZ
150032011-09-09 Eli Zaretskii <eliz@gnu.org>
15004
15005 Fix for Savannah bug#9392.
15006 * simple.el (mail-encode-mml): New defvar.
15007
15008 * mail/rmail.el (mail-encode-mml): Add a defvar.
15009 (rmail-enable-mime-composing): Default to t.
15010 (rmail-forward): Use MIME method of forwarding only if both
15011 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15012 Set mail-encode-mml non-nil if the MIME method was used.
15013
15014 * mail/sendmail.el (mml-to-mime): Add autoload form.
15015 (mail-encode-mml): Add a defvar.
15016 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15017 to nil.
15018 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15019 message through mml-to-mime, and reset mail-encode-mml to nil.
15020
28c45130
GM
150212011-09-09 Glenn Morris <rgm@gnu.org>
15022
15023 * woman.el (woman-if-body): When processing an .el block,
15024 do not delete the next .el block as well. (Bug#9447)
69f4b618 15025 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15026
9b1c252e
MR
150272011-09-08 Martin Rudalics <rudalics@gmx.at>
15028
15029 * window.el (window-deletable-p): Make sure window is live before
15030 invoking window-prev-buffers.
15031
567457e3
LL
150322011-09-08 Leo Liu <sdl.web@gmail.com>
15033
15034 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15035
97f05794
JL
150362011-09-08 Juri Linkov <juri@jurta.org>
15037
15038 * progmodes/compile.el (compilation-environment): Make it
15039 a defcustom (bug#8340).
15040
8b0874b5
MR
150412011-09-08 Martin Rudalics <rudalics@gmx.at>
15042
15043 * window.el (frame-auto-delete): Rename to window-auto-delete.
15044 Make it control auto-deletion of windows and/or frames.
15045 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15046 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15047 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15048 Rewrite handling of case when window/frame can be deleted.
15049 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 15050 argument t. (Bug#9456)
8b0874b5 15051
4feb6e73
CY
150522011-09-07 Chong Yidong <cyd@stupidchicken.com>
15053
15054 * help-mode.el (help-mode): Restore autoload.
15055
91ab9c13
JL
150562011-09-07 Juri Linkov <juri@jurta.org>
15057
15058 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15059 `compilation-environment'. Set buffer-local
15060 `compilation-environment' to `thisenv' later after (funcall mode).
15061 (Bug#8340)
15062
15063 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15064 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15065 instead of replacing its value. (Bug#8340)
15066
0527e251
JL
150672011-09-07 Juri Linkov <juri@jurta.org>
15068
15069 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15070 based on text properties put by `grep-filter' instead of matching
15071 escape sequences.
15072 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15073 to the value of `grep-error-screen-columns' (bug#9438).
15074
249f792c
JL
150752011-09-07 Juri Linkov <juri@jurta.org>
15076
15077 * simple.el (next-error-highlight, next-error-highlight-no-select):
15078 Doc fix (bug#9432).
15079
ff7271b9
OT
150802011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15081
15082 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15083 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15084
183fc730
LL
150852011-09-07 Leo Liu <sdl.web@gmail.com>
15086
15087 * net/rcirc.el (rcirc-mode): Conditionally initialize
15088 rcirc-input-ring.
15089
77694924
SM
150902011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15091
15092 * emacs-lisp/find-func.el (find-function-C-source): Only set
15093 find-function-C-source-directory after checking that we found a source
15094 file there (bug#9440).
15095
d809b8eb
AM
150962011-09-06 Alan Mackenzie <acm@muc.de>
15097
15098 * isearch.el (isearch-other-meta-char): Wherever a key list is
15099 unread, "unread" the prefix arg, too. This fixes bug #8901.
15100
453de99f
OG
151012011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15102
15103 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15104
90439906
JL
151052011-09-05 Juri Linkov <juri@jurta.org>
15106
15107 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15108
f62bd846
JL
151092011-09-05 Juri Linkov <juri@jurta.org>
15110
15111 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15112 keeping point where processing of grep matches begins, and
15113 continue to delete remaining escape sequences from the same point.
15114 (grep-filter): Make leading zero optional in "0?1;31m" because
15115 git-grep emits "\033[1;31m" escape sequences unlike expected
15116 "\033[01;31m" as GNU Grep does (bug#9408).
15117 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15118
045820ec
JL
151192011-09-05 Juri Linkov <juri@jurta.org>
15120
15121 * subr.el (y-or-n-p): Capitalize "yes".
15122
f5e29b9b
MA
151232011-09-04 Michael Albinus <michael.albinus@gmx.de>
15124
15125 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15126 `tramp-cache-unload-hook' where appropriate.
15127 (tramp-methods): Rename `tramp-remote-sh' to
15128 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15129 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15130
15131 * net/tramp-sh.el (top): Don't require 'shell.
15132 (tramp-methods): Add `tramp-remote-shell' and
15133 `tramp-remote-shell-args' entries.
15134 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15135 (tramp-sh-handle-shell-command): Remove.
15136 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15137 Use `tramp-remote-shell'.
15138
2784c434
CY
151392011-09-03 Chong Yidong <cyd@stupidchicken.com>
15140
393a301e 15141 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
15142 (sendmail-query-once): Save directly to send-mail-function.
15143 Update message-send-mail-function too.
15144
15145 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15146
464cdf56
CS
151472011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15148
15149 * progmodes/python.el (python-mode-map): Use correct function to
15150 start python interpreter from menu-bar (as reported by Geert
15151 Kloosterman).
15152 (inferior-python-mode-map): Fix typo.
393a301e 15153 (python-shell-map): Remove.
464cdf56 15154
d37e5c87
DD
151552011-09-03 Deniz Dogan <deniz@dogan.se>
15156
15157 * net/rcirc.el (rcirc-print): Simplify code for
15158 rcirc-scroll-show-maximum-output. There is no need to walk
15159 through all windows to find the right one.
15160
f3ada0ee
CS
151612011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15162
15163 * help.el (help-return-method): Doc fix.
15164
1f3c99ca
MR
151652011-09-03 Martin Rudalics <rudalics@gmx.at>
15166
15167 * window.el (window-deletable-p): Don't return a non-nil value
15168 when there's a buffer that was shown in the window before.
15169 (Bug#9419)
393a301e
SM
15170 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15171 Set window's previous buffers to nil.
1f3c99ca 15172
a3cf097f
EZ
151732011-09-03 Eli Zaretskii <eliz@gnu.org>
15174
15175 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15176 newline before and after the tag line, so it doesn't interfere
15177 with determining the paragraph direction of bidirectional text.
15178
3d03de90
LL
151792011-09-03 Leo Liu <sdl.web@gmail.com>
15180
15181 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15182
c3313451
CY
151832011-09-02 Chong Yidong <cyd@stupidchicken.com>
15184
393a301e 15185 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15186 (pop-to-buffer): Change interactive spec. Pass second argument
15187 directly to display-buffer.
15188 (display-buffer): Fix interactive spec. Use functionp to
15189 distinguish between a function and a list of functions.
15190
15191 * abbrev.el (edit-abbrevs):
15192 * arc-mode.el (archive-extract):
15193 * autoinsert.el (auto-insert):
15194 * bookmark.el (bookmark-bmenu-list):
15195 * files.el (find-file):
15196 * view.el (view-buffer):
15197 * progmodes/compile.el (compilation-goto-locus):
15198 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15199
89894cd8
CY
152002011-09-02 Chong Yidong <cyd@stupidchicken.com>
15201
15202 * window.el (display-buffer-alist): Doc fix.
15203 (display-buffer): Add docstring. Don't treat
15204 display-buffer-default specially.
15205 (display-buffer-reuse-selected-window)
15206 (display-buffer-same-window, display-buffer-maybe-same-window)
15207 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15208 (display-buffer-pop-up-window)
15209 (display-buffer-reuse-or-pop-window)
15210 (display-buffer-use-some-window): New functions.
15211 (display-buffer-default-action): Use them.
393a301e 15212 (display-buffer-default): Delete.
89894cd8
CY
15213 (pop-to-buffer-1): Fix choice of actions.
15214
ae0bc9fb
SM
152152011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15216
15217 * minibuffer.el (completion--insert-strings): Don't get confused by
15218 completion entries that end with an LF char.
15219
e9d90883
EZ
152202011-09-01 Eli Zaretskii <eliz@gnu.org>
15221
15222 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15223
437014c8
CY
152242011-09-01 Chong Yidong <cyd@stupidchicken.com>
15225
15226 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15227 (display-buffer-same-window, display-buffer-other-window):
15228 New functions.
437014c8
CY
15229 (pop-to-buffer-1): New function. Use the above.
15230 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15231 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
15232
15233 * view.el (view-buffer-other-window, view-buffer-other-frame):
15234 Just use pop-to-buffer.
15235
a5e063d5
TV
152362011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15237
15238 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15239
793d32bb
WH
152402011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15241
15242 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15243
d65e4c15
RS
152442011-08-31 Richard Stallman <rms@gnu.org>
15245
15246 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15247 of the separation of rmail-view-buffer from rmail-buffer.
15248 If you say no to "replace original", the decrypt is in the
15249 view buffer. If you say yes, the decrypt goes into the
15250 rmail buffer also.
15251
f818cd2a
MR
152522011-08-31 Martin Rudalics <rudalics@gmx.at>
15253
15254 * window.el (display-buffer-window): Rewrite doc-string.
15255 (display-buffer-record-window): New function.
15256 (display-buffer-macro-specifiers)
15257 (display-buffer-even-window-sizes, display-buffer-set-height)
15258 (display-buffer-set-width, display-buffer-in-window)
15259 (display-buffer-reuse-window, display-buffer-split-specifiers)
15260 (display-buffer-side-specifiers, display-buffer-split-window-1)
15261 (display-buffer-split-window, display-buffer-split-atom-window)
15262 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15263 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15264 (display-buffer-other-window-means-other-frame)
15265 (display-buffer-normalize-special)
15266 (display-buffer-normalize-default)
15267 (display-buffer-normalize-argument)
15268 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15269 (display-buffer-normalize-specifiers, display-buffer-frame)
15270 (display-buffer-same-window, display-buffer-same-frame)
15271 (display-buffer-other-window)
15272 (display-buffer-same-frame-other-window)
15273 (display-buffer-other-frame, pop-to-buffer-same-window)
15274 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15275 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15276 (switch-to-buffer-same-frame)
15277 (switch-to-buffer-other-window-same-frame)
15278 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15279 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15280 (display-buffer-alist-set): Remove.
15281 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15282 (special-display-regexps, special-display-function):
15283 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15284 parameter.
15285 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15286 (special-display-frame-alist, special-display-popup-frame)
15287 (same-window-buffer-names, same-window-regexps, same-window-p)
15288 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15289 (split-window-preferred-function, split-height-threshold)
15290 (split-width-threshold, window-splittable-p)
15291 (split-window-sensibly, window--try-to-split-window)
15292 (window--frame-usable-p, even-window-heights)
15293 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15294 (window--display-buffer-2, display-buffer-other-frame):
15295 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15296 (display-buffer-default, display-buffer-assq-regexp): New functions.
15297 (display-buffer-alist): Rewrite doc-string.
15298 (display-buffer-default-action)
15299 (display-buffer-overriding-action): New variables.
15300 (display-buffer, switch-to-buffer): Rewrite.
15301 (pop-to-buffer): Restore Emacs 23 behavior but use
15302 window-normalize-buffer-to-display.
15303 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15304 Restore Emacs 23 behavior but use
15305 window-normalize-buffer-to-switch-to.
15306 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15307 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15308 Rewrite using Emacs 23 options.
f818cd2a 15309
5bc3b51d
MA
153102011-08-31 Michael Albinus <michael.albinus@gmx.de>
15311
15312 * net/tramp.el (tramp-root-regexp): Remove.
15313 (tramp-completion-file-name-regexp-unified)
15314 (tramp-completion-file-name-regexp-separate)
15315 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15316 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15317 (tramp-drop-volume-letter): Simplify definition.
15318 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15319
b1a4f8e1
SM
153202011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15321
15322 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15323 (bug#9356).
15324
5664fa7b
RT
153252011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15326
b1a4f8e1 15327 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15328
9a45d6c3
JL
153292011-08-29 Juri Linkov <juri@jurta.org>
15330
15331 * isearch.el (isearch-done): Don't display message "Mark saved"
15332 when arg `edit' is non-nil to prevent its flicker in the echo area.
15333
fb87e0fb
CY
153342011-08-28 Chong Yidong <cyd@stupidchicken.com>
15335
15336 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15337 obsolete packages for deletion.
15338
09ac1c2a
CS
153392011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15340
15341 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15342 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15343 view-mode from help-mode.
15344 (help-xref-override-view-map): Remove.
15345 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15346 view-mode is not used anymore.
15347
7a1ff57f
CY
153482011-08-28 Chong Yidong <cyd@stupidchicken.com>
15349
15350 * server.el (server-port): Doc fix.
15351
b9696605
CY
15352 * cus-theme.el (custom-theme-choose-mode): Inherit from
15353 special-mode (Bug#9124).
15354 (custom-theme-choose-mode-map): Add special-mode to parent.
15355
ef8cdf8c
AM
153562011-08-28 Alan Mackenzie <acm@muc.de>
15357
15358 * progmodes/cc-fonts.el
15359 (c-make-font-lock-BO-decl-search-function): New function.
15360 (c-basic-matchers-after - "Fontify the clauses after various
15361 keywords"): Extract the three keyword lists for the 3 erroneous
15362 constructs from the list of four, and use the new function above
15363 in place of an old one.
15364
27de4e20
DD
153652011-08-28 Deniz Dogan <deniz@dogan.se>
15366
15367 * net/rcirc.el (rcirc-insert-prev-input)
15368 (rcirc-insert-next-input): Remove unused argument.
15369
356a3681
SM
153702011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15371
15372 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15373
3fc9b218
AM
153742011-08-27 Alan Mackenzie <acm@muc.de>
15375
15376 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15377 handle function pointer parameters properly.
15378
538a061c
MR
153792011-08-27 Martin Rudalics <rudalics@gmx.at>
15380
15381 * window.el (display-buffer-reuse-window): Fix case where
15382 selected window was reused with non-nil OTHER-WINDOW argument.
15383 (Bug#9381)
15384
35b1c40c
DD
153852011-08-27 Deniz Dogan <deniz@dogan.se>
15386
15387 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15388 oftc's NickServ messages.
15389
2f6a3e79
GM
153902011-08-27 Glenn Morris <rgm@gnu.org>
15391
15392 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15393
7254299e
CY
153942011-08-26 Chong Yidong <cyd@stupidchicken.com>
15395
15396 * emacs-lisp/package.el (package-install): Call package-initialize
15397 if called interactively.
15398
f8ccf167
LL
153992011-08-26 Leo Liu <sdl.web@gmail.com>
15400
15401 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15402
3e8cd5ce
JL
154032011-08-25 Juri Linkov <juri@jurta.org>
15404
15405 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15406 `search-whitespace-regexp' (bug#9364).
15407
93eb7113
JL
154082011-08-25 Juri Linkov <juri@jurta.org>
15409
15410 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15411 `regexp-search-ring' to their global values to protect from
15412 updating by `read-from-minibuffer' (bug#9185).
15413
f65d1611
JL
154142011-08-25 Juri Linkov <juri@jurta.org>
15415
15416 * textmodes/ispell.el (ispell-command-loop): Add newline
15417 at the end of the "Use option `i'..." line.
15418
f1cf7a31
JL
154192011-08-25 Juri Linkov <juri@jurta.org>
15420
15421 * battery.el (display-battery-mode): If `battery-status-function'
15422 or `battery-mode-line-format' is nil, display the message and set
15423 `display-battery-mode' to nil (bug#9363).
15424
0c95fcf7
EZ
154252011-08-25 Eli Zaretskii <eliz@gnu.org>
15426
15427 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15428 bidi-string-mark-left-to-right; they are unnecessary now.
15429
a2ebe600
DD
154302011-08-25 Deniz Dogan <deniz@dogan.se>
15431
15432 * net/quickurl.el: Documentation typo fixes.
15433
e4ed06f1
CY
154342011-08-25 Chong Yidong <cyd@stupidchicken.com>
15435
15436 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15437
e5f1c99e
GM
154382011-08-25 Glenn Morris <rgm@gnu.org>
15439
b2948976
GM
15440 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15441
e5f1c99e
GM
15442 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15443 (smtpmail-via-smtp): Handle nil response from smtp.
15444
f22f4808
JL
154452011-08-24 Juri Linkov <juri@jurta.org>
15446
15447 * proced.el (proced-marked): Inherit from `error' instead of
15448 `font-lock-warning-face'.
15449
15450 * ibuffer.el (ibuffer-marked-face): Change default face from
15451 `font-lock-warning-face' to `warning'.
15452 (ibuffer-deletion-face): Change default face from
15453 `font-lock-type-face' to `error'.
15454
15455 * battery.el (battery-update): Use the face `error' instead of
15456 `font-lock-warning-face' (bug#6117).
15457
6a93965e
JL
154582011-08-24 Juri Linkov <juri@jurta.org>
15459
15460 * faces.el (success): Change face color from "Green3" to
15461 "ForestGreen" on light background (bug#9353).
15462
1ed43b09
CY
154632011-08-24 Chong Yidong <cyd@stupidchicken.com>
15464
5664fa7b
RT
15465 * window.el (quit-window): Rename from quit-restore-window.
15466 Use same arglist as old quit-window.
1ed43b09
CY
15467 (frame-auto-delete): Doc fix.
15468
15469 * view.el (view-mode-exit): Use quit-window.
15470
11dcdbb2
JL
154712011-08-24 Juri Linkov <juri@jurta.org>
15472
15473 * isearch.el (isearch-ring-adjust1): Start visiting previous
15474 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15475 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15476 for empty search string (when the last search string is reused
15477 automatically) to adjust the isearch ring to the last element and
15478 prepare the correct index for further M-p commands (bug#9185).
15479
de62b4df
KH
154802011-08-24 Kenichi Handa <handa@m17n.org>
15481
15482 * international/ucs-normalize.el: If decomposition property of
15483 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15484 nil.
15485 (nfd, nfkd): Likewise.
15486
963b492b
SM
154872011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15488
15489 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15490 from process filters aren't reliably transmitted to the surrounding
15491 accept-process-output.
15492 (mpc-proc-check): New function.
15493 (mpc-proc-sync): Use it (bug#8293)
15494
93b6b5e1
SM
154952011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15496
15497 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15498 Add compatibility functions (bug#9313).
15499
bca633fb
EZ
155002011-08-23 Eli Zaretskii <eliz@gnu.org>
15501
b177498a
EZ
15502 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15503
6df6ae42 15504 * international/uni-bidi.el: Regenerate.
bca633fb 15505
0902a04e
KH
155062011-08-23 Kenichi Handa <handa@m17n.org>
15507
15508 * international/charprop.el:
15509 * international/uni-bidi.el:
15510 * international/uni-category.el:
15511 * international/uni-combining.el:
15512 * international/uni-comment.el:
15513 * international/uni-decimal.el:
15514 * international/uni-decomposition.el:
15515 * international/uni-digit.el:
15516 * international/uni-lowercase.el:
15517 * international/uni-mirrored.el:
15518 * international/uni-name.el:
15519 * international/uni-numeric.el:
15520 * international/uni-old-name.el:
15521 * international/uni-titlecase.el:
15522 * international/uni-uppercase.el: Regenerate.
15523
3bbf23bc
MR
155242011-08-23 Martin Rudalics <rudalics@gmx.at>
15525
15526 * help.el (help-window-setup): Fix message displayed when other
15527 window is reused. (Bug#9341)
15528
b3fd59bd
SM
155292011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15530
1802e444
SM
15531 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15532 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15533
b3fd59bd
SM
15534 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15535 Mark obsolete.
15536 * shell.el (shell-parse-pcomplete-arguments): New function.
15537 (shell-completion-vars): Use it instead (bug#9160).
15538
4eb61348
SM
155392011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15540
867cab74
SM
15541 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15542 strings and comments (bug#9333).
15543
4eb61348
SM
15544 * emacs-lisp/debug.el (debug-arglist): New function.
15545 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15546 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15547
262a1439
JL
155482011-08-22 Juri Linkov <juri@jurta.org>
15549
56ee679c
JL
15550 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15551 Revert regexp that highlights output switches to its old
15552 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15553
262a1439
JL
15554 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15555 to check for empty output (bug#9226).
15556
f13f86fb
CY
155572011-08-22 Chong Yidong <cyd@stupidchicken.com>
15558
15559 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15560 symbol-constituent as the default, as that stops font-lock from
15561 working properly (Bug#8843).
15562
c65c9622
LMI
155632011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15564
15565 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15566 `coding-system-for-*' around the process open call to avoid
15567 auth-source side effects.
e7f2c178 15568 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15569 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15570 probe hangs.
c65c9622 15571
23a8a5ab
CY
155722011-08-21 Chong Yidong <cyd@stupidchicken.com>
15573
ff98b2dd
CY
15574 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15575
23a8a5ab
CY
15576 * emacs-lisp/find-func.el (find-function-noselect): New arg
15577 lisp-only.
15578
15579 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15580 signal an error for built-in functions (Bug#6664).
15581
f5e3c598
LMI
155822011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15583
15584 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15585 (smtpmail-try-auth-methods): Use it.
15586
a3f2468a
CY
155872011-08-21 Chong Yidong <cyd@stupidchicken.com>
15588
2c34e8da
CY
15589 * font-lock.el (font-lock-fontify-region)
15590 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15591 (font-lock-default-unfontify-buffer)
15592 (font-lock-default-fontify-region)
15593 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15594
b3fd59bd
SM
15595 * progmodes/compile.el (compilation-error-properties):
15596 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15597 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15598 `ant' regexp.
ee31aabc 15599
a3f2468a
CY
15600 * net/browse-url.el (browse-url-firefox): Don't call
15601 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15602
8e999f70
GM
156032011-08-20 Glenn Morris <rgm@gnu.org>
15604
c21a496a
GM
15605 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15606
59ee0542
GM
15607 * tutorial.el (tutorial--default-keys): Update some default bindings.
15608
8e999f70
GM
15609 * files.el (hack-local-variables): Fully ignore case for "mode:".
15610
e3715033
AM
156112011-08-20 Alan Mackenzie <acm@muc.de>
15612
15613 Resolve invalid use of a regexp in regexp-opt.
15614
4d61f28d
JB
15615 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15616 detection for a java annotation.
e3715033 15617
4d61f28d 15618 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15619 detection for a java annotation.
15620
4d61f28d
JB
15621 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15622 handling for java.
e3715033
AM
15623 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15624
04ed2e9c
CY
156252011-08-20 Chong Yidong <cyd@stupidchicken.com>
15626
15627 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15628 (Bug#9274).
15629
826cee64
AM
156302011-08-20 Alan Mackenzie <acm@muc.de>
15631
58179cce 15632 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15633 such a construct. Mainly for when jit-lock etc. starts a chunk
15634 here.
15635
58179cce 15636 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15637 variable.
58179cce 15638 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15639 c-make-font-lock-search-function.
15640 (c-make-font-lock-search-function): Use the above function.
15641 (c-make-font-lock-context-search-function): New function.
15642 (c-cpp-matchers): Enhance the preprocessor expression case with
15643 the above function
15644 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15645 which takes an expression.
15646
15647 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15648
13009bd8
MR
156492011-08-20 Martin Rudalics <rudalics@gmx.at>
15650
15651 * window.el (display-buffer-reuse-window)
15652 (display-buffer-pop-up-window): Don't reuse or split a side
15653 window.
15654
9234ff7f
GM
156552011-08-19 Glenn Morris <rgm@gnu.org>
15656
15657 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15658 Downcase "Mode:". (Bug#9331)
9234ff7f 15659
f635daa1
CY
156602011-08-18 Chong Yidong <cyd@stupidchicken.com>
15661
15662 * international/characters.el: Add L and R categories.
15663
15664 * subr.el (bidi-string-mark-left-to-right): Rename from
15665 string-mark-left-to-right. Use category search.
15666
15667 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15668
bc987f8b
JL
156692011-08-18 Juri Linkov <juri@jurta.org>
15670
15671 * faces.el (error, warning, success): New faces with definitions
15672 copied from old default values of `font-lock-warning-face',
15673 `compilation-warning', `compilation-info' (bug#6117).
15674
15675 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15676
15677 * progmodes/compile.el (compilation-error): Inherit from `error'.
15678 (compilation-warning): Inherit from `warning'.
15679 (compilation-info): Inherit from `success'.
15680
15681 * dired.el (dired-marked): Inherit from `warning'.
15682 (dired-flagged): Inherit from `error'.
15683
57173b96
LMI
156842011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15685
3e79eb87
LMI
15686 * mail/smtpmail.el (auth-source): Require to avoid problems with
15687 binding variables (bug#9298). Also clean up some unused
15688 autoloads.
15689
b3fd59bd
SM
15690 * net/network-stream.el (network-stream-open-starttls):
15691 Support using starttls.el without using gnutls-cli.
57173b96 15692
02b404de
JL
156932011-08-17 Juri Linkov <juri@jurta.org>
15694
15695 * progmodes/grep.el (rgrep): Handle the case when
15696 `grep-find-command' is a cons cell (bug#9278).
15697
8c9177f2
MR
156982011-08-17 Martin Rudalics <rudalics@gmx.at>
15699
15700 * window.el (display-buffer-pop-up-frame): Run frame creation
15701 function with BUFFER current (as special-display-popup-frame
15702 does). Reported by Drew Adams.
15703
3644a0ab
DU
157042011-08-17 Daiki Ueno <ueno@unixuser.org>
15705
15706 * epa-mail.el: Simplify GnuPG group expansion using
15707 epg-expand-group.
15708 (epa-mail-group-alist, epa-mail-group-modtime)
15709 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15710 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15711 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15712 Remove.
15713
5e617bc2 157142011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
15715
15716 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15717
9c4aeabf
AM
157182011-08-16 Alan Mackenzie <acm@muc.de>
15719
15720 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15721 Correct, to avoid the inside of macros.
15722
3a99bf64
RS
157232011-08-16 Richard Stallman <rms@gnu.org>
15724
04963aa8
RS
15725 * epa-mail.el: Handle GnuPG group definitions.
15726 (epa-mail-group-alist, epa-mail-group-modtime)
15727 (epa-mail-gnupg-conf-file): New variables.
15728 (epa-mail-parse-groups, epa-mail-sync-groups)
15729 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15730 (epa-mail-expand-recipients): New functions.
15731 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15732
177549d0
RS
15733 * mail/rmail.el (rmail-epa-decrypt): New command.
15734
fe38beef
RS
15735 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15736 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15737 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15738 (epa-decrypt-armor-in-region): Make error message clearer.
15739
934eacb9
SM
157402011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15741
15742 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15743 and "a2b" to "ab" for `prefix'.
15744
d024fb4e
CY
157452011-08-14 Chong Yidong <cyd@stupidchicken.com>
15746
15747 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15748 filter groups.
de148fee
CY
15749 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15750 Fourquet (Bug#8804).
d024fb4e 15751
62f1ca49
JB
157522011-08-12 Juanma Barranquero <lekktu@gmail.com>
15753
15754 * startup.el (argi): Declare as global variable (bug#9275).
15755
9ccaaa4b
CY
157562011-08-12 Chong Yidong <cyd@stupidchicken.com>
15757
15758 * subr.el (string-mark-left-to-right): Search the entire string
15759 for RTL script, not just the terminating character. Doc fix.
15760
a3dae87a
SM
157612011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15762
6cd18349
SM
15763 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15764 New function.
15765 (js--regexp-literal, js-syntax-propertize-function): Remove.
15766 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15767 (js-mode-map): Don't rebind electric keys.
15768 (js-insert-and-indent): Remove.
15769 (js-mode): Setup electric-layout and electric-indent instead.
15770
a3dae87a
SM
15771 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15772
9d5cb631
DU
157732011-08-12 Daiki Ueno <ueno@unixuser.org>
15774
15775 * epa.el (epa-progress-callback-function): Fix the logic of
15776 displaying progress.
15777 * epa-file.el (epa-file-insert-file-contents): Make progress
15778 display more user-friendly.
15779 (epa-file-write-region): Ditto.
15780
3e26a4a2
CY
157812011-08-10 Chong Yidong <cyd@stupidchicken.com>
15782
15783 * subr.el (string-mark-left-to-right): New function.
15784
15785 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15786 Use string-mark-left-to-right.
15787 (list-buffers-noselect): Caller changed.
15788
a3dae87a
SM
15789 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15790 Use string-mark-left-to-right.
3e26a4a2
CY
15791 (tabulated-list-print): Recenter after moving point.
15792
ac8cf6e6
JL
157932011-08-10 Juri Linkov <juri@jurta.org>
15794
15795 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15796 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15797 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15798
8d96c9a4
CY
157992011-08-09 Chong Yidong <cyd@stupidchicken.com>
15800
15801 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15802 (Bug#7554).
15803
7be1c708 158042011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15805
15806 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15807 character. (Bug#6594)
15808
37e11a63
CY
158092011-08-08 Chong Yidong <cyd@stupidchicken.com>
15810
839dde57
CY
15811 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15812 (image-dired--with-db-file): New macro.
15813 (image-dired-write-tags, image-dired-remove-tag)
15814 (image-dired-create-gallery-lists, image-dired-write-comments)
15815 (image-dired-get-comment, image-dired-mark-tagged-files)
15816 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15817 (image-dired-gallery-generate): Use insert-file-contents.
15818
37e11a63
CY
15819 * time.el (display-time-world-list, display-time-world-display):
15820 * time-stamp.el (time-stamp-string):
15821 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15822 set-time-zone-rule (Bug#7337).
15823
0b4946c4
DU
158242011-08-08 Daiki Ueno <ueno@unixuser.org>
15825
15826 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15827 (epg-error-to-string, epg-errors-to-string): New function.
15828 (epg-wait-for-completion): Reverse errors list.
15829 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15830 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15831 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15832 (epg-sign-keys, epg-generate-key-from-file)
15833 (epg-generate-key-from-string): Format errors by using
15834 epg-errors-to-string (bug#9255).
15835 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15836
75bfc667
JL
158372011-08-07 Juri Linkov <juri@jurta.org>
15838
15839 * faces.el (list-faces-display): Remove extra angle bracket
15840 from `help-mode-map'.
15841
15842 * info.el (Info-history-toc-nodes): Doc fix.
15843
15844 * longlines.el (longlines-mode): Doc fix.
15845
673e08bb
SM
158462011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15847
4640dd88
SM
15848 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15849 of statements and in a few more cases (bug#9183).
15850
673e08bb
SM
15851 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15852 New functions.
15853 (cl-transform-lambda): Use them (bug#9239).
15854
89b3f019
MR
158552011-08-05 Martin Rudalics <rudalics@gmx.at>
15856
15857 * window.el (display-buffer-same-window)
15858 (display-buffer-same-frame, display-buffer-other-window)
15859 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15860 (pop-to-buffer-other-window)
15861 (pop-to-buffer-same-frame-other-window)
15862 (pop-to-buffer-other-frame): Make them defuns.
15863 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15864
640c8776
SM
158652011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15866
15867 * subr.el (make-composed-keymap): Move from C. Change calling
15868 convention, and improve docstring to bring attention to a subtle point.
15869 * minibuffer.el (completing-read-default): Adjust accordingly.
15870
63648a95
MA
158712011-08-03 Michael Albinus <michael.albinus@gmx.de>
15872
15873 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15874 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15875
15876 * net/trampver.el: Update release number.
15877
b796c9b7
SM
158782011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15879
15880 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15881 "in" (bug#9190).
15882
2239d7d5
LMI
158832011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15884
e07dd7c3
LMI
15885 * mail/sendmail.el (sendmail-query-once): Restore the current
15886 buffer after querying (bug#9074).
15887
0e6a2bd7
LMI
15888 * dired.el (dired-flagged): Use different faces for marked and
15889 flagged files (bug#6117).
15890
ce887515
LMI
15891 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15892 (bug#4433).
15893
92f2affc
LMI
15894 * ido.el (ido-mode): Switch off the message if called
15895 non-interactively.
15896
57d5aff0
LMI
15897 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15898 before 587, since it appears that that's more likely to work for
15899 more people.
15900
98cd6c18 15901 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15902 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15903 exist.
15904
b96dec83
LMI
15905 * info.el: Remove the `Info-beginning-of-buffer' function
15906 (bug#8325).
15907
b796c9b7
SM
15908 * net/network-stream.el (network-stream-open-starttls):
15909 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15910
d90e2ea0
MR
159112011-08-01 Martin Rudalics <rudalics@gmx.at>
15912
15913 * window.el (display-buffer-in-window): Don't set dedicated status
15914 of window here (Bug#9215).
15915 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15916 (display-buffer-pop-up-side-window)
b796c9b7 15917 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15918
cca09170
SM
159192011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15920
15921 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15922 before binding generated-autoload-file.
15923
027b979c
DD
159242011-08-01 Deniz Dogan <deniz@dogan.se>
15925
15926 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15927
3c7ee4f3
MA
159282011-07-30 Michael Albinus <michael.albinus@gmx.de>
15929
15930 Sync with Tramp 2.2.2.
15931
15932 * net/trampver.el: Update release number.
15933
2cc8e51a
JL
159342011-07-30 Juri Linkov <juri@jurta.org>
15935
15936 * dired-aux.el (dired-touch-initial): Remove function.
15937 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15938 current time, and `default' to the last modification time of the
15939 current marked file (bug#6887).
15940
a514d856
JM
159412011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15942
15943 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15944 numeric argument to read-number (bug#9163).
a514d856 15945
8a7eddd7
MA
159462011-07-27 Michael Albinus <michael.albinus@gmx.de>
15947
15948 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15949 connection process, it could be nil.
15950
1ddd96f5
LL
159512011-07-27 Leo Liu <sdl.web@gmail.com>
15952
15953 Simplify url handling in rcirc-mode.
15954
15955 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15956 (rcirc-browse-url-at-mouse): Remove.
15957 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15958
b248a85d
AM
159592011-07-26 Alan Mackenzie <acm@muc.de>
15960
15961 Fontify bitfield declarations properly.
15962
15963 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15964 (c-symbol-chars): Now exported as a lang variable.
15965 (c-not-primitive-type-keywords): New lang variable.
15966
15967 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15968 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15969 parsed as a bitfield declaration.
b248a85d 15970
b796c9b7
SM
15971 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15972 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15973 (c-punctuation-in): New function.
15974 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15975 declarations properly.
15976
68575ab0
UJ
159772011-07-26 Ulf Jasper <ulf.jasper@web.de>
15978
15979 * calendar/icalendar.el (icalendar--all-events): Take care of
15980 multiple vcalendars in a single file.
b796c9b7 15981 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15982
0f0a88b9
DD
159832011-07-25 Deniz Dogan <deniz@dogan.se>
15984
15985 * image.el (insert-image): Clarifying docstring.
15986
0b3f36df
MA
159872011-07-24 Michael Albinus <michael.albinus@gmx.de>
15988
15989 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15990 `tramp-send-command-and-check' if there is no error.
15991 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15992
a9901f61
AM
159932011-07-22 Alan Mackenzie <acm@muc.de>
15994
15995 Prevent cc-langs.elc being loaded at run time.
15996
15997 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15998 cc-langs.
15999
4d61f28d 16000 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16001 "(require 'cc-langs)". Quote a form so it will evaluate at
16002 (cc-mode's) compilation time.
16003
11d074b2
MA
160042011-07-22 Michael Albinus <michael.albinus@gmx.de>
16005
16006 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16007 loading. (Bug#9114)
16008
938b94c8
MR
160092011-07-21 Martin Rudalics <rudalics@gmx.at>
16010
16011 * window.el (display-buffer-pop-up-window)
16012 (display-buffer-pop-up-side-window)
16013 (display-buffer-in-side-window): Call display-buffer-set-height
16014 and display-buffer-set-width after setting the new window's
b796c9b7 16015 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16016
bfa4f190
SS
160172011-07-20 Sam Steingold <sds@gnu.org>
16018
16019 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16020 (etags-tags-included-tables): Call `convert-standard-filename' on
16021 the file names contained in TAGS so that windows Emacs can handle
16022 TAGS files created by cygwin ctags.
16023
8ca42262
LMI
160242011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16025
16026 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16027 which apparently didn't work.
16028
5db2afd2 160292011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16030
5db2afd2
RW
16031 * proced.el (proced-send-signal): For *Marked Processes* buffer
16032 put point at beginning of buffer.
16033
92e15d10
SB
160342011-07-19 Stephen Berman <stephen.berman@gmx.net>
16035
16036 * proced.el (proced-format): Make header lines align with the text
16037 (bug#1779).
16038
1bfd59e5
LMI
160392011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16040
16041 * view.el (view-buffer): Allow running in `special' modes if we're
16042 visiting a file (bug#8615).
16043
f5aae37c
MR
160442011-07-19 Martin Rudalics <rudalics@gmx.at>
16045
16046 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16047 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16048 New functions.
f5aae37c
MR
16049 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16050 more accurately.
16051
bf2c1571
AM
160522011-07-18 Alan Mackenzie <acm@muc.de>
16053
16054 Fontify declarators properly when, e.g., a jit-lock chunk begins
16055 inside a declaration.
16056
16057 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16058
b796c9b7
SM
16059 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16060 New function.
bf2c1571
AM
16061 (c-complex-decl-matchers): Insert reference to
16062 c-font-lock-enclosing-decls.
16063
16064 * progmodes/cc-engine.el (c-backward-single-comment):
16065 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16066 to nil around calls to (forward-comment -1).
16067
4e190b80
LMI
160682011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16069
12dc863d
LMI
16070 * image.el (put-image): Doc typo fix.
16071
a762e966
LMI
16072 * progmodes/etags.el (tags-search): Doc typo fix.
16073
4e190b80
LMI
16074 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16075 password if we get errors 550 to 554.
16076
f019fb21
LMI
160772011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16078
b796c9b7 16079 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 16080
81746738
LMI
16081 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16082 indentation character (bug#6380).
16083
3ee3a1b5
LMI
16084 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16085
c82f64de
LMI
16086 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16087 to clarify what the problem is (bug#4291).
16088
f019fb21
LMI
16089 * simple.el (current-kill): Clarify what
16090 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
16091 (auto-fill-mode): Document `auto-fill-function' in relation to
16092 `auto-fill-mode' (bug#2470).
f019fb21 16093
0794775d
LM
160942011-07-16 Lawrence Mitchell <wence@gmx.li>
16095
16096 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16097 method if slot is read-only (bug#9035).
16098
be39b8cc
MR
160992011-07-16 Martin Rudalics <rudalics@gmx.at>
16100
b796c9b7 16101 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 16102 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
16103 selected before, see discussion of (Bug#8615), (Bug#6954).
16104 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 16105
6ccf7859
GM
161062011-07-15 Glenn Morris <rgm@gnu.org>
16107
16108 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 16109 Respect help-form.
6ccf7859 16110
87e86684
LM
161112011-07-09 Lawrence Mitchell <wence@gmx.li>
16112
16113 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16114 (gnutls-negotiate): Use it.
16115
d6066239
LMI
161162011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16117
b796c9b7
SM
16118 * net/gnutls.el (gnutls-negotiate):
16119 Upcase `gnutls-algorithm-priority'.
d6066239 16120
bd23ebc0
GM
161212011-07-15 Glenn Morris <rgm@gnu.org>
16122
c65bca65
GM
16123 * jka-compr.el (jka-compr-verbose): Move from here...
16124 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16125 Add missing :version tag.
16126 * info.el: No need to require jka-compr when compiling.
bd23ebc0 16127
478615cc
LMI
161282011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16129
7b41decb
LMI
16130 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16131 (gnutls-negotiate): Use it.
16132
dbc44fcd
LMI
16133 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16134
06789f97
LMI
16135 * info.el (Info-beginning-of-buffer): New command.
16136 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16137 announcing `b' as the key (bug#8325).
ab896c37 16138 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 16139
c39da690
LMI
16140 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16141
3aa5f34b
LMI
16142 * international/mule-cmds.el
16143 (describe-specified-language-support): Make the error message
16144 clearer (bug#8905).
16145
4bf0979f
LMI
16146 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16147
478615cc
LMI
16148 * isearch.el (isearch-barrier): Add a doc string, since it's
16149 mentioned in a function doc string (bug#8678).
16150
75c68aa1
MR
161512011-07-15 Martin Rudalics <rudalics@gmx.at>
16152
16153 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16154 buffer argument (Bug#9083) and self-identifying label argument.
16155
a7c33da2
GM
161562011-07-15 Glenn Morris <rgm@gnu.org>
16157
16158 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16159
2f5c6024
LMI
161602011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16161
16162 * man.el (Man-fontify-manpage): Fix message when formatting the
16163 man page (bug#7929).
16164
0bb23927 161652011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16166
16167 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16168 argument LRM; if non-nil, append an invisible LRM character to the
16169 buffer name.
16170 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16171 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16172 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16173 paragraph direction.
cce4b0a7 16174
621ef9ab
LMI
161752011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16176
d1583c48
LMI
16177 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16178 the man page name (bug#7929).
16179
6a57fb5f
LMI
16180 * image.el (put-image): Mention the `put-image' overlay property
16181 (bug#7834).
16182
d7956b14
LMI
16183 * scroll-bar.el (set-scroll-bar-mode): Mention that
16184 `scroll-bar-mode' lists the values (bug#7772).
16185
5b2d4a66
LMI
16186 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16187 command (bug#7729).
16188
7509a874
LMI
16189 * rect.el (apply-on-rectangle): Return the point after the last
16190 operation.
16191 (string-rectangle): Go to the point after the last operation
16192 (bug#7522).
16193
4fe74b19
LMI
16194 * printing.el (pr-toggle-region): Clarify the documentation
16195 slightly (bug#7493).
16196
b796c9b7
SM
16197 * time.el (display-time-update):
16198 Allow `display-time-mail-function' to return nil (bug#7158).
16199 Fix suggested by Detlev Zundel.
ab283561 16200
fc233c9d
LMI
16201 * vc/diff.el (diff): Clarify the order the file names are read
16202 (bug#7111).
16203
43f5740b
LMI
16204 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16205 the doc string (bug#7015).
16206
f2182a76
LMI
16207 * font-lock.el (font-lock-maximum-decoration): Mention what
16208 numeric levels mean (bug#6935).
16209
621ef9ab
LMI
16210 * startup.el (initial-buffer-choice): Don't mention the `none'
16211 selection, which is against policy.
16212
adc47434
MR
162132011-07-14 Martin Rudalics <rudalics@gmx.at>
16214
b796c9b7
SM
16215 * window.el (display-buffer-normalize-special):
16216 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16217
7e5bfb8f
EZ
162182011-07-14 Eli Zaretskii <eliz@gnu.org>
16219
16220 * subr.el (version<, version<=, version=): Mention "-CVS" and
16221 "-12345" alpha version numbers.
16222
27fa387a
CY
162232011-07-14 Chong Yidong <cyd@stupidchicken.com>
16224
16225 * bindings.el: Add advertised binding for set-mark-command
16226 (Bug#5772).
16227
8bdfa064
CY
162282011-07-14 Chong Yidong <cyd@stupidchicken.com>
16229
16230 * bindings.el (mode-line-other-buffer):
16231 * bookmark.el (bookmark-bmenu-2-window):
16232 * bs.el (bs-cycle-next, bs-cycle-previous):
16233 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16234 switch-to-buffer.
16235
16236 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 16237 Delete.
8bdfa064 16238
5eba16a3
JB
162392011-07-14 Juanma Barranquero <lekktu@gmail.com>
16240
16241 * follow.el (follow-debug-message, follow-redisplay):
16242 * jka-cmpr-hook.el (with-auto-compression-mode):
16243 Fix typos in docstrings.
16244
15853710
LMI
162452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16246
a28e4607
LMI
16247 * subr.el (with-silent-modifications): Clarify somewhat what the
16248 macro inhibits (bug#6525).
16249
15853710
LMI
16250 * simple.el (eval-expression): Note what it does if called
16251 interactively (bug#6495).
16252
bee0fcef
CY
162532011-07-13 Chong Yidong <cyd@stupidchicken.com>
16254
b796c9b7
SM
16255 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16256 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
16257
16258 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16259 Remove switch-to-buffer.
16260
58274504
LMI
162612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16262
bd2fcc8d
LMI
16263 * files.el (make-directory): Clarify that an error will be raised
16264 if there's an error (bug#6397).
16265
0f04b32c
LMI
16266 * startup.el (initial-buffer-choice): Add `none' as a choice
16267 (bug#6234).
16268
465c5fc8
LMI
16269 * subr.el (add-hook): Clarify section about buffer-local hooks
16270 (bug#6218).
16271
58274504
LMI
16272 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16273
bead9a43
JB
162742011-07-13 Juanma Barranquero <lekktu@gmail.com>
16275
16276 * tabify.el (untabify): Preserve the current column so that point
16277 doesn't move (bug#6032).
16278
3af98a7b
LMI
162792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16280
b796c9b7
SM
16281 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16282 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16283
6240145a
GM
162842011-07-13 Glenn Morris <rgm@gnu.org>
16285
16286 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16287 (dired-insert-directory): Give a message the first time
16288 if ls is found not to support --dired.
16289
1d8c2ccc
LMI
162902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16291
16292 * simple.el (toggle-truncate-lines): Clarify what is toggled
16293 (bug#5580). Text by Drew Adams.
16294
5fc4038e
CY
162952011-07-13 Chong Yidong <cyd@stupidchicken.com>
16296
16297 * simple.el (blink-matching-open): Make the error message from the
16298 last change less verbose.
16299
bf6012e5
DN
163002011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16301
16302 * font-lock.el (font-lock-comment-face): Use the high contrast
16303 "yellow" color for font-lock-comment-face on low color terminals
16304 using a dark background color (bug#4221).
16305
343c3b5a
LMI
163062011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16307
7e9505c5
LMI
16308 * dired.el (dired-insert-set-properties): Make the doc string
16309 reflect what it does now (bug#5325).
16310
c26fdcf5
LMI
16311 * simple.el (blink-matching-open): Say that we were unable to find
16312 the match within the limit, if we're limited (bug#5122).
16313
bb388cc5
LMI
16314 * international/mule-cmds.el (prefer-coding-system): Add an
16315 example (bug#4869).
16316
343c3b5a
LMI
16317 * progmodes/etags.el (tags-search): Document `file-list-form'
16318 (bug#4731).
16319
2a517d45
LM
163202011-07-13 Lawrence Mitchell <wence@gmx.li>
16321
16322 * net/browse-url.el (browse-url-default-browser)
16323 (browse-url-browser-function): Make the default browser choice a
16324 bit more logical (bug#4300). Also clean up the doc string.
16325
b6c78ef2
JB
163262011-07-13 Juanma Barranquero <lekktu@gmail.com>
16327
16328 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16329 binary endings (bug#4440).
16330
1c4dd947
LMI
163312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16332
a2014063
LMI
16333 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16334 which can be pretty annoying (bug#8971).
16335
9c9c2d88
LMI
16336 * jka-compr.el (jka-compr-verbose): New variable, and use
16337 throughout (bug#8971).
16338
1c4dd947
LMI
16339 * info.el (Info-find-file): Fall back on the installation
16340 directory if we can't find the info node anywhere else.
16341
a1c9f41b
SO
163422011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16343
16344 * vc/vc.el (vc-revert-file):
16345 Don't set file time-stamp in the past. (Bug#5181)
16346
536f3d36
LMI
163472011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16348
7152b011
LMI
16349 * files.el (after-find-file): Give a better error message when
16350 trying to find a symlink that points to a file that doesn't exist
16351 (bug#4398).
16352
536f3d36
LMI
16353 * progmodes/cc-vars.el: Remove (probably) misleading comment
16354 (bug#4396).
16355
460c0fba
JB
163562011-07-12 Johan Bockgård <bojohan@gnu.org>
16357
16358 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16359
7a6bda45
CY
163602011-07-12 Chong Yidong <cyd@stupidchicken.com>
16361
16362 * mouse-sel.el: Hack restoring functionality, while keeping
16363 compatibility with 2010-07-03 changes to mouse selection.
16364 (mouse-sel-primary-overlay): New var.
16365 (mouse-sel-selection-alist): Use it.
16366 (mouse-sel-mode): Doc fix; remove points that are default features
16367 of mouse.el.
16368
c79598ef
JB
163692011-07-12 Johan Bockgård <bojohan@gnu.org>
16370
16371 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16372 Fix previous fix (bug#2490).
16373
ff8be6ef
RW
163742011-07-12 Roland Winkler <winkler@gnu.org>
16375
b796c9b7
SM
16376 * textmodes/bibtex.el (bibtex-initialize):
16377 Use pop-to-buffer-same-window.
ff8be6ef
RW
16378 (bibtex-search-entries): Fix interactive call.
16379
296ba3ee
LMI
163802011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16381
f5242a02 16382 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16383 Fontise bytecomp Error lines more correctly (bug#2490).
16384 Fix suggested by Johan Bockgård.
f5242a02 16385
296ba3ee
LMI
16386 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16387
16388 * dired-x.el (dired-guess-default): Use `delete-dups'.
16389
f69fd0d2
CY
163902011-07-12 Chong Yidong <cyd@stupidchicken.com>
16391
16392 * dired.el (dired-mark-prompt):
16393 * dired-aux.el (dired-read-shell-command): Doc fix.
16394
eab5dc07
LMI
163952011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16396
b796c9b7
SM
16397 * mail/sendmail.el (sendmail-query-once):
16398 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16399 emacs -Q.
16400
16401 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16402
eab5dc07
LMI
16403 * cus-edit.el (custom-file): Take an optional no-error variable.
16404 (customize-save-variable): Set the variable, and give a warning if
16405 running under "emacs -q".
16406
a1e65d42
JB
164072011-07-11 Juanma Barranquero <lekktu@gmail.com>
16408
16409 * loadhist.el (unload-feature-special-hooks):
16410 Add `auto-coding-functions', `fill-nobreak-predicate' and
16411 `find-directory-functions' (bug#5327).
16412
1d52da10
LMI
164132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16414
be958f1d
LMI
16415 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16416
5bedb26c
LMI
16417 * cus-edit.el (custom-guess-name-alist): -alist variables should
16418 use the `alist' type (bug#3120). Suggested by Drew Adams.
16419
1d52da10
LMI
16420 * printing.el: Add documentation to all the `pr-toggle-' commands.
16421
cd394be1 164222011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16423
16424 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16425 backends where it makes sense (bug#2623).
16426
dcc88d8a
LMI
164272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16428
c3de9feb
LMI
16429 * dired-x.el (dired-guess-default): Remove duplicate shell command
16430 entries (bug#2028).
8a93078b 16431 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16432 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16433
dcc88d8a
LMI
16434 * subr.el (remove-duplicates): New conveniency function.
16435
505e3645
LMI
164362011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16437
16438 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16439 (bug#1526).
16440
164412011-07-10 Martin Rudalics <rudalics@gmx.at>
16442
16443 * window.el (display-buffer-normalize-default): Don't invert
16444 meaning of even-window-heights. Reported by Eli Zaretskii
16445 <eliz@gnu.org>.
16446
455e4fa1
BR
164472011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16448
16449 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16450
8e0bc3e9
CY
164512011-07-10 Chong Yidong <cyd@stupidchicken.com>
16452
16453 * window.el (display-buffer): Fix arguments to
16454 display-buffer-reuse-window in last change.
16455
fa7c3228
CY
16456 * faces.el (link): Use a less saturated blue on light backgrounds.
16457
16458 * startup.el (fancy-startup-text, fancy-about-text)
16459 (fancy-startup-tail): Use font-lock faces, for background safety.
16460
c0a7f300
BN
164612011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16462
b796c9b7
SM
16463 * emulation/viper-cmd.el (viper-change-state-to-vi):
16464 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16465
4dc2a129
MR
164662011-07-09 Martin Rudalics <rudalics@gmx.at>
16467
16468 * window.el (display-buffer-default-specifiers): Remove.
16469 (display-buffer-macro-specifiers): Remove default specifiers.
16470 (display-buffer-alist): Default to nil.
b796c9b7 16471 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16472 (display-buffer-pop-up-window): Allow splitting internal
16473 windows. Check whether a live window was created.
16474 (display-buffer-other-window-means-other-frame)
16475 (display-buffer-normalize-arguments): Rename to
16476 display-buffer-normalize-argument and rewrite. Set the
16477 other-window specifier.
16478 (display-buffer-normalize-special): New function.
16479 (display-buffer-normalize-options): Rename to
16480 display-buffer-normalize-default and rewrite.
16481 (display-buffer-normalize-options-inhibit): Remove.
16482 (display-buffer-normalize-specifiers): Rewrite.
16483 (display-buffer): Process other-window specifier and call
16484 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16485 more faithfully.
b796c9b7 16486 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16487 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16488 (display-buffer-in-window, display-buffer-alist-set):
16489 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16490 <tassilo@member.fsf.org>.
16491
2d43b8c9
LL
164922011-07-09 Leo Liu <sdl.web@gmail.com>
16493
16494 * register.el (insert-register): Restore accidental change on
16495 2011-06-26. (Bug#9028)
16496
7f9b7c53
GM
164972011-07-09 Glenn Morris <rgm@gnu.org>
16498
16499 * subr.el (remq): Handle the empty list. (Bug#9024)
16500
f042cfd8
AS
165012011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16502
16503 * mail/sendmail.el (send-mail-function): No longer delay custom
16504 initialization.
16505 * custom.el (custom-initialize-delay): Doc fix.
16506
856b2f11
SM
165072011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16508
16509 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16510
afae1d68
MA
165112011-07-08 Michael Albinus <michael.albinus@gmx.de>
16512
16513 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16514 human-friendly prompt.
16515
0757af94
SM
165162011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16517
16518 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16519 provided by a particular plugin.
16520
d760b731
LMI
165212011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16522
16523 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16524 save customizations (with "emacs -Q"), just set the variable
16525 instead of erroring out.
16526
16527 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16528
cd79ce90
JL
165292011-07-08 Juri Linkov <juri@jurta.org>
16530
16531 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16532 (archive-zip-update-case): Use 7z if found by `executable-find'.
16533 The order of searching the available programs is the same as in
16534 `archive-zip-extract' (bug#8968).
16535
14cc04aa
CY
165362011-07-07 Chong Yidong <cyd@stupidchicken.com>
16537
16538 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16539 (menu-bar-options-menu): Tweak descriptions.
16540
0a1848ec
LMI
165412011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16542
16543 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16544 menu items into verb phrases (bug#1421). Also refill to fit under
16545 80 columns.
16546
f5bd0689
CY
165472011-07-07 Chong Yidong <cyd@stupidchicken.com>
16548
538e85c6
CY
16549 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16550 (Info-read-node-name): Doc fix (Bug#1084).
16551
f5bd0689
CY
16552 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16553 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16554 (end-of-sexp, beginning-of-sexp)
16555 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16556 (forward-symbol, forward-same-syntax, word-at-point)
16557 (sentence-at-point): Doc fix (Bug#1144).
16558
56ec5115
LMI
165592011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16560
f3f8e37f
LMI
16561 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16562 should cover it (bug#1281).
16563
0757af94 16564 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16565
e9fce1ac 16566 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16567 negotiation fails, then possibly try again with a non-encrypted
16568 connection (bug#9017).
16569
56ec5115
LMI
16570 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16571 be used.
16572
c2f9aec8
RS
165732011-07-07 Richard Stallman <rms@gnu.org>
16574
16575 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16576 property, and handle its changed format.
16577 Look for the correct line number.
16578 Use file's line contents (but not past first =) to find
16579 correct line in message.
16580
ef7b981d 165812011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16582
16583 * international/characters.el (build-unicode-category-table):
16584 Delete it.
0757af94 16585 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16586
0757af94 16587 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16588 to src/chartab.c.
16589 (get-char-code-property): Call unicode-property-table-internal to
16590 load a file. Call get-unicode-property-internal where necessary.
16591 (put-char-code-property): Call unicode-property-table-internal to
16592 load a file. Call put-unicode-property-internal where necessary.
16593 put-unicode-property-internal where necessary.
0757af94
SM
16594 (char-code-property-description):
16595 Call unicode-property-table-internal to load a file.
c805dec0
KH
16596
16597 * international/charprop.el:
16598 * international/uni-bidi.el:
16599 * international/uni-category.el:
16600 * international/uni-combining.el:
16601 * international/uni-comment.el:
16602 * international/uni-decimal.el:
16603 * international/uni-decomposition.el:
16604 * international/uni-digit.el:
16605 * international/uni-lowercase.el:
16606 * international/uni-mirrored.el:
16607 * international/uni-name.el:
16608 * international/uni-numeric.el:
16609 * international/uni-old-name.el:
16610 * international/uni-titlecase.el:
16611 * international/uni-uppercase.el: Regenerate.
16612
16613 * loadup.el: Load international/charprop.el before
16614 international/characters.
16615
e14b388a
CY
166162011-07-07 Chong Yidong <cyd@stupidchicken.com>
16617
16618 * window.el (next-buffer, previous-buffer): Signal an error if
16619 called from a minibuffer window.
16620
16621 * bindings.el: Revert 2011-07-04 change.
16622
354cf0ba
RS
166232011-07-06 Richard Stallman <rms@gnu.org>
16624
16625 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16626 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16627 Treat markers like ints.
16628 (rmail-mime-entity): Doc fix.
16629
a48868a7
LMI
166302011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16631
4906cd3d
LMI
16632 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16633 defcustom again for backwards compatibility.
16634
e0457abe
LMI
16635 * simple.el (shell-command-on-region): Fill.
16636
d67f7e1f
LMI
16637 * dired-aux.el (dired-kill-line): Add a doc string.
16638
fe204702
LMI
16639 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16640 to "\\sw\\|\\s_" (bug#358).
16641
a48868a7
LMI
16642 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16643 (dired-unmark-backward): Ditto.
16644 (dired-flag-backup-files): Ditto.
16645
16646 * dired-x.el (dired-mark-sexp): Ditto.
16647
aa8a705c
RS
166482011-07-06 Richard Stallman <rms@gnu.org>
16649
16650 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16651 (rmail-mime-entity): New arg TRUNCATED.
16652 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16653 New functions.
16654 (rmail-mime-save): Warn if entity is truncated.
16655 (rmail-mime-toggle-hidden): Likewise, for showing.
16656 (rmail-mime-process-multipart): Record when an entity is truncated.
16657
a9a936b9
RS
16658 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16659 if ENTITY is a string.
16660
1f2b92cb
LMI
166612011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16662
f4f73198 16663 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16664 of faces when `M-C-x'-ing their definitions (bug#8378).
16665 Also clean up the code slightly.
f4f73198 16666
12b16734 16667 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16668 because that makes the colors go away.
12b16734 16669
f0691d22
LMI
16670 * mail/sendmail.el (send-mail-function): Change the default to
16671 `sendmail-query-once'.
9e87df06 16672 (sendmail-query-once): Add an autoload cookie.
f0691d22 16673
1f2b92cb
LMI
16674 * net/network-stream.el (network-stream-open-starttls): Try using
16675 a plain connection even if the server offered STARTTLS, and we
16676 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16677 capability. This should make smtpmail.el work in slightly more
16678 configurations.
16679
1cdd2a1b
MA
166802011-07-06 Michael Albinus <michael.albinus@gmx.de>
16681
16682 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16683 New defun.
16684 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16685
fbcc67e2
MM
166862011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16687
16688 * progmodes/sql.el: Version 3.0
0757af94 16689 (sql-product-alist): Add product :completion-object,
fbcc67e2 16690 :completion-column, and :statement attributes.
0757af94 16691 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16692 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16693 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16694 ansi keywords.
16695 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 16696 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
16697 (sql-oracle-show-reserved-words): New function for development.
16698 (sql-product-font-lock): Simplify for source code buffers.
16699 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16700 New functions.
16701 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
16702 (sql-mode-map): Add statement movement functions.
16703 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16704 New variable.
fbcc67e2
MM
16705 (sql-statement-regexp, sql-beginning-of-statement)
16706 (sql-end-of-statement, sql-signum): New functions.
0757af94 16707 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
16708 (sql-show-sqli-buffer): Bug fix.
16709 (sql-interactive-mode): Store connection data as buffer local.
0757af94 16710 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
16711 with sql-interactive-mode.
16712 (sql-save-connection): Save buffer local settings.
0757af94 16713 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
16714 (sql-product-interactive): Bug fix.
16715 (sql-preoutput-hold): New variable.
16716 (sql-interactive-remove-continuation-prompt): Bug fixes.
16717 (sql-debug-redirect): New variable.
16718 (sql-str-literal): New function.
16719 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 16720 Redesign.
fbcc67e2
MM
16721 (sql-oracle-save-settings, sql-oracle-restore-settings)
16722 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16723 (sql-completion-object, sql-completion-column)
16724 (sql-completion-sqlbuf): New variables.
16725 (sql-build-completions-1, sql-build-completions)
16726 (sql-try-completion): New functions.
16727 (sql-read-table-name): Use them.
16728 (sql-contains-names): New buffer local variable.
16729 (sql-list-all, sql-list-table): Use it.
16730 (sql-oracle-completion-types): New variable.
16731 (sql-oracle-completion-object, sql-sqlite-completion-object)
16732 (sql-postgres-completion-object): New functions.
16733
d4eaeab1
GM
167342011-07-06 Glenn Morris <rgm@gnu.org>
16735
16736 * window.el (pop-to-buffer): Doc fix.
16737
322b7dab 167382011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16739
16740 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16741
322b7dab 167422011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16743
322b7dab 16744 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16745
322b7dab 16746 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16747
605dd5bf
CY
167482011-07-05 Chong Yidong <cyd@stupidchicken.com>
16749
16750 * button.el (button): Inherit from link face. Suggested by Dan
16751 Nicolaescu.
16752
7dbfa719
SM
167532011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16754
3db614b0
SM
16755 * progmodes/gdb-mi.el: Fit in 80 columns.
16756 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16757 switch-to-buffer.
16758
7dbfa719
SM
16759 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16760 if imenu is simply not configured (bug#8941).
16761
919d884a
KM
167622011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16763
16764 * allout.el (allout-post-undo-hook): New allout outline-change
16765 event hook to signal undo activity.
16766 (allout-post-command-business): Run allout-post-undo-hook if an
16767 undo just occurred.
7dbfa719
SM
16768 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16769 * allout-widgets.el (allout-widgets-after-undo-function):
16770 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16771 in the vicinity of an undo.
16772 (allout-widgets-mode): Include allout-widgets-after-undo-function
16773 on the new allout-post-undo-hook.
16774
450a0f09
SM
167752011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16776
16777 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16778 Let define-derived-mode define it.
16779 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16780 cycles of abbrev-table inheritance (bug#8998).
16781
2de69e00
RW
167822011-07-05 Roland Winkler <winkler@gnu.org>
16783
16784 * textmodes/bibtex.el: Add support for biblatex.
16785 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16786 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16787 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16788 (bibtex-entry-alist, bibtex-field-alist): New variables.
16789 (bibtex-entry-field-alist): Obsolete alias for
16790 bibtex-BibTeX-entry-alist.
16791 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16792 (bibtex-set-dialect): New command.
16793 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16794 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16795 Bind via bibtex-set-dialect.
2de69e00
RW
16796 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16797 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16798 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16799 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16800 Define via bibtex-set-dialect.
450a0f09
SM
16801 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16802 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16803 (bibtex-vec-push, bibtex-vec-incr): New functions.
16804 (bibtex-format-entry, bibtex-field-list)
16805 (bibtex-print-help-message, bibtex-validate)
16806 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16807
2dcdbdd9
SM
168082011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16809
16810 * progmodes/compile.el (compilation-goto-locus):
16811 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16812 * bs.el (bs-cycle-next, bs-cycle-previous):
16813 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16814 * bindings.el (mode-line-other-buffer):
16815 * autoinsert.el (auto-insert):
16816 * arc-mode.el (archive-extract):
16817 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16818
b27640fe
JB
168192011-07-05 Juanma Barranquero <lekktu@gmail.com>
16820
16821 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16822 Fix check of `emacs-lock-unlockable-modes'.
16823 Coerce true values of `emacs-lock--try-unlocking' to t.
16824
53bbe3ad
JB
168252011-07-05 Juanma Barranquero <lekktu@gmail.com>
16826
16827 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16828 * emacs-lock.el: New file.
16829
1d3cdbc7
JD
168302011-07-05 Julien Danjou <julien@danjou.info>
16831
16832 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16833 than `boundp' to check if face is set.
16834
9173deec
JB
168352011-07-05 Juanma Barranquero <lekktu@gmail.com>
16836
16837 * register.el (registerv-make):
16838 * window.el (window-min-height): Fix typos in docstrings.
16839
869795d6
JD
168402011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16841
9173deec 16842 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16843 Update doc string.
16844
b768cdcd
JB
168452011-07-04 Juanma Barranquero <lekktu@gmail.com>
16846
16847 * server.el (server-execute): Catch quit and call
16848 `server-return-error' to pass the error back to emacsclient and
16849 close the connection (bug#8942).
16850
13aa217b
KM
168512011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16852
16853 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16854 insecure exception for current topic. Also note that auto-saves
16855 are handled differently.
16856
5d3385a0 16857 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16858 State variables for tracking auto-save inhibition situation.
16859
16860 (allout-write-contents-hook-handler): Rename from
16861 'allout-write-file-hook-handler', and describe how it depends on
16862 write-contents-functions sensitivity to non-nil value to prevent
16863 file write.
16864
16865 (allout-auto-save-hook-handler): Remove. auto-save does not check
16866 this in individual buffers, only in the starting buffer, so this
16867 is not the right way for us to inhibit auto-save in a buffer
16868 according to its condition.
16869
16870 (allout-mode): Use new allout-write-contents-hook-handler, and
16871 only with write-contents-functions. Remove auto-save provisions -
16872 they're implemented elsewhere.
16873
16874 (allout-before-change-handler): If undo is in progress, note that
16875 for attention of allout-post-command-business.
16876
16877 (allout-post-command-business): If the command we're following was
16878 an undo, check for change in the status of encrypted items and
16879 adjust auto-save inhibitions accordingly.
16880
16881 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16882 according to whether there are or aren't any plain-text topics
16883 pending encryption.
16884
2dcdbdd9 16885 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16886 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16887 if there are plain-text topics pending encryption.
13aa217b
KM
16888
16889 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16890 buffer-saved-size and some allout state to not inhibit auto-saves
16891 if there are no longer any plain-text topics pending encryption.
16892
0757af94
SM
16893 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16894 No longer provide for exemption of the current topic.
13aa217b 16895
ac89b32c
JL
168962011-07-04 Juri Linkov <juri@jurta.org>
16897
16898 Add 7z operations to delete and save changed members (bug#8968).
16899 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16900 New defcustoms.
16901 (archive-7z-write-file-member): New function.
16902 (archive-7z-summarize): Fix the number of dashes in the
16903 listing output.
16904
8fa39615
SM
169052011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16906
16907 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16908 (bug#8958).
16909
2f11b3f1
CY
169102011-07-04 Chong Yidong <cyd@stupidchicken.com>
16911
d66fef2b
CY
16912 * bindings.el: Ignore next-buffer and previous-buffer in
16913 minibuffer-local-map.
16914
2f11b3f1
CY
16915 * font-lock.el (font-lock-builtin-face): Change light background
16916 color to dark slate blue (Bug#6693).
16917
f932a347
WD
169182011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16919
16920 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16921
c8af70e1
SM
169222011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16923
16924 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16925 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16926 Add switch-to-buffer.
16927
f158badc
LMI
169282011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16929
16930 * isearch.el (isearch-search-fun-function): Clarify further the
16931 meaning of the function returned.
16932
6d95bd46
MA
169332011-07-04 Michael Albinus <michael.albinus@gmx.de>
16934
16935 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16936
16937 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16938 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16939 Use it.
16940 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16941 `tramp-default-remote-path' does not exist.
16942 (tramp-send-command-and-read): New optional argument NOERROR.
16943 (tramp-open-connection-setup-interactive-shell)
16944 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16945 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16946 (tramp-process-sentinel): Flush also process' connection property.
16947 (tramp-sh-handle-start-file-process): Do not set process
16948 sentinel. It is done now ...
16949 (tramp-maybe-open-connection): ... here. (Bug#8929)
16950
909e6b67
MK
169512011-07-04 MON KEY <monkey@sandpframing.com>
16952
16953 * play/animate.el (animate-string): Doc fixes and allow changing
16954 the buffer name (bug#5417).
16955
169562011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16957
c8af70e1 16958 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16959
f34755dc
PE
169602011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16961
396cec72
PE
16962 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16963 This is simpler and helps future-proof the code.
16964 (timer-until): Use time-subtract and float-time.
08235028 16965 (timer--time-less-p): Use time-less-p.
f34755dc 16966
56e6cc31
JB
169672011-07-04 Juanma Barranquero <lekktu@gmail.com>
16968
3abb79e5
JB
16969 * type-break.el (timep): Use the value of `float-time' to avoid a
16970 byte-compiler warning.
16971
56e6cc31
JB
16972 * server.el (server-eval-and-print): Return any result, even nil.
16973
7b9430b4
PE
169742011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16975
16976 * type-break.el: Accept time formats that the builtins accept.
16977 (timep, type-break-time-difference): Accept any format that
16978 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16979 This is simpler and helps future-proof the code.
16980 (type-break-time-difference): Round rather than ignoring
16981 subseconds components.
16982
3034e9e7
LMI
169832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16984
16985 * info.el (Info-apropos-matches): Make non-interactive, since it
16986 doesn't seem to do anything useful as a command (bug#8829).
16987
1485f4c0
CY
169882011-07-03 Chong Yidong <cyd@stupidchicken.com>
16989
16990 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16991 Move from faces.el.
1485f4c0
CY
16992 (frame-default-terminal-background): New function.
16993
16994 * custom.el (custom-push-theme): Don't record faces in `changed'
16995 theme; this doesn't work correctly for per-frame face settings.
16996 (disable-theme): Use face-set-after-frame-default to reset faces.
16997 (custom--frame-color-default): New function.
16998
9fa3dd45
LMI
169992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17000
c8af70e1 17001 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17002 (bug#8769).
17003
6cbbc20c
KR
170042011-03-29 Kevin Ryde <user42@zip.com.au>
17005
17006 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17007 `perl-Test2' extend to match possible "fail #N" rep count
17008 (bug#8377).
17009
c7f98048
LMI
170102011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17011
65676592
LMI
17012 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17013 `smtpmail-via-smtp' now returns the error instead of nil.
17014
c7f98048
LMI
17015 * isearch.el (isearch-search-fun-function): Clarify the doc string
17016 (bug#8101).
17017
56e6cc31 170182011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17019
17020 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17021 unnecessary spaces (bug#8987).
17022
2b216704
LMI
170232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17024
17025 * net/network-stream.el (open-network-stream): Use the
17026 :end-of-capability command thoughout.
17027
170282011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17029
17030 * net/network-stream.el (open-network-stream): Add the
17031 :end-of-capability command parameter, used by pop3.el.
17032
36adf6ce
LMI
170332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17034
1ca0da0e
LMI
17035 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17036
fc00f69c
LMI
17037 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17038 for list)" (bug#6475).
17039
28fd8759 17040 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17041 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17042 an error (bug#6297).
17043
0dd8b6da
LMI
17044 * man.el (Man-reference-regexp): Allow matching possible
17045 word-wrapped references (bug#6289).
17046
ce1438d6
LMI
17047 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17048 for consistency with the other vc buffers (bug#6197).
17049 (vc-checkin): Ditto.
17050
17051 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17052
36adf6ce
LMI
17053 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17054
e83cc1f7
LMI
170552011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17056
8a20ca4c
LMI
17057 * custom.el (defcustom): Clarify that :set is only used in the
17058 Customize user interface (bug#6089).
17059
83319045
LMI
17060 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17061 associated with a file, refuse to run instead of erroring out
17062 (bug#6084).
17063
a8392169
LMI
17064 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17065 the doc string, since it appears that using `fill-column' always
17066 controls the width (bug#7845).
17067
e83cc1f7
LMI
17068 * simple.el (shell-command-on-region): Say where the error output
17069 went if `shell-command-default-error-buffer' is set (bug#6857).
17070
e47ca23b
KM
170712011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17072
17073 * allout.el (allout-yank-processing): Adjust cursor position for
17074 backwards-deleted space.
17075
17076 (allout-rebullet-heading): Register changes with
17077 allout-exposure-changed-hook, so the modified topic is properly
17078 decorated.
17079
5cf56143
LMI
170802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17081
08549772
LMI
17082 * minibuffer.el (completion-in-region): Document PREDICATE
17083 (bug#7136).
17084
48e96771
LMI
17085 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17086 of keyword/argument pairs (bug#6904).
17087
c8af70e1
SM
17088 * replace.el (multi-occur):
17089 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 17090
e17d05e2
LMI
170912011-07-02 Drew Adams <drew.adams@oracle.com>
17092
17093 * dired.el (dired-mark-if): Make the message about whether it's
17094 marking or unmarking clearer (bug#8523).
17095
063b0e45
LMI
170962011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17097
17098 * disp-table.el (display-table-print-array): New function.
17099 (describe-display-table): Use it to print the vectors more pretty
17100 (Bug#8859).
17101
28545e04
MR
171022011-07-02 Martin Rudalics <rudalics@gmx.at>
17103
17104 * window.el (window-state-get-1): Don't assign clone numbers.
17105 Add clone-of item to list of window parameters.
17106 (window-state-put-2): Don't process clone numbers.
17107 (display-buffer-alist): Fix doc-string.
17108
3349e122
SM
171092011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17110
17111 * subr.el (remq): Don't allocate if it's not needed.
17112 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17113 (keymap--merge-bindings): New functions.
17114 (keymap-canonicalize): Use them to refine the canonicalization.
17115 * minibuffer.el (minibuffer-local-completion-map)
17116 (minibuffer-local-must-match-map): Move initialization from C.
17117 (minibuffer-local-filename-completion-map): Move initialization from C;
17118 don't inherit from anything here.
17119 (minibuffer-local-filename-must-match-map): Make obsolete.
17120 (completing-read-default): Use make-composed-keymap to combine
17121 minibuffer-local-filename-completion-map with either
17122 minibuffer-local-must-match-map or
17123 minibuffer-local-filename-completion-map.
17124
d224ac83
GM
171252011-07-01 Glenn Morris <rgm@gnu.org>
17126
3de63bf8
GM
17127 * type-break.el (type-break-time-sum): Use dolist.
17128
d224ac83
GM
17129 * textmodes/flyspell.el (flyspell-word-search-backward):
17130 Replace CL function.
17131
1a1e3f32
SM
171322011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17133
fe3f64d5
SM
17134 * mouse.el (mouse--strip-first-event): New function.
17135 (function-key-map): Use it to map fringe clicks to normal clicks
17136 by default.
17137
eb604e34
SM
17138 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17139 (vc-bzr-revision-completion-table): Add support for annotate and date.
17140
1a1e3f32
SM
17141 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17142 inherit from parent.
17143
5bd35902
LMI
171442011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17145
ace6c69c 17146 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 17147 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 17148
191e2bed
LMI
17149 * dired.el (dired-mode): Fix up the doc string as suggested by
17150 Drew Adams (bug#8817).
17151
5bd35902
LMI
17152 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17153 cookie, since the manual says that it should be possible to add
17154 this function to `find-file-hook' (bug#8709).
17155
eee8207a
TZ
171562011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17157
17158 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17159 here. Noted Ted Zlatanov as the maintainer.
17160 (cfengine-common-settings, cfengine-common-syntax): New functions
17161 to set up common things between `cfengine-mode' and
17162 `cfengine3-mode'.
17163 (cfengine3-mode): New mode.
17164 (cfengine3-defuns cfengine3-defuns-regex
17165 (cfengine3-class-selector-regex cfengine3-category-regex)
17166 (cfengine3-vartypes cfengine3-font-lock-keywords)
17167 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17168 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17169
36b148cf
MA
171702011-07-01 Michael Albinus <michael.albinus@gmx.de>
17171
17172 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17173
17174 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17175
0bf4ba9a
MR
171762011-07-01 Martin Rudalics <rudalics@gmx.at>
17177
17178 * window.el (same-window-buffer-names, same-window-regexps)
17179 (same-window-p, special-display-frame-alist)
17180 (special-display-popup-frame, special-display-function)
17181 (special-display-buffer-names, special-display-regexps)
17182 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17183 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17184 (split-window-preferred-function, split-height-threshold)
17185 (split-width-threshold, even-window-heights)
17186 (display-buffer-mark-dedicated, window-splittable-p)
17187 (split-window-sensibly, window-safely-shrinkable-p):
17188 Un-obsolete.
17189 (display-buffer): Don't spread args with function specifier
17190 because special-display-popup-frame won't like it.
17191
35837f51
PE
171922011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17193
d0672f86
PE
17194 Time-stamp simplifications and fixes.
17195 These improve accuracy slightly, and future-proof the code
17196 against some potential changes to current-time format.
17197
b9444d97
PE
17198 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17199 by using time-since and float-time.
17200
0ef923dc
PE
17201 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17202 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17203 + NNN microseconds".
17204
2f81380d
PE
17205 * type-break.el (type-break-time-sum): Rewrite using time-add.
17206
845b5c3e
PE
17207 * play/hanoi.el (hanoi-current-time-float): Remove.
17208 All uses replaced by float-time.
17209
ee6f1be0
PE
17210 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17211 This yields a more-accurate answer.
17212 (rng-time-to-float): Remove; no longer needed.
17213
fe955043
PE
17214 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17215
5777162a
PE
17216 * calendar/timeclock.el (timeclock-seconds-to-time):
17217 Defalias to seconds-to-time, since they're the same thing.
17218
3103f8b6 17219 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17220 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17221 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17222
0e61a35f
SM
172232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17224
17225 * window.el (bury-buffer): Don't iconify the only frame.
17226 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17227 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17228
ddd63a1e
CY
172292011-07-01 Chong Yidong <cyd@stupidchicken.com>
17230
0e61a35f
SM
17231 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17232 Add mouse-yank-primary.
ddd63a1e 17233
055f4923
TZ
172342011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17235
17236 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17237
6a2fb145
SM
172382011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17239
17240 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17241 (find-library-name): Use it to find relative load names when provided
17242 absolute file name (bug#8803).
17243
fd4983f2
LMI
172442011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17245
887d14ad
LMI
17246 * textmodes/flyspell.el (flyspell-word): Consider words that
17247 differ only in case as potential doublons (bug#5687).
17248
c53dc7fc
LMI
17249 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17250 Remove two rather uninteresting debugging-like messages to make
17251 debbugs.el more silent.
17252
fd4983f2
LMI
17253 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17254 a password-like phrase.
17255
7a71b18d 172562011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
17257
17258 * progmodes/cc-guess.el: New file.
17259
6a2fb145 17260 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
17261
17262 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17263 derived from `c-basic-common-init'.
17264
17265 * progmodes/cc-mode.el (top-level): Require cc-guess.
17266 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17267
1fa280a3
LM
172682011-06-30 Lawrence Mitchell <wence@gmx.li>
17269
17270 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17271
e6597158
AM
172722011-06-30 Alan Mackenzie <acm@muc.de>
17273
1fa280a3
LM
17274 * progmodes/cc-engine.el (c-guess-continued-construct):
17275 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
17276 lock is disabled. Name this case as "CASE G".
17277
68ba37fb
KM
172782011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17279
17280 * allout.el (allout-yank-processing): Fix injection of extra space
17281 between bullet and non-whitespace character in first topic when
17282 pasting, ensuring that the actual spacing in the pasted topic
17283 following the bullet char is preserved. This extra space was
17284 causing pasted encrypted topics to get a decrypted status even
17285 when the content was actually still encrypted. Now the decryption
17286 status from before the paste is preserved.
17287
17288 (allout-flag-region): Set all allout overlays so they evaporate
17289 when reduced to zero length (evanescent), to prevent overlay
17290 leakage.
17291
887a0b34
GM
172922011-06-30 Glenn Morris <rgm@gnu.org>
17293
94b9acce
GM
17294 * w32-fns.el (w32-charset-info-alist): Declare.
17295
1d9b46d4
GM
17296 * find-dired.el (find-grep-options): Simplify.
17297
cc232200
GM
17298 * term/ns-win.el (ns-set-resource): Declare.
17299
28e77c46
GM
17300 * ses.el (row, col): Declare dynamic variables honestly.
17301
887a0b34
GM
17302 * textmodes/reftex-parse.el (index-tags): Declare.
17303
658d8eb8
CY
173042011-06-30 Chong Yidong <cyd@stupidchicken.com>
17305
17306 * cus-edit.el (customize-push-and-save): New function.
17307
17308 * files.el (hack-local-variables-confirm): Use it.
17309
1fa280a3
LM
17310 * custom.el (load-theme): New arg NO-CONFIRM.
17311 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17312 (custom-enabled-themes): Doc fix.
17313
17314 * cus-theme.el (customize-create-theme)
17315 (custom-theme-merge-theme): Callers to load-theme changed.
17316
bb617717
LMI
173172011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17318
d61bdd5d
LMI
17319 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17320 short URLs have at least one dot in them (bug #7614).
17321
bb617717
LMI
17322 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17323 nil, because using a pty is apparently too slow (bug #895).
17324
2f31f37a
LMI
173252011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17326
17327 * mail/sendmail.el (sendmail-query-once): New function.
17328 (sendmail-query-once-function): New variable.
17329
3076b24e
GM
173302011-06-29 Glenn Morris <rgm@gnu.org>
17331
faf2a174
GM
17332 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17333
3076b24e
GM
17334 * ses.el (top-level): Require cl when compiling.
17335 (ses-set-localvars): Fix error statement.
17336 Call it at compile time to silence a storm of warnings.
17337
5386012d
MR
173382011-06-29 Martin Rudalics <rudalics@gmx.at>
17339
17340 * window.el (normalize-live-buffer): Rename to
17341 window-normalize-buffer.
17342 (normalize-live-frame): Rename to window-normalize-frame.
17343 (normalize-any-window): Rename to window-normalize-any-window.
17344 (normalize-live-window): Rename to window-normalize-live-window.
17345 (make-window-atom): Rename to window-make-atom.
17346 (window-resize-reset): Rename to window--resize-reset.
17347 (window-resize-reset-1): Rename to window--resize-reset-1.
17348 (resize-mini-window): Rename to window--resize-mini-window.
17349 (resize-subwindows-skip-p): Rename to
17350 window--resize-subwindows-skip-p.
17351 (resize-subwindows-normal): Rename to
17352 window--resize-subwindows-normal.
17353 (resize-subwindows): Rename to window--resize-subwindows.
17354 (resize-other-windows): Rename to window--resize-siblings.
17355 (resize-this-window): Rename to window--resize-this-window.
17356 (resize-root-window): Rename to window--resize-root-window.
17357 (resize-root-window-vertically): Rename to
17358 window--resize-root-window-vertically.
17359 (normalize-buffer-to-display): Rename to
17360 window-normalize-buffer-to-display.
17361 (normalize-buffer-to-switch-to): Rename to
17362 window-normalize-buffer-to-switch-to.
17363 Correspondingly update all callers of the functions listed
17364 above.
17365 (display-buffer-alist, display-buffer-normalize-arguments)
17366 (display-buffer-normalize-options, display-buffer)
17367 (display-buffer-alist-set): Use "function" instead of
17368 "fun-with-args".
17369
1176868d
CY
173702011-06-28 Chong Yidong <cyd@stupidchicken.com>
17371
17372 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17373 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17374 debbugs.gnu.org. Mention acknowledgment email.
17375
20a7a65f
LMI
173762011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17377
17378 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17379 buffer multibyteness, since it shouldn't matter.
17380
5f45cca5
MR
173812011-06-28 Martin Rudalics <rudalics@gmx.at>
17382
17383 * window.el (display-buffer-in-side-window): Handle dedicated
17384 windows as in display-buffer-reuse-window.
17385 (display-buffer-normalize-alist): Use value of override
17386 specifier.
17387 (display-buffer-normalize-specifiers): Use value of
17388 other-window-means-other-frame specifier.
17389 (display-buffer-alist): Rewrite some texts in widgets.
17390 (display-buffer): Spread arguments when calling function
17391 specified by fun-with-args.
17392
ad85fe1f
DD
173932011-06-28 Deniz Dogan <deniz@dogan.se>
17394
1fa280a3
LM
17395 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17396 Unnest `let'.
da68c4c8 17397
ad85fe1f
DD
17398 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17399 selectors (Bug#5732).
ec49bd31 17400 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17401
a08cc025
JA
174022011-06-27 Jari Aalto <jari.aalto@cante.net>
17403
17404 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17405 (eshell-ls-date-format): New defcustom.
17406 (eshell-ls-file): Use it.
17407
e2b551c5
SM
174082011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17409
17410 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17411
8982b231
KY
174122011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17413
17414 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17415 (ange-ftp-make-tmp-name): New arg.
17416 (ange-ftp-file-local-copy): Use it.
17417
36c9fa27
J
174182011-06-27 Jambunathan K <kjambunathan@gmail.com>
17419
17420 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17421 no-conversion (Bug#8870).
17422
d68443dc
MR
174232011-06-27 Martin Rudalics <rudalics@gmx.at>
17424
17425 * window.el (window-right, window-left, window-child)
17426 (window-child-count, window-last-child)
17427 (window-iso-combination-p, walk-window-tree-1)
17428 (window-atom-check-1, window-tree-1, delete-window)
17429 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17430 new naming conventions - window-vchild, window-hchild,
17431 window-next and window-prev are now called window-top-child,
17432 window-left-child, window-next-sibling and window-prev-sibling
17433 respectively.
d615d6d2
MR
17434 (resize-window-reset): Rename to window-resize-reset.
17435 (resize-window-reset-1): Rename to window-resize-reset-1.
17436 (resize-window): Rename to window-resize.
17437 (window-min-height, window-min-width)
17438 (resize-mini-window, resize-this-window, resize-root-window)
17439 (resize-root-window-vertically, adjust-window-trailing-edge)
17440 (enlarge-window, shrink-window, maximize-window)
17441 (minimize-window, delete-window, quit-restore-window)
17442 (split-window, balance-windows, balance-windows-area-adjust)
17443 (balance-windows-area, window-state-put-2)
17444 (display-buffer-even-window-sizes, display-buffer-set-height)
17445 (display-buffer-set-width, set-window-text-height)
17446 (fit-window-to-buffer): Rename all "resize-window" prefixed
17447 calls to use the "window-resize" prefix convention.
17448 (display-buffer-alist): Fix symbol for label specifier.
17449 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17450 corresponding specifier.
17451 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17452
b6458526
VB
174532011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17454
17455 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17456 convention.
17457 (ses-call-printer): Does not pass an empty string to formatter when the
17458 cell is empty to keep from barking printer Calc math-format-value.
17459
d31fd9ac
RS
174602011-06-27 Richard Stallman <rms@gnu.org>
17461
43d5bf84
RS
17462 * battery.el (battery-mode-line-limit): New variable.
17463 (battery-update): Handle it.
17464
d31fd9ac
RS
17465 * mail/rmailmm.el (rmail-mime-process-multipart):
17466 Handle truncated messages.
17467
819a6054
GM
174682011-06-27 Glenn Morris <rgm@gnu.org>
17469
17470 * progmodes/flymake.el (flymake-err-line-patterns):
17471 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17472
cedc73f2
VB
174732011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17474
819a6054 17475 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17476 (ses--clean-!, ses--clean-_): New functions.
17477 (ses-range): Add configurability of readout order, and conversion
17478 to Calc vector.
17479
5e5d49b6
VB
17480 * ses.el (ses-repair-cell-reference-all): New function.
17481 (ses-cell-symbol): Set macro as safe, so that it can be used in
17482 formulas.
17483
56e6cc31 17484 * ses.el: Update cycle detection algorithm.
90ca8b49 17485 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17486 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17487 (ses-set-localvars): New function.
17488 (ses-make-cell): Add property-list as a cell element.
17489 (ses-cell-property-get-fun, ses-cell-property-get)
17490 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17491 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17492 New functions.
90ca8b49
VB
17493 (ses-cell-property-set, ses-cell-property-pop)
17494 (ses-cell-property-get-handle): New macro.
17495 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17496 New aliases, used for code readability.
17497 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17498 cycle detection.
17499 (ses-self-reference-early-detection): New defcustom.
fac916bf 17500 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17501 (ses-mode): Use ses-set-localvars.
17502 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17503 before lauching the update processing.
17504 (ses-initialize-Dijkstra-attempt): New function.
17505 (ses-recalculate-cell): Update for cycle detection based on
17506 Dijkstra algorithm.
17507
2bb63e81
VB
17508 * ses.el: Fix commenting and indenting convention.
17509
c9d29fb8
SM
175102011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17511
17512 * bs.el (bs-cycle-next): Complete last change.
17513
d8e4b68b
JB
175142011-06-27 Drew Adams <drew.adams@oracle.com>
17515
17516 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17517
40098786
LMI
175182011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17519
c9d29fb8
SM
17520 * net/network-stream.el (network-stream-open-starttls):
17521 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17522 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17523
40098786
LMI
17524 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17525 to binary to possibly avoid line encoding issues on Windows (among
17526 other things).
17527
468d09d4
LMI
175282011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17529
17530 * net/network-stream.el (open-network-stream): Return an :error
17531 saying what the problem was, if possible.
17532
17533 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17534 server.
17535
17536 * net/network-stream.el (network-stream-open-starttls): If we
17537 wanted to use STARTTLS, and the server offered it, but we weren't
17538 able to because we had no STARTTLS support, then close the connection.
17539 (open-network-stream): Return an :error element, if present.
17540
16f07dd7
CY
175412011-06-26 Chong Yidong <cyd@stupidchicken.com>
17542
88821ca0
CY
17543 * hl-line.el (hl-line-sticky-flag): Doc fix.
17544 (global-hl-line-sticky-flag): New option (Bug#8323).
17545 (global-hl-line-highlight): Obey it.
17546
16f07dd7
CY
17547 * vc/vc.el (vc-revert-show-diff): Default to t.
17548
6b5ccddf
KM
175492011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17550
c9d29fb8
SM
17551 * allout-widgets.el (allout-widgets-post-command-business):
17552 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17553 undecorated when an isearch is continued past, and isearch
17554 automatically collapses them. This leads to "widget leaks", where
17555 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17556 hidden widgets can slow down cursor travel, substantially.
17557 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17558 so we're doing without this nicety.
17559
17560 (allout-widgets-tally-string): Don't try to do a hash-table-count
17561 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17562 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17563 *Messages* when allout-widgets-maintain-tally is t.
17564
355f2e07
MR
175652011-06-26 Martin Rudalics <rudalics@gmx.at>
17566
17567 * window.el (display-buffer-normalize-argument): Rename to
17568 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17569 LABEL argument. Respect special-display-function when popping up
17570 a new frame. Fix code searching for a window showing the buffer
17571 on another frame.
c9d29fb8
SM
17572 (display-buffer-normalize-specifiers):
17573 Call display-buffer-normalize-arguments.
355f2e07
MR
17574 (display-buffer-in-window): Don't undedicate the window if its
17575 buffer remains the same.
17576 Reported by Drew Adams <drew.adams@oracle.com>.
17577 (display-buffer-alist): Add choice for same-window macro
17578 specfier.
17579 (display-buffer): Mention special meaning of LABEL argument in
17580 doc-string. Fix quoting. Don't pop up a new frame even as
17581 fallback.
17582
7ca8fc42
JB
175832011-06-26 Juanma Barranquero <lekktu@gmail.com>
17584
17585 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17586 avoid deleting the current window in some cases (bug#8911).
17587
bc312254
AS
175882011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17589
17590 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17591 (Bug#8934)
17592
2db18f3f
LMI
175932011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17594
c9d29fb8
SM
17595 * net/network-stream.el (network-stream-open-starttls):
17596 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17597 (network-stream-open-tls): Ditto.
17598
6302e0d3
LL
175992011-06-26 Leo Liu <sdl.web@gmail.com>
17600
17601 * register.el (registerv): New struct.
17602 (registerv-make): New function.
c9d29fb8
SM
17603 (jump-to-register, describe-register-1, insert-register):
17604 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17605 struct. (Bug#8415)
17606
5fdd4046
CY
176072011-06-26 Chong Yidong <cyd@stupidchicken.com>
17608
2afef60a
CY
17609 * vc/vc.el (vc-revert-show-diff): New defcustom.
17610 (vc-diff-internal): New arg specifying diff buffer.
17611 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17612 reuse an existing *vc-diff* buffer (Bug#8927).
17613
5fdd4046
CY
17614 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17615
e93db24a
GM
176162011-06-26 Glenn Morris <rgm@gnu.org>
17617
17618 * progmodes/f90.el (f90-critical-indent): New option.
17619 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17620 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17621 (f90-mode): Doc fix.
17622 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17623 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17624 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17625 (f90-match-end): Handle block, critical.
17626
eefff499
GM
176272011-06-25 Glenn Morris <rgm@gnu.org>
17628
f6ba4cc9
GM
17629 * calendar/diary-lib.el (diary-included-files): Doc fix.
17630 (diary-include-files): New function, extracted from
17631 diary-include-other-diary-files and diary-mark-included-diary-files.
17632 (diary-include-other-diary-files, diary-mark-included-diary-files):
17633 Just call diary-include-files.
17634 (diary-mark-entries): Reset diary-included-files on first call.
17635
16712304
GM
17636 * calendar/diary-lib.el (diary-mark-entries)
17637 (diary-mark-included-diary-files):
17638 Visit included diary-files in temp buffers.
17639
5d8e0d43
GM
17640 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17641 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17642 (f90-start-block-re, f90-imenu-generic-expression)
17643 (f90-looking-at-program-block-start, f90-no-block-limit):
17644 Add support for submodules.
17645
ccf7a5d5
GM
17646 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17647 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17648
11fdef7d 176492011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17650
17651 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17652 buffer-file-type before setting its value, to avoid disastrous
eefff499 17653 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17654
74f53697
JB
176552011-06-25 Juanma Barranquero <lekktu@gmail.com>
17656
17657 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17658
17659 * ses.el (ses-unload-function):
17660 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17661
17662 * proced.el (proced-unload-function):
17663 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17664
18a4ce5e
AR
176652011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17666
17667 * server.el (server-create-window-system-frame): Add parameters arg.
17668 (server-process-filter): Doc fix. Handle frame-parameters.
17669
519d22cc
JB
176702011-06-25 Juanma Barranquero <lekktu@gmail.com>
17671
17672 Fix bug#8730, bug#8781.
17673
17674 * loadhist.el (unload--set-major-mode): New function.
17675 (unload-feature): Use it.
17676
17677 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17678 (python-unload-function): New function.
17679
c206f5b0
SM
176802011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17681
17682 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17683
f9ad64f3
GS
176842011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17685
17686 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17687 the candidates list.
17688
7d0da90e
JB
176892011-06-24 Juanma Barranquero <lekktu@gmail.com>
17690
17691 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17692
14b4e83d
RS
176932011-06-23 Richard Stallman <rms@gnu.org>
17694
17695 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17696 (rmail-variables): Set next-error-move-function.
17697 (rmail-what-message): Take argument POS.
17698 (rmail-next-error-move): New function.
17699
273d2baf
SM
177002011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17701
17702 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17703 messages for adjacent non-terminals.
17704
56c2cc9a
RS
177052011-06-23 Richard Stallman <rms@gnu.org>
17706
17707 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 17708 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
17709 (rmail-start-mail): Don't specify use of rmail-mail-return;
17710 that's done by mail-bury now.
17711 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 17712
d59eb518
MA
177132011-06-23 Michael Albinus <michael.albinus@gmx.de>
17714
17715 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17716 SIZE is a number.
17717
02cfc6d6
MR
177182011-06-23 Martin Rudalics <rudalics@gmx.at>
17719
17720 * window.el (get-lru-window, get-mru-window)
17721 (get-largest-window): Never return a minibuffer window.
17722 (display-buffer-pop-up-window): Fix a bug that could lead to
17723 reusing the minibuffer window.
17724 (display-buffer): Pass original specifier argument to
17725 display-buffer-function instead of the normalized one.
17726 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17727
4e323265
LL
177282011-06-22 Leo Liu <sdl.web@gmail.com>
17729
17730 * minibuffer.el (completing-read-function)
1f9f395d 17731 (completing-read-default): Move from minibuf.c.
4e323265 17732
7a70468f
RS
177332011-06-22 Richard Stallman <rms@gnu.org>
17734
50718fc2
RS
17735 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17736 to Rmail even if not started by a special Rmail command.
17737
7a70468f
RS
17738 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17739 Copy the buffer currently showing just one message.
17740
297dde5a
RW
177412011-06-22 Roland Winkler <winkler@gnu.org>
17742
17743 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17744 (bibtex-clean-entry): First delete the old key so that a
17745 customized algorithm for generating the new key does not get
17746 confused by the old key.
17747 (bibtex-url): Obey regexp of first step.
17748 (bibtex-search-entries): Do not use add-to-list with local
17749 list-var.
17750
97bb1093
LMI
177512011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17752
17753 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17754 stored a user name, then query for the password first, instead of
17755 waiting for SMTP to give an error message and the trying again.
17756
1c0f1a19
JD
177572011-06-22 Lawrence Mitchell <wence@gmx.li>
17758
17759 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17760 BUFFER in call-process.
17761
396f7c9d
LMI
177622011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17763
17764 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17765 QUIT twice.
ddb7ffee
LMI
17766 (smtpmail-try-auth-methods): Require user name and password from
17767 auth-source.
396f7c9d 17768
8998d1b3
MR
177692011-06-22 Martin Rudalics <rudalics@gmx.at>
17770
17771 * window.el (display-buffer-default-specifiers)
17772 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17773 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17774 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17775
17776 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17777 (special-display-frame-alist, special-display-popup-frame):
17778 Remove duplicate declarations. These are now in window.el.
17779
4ea31e07
LMI
177802011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17781
c9d29fb8
SM
17782 * mail/smtpmail.el (smtpmail-via-smtp):
17783 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17784 server supports it. SMTP servers that support STARTTLS commonly
17785 require it.
17786
17787 * net/network-stream.el (network-stream-open-starttls): Support
17788 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17789 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17790
95f41d9a
LMI
17791 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17792 upgrades with `open-network-stream', and rely solely on
17793 auth-source for all credentials. Big changes throughout the file,
17794 but in particular:
c9d29fb8
SM
17795 (smtpmail-auth-credentials): Remove.
17796 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17797 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17798 MAIL FROM, too.
95f41d9a 17799
c9d29fb8
SM
17800 * net/network-stream.el (network-stream-open-starttls):
17801 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17802 STARTTLS.
17803 (auth-source): Require.
17804 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17805 (network-stream-certificate): Change cert-cert to cert and
17806 cert-key to key.
4ea31e07 17807
065ec2c7
MA
178082011-06-21 Michael Albinus <michael.albinus@gmx.de>
17809
17810 * net/tramp-cache.el (top): Don't load the persistency file when
17811 "emacs -Q" has been called.
17812
cd93b359
DR
178132011-06-21 Tim Harper <timcharper@gmail.com>
17814
d8e4b68b
JB
17815 * term/ns-win.el (ns-initialize-window-system):
17816 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17817 resource to NO as it is not yet supported by the NS port.
17818
ae9c0411
JB
178192011-06-21 Juanma Barranquero <lekktu@gmail.com>
17820
17821 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17822 (list-dynamic-libraries): ...not here.
17823
7f3f739f
LL
178242011-06-21 Leo Liu <sdl.web@gmail.com>
17825
17826 * subr.el (sha1): Implement sha1 using secure-hash.
17827
327c8fb1
MR
178282011-06-21 Martin Rudalics <rudalics@gmx.at>
17829
17830 * window.el (display-buffer-alist): In default value do not
17831 enforce searching a window on any but the selected frame.
17832 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17833 (display-buffer-select-window): Remove function.
17834 (display-buffer-in-window): When a window on another frame gets
17835 reused, do not select it any more but just raise its frame if
17836 necessary (Bug#8851) and (Bug#8856).
17837 (display-buffer-normalize-options): Handle pop-up-frames related
17838 options more faithfully.
17839 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17840 window if it is on another frame.
c9d29fb8
SM
17841 (display-buffer-alist, display-buffer-default-specifiers):
17842 Don't make new frame unsplittable by default.
9e9de014
MR
17843 (display-buffer-normalize-argument): Fix doc-string typo and use
17844 'same-frame-other-window instead of 'other-window when associating
17845 with display-buffer-macro-specifiers.
327c8fb1 17846
7cf3f556
VB
178472011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17848
17849 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17850 New functions.
17851 (5x5-mode-map, 5x5-mode-menu): Bind them.
17852 (5x5-draw-grid): Tweak the solver's rendering.
17853
60a406cf
SM
178542011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17855
17856 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17857 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17858
d8e4b68b 178592011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17860
17861 * menu-bar.el: Use function variable instead of switch-to-buffer.
17862 (menu-bar-select-buffer-function): New variable.
60a406cf 17863 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17864
478d6f95
SM
178652011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17866
17867 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17868 variable's status.
17869
ca530739
JD
178702011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17871
17872 * x-dnd.el (x-dnd-version-from-flags)
17873 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17874 and long as number (Bug#8899).
17875 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17876
bcd70d97
SM
178772011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17878
60a406cf 17879 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17880 (completion-try-completion, completion-all-completions): Compute the
17881 metadata argument if it's missing; make it optional (bug#8795).
17882
60a406cf 17883 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17884 (widget-complete): Use new :completion-function property.
17885 (widget-completions-at-point): New function.
17886 (default): Use :completion-function instead of :complete.
60a406cf
SM
17887 (widget-default-completions): Rename from widget-default-complete;
17888 Rewrite.
bcd70d97
SM
17889 (widget-string-complete, widget-file-complete, widget-color-complete):
17890 Remove functions.
17891 (file, symbol, function, variable, coding-system, color):
17892 * international/mule-cmds.el (default-input-method, charset)
17893 (language-info-custom-alist):
17894 * cus-edit.el (face): Use new property :completions.
17895
17896 * progmodes/pascal.el (pascal-completions-at-point): New function.
17897 (pascal-mode): Use it.
17898 (pascal-mode-map): Use completion-at-point.
17899 (pascal-toggle-completions): Make obsolete.
17900 (pascal-complete-word, pascal-show-completions):
17901 * progmodes/octave-mod.el (octave-complete-symbol):
17902 Redefine as obsolete alias.
17903 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17904 Signal absence of completion info for old Octave,
17905 (inferior-octave-complete): Redefine as obsolete alias.
17906 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17907 (meta-completions-at-point): Rename from meta-complete-symbol and
17908 adapt it for use on completion-at-point-functions.
17909 (meta-common-mode): Use it.
17910 (meta-looking-at-backward, meta-match-buffer): Remove.
17911 (meta-complete-symbol): Redefine as obsolete alias.
17912 (meta-common-mode-map): Use completion-at-point.
17913 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17914 (makefile-mode-map): Use completion-at-point.
17915 (makefile-completions-at-point): Rename from makefile-complete and
17916 adapt it for use on completion-at-point-functions.
17917 (makefile-mode): Use it.
17918 (makefile-complete): Redefine as obsolete alias.
17919
aebf69c8
DD
179202011-06-20 Deniz Dogan <deniz@dogan.se>
17921
17922 * net/rcirc.el: Delete trailing whitespaces once and for all.
17923
bfbbb27d
DC
179242011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17925
17926 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17927
d264a46b
CY
179282011-06-19 Chong Yidong <cyd@stupidchicken.com>
17929
4ca009e5
CY
17930 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17931
d264a46b
CY
17932 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17933
fbf5b3ce
MR
179342011-06-19 Martin Rudalics <rudalics@gmx.at>
17935
17936 * window.el (display-buffer-other-window-means-other-frame):
17937 Call display-buffer-normalize-alist.
17938 (display-buffer-normalize-specifiers-1): Rename to
17939 display-buffer-normalize-argument. New argument other-frame.
17940 Rewrite.
17941 (display-buffer-normalize-specifiers-2): Rename to
17942 display-buffer-normalize-options.
17943 (display-buffer-normalize-alist-1): New function.
17944 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17945 display-buffer-normalize-alist.
17946 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17947 (display-buffer-normalize-options-inhibit): New variable.
17948 (display-buffer-normalize-specifiers): Rewrite calling
17949 display-buffer-normalize-alist,
17950 display-buffer-normalize-argument, and
17951 display-buffer-normalize-options. Don't call the latter if
17952 display-buffer-normalize-options-inhibit is non-nil.
17953 (frame-auto-delete): New option.
17954 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17955 (window-list-no-nils, window-state-ignored-parameters)
17956 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17957 (window-state-put-1, window-state-put-2, window-state-put):
17958 New functions.
9a028c23
MR
17959 (display-buffer-normalize-options): Move special-display-p group
17960 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17961
6d10d800
CY
179622011-06-18 Chong Yidong <cyd@stupidchicken.com>
17963
6420d28b
CY
17964 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17965 groups (Bug#8776).
17966 (rx-submatch-n): New function.
17967 (rx): Document it.
17968
ddb8b596
CY
17969 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17970 (Bug#8768).
17971
17972 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17973
77080289
CY
17974 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17975
61dfb316
CY
17976 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17977 anytime existing face settings are present (Bug#8889).
17978
6d10d800
CY
17979 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17980 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17981 Remove unused argument.
17982
be3fb2b8
MR
179832011-06-18 Martin Rudalics <rudalics@gmx.at>
17984
bcd70d97
SM
17985 * window.el (display-buffer-default-specifiers):
17986 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17987 pop-up-window-min-width, and another reuse-window specifier
17988 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17989 (display-buffer-normalize-specifiers-2):
17990 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17991 pop-up-windows is unset. Add a reuse-window specifier for the
17992 case popping up a new window fails.
17993 (special-display-popup-frame): Remove double quoting.
28dec25a 17994 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17995
1c6d8c76
SM
179962011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17997
17998 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17999 according to comint-completion-addsuffix.
18000
18001 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18002 (pcomplete-suffix-list): Mark as obsolete.
18003 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18004 pcomplete-seen in the closure.
18005 (pcomplete-comint-setup): Setup completion-at-point as well.
18006 (pcomplete--entries): New function.
18007 (pcomplete--env-regexp): New var.
18008 (pcomplete-entries): Rewrite to work with partial-completion and
18009 without relying on pcomplete-suffix-list.
18010 (pcomplete-pare-list): Remove, unused.
18011
25aef8b8
MR
180122011-06-17 Martin Rudalics <rudalics@gmx.at>
18013
18014 * window.el (display-buffer-alist): Set pop-up-window-min-height
18015 and pop-up-window-min-width in default value. Reported by
18016 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18017 other-window-means-other-frame.
18018 (display-buffer-macro-specifiers): Comment out entry for
18019 other-window specifier.
18020 (display-buffer-other-window-means-other-frame): New function.
18021 (display-buffer-normalize-specifiers-1): New arguments
18022 buffer-name and label. Treat other-window case specially.
18023 (display-buffer-normalize-specifiers-2): Treat other-window case
18024 specially.
18025 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18026 (display-buffer-normalize-specifiers):
18027 Call display-buffer-normalize-specifiers-3.
25aef8b8 18028
dbad4f69
MR
180292011-06-17 Martin Rudalics <rudalics@gmx.at>
18030
18031 * window.el (same-window-p): Fix two typos introduced when
18032 adding with-no-warnings.
d1067961
MR
18033 (display-buffer-normalize-specifiers-1): Don't check
18034 pop-up-frames for 'unset initialization.
18035 (display-buffer-normalize-specifiers-2): Major rewrite using
18036 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18037 (pop-up-frames, display-buffer-reuse-frames)
18038 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18039 Suggested by David Engster <deng@randomsample.de>.
18040 (even-window-heights): Initialize to 'unset.
18041 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18042 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18043 other window case.
dbad4f69 18044
9b9c9e3a
MR
180452011-06-16 Martin Rudalics <rudalics@gmx.at>
18046
bcd70d97
SM
18047 * window.el (display-buffer-normalize-specifiers-1):
18048 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 18049 second argument of display-buffer (Bug#8865).
981d5c09
MR
18050 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18051 (switch-to-buffer-other-window-same-frame)
18052 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18053 Adams (Bug#8875).
9c2755e9
MR
18054 (display-buffer): Don't check noninteractive when calling
18055 display-buffer-pop-up-frame.
18056 (display-buffer-pop-up-frame): Never pop up a frame in
18057 noninteractive mode (Bug#8857).
67222e1d
MR
18058 (enlarge-window, shrink-window): Don't report an error when the
18059 window can't be resized as requested (Bug#8862).
9b9c9e3a 18060
2b75be67
SM
180612011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18062
9ffdd3ba
SM
18063 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18064
cb581a67
SM
18065 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18066
2b75be67
SM
18067 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18068
8c0e3589
AM
180692011-06-15 Alan Mackenzie <acm@muc.de>
18070
cb581a67
SM
18071 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18072 for declarators, disable knr checking to speed up for normal files.
18073 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 18074
b96e6cde
LMI
180752011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18076
4bba86e6
LMI
18077 * net/network-stream.el (open-network-stream): Add the keyword
18078 :always-query-capabilities for the case where you want to force a
18079 `plain' network connection, but the protocol still requires the
18080 capabilitiy command (i.e., SMTP and EHLO).
18081
2b75be67 18082 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
18083 consistency with other `-live-p' functions.
18084
efdcdbf8
SM
180852011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18086
18087 * window.el (same-window-buffer-names, same-window-regexps)
18088 (special-display-frame-alist, special-display-popup-frame)
18089 (special-display-function, special-display-buffer-names)
18090 (special-display-regexps, pop-up-frame-alist)
18091 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18092 (pop-up-windows, split-window-preferred-function)
18093 (split-height-threshold, split-width-threshold, even-window-heights)
18094 (display-buffer-mark-dedicated): Don't encourage the use of
18095 display-buffer-alist from Elisp code.
18096
c5cde042
DN
180972011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18098
18099 * progmodes/python.el (python-mode): Derive from prog-mode.
18100 * progmodes/ps-mode.el (ps-mode):
18101 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 18102 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
18103 * progmodes/ld-script.el (ld-script-mode): Likewise.
18104
baa1c9ab
MR
181052011-06-15 Martin Rudalics <rudalics@gmx.at>
18106
18107 * window.el (display-buffer-alist): Trim default value to avoid
18108 popping up a new frame (Bug#8857) or reusing an arbitrary window
18109 on another frame.
18110 (display-buffer): Do not fall back on popping up a new frame in
18111 batch mode (Bug#8857).
18112
c5dd5a51
CY
181132011-06-14 Chong Yidong <cyd@stupidchicken.com>
18114
18115 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18116 (custom-theme-summary): New function.
18117 (customize-themes): Use it.
18118
d647b7c4
GM
181192011-06-13 Glenn Morris <rgm@gnu.org>
18120
18121 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18122
9481c002
MR
181232011-06-13 Martin Rudalics <rudalics@gmx.at>
18124
357f93d2
MR
18125 * help.el (help-window): Remove variable.
18126 (help-window-point-marker, temp-buffer-max-height)
18127 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18128 (help-print-return-message): Don't set help-window.
18129 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18130 (help-window-setup-finish): Remove.
18131 (help-window-display-message, help-window-setup)
18132 (with-help-window): Major rewrite based on new
18133 display-buffer-window variable.
18134
18135 * help-mode.el (help-mode-finish): Remove help-window related
18136 code.
18137
18138 * view.el (view-exits-all-viewing-windows): Remove reference to
18139 view-return-to-alist in doc-string.
18140 (view-return-to-alist): Make obsolete.
18141 (view-buffer): Call pop-to-buffer-same-window and remove
18142 undo-window code.
18143 (view-buffer-other-window): Call pop-to-buffer-other-window and
18144 simplify code. Ignore second argument.
18145 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18146 simplify code. Ignore second argument.
18147 (view-return-to-alist-update): Make obsolete.
18148 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18149 Rewrite using quit-restore window parameters.
2b75be67
SM
18150 (view-mode-exit): Rename second argument to EXIT-ONLY.
18151 Rewrite using quit-restore-window.
357f93d2
MR
18152 (View-exit, View-exit-and-edit, View-leave, View-quit)
18153 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18154 appropriate arguments.
18155 (view-end-message): Use quit-restore window parameter.
18156
9481c002
MR
18157 * window.el (display-buffer-function): Rewrite doc-string.
18158 (display-buffer-window, display-buffer-alist): New variables.
18159 (display-buffer-split-specifiers)
18160 (display-buffer-side-specifiers)
18161 (display-buffer-macro-specifiers): New constants.
18162 (display-buffer-even-window-sizes, display-buffer-set-height)
18163 (display-buffer-set-width, display-buffer-select-window)
18164 (display-buffer-in-window, display-buffer-reuse-window)
18165 (display-buffer-split-window-1, display-buffer-split-window)
18166 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18167 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18168 (display-buffer-in-side-window, normalize-buffer-to-display)
18169 (display-buffer-normalize-specifiers-1)
18170 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18171 (display-buffer-normalize-specifiers, display-buffer-frame):
18172 New functions.
9481c002
MR
18173 (display-buffer): Major rewrite.
18174 (display-buffer-other-window, display-buffer-other-frame)
18175 (pop-to-buffer, switch-to-buffer-other-window)
18176 (switch-to-buffer-other-frame): Rewrite.
18177 (display-buffer-same-window, display-buffer-same-frame)
18178 (display-buffer-same-frame-other-window)
18179 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18180 (pop-to-buffer-other-window)
18181 (pop-to-buffer-same-frame-other-window)
18182 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18183 (switch-to-buffer-other-window-same-frame): New functions.
18184 (same-window-p, special-display-p): Rewrite disabling warnings.
18185 Make obsolete.
18186 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18187 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18188 Make obsolete
18189 (same-window-buffer-names, same-window-regexps)
18190 (special-display-frame-alist, special-display-popup-frame)
18191 (special-display-function, special-display-buffer-names)
18192 (special-display-regexps, pop-up-frame-alist)
18193 (pop-up-frame-function, split-window-preferred-function)
18194 (split-height-threshold, split-width-threshold)
18195 (even-window-heights): Make obsolete.
18196
9db51aca
GM
181972011-06-12 Glenn Morris <rgm@gnu.org>
18198
18199 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18200 Misc simplifications.
9db51aca 18201
39cffb44
MR
182022011-06-12 Martin Rudalics <rudalics@gmx.at>
18203
18204 * window.el (window-safely-shrinkable-p): Restore function which
18205 was inadvertently removed in change from 2011-06-11. Declare as
18206 obsolete.
18207
2b75be67
SM
18208 * calendar/calendar.el (calendar-generate-window):
18209 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18210 window-safely-shrinkable-p.
18211
a8955be7
GM
182122011-06-12 Glenn Morris <rgm@gnu.org>
18213
18214 * progmodes/fortran.el (fortran-mode-syntax-table):
18215 * progmodes/f90.el (f90-mode-syntax-table):
18216 Set % to punctuation. (Bug#8820)
18217 (f90-find-tag-default): Remove, no longer needed.
18218
f0d4059d
DC
182192011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18220
18221 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18222
1100a63c
CY
182232011-06-11 Chong Yidong <cyd@stupidchicken.com>
18224
18225 * image.el (image-animated-p): Return animation delay in seconds.
18226 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18227 (image-animate-timeout): Remove DELAY argument. Don't assume
18228 every subimage has the same delay; get it from image-animated-p.
18229 (image-animate): Caller changed.
18230
def722bf
MA
182312011-06-11 Michael Albinus <michael.albinus@gmx.de>
18232
18233 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18234 to ignored backtrace functions.
18235
0a2bb1a9
GM
182362011-06-11 Glenn Morris <rgm@gnu.org>
18237
18238 * calendar/appt.el (appt-disp-window-function): Doc fix.
18239 (appt-check): Handle overlapping appointments. (Bug#8337)
18240
6198ccd0
MR
182412011-06-11 Martin Rudalics <rudalics@gmx.at>
18242
18243 * window.el (window-tree-1, window-tree): New functions, moving
18244 the latter to window.el.
18245 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18246 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18247 (bw-refresh-edges): Remove.
18248 (balance-windows-1, balance-windows-2): New functions.
18249 (balance-windows): Rewrite in terms of window tree functions,
18250 balance-windows-1 and balance-windows-2.
18251 (bw-adjust-window): Remove.
18252 (balance-windows-area-adjust): New function with functionality of
18253 bw-adjust-window but using resize-window.
2b75be67
SM
18254 (set-window-text-height): Rewrite doc-string.
18255 Use normalize-live-window and resize-window.
18256 (enlarge-window-horizontally, shrink-window-horizontally):
18257 Rename argument to DELTA.
6198ccd0
MR
18258 (window-buffer-height): New function.
18259 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18260 Rewrite using new window resize routines.
2b75be67
SM
18261 (kill-buffer-and-window, mouse-autoselect-window-select):
18262 Use ignore-errors instead of condition-case.
6198ccd0
MR
18263 (quit-window): Call delete-frame instead of delete-windows-on
18264 for the only buffer on frame.
18265
9397e56f
MR
182662011-06-10 Martin Rudalics <rudalics@gmx.at>
18267
18268 * loadup.el (top-level): Load window before files for the sake
18269 of replace-buffer-in-windows.
18270
18271 * files.el (read-buffer-to-switch)
18272 (switch-to-buffer-other-window)
2b75be67
SM
18273 (switch-to-buffer-other-frame, display-buffer-other-frame):
18274 Move to window.el.
9397e56f
MR
18275
18276 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18277 (previous-buffer): Move to window.el.
18278
18279 * bindings.el (unbury-buffer): Move to window.el.
18280
18281 * window.el (delete-other-windows-vertically): Move after
18282 definition of delete-other-windows.
18283 (other-window, delete-windows-on, replace-buffer-in-windows):
18284 Move here from window.c.
18285 (record-window-buffer, unrecord-window-buffer)
18286 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18287 (switch-to-next-buffer): New functions.
18288 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18289 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18290 (previous-buffer): Move here from simple.el.
18291 Call switch-to-prev-buffer.
9397e56f
MR
18292 (bury-buffer): Move here from buffer.c. Switch to previous
18293 buffer when window cannot be deleted.
18294 (unbury-buffer): Move here from bindings.el.
18295 (ctl-x-map): Move binding for other-window from window.c to
18296 here.
18297 (read-buffer-to-switch, switch-to-buffer-other-window)
18298 (switch-to-buffer-other-frame): Move here from files.el.
18299 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18300 (switch-to-buffer): Move here from buffer.c.
18301 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18302
562dd5e9
MR
183032011-06-10 Martin Rudalics <rudalics@gmx.at>
18304
18305 * window.el (window-min-height, window-min-width): Move here
18306 from window.c. Add defcustoms and rewrite doc-strings.
18307 (resize-mini-window, resize-window): New functions.
18308 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18309 Move here from window.c.
18310 (maximize-window, minimize-window): New functions.
18311 (delete-window, delete-other-windows, split-window): Move here
18312 from window.c.
18313 (window-split-min-size): New function.
18314 (split-window-keep-point): Mention split-window-above-each-other
18315 instead of split-window-vertically.
2b75be67 18316 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18317 Rename split-window-vertically to split-window-above-each-other
18318 and provide defalias for old definition.
18319 (split-window-side-by-side, split-window-horizontally):
18320 Rename split-window-horizontally to split-window-side-by-side
18321 and provide defalias for the old definition.
562dd5e9
MR
18322 (ctl-x-map): Move bindings for delete-window,
18323 delete-other-windows and enlarge-window here from window.c.
18324 Replace bindings for split-window-vertically and
18325 split-window-horizontally by bindings for
18326 split-window-above-each-other and split-window-side-by-side.
18327
18328 * cus-start.el (all): Remove entries for window-min-height and
18329 window-min-width. Add entries for window-splits and
18330 window-nest.
18331
f0da764a
GM
183322011-06-09 Glenn Morris <rgm@gnu.org>
18333
80675c21
GM
18334 * calendar/appt.el (appt-mode-line): New function.
18335 (appt-check, appt-disp-window): Use it.
18336
f0da764a
GM
18337 * files.el (hack-one-local-variable-eval-safep):
18338 Allow minor-modes with explicit +/-1 arguments.
18339
59f623b7
TZ
183402011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18341
18342 * term/xterm.el (xterm): Add defgroup.
18343 (xterm-extra-capabilities): Add defcustom to supply known xterm
18344 capabilities, skip querying them, or query them (default).
18345 (terminal-init-xterm): Use it.
18346 (terminal-init-xterm-modify-other-keys): New function to set up
18347 modifyOtherKeys support to simplify `terminal-init-xterm'.
18348
9aab8e0d
MR
183492011-06-09 Martin Rudalics <rudalics@gmx.at>
18350
18351 * window.el (resize-window-reset, resize-window-reset-1)
18352 (resize-subwindows-skip-p, resize-subwindows-normal)
18353 (resize-subwindows, resize-other-windows, resize-this-window)
18354 (resize-root-window, resize-root-window-vertically)
18355 (window-deletable-p, window-or-subwindow-p)
18356 (frame-root-window-p): New functions.
18357
e8b08aee
GM
183582011-06-09 Glenn Morris <rgm@gnu.org>
18359
18360 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18361 (ange-ftp-get-files): Use it.
18362
254c37a5
AK
183632011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18364
18365 * mail/sendmail.el (mail-recover-1, mail-recover):
18366 * files.el (recover-file, recover-session):
18367 Handle dired-listing-switches not being just a single short option.
18368
35d7dbd3
GM
183692011-06-09 Glenn Morris <rgm@gnu.org>
18370
18371 * calendar/appt.el (appt-display-message, appt-disp-window):
18372 Handle lists of appointments.
18373
387522b2
MR
183742011-06-08 Martin Rudalics <rudalics@gmx.at>
18375
2b75be67
SM
18376 * window.el (one-window-p): Move down in code.
18377 Rewrite doc-string.
18378 (window-current-scroll-bars): Rewrite doc-string.
18379 Normalize live window argument.
387522b2
MR
18380 (walk-windows, get-window-with-predicate, count-windows):
18381 Rewrite doc-string. Use window-list-1.
18382 (window-in-direction-2, window-in-direction, get-mru-window):
18383 New functions.
18384
d8e4b68b 183852011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18386
18387 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18388 Doc fix (Bug#8713).
18389
183902011-06-08 Chong Yidong <cyd@stupidchicken.com>
18391
18392 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18393
183942011-06-08 Juanma Barranquero <lekktu@gmail.com>
18395
18396 * loadhist.el (unload-feature-special-hooks):
18397 Add `comint-output-filter-functions'.
18398
0de12c52
IK
183992011-06-08 Ivan Kanis <gnu@kanis.fr>
18400
18401 * calendar/appt.el (appt-check): Move some initializations into the let.
18402
f3d1777e
MR
184032011-06-08 Martin Rudalics <rudalics@gmx.at>
18404
18405 * window.el (window-height): Defalias to window-total-height.
18406 (window-width): Defalias to window-body-width.
18407
18af70d0
CY
184082011-06-07 Chong Yidong <cyd@stupidchicken.com>
18409
18410 * image-mode.el (image-toggle-animation): New command.
18411 (image-mode-map): Bind it to RET.
18412 (image-mode): Update message.
18413 (image-toggle-display-image): Avoid a spurious cache flush.
18414 (image-transform-rotation): Doc fix.
18415 (image-transform-properties): Return quickly in the normal case.
18416 (image-animate-loop): Rename from image-animate-max-time.
18417
2b75be67 18418 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18419 (create-animated-image): Remove unnecessary function.
18420 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18421 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18422 (image-animate-timer): Use car-safe.
18423 (image-animate-timeout): Rename argument.
18424
190b47e6
MR
184252011-06-07 Martin Rudalics <rudalics@gmx.at>
18426
18427 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18428 window.c. Rename first argument to ALL-FRAMES.
18429 Rephrase doc-strings.
18430 (get-buffer-window-list): Rewrite using window-list-1.
18431 Rephrase doc-string.
a1511caf
MR
18432 (window-safe-min-height, window-safe-min-width): New constants.
18433 (window-size-ignore, window-min-size, window-min-size-1)
18434 (window-sizable, window-sizable-p, window-size-fixed-1)
18435 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18436 (window-max-delta-1, window-max-delta, window-resizable)
18437 (window-resizable-p, window-total-height, window-total-width)
18438 (window-body-width): New functions.
18439 (window-full-height-p, window-full-width-p): Rewrite using
18440 window-total-size.
18441 (window-body-height): Rewrite using window-body-size.
190b47e6 18442
85cc1f11
MR
184432011-06-06 Martin Rudalics <rudalics@gmx.at>
18444
18445 * window.el (window-right, window-left, window-child)
18446 (window-child-count, window-last-child, window-any-p)
18447 (normalize-live-buffer, normalize-live-frame)
18448 (normalize-any-window, normalize-live-window)
18449 (window-iso-combination-p, window-iso-combined-p)
18450 (window-iso-combinations)
18451 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18452 (windows-with-parameter, window-with-parameter)
18453 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18454 (window-atom-check, window-side-check, window-check):
18455 New functions.
85cc1f11
MR
18456 (ignore-window-parameters, window-sides, window-sides-vertical)
18457 (window-sides-slots): New variables.
18458 (window-size-fixed): Move down in code. Minor doc-string fix.
18459
e7156492
AS
184602011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18461
18462 * comint.el (comint-dynamic-complete-as-filename)
18463 (comint-dynamic-complete-filename): Correctly call
18464 completion-in-region.
18465
7e821d0d
DD
184662011-06-05 Deniz Dogan <deniz@dogan.se>
18467
18468 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18469 in last change.
18470
ac09b8a1
DD
184712011-06-05 Deniz Dogan <deniz@dogan.se>
18472
18473 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18474 (rcirc): Use it to prompt for encryption.
18475
34699b85
RW
184762011-06-05 Roland Winkler <winkler@gnu.org>
18477
18478 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18479 (bibtex-search-entries): New command bound to C-c C-a.
18480 (bibtex-display-entries): New function.
18481
004dedd3
RW
184822011-06-05 Roland Winkler <winkler@gnu.org>
18483
18484 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18485 (bibtex-insert-kill): After yanking insert newline if necessary.
18486 (bibtex-initialize): Call bibtex-string-files-init only once.
18487 (bibtex-mode): Do not call easy-menu-add.
18488 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18489 (bibtex-yank): Set arg properly if nil.
18490
022fe7ce
RW
184912011-06-05 Roland Winkler <winkler@gnu.org>
18492
2b75be67
SM
18493 * textmodes/bibtex.el (bibtex-search-entry-globally):
18494 New variable.
022fe7ce
RW
18495 (bibtex-search-entry): Use it.
18496
b7c3692a
RW
184972011-06-05 Roland Winkler <winkler@gnu.org>
18498
18499 * textmodes/bibtex.el (bibtex-entry-format): New option
18500 sort-fields.
18501 (bibtex-format-entry, bibtex-reformat): Honor this option.
18502 (bibtex-parse-entry): Return fields in proper order.
18503
8eda563d
JB
185042011-06-05 Juanma Barranquero <lekktu@gmail.com>
18505
18506 * doc-view.el (doc-view-remove-if): Move computation of result out
18507 of `dolist' to silence misleading lexical-binding warning.
18508
7dbe3dbc
CY
185092011-06-04 Chong Yidong <cyd@stupidchicken.com>
18510
18511 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18512 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18513
0c33dd17
MA
185142011-06-04 Michael Albinus <michael.albinus@gmx.de>
18515
18516 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18517 "SunOS 5.10".
18518
f8f91c2b
MA
185192011-06-04 Michael Albinus <michael.albinus@gmx.de>
18520
18521 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18522 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18523 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18524 (tramp-parse-putty):
18525 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18526 (tramp-completion-function-alist-ssh)
18527 (tramp-completion-function-alist-telnet)
18528 (tramp-completion-function-alist-su)
18529 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18530 cookie.
18531
18532 * net/tramp-ftp.el:
18533 * net/tramp-sh.el:
18534 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18535 load "tramp.el" `tramp-set-completion-function'.
18536
e17d9003
SM
185372011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18538
18539 * shell.el: Require and use pcomplete.
18540 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18541 (shell-completion-vars): Set pcomplete-default-completion-function.
18542
6c4cab03
DD
185432011-06-04 Deniz Dogan <deniz@dogan.se>
18544
18545 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18546 `memq' (Bug#8799).
18547
ea9fafe0
SM
185482011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18549
18550 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18551
b3e945d3
JB
185522011-06-02 Juanma Barranquero <lekktu@gmail.com>
18553
18554 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18555 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18556 * vc/log-view.el (log-view-beginning-of-defun):
18557 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18558 (smerge-refine-forward, smerge-refine-chopup-region):
18559 Silence warning for unused `dotimes' counter variables.
18560
7d520089
SM
185612011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18562
18563 * net/tramp.el (tramp-with-progress-reporter): Rename from
18564 with-progress-reporter. Use `declare'.
18565 * net/tramp-smb.el:
18566 * net/tramp-sh.el:
18567 * net/tramp-gvfs.el: Update all uses.
18568
a1c2400f
JB
185692011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18570
18571 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18572 buffer isn't killed before making it current.
18573
2403c841
SM
185742011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18575
18576 Silence various byte-compiler warnings.
18577 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18578 `access-type' and new obsolescence format.
18579 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18580 new format.
18581 (byte-compile-check-variable): New `access-type' argument.
18582 Only warn if the access-type is obsolete.
18583 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18584 (byte-compile-variable-set): Adjust callers.
18585 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18586 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18587 setting it as obsolete.
18588 * simple.el (minibuffer-completing-symbol):
18589 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18590 access as obsolete.
18591 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18592 obsolete yet.
18593 * international/quail.el (quail-mouse-choose-completion): Remove unused
18594 code referring to obsolete var.
18595 (quail-choose-completion-string): Remove.
18596 * server.el (server-clients-with, server-kill-buffer-query-function)
18597 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18598 * proced.el (proced-send-signal):
18599 * emacs-lisp/lisp.el (lisp-complete-symbol):
18600 Replace completion-annotate-function with completion-extra-properties.
18601
2462470b
SM
186022011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18603
fb5b2591
SM
18604 * simple.el (goto-line): Use read-number.
18605 (overriding-map-is-bound): Remove.
18606 (saved-overriding-map): Change default.
18607 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18608 Take the map as argument.
18609 (universal-argument, negative-argument, digit-argument): Use it.
18610 (restore-overriding-map): Adjust.
18611 (do-auto-fill): Use fill-forward-paragraph.
18612 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18613
fd6fa53f
SM
18614 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18615 (minibuffer-inactive-mode): New major mode.
18616 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18617 the *Messages* buffer" hack.
18618 (mouse-popup-menubar): Don't burp if the event is a normal key.
18619
2462470b
SM
18620 Miscellaneous tweaks.
18621 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18622 lexical scoping as in subr.el's dolist and dotimes.
18623 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18624 Silence compiler warning.
18625 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18626 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18627 * international/ccl.el (ccl-compile): Trivial simplification.
18628 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18629 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18630 `printflag' argument.
18631 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18632 Purecopy the whole obsolescence data.
18633
108bf785
LL
186342011-06-01 Leo Liu <sdl.web@gmail.com>
18635
18636 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18637 improve doc-string as suggested by Marco Pessotto
18638 <melmothx@gmail.com>.
18639 (rcirc-print): Fix last change.
18640
30a23501
SM
186412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18642
18643 * minibuffer.el (complete-with-action): Return nil for the metadata and
18644 boundaries of non-functional tables.
18645 (completion-table-dynamic): Return nil for the metadata.
18646 (completion-table-with-terminator): Add default case, using
18647 complete-with-action.
18648 (completion--metadata): New function.
18649 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18650 to try and avoid pathological performance problems.
18651 (completion--embedded-envvar-table): Return `category' metadata.
18652
bcd54f83
LMI
186532011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18654
18655 * subr.el (process-alive-p): New tiny convenience function.
18656
e227544d
SM
186572011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18658
18659 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18660 content but also its previous major mode.
18661
e8296fdc
HE
186622011-05-31 Helmut Eller <eller.helmut@gmail.com>
18663
4d61f28d 18664 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18665 *Backtrace* buffer when we exit with C-M-c.
18666
620c53a6
SM
186672011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18668
18669 * minibuffer.el: Add metadata method to completion tables.
18670 (completion-category-overrides): New defcustom.
18671 (completion-metadata, completion--field-metadata)
18672 (completion-metadata-get, completion--styles)
18673 (completion--cycle-threshold): New functions.
18674 (completion-try-completion, completion-all-completions):
18675 Add `metadata' argument to choose completion-styles.
18676 (completion--do-completion): Use metadata to choose cycling.
18677 (completion-all-sorted-completions): Use metadata for sorting.
18678 Remove :completion-cycle-penalty which is not needed any more.
18679 (completion--try-word-completion): Add `metadata' argument.
18680 (minibuffer-completion-help): Check metadata for annotation function
18681 and sorting.
18682 (completion-file-name-table): Return `category' metadata.
18683 (minibuffer-completing-file-name): Make obsolete.
18684 * simple.el (minibuffer-completing-symbol): Make obsolete.
18685 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18686 completion-try-completion.
18687
1257e755
SM
186882011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18689
18690 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18691
3767e706
LL
186922011-05-30 Leo Liu <sdl.web@gmail.com>
18693
18694 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18695 (rcirc-print): Decode all incoming messages (bug#8744).
18696 (rcirc-decode-coding-system): Allow value nil for automatic coding
18697 system detection.
3767e706 18698
d1a5d56a
GM
186992011-06-01 Glenn Morris <rgm@gnu.org>
18700
18701 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18702
e8cbec34
CY
187032011-05-29 Chong Yidong <cyd@stupidchicken.com>
18704
18705 * image.el (image-animate-max-time): Allow nil and t values.
18706 Default to nil.
18707 (create-animated-image): Doc fix.
18708 (image-animate-start): Remove second arg; just use
18709 image-animate-max-time.
18710 (image-animate-timeout): Doc fix. Args changed.
18711
18712 * image-mode.el (image-toggle-display-image): Ensure that the
18713 image spec passed to the animate timer is the same object as in
58179cce 18714 the buffer's display property (Bug#6981).
e8cbec34
CY
18715 (image-transform-properties): Doc fix.
18716
18717 * image.el (image-animate-max-time): Default to nil.
18718
159daf87
MR
187192011-05-29 Martin Rudalics <rudalics@gmx.at>
18720
18721 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18722 entire buffer list (Bug#8184).
18723
d66c4c7c
CY
187242011-05-29 Chong Yidong <cyd@stupidchicken.com>
18725
18726 * image.el (imagemagick-types-inhibit)
18727 (imagemagick-register-types): Doc fix.
18728
80aec780
DD
187292011-05-29 Deniz Dogan <deniz@dogan.se>
18730
18731 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18732 default.
18733
1dd3c2d9
CY
187342011-05-29 Chong Yidong <cyd@stupidchicken.com>
18735
18736 * select.el: Don't perform clipboard-manager saving in hooks;
18737 leave the hooks empty.
18738
60e56523
LL
187392011-05-28 Leo Liu <sdl.web@gmail.com>
18740
18741 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18742 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18743 (occur-edit-mode): New major mode (Bug#8463).
18744 (occur-after-change-function): New function.
18745 (occur-engine): Give Occur tags a read-only property.
18746
2b1e1a22
KR
187472011-05-28 Kevin Ryde <user42@zip.com.au>
18748
18749 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18750
5d344e88
CY
187512011-05-28 Chong Yidong <cyd@stupidchicken.com>
18752
8e6ca83d
CY
18753 * bindings.el (help-echo): Make the initial non-indicator dash
18754 empty on graphical terminals (Bug#7295).
18755
5d344e88
CY
18756 * files.el (auto-mode-alist): Move config rule after the
18757 in-stripping one (Bug#8547).
18758
bfbbace7
CY
18759 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18760
fbeba6e2
CY
18761 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18762 setting (Bug#8740).
18763
60ed8c72
AA
187642011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18765
4ac619f0
AA
18766 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18767 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18768 (Bug#8539).
60ed8c72 18769
23db196e
CY
187702011-05-28 Chong Yidong <cyd@stupidchicken.com>
18771
18772 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18773
5012f24c
DK
187742011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18775
18776 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18777 (hs-hide-block-at-point, hs-find-block-beginning)
18778 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18779 (Bug#8279).
18780
6a639b16
GM
187812011-05-28 Glenn Morris <rgm@gnu.org>
18782
18783 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18784
d43eaf2c
CY
187852011-05-28 Chong Yidong <cyd@stupidchicken.com>
18786
5199bde1
CY
18787 * help-fns.el (describe-function-1): If the function is a derived
18788 major mode, print the parent mode.
18789
d43eaf2c
CY
18790 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18791 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18792
423428a8
SM
187932011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18794
0ff8e1ba 18795 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18796 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18797 * progmodes/etags.el (tags-completion-at-point-function):
18798 * info-look.el (info-lookup-completions-at-point): Mark as
18799 non-exclusive.
18800 (info-complete): Adjust accordingly.
18801
423428a8
SM
18802 * info-look.el: Convert to lexical-binding and completion-at-point.
18803 (info-lookup-completions-at-point): New function.
18804 (info-complete): Use it and completion-in-region.
18805
b74aa22b
DA
188062011-05-28 Drew Adams <drew.adams@oracle.com>
18807
18808 * isearch.el: Let M-e start with point at the first mismatched char.
18809 (isearch-fail-pos): New function.
18810 (isearch-edit-string): Use it.
18811
66e2e71d
DK
188122011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18813
18814 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18815
b1890b0f 188162011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18817
18818 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18819 traversal functions for avl-trees.
18820 (avl-tree--stack): New struct.
18821 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18822 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18823 (avl-tree--do-enter): Add optional `updatefun' arg.
18824 Change return value.
eb95d01d 18825 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18826 (avl-tree--do-delete): Add `test' and `nilflag' args.
18827 Change return value.
eb95d01d
TC
18828 (avl-tree-member): Add optional `nilflag'
18829 (avl-tree-member-p): New function.
18830 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18831 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18832 (avl-tree-stack-empty-p): New functions.
18833
3769ddcf
TC
18834 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18835 avl-tree--del-balance1 and make it work both ways.
18836 (avl-tree--del-balance2): Remove.
18837 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18838 make it work both ways.
18839 (avl-tree--enter-balance2): Remove.
18840 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18841 New macros.
18842 (avl-tree--mapc, avl-tree-map): Add direction argument.
18843
eb95d01d 188442011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18845
18846 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18847
a9f737ee
CY
188482011-05-27 Chong Yidong <cyd@stupidchicken.com>
18849
18850 * select.el: Support clipboard managers with built-in function
18851 x-clipboard-manager-save, via delete-frame-functions and
18852 kill-emacs-hook.
18853 (xselect-convert-to-targets): Add MULTIPLE target to list.
18854 (xselect-convert-to-save-targets): New function.
18855
c92a1e54
KH
188562011-05-27 Kenichi Handa <handa@m17n.org>
18857
18858 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18859 let-binding rfc2047-encode-encoded-words to nil.
18860
e145f188
GM
188612011-05-27 Glenn Morris <rgm@gnu.org>
18862
5ec8a862
GM
18863 * mail/emacsbug.el: Don't require url-util.
18864
4b29d9fb
GM
18865 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18866
e145f188
GM
18867 * files.el (set-auto-mode):
18868 Also respect mode: entries at the end of the file. (Bug#8586)
18869
7d15102b
GM
188702011-05-26 Glenn Morris <rgm@gnu.org>
18871
98f593b8
GM
18872 * files.el (hack-local-variables-prop-line, hack-local-variables):
18873 Downcase mode names, as seems to be traditional.
27b48e63 18874 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18875
7d15102b
GM
18876 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18877 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18878
51d5b4ec
JD
188792011-05-25 Julien Danjou <julien@danjou.info>
18880
18881 * textmodes/rst.el (rst-define-level-faces): Do not define face
18882 symbol if it is already defined.
18883
91513f63
VB
188842011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18885
18886 * play/5x5.el (5x5-new-game, 5x5-randomize):
18887 Reset 5x5-solver-output to nil when a new grid is cast.
18888 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18889 these debugging traces, as defmacro breaks the compiled code.
18890
4d90d6d0
DK
188912011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18892
18893 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18894
e1b90ef6
LL
188952011-05-24 Leo Liu <sdl.web@gmail.com>
18896
18897 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18898 (vc-bzr-sha1): Adapt.
18899
d8e4b68b 18900 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18901
18902 * bindings.el: Provide sha1 feature.
18903
db0406bb 189042011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18905
18906 * mail/sendmail.el: Require `rfc2047'.
18907 (mail-insert-from-field): Do not perform RFC2047 encoding.
18908 (mail-encode-header): New function.
18909 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18910 buffer to the return value of select-message-coding-system.
18911 Call mail-encode-header.
b8d747b9
KH
18912
18913 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18914
db0406bb 189152011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18916
4d90d6d0
DK
18917 * mail/supercite.el (sc-default-cite-frame):
18918 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18919
eb8a5e9b
GM
189202011-05-24 Glenn Morris <rgm@gnu.org>
18921
f8630703
GM
18922 * progmodes/python.el (brm-menu): Declare.
18923
8831bbed
GM
18924 * emulation/viper.el (viper-set-hooks): Declare.
18925
eb8a5e9b
GM
18926 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18927 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18928 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18929 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18930 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18931 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18932
a2a25d24
SM
189332011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18934
18935 Add an :exit-function for completion-at-point.
18936
18937 * minibuffer.el (completion--done): New fun.
18938 (completion--do-completion): Use it. New arg `expect-exact'.
18939 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18940 since completion--do-completion does it for us now.
18941 (minibuffer-force-complete): Use completion--done and
18942 completion--replace. Handle sole-completion case with more care.
18943 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18944 (completion-extra-properties): New var.
18945 (completion-annotate-function): Make obsolete.
18946 (minibuffer-completion-help): Adjust accordingly.
18947 Use completion-list-insert-choice-function.
18948 (completion-at-point, completion-help-at-point):
18949 Bind completion-extra-properties.
18950 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18951 * simple.el (completion-list-insert-choice-function): New var.
18952 (completion-setup-function): Preserve it.
18953 (choose-completion): Pay attention to it, shuffle the code a bit.
18954 (choose-completion-string): New arg `insert-function'.
18955
18956 * textmodes/bibtex.el: Convert to lexical binding.
18957 (bibtex-mode-map): Use completion-at-point.
18958 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18959 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18960 (bibtex-complete): Define as obsolete alias.
18961 (bibtex-complete-internal): Remove.
18962 (bibtex-format-entry): Remove unused sub-group in regexp.
18963 * shell.el (shell--command-completion-data)
18964 (shell-environment-variable-completion):
18965 * pcomplete.el (pcomplete-completions-at-point):
18966 * comint.el (comint--complete-file-name-data): Use :exit-function
18967 instead of completion-table-with-terminator so it also works for
18968 choose-completion.
18969
e44e373d
SM
189702011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18971
4f91a816
SM
18972 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18973
782fc819
SM
18974 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18975 (bug#8710).
18976
e44e373d
SM
18977 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18978
381987c3
KM
189792011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18980
18981 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18982 customization variable and implement: If non-nil, auto-fill will
18983 be inhibited while on topic's header line.
18984
b776bc70
VB
189852011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18986
18987 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18988 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18989 always have a solution in grid size = 5 cases.
18990 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18991 (5x5-solver-output, 5x5-log-buffer): New vars.
18992 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18993 Make these variables buffer local to achieve 5x5 multi-session-ness.
18994 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18995 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18996 (5x5-solve-suggest): New funs.
18997 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18998 randomize a grid so that we ensure that there is always a solution.
18999 (5x5-make-random-grid): Allow other movement than flipping.
19000
7de88b6e
KR
190012011-05-23 Kevin Ryde <user42@zip.com.au>
19002
19003 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19004 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19005 advice and passes PREDICATE.
19006
b1ef1257
SM
190072011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19008
bbca48fe
SM
19009 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19010 byte-compile-lambda if it's actually a lambda.
19011
b1ef1257
SM
19012 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19013 Fix function quoting. Use backquote better.
19014
92a9cc65
YS
190152011-05-22 Yuanle Song <sylecn@gmail.com>
19016
19017 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19018 matching (Bug#8516).
19019
fe93f41a 190202011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
19021
19022 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19023 different face (Bug#8178).
19024
d5b44c93
CY
190252011-05-22 Chong Yidong <cyd@stupidchicken.com>
19026
19027 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19028 defface (Bug#8144).
19029
79106a44
SM
190302011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19031
9c848d8a
SM
19032 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19033 funcall as well (bug#8712). Warn when performing those conversions.
19034 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19035
79106a44
SM
19036 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19037
88dfa756
GM
190382011-05-22 Glenn Morris <rgm@gnu.org>
19039
19040 * files.el (hack-local-variables-prop-line): Small simplifications.
19041 (hack-local-variables, hack-local-variables-prop-line):
19042 If MODE-ONLY, return the mode, rather than just `t'.
19043
b7cf2c79
SM
190442011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19045
19046 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19047
3f1a8558
GM
190482011-05-21 Glenn Morris <rgm@gnu.org>
19049
7e4ccca3
GM
19050 * files.el (hack-local-variables-prop-line, hack-local-variables):
19051 If only interested in the mode, don't bother doing the other stuff.
19052
637d46ca
GM
19053 * image-mode.el (image-after-revert-hook):
19054 Redraw all frames on which the image is visible. (Bug#8567)
19055
973d955b
GM
19056 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19057
3f1a8558
GM
19058 * wid-edit.el (widget-checklist-match-inline):
19059 Fix 2011-04-19 change. (Bug#8649)
19060
96479927
SM
190612011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19062
1dcf791f
SM
19063 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19064 Also allow singlespace after single-letter capitals followed by a dot.
19065
96479927
SM
19066 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19067 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19068
35fd0881
N
190692011-05-20 Nix <nix@esperi.org.uk>
19070
19071 * files.el (basic-save-buffer-2):
19072 Fix handling of break-hardlink-on-save with non-existent files.
19073
82745640
DD
190742011-05-19 Deniz Dogan <deniz@dogan.se>
19075
19076 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 19077 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 19078
4a720484
GM
190792011-05-19 Glenn Morris <rgm@gnu.org>
19080
d1f21341
GM
19081 * progmodes/f90.el (f90-type-def-re):
19082 Handle "type, bind(c)". (Bug#8691)
19083
4a720484
GM
19084 * emacs-lisp/autoload.el (batch-update-autoloads):
19085 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19086
2fb0a219
MA
190872011-05-18 Michael Albinus <michael.albinus@gmx.de>
19088
19089 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19090 property for the correct connection in case of multihops.
19091
e565dd37
GM
190922011-05-18 Glenn Morris <rgm@gnu.org>
19093
c2571358 19094 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
19095 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19096
e565dd37
GM
19097 Rationalize calendar handling of day and month abbrev-arrays.
19098 * calendar/calendar.el (calendar-customized-p): New function.
19099 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19100 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19101 Add :set function.
19102 (calendar-abbrev-length, calendar-day-abbrev-array)
19103 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19104 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19105 Elements may no longer be nil.
19106 (calendar-day-name, calendar-month-name):
19107 Update for changed nature of abbrev arrays.
19108 * calendar/diary-lib.el (diary-name-pattern):
19109 Update for changed nature of abbrev arrays.
19110 (diary-mark-entries-1): Update calendar-make-alist calls.
19111 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19112 * calendar/cal-html.el (cal-html-day-abbrev-array):
19113 Simply inherit from calendar-day-abbrev-array.
19114
1d99a745
SM
191152011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19116
19117 * progmodes/grep.el (grep-mode): Disable default
19118 compilation-directory-matcher setting (bug#8684).
19119
7c1d9aa0
MA
191202011-05-17 Michael Albinus <michael.albinus@gmx.de>
19121
19122 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19123 instead of "head" and "tail". There were problems with SunOS 5.9,
19124 and it performs better.
19125
3952e9d8
GM
191262011-05-17 Glenn Morris <rgm@gnu.org>
19127
2dd12e7f
GM
19128 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19129
e4157b9c
GM
19130 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19131 Replace obsolete function.
19132
8e249bbd
GM
19133 * shell.el (pcomplete-parse-arguments-function): Declare.
19134
3952e9d8
GM
19135 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19136 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19137 (appt-check): Doc fixes.
19138 (appt-disp-window-function, appt-delete-window-function):
19139 Remove needless special case in custom :type.
19140 (appt-display-count): Default to 0, not nil.
19141 (appt-check): Reset appt-display-count to 0, not nil.
19142
c71a0d48 191432011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 19144
c71a0d48
GM
19145 * progmodes/python.el (python-font-lock-keywords):
19146 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 19147
31d55be9
SM
191482011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19149
19150 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19151
3bfacb2f
KR
191522011-05-16 Kevin Ryde <user42@zip.com.au>
19153
19154 * info-look.el (makefile-automake-mode): New setups, looking in
19155 automake manual, then makefile-mode.
19156 (makefile-mode): Remove automake manual, have it just in
19157 makefile-automake-mode since there's various things different or
19158 not relevant to plain make.
19159 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19160 believe a hypothetical automake-mode would go to makefile-mode,
19161 not the other way around.
19162
c8e83751
CY
191632011-05-15 Chong Yidong <cyd@stupidchicken.com>
19164
5e9e35cd
CY
19165 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19166 hunk-end tags (Bug#8672).
19167
c8e83751
CY
19168 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19169 vc-annotate-show-diff-revision-at-line (Bug#8671).
19170
50b23e5a
GM
191712011-05-14 Glenn Morris <rgm@gnu.org>
19172
7210a739
GM
19173 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19174 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19175 (change-log-font-lock-keywords): Also handle multiple author lines
19176 with leading tabs. (Bug#8644)
7210a739 19177
4691905a
GM
19178 * calendar/appt.el (appt-check): Rename some local variables.
19179 Some simplification/reordering.
19180
50b23e5a
GM
19181 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19182 (feedmail-sendmail-f-doesnt-sell-me-out)
19183 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19184 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19185 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19186 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19187 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19188 (feedmail-binmail-gnulinuxish-template):
19189 Rename from feedmail-binmail-linuxish-template.
19190 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19191 Use insert-buffer-substring.
19192
215cda7c
BC
191932011-05-14 Bill Carpenter <bill@carpenter.org>
19194
19195 * mail/feedmail.el (feedmail-patch-level): Increase.
19196 (feedmail-debug): New custom group.
19197 (feedmail-confirm-outgoing-timeout)
19198 (feedmail-sendmail-f-doesnt-sell-me-out)
19199 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19200 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19201 (feedmail-sender-line, feedmail-from-line)
19202 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19203 (feedmail-spray-this-address)
215cda7c
BC
19204 (feedmail-spray-address-fiddle-plex-list)
19205 (feedmail-queue-use-send-time-for-date)
19206 (feedmail-queue-use-send-time-for-message-id)
19207 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19208 (feedmail-buffer-eating-function):
19209 Doc fixes.
19210 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19211 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19212 (feedmail-message-action-scroll-down): New functions.
19213 (feedmail-queue-directory, feedmail-queue-draft-directory):
19214 Use expand-file-name.
19215 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19216 Remove C-v help entry.
19217 (feedmail-queue-buffer-file-name): New variable.
19218 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19219 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19220 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19221 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19222 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19223 (feedmail-message-action-toggle-spray)
19224 (feedmail-run-the-queue-no-prompts)
19225 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19226 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19227 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19228 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19229 (feedmail-envelope-deducer, feedmail-fiddle-from)
19230 (feedmail-fiddle-sender, feedmail-default-date-generator)
19231 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19232 (feedmail-fiddle-spray-address)
19233 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19234 (feedmail-fiddle-list-of-fiddle-plexes)
19235 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19236 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19237 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19238 Change default. Doc fix.
19239 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19240 (feedmail-binmail-linuxish-template): New constant.
19241 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19242 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19243 (feedmail-send-it): Add debug call.
19244 Use feedmail-queue-buffer-file-name, and
19245 feedmail-send-it-immediately-wrapper.
19246 (feedmail-message-action-send): Add debug call.
19247 Use feedmail-send-it-immediately-wrapper.
19248 (feedmail-queue-express-to-queue): Add debug call.
19249 Run feedmail-queue-express-hook.
19250 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19251 (feedmail-message-action-help-blat):
19252 Rename from feedmail-queue-send-edit-prompt-help-first.
19253 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19254 Check line-endings. Handle errors better.
19255 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19256 Doc fix. Add debug call.
19257 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19258 Use feedmail-queue-send-edit-prompt-inner.
19259 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19260 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19261 from feedmail-queue-send-edit-prompt.
19262 (feedmail-queue-send-edit-prompt-help)
19263 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19264 (feedmail-tidy-up-slug): Add debug call.
19265 Respect feedmail-queue-slug-suspect-regexp.
19266 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19267 (feedmail-dump-message-to-queue): Add debug call.
19268 Expand queue-directory.
19269 (feedmail-dump-message-to-queue): Change message slightly.
19270 Use feedmail-say-chatter.
19271 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19272 (feedmail-send-it-immediately-wrapper): New function.
19273 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19274 Insert empty string rather than newline. Handle full-frame case.
19275 Use catch/throw. Use feedmail-say-chatter.
19276 (feedmail-fiddle-from): Try mail-host-address.
19277 (feedmail-default-message-id-generator): Doc fix.
19278 Bind system-time-locale. Handle missing end.
19279 (feedmail-fiddle-x-mailer): Add debug call.
19280 Handle feedmail-x-mailer-line being nil.
19281 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19282 Add debug call. Use buffer-substring-no-properties.
19283 (feedmail-say-debug, feedmail-say-chatter): New functions.
19284 (feedmail-find-eoh): Give an explicit error.
19285
42c7e61e
UJ
192862011-05-13 Ulf Jasper <ulf.jasper@web.de>
19287
c2571358 19288 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19289 family from helvetica to sans.
c2571358 19290 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19291 etc/images/newsticker.
19292
c2571358 19293 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19294 family from helvetica to sans.
19295
19296 * net/newst-plainview.el (newsticker-new-item-face)
19297 (newsticker-old-item-face, newsticker-immortal-item-face)
19298 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19299 (newsticker-statistics-face): Change default family from
42c7e61e 19300 helvetica to sans.
c2571358 19301 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19302 etc/images/newsticker.
19303
5d3385a0
JB
19304 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19305 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19306 auto-marking.
19307
8497a297
DV
193082011-05-13 Didier Verna <didier@xemacs.org>
19309
19310 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19311 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19312 TODO entries.
8497a297
DV
19313 (lisp-lambda-list-keyword-parameter-indentation)
19314 (lisp-lambda-list-keyword-parameter-alignment)
19315 (lisp-lambda-list-keyword-alignment): New customizable user options.
19316 (lisp-indent-defun-method): Improve docstring.
19317 (extended-loop-p): Fix comment.
19318 (lisp-indent-lambda-list-keywords-regexp): New variable.
19319 (lisp-indent-lambda-list): New function.
19320 (lisp-indent-259): Use it.
19321 (lisp-indent-defmethod): Support for more than one
19322 method qualifier and properly indent methods lambda-lists.
19323 (defgeneric): Provide a missing common-lisp-indent-function property.
19324
f278f87f
SM
193252011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19326
19327 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19328 bounds for the empty string (bug#8667).
19329
5233edd7
GM
193302011-05-13 Glenn Morris <rgm@gnu.org>
19331
5237a44f
GM
19332 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19333
8340026c 19334 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19335 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19336
5233edd7 19337 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19338 (appt-time-msg-list): Doc fix.
a5464014 19339 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19340
92d10796
AS
193412011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19342
19343 * progmodes/ld-script.el (ld-script-keywords)
19344 (ld-script-builtins): Update keywords list.
19345
914a0ae1
SM
193462011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19347
c89be45f
SM
19348 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19349
914a0ae1
SM
19350 * shell.el (shell-completion-vars): New function.
19351 (shell-mode):
19352 * simple.el (read-shell-command): Use it.
19353 (blink-matching-open): No need for " [...]" in minibuffer-message.
19354
98dc3df3
GM
193552011-05-12 Glenn Morris <rgm@gnu.org>
19356
19357 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19358 (appt-check): Simplify.
19359
d2fc7e3d 193602011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19361
4d61f28d 19362 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19363 literal "/dev/null".
19364
d2fc7e3d 193652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19366
19367 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19368 Fix typo.
19369
d2fc7e3d 193702011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19371
3f254caa
SM
19372 * progmodes/which-func.el (which-function):
19373 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19374 which might not be defined (Bug#8260).
19375
d45885f7
GM
193762011-05-12 Glenn Morris <rgm@gnu.org>
19377
19378 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19379 Let byte-compile-initial-macro-environment always take precedence.
19380
488086f4
SM
193812011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19382
19383 * net/rcirc.el: Add support for SSL/TLS connections.
19384 (rcirc-server-alist): New field `encryption'.
19385 (rcirc): Check `encryption' settings.
19386 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19387 Merge make-local-variable into `set'.
19388 (rcirc--connection-open-p): New function.
19389 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19390 the process is not a network process (e.g. running gnutls-cli).
19391 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19392 Make rcirc-(en|de)code-coding-system local here.
19393 (rcirc-mode): Merge make-local-variable into `set'.
19394 (rcirc-parent-buffer): Make permanent buffer-local.
19395 (rcirc-multiline-minor-mode): Don't do it here.
19396 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19397 there's no server buffer.
19398
7d3b9d44
GM
193992011-05-11 Glenn Morris <rgm@gnu.org>
19400
f64049c6
GM
19401 * newcomment.el (comment-kill): Prefix "unused" local.
19402
93c9df73
GM
19403 * term/w32console.el (get-screen-color): Declare.
19404
7d3b9d44
GM
19405 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19406 Handle symbol elements of byte-compile-initial-macro-environment.
19407
9e2dd53f
LL
194082011-05-10 Leo Liu <sdl.web@gmail.com>
19409
488086f4
SM
19410 * bookmark.el (bookmark-bmenu-mode-map):
19411 Bind bookmark-bmenu-search to `/'.
8b340240 19412
9e2dd53f 19413 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19414 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19415 (Footnote-unicode): New function.
19416 (footnote-style-alist): Add unicode style to the list.
19417 (footnote-style): Doc fix.
9e2dd53f 19418
79b70037
GM
194192011-05-10 Jim Meyering <meyering@redhat.com>
19420
19421 Fix doubled-word typos.
19422 * international/quail.el (quail-insert-kbd-layout): and and -> and
19423 * kermit.el: and and -> and
19424 * net/ldap.el (ldap-search-internal): to to -> to
19425 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19426 * progmodes/js.el (js-mode): and and -> and
19427 * textmodes/artist.el (artist-move-to-xy): at at -> at
19428 (artist-draw-region-trim-line-endings): if if -> if
19429 And Safetyc -> Safety.
19430 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19431
b8f82dc1 194322011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19433 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19434
19435 * files.el (hack-one-local-variable-eval-safep):
19436 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19437
4f99f44b
GM
194382011-05-10 Glenn Morris <rgm@gnu.org>
19439
19440 * calendar/diary-lib.el (diary-list-entries-hook)
19441 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19442 (diary-nongregorian-marking-hook, diary-list-entries)
19443 (diary-include-other-diary-files, diary-mark-entries)
19444 (diary-mark-included-diary-files): Doc fixes.
19445
84f29e6b
JB
194462011-05-09 Juanma Barranquero <lekktu@gmail.com>
19447
19448 * misc.el: Require tabulated-list.el during compilation.
19449
9bedd73a
CY
194502011-05-09 Chong Yidong <cyd@stupidchicken.com>
19451
488086f4
SM
19452 * progmodes/compile.el (compilation-start):
19453 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19454 (compilation-filter-hook): Doc fix.
19455
797c735c
DD
194562011-05-09 Deniz Dogan <deniz@dogan.se>
19457
19458 * wdired.el: Remove outdated installation comment. Fix usage
19459 comment.
19460
5f4b1dfe
JB
194612011-05-09 Juanma Barranquero <lekktu@gmail.com>
19462
19463 * misc.el: Implement new command `list-dynamic-libraries'.
19464 (list-dynamic-libraries--loaded-only-p): New variable.
19465 (list-dynamic-libraries--refresh): New function.
19466 (list-dynamic-libraries): New command.
19467
4c44026c
CY
194682011-05-09 Chong Yidong <cyd@stupidchicken.com>
19469
488086f4
SM
19470 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19471 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19472 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19473 higher priority to avoid clobbering by gnu.
19474
027f966d
CY
194752011-05-08 Chong Yidong <cyd@stupidchicken.com>
19476
19477 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19478 if the face has existing theme settings (Bug#8454).
19479
085f5d7d
CY
194802011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19481
488086f4
SM
19482 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19483 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19484
2a86a00c
RS
19485 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19486 special file names `.' and `..' (Bug#8259).
19487
d9c54a06
CY
194882011-05-08 Chong Yidong <cyd@stupidchicken.com>
19489
488086f4
SM
19490 * progmodes/grep.el (grep-mode-font-lock-keywords):
19491 Remove buffer-changing entries.
d9c54a06
CY
19492 (grep-filter): New function.
19493 (grep-mode): Add it to compilation-filter-hook.
19494
19495 * progmodes/compile.el (compilation-filter-hook)
19496 (compilation-filter-start): New defvars.
19497 (compilation-filter): Call compilation-filter-hook prior to
19498 updating the process mark.
19499
c4662635
SM
195002011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19501
19502 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19503
b0512a1d
EZ
195042011-05-07 Eli Zaretskii <eliz@gnu.org>
19505
605c9376
EZ
19506 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19507 mailclient-send-it even if window-system is nil. (Bug#8595)
19508
c4662635
SM
19509 * term/w32console.el (terminal-init-w32console):
19510 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19511 background-mode. (Bug#8597)
19512
d1dc2cc2
SM
195132011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19514
19515 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19516 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19517 New functions.
19518 (defgeneric, eieio--defmethod): Use them.
19519 (eieio-defgeneric): Remove.
19520 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19521
915d1300
GM
195222011-05-07 Glenn Morris <rgm@gnu.org>
19523
a3961c3e
GM
19524 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19525 Use let rather than let*.
19526 (timeclock-find-discrep): Remove unused local.
19527
314347b9
GM
19528 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19529
915d1300
GM
19530 * calendar/appt.el (appt-time-msg-list): Doc fix.
19531
275b59b0
NF
195322011-05-06 Noah Friedman <friedman@splode.com>
19533
19534 * apropos.el (apropos-print-doc): Only use
19535 emacs-lisp-docstring-fill-column when it is bound to an integer,
19536 per that variable's documentation.
19537
6c19f744
SM
195382011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19539
19540 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19541 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19542
60f884b2
GM
195432011-05-06 Glenn Morris <rgm@gnu.org>
19544
5006e634
GM
19545 * calendar/appt.el (appt-message-warning-time): Doc fix.
19546 (appt-warning-time-regexp): New option.
19547 (appt-make-list): Respect appt-message-warning-time.
19548
548d0a63
GM
19549 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19550 New options.
19551 (diary-add-to-list): Strip comments from the displayed string.
19552 (diary-mode): Set comment-start and comment-end.
19553
60f884b2
GM
19554 * vc/diff-mode.el (smerge-refine-subst): Declare.
19555 (diff-refine-hunk): Don't require smerge-mode when compiling.
19556
989681bb
JB
195572011-05-06 Juanma Barranquero <lekktu@gmail.com>
19558
19559 * simple.el (list-processes): Return nil as the docstring says.
19560
a6bc05e1
MA
195612011-05-05 Michael Albinus <michael.albinus@gmx.de>
19562
19563 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19564 to "".
19565 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19566 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19567 determining of binary transfer. (Bug#7383)
19568
23c22e9a
MA
195692011-05-05 Michael Albinus <michael.albinus@gmx.de>
19570
c4662635
SM
19571 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19572 Fix port computation bug. (Bug#8618)
23c22e9a 19573
0bff894f
GM
195742011-05-05 Glenn Morris <rgm@gnu.org>
19575
b8296902
GM
19576 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19577
1f522ce8
GM
19578 * simple.el (shell-dynamic-complete-functions)
19579 (comint-dynamic-complete-functions): Declare.
19580
cf5bee67
GM
19581 * net/network-stream.el (gnutls-negotiate):
19582 * simple.el (tabulated-list-print): Fix declarations.
19583
19584 * progmodes/gud.el (syntax-symbol, syntax-point):
19585 Remove unnecessary and incorrect declarations.
19586
0bff894f 19587 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19588 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19589
9869b3ae
SM
195902011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19591
19592 Fix earlier half-done eieio-defmethod change (bug#8338).
19593 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19594 Streamline and change calling convention.
19595 (defmethod): Adjust accordingly and simplify.
19596 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19597 new eieio--defmethod.
19598 (slot-boundp): Minor CSE simplification.
19599
9c1d5ac5
MZ
196002011-05-05 Milan Zamazal <pdm@zamazal.org>
19601
19602 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19603 (glasses-make-readable): Use glasses-separate-capital-groups.
19604
455c834e
JB
196052011-05-05 Juanma Barranquero <lekktu@gmail.com>
19606
19607 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19608 (warning-series): Doc fix.
19609 (display-warning): Don't try to create the buffer if we just found it.
19610
9ed7c8cb
CY
196112011-05-04 Chong Yidong <cyd@stupidchicken.com>
19612
19613 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19614 (autoload-find-generated-file): New function.
19615 (generate-file-autoloads): Bind generated-autoload-file to
19616 buffer-file-name.
9869b3ae
SM
19617 (update-file-autoloads, update-directory-autoloads):
19618 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19619 output file (Bug#7989).
19620 (batch-update-autoloads): Doc fix.
19621
0898ca10
JB
196222011-05-04 Juanma Barranquero <lekktu@gmail.com>
19623
19624 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19625
31dfb76c
GM
196262011-05-04 Glenn Morris <rgm@gnu.org>
19627
f330b642
GM
19628 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19629 function, so it follows changes in calendar-date-style.
19630 (diary-fancy-date-matcher): New function.
19631 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19632 (diary-fancy-font-lock-fontify-region-function):
19633 Use diary-fancy-date-pattern as a function.
19634
31dfb76c
GM
19635 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19636 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19637
48e79d6a
TZ
196382011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19639
19640 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19641 instead of positional arguments. Allow :keylist and :crlfiles
19642 arguments.
19643 (open-gnutls-stream): Call it.
19644
19645 * net/network-stream.el (network-stream-open-starttls): Adjust to
19646 call `gnutls-negotiate' with :process and :hostname arguments.
19647
dd5a5ee0
SM
196482011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19649
ef80fc09
SM
19650 * minibuffer.el (completion--message): New function.
19651 (completion--do-completion, minibuffer-complete)
19652 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19653 (completion--do-completion): Don't ignore completion-auto-help when in
19654 icomplete-mode.
19655
dd5a5ee0
SM
19656 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19657 internal encoding (e.g. tibetan zero is not whitespace).
19658 (global-whitespace-mode): Prefer save-current-buffer.
19659 (whitespace-trailing-regexp): Remove useless save-match-data.
19660 (whitespace-empty-at-bob-regexp): Minor simplification.
19661
b7d22a83
CY
196622011-05-03 Chong Yidong <cyd@stupidchicken.com>
19663
19664 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19665
5192af46
AM
196662011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19667
19668 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19669 Use `concat' to create string for insertion.
5192af46 19670
5767d190
SM
196712011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19672
19673 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19674 Avoid open-line which runs post-self-insert-hook.
19675 (bibtex-fill-entry): Remove unused `end' var.
19676
bf242939
AM
196772011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19678
5767d190
SM
19679 * textmodes/ispell.el (ispell-add-per-file-word-list):
19680 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19681
25666126
LL
196822011-05-03 Leo Liu <sdl.web@gmail.com>
19683
19684 * isearch.el (isearch-yank-pop): New command.
5767d190 19685 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19686 (isearch-forward): Mention it.
19687
52d3c2d0
SM
196882011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19689
1bcace58
SM
19690 * simple.el (minibuffer-complete-shell-command): Remove.
19691 (minibuffer-local-shell-command-map): Use completion-at-point.
19692 (read-shell-command): Setup completion vars here instead.
19693 (read-expression-map): Bind TAB to symbol completion.
19694
52d3c2d0
SM
19695 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19696 error directly rather via storing it into `results'.
19697
35813471
LL
196982011-05-02 Leo Liu <sdl.web@gmail.com>
19699
19700 * vc/diff.el: Fix description.
19701
e793a940
LMI
197022011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19703
19704 * server.el (server-eval-at): New function.
19705
8de66e05
LMI
197062011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19707
19708 * net/network-stream.el (open-network-stream): Take a :nowait
19709 parameter and pass it on to `make-network-process'.
19710 (network-stream-open-plain): Ditto.
19711
dcb79f20
AS
197122011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19713
19714 * faces.el (face-spec-set-match-display): Don't match toolkit
19715 options on terminal frames.
19716
14a7fbd8
SM
197172011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19718
7eabc1be
SM
19719 * progmodes/pascal.el: Use lexical binding.
19720 (pascal-mode-map): Remove author preferences.
19721
14a7fbd8
SM
19722 * pcomplete.el (pcomplete-std-complete): Don't abuse
19723 completion-at-point.
19724
50f84510
JB
197252011-04-28 Juanma Barranquero <lekktu@gmail.com>
19726
6e087a44
JB
19727 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19728 removing code that has been dead since 1991 or so.
19729
50f84510
JB
19730 * startup.el (command-line): When warning about "_emacs", use a
19731 delayed warning to allow the user to filter it out.
19732
0ba690bd
DD
197332011-04-28 Deniz Dogan <deniz@dogan.se>
19734
19735 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19736 user has not joined.
19737
08abfaad
SM
197382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19739
19740 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19741 aren't any completions at point.
19742
638f053a
JB
197432011-04-28 Juanma Barranquero <lekktu@gmail.com>
19744
19745 * subr.el (display-delayed-warnings): New function.
19746 (delayed-warnings-hook): New variable.
19747
8fff8daa
SM
197482011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19749
08abfaad
SM
19750 * minibuffer.el (completion-at-point, completion-help-at-point):
19751 Don't presume that a given completion-at-point-function will always
19752 use the same calling convention.
19753
8fff8daa
SM
19754 * pcomplete.el (pcomplete-completions-at-point):
19755 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19756 pcomplete-seen is non-nil.
19757 (pcomplete-comint-setup): Also recognize the new comint/shell
19758 completion functions.
19759 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19760 pcomplete-seen is non-nil.
19761
841a1577 197622011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19763
841a1577 19764 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19765 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19766 the first character in the entry. This allows for code to add its
211ec907
UJ
19767 own uid to the entry.
19768 (icalendar--convert-float-to-ical): Add export of
19769 `diary-float'-entries save for those with the optional DAY
19770 argument.
19771
2a782793
DC
197722011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19773
19774 * subr.el (shell-quote-argument): Use alternate escaping strategy
19775 when we spot a variable reference in a string.
19776
0438ce91
DC
197772011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19778
19779 * cus-start.el (all): Define customization for debug-on-event.
19780
841a1577 197812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19782
19783 * subr.el (shell-quote-argument): Escape correctly under Windows.
19784
d090ed6c
SM
197852011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19786
19787 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19788
bfd31217
MA
197892011-04-25 Michael Albinus <michael.albinus@gmx.de>
19790
d090ed6c
SM
19791 * net/tramp.el (tramp-process-actions): Add POS argument.
19792 Delete region between POS and (pos).
bfd31217 19793
d090ed6c
SM
19794 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19795 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19796 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19797
19798 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19799 position in `tramp-process-actions' call.
19800
19801 * net/trampver.el: Update release number.
19802
e92f3bd3
SM
198032011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19804
850256b5
SM
19805 * custom.el (defcustom): Obey lexical-binding.
19806
e92f3bd3
SM
19807 Fix octave-inf completion problems reported by Alexander Klimov.
19808 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19809 Inherit from octave-mode-syntax-table.
19810 (inferior-octave-mode): Set info-lookup-mode.
19811 (inferior-octave-completion-at-point): New function.
19812 (inferior-octave-complete): Use it and completion-in-region.
19813 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19814 comint-filename-completion.
19815 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19816 symbol elements which shouldn't be word elements.
19817 (octave-font-lock-keywords, octave-beginning-of-defun)
19818 (octave-function-header-regexp): Adjust regexps accordingly.
19819 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19820
cd22b309
JB
198212011-04-25 Juanma Barranquero <lekktu@gmail.com>
19822
19823 * net/gnutls.el (gnutls-errorp): Declare before first use.
19824
8b492194
TZ
198252011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19826
19827 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19828 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19829 default trustfile exists before going to use it. Add missing
5a5fa834 19830 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19831 Reported by Claudio Bley <claudio.bley@gmail.com>.
19832 (open-gnutls-stream): Add usage example.
19833
19834 * net/network-stream.el (network-stream-open-starttls): Give host
19835 parameter to `gnutls-negotiate'.
19836 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19837 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19838
841a1577 198392011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19840
cd22b309
JB
19841 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19842 Use correct match group (bug#8438).
05842630 19843
3ba7869c
CY
198442011-04-24 Chong Yidong <cyd@stupidchicken.com>
19845
512e3ae1
CY
19846 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19847 (package-menu--generate): New arg specifying packages to show.
19848 (package-menu-refresh, package-menu-execute, list-packages):
19849 Callers changed.
19850 (package-show-package-list): New function, replacing deleted
19851 package--list-packages (renamed because it is non-internal).
19852
19853 * finder.el (finder-list-matches): Use package-show-package-list
19854 instead of deleted package--list-packages.
19855
e92f3bd3
SM
19856 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19857 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19858 (vc-annotate-mode-map): Bind it to RET.
19859
7031be6d
UR
198602011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19861
19862 * progmodes/etags.el (next-file): Don't use set-buffer to change
19863 buffers (Bug#8478).
19864
4ef177aa
CY
198652011-04-24 Chong Yidong <cyd@stupidchicken.com>
19866
c8d173eb
CY
19867 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19868
4ef177aa
CY
19869 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19870 (apropos-accumulator): Doc fix.
19871 (apropos-function, apropos-macro, apropos-command)
19872 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19873 (apropos-plist): Add face property.
19874 (apropos-symbols-internal): Fix indentation.
19875 (apropos-print): Simplify help, and recognize apropos-multi-type.
19876 (apropos-print-doc): Use button-type-get to extract the button's
19877 face property. Fill docstring (Bug#8352).
19878
4ffd0d6b 198792011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19880
19881 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19882
c6c32125 19883 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19884 (mpuz-mode-map): Use mapc.
c6c32125
JB
19885 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19886 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19887 Fix typos in docstrings.
19888
58d468b4
JB
19889 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19890 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19891
6470c3c6
JB
19892 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19893
4ffd0d6b 198942011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19895
19896 * minibuffer.el (completion--do-completion): Avoid the "Next char
19897 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19898
3ad8bad0
CY
19899 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19900 mouse-2 into unread-command-events, it is interpreted correctly.
19901
71d73c9c 19902 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19903 (image-toggle-display): Doc fix.
71d73c9c 19904
841a1577 199052011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19906
4ffd0d6b
GM
19907 * textmodes/page.el (what-page): Use line-number-at-pos to
19908 calculate line number (Bug#6825).
6e1dbaa9 19909
c2fb1b60
JB
199102011-04-22 Juanma Barranquero <lekktu@gmail.com>
19911
19912 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19913 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19914 Pass argument NO-DEFAULT to `find-tag-interactive'.
19915
e02f48d7
JB
199162011-04-22 Juanma Barranquero <lekktu@gmail.com>
19917
19918 Lexical-binding cleanup.
19919
19920 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19921 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19922 * progmodes/ada-prj.el (ada-prj-initialize-values)
19923 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19924 (ada-prj-show-value):
19925 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19926 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19927 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19928 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19929 * progmodes/bug-reference.el (bug-reference-push-button):
19930 * progmodes/fortran.el (fortran-line-length):
19931 * progmodes/glasses.el (glasses-change):
19932 * progmodes/octave-mod.el (octave-fill-paragraph):
19933 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19934 (python-pdbtrack-grub-for-buffer, python-sentinel):
19935 * progmodes/sql.el (sql-save-connection):
19936 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19937 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19938 Mark unused parameters.
19939
19940 * progmodes/compile.el (compilation--flush-directory-cache)
19941 (compilation--flush-parse, compile-internal): Mark unused parameters.
19942 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19943 (compilation-next-error-function): Remove unused variable `timestamp'.
19944
19945 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19946 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19947
19948 * progmodes/dcl-mode.el (dcl-end-of-command):
19949 Remove unused variable `start'.
19950 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19951 (dcl-option-value-basic, dcl-option-value-offset)
19952 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19953 Mark unused parameters.
19954 (dcl-save-local-variable): Remove unused variable `val'.
19955 (mode): Declare.
19956
19957 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19958 Mark unused parameters.
19959 (delphi-ignore-changes): Move before first use.
19960 (delphi-charset-token-at): Remove unused variable `start'.
19961 (delphi-else-start): Remove unused variable `if-count'.
19962 (delphi-comment-block-start, delphi-comment-block-end):
19963 Remove unused variable `kind'.
19964 (delphi-indent-line): Remove unused variable `new-point'.
19965
19966 * progmodes/ebrowse.el (ebrowse-files-list)
19967 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19968 Mark unused parameters. Don't quote `lambda'.
19969 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19970 Don't quote `lambda'.
19971 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19972 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19973 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19974 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19975 Use `ignore-errors'.
19976 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19977 (ebrowse-view/find-file-and-search-pattern)
19978 (ebrowse-view/find-member-declaration/definition):
19979 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19980 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19981 Rename parameter PREFIX-ARG to PREFIX.
19982 (ebrowse-tags-read-name): Remove unused variables `start' and
19983 `member-info'.
19984 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19985 to `tags-file'.
19986
19987 * progmodes/etags.el (local-find-tag-hook): Declare.
19988 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19989 Mark unused parameters.
19990
19991 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19992 (executable-interpret): Mark unused parameter.
19993
19994 * progmodes/flymake.el (flymake-process-sentinel)
19995 (flymake-after-change-function)
19996 (flymake-create-temp-with-folder-structure)
19997 (flymake-get-include-dirs-dot): Mark unused parameters.
19998 (flymake-safe-delete-directory): Remove unused variable `err'.
19999
20000 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20001 (speedbar-timer-fn, speedbar-line-text)
20002 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20003 (speedbar-center-buffer-smartly): Declare functions.
20004 (gdb-find-watch-expression): Remove unused variable `array'.
20005 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20006 (gdb-starting): Mark unused parameters.
20007 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20008 (gdb-table-string): Remove unused variable `res'.
20009 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20010 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20011 (gdb-display-buffer): Remove unused variable `cur-size'.
20012
20013 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20014 allow lexical-binding compilation.
20015 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20016 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20017 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20018 Mark unused parameters.
20019 (gud-gdb-marker-filter): Remove unused variable `match'.
20020 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20021 lambda expressions and funcall them, instead of using `fset'.
20022
20023 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20024 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20025
20026 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20027 variable `header-beg'; use `let'.
20028
20029 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20030 `restart', `last-sexp' and `at-do'.
20031
20032 * progmodes/js.el (js--debug): Mark unused parameter.
20033 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20034 (js--splice-into-items): Remove unused variable `item'.
20035 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20036
20037 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20038 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20039 (makefile-complete): Remove unused variable `try'.
20040 (makefile-fill-paragraph, makefile-match-function-end):
20041 Mark unused parameters.
20042
20043 * progmodes/octave-inf.el (inferior-octave-complete):
20044 Remove unused variable `proc'.
20045 (inferior-octave-output-digest): Mark unused parameter.
20046
20047 * progmodes/perl-mode.el (perl-calculate-indent):
20048 Remove unused variable `err'.
20049
20050 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20051 (prolog-indent-line): Mark unused parameters.
20052 (prolog-indent-line): Remove unused variable `beg'.
20053
20054 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20055 (reporter-dont-compact-list): Declare.
20056
20057 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20058 Remove unused variable `char'.
20059 (sh-debug): Mark unused parameter.
20060 (sh-get-indent-info): Remove unused variable `start'.
20061 (sh-calculate-indent): Remove unused variable `var'.
20062
20063 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20064 (simula-electric-keyword): Remove unused variable `null'.
20065 (simula-search-backward, simula-search-forward): Remove unused
20066 variables `begin' and `end'.
20067
20068 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20069 Remove unused variable `pos'.
20070 (vera-electric-tab, vera-comment-uncomment-region):
20071 Mark unused parameters.
20072 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20073
7ede3b65
CY
200742011-04-22 Chong Yidong <cyd@stupidchicken.com>
20075
20076 * emacs-lisp/package.el (package--builtins, package-alist)
20077 (package-load-descriptor, package-built-in-p, package-activate)
20078 (define-package, package-installed-p)
20079 (package-compute-transaction, package-buffer-info)
20080 (package--push): Doc fix. Distinguish more clearly between
20081 version strings and version lists.
20082
121656e9
JB
200832011-04-21 Juanma Barranquero <lekktu@gmail.com>
20084
20085 Lexical-binding cleanup.
20086
20087 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20088 (5x5-make-mutate-best):
20089 * play/fortune.el (fortune-in-buffer):
20090 * play/gomoku.el (gomoku-init-display):
20091 * play/solitaire.el (solitaire, solitaire-do-check):
20092 * play/tetris.el (tetris-default-update-speed-function):
20093 Mark unused parameters.
20094
20095 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20096 (bubbles--shift): Remove unused variable `char-org'.
20097 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20098 (bubbles--show-images): Remove unused variable `char'.
20099
20100 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20101 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20102 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20103 (decipher-analyze-buffer): Use ?\s.
20104 (decipher-make-checkpoint): Remove unused variable `mapping'.
20105
20106 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20107
20108 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20109 Remove unused variable `result'; use `let'.
20110
20111 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20112 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20113 (gametree-children-shown-p, gametree-compute-reduced-score):
20114 Use `ignore-errors'.
20115
20116 * play/handwrite.el (ps-lpr-switches): Declare.
20117 (handwrite): Remove unused variables `pmin' and `lastp'.
20118
20119 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20120
20121 * play/landmark.el (landmark-init-display)
20122 (landmark-update-naught-weights): Mark unused parameters.
20123 (landmark-y): Remove unused variable `noise'. Simplify.
20124 (landmark-human-plays): Remove unused variable `score'.
20125
20126 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20127 (mpuz-try-proposal): Remove unused variable `game'.
20128
20129 * play/zone.el (life-patterns): Declare.
20130
80f499c7
JB
201312011-04-20 Juanma Barranquero <lekktu@gmail.com>
20132
20133 * vc/vc.el (ediff-vc-internal): Declare function.
20134
024ff170
SM
201352011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20136
c0a193ea
SM
20137 * shell.el: Use lexical-binding and std completion UI.
20138 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20139 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20140 comint-preoutput-filter-functions rather than on
20141 comint-output-filter-functions.
20142 (shell-command-completion, shell--command-completion-data)
20143 (shell-filename-completion, shell-environment-variable-completion)
20144 (shell-c-a-p-replace-by-expanded-directory): New functions.
20145 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20146 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20147 (shell-dynamic-complete-environment-variable): Use them.
20148 (shell-dynamic-complete-as-environment-variable)
20149 (shell-dynamic-complete-as-command): Remove.
20150 (shell-match-partial-variable): Match past point.
20151 * comint.el: Clean up use of completion-at-point-functions.
20152 (comint-completion-at-point): New function.
20153 (comint-mode): Use it completion-at-point-functions.
20154 (comint-dynamic-complete): Make it obsolete.
20155 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20156 (comint-c-a-p-replace-by-expanded-history): New function.
20157 (comint-dynamic-complete-functions)
20158 (comint-replace-by-expanded-history): Use it.
20159 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20160 termination strings. Try harder to avoid second try-completion.
20161 (completion-in-region-mode-map): Disable bindings that don't work yet.
20162
2dbaa080
SM
20163 * comint.el: Use lexical-binding. Require CL.
20164 (comint-dynamic-complete-functions): Use comint-filename-completion.
20165 (comint-completion-addsuffix): Tweak custom type.
20166 (comint-filename-completion, comint--common-suffix)
20167 (comint--common-quoted-suffix, comint--table-subvert)
20168 (comint--complete-file-name-data): New functions.
20169 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20170 (comint-dynamic-list-filename-completions): Use them.
20171 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20172
2dbaa080
SM
20173 * minibuffer.el (completion-in-region-mode):
20174 Keep completion-in-region-mode--predicate global.
20175 (completion-in-region--postch):
20176 Assume completion-in-region-mode--predicate is not null.
20177
c79a6f38
SM
20178 * progmodes/flymake.el (flymake-start-syntax-check-process):
20179 Obey `dir'. Simplify.
20180
024ff170
SM
20181 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20182 we're in VC after all.
20183
1c6c854e
CS
201842011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20185
20186 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20187 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20188 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20189
bed7f140
SM
201902011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20191
332e62ab
SM
20192 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20193 add sanity check.
20194
bed7f140
SM
20195 * obsolete/erc-hecomplete.el: Make obsolete.
20196 * obsolete/: Standardize obsolescence info in the header.
20197
f195c582
GM
201982011-04-20 Glenn Morris <rgm@gnu.org>
20199
20200 * calendar/solar.el (solar-horizontal-coordinates):
20201 Use the longitude argument rather than `calendar-longitude'.
20202 (solar-date-next-longitude): Remove unused locals.
20203
cb79b8c0
VJL
202042011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20205
20206 * whitespace.el: New version 13.2.1.
20207
202082011-04-20 felix <EmacsWiki> (tiny change)
20209
d8e4b68b 20210 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20211 switching between major modes on a file.
20212
602ea69d
SM
202132011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20214
20215 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20216 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20217 multi-line comments as well.
20218
06b60517
JB
202192011-04-19 Juanma Barranquero <lekktu@gmail.com>
20220
20221 Lexical-binding cleanup.
20222
20223 * arc-mode.el (archive-mode-revert):
20224 * cmuscheme.el (scheme-interactively-start-process):
20225 * custom.el (custom-initialize-delay):
20226 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20227 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20228 * emacs-lock.el (emacs-lock-clear-sentinel):
20229 * ezimage.el (defezimage):
20230 * follow.el (follow-avoid-tail-recenter):
20231 * fringe.el (set-fringe-mode-1):
20232 * generic-x.el (bat-generic-mode-compile):
20233 * help-mode.el (help-info-variable, help-do-xref)
20234 (help-mode-revert-buffer):
20235 * help.el (view-emacs-todo):
20236 * iswitchb.el (iswitchb-completion-help):
20237 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20238 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20239 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20240 * locate.el (locate-update):
20241 * longlines.el (longlines-encode-region)
20242 (longlines-after-change-function):
20243 * outline.el (outline-isearch-open-invisible):
20244 * ps-def.el (declare-function, charset-dimension, char-width)
20245 (encode-char):
20246 * ps-mule.el (ps-mule-plot-string):
20247 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20248 (recentf-edit-list-select, recentf-edit-list-validate)
20249 (recentf-open-files-action):
20250 * rect.el (delete-whitespace-rectangle-line)
20251 (rectangle-number-line-callback):
20252 * register.el (window-configuration-to-register)
20253 (frame-configuration-to-register):
20254 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20255 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20256 (xselect-convert-to-targets, xselect-convert-to-delete)
20257 (xselect-convert-to-filename, xselect-convert-to-charpos)
20258 (xselect-convert-to-lineno, xselect-convert-to-colno)
20259 (xselect-convert-to-os, xselect-convert-to-host)
20260 (xselect-convert-to-user, xselect-convert-to-class)
20261 (xselect-convert-to-name, xselect-convert-to-integer)
20262 (xselect-convert-to-atom, xselect-convert-to-identity):
20263 * subr.el (declare, ignore, process-kill-without-query)
20264 (text-clone-maintain):
20265 * terminal.el (te-get-char, te-tic-sentinel):
20266 * tool-bar.el (tool-bar-make-keymap):
20267 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20268 * type-break.el (type-break-mode, type-break-noninteractive-query):
20269 * view.el (View-back-to-mark):
20270 * wid-browse.el (widget-browse-action, widget-browse-widget)
20271 (widget-browse-widgets, widget-browse-sexp):
20272 * widget.el (define-widget-keywords):
20273 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20274 Mark unused parameters.
20275
20276 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20277 (align-areas): Remove unused variable `look'.
20278 (align-region): Remove unused variables `real-end' and `pos-list'.
20279
20280 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20281
20282 * bindings.el (mode-line-modified, mode-line-remote):
20283 Mark unused parameters.
20284 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20285
20286 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20287 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20288
20289 * comint.el (comint-history-isearch-pop-state)
20290 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20291 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20292 (comint-substitute-in-file-name): Doc fix.
20293
20294 * completion.el (cmpl-statistics-block): Mark unused parameter.
20295 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20296 (save-completions-to-file, load-completions-from-file):
20297 Remove unused local variable `e'.
20298
20299 * composite.el (compose-chars): Remove unused variable `len'.
20300 (lgstring-insert-glyph): Remove unused variable `g'.
20301 (compose-glyph-string): Remove unused variables `ascent',
20302 `descent', `lbearing' and `rbearing'.
20303 (compose-glyph-string-relative): Remove unused variables
20304 `lbearing', `rbearing' and `wadjust'.
20305 (compose-gstring-for-graphic): Remove unused variables `header',
20306 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20307 (compose-gstring-for-terminal): Remove unused variables `header'
20308 and `nchars'. Use `let', not `let*'.
20309
20310 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20311 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20312 (Custom-buffer-done, custom-buffer-create-internal)
20313 (custom-browse-visibility-action, custom-browse-group-tag-action)
20314 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20315 (widget-magic-mouse-down-action, custom-toggle-parent)
20316 (custom-add-parent-links, custom-toggle-hide-variable)
20317 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20318 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20319 (custom-face-menu-create, custom-variable-menu-create, get)
20320 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20321 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20322 (customize-apropos): Remove unused variable `tests'.
20323 (custom-group-value-create): Remove unused variable `hidden-p'.
20324 (sort-fold-case): Declare.
20325
20326 * cus-theme.el (custom-reset-standard-faces-list)
20327 (custom-reset-standard-variables-list): Declare.
20328 (customize-create-theme, custom-theme-revert, custom-theme-write)
20329 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20330 Mark unused parameters.
20331
20332 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20333
20334 * delim-col.el (delimit-columns-max): Move defvar before first use.
20335
20336 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20337 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20338
20339 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20340 (auto-insert): Declare.
20341 (desktop-restore-file-buffer): Rename desktop-* parameters;
20342 mark unused ones.
20343 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20344 (desktop-buffer): Rename desktop-* parameters.
20345
20346 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20347 (dframe-reposition-frame-xemacs, dframe-help-echo)
20348 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20349 Mark unused parameters.
20350
20351 * dired-aux.el (backup-extract-version-start, overwrite-query)
20352 (overwrite-backup-query, rename-regexp-query)
20353 (rename-non-directory-query): Declare.
20354 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20355 (dired-add-entry): Remove unused variable `orig-file-name'.
20356 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20357 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20358 `dired-copy-preserve-time' directly.
20359 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20360 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20361
20362 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20363 (dired-virtual-revert, dired-make-relative-symlink):
20364 Mark unused parameters.
20365 (manual-program): Declare.
20366 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20367 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20368 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20369
20370 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20371
20372 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20373
20374 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20375 Declare.
20376
20377 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20378
20379 * electric.el (Electric-command-loop): Rename parameter
20380 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20381
20382 * expand.el (expand-in-literal): Remove unused variable `here'.
20383
20384 * facemenu.el (facemenu-add-new-color):
20385 Remove unused variable `docstring'.
20386
20387 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20388 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20389 (face-attr-construct): Mark unused parameter. Doc fix.
20390 (read-color): Remove unused variable `hex-string'.
20391
20392 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20393 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20394 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20395 (display-buffer-other-frame): Remove unused variable `old-window'.
20396 (kill-buffer-hook): Declare.
20397 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20398 Mark unused parameters.
20399 (after-find-file): Pass 1 to `auto-save-mode', not t.
20400
20401 * files-x.el (auto-insert): Declare.
20402 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20403
20404 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20405 variable `buf'. Mark unused parameter.
06b60517
JB
20406 (find-lisp-insert-directory): Mark unused parameter.
20407
20408 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20409 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20410 (format-common-tail): Remove, unused.
20411 (format-deannotate-region): Remove unused variable `loc'.
20412 (format-annotate-region): Remove unused variable `p'.
20413 (format-annotate-single-property-change): Remove unused variables
20414 `default' and `tail'.
20415
20416 * forms.el (read-file-filter): Declare.
20417 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20418
20419 * frame.el (frame-creation-function-alist): Mark unused parameter.
20420 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20421
20422 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20423 Remove unused parameters.
20424 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20425 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20426
20427 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20428 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20429 (hfy-prepare-tag-map): Mark unused parameters.
20430 (htmlfontify-buffer): Use `called-interactively-p'.
20431
20432 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20433 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20434 (ibuffer-do-occur): Mark unused parameters.
20435 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20436 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20437
20438 * ibuffer.el: Don't quote `lambda'.
20439 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20440 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20441 Mark unused parameters.
20442
20443 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20444 (ido-completing-read): Mark unused parameters.
20445 (ido-copy-current-word): Mark unused parameters;
20446 remove unused variable `name'.
20447 (ido-sort-merged-list): Remove unused parameter `dirs'.
20448
20449 * ielm.el (ielm-input-sender): Mark unused parameter.
20450 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20451 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20452 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20453 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20454 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20455
20456 * image-dired.el (image-dired-display-thumbs): Remove unused
20457 variables `curr-file' and `count'.
20458 (image-dired-remove-tag): Remove unused variable `start'.
20459 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20460 variable `curr-file'
20461 (image-dired-rotate-original): Remove unused variable `temp-file'.
20462 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20463 Remove unused variable `file'.
20464 (image-dired-gallery-generate): Remove unused variable `curr'.
20465 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20466
20467 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20468
20469 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20470
20471 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20472
20473 * isearch.el (minibuffer-history-symbol): Declare.
20474 (isearch-edit-string): Remove unused variable `err'.
20475 (isearch-message-prefix, isearch-message-suffix):
20476 Mark unused parameters.
20477
20478 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20479
20480 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20481
20482 * makesum.el (double-column): Remove unused variable `cnt'.
20483
20484 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20485 (ido-ignore-item-temp-list): Declare.
20486
20487 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20488 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20489 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20490 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20491 `mouse-col-delta'.
20492
20493 * mouse-sel.el (mouse-extend-internal):
20494 Remove unused variable `orig-window-frame'.
20495
20496 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20497 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20498 Move declarations before first use.
20499 (pcomplete-opt): Mark unused parameters; doc fix.
20500
20501 * proced.el (proced-revert): Mark unused parameter.
20502 (proced-send-signal): Remove unused variable `err'.
20503
20504 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20505 Rename parameter PREFIX-ARG to ARG.
20506 (ps-basic-plot-string, ps-basic-plot-whitespace):
20507 Mark unused parameters.
20508
20509 * replace.el (replace-count): Define.
20510 (occur-revert-function): Mark unused parameters.
20511 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20512 (isearch-case-fold-search, isearch-string): Declare.
20513 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20514 bind `case-fold-search'. Remove unused variables `beg' and `end',
20515 and simplify.
20516 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20517 COUNT and bind `replace-count'.
20518 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20519 to COUNT.
20520
20521 * savehist.el (print-readably, print-string-length): Declare.
20522
20523 * shadowfile.el (shadow-expand-cluster-in-file-name):
20524 Remove unused variable `cluster'.
20525 (shadow-copy-file): Remove unused variable `i'.
20526 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20527 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20528 (shadow-define-literal-group, shadow-define-regexp-group)
20529 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20530
20531 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20532 (shell): Use `called-interactively-p'.
20533 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20534
20535 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20536 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20537 (delete-backward-char): Remove unused variable `ocol'.
20538 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20539 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20540 (event-apply-hyper-modifier, event-apply-shift-modifier)
20541 (event-apply-control-modifier, event-apply-meta-modifier):
20542 Mark unused parameters.
20543 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20544 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20545
20546 * speedbar.el (speedbar-ignored-directory-expressions)
20547 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20548 (speedbar-find-file, speedbar-dir-follow)
20549 (speedbar-directory-buttons-follow, speedbar-tag-find)
20550 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20551 (speedbar-buffers-line-directory, speedbar-buffer-click):
20552 Mark unused parameters.
20553 (speedbar-tag-file): Remove unused variable `mode'.
20554 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20555
20556 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20557
20558 * talk.el (talk): Remove unused variable `display'.
20559
20560 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20561 (tar-write-region-annotate): Mark unused parameter.
20562
20563 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20564 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20565 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20566 warning by another.
20567
20568 * time-stamp.el (time-stamp-string-preprocess):
20569 Remove unused variable `require-padding'.
20570
20571 * tree-widget.el (widget-glyph-enable): Declare.
20572 (tree-widget-action): Mark unused parameter.
20573
20574 * w32-fns.el (x-get-selection): Mark unused parameter.
20575 (autoload-make-program, generated-autoload-file): Declare.
20576
20577 * wdired.el (wdired-revert): Mark unused parameters.
20578 (wdired-xcase-word): Remove unused variable `err'.
20579
20580 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20581 (whitespace-help-scroll): Remove unused variable `data-help'.
20582
20583 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20584 (widget-image-insert, widget-after-change, default)
20585 (widget-default-format-handler, widget-default-notify)
20586 (widget-default-prompt-value, widget-info-link-action)
20587 (widget-url-link-action, widget-function-link-action)
20588 (widget-variable-link-action, widget-file-link-action)
20589 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20590 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20591 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20592 (widget-insert-button-action, widget-delete-button-action, visibility)
20593 (widget-documentation-link-action, widget-documentation-string-action)
20594 (widget-const-prompt-value, widget-regexp-match, symbol)
20595 (widget-coding-system-prompt-value)
20596 (widget-key-sequence-value-to-external, sexp)
20597 (widget-sexp-value-to-internal, character, vector, cons)
20598 (widget-choice-prompt-value, widget-boolean-prompt-value)
20599 (widget-color--choose-action): Mark unused parameters.
20600 (widget-item-match-inline, widget-choice-match-inline)
20601 (widget-checklist-match, widget-checklist-match-inline)
20602 (widget-group-match): Rename parameter VALUES to VALS.
20603 (widget-field-value-set): Remove unused variable `size'.
20604 (widget-color-action): Remove unused variables `value' and `start'.
20605
20606 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20607 variable `dir'. Doc fix.
06b60517
JB
20608 (windmove-find-other-window): Don't pass it.
20609
20610 * window.el (count-windows): Mark unused parameter.
20611 (bw-adjust-window): Remove unused variable `err'.
20612
20613 * woman.el (woman-file-name): Remove unused variable `default'.
20614 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20615 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20616 (global-font-lock-mode): Declare.
20617 (woman-decode-region): Mark unused parameter.
20618 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20619
20620 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20621 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20622 (x-dnd-handle-moz-url): Remove unused variable `title'.
20623 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20624
20625 * xml.el (xml-parse-tag, xml-parse-attlist):
20626 Remove unused variable `pos'.
20627
bc4f7f3d
GM
206282011-04-19 Glenn Morris <rgm@gnu.org>
20629
20630 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20631 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20632 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20633 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20634 * calendar/cal-html.el (cal-html-insert-minical):
20635 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20636 (calendar-mark-date-pattern):
20637 Prefix "unused" locals.
20638
20639 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20640 optional argument `style'.
20641
20642 * calendar/appt.el (appt-make-list):
20643 * calendar/cal-china.el (calendar-chinese-date-string):
20644 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20645 (diary-hebrew-yahrzeit):
20646 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20647 * calendar/calendar.el (calendar-generate-window):
20648 * calendar/time-date.el (time-to-days):
20649 Remove unused local variables.
20650
16a43933
CY
206512011-04-18 Chong Yidong <cyd@stupidchicken.com>
20652
20653 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20654 glyphless-char-display table.
20655 (tabulated-list-glyphless-char-display): New var.
20656
7eed1860
SS
206572011-04-18 Sam Steingold <sds@gnu.org>
20658
20659 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20660 to acknowledgments.
20661
4d2d1ccd
GM
206622011-04-17 Glenn Morris <rgm@gnu.org>
20663
20664 * calendar/diary-lib.el (diary-sexp-entry):
20665 * calendar/holidays.el (holiday-sexp):
20666 Set debug-on-error rather than the removed stack-trace-on-error.
20667
239da61d
GM
206682011-04-16 Glenn Morris <rgm@gnu.org>
20669
20670 * progmodes/f90.el: Use lexical-binding.
20671 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20672
8b05752a
SM
206732011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20674
daca8ba5
SM
20675 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20676 (mail-mode): Setup mailalias completion here instead.
20677 * mail/mailalias.el: Use lexical-binding.
20678 (pattern, mailalias-done): Declare dynamic.
20679 (mail-completion-at-point-function): New function, from mail-complete.
20680 (mail-complete): Use it.
20681 (mail-completion-expand): New function.
20682 (mail-get-names): Use it.
20683 (mail-directory, mail-directory-process, mail-directory-stream):
20684 Don't use `pattern' for lexically bound arg.
20685
6f542485
SM
20686 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20687
037e7c3f
SM
20688 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20689 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20690 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20691
8b05752a
SM
20692 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20693 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20694 (byte-interactive-p): Define them again, for use when inlining
20695 old code.
20696
49093f60
JB
206972011-04-15 Juanma Barranquero <lekktu@gmail.com>
20698
20699 * loadup.el: Use `string-to-number', not `string-to-int'.
20700
b5b8e7de
SM
207012011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20702
20703 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20704 gud-gdb-complete-command.
20705 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20706 (gud-gdb-completion-at-point): New function.
20707 (gud-gdb-completions): Remove.
20708
f42efeb5
MA
207092011-04-14 Michael Albinus <michael.albinus@gmx.de>
20710
49093f60
JB
20711 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20712 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20713 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20714 whether `executable-find' is bound.
f42efeb5
MA
20715
20716 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20717
e240cc21
SM
207182011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20719
20720 * minibuffer.el (completion-in-region-mode-predicate)
20721 (completion-in-region-mode--predicate): New vars.
20722 (completion-in-region, completion-in-region--postch)
20723 (completion-in-region-mode): Use them.
20724 (completion--capf-wrapper): Also return the hook function.
20725 (completion-at-point, completion-help-at-point):
20726 Adjust and provide a predicate.
c2bd2ab0
SM
20727
20728 Preserve arg names for advice of subr and lexical functions (bug#8457).
20729 * help-fns.el (help-function-arglist): Consolidate the subr and
20730 new-byte-code cases. Add argument `preserve-names' to extract names
20731 from the docstring when needed.
20732 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20733 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20734 (ad-arglist): Use help-function-arglist's new arg.
20735 (ad-definition-type): Use cond.
20736
c183f693
JB
207372011-04-13 Juanma Barranquero <lekktu@gmail.com>
20738
06641a47
JB
20739 * autorevert.el (auto-revert-handler):
20740 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20741 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20742 Don't quote lambda.
20743
c183f693
JB
20744 * image-mode.el (image-transform-set-scale):
20745 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20746
1e3b6001
G
207472011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20748
20749 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20750 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20751 Upgrades via gnutls-cli are too slow to be done opportunistically.
20752
2d6af8dd
JB
207532011-04-12 Juanma Barranquero <lekktu@gmail.com>
20754
20755 * dframe.el (dframe-current-frame): Remove spurious quote.
20756
c0749a51
GM
207572011-04-12 Glenn Morris <rgm@gnu.org>
20758
088d0d61
GM
20759 * calendar/cal-tex.el (cal-tex-end-document):
20760 Try to automatically use latin1 input if needed.
20761
c0749a51
GM
20762 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20763 Don't try to cons a mark onto an empty element.
20764
5c90fde0
LL
207652011-04-11 Leo Liu <sdl.web@gmail.com>
20766
20767 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20768 buffers.
20769 (ido-kill-buffer-at-head): Support killing virtual buffers.
20770
369e974d
CY
207712011-04-10 Chong Yidong <cyd@stupidchicken.com>
20772
20773 * minibuffer.el (completion-show-inline-help): New var.
20774 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20775 (minibuffer-force-complete, minibuffer-complete-word):
20776 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20777
20778 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20779 to avoid interference from inline help (Bug#5849).
20780
37f1c930
LL
207812011-04-10 Leo Liu <sdl.web@gmail.com>
20782
099c39a4
JB
20783 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20784 Fix typo.
37f1c930 20785
a32d4040
CY
207862011-04-09 Chong Yidong <cyd@stupidchicken.com>
20787
20788 * image-mode.el (image-toggle-display-image): Signal an error if
20789 not in Image mode.
20790 (image-transform-mode, image-transform-resize)
20791 (image-transform-set-rotation): Doc fix.
daca8ba5 20792 (image-transform-set-resize): Delete.
a32d4040
CY
20793 (image-transform-set-scale, image-transform-fit-to-height)
20794 (image-transform-fit-to-width): Handle image-toggle-display-image
20795 and image-transform-resize directly.
20796
099c39a4 207972011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20798
20799 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20800 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20801 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20802 (doc-view-mode-map): Add bindings for the new functions.
20803
099c39a4 208042011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20805
4d61f28d 20806 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20807 Fix typo in docstring.
20808
3726838a
EZ
208092011-04-08 Eli Zaretskii <eliz@gnu.org>
20810
04f33f1e
EZ
20811 * files.el (file-size-human-readable): Produce one digit after
20812 decimal, like "ls -lh" does.
20813
20814 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20815 the file size representation.
20816
3726838a
EZ
20817 * simple.el (list-processes): If async subprocesses are not
20818 available, error out with a clear error message.
20819
cbb59342
CY
208202011-04-08 Chong Yidong <cyd@stupidchicken.com>
20821
20822 * help.el (help-form-show): New function, to be called from C.
20823 Put help-form output in a buffer named differently than *Help*.
20824
e3971c44
EZ
208252011-04-08 Eli Zaretskii <eliz@gnu.org>
20826
20827 * files.el (file-size-human-readable): New function.
20828
20829 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20830 computing the representation inline. Don't require `cl'.
20831
12544bbe
GM
208322011-04-08 Glenn Morris <rgm@gnu.org>
20833
a1de6c6a
GM
20834 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20835
3c4671f4
GM
20836 * net/browse-url.el (browse-url-firefox):
20837 Test system-type, not system-configuration.
20838
b605679c
GM
20839 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20840 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20841 Use log-edit-empty-buffer-p. (Bug#7598)
20842
56442f0c
GM
20843 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20844 (rlogin-mode-map): Initialize in the defvar.
20845 (rlogin): Use ignore-errors.
20846
12544bbe
GM
20847 * replace.el (occur-mode-map): Some fixes for menu items.
20848
eb237b0f
AH
208492011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20850
20851 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20852
7d668f2c
CY
208532011-04-06 Chong Yidong <cyd@stupidchicken.com>
20854
e67a13ab
CY
20855 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20856 issuing unused warnings.
20857
20858 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20859 macro directly.
20860
7d668f2c
CY
20861 * simple.el: Lisp reimplement of list-processes. Based on an
20862 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20863 (process-menu-mode): New major mode.
20864 (list-processes--refresh, list-processes):
20865 (process-menu-visit-buffer): New functions.
20866
20867 * files.el (save-buffers-kill-emacs): Don't assume any return
20868 value of list-processes, which is undocumented anyway.
20869
a83ec3c9
CY
208702011-04-06 Chong Yidong <cyd@stupidchicken.com>
20871
20872 * emacs-lisp/tabulated-list.el: New file.
20873
e91a96fe
CY
20874 * emacs-lisp/package.el: Use Tabulated List mode.
20875 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20876 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20877 table format using Tabulated List mode variables.
20878 (package--push): New macro, replacing package-list-maybe-add.
20879 (package-menu--generate): Use package--push. Renamed from
20880 package--generate-package-list.
20881 (package-menu-refresh, list-packages): Use it.
daca8ba5 20882 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20883 Return insertion data instead of inserting it directly.
099c39a4
JB
20884 (package-menu-describe-package, package-menu-execute):
20885 Use tabulated-list-get-id.
e91a96fe
CY
20886 (package-menu-mark-delete, package-menu-mark-install)
20887 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20888 (package-menu-mark-obsolete-for-deletion):
20889 Use tabulated-list-put-tag.
e91a96fe
CY
20890 (package--list-packages, package-menu-revert)
20891 (package-menu-get-package, package-menu-get-version)
20892 (package-menu-sort-by-column): Functions deleted.
20893 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20894 (package-menu--status-predicate, package-menu--version-predicate)
20895 (package-menu--name-predicate)
20896 (package-menu--description-predicate): Handle arguments in the
20897 Tabulated List format.
20898 (package-list-packages-no-fetch): Call list-packages.
20899
3e214b50
JB
209002011-04-06 Juanma Barranquero <lekktu@gmail.com>
20901
20902 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20903 (after-find-file): Don't bind it.
3e214b50
JB
20904 (revert-buffer-in-progress-p): New variable.
20905 (revert-buffer): Bind it.
20906 Pass nil for `after-find-file-from-revert-buffer'.
20907
20908 * saveplace.el (save-place-find-file-hook): Use new variable
20909 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20910
3f0f1700
GM
209112011-04-06 Glenn Morris <rgm@gnu.org>
20912
c0274801
GM
20913 * Makefile.in (AUTOGEN_VCS): New variable.
20914 (autoloads): Use $AUTOGEN_VCS.
20915
3f0f1700
GM
20916 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20917 * calendar/calendar.el (calendar-mode-map):
20918 Check for toolkit scroll bars. (Bug#8305)
20919
41ea9e48
CY
209202011-04-05 Chong Yidong <cyd@stupidchicken.com>
20921
20922 * minibuffer.el (completion-in-region--postch)
20923 (completion-in-region-mode): Remove unnecessary messages.
20924
6194c800
JB
209252011-04-05 Juanma Barranquero <lekktu@gmail.com>
20926
33256f14
JB
20927 * font-lock.el (font-lock-refresh-defaults):
20928 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20929 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20930
6194c800
JB
20931 * info.el (Info-directory-list, Info-read-node-name-2)
20932 (Info-split-parameter-string): Doc fixes.
20933 (Info-virtual-nodes): Reflow docstring.
20934 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20935 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20936 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20937 Fix typos in docstrings.
20938 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20939 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20940 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20941 (Info-restore-desktop-buffer): Mark unused parameters.
20942 (Info-directory-find-file, Info-directory-find-node)
20943 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20944 (Info-virtual-index-find-node, Info-apropos-find-file)
20945 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20946 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20947 (Info-virtual-index): Remove unused local variable `nodename'.
20948
b87a8200 209492011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20950
b87a8200
DD
20951 * net/rcirc.el: Update my e-mail address.
20952 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20953
3b2ff876
CY
209542011-04-05 Chong Yidong <cyd@stupidchicken.com>
20955
20956 * startup.el (command-line): Save the cursor's theme-face
20957 directly, instead of using face-override-spec.
20958
20959 * custom.el (load-theme): Minor optimization in assigning faces.
20960
8d17e7ca
JB
209612011-04-04 Juanma Barranquero <lekktu@gmail.com>
20962
20963 * help-fns.el (describe-variable): Complete all variables having
20964 documentation, including keywords.
20965 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20966
2fbc1934
JB
209672011-04-04 Juanma Barranquero <lekktu@gmail.com>
20968
20969 Convert to lexical-binding.
20970
20971 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20972 (bs--get-marked-string, bs--get-modified-string)
20973 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20974 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20975 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20976
20977 * ehelp.el (electric-help-execute-extended)
20978 (electric-help-ctrl-x-prefix):
20979 * hexl.el (hexl-revert-buffer-function):
20980 * linum.el (linum-after-change, linum-after-scroll):
20981 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20982
20983 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20984
74f50695
DU
209852011-04-04 Daiki Ueno <ueno@unixuser.org>
20986
20987 * epa-dired.el:
20988 * epa-mail.el:
20989 * epa-hook.el:
20990 * epa-file.el:
20991 * epa.el:
20992 * epg.el: Use lexical binding.
20993
c11325f7
CY
209942011-04-03 Chong Yidong <cyd@stupidchicken.com>
20995
0d9e9a12
CY
20996 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20997
c11325f7 20998 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20999 dictionary case for flyspell-mark-duplications-exceptions.
21000 Use regexp matching for languages.
c11325f7
CY
21001 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21002 default dictionary (Bug#7926).
21003
da91b5f2
CY
210042011-04-02 Chong Yidong <cyd@stupidchicken.com>
21005
099c39a4
JB
21006 * emacs-lisp/package.el (package--with-work-buffer):
21007 Recognize https URLs.
da91b5f2 21008
099c39a4
JB
21009 * net/network-stream.el: Move from gnus/proto-stream.el.
21010 Change prefix to network-stream throughout.
da91b5f2
CY
21011 (open-protocol-stream): Merge into open-network-stream, leaving
21012 open-protocol-stream as an alias. Handle nil BUFFER args.
21013
21014 * subr.el (open-network-stream): Move to net/network-stream.el.
21015
afa8e9f6
GM
210162011-04-02 Glenn Morris <rgm@gnu.org>
21017
1d2e369d
GM
21018 * find-dired.el (find-exec-terminator): New option.
21019 (find-ls-option): Test for -ls support.
21020 (find-ls-subdir-switches): Test for -b in find-ls-option.
21021 (find-dired, find-grep-dired): Doc fixes.
21022 (find-dired): Use find-exec-terminator.
21023
8abb7da8 21024 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21025 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21026 (find-name-arg): Remove purecopy.
8abb7da8 21027
f3ca7378
GM
21028 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21029 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21030 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21031 accordingly. Don't add the null-device if not needed.
21032
afa8e9f6
GM
21033 * files.el (save-some-buffers): Doc fix.
21034
35eae264
EZ
210352011-04-02 Eli Zaretskii <eliz@gnu.org>
21036
21037 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21038
26b51db5
JB
210392011-04-01 Juanma Barranquero <lekktu@gmail.com>
21040
21041 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21042 Use `dolist' rather than `mapcar'.
21043
7200d79c
SM
210442011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21045
03408648 21046 Add lexical binding.
7200d79c 21047
03408648
SM
21048 * subr.el (apply-partially): Use new closures rather than CL.
21049 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21050 (dolist, dotimes): Use slightly different expansion for lexical code.
21051 (functionp): Move to C.
21052 (letrec): New macro.
21053 (with-wrapper-hook): Use it and apply-partially instead of CL.
21054 (eval-after-load): Preserve lexical-binding.
21055 (save-window-excursion, with-output-to-temp-buffer): Turn them
21056 into macros.
7200d79c 21057
03408648
SM
21058 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21059
21060 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21061 than the arglist.
21062 (help-add-fundoc-usage): Don't add `Not documented'.
21063 (help-function-arglist): Handle closures, subroutines, and new
21064 byte-code-functions.
21065 (help-make-usage): Remove leading underscores.
21066 (describe-function-1): Handle closures.
21067 (describe-variable): Use special-variable-p for completion.
21068
21069 * files.el (lexical-binding): Declare safe.
f488fb65 21070
03408648
SM
21071 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21072 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21073 (pcase): Add `let' pattern.
21074 Change memoization so it actually works.
21075 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21076 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21077 <let>: New case.
f488fb65 21078
03408648
SM
21079 * emacs-lisp/macroexp.el: Use lexical binding.
21080 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21081 Don't convert ' to #' without checking that it's indeed quoting
21082 a lambda.
21083
21084 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 21085 Use eval-sexp-add-defvars.
03408648
SM
21086 (eval-sexp-add-defvars): New fun.
21087
21088 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21089
21090 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21091 Don't autoload.
21092 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21093 than the internal `byte-compile-lambda'.
21094 (defmethod): Don't hide code under quotes.
21095 (eieio-defmethod): New `code' argument.
21096
21097 * emacs-lisp/eieio-comp.el: Remove.
21098
21099 * emacs-lisp/edebug.el (edebug-eval-defun)
21100 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21101 (edebug-toggle): Avoid `eval'.
21102
21103 * emacs-lisp/disass.el (disassemble-internal): Handle new
21104 `closure' objects.
21105 (disassemble-1): Handle new byte codes.
21106
21107 * emacs-lisp/cl.el (pushnew): Silence warning.
21108
21109 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21110 (cl-byte-compile-throw): Remove.
21111 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21112
21113 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21114 closures.
21115
21116 * emacs-lisp/cconv.el: New file.
21117
21118 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21119 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21120 (byte-compile-initial-macro-environment):
21121 Handle declare-function here.
21122 (byte-compile--lexical-environment): New var.
21123 (byte-stack-ref, byte-stack-set, byte-discardN)
21124 (byte-discardN-preserve-tos): New lap codes.
21125 (byte-interactive-p): Don't use any more.
21126 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21127 New macros.
21128 (byte-compile-lapcode): Use them and handle new lap codes.
21129 (byte-compile-obsolete): Remove.
21130 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21131 (byte-compile-arglist-warn): Check late def of inlinable funs.
21132 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21133 since they should have been expanded by now.
21134 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21135 (byte-compile-from-buffer): Remove unused second arg.
21136 (byte-compile-preprocess): New function.
21137 (byte-compile-toplevel-file-form): New function to distinguish
21138 file-form calls from outside from file-form calls from hunk-handlers.
21139 (byte-compile-file-form): Simplify.
21140 (byte-compile-file-form-defsubst): Remove.
21141 (byte-compile-file-form-defmumble): Simplify now that
21142 byte-compile-lambda always returns a byte-code-function.
21143 (byte-compile): Preprocess.
21144 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21145 Remove, not used any more.
21146 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21147 (byte-compile-make-args-desc): New funs.
21148 (byte-compile-lambda): Handle lexical functions. Always return
21149 a byte-code-function.
21150 (byte-compile-reserved-constants): New var, to make up room for
21151 closed-over variables.
21152 (byte-compile-constants-vector): Obey it.
21153 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21154 (byte-compile-macroexpand-declare-function): New function.
21155 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21156 byte-code-functions.
21157 (byte-compile-form): Check obsolescence here.
21158 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21159 (byte-compile-variable-ref): Remove.
21160 (byte-compile-dynamic-variable-op): New fun.
21161 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21162 (byte-compile-variable-set): New funs.
21163 (byte-compile-discard): Add 2 args.
21164 (byte-compile-stack-ref, byte-compile-stack-set)
21165 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21166 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21167 macroexpand-all instead.
21168 (byte-compile-quote-form): Remove.
21169 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21170 (byte-compile-bind, byte-compile-unbind): New funs.
21171 (byte-compile-let): Handle let* and lexical binding.
21172 (byte-compile-let*): Remove.
21173 (byte-compile-catch, byte-compile-unwind-protect)
21174 (byte-compile-track-mouse, byte-compile-condition-case):
21175 Handle a new :fun-body form, used for lexical scoping.
21176 (byte-compile-save-window-excursion)
21177 (byte-compile-with-output-to-temp-buffer): Remove.
21178 (byte-compile-defun): Simplify.
21179 (byte-compile-stack-adjustment): New fun.
21180 (byte-compile-out): Use it.
21181 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21182
21183 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21184 handler any more.
21185
21186 * emacs-lisp/byte-opt.el: Use lexical binding.
21187 (byte-inline-lapcode): Remove (to bytecomp).
21188 (byte-compile-inline-expand): Pay attention to inlining to/from
21189 lexically bound code.
21190 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21191 any more.
21192 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21193 any more and don't call compiler-macros.
21194 (byte-compile-splice-in-already-compiled-code): Remove.
21195 (byte-code): Don't inline any more.
21196 (disassemble-offset): Receive `bytes' as argument rather than via
21197 dynamic scoping.
21198 (byte-compile-tag-number): Declare before first use.
21199 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21200 `return' even if make-spliceable.
21201 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21202 obsolete interactive-p.
21203 (byte-optimize-lapcode): Optimize new lap-codes.
21204 Don't trip up on new form of `byte-constant' lap code.
21205
21206 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21207
21208 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21209
21210 * custom.el (custom-initialize-default, custom-declare-variable):
21211 Use `defvar'.
21212
21213 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21214 New variables.
21215 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21216 (COMPILE_FIRST): Add macroexp and cconv.
21217 * makefile.w32-in: Mirror changes in Makefile.in.
21218
21219 * vc/cvs-status.el:
21220 * vc/diff-mode.el:
21221 * vc/log-edit.el:
21222 * vc/log-view.el:
21223 * vc/smerge-mode.el:
21224 * textmodes/bibtex-style.el:
090bd7cb 21225 * textmodes/css-mode.el:
03408648
SM
21226 * startup.el:
21227 * uniquify.el:
da91b5f2
CY
21228 * minibuffer.el:
21229 * newcomment.el:
21230 * reveal.el:
21231 * server.el:
21232 * mpc.el:
21233 * emacs-lisp/smie.el:
21234 * doc-view.el:
21235 * dired.el:
03408648
SM
21236 * abbrev.el: Use lexical binding.
21237
0f0c1f27
EZ
212382011-04-01 Eli Zaretskii <eliz@gnu.org>
21239
21240 * info.el (info-display-manual): New function.
21241
c82b2579
SM
212422011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21243
21244 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21245
221ddf68
TH
212462011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21247
21248 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 21249 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 21250
cba6e77e
GM
212512011-03-31 Glenn Morris <rgm@gnu.org>
21252
e040639f
GM
21253 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21254
cba6e77e
GM
21255 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21256
6d0f1c9e
CS
212572011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21258
21259 * progmodes/python.el (python-default-interpreter)
21260 (python-python-command-args, python-jython-command-args)
21261 (python-which-shell, python-which-args, python-which-bufname)
21262 (python-file-queue, python-comint-output-filter-function)
21263 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21264 variables and functions.
21265
3e2d70fd
SM
212662011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21267
21268 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21269 (completion-in-region-mode): New minor mode.
21270 (completion-in-region): Use it.
21271 (completion-in-region--data, completion-in-region-mode-map): New vars.
21272 (completion-in-region--postch): New function.
21273 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21274 New vars.
21275 (completion--capf-wrapper): New function.
21276 (completion-at-point): Use it to track well-behavedness of
21277 hook functions.
21278 (completion-help-at-point): New command.
21279
f3e4086c
JM
212802011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21281
21282 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21283 syntax class to search for whitespace on a single line
21284 (Message-ID: <4D938140.4030905@redhat.com>).
21285
eb7ffc14
LL
212862011-03-30 Leo Liu <sdl.web@gmail.com>
21287
21288 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21289 New commands.
21290 (edit-abbrevs-map): Bind them here.
21291 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21292
d806ab68
KM
212932011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21294
21295 * allout.el (allout-hide-by-annotation, allout-flag-region):
21296 Reduce possibility of overlay leakage by making them volatile.
21297
21298 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21299 hash is not shared between buffers. Mode initialization is
21300 responsible for giving it a useful starting value.
21301 (allout-item-span): Reduce possibility of overlay leakage by
21302 making them volatile.
21303 (allout-widgets-count-buttons-in-region): Add diagnostic function
21304 for tracking down button overlay leaks.
21305
ea622834
LL
213062011-03-29 Leo Liu <sdl.web@gmail.com>
21307
21308 * ido.el (ido-read-internal): Use the default history var
21309 minibuffer-history if no HISTORY is specified.
21310
b62f8267
G
213112011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21312
03408648
SM
21313 * net/imap.el (imap-shell-open, imap-process-connection-type):
21314 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21315 Kerberos, SSL, other subprocesses.
21316
947b6566
LL
213172011-03-28 Leo Liu <sdl.web@gmail.com>
21318
21319 * abbrev.el (abbrev-table-empty-p): New function.
21320 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21321 nonempty ones. (Bug#5937)
21322
5ffb62aa
JD
213232011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21324
21325 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21326
7a097943
LL
213272011-03-27 Leo Liu <sdl.web@gmail.com>
21328
21329 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21330 for foreground and background colors.
21331 (ansi-color-make-color-map): Adapt.
21332
c5b40130
LL
213332011-03-25 Leo Liu <sdl.web@gmail.com>
21334
1f48f7d2
LL
21335 * midnight.el (midnight-time-float): Remove. Note it calculates
21336 the microsecond component incorrectly and seconds-to-time does the
21337 same job.
625897ec 21338 Remove redundant (require 'timer).
1f48f7d2 21339
c5b40130
LL
21340 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21341 (ido-completions): Remove unused arguments. (Bug#8329)
21342
d86d2721
SM
213432011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21344
21345 * minibuffer.el (completion--flush-all-sorted-completions):
21346 Remove itself from hook.
21347 (completion-at-point): Let the functions perform the completion
21348 immediately and return nil or t.
21349 * comint.el (comint-dynamic-complete-functions): Now identical to
21350 completion-at-point-functions.
21351 (comint-dynamic-list-input-ring): Remove unused var `index'.
21352 (comint--match-partial-filename, comint--unquote&expand-filename):
21353 New funs, split from comint-match-partial-filename.
21354 (comint-dynamic-complete): Use completion-at-point.
21355 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21356
e8974c48
DA
213572011-03-24 Drew Adams <drew.adams@oracle.com>
21358
21359 * thingatpt.el: Support `defun'.
21360
def71b5e
LL
213612011-03-23 Leo Liu <sdl.web@gmail.com>
21362
cb5af48e
LL
21363 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21364
def71b5e
LL
21365 * help-mode.el (help-mode-finish): Tweak regexp.
21366
927c53e7
GM
213672011-03-23 Glenn Morris <rgm@gnu.org>
21368
18d05bed
GM
21369 * eshell/esh-opt.el (eshell-eval-using-options):
21370 Do not bind unused local variable `eshell-option-stub'.
21371
927c53e7
GM
21372 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21373
9d0da923
JB
213742011-03-22 Juanma Barranquero <lekktu@gmail.com>
21375
21376 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21377 keymap variable in `with-no-warnings' to avoid a warning when the
21378 keymap has been already `defconst'ed.
21379
4b978a67
LL
213802011-03-22 Leo Liu <sdl.web@gmail.com>
21381
21382 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21383 encode all chars in abbrevs; otherwise use emacs-mule or
21384 utf-8-emacs. (Bug#8308)
21385
5fd62452
JB
213862011-03-22 Juanma Barranquero <lekktu@gmail.com>
21387
0b1596c6
JB
21388 * simple.el (backward-delete-char-untabify):
21389 Avoid warning about using `delete-backward-char'.
21390
5fd62452
JB
21391 * image.el (image-type-file-name-regexps): Make it variable.
21392 `imagemagick-register-types' modifies it, and the user may want
21393 to add new extensions for known image types.
21394 (imagemagick-register-types): Throw error if not using ImageMagick.
21395
0b4e93f1
LL
213962011-03-22 Leo Liu <sdl.web@gmail.com>
21397
21398 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21399 located before rcirc-prompt-end-marker.
21400 (rcirc-complete): Error if point is not after rcirc prompt.
21401 Handle the case when table is nil.
9882e214 21402 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21403
fccee4ab
CY
214042011-03-22 Chong Yidong <cyd@stupidchicken.com>
21405
21406 * custom.el (custom--inhibit-theme-enable): Make it affect only
21407 custom-theme-set-variables and custom-theme-set-faces.
21408 (provide-theme): Ignore custom--inhibit-theme-enable.
21409 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21410 (custom-enabling-themes): Delete variable.
d86d2721
SM
21411 (enable-theme): Accept only loaded themes as arguments.
21412 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21413 (custom-enabled-themes): Forbid themes from setting this.
21414 Eliminate use of custom-enabling-themes.
21415 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21416
af896da6
LL
214172011-03-21 Leo Liu <sdl.web@gmail.com>
21418
21419 * ido.el (ido-read-internal): Add ido-selected to history instead
21420 of user input.
21421
78f64af0
SM
214222011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21423
21424 * subr.el (deferred-action-list, deferred-action-function):
21425 Mark obsolete.
21426
b16ac1ec
LL
214272011-03-21 Leo Liu <sdl.web@gmail.com>
21428
810f7698
LL
21429 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21430 change on 2011-02-13 (bug#8309).
21431
b16ac1ec
LL
21432 * minibuffer.el (read-file-name-function): Change default value.
21433 (read-file-name--defaults): Rename from read-file-name-defaults.
21434 (read-file-name-default): Rename from read-file-name.
21435 (read-file-name): Call read-file-name-function.
21436
4e05e67e
GM
214372011-03-21 Glenn Morris <rgm@gnu.org>
21438
21439 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21440 Doc fixes.
21441
4359915b
CY
214422011-03-21 Chong Yidong <cyd@stupidchicken.com>
21443
21444 * cus-theme.el: Add missing provide statement.
21445 (customize-create-theme): Extract theme value correctly.
21446 (custom-theme-visit-theme): Autoload.
21447 (customize-create-theme): Prompt before inserting default faces.
21448
1fe275ee
JB
214492011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21450
21451 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21452 units and musical notes.
21453
cd394be1 214542011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21455
21456 * ido.el (ido-read-internal): Use completing-read-default.
21457 (ido-completing-read): Fix compatibility with completing-read.
21458
7d476bde
CO
214592011-03-20 Christian Ohler <ohler@gnu.org>
21460
21461 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21462 (ert-delete-all-tests): Use `called-interactively-p' rather than
21463 `interactive-p'.
21464 (ert--make-xrefs-region): Respect END.
21465
fe0fb33e
CY
214662011-03-19 Chong Yidong <cyd@stupidchicken.com>
21467
ff854b0b
CY
21468 * dired-aux.el (dired-create-directory): Signal an error if the
21469 directory already exists (Bug#8246).
21470
fe0fb33e
CY
21471 * facemenu.el (list-colors-display): Call list-faces-display
21472 inside with-help-window.
21473 (list-colors-print): Use display property to align the final
21474 column, instead of checking window-width.
21475
576bce32
EZ
214762011-03-19 Eli Zaretskii <eliz@gnu.org>
21477
4d61f28d 21478 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21479 windows-nt systems.
21480 (emerge-protect-metachars): Quote correctly for ms-dos and
21481 windows-nt systems.
21482
89c41d68 214832011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21484
21485 * info.el (info-initialize): Replace all uses of `:' with
21486 path-separator for compatibility with non-Unix systems.
21487 Cache quoting of path-separator. (Bug#8258)
21488
b14e3e21 214892011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21490
21491 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21492 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21493 (mouse-avoidance-mode): Fix typos in docstrings.
21494
4525ce3e
CY
214952011-03-19 Chong Yidong <cyd@stupidchicken.com>
21496
21497 * startup.el (package-subdirectory-regexp): Move from package.el.
21498 Omit \\` and \\', and let callers add them.
21499
21500 * emacs-lisp/package.el (package-strip-version)
21501 (package-load-all-descriptors): Add \\` and \\' to
21502 package-subdirectory-regexp before using it.
21503 (package-untar-buffer): New arg DIR; ensure that file untars only
21504 into this expected directory. Remove superfluous delete-region.
21505 (package-unpack): Caller changed.
21506 (package-tar-file-info): Use package-subdirectory-regexp.
21507
a904a09a 215082011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21509
a904a09a
SM
21510 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21511 diff-mode-shared-map (bug#8284).
21512 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21513
215142011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21515
21516 * calendar/time-date.el (format-seconds): Use assoc instead of
21517 assoc-string, since assoc-string doesn't exist in XEmacs.
21518
171fc304
JB
215192011-03-17 Juanma Barranquero <lekktu@gmail.com>
21520
21521 * custom.el (custom-known-themes): Reflow docstring.
21522 (custom-theme-load-path): Fix typo in docstring.
21523 (load-theme): Fix typo in error message.
21524 (custom-available-themes, custom-variable-theme-value):
21525 Use `let', not `let*'.
21526
d71990a1
JB
215272011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21528
21529 * calc/README: Mention inclusion of musical notes.
21530
21531 * calc/calc-units.el (calc-lu-quant): Rename from
21532 `calc-logunits-quantity'.
21533 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21534 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21535 (calc-db): Rename from `calc-dblevel'.
21536 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21537 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21538 (calc-np): Rename from `calc-nplevel'.
21539 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21540 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21541 (calc-lu-plus): Rename from `calc-logunits-add'.
21542 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21543 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21544 (calc-lu-minus): Rename from `calc-logunits-sub'.
21545 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21546 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21547 (calc-lu-times): Rename from `calc-logunits-mul'.
21548 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21549 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21550 (calc-lu-divide): Rename from `calc-logunits-div'.
21551 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21552 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21553
21554 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21555 functions being autoloaded.
21556
21557 * calc/calc.el (calc-lu-power-reference): Rename from
21558 `calc-logunits-power-reference'.
21559 (calc-lu-field-reference): Rename from
21560 `calc-logunits-field-reference'.
21561
7a71b18d
GM
21562 * calc/calc-help.el (calc-l-prefix-help):
21563 Mention musical note functions.
d71990a1 21564
40c2934b
SM
215652011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21566
21567 * minibuffer.el (completion-all-sorted-completions):
21568 Use :completion-cycle-penalty text property if present.
21569
b0911414
KM
215702011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21571
21572 * allout.el (allout-yank-processing): Adjust for new rebulleting
21573 regime so bullet being yanked is used without prompting the user
21574 for a choice.
21575
8a05b668
JB
215762011-03-16 Juanma Barranquero <lekktu@gmail.com>
21577
21578 * startup.el (command-line): Warn the user that _emacs is deprecated.
21579
5ba5fb81
JB
215802011-03-16 Juanma Barranquero <lekktu@gmail.com>
21581
21582 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21583 (delphi-verbose, delphi-comment-face, delphi-string-face)
21584 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21585 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21586 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21587 (delphi-new-comment-line, delphi-font-lock-defaults)
21588 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21589 Fix typos in docstrings.
21590
2dab465b
KM
215912011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21592
5ba5fb81 21593 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21594 Invert the roles of character and string values for INSTEAD, so a
21595 string is used for the more common case of a defaulting prompt.
21596
0adf5618
SM
215972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21598
21599 * progmodes/ruby-mode.el (ruby-backward-sexp):
21600 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21601 * play/gamegrid.el (gamegrid-make-face):
21602 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21603 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21604 * notifications.el (notifications-notify):
21605 * net/xesam.el (xesam-search-engines):
21606 * net/quickurl.el (quickurl-list-insert):
21607 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21608
d72700e5
CY
216092011-03-15 Chong Yidong <cyd@stupidchicken.com>
21610
21611 * startup.el (command-line): Update package subdirectory regexp.
21612
49c5410a
SM
216132011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21614
c6eee9aa
SM
21615 * allout.el (allout-abbreviate-flattened-numbering)
21616 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21617
49c5410a
SM
21618 * subr.el (read-char-choice): Only show the cursor after the prompt,
21619 not after the answer.
21620
047b2bb9
KR
216212011-03-15 Kevin Ryde <user42@zip.com.au>
21622
21623 * help-fns.el (variable-at-point): Skip leading quotes, if any
21624 (bug#8253).
21625
0a57d256
SM
216262011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21627
21628 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21629 warning message.
21630
77c992bc
MA
216312011-03-14 Michael Albinus <michael.albinus@gmx.de>
21632
21633 * shell.el (shell): When called interactively, offer to change the
21634 shell file name on remote hosts.
21635
eebc475d
TZ
216362011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21637
21638 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21639 integration for LDAP parameters. The host, base, user or binddn,
21640 and secret tokens can be specified in a netrc file, for instance.
21641 This is optional because an `auth-source' parameter must be
21642 specified in the search attributes.
21643
9d05d1ba
JB
216442011-03-13 Juanma Barranquero <lekktu@gmail.com>
21645
21646 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21647
09d9db2c
GM
216482011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21649
21650 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21651 into declaration. Remove redundant and harmful binding.
21652
216532011-03-12 Eli Zaretskii <eliz@gnu.org>
21654
21655 * files.el (file-ownership-preserved-p): Pass `integer' as an
21656 explicit 2nd argument to `file-attributes'. If the file's owner
21657 is the Administrators group on Windows, and the current user is
21658 Administrator, consider that a match.
21659
21660 * server.el (server-ensure-safe-dir): Consider server directory
21661 safe on MS-Windows if its owner is the Administrators group while
21662 the current Emacs user is Administrator. Use `=' to compare
21663 numerical UIDs, since they could be integers or floats.
21664
219bd536
JB
216652011-03-12 Juanma Barranquero <lekktu@gmail.com>
21666
21667 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21668
f3afd36b
MA
216692011-03-12 Michael Albinus <michael.albinus@gmx.de>
21670
21671 Sync with Tramp 2.2.1.
21672
21673 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21674
21675 * net/trampver.el: Update release number.
21676
3aaaa6f1
SM
216772011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21678
94642599
SM
21679 * progmodes/compile.el (compilation--previous-directory): Fix up
21680 various nil/dead-marker mismatches (bug#8014).
21681 (compilation-directory-properties, compilation-error-properties):
21682 Don't call it at a position past the one we're about to change.
21683
3aaaa6f1
SM
21684 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21685 Disable obsolescence warnings in the file that declares it.
21686
14239447
KM
216872011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21688
099c39a4
JB
21689 * allout-widgets.el (allout-widgets-tally):
21690 Initialize allout-widgets-tally as a hash table rather than nil to
21691 prevent mode-line redisplay warnings. Also, clarify the module
21692 description and fix a comment typo.
14239447 21693
135e287c
JB
216942011-03-11 Juanma Barranquero <lekktu@gmail.com>
21695
21696 * help-fns.el (describe-variable): Don't complete keywords.
21697 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21698
ffbf300e
CY
216992011-03-10 Chong Yidong <cyd@stupidchicken.com>
21700
ba08b241
CY
21701 * emacs-lisp/package.el (package-version-join): Impose a standard
21702 string representation for pre/alpha/beta version lists.
21703 (package-unpack-single): Standardize the directory name by passing
21704 it through package-version-join.
21705 (package-strip-rcs-id): Accept any version string that does not
21706 signal an error in version-to-list.
ffbf300e 21707
f346fd6b
MA
217082011-03-10 Michael Albinus <michael.albinus@gmx.de>
21709
21710 * simple.el (delete-trailing-whitespace): Return nil for the
21711 benefit of `write-file-functions'.
21712
ccb55d27
GM
217132011-03-10 Glenn Morris <rgm@gnu.org>
21714
5ceaac0c
GM
21715 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21716
02da65ff
GM
21717 * vc/vc-git.el (vc-git-program): New option.
21718 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21719 (vc-git--call): Use it.
21720
b2f603cc
GM
21721 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21722
5772caab
GM
21723 * cus-edit.el (Custom-newline): If no button at point, look
21724 for a subgroup button at start-of-line. (Bug#2298)
21725
ccb55d27
GM
21726 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21727
ec6ecaed
JD
217282011-03-10 Julien Danjou <julien@danjou.info>
21729
21730 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21731 `cursor-type' is nil.
21732
9d5aa01d
JB
217332011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21734
21735 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21736
b6a5875b
KM
217372011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21738
7a71b18d 21739 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21740 preserves the existing header prefix, rebulleting it if necessary,
21741 rather than replacing it. This is necessary for proper operation
21742 of cooperative addons like allout-widgets.
1154d12e
JB
21743 (allout-make-topic-prefix, allout-rebullet-heading):
21744 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21745 value as alternate bullet to be used, instead of prompting the user
21746 for a bullet character.
b6a5875b 21747
ee545c35
MA
217482011-03-09 Michael Albinus <michael.albinus@gmx.de>
21749
d86d2721
SM
21750 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21751 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21752 `tramp-default-port'.
21753
c47971d7
DD
217542011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21755
21756 * net/rcirc.el (rcirc-handler-001): Remove useless
21757 with-rcirc-process-buffer.
21758 (rcirc-check-auth-status): Swap arguments to string-match.
21759
13522cb4
GM
217602011-03-09 Glenn Morris <rgm@gnu.org>
21761
0be6f4f1
GM
21762 * shell.el (shell-mode):
21763 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21764
13522cb4
GM
21765 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21766 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21767
515de2e3
CY
217682011-03-08 Chong Yidong <cyd@stupidchicken.com>
21769
21770 * emacs-lisp/package.el (package-refresh-contents)
21771 (package-menu-execute): Use condition-case-no-debug.
21772
b511b994
MA
217732011-03-08 Michael Albinus <michael.albinus@gmx.de>
21774
21775 * simple.el (shell-command-to-string): Use `process-file'.
21776
21777 * emacs-lisp/package.el (package-tar-file-info): Handle also
21778 remote files.
21779
d86d2721
SM
21780 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21781 Use `equal' for upload base check.
b511b994 21782
25bbfb31
AM
217832011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21784
21785 * textmodes/texinfo.el (texinfo-environments):
21786 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21787
be996521
GM
217882011-03-08 Glenn Morris <rgm@gnu.org>
21789
e9c8529f
GM
21790 * cus-start.el (cursor-in-non-selected-windows):
21791 Fix :set quoting oddness. (Bug#8192)
21792
be996521
GM
21793 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21794 in some setf expressions. (Bug#2159)
21795
2bb5649e
CY
217962011-03-08 Chong Yidong <cyd@stupidchicken.com>
21797
21798 * custom.el (custom-available-themes): Return themes in
21799 alphabetical order.
21800
33383987 21801See ChangeLog.15 for earlier changes.
e3d51b27
MR
21802
21803;; Local Variables:
21804;; coding: utf-8
e3d51b27
MR
21805;; End:
21806
ab422c4d 21807 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
21808
21809 This file is part of GNU Emacs.
21810
21811 GNU Emacs is free software: you can redistribute it and/or modify
21812 it under the terms of the GNU General Public License as published by
21813 the Free Software Foundation, either version 3 of the License, or
21814 (at your option) any later version.
21815
21816 GNU Emacs is distributed in the hope that it will be useful,
21817 but WITHOUT ANY WARRANTY; without even the implied warranty of
21818 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21819 GNU General Public License for more details.
21820
21821 You should have received a copy of the GNU General Public License
21822 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.