* configure.ac: Add DragonFly BSD, mostly same as FreeBSD (tiny change)
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
cdca8255
SM
12013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * winner.el (winner-active-region): Use region-active-p, activate-mark
4 and deactivate-mark (bug#14225).
5
6 * simple.el (deactivate-mark): Don't inline it.
7
beb42340
MA
82013-04-18 Michael Albinus <michael.albinus@gmx.de>
9
10 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11
fc7f4d7e
TH
122013-04-18 Tassilo Horn <tsdh@gnu.org>
13
14 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15 file extensions from the archive-mode entry in order to prefer
16 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
17
29f47822
LL
182013-04-18 Leo Liu <sdl.web@gmail.com>
19
20 * bindings.el (help-event-list): Add ?\?.
21
d36ed1c8
SM
222013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * subr.el (with-wrapper-hook): Declare obsolete.
25 * simple.el (filter-buffer-substring-function): New hook.
26 (filter-buffer-substring): Use it.
27 (filter-buffer-substring-functions): Mark obsolete.
28 * minibuffer.el (completion-in-region-function): New hook.
29 (completion-in-region): Use it.
30 (completion-in-region-functions): Mark obsolete.
31 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
32 * abbrev.el (abbrev-expand-function): New hook.
33 (expand-abbrev): Use it.
34 (abbrev-expand-functions): Mark obsolete.
35 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
36 and :filter-return.
37
04754d36
FEG
382013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
39
40 * progmodes/python.el (python-nav--syntactically): Fix cornercases
41 and do not care about match data.
42
dd8791e9
SM
432013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
46 completion tables when completing error conditions and
47 `declare' arguments.
48 (lisp-complete-symbol, field-complete): Mark as obsolete.
49 (check-parens): Unmatched parens are user errors.
50 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
51
ffe54a13
AM
522013-04-17 Michal Nazarewicz <mina86@mina86.com>
53
dd8791e9
SM
54 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
55 command changed buffer (ie. `flyspell-pre-buffer' is not current
56 buffer), which prevents making decisions based on invalid value of
57 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
58 cause an error when `flyspell-pre-point' was nil after switching
59 buffers.
60 (flyspell-post-command-hook): No longer needs to change buffers when
61 checking pre-word. While at it remove unnecessary progn.
ffe54a13 62
ec7e39f2
AM
632013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
64
65 * textmodes/ispell.el (ispell-add-per-file-word-list):
66 Fix `flyspell-correct-word-before-point' error when accepting
67 words and `coment-padding' is an integer by using
68 `comment-normalize-vars' (Bug #14214).
69
083850a6
FEG
702013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
71
72 New defun movement commands.
73 * progmodes/python.el (python-nav--syntactically)
74 (python-nav--forward-defun, python-nav-backward-defun)
75 (python-nav-forward-defun): New functions.
76
619ed6e1
FEG
772013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
78
79 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
80 (python-syntax-context): Use named compiler-macro for backwards
81 compatibility with Emacs 24.x.
82
7a1beb6c
LL
832013-04-17 Leo Liu <sdl.web@gmail.com>
84
85 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
86 octave-hide-process-buffer.
87
2d3fa3e5
SM
882013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
91 (bug#14216).
92
7ce5be54
JPG
932013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
94
95 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
96 Fix adjustment of offset when receiving incomplete responses from GDB
97 (bug#14129).
98
351edece
SM
992013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
102 python-mode-abbrev-table.
103 (python-skeleton-define): Adjust accordingly.
104 (python-mode-abbrev-table): New table that inherits from it so that
105 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
106
107 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
108 (abbrev-symbol): Use it.
109 (abbrev--before-point): Use it since we already handle inheritance.
110
613f9481
LL
1112013-04-16 Leo Liu <sdl.web@gmail.com>
112
113 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
114 binding to info-lookup-symbol.
115
51646b62
JB
1162013-04-16 Juanma Barranquero <lekktu@gmail.com>
117
118 * minibuffer.el (completion--twq-all):
119 * term/ns-win.el (ns-initialize-window-system):
120 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
121
efb3f01d
SM
1222013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
123
36c0a301
SM
124 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
125 global bindings.
126
efb3f01d
SM
127 * doc-view.el (doc-view-start-process): Handle url-handler directories.
128
fb549d64
DG
1292013-04-15 Dmitry Gutov <dgutov@yandex.ru>
130
131 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
132 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
133 to nil.
134 (ruby-end-of-defun): Remove the unused arg, change the docstring
135 to reflect that this function is only used as the value of
136 `end-of-defun-function'.
137 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
138 to reflect an earlier change that beginning/end-of-defun functions
139 jump between methods in a class definition, as well as top-level
140 functions.
141
21e8fe2f
SM
1422013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * minibuffer.el (minibuffer-complete): Don't just scroll
145 a *Completions* that's been iconified.
146 (minibuffer-force-complete): Make sure repetitions do cycle when going
147 through completion-in-region -> minibuffer-complete.
148
20e527d0
AM
1492013-04-15 Alan Mackenzie <acm@muc.de>
150
151 Correct the placement of c-cpp-delimiters when there're #s not at
152 col 0.
153
154 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
155 place a submatch around the #.
21e8fe2f
SM
156 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
157 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
158 on the #, not BOL.
159
dabefae5
SM
1602013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * emacs-lisp/nadvice.el: Properly test names when adding advice.
163 (advice--member-p): New arg `name'.
164 (advice--add-function, advice-member-p): Use it (bug#14202).
165
85c9ab64
AM
1662013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
167
168 Reformulate java imenu-generic-expression.
169 The old expression contained ill formed regexps.
170
171 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
172 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
173 (cc-imenu-java-method-arg-regexp): New defconsts.
174 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 175 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
176 handling of spaces in the regexp.
177
0f821d99
AM
1782013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
179
180 * textmodes/ispell.el (ispell-command-loop): Remove
181 flyspell highlight of a word when ispell accepts it (bug #14178).
182
eb922adf
MA
1832013-04-15 Michael Albinus <michael.albinus@gmx.de>
184
185 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
186 uses code from the previous `ange-ftp-run-real-handler'.
187 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
188 only in case that function exist. This is needed for proper
189 unloading of Tramp.
190
4d9a0979
TH
1912013-04-15 Tassilo Horn <tsdh@gnu.org>
192
193 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
194
195 * textmodes/reftex.el (reftex-compile-variables): Use it.
196
a829b0dc
SM
1972013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
198
91e8293c
SM
199 * files.el (normal-mode): Only use default major-mode if no other mode
200 was specified.
201
830aed4d
SM
202 * emacs-lisp/trace.el (trace-values): New function.
203
a829b0dc
SM
204 * files.el: Allow : in local variables (bug#14089).
205 (hack-local-variable-regexp): New var.
206 (hack-local-variables-prop-line, hack-local-variables): Use it.
207
7ae9f0fb
RW
2082013-04-13 Roland Winkler <winkler@gnu.org>
209
210 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
211 data before it gets modified by bibtex-beginning-of-entry.
212
6646e848
RW
2132013-04-13 Roland Winkler <winkler@gnu.org>
214
215 * textmodes/bibtex.el (bibtex-url): Doc fix.
216
2172013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
218
219 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
220 does not visit a BibTeX file, exclude it from the list of buffers
221 returned by bibtex-initialize.
222
0aa3616e
SB
2232013-04-13 Stephen Berman <stephen.berman@gmx.net>
224
225 * window.el (split-window): Remove interactive form, since as a
226 command this function is a special case of split-window-below.
227 Correct doc string.
228
011cddd6
RW
2292013-04-12 Roland Winkler <winkler@gnu.org>
230
231 * faces.el (read-face-name): Do not override value of arg default.
232 Allow single faces and strings as default values. Remove those
233 elements from return value that are not faces.
234 (describe-face): Simplify.
235 (face-at-point): New optional args thing and multiple so that this
236 function can provide the same functionality previously provided by
237 read-face-name.
238 (make-face-bold, make-face-unbold, make-face-italic)
239 (make-face-unitalic, make-face-bold-italic, invert-face)
240 (modify-face, read-face-and-attribute): Use face-at-point.
241
242 * cus-edit.el (customize-face, customize-face-other-window)
243 * cus-theme.el (custom-theme-add-face)
244 * face-remap.el (buffer-face-set)
245 * facemenu.el (facemenu-set-face): Use face-at-point.
246
f24e0036
MA
2472013-04-12 Michael Albinus <michael.albinus@gmx.de>
248
249 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
250
da3cda2d
TH
2512013-04-10 Tassilo Horn <tsdh@gnu.org>
252
253 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
254 off leading { and trailing } from field values.
255
15e54145
SM
2562013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
257
78ce603d
SM
258 * emacs-lisp/timer.el (timer--check): New function.
259 (timer--time, timer-set-function, timer-event-handler): Use it.
260 (timer-set-idle-time): Simplify.
261 (timer--activate): CSE.
262 (timer-event-handler): Give more info in error message.
263 (internal-timer-start-idle): New function, moved from C.
264
15e54145
SM
265 * mpc.el (mpc-proc): Add `restart' argument.
266 (mpc-proc-cmd): Use it.
267 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
268 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
269 less often.
270
7144c627
MY
2712013-04-10 Masatake YAMATO <yamato@redhat.com>
272
273 * progmodes/sh-script.el: Implement `sh-mode' own
274 `add-log-current-defun-function' (bug#14112).
275 (sh-current-defun-name): New function.
276 (sh-mode): Use the function.
277
b39792eb
BG
2782013-04-09 Bastien Guerry <bzg@gnu.org>
279
280 * simple.el (choose-completion-string): Fix docstring (bug#14163).
281
8acdeb71
SM
2822013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
283
6fcdab68
SM
284 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
285
8acdeb71
SM
286 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
287 timer (bug#14156).
288
e3e7b504
NF
2892013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
290
291 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
292 declaration.
293
201bb296
LL
2942013-04-07 Leo Liu <sdl.web@gmail.com>
295
296 * pcmpl-x.el: New file.
297
ebb19708
DA
2982013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
299
300 Do not set x-display-name until X connection is established.
301 This is needed to prevent from weird situation described at
302 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
303 * frame.el (make-frame): Set x-display-name after call to
304 window system initialization function, not before.
305 * term/x-win.el (x-initialize-window-system): Add optional
306 display argument and use it.
307 * term/w32-win.el (w32-initialize-window-system):
308 * term/ns-win.el (ns-initialize-window-system):
309 * term/pc-win.el (msdos-initialize-window-system):
310 Add compatible optional display argument.
311
33bb237a
EZ
3122013-04-06 Eli Zaretskii <eliz@gnu.org>
313
314 * files.el (normal-backup-enable-predicate): On MS-Windows and
315 MS-DOS compare truenames of temporary-file-directory and of the
316 file, so that 8+3 aliases (usually found in $TEMP on Windows)
317 don't fail comparison by compare-strings. Also, compare file
318 names case-insensitively on MS-Windows and MS-DOS.
319
134abf1f
SM
3202013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
323 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
324
d695cb94
DG
3252013-04-05 Dmitry Gutov <dgutov@yandex.ru>
326
e3e7b504
NF
327 * whitespace.el (whitespace-color-on, whitespace-color-off):
328 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 329
f4ad7ea1 3302013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
331
332 * ispell.el (ispell-set-spellchecker-params):
333 Really set `ispell-args' for all equivs.
334
632556e4
SM
3352013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * ido.el (ido-completions): Use extra elements of ido-decorations
338 (bug#14143).
339 (ido-decorations): Update docstring.
340
2a417372
MA
3412013-04-05 Michael Albinus <michael.albinus@gmx.de>
342
343 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
344 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
345 nil during initialization, in order not to miss changes since the
346 file was opened. (Bug#14140)
347
fc164b0c
LL
3482013-04-05 Leo Liu <sdl.web@gmail.com>
349
350 * kmacro.el (kmacro-call-macro): Fix bug#14135.
351
0ccecc08
JB
3522013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
353
354 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
355
51af1aa2
GM
3562013-04-04 Glenn Morris <rgm@gnu.org>
357
358 * electric.el (electric-pair-inhibit-predicate): Add :version.
359
b208ebc6
SM
3602013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
363 when a package is required several times (bug#14082).
364
f3d3eaf0
RW
3652013-04-04 Roland Winkler <winkler@gnu.org>
366
367 * faces.el (read-face-name): Behave as promised by the docstring.
368 Assume that arg default is a list of faces.
369 (describe-face): Call read-face-name with list of default faces.
370
2575da50
TV
3712013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
372
373 * bookmark.el: Fix deletion of bookmarks (bug#13972).
374 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
375 (bookmark-bmenu-execute-deletions): Only skip first line if it's
376 the header.
377 (bookmark-exit-hook-internal): Save even if list is empty.
378
397703b4
YH
3792013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
380
381 * emacs-lisp/package.el (package-pinned-packages): New var.
382 (package--add-to-archive-contents): Obey it (bug#14118).
383
691e26ae
AM
3842013-04-03 Alan Mackenzie <acm@muc.de>
385
386 Handle `parse-partial-sexp' landing inside a comment opener
387 (Bug#13244). Also adapt to the new values of element 7 of a parse
388 state.
389
390 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
391 parameter `not-in-delimiter'. Handle being inside comment opener.
392 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
393 character in case we're typing a '*' after a '/'.
394 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
395 instead by passing the parameter to c-state-pp-to-literal.
396
397 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
398 for elt. 7 of a parse state.
399
4b725a70
PE
4002013-04-01 Paul Eggert <eggert@cs.ucla.edu>
401
402 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
403 * international/latin1-disp.el, international/mule-util.el:
404 * language/cyril-util.el, language/european.el, language/ind-util.el:
405 * language/lao-util.el, language/thai.el, language/tibet-util.el:
406 * language/tibetan.el, language/viet-util.el:
407 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
408
15c579f0
SM
4092013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
412 (electric-pair-post-self-insert-function): Use it.
413 (electric-pair-default-inhibit): New function, extracted from
414 electric-pair-post-self-insert-function.
415
a77e2924
RW
4162013-03-31 Roland Winkler <winkler@gnu.org>
417
418 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
419
2bd8a4a8
SM
4202013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
423
8d3655be 4242013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
425
426 Un-indent after "pass" and "return" statements (Bug#13888)
427 * progmodes/python.el (python-indent-block-enders): New var.
428 (python-indent-calculate-indentation): Use it.
429
8d3655be 4302013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
431
432 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
433 defun. Defining it as defalias could introduce too eager
434 byte-compiler optimization. (Bug#14030)
435
8d3655be 4362013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
437
438 * iswitchb.el (iswitchb-read-buffer): Fix typo.
439
0b1619da
LL
4402013-03-30 Leo Liu <sdl.web@gmail.com>
441
442 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
443 (kmacro-execute-from-register): Pass the keyboard macro to
444 kmacro-call-macro or repeating won't work correctly.
445
0b938190
TZ
4462013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
447
448 * progmodes/subword.el: Back to using `forward-symbol'.
449
450 * subr.el (forward-whitespace, forward-symbol)
451 (forward-same-syntax): Move from thingatpt.el.
452
35710234
LL
4532013-03-29 Leo Liu <sdl.web@gmail.com>
454
455 * kmacro.el (kmacro-to-register): New command.
456 (kmacro-execute-from-register): New function.
457 (kmacro-keymap): Bind to 'x'. (Bug#14071)
458
efc0bb73
SM
4592013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
460
461 * mpc.el: Use defvar-local and setq-local.
462 (mpc--proc-connect): Connection failures are not bugs.
463 (mpc-mode-map): `follow-link' only applies to the buffer's content.
464 (mpc-volume-map): Bind to the up-events.
465
75a2f981
TZ
4662013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
467
468 * progmodes/subword.el (superword-mode): Use `forward-sexp'
469 instead of `forward-symbol'.
470
17c781d1
SM
4712013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
472
473 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
474 (edebug--recursive-edit): Use it.
475 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
476 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
477
f67bfbcf
LL
4782013-03-28 Leo Liu <sdl.web@gmail.com>
479
480 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
481
b59f639d
EZ
4822013-03-27 Eli Zaretskii <eliz@gnu.org>
483
484 * facemenu.el (list-colors-callback): New defvar.
485 (list-colors-redisplay): New function.
486 (list-colors-display): Install list-colors-redisplay as the
487 revert-buffer-function. (Bug#14063)
488
f557c1b1
SM
4892013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
490
b1da2957
SM
491 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
492 and suffixes don't overlap (bug#14061).
493
f557c1b1
SM
494 * case-table.el: Use lexical-binding.
495 (case-table-get-table): New function.
496 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
497
002668e1
TZ
4982013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
499
500 * progmodes/subword.el: Add `superword-mode' to do word motion
501 over symbol_words (parallels and leverages `subword-mode' which
502 does word motion inside MixedCaseWords).
503
73572c72
AG
5042013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
505
78b8f320 506 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 507 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 508
69b2c07e
SM
5092013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
512 Change return value to be a sexp. Delay `get-buffer' to after
513 restoring the desktop (bug#13951).
514
08bb5ee2
LL
5152013-03-26 Leo Liu <sdl.web@gmail.com>
516
517 * register.el: Move semantic tag handling back to
518 cedet/semantic/senator.el. (Bug#14052)
519
8d4c974e
SM
5202013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
521
522 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
523 into the prompt either (bug#13963).
524
b234d92c
SM
5252013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
528 part of "(error-foo)".
529
ddfa3cb4
JL
5302013-03-24 Juri Linkov <juri@jurta.org>
531
532 * replace.el (list-matching-lines-prefix-face): New defcustom.
533 (occur-1): Pass `list-matching-lines-prefix-face' to the function
534 `occur-engine' if `face-differs-from-default-p' returns t.
535 (occur-engine): Add `,' inside backquote construct to evaluate
536 `prefix-face'. Propertize the prefix with the `prefix-face' face.
537 Pass `prefix-face' to the functions `occur-context-lines' and
538 `occur-engine-add-prefix'.
539 (occur-engine-add-prefix, occur-context-lines): Add optional arg
540 `prefix-face' and propertize the prefix with `prefix-face'.
541 (Bug#14017)
542
7b0e2f85
LL
5432013-03-24 Leo Liu <sdl.web@gmail.com>
544
545 * nxml/rng-valid.el (rng-validate-while-idle)
546 (rng-validate-quick-while-idle): Guard against deleted buffer.
547 (Bug#13999)
548
549 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
550 is the last entry in kill-buffer-hook.
551
552 * files.el (kill-buffer-hook): Doc fix.
553
b3082f49
DG
5542013-03-23 Dmitry Gutov <dgutov@yandex.ru>
555
b234d92c
SM
556 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
557 Make it safe-local.
bde73d27 558
b3082f49
DG
559 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
560
a320a2db
LL
5612013-03-23 Leo Liu <sdl.web@gmail.com>
562
7e74b0fb
LL
563 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
564 Remove.
565
566 * nxml/rng-valid.el (rng-validate-mode)
567 (rng-after-change-function, rng-do-some-validation):
568 * nxml/rng-maint.el (rng-validate-buffer):
569 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
570 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
571 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
572 (nxml-extend-after-change-region): Use with-silent-modifications.
573
a320a2db
LL
574 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
575 timer-idle-list.
576
577 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
578 (rng-next-error-1, rng-previous-error-1): Do not let-bind
579 timer-idle-list. (Bug#13999)
580
e38e6780
JL
5812013-03-23 Juri Linkov <juri@jurta.org>
582
583 * info.el (info-index-match): New face.
584 (Info-index, Info-apropos-matches): Add a nested subgroup to the
585 main pattern and add text properties with the new face to matches
586 in index entries relative to the beginning of the index entry.
587 (Bug#14015)
588
e8cc7880
DE
5892013-03-21 Eric Ludlam <zappo@gnu.org>
590
591 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
592 Inhibit read only while inserting objects.
593
9bb0d822
TZ
5942013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
595
596 * progmodes/cfengine.el: Update docs to mention
597 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
598 symbol motion. Remove "_" from the word syntax.
599
aa703640
TZ
6002013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
601
602 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
603 syntax for both `cfengine2-mode' and `cfengine3-mode'.
604
afff09d0
JL
6052013-03-20 Juri Linkov <juri@jurta.org>
606
607 * info.el (Info-next-reference-or-link)
608 (Info-prev-reference-or-link): New functions.
609 (Info-next-reference, Info-prev-reference): Use them.
610 (Info-try-follow-nearest-node): Handle footnote navigation.
611 (Info-fontify-node): Fontify footnotes. (Bug#13989)
612
9a1ff164
SM
6132013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
616 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
617
2667d15d
PE
6182013-03-20 Paul Eggert <eggert@cs.ucla.edu>
619
620 Suppress unnecessary non-ASCII chatter during build process.
621 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
622 (batch-skkdic-convert): Suppress most of the chatter.
623 It's not needed so much now that machines are faster,
624 and its non-ASCII component was confusing; see Dmitry Gutov in
625 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
626
438b0579
LL
6272013-03-20 Leo Liu <sdl.web@gmail.com>
628
629 * ido.el (ido-chop): Fix bug#10994.
630
c128ab07
DG
6312013-03-19 Dmitry Gutov <dgutov@yandex.ru>
632
633 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
634 Remove vars.
9a1ff164
SM
635 (whitespace-color-on, whitespace-color-off):
636 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 637
0e6008c5
SM
6382013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
639
640 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
641 remapping in mode-line.
642 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
643
627b52b0
DG
6442013-03-19 Dmitry Gutov <dgutov@yandex.ru>
645
646 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
647 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
648 (whitespace-font-lock-keywords): Change description.
649 (whitespace-color-on): Don't save `font-lock-keywords' value, save
650 the constructed keywords instead.
651 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 652
50c3a20b
LL
6532013-03-19 Leo Liu <sdl.web@gmail.com>
654
655 * progmodes/compile.el (compilation-display-error): New command.
656 (compilation-mode-map, compilation-minor-mode-map): Bind it to
657 C-o. (Bug#13992)
658
2aa2157b
PE
6592013-03-18 Paul Eggert <eggert@cs.ucla.edu>
660
661 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
662
e477dbfa
JD
6632013-03-18 Jan Djärv <jan.h.d@swipnet.se>
664
665 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
666
64ab82d1
MA
6672013-03-18 Michael Albinus <michael.albinus@gmx.de>
668
669 * net/tramp-compat.el (tramp-compat-user-error): New defun.
670
671 * net/tramp-adb.el (tramp-adb-handle-shell-command):
672 * net/tramp-gvfs.el (top):
673 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
674 (tramp-handle-shell-command): Use it.
675 (tramp-dissect-file-name): Raise an error when hostname is a
676 method name, and neither method nor user is specified.
677
678 * net/trampver.el: Update release number.
679
33cef733
LL
6802013-03-18 Leo Liu <sdl.web@gmail.com>
681
682 Make sure eldoc can be turned off properly.
683 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
684 eldoc-mode.
685 (eldoc-display-message-p): Revert last change.
686 (eldoc-display-message-no-interference-p)
687 (eldoc-print-current-symbol-info): Tweak.
688
2167b7b2
TH
6892013-03-18 Tassilo Horn <tsdh@gnu.org>
690
691 * doc-view.el (doc-view-new-window-function): Check the new window
692 overlay's display property instead the char property of the
693 buffer's first char. Use `with-selected-window' instead of
694 `save-window-excursion' with `select-window'.
695 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 696 display property instead the char property of the buffer's first char.
2167b7b2 697
982efbcd
PE
6982013-03-18 Paul Eggert <eggert@cs.ucla.edu>
699
700 Automate the build of ja-dic.el (Bug#13984).
701 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
702 from the input, rather than assume that it's been done for us by the
703 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
704 the current date into a ja-dic.el comment, as that complicates
705 regression testing.
706
2fcc7665
SM
7072013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
708
709 * whitespace.el: Fix double evaluation.
710 (whitespace-space, whitespace-hspace, whitespace-tab)
711 (whitespace-newline, whitespace-trailing, whitespace-line)
712 (whitespace-space-before-tab, whitespace-indentation)
713 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
714 obsolete defvars.
715 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
716 (whitespace-color-on): Use a single font-lock-add-keywords call.
717 Fix double-evaluation of face variables.
718
67c0a6e6
MA
7192013-03-17 Michael Albinus <michael.albinus@gmx.de>
720
2fcc7665
SM
721 * net/tramp-adb.el (tramp-adb-parse-device-names):
722 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 723 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 724
69489f1d
LL
7252013-03-17 Leo Liu <sdl.web@gmail.com>
726
727 Extend eldoc to display info in the mode-line. (Bug#13978)
728 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
729 (eldoc-mode-line-string): New variable.
730 (eldoc-minibuffer-message): New function.
731 (eldoc-message-function): New variable.
732 (eldoc-message): Use it.
733 (eldoc-display-message-p)
2fcc7665
SM
734 (eldoc-display-message-no-interference-p):
735 Support eldoc-post-insert-mode.
69489f1d
LL
736
737 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
738 (eval-expression): Run it.
739
9c44569e
RW
7402013-03-17 Roland Winkler <winkler@gnu.org>
741
742 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
743 strings in the list of return values.
744
327f1f6f
JB
7452013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
746
747 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
748 radix before checking for HMS forms.
749
67ed8fcd
LL
7502013-03-16 Leo Liu <sdl.web@gmail.com>
751
752 * progmodes/scheme.el: Add indentation and font-locking for λ.
753 (Bug#13975)
754
78be8b64 7552013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
756
757 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
758 token before point (bug#13942).
759
78be8b64 7602013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 761
95b43468 762 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 763
98e775e6
EZ
7642013-03-16 Eli Zaretskii <eliz@gnu.org>
765
766 * startup.el (command-line-normalize-file-name): Fix handling of
767 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
768 <xfq.free@gmail.com> in
769 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
770
2edd6029
MA
7712013-03-15 Michael Albinus <michael.albinus@gmx.de>
772
773 Sync with Tramp 2.2.7.
774
775 * net/trampver.el: Update release number.
776
d35f5864
TH
7772013-03-14 Tassilo Horn <tsdh@gnu.org>
778
f35ffe5e
TH
779 * doc-view.el Fix bug#13887.
780 (doc-view-insert-image): Don't modify overlay associated to
781 non-live windows, and implement horizontal centering of image in
782 case it's smaller than the window.
783 (doc-view-new-window-function): Force redisplay of new windows on
784 doc-view buffers.
d35f5864 785
1c4a85ed
KF
7862013-03-13 Karl Fogel <kfogel@red-bean.com>
787
788 * saveplace.el (save-place-alist-to-file): Don't sort
789 `save-place-alist', just pretty-print it (bug#13882).
790
85b66a21
MA
7912013-03-13 Michael Albinus <michael.albinus@gmx.de>
792
793 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
794 whether `default-file-name-coding-system' is bound. It isn't in
795 XEmacs.
796
175600da
SM
7972013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
798
e7f7cb1a
SM
799 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
800 backquotes for `obsolete' (bug#13929).
801
175600da
SM
802 * international/mule.el (find-auto-coding): Include file name in
803 obsolescence warning (bug#13922).
804
ca68a22e
TZ
8052013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
806
807 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
808 for CFEngine 3-specific indentation.
809 (cfengine3-indent-line): Use it. Fix up category regex.
810 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
811
940e5099
SM
8122013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
813
814 * type-break.el (type-break-file-name):
815 * textmodes/remember.el (remember-data-file):
816 * strokes.el (strokes-file):
817 * shadowfile.el (shadow-initialize):
818 * saveplace.el (save-place-file):
819 * ps-bdf.el (bdf-cache-file):
820 * progmodes/idlwave.el (idlwave-config-directory):
821 * net/quickurl.el (quickurl-url-file):
822 * international/kkc.el (kkc-init-file-name):
823 * ido.el (ido-save-directory-list-file):
824 * emulation/viper.el (viper-custom-file-name):
825 * emulation/vip.el (vip-startup-file):
826 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
827 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
828
cc725808
PE
8292013-03-12 Paul Eggert <eggert@cs.ucla.edu>
830
831 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
832 * language/thai-word.el: Switch to UTF-8.
833
e56221d5
SM
8342013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
835
836 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
837
c6bdd110
TV
8382013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
839
840 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
841 Use with-current-buffer and don't move point.
842 (net-utils-run-simple): Remove useless code.
843 (net-utils-remove-ctl-m): Remove unused custom.
844
bd3921f0
PS
8452013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
846
847 * international/characters.el (glyphless-set-char-table-range): New fun.
848 (update-glyphless-char-display): Use it (bug#13744).
849
ccc4f9f1
TZ
8502013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
851
852 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
853 namespaces in the syntax, indent closer for hanging brace
854 correctly, allow single-quote delimited 'strings', and make
855 `cfengine3-mode' the default.
856
6ff2c8f1
JPG
8572013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
858
859 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
860 Use lexical-binding. Fix up docstring according to conventions.
861 (gdbmi-debug-mode): New var.
862 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
863 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
864 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
865 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
866 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
867 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
868 (gdbmi-bnf-incomplete-record-result): New functions.
869 (gdb-car<): Remove function.
870 (gdbmi-record-list): Remove variable.
871 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
872 (gdbmi-bnf-result-state-configs): New const.
873 (gud-gdbmi-marker-filter): Rewrite.
874 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
875 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
876 Add `token' argument.
877 (gdb-done, gdb-error): New functions.
878 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
879
9b593980
SM
8802013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
881
2523c845
SM
882 * term/xterm.el (xterm--report-background-handler): Don't burp
883 upon timeout.
884 (xterm--version-handler): Extract from terminal-init-xterm.
885 (xterm--query): Don't mishandle timeout. Remove debugging messages.
886 Allow multiple handlers.
887 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
888
9b593980
SM
889 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
890 (xterm--report-background-handler, xterm--query): New functions.
891 (terminal-init-xterm): Use them.
892
e18e61cf
MM
8932013-03-11 Michael R. Mauger <michael@mauger.com>
894
895 * progmodes/sql.el Version 3.2
896 Please note that my address changed to <michael@mauger.com>;
897 the <mmaug@yahoo.com> address remains active.
898 (sql-connection-alist): Updates documentation to fix bug#13715.
899 (sql-connect): Handle missing `sql-connection-alist' correctly.
900 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
901 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
902 property.
903 (sql-default-value): New function.
904 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
905 values were not used.
906 (sql-rename-buffer): Make sure alternate buffer name has no text
907 properties.
908 (sql-input-sender, sql-execute-feature): Fetch variable with
909 `buffer-local-value' rather than `with-current-buffer'.
910 (sql-*): Use #' function syntax consistently.
911 (sql-*): Use message/error/user-error consistently.
912
25c09217
SM
9132013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * xt-mouse.el (xterm-mouse-event-read): Remove.
916 (xterm-mouse--read-event-sequence-1000)
917 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
918
d0ebc826
SM
9192013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
920
d3e9f3a8
SM
921 * term/xterm.el (xterm-function-map): Support format used with
922 formatOtherKeys=1 (bug#13839).
923
17f32327
SM
924 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
925 (with-no-warnings): Use `declare'.
926
33f5bc1c
SM
927 * whitespace.el (whitespace-enable-predicate): New variable.
928 (whitespace-enable-predicate): Use it.
929
d0ebc826
SM
930 * comint.el (comint-send-input, comint-snapshot-last-prompt)
931 (comint-output-filter, comint-update-fence):
932 Use with-silent-modifications.
933
45ba025e
J
9342013-03-10 Jambunathan K <kjambunathan@gmail.com>
935
936 * replace.el (occur-read-regexp-defaults-function): New var.
937 (occur-read-regexp-defaults): New defun.
938 (occur-read-primary-args): Propagate above change (bug#13892).
939
74dd4abc
SM
9402013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
941
942 * mouse.el (mouse-drag-track): Remove left-over debugging code.
943
3675b169
MA
9442013-03-09 Michael Albinus <michael.albinus@gmx.de>
945
946 Major rewrite due to changed D-Bus interface of GVFS 1.14.
947
948 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
949 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
950 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
951 New defconst.
74dd4abc
SM
952 (tramp-gvfs-file-name-handler-alist) [directory-files]
953 [directory-files-and-attributes, file-exists-p, file-modes]:
954 Use Tramp default handler.
3675b169
MA
955 [file-acl, file-selinux-context, process-file, set-file-acl]:
956 [set-file-modes, set-file-selinux-context, shell-command]:
d0ebc826 957 [start-file-process]: Remove handler.
3675b169
MA
958 [verify-visited-file-modtime]: New handler.
959 (tramp-gvfs-dbus-string-to-byte-array)
960 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
961 calls of `dbus-string-to-byte-array' and
962 `tramp-gvfs-dbus-byte-array-to-string'.
963 (tramp-gvfs-handle-copy-file)
964 (tramp-gvfs-handle-delete-directory)
965 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
966 (tramp-gvfs-handle-file-directory-p)
967 (tramp-gvfs-handle-file-executable-p)
968 (tramp-gvfs-handle-file-name-all-completions)
969 (tramp-gvfs-handle-file-readable-p)
970 (tramp-gvfs-handle-file-writable-p)
971 (tramp-gvfs-handle-insert-directory)
972 (tramp-gvfs-handle-insert-file-contents)
973 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
974 (tramp-gvfs-handle-set-visited-file-modtime)
975 (tramp-gvfs-handle-write-region): Rewrite.
976 (tramp-gvfs-handle-file-acl)
977 (tramp-gvfs-handle-file-selinux-context)
978 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
979 (tramp-gvfs-handle-set-file-modes)
980 (tramp-gvfs-handle-set-file-selinux-context)
981 (tramp-gvfs-handle-shell-command)
982 (tramp-gvfs-handle-start-file-process)
983 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
984 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
985 over the symlinks. Fix user handling.
986 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
987 of the D-Bus signals.
988 (tramp-gvfs-connection-mounted-p): Handle different names of the
989 D-Bus methods.
990 (tramp-gvfs-mount-spec-entry): New defun.
991 (tramp-gvfs-mount-spec): Use it.
992 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
993 there is a share name. Handle different names of the D-Bus
85b66a21
MA
994 signals and methods. Set connection properties needed for
995 `tramp-check-cached-permissions'.
3675b169
MA
996 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
997 Return t or nil.
998
999 * net/tramp.el (tramp-backtrace): Move up.
85b66a21 1000 (tramp-error): Dump a backtrace into the debug buffer when
3675b169
MA
1001 `tramp-verbose > 9.
1002 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1003 (tramp-file-mode-permissions, tramp-get-local-uid)
1004 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1005 tramp-sh.el.
1006
1007 * net/tramp-sh.el (tramp-file-mode-type-map)
1008 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1009 (tramp-file-mode-permissions, tramp-get-local-uid)
1010 (tramp-get-local-gid): Move to tramp.el.
1011
27a98a62
SM
10122013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 Separate mouse-1-click-follows-link from mouse-drag-region.
1015 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1016 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1017 (mouse-drag-line, mouse-drag-track):
1018 Remove mouse-1-click-follows-link code.
1019 (mouse--remap-link-click-p): Remove.
1020
eb1a6e15
J
10212013-03-08 Jambunathan K <kjambunathan@gmail.com>
1022
1023 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1024 (hi-lock-read-regexp-defaults): New defun.
1025 (hi-lock-line-face-buffer, hi-lock-face-buffer)
27a98a62
SM
1026 (hi-lock-face-phrase-buffer): Propagate above change.
1027 Update docstring (bug#13892).
eb1a6e15
J
1028
1029 * subr.el (find-tag-default-as-regexp): New defun.
1030 * replace.el (read-regexp): Propagate above change.
1031
6d7ebb72
JB
10322013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1033
1034 * calc/calc-units.el (calc-convert-units): Fix the way that default
1035 new units are stored.
1036
c34ae9da 10372013-03-07 Matthias Meulien <orontee@gmail.com>
c095b770
KF
1038
1039 * bookmark.el: Define a face to highlight bookmark names in
1040 bookmark menu buffers, where the default is a bold face similarly
c34ae9da 1041 to buffer names in buffer menu buffers.
c095b770
KF
1042 (bookmark-menu-bookmark): New face to highlight bookmark names.
1043 (bookmark-insert-location): Remove duplicated text property to
1044 conform to buffer list (see `list-buffers').
1045 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1046 `bookmark-menu-bookmark' to bookmark names.
1047
c34ae9da
GM
10482013-03-07 Matthias Meulien <orontee@gmail.com>
1049 Karl Fogel <kfogel@red-bean.com>
7a78e19f
KF
1050
1051 * bookmark.el: Display the bookmark list header similarly to the
1052 buffer list header (see `list-buffers'), where the default is now
c34ae9da 1053 an immovable/immutable header line.
7a78e19f
KF
1054 (bookmark-bmenu-use-header-line): New variable.
1055 (bookmark-bmenu-inline-header-height): New name for
1056 `bookmark-bmenu-header-height', to avoid confusion with the code
1057 for the new immovable header. All references changed.
1058 (bookmark-bmenu-set-header): New function.
1059 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1060 Conditionalize header construction accordingly.
1061 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1062 the inline header height.
1063 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1064 Conditionalize the skipping of the inline header height.
1065
94e48c7d
DG
10662013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1067
27a98a62
SM
1068 * progmodes/js.el (js--multi-line-declaration-indentation):
1069 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
94e48c7d 1070
ab89e9f9
DG
10712013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1072
27a98a62
SM
1073 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1074 Only propertize regexp when not inside a string (Bug#13885).
ab89e9f9 1075
33d1e2f5
AM
10762013-03-06 Alan Mackenzie <acm@muc.de>
1077
1078 Correct the position of point in some line-up functions.
1079 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1080 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1081 point at column 0 rather than at a random place in the line.
1082
11f4d68f
MA
10832013-03-05 Michael Albinus <michael.albinus@gmx.de>
1084
27a98a62
SM
1085 * net/tramp-compat.el (tramp-compat-delete-directory):
1086 Implement TRASH argument.
11f4d68f 1087
c7a409b6
DG
10882013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1089
1090 Keep pre-existing highlighting in completion candidates (Bug#13250).
1091 * minibuffer.el (completions-first-difference): State that the
1092 face is "added" in the docstring.
1093 (completions-common-part): Same. And don't inherit from default.
1094 (completion-hilit-commonality): Prepend 'completions-common-part
1095 and 'completion-first-difference faces to the 'face property,
1096 instead of replacing the value(s).
1097 (completion--insert-strings): Same with 'completions-annotations face.
1098 (completion-hilit-commonality): Use 'face instead of
1099 'font-lock-face, because it gets priority if the completion
1100 strings already have 'face set.
1101
e0bc0f33
AM
11022013-03-04 Alan Mackenzie <acm@muc.de>
1103
1104 Replace `last-command-event' by `last-command-char' in XEmacs.
1105 * progmodes/cc-defs.el (c-last-command-char): New macro.
1106 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1107 (c-semi&comma-no-newlines-before-nonblanks)
1108 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1109 in place of `last-command-event'.
1110 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1111 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1112 (c-electric-paren, c-electric-continued-statement): Use the new
1113 macro in place of `last-command-event'.
1114
cb05411f
GM
11152013-03-04 Glenn Morris <rgm@gnu.org>
1116
1117 * files.el (inhibit-local-variables-regexps):
1118 Add .diff and .patch. (Bug#13862)
1119
9a0f9ec3
MA
11202013-03-03 Michael Albinus <michael.albinus@gmx.de>
1121
1122 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1123 whether the "su" command is available on the device.
1124
7d11fc27
MA
11252013-03-01 Michael Albinus <michael.albinus@gmx.de>
1126
1127 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1128 (tramp-adb-handle-process-file): Remove superfluous setting.
1129 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1130 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1131 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1132
b5a5723d
SM
11332013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1134
1135 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1136 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1137 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1138 Use dict-key rather than dict-name for the error message.
1139
7944eaa3
TV
11402013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1141
1142 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1143 when reverting (bug#13831).
1144
325b66a6
AM
11452013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1146
7944eaa3 1147 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
325b66a6
AM
1148 Always expand affix-file before storing to protect against changed
1149 `default-directory'.
1150 (ispell-print-if-debug): Make sure message is printed at the end
1151 of the debug buffer.
1152
36a8b68b
MA
11532013-03-01 Michael Albinus <michael.albinus@gmx.de>
1154
1155 * net/tramp.el (tramp-obsolete-methods): New defconst.
1156 (tramp-warned-obsolete-methods): New defvar.
1157 (tramp-find-method): Check for obsolete methods. Map them to a
1158 replacement method if appropriate.
1159
1160 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1161 Remove methods.
1162 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1163 "ssh2" and "plink1".
1164
4a83d19e
DS
11652013-02-28 Dale Sedivec <dale@codefu.org>
1166
1167 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1168 Return valid syntax-table property value when converting
1169 quotes within text from string syntax to punctuation syntax (bug#13844).
1170
9d232fc4
JL
11712013-02-28 Juri Linkov <juri@jurta.org>
1172
1173 * dired-aux.el (dired-diff): If file at point is a backup file,
1174 use its original as the default value, and reverse the order
1175 of arguments to the `diff' call. Doc fix. (Bug#13772)
1176
779451da
MA
11772013-02-28 Michael Albinus <michael.albinus@gmx.de>
1178
1179 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1180 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1181
ef3761e3
AM
11822013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1183
1184 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1185
1186 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1187 Ask hunspell about available and default dictionaries.
1188 (ispell-parse-hunspell-affix-file): Extract relevant info from
1189 hunspell affix file.
1190 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1191 `ispell-dictionary-alist' entry for given dictionary after info
1192 provided by `ispell-parse-hunspell-affix-file'.
1193 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1194 of parsed hunspell dicts and associated affix files.
1195 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1196 of parsed hunspell dicts and associated parameters.
1197 (ispell-set-spellchecker-params):
1198 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1199 previously done.
1200 (ispell-start-process):
1201 Call `ispell-hunspell-fill-dictionary-entry' for current
1202 dictionary if it is not initialized.
1203
930de676
SM
12042013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1205
1206 * imenu.el: Comment nitpicks.
1207
3602cceb
SS
12082013-02-28 Sam Steingold <sds@gnu.org>
1209
1210 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1211 See <http://stackoverflow.com/questions/14720205>.
1212
bd0dd755
TV
12132013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1214
1215 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1216 (net-utils-mode): Use it.
1217 (net-utils--revert-cmd): New var.
1218 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1219 (traceroute): Use net-utils-run-simple.
1220
929aeac6 12212013-02-28 Glenn Morris <rgm@gnu.org>
f0e19dc1
GM
1222
1223 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1224
e7a1c32d
SM
12252013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1228 (doc-view-fallback-mode): Remove overlays here.
1229 (doc-view-toggle-display): Instead of here. Don't throw away
1230 image-mode-winprops-alist.
1231 (doc-view-goto-page): Don't mess with hscroll.
1232
f2c88400
TV
12332013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1234
1235 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1236 &optional (bug#13819).
1237
fa550654
MA
12382013-02-27 Michael Albinus <michael.albinus@gmx.de>
1239
1240 * net/tramp-adb.el (tramp-adb-parse-device-names)
1241 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1242
58bd4aa2
MA
12432013-02-26 Michael Albinus <michael.albinus@gmx.de>
1244
f2c88400
TV
1245 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1246 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
58bd4aa2
MA
1247 defined. POSIX environments fall back to the "C" locale then and
1248 emit a warning, which shall be suppressed.
1249
9f70f91e
SM
12502013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1253 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1254
4c514b0f
SM
12552013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1258
cd27a76d
JL
12592013-02-25 Juri Linkov <juri@jurta.org>
1260
1261 * replace.el (read-regexp): Let-bind `default' to the first
1262 element of `defaults' if it's a list, otherwise it should be
1263 a string or nil. Let-bind `suggestions' to `defaults' if it's
1264 a list, otherwise make a list with the string value. Doc fix.
1265 (Bug#13805)
1266
343a2aef
EZ
12672013-02-25 Eli Zaretskii <eliz@gnu.org>
1268
1269 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1270 that match "\`\.#", to avoid compiling lock files, even if they
1271 are readable (as they are on MS-Windows).
1272
944c37ef
SM
12732013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * files.el (basic-save-buffer): Remove redundant directory-creation.
1276
7a91562f
JB
12772013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1278
1279 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1280 Add option to force `pi' to remain symbolic.
1281 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1282 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1283 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1284 derivatives, when necessary.
1285
2ae3d736
PK
12862013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1287
1288 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1289 (ps-mode-octal-region): Use string-make-unibyte.
1290
fd743628
GM
12912013-02-23 Glenn Morris <rgm@gnu.org>
1292
e8ba2352
GM
1293 * emulation/viper-cmd.el (viper-submit-report):
1294 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1295 * progmodes/vera-mode.el (vera-mode-help-address):
1296 * textmodes/artist.el (artist-maintainer-address):
1297 * textmodes/reftex.el (reftex-report-bug):
1298 * vc/ediff-util.el (ediff-submit-report):
1299 Add bug-gnu-emacs to bug report address.
1300
3296c443
GM
1301 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1302 Remove bug report entries.
1303 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1304
fd743628
GM
1305 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1306 (byte-compile-file, byte-compile-from-buffer):
1307 Use separate input/output buffers for each level of recursive
1308 byte-compile-file calls. (Bug#13787)
1309
c57a0aff
MA
13102013-02-23 Michael Albinus <michael.albinus@gmx.de>
1311
1312 * net/tramp.el (tramp-methods): Fix docstring.
1313 (tramp-ssh-controlmaster-options): Rename it from
1314 `tramp-ssh-controlmaster-template'. Return a string.
1315 (tramp-default-method): Adapt check for
1316 `tramp-ssh-controlmaster-options'.
1317
4c514b0f
SM
1318 * net/tramp-sh.el (tramp-methods):
1319 Replace `tramp-ssh-controlmaster-template' by "%c".
c57a0aff
MA
1320 (tramp-do-copy-or-rename-file-out-of-band)
1321 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1322 that it is applied for the first hop only.
1323
bba90ab2 13242013-02-22 Juri Linkov <juri@jurta.org>
54d9de11
JL
1325
1326 * isearch.el (isearch-lazy-highlight-new-loop):
1327 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1328 to `isearch-other-end' if it is not nil. (Bug#13402)
1329
1330 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1331 to `match-beg'.
1332
1333 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1334 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1335 and `isearch-error' to nil.
1336
78be8b64
SM
13372013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1338
1339 * progmodes/python.el (python-info-current-defun):
1340 Enhance match-data cluttering prevention.
1341
29bb19dc
MA
13422013-02-22 Michael Albinus <michael.albinus@gmx.de>
1343
1344 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1345
4c514b0f
SM
1346 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1347 Handle multibyte file names.
29bb19dc 1348
153dd4d0
GM
13492013-02-22 Glenn Morris <rgm@gnu.org>
1350
5c11fc55
GM
1351 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1352 (sgml-transformation-function): Give it a :set function.
1353 (sgml-tag): Doc fix.
1354
f4146d98
GM
1355 * cmuscheme.el (scheme-buffer):
1356 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1357 * progmodes/tcl.el (inferior-tcl-buffer):
1358 * textmodes/tex-mode.el (tex-command): Doc fixes.
1359
5db881d0
GM
1360 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1361
153dd4d0
GM
1362 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1363
e224eb41
BG
13642013-02-21 Bastien Guerry <bzg@gnu.org>
1365
1366 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1367
cfbf790d 13682013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
c132ab79 1369
4c514b0f
SM
1370 * progmodes/python.el (python-info-current-defun):
1371 Enhance match-data cluttering prevention.
c132ab79 1372
cfbf790d 13732013-02-21 Glenn Morris <rgm@gnu.org>
e233e100
GM
1374
1375 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1376 loaded while outline-regexp is let bound. (Bug#9584)
1377
cfbf790d 13782013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
33c0cb25
FEG
1379
1380 * progmodes/python.el (python-info-current-defun): Fix failed
1381 defun name retrieval because of unwanted match-data cluttering.
1382
886bae77
MA
13832013-02-21 Michael Albinus <michael.albinus@gmx.de>
1384
d20e6e90
MA
1385 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1386 defconst. Apply independent check for ControlPersist.
1387
886bae77
MA
1388 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1389 temporarily, via "env".
1390
bed1791a
GM
13912013-02-21 Glenn Morris <rgm@gnu.org>
1392
5313bbc7
GM
1393 * info.el (Info-enable-edit): Remove.
1394 (Info-edit): Disable it rather than using Info-enable.
1395 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1396 (Info-cease-edit): Make editing of Info files obsolete.
1397
bed1791a
GM
1398 * informat.el (Info-tagify):
1399 Handle buffers not visiting files. (Bug#13763)
1400
c1bf363a
JB
14012013-02-21 Juanma Barranquero <lekktu@gmail.com>
1402
1403 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1404
b367ec7b
GM
14052013-02-21 Glenn Morris <rgm@gnu.org>
1406
1407 * files.el (basic-save-buffer): Move check for existing parent
1408 directory after hooks. (Bug#13773)
1409
b6c2bfff
SM
14102013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1411
1412 * simple.el (command-execute): Move from C. Add obsolete check.
1413 (extended-command-history): Move from C.
1414
3bf1099f
UM
14152013-02-20 Ulrich Müller <ulm@gentoo.org>
1416
1417 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1418 (jka-compr-mode-alist-additions): Handle .txz suffix for
1419 XZ-compressed tar archives (bug#13770).
1420
d8d2d18a
BG
14212013-02-20 Bastien Guerry <bzg@gnu.org>
1422
3bf1099f
UM
1423 * outline.el (outline-regexp, outline-heading-end-regexp):
1424 Make variables, not options (bug#13731).
d8d2d18a 1425
1dfcc79e
GM
14262013-02-20 Glenn Morris <rgm@gnu.org>
1427
dc504515
GM
1428 * image.el (image-current-frame): Change from variable to function.
1429 (image-show-frame): Rename from image-nth-frame. Update callers.
1430 * image-mode.el (image-multi-frame): New variable.
1431 (image-mode-map, image-mode, image-goto-frame):
1432 Use image-multi-frame rather than image-current-frame.
1433 (image-mode, image-goto-frame): Use image-current-frame as
1434 function rather than as variable.
1435
1dfcc79e
GM
1436 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1437 * emacs-lisp/cl-macs.el (cl--make-type-test)
1438 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1439
81ed22e4
MA
14402013-02-19 Michael Albinus <michael.albinus@gmx.de>
1441
1442 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1443 (tramp-get-file-property, tramp-set-file-property)
1444 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1445 (tramp-flush-file-property, tramp-flush-directory-property):
1446 Rename argument to KEY.
1447 (tramp-flush-connection-property): Simplify a little bit.
1448 (tramp-connection-property-p): New defun.
1449 (top): Reapply saved values only if there isn't a corresponding
1450 entry in `tramp-connection-properties'.
1451
2af3b9c1
FEG
14522013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1453
872faefb
GM
1454 * progmodes/python.el (python-indent-context):
1455 Fix python-info-line-ends-backslash-p call.
2af3b9c1 1456 (python-info-line-ends-backslash-p)
872faefb
GM
1457 (python-info-beginning-of-backslash): Respect line-number argument.
1458 (python-info-current-line-comment-p):
1459 Fix behavior when not at beginning-of-line.
2af3b9c1
FEG
1460 (python-util-position): Remove function.
1461 (python-util-goto-line): New function.
1462
872faefb 14632013-02-19 Michael Albinus <michael.albinus@gmx.de>
c9bcc580
MA
1464
1465 * eshell/em-unix.el (eshell/su): Require tramp.
1466 (eshell/sudo): Require tramp. Remove now unnecessary check.
1467
1468 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1469 `tramp-current-connection' in order to avoid an error when several
1470 commands are invoked in a short time in eshell and friends.
1471
8ca4f1e0
SM
14722013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1473
1474 Cleanup some of EIEIO's namespace.
1475 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1476 Use it to define all the class-* and object-* field accessors (renamed
1477 to eieio--class-* and eieio--object-*). Update all uses.
1478 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1479 class-num-slots and object-num-slots.
1480 (eieio--check-type): New macro.
1481 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1482 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1483 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1484 (object-assoc-list-safe): Use it.
1485 (eieio-defclass): Tighten regexp.
1486 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1487 Remove unreachable code.
1488 (object-class-fast): Declare obsolete.
1489 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1490 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1491 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1492 Rename from class-name, object-name, object-set-name-string,
1493 object-class, object-class-name, class-parents, class-children,
1494 class-precedence-list, class-parent; with obsolete alias.
1495 (class-of, class-direct-superclasses, class-direct-subclasses):
1496 Declare obsolete.
1497 (eieio-defmethod): Use `memq'; remove unreachable code.
1498 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1499 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1500 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1501
73572c72
AG
15022013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1503
78b8f320
AG
1504 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1505 commentary.
73572c72 1506
587feed4
MH
15072013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1508
1509 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1510 Use font-lock-keyword-face for macros and special forms (bug#8345).
1511
a51e9ff7 15122013-02-17 Didier Verna <didier@didierverna.net>
e5b246e9
DV
1513
1514 * net/network-stream.el (network-stream-open-starttls):
1515 Check that response to the starttls-command is non-nil. (Bug#13706)
1516
913274cb
SM
15172013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1520 Don't assume all identifier chars have syntax word.
1521 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1522 Remove bar-not-symbol. Adjust callers.
1523 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1524
53db1d8b
LL
15252013-02-17 Leo Liu <sdl.web@gmail.com>
1526
1527 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1528
e630f18a
GM
15292013-02-17 Glenn Morris <rgm@gnu.org>
1530
1bb1e038
GM
1531 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1532
f05e2ff2
GM
1533 * image-mode.el (image-mode-map): Add image-dired menu entry.
1534
e630f18a
GM
1535 * image-dired.el (tumme): Make this alias obsolete.
1536
783b7b75
GM
15372013-02-16 Glenn Morris <rgm@gnu.org>
1538
ed8d7fca
GM
1539 * image.el (image-animated-types): Remove.
1540 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1541 (image-animated-p): Make obsolete alias.
1542 (image-animate, image-nth-frame, image-animate-timeout):
1543 Use image-multi-frame-p.
1544 (image-animate-timeout): If no delay, use image-default-frame-delay.
1545 * image-mode.el (image-mode, image-toggle-animation):
1546 Use image-multi-frame-p. (Bug#763, bug#10739)
1547 (image-mode): Adjust startup message for a multi-frame image.
1548
783b7b75
GM
1549 * image-mode.el (image-mode-map): Give it a menu.
1550
61addbc2
MA
15512013-02-16 Michael Albinus <michael.albinus@gmx.de>
1552
1553 * net/tramp-cache.el (tramp-connection-properties): New customer
1554 option.
1555 (tramp-get-connection-property): Use it.
1556
1557 * net/tramp-compat.el (top): Require 'trampver.
1558
913274cb
SM
1559 * net/tramp-sh.el (tramp-remote-process-environment):
1560 Set tramp-autoload cookie.
61addbc2 1561
a9bc03e2
KR
15622013-02-16 Kevin Ryde <user42@zip.com.au>
1563
1564 * info-look.el (info-lookup-select-mode): If major-mode has no
1565 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1566
2b0afdd9
J
15672013-02-16 Jambunathan K <kjambunathan@gmail.com>
1568
1569 * replace.el (read-regexp): Tighten the regexp that matches tag.
1570 When tag is retrieved with `find-tag-default', use regexp that
1571 matches tag at point. Also update docstring (Bug#13687).
1572
a7a84eea
EZ
15732013-02-16 Eli Zaretskii <eliz@gnu.org>
1574
1575 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1576 add watch for the file, not its parent directory, since w32notify
1577 sets up the watch for the directory internally. (Bug#13725)
1578
c0211c4e
GM
15792013-02-16 Glenn Morris <rgm@gnu.org>
1580
99e619b6
GM
1581 * image.el (image-default-frame-delay): New variable.
1582 (image-animated-p): Use image-default-frame-delay.
1583 (image-minimum-frame-delay): New constant.
1584 (image-animate-timeout): Use image-minimum-frame-delay.
1585
c0211c4e
GM
1586 * image.el (image-nth-frame): New, split from image-animate-timeout.
1587 (image-animate-timeout): Use image-nth-frame.
1588 * image-mode.el (image-goto-frame, image-next-frame)
1589 (image-previous-frame): New commands.
1590 (image-mode-map): Add new frame commands.
1591
6b6d804b
JB
15922013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1593
1594 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1595 If col-desc already has help-echo, use it. (Bug#13563)
1596
ef5ae980
GM
15972013-02-16 Glenn Morris <rgm@gnu.org>
1598
bb9dfee1
GM
1599 * image.el (image-current-frame): New variable.
1600 (image-animate-timeout): Set image-current-frame.
1601 * image-mode.el (image-mode): For animated images,
1602 display a frame counter via mode-line-process.
1603
ef5ae980
GM
1604 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1605
6c8f113e
SM
16062013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1609
f852f6d8
AM
16102013-02-15 Alan Mackenzie <acm@muc.de>
1611
1612 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1613 global minor mode has been enabled, call the minor mode function
1614 for a new buffer once only, after the major mode hook, whilst
1615 allowing that hook explicitly to disable the minor mode.
6c8f113e
SM
1616 (MODE-disable-in-buffer): New (generated) function.
1617 (disable-MODE): New (generated) buffer local variable.
f852f6d8 1618
d7e76a89
J
16192013-02-15 Jambunathan K <kjambunathan@gmail.com>
1620
1621 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1622 `iswitchb-next-match' and `iswitchb-prev-match' resply.
d7e76a89
J
1623 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1624 `ido-next-match' and `ido-prev-match' resply.
d7e76a89
J
1625 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1626 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1627 `icomplete-backward-completions' (Bug#13708).
1628
ef5ae980 16292013-02-15 Glenn Morris <rgm@gnu.org>
9e16c3b4
GM
1630
1631 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1632
648e5523 16332013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
213ac168
SM
1634
1635 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1636 (goto-address-fontify-region): Use them instead of narrowing, so
1637 syntax-ppss has access to the whole buffer.
1638
648e5523 16392013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
ea5f4192
FEG
1640
1641 * progmodes/python.el: Explain how to restore "cc-mode"-like
1642 forward-sexp movement in header documentation (Bug#13642).
1643 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1644 comments and strings (GH bug 114).
1645
648e5523 16462013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
5cd3d1e5
FEG
1647
1648 * progmodes/python.el (python-info-current-defun): Fix current
1649 defun detection (Bug#13618).
1650
648e5523 16512013-02-15 Chong Yidong <cyd@gnu.org>
a1d23eb5
CY
1652
1653 * xml.el (xml-parse-string): Fix typo in handling of bad character
1654 references.
1655
dec2a322
GM
16562013-02-15 Glenn Morris <rgm@gnu.org>
1657
1658 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1659
5267e6d3
MA
16602013-02-14 Michael Albinus <michael.albinus@gmx.de>
1661
6c8f113e
SM
1662 * net/tramp.el (tramp-debug-message):
1663 Add `tramp-condition-case-unless-debug'.
5267e6d3
MA
1664 (tramp-debug-on-error): New defvar.
1665 (tramp-condition-case-unless-debug): New defun.
1666 (tramp-file-name-handler): Use it.
1667
f6b6e113
JL
16682013-02-14 Juri Linkov <juri@jurta.org>
1669
1670 * info.el (Info-isearch-filter): Treat non-nil values of
1671 `search-invisible' including its default value `open'
1672 like the value `t' to match hidden text. (Bug#13402)
1673
6a378d89
GM
16742013-02-14 Glenn Morris <rgm@gnu.org>
1675
1676 * help-fns.el (find-lisp-object-file-name): Give special treatment
1677 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1678
3ca2c015
DB
16792013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1680
1681 * net/quickurl.el (quickurl-save-urls):
1682 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1683
53ca88c4
DG
16842013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1685
1686 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1687 depth for unfinished percent literal. Not using it in the caller.
1688 (ruby-move-to-block): Jump over multiline literals of all types,
1689 ignoring code-looking contents inside them.
71a048c1
DG
1690 (ruby-add-log-current-method): Improve performance at the expense
1691 of accuracy. `ruby-block-contains-point' is relatively slow, so
1692 only use it for method and singleton class blocks.
53ca88c4 1693
d7291032
MA
16942013-02-13 Michael Albinus <michael.albinus@gmx.de>
1695
1696 Use ControlMaster where applicable. (Bug#13677)
1697
1698 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1699 replacing `tramp-detect-ssh-controlmaster'.
1700 (tramp-default-method): Use it.
1701
1702 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1703 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1704 arguments.
1705 [scpc, rsyncc]: Remove methods.
1706 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1707 and "ssh2_old".
f4ad7ea1 1708 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
d7291032
MA
1709 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1710
1ead7dbd
SM
17112013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1712
1713 * emacs-lisp/package.el (package--initialized): Move before first use.
1714
5cbfe5b9
J
17152013-02-13 Jambunathan K <kjambunathan@gmail.com>
1716
f4ad7ea1 1717 * icomplete.el (icomplete-hide-common-prefix): New user option.
5cbfe5b9
J
1718 (icomplete-first-match): New face.
1719 (icomplete-completions): Correct handling of "complete but not
1720 unique" (Bug#12638).
1721
67f3e54a
YQ
17222013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1723
1724 * descr-text.el (describe-char): Display the script (bug#13698).
1725
4d0463b9
SM
17262013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1727
1728 * tmm.el: Use lexical-binding and current-active-maps.
1729 (tmm-menubar): Use map-keymap and pcase.
1730 (tmm--completion-table): New function.
1731 (tmm-prompt): Use it to fix the menu order.
1732 (tmm-get-keybind): Use current-active-maps.
1733
a2a538b1
CS
17342013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1735
1736 Add dired-hide-details-mode. (Bug#6799)
1737
1738 * locate.el (locate-mode): Set parent mode property to dired-mode.
1739
1740 * find-dired.el (find-dired): Call dired-insert-set-properties on
1741 initial information line. Set process mark on end of buffer.
1742 (find-dired-sentinel):
1743 Call dired-insert-set-properties on summary.
1744
1745 * dired.el (dired-hide-details-hide-symlink-targets)
1746 (dired-hide-details-hide-information-lines): New options.
1747 (dired-insert-directory):
1748 Set properties after final treatment of output.
1749 (dired-insert-set-properties):
1750 Set dired-hide-details-* properties.
1751 (dired-mode-map): Bind dired-hide-details-mode.
1752 (dired-mode): Set buffer-invisibility-spec to a list.
1753 (dired-next-line): Skip hidden lines.
1754 (dired-previous-line): Use dired-next-line.
1755 (dired-hide-details-mode): New minor mode.
1756 (dired-hide-details-update-invisibility-spec): New function.
1757
4e16ddf4
GM
17582013-02-13 Glenn Morris <rgm@gnu.org>
1759
1760 * play/yow.el: Move to obsolete/. (Bug#9384)
1761
ef79c6ed
JL
17622013-02-13 Juri Linkov <juri@jurta.org>
1763
1764 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1765 to select `ediff-control-frame' and set input focus correctly on Xfce.
1766 (Bug#12218)
1767
9cec74cf
JL
17682013-02-13 Juri Linkov <juri@jurta.org>
1769
1770 * image-mode.el (image-mode-map):
1771 * doc-view.el (doc-view-mode-map):
1772 * vc/ediff-util.el (ediff-setup-keymap):
1773 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1774
7132e457
DG
17752013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1776
1777 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1778 performance. Instead of recalculating indentation fully for each
1779 line, sum up indentation depth based only on visited lines.
1780 (ruby-parse-partial): Increase the depth after "do" even when END
1781 is right after it.
1782 (ruby-parse-partial): When END is in the middle of a percent
1783 literal, increase the depth if the delimiter chars belong to the
1784 paren syntax class.
1785
3c4a4b23
KK
17862013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1787
1788 * play/fortune.el (fortune-compile): Also make the compiled file
1789 if it does not exist at all, not just if it is old. (Bug#5338)
1790
eeb468da
GM
17912013-02-13 Glenn Morris <rgm@gnu.org>
1792
1793 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1794
17952013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
a7da0114
YB
1796
1797 * lisp/emacs-lisp/package.el (package-menu-execute):
1798 Add optional noquery argument. (Bug#13625)
1799
01fcc3a5 18002013-02-13 Michael Albinus <michael.albinus@gmx.de>
e08e7d91
MA
1801
1802 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1803 if DIR exists and PARENTS is non-nil.
1804
d6596b94
JB
18052013-02-13 Juanma Barranquero <lekktu@gmail.com>
1806
1807 * progmodes/js.el (js--multi-line-declaration-indentation):
1808 Silence byte-compiler warning.
1809
f1f05871
MA
18102013-02-12 Michael Albinus <michael.albinus@gmx.de>
1811
1812 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1813
1814 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1815 only if it doesn't exist.
1816
6c8f113e
SM
1817 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1818 Set process marker.
f1f05871 1819
62c0e847
TH
18202013-02-12 Tassilo Horn <tsdh@gnu.org>
1821
1822 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1823 UserInstallation when calling soffice to work around LibreOffice
1824 bug 37531.
1825
958614cf
GM
18262013-02-12 Glenn Morris <rgm@gnu.org>
1827
0b244335
GM
1828 * files.el (basic-save-buffer):
1829 Offer to create a non-existing directory. (Bug#3016)
1830
958614cf
GM
1831 * calc/calc-graph.el (calc-graph-show-dumb):
1832 * calendar/calendar.el (calendar-mode-map):
1833 * cus-edit.el (custom-mode-map):
1834 * ehelp.el (electric-help-map):
1835 * emulation/vip.el (vip-mode-map):
1836 * epa.el (epa-key-list-mode-map):
1837 * info.el (Info-mode-map):
1838 * mail/rmail.el (rmail-mode-map):
1839 * mail/rmailsum.el (rmail-summary-mode-map):
1840 * man.el (Man-mode-map):
1841 * net/newst-plainview.el (newsticker-mode-map):
1842 * progmodes/cpp.el (cpp-edit-mode-map):
1843 * progmodes/grep.el (grep-mode-map):
1844 * progmodes/idlw-help.el (idlwave-help-mode-map):
1845 * simple.el (special-mode-map):
1846 * startup.el (splash-screen-keymap):
1847 * view.el (view-mode-map):
1848 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1849
4fa60c54
EP
18502013-02-11 Elias Pipping <pipping@lavabit.com>
1851
1852 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
7e561c10 1853 (bug#13679).
4fa60c54 1854
99d0d6dc
SM
18552013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1856
1857 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1858
31db8c31
GM
18592013-02-11 Glenn Morris <rgm@gnu.org>
1860
5109429f
GM
1861 * vc/diff.el (diff-use-labels): New variable.
1862 (diff-no-select): Use --label rather than -L, and first
1863 check that it is supported. (Bug#11067)
1864
97a1cd9d
GM
1865 * files.el (enable-dir-local-variables): New variable.
1866 (hack-dir-local-variables): Respect enable-dir-local-variables.
1867 * tutorial.el (help-with-tutorial):
1868 Ignore directory-local variables. (Bug#11127)
1869
31db8c31
GM
1870 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1871 (vc-svn-global-switches): ... to here. (Bug#13513)
1872
2f108463
CS
18732013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1874
99d0d6dc
SM
1875 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1876 Handle "foo (bar, default: xxx): " prompts.
2f108463 1877
490a9458 18782013-02-10 Chong Yidong <cyd@gnu.org>
e78e7e48 1879
0ccdf61e
CY
1880 * files.el (basic-save-buffer-1): Do not set
1881 buffer-file-coding-system-explicit (Bug#4533).
1882
e78e7e48
CY
1883 * mail/emacsbug.el (report-emacs-bug): Change binding of
1884 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1885
5d9c6f17
JB
18862013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1887
1888 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1889 * calc/calc-units.el (calc-convert-units): Use new variable.
1890
8549f9e8
EZ
18912013-02-09 Eli Zaretskii <eliz@gnu.org>
1892
2d050423
EZ
1893 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1894
8549f9e8
EZ
1895 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1896 buffer-file-type.
1897
1898 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1899 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1900 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1901 coding-system-for-write instead.
1902
1903 * jka-compr.el (jka-compr-write-region): Don't bind
1904 buffer-file-type.
1905
1906 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1907 buffer-file-type.
1908
1909 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1910 (insert-file-contents-literally): Remove reference to
1911 file-name-buffer-file-type-alist.
1912
1913 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1914 make-obsolete.
1915 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1916 (find-buffer-file-type-coding-system): Remove references to
1917 find-buffer-file-type-match, find-buffer-file-type, and
1918 buffer-file-type.
1919 Don't put find-buffer-file-type-coding-system into
1920 file-coding-system-alist.
1921 (find-file-binary, find-file-text): Bind coding-system-for-read
1922 instead of file-name-buffer-file-type-alist.
1923
9cbab8d6 19242013-02-09 Jambunathan K <kjambunathan@gmail.com>
f63f9398
TH
1925
1926 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
9cbab8d6
GM
1927 converter (Bug#13622).
1928 (doc-view-unoconv-program): Make obsolete alias.
f63f9398
TH
1929 (doc-view-odf->pdf-converter-program): New variable.
1930 (doc-view-odf->pdf-converter-function): New variable.
1931 (doc-view-mode-p): Use it.
9cbab8d6
GM
1932 (doc-view-odf->pdf-converter-unoconv):
1933 Rename from `doc-view-odf->pdf-converter-unoconv'.
f63f9398 1934 (doc-view-odf->pdf-converter-soffice): New function.
9cbab8d6
GM
1935 (doc-view-convert-current-doc):
1936 Use `doc-view-odf->pdf-converter-function'.
f63f9398 1937
044a9eac
CY
19382013-02-09 Chong Yidong <cyd@gnu.org>
1939
123ecb68
CY
1940 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1941 view-echo-area-messages (Bug#13340).
1942
1943 * help.el (view-echo-area-messages): Use display-buffer.
1944
044a9eac
CY
1945 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1946 (Bug#13561).
1947
1a601680
SM
19482013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1949
7f526211
SM
1950 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1951 Eval body right away, now that we do eager macroexpansion (bug#13605).
1952
c9586acc
SM
1953 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1954 (fundamental-mode): Use run-mode-hooks.
1955
1a601680
SM
1956 * eshell/esh-proc.el (eshell/kill): Fix last change.
1957 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1958
276a61a6
AG
19592013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1960
1961 * eshell/esh-proc.el (eshell/kill): Rewrite.
1962
1963 * eshell/em-ls.el (show-almost-all): Declare.
1964 (eshell-do-ls): Add support for -A argument.
1965
6130b96a
J
19662013-02-08 Jambunathan K <kjambunathan@gmail.com>
1967
1968 * icomplete.el (icomplete-forward-completions)
1969 (icomplete-backward-completions): Handle corner case (bug#13602).
1970
fed00072
MA
19712013-02-07 Michael Albinus <michael.albinus@gmx.de>
1972
1973 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1974 be nil. Handle this. (Bug#13636)
1975
469c5a60
RS
19762013-02-07 Richard Stallman <rms@gnu.org>
1977
1978 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1979 `save-buffer-coding-system'.
1980
8c4b24b2 19812013-02-07 Alan Mackenzie <acm@muc.de>
d23b0804 1982
8c4b24b2 1983 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
d23b0804
AM
1984 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1985 (c-parse-state-get-strategy): Don't return 'BOD any more.
8c4b24b2
GM
1986 (c-append-lower-brace-pair-to-state-cache):
1987 Extra parameter HERE instead of narrowing.
1988 Widen to top of buffer before searching backwards for a brace pair.
1989 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1990 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1991 Narrow to parameter HERE, in place of being called narrowed.
d23b0804
AM
1992 (c-remove-stale-state-cache): Extra parameter HERE in place of
1993 narrowing. Check there's an open brace in the cache before
1994 searching for its match.
1995 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1996 (c-parse-state-1): Don't narrow here for 'forward strategy,
8c4b24b2
GM
1997 instead passing extra parameter HERE to several functions.
1998 Remove 'BOD strategy.
d23b0804 1999
f4ad7ea1 20002013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
55b056ba
NR
2001
2002 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2003 used to install the package.
2004
e86762ec
GM
20052013-02-06 Glenn Morris <rgm@gnu.org>
2006
5fd03926
GM
2007 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2008 if we can't get user input. (Bug#6567)
2009
e86762ec
GM
2010 * startup.el (command-line): If simple.el is missing,
2011 test and warn about for some possible causes.
2012
6871e574
JD
20132013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2014
2015 * cus-start.el (all): Add ns-use-native-fullscreen.
2016
3505fa02
GM
20172013-02-05 Glenn Morris <rgm@gnu.org>
2018
ed746aa7
GM
2019 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2020
3505fa02
GM
2021 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2022 Fix directory creation in fallback case.
2023
50fdf399
TV
20242013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2025
2026 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2027 (vc-update-change-log): Use dolist.
2028
6e5c1569
CY
20292013-02-04 Chong Yidong <cyd@gnu.org>
2030
2031 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2032 code from ffap.el.
2033 (thing-at-point-beginning-of-url-regexp): New var.
2034 (thing-at-point-uri-schemes): Update list of URI schemes.
2035 (thing-at-point-url-regexp): Variable deleted.
2036 (thing-at-point-markedup-url-regexp): Disallow newlines.
2037 (thing-at-point-newsgroup-regexp)
2038 (thing-at-point-newsgroup-heads)
2039 (thing-at-point-default-mail-uri-scheme): New variables.
2040 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
50fdf399
TV
2041 method to find the possible bounds of the URI at point.
2042 New optional argument to find ill-formed URIs.
6e5c1569
CY
2043 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2044 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2045 the scheme-adding heuristics from ffap-url-at-point.
50fdf399
TV
2046 (thing-at-point--bounds-of-well-formed-url): New function.
2047 Do parens matching to decide whether to include parens in the URI
6e5c1569
CY
2048 (Bug#9153).
2049
2050 * ffap.el: Require thingatpt.
2051 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2052 All URI-valid characters are now recognized (Bug#5673).
2053 (ffap-string-at-point): Use use-region-p.
2054 (ffap-url-regexp): Extra character is handled by thing-at-point.
2055 (ffap-string-at-point-mode-alist): Allow parentheses.
2056 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2057 Convert to aliases; code moved to thingatpt.el.
2058 (ffap-gnus-hook): Use setq-local.
2059
84a06b50
GM
20602013-02-04 Glenn Morris <rgm@gnu.org>
2061
2062 * emacs-lisp/ert.el (ert--explain-format-atom):
2063 Don't try to print non-characters as characters. (Bug#13543)
2064
5870b2b1
MA
20652013-02-03 Michael Albinus <michael.albinus@gmx.de>
2066
2067 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2068 (tramp-backtrace): New defun.
2069 (tramp-handle-insert-file-contents): Use `visit' when inserting
2070 the local copy.
2071
50fdf399
TV
2072 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2073 Use `remote-file-name-inhibit-cache'.
5870b2b1 2074
659a9010
SM
20752013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2076
4813c453
SM
2077 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2078 (bug#13614).
2079
659a9010
SM
2080 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2081 current-load-list (bug#13366).
2082
35114711
CS
20832013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2084
2085 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2086 Identify g++ template instantiation trace. (Bug#12287)
85a83ea0
CS
2087 (compilation-mode-hook, compilation-start-hook)
2088 (compilation-window-height): Simplify docstrings. (Bug#13379)
35114711 2089
94fbc901 20902013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13841bfc
SM
2091
2092 * mouse.el (mouse-drag-track): Always deactivate the mark before
2093 running the final event's command since that command is in charge of
2094 activating the mark if needed (bug#13523).
2095
94fbc901 20962013-02-02 Juri Linkov <juri@jurta.org>
dc2bc295
JL
2097
2098 * replace.el (perform-replace): Move let-bindings of isearch-*
2099 variables deeper to the loop that searches for the next match.
2100 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2101 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2102 (Bug#13579)
2103
2104 * isearch.el (isearch-search-fun-default): Check for null
2105 first element of isearch-cmds as a precaution when it's used
2106 with inactive isearch.
2107
94fbc901 21082013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
f864e0ea
AN
2109
2110 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2111 error when buffer in question is narrowed so position 1 is out of
2112 visible part.
2113
94fbc901 21142013-02-02 Glenn Morris <rgm@gnu.org>
fb77fe0f
GM
2115
2116 * textmodes/remember.el (remember-clipboard): Doc fix.
2117
94fbc901 21182013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
c517ec69
SM
2119
2120 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2121 properties (bug#13179).
2122
98da8c0f
JL
21232013-02-02 Juri Linkov <juri@jurta.org>
2124
2125 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2126 instead of hard-coded default face `match'. (Bug#9438)
2127
7b6d5ecf
CS
21282012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2129
af314ba0
CS
2130 * vc/vc-arch.el (vc-arch-registered):
2131 * vc/vc-bzr.el (vc-bzr-registered):
2132 * vc/vc-cvs.el (vc-cvs-registered):
2133 * vc/vc-git.el (vc-git-registered):
2134 * vc/vc-hg.el (vc-hg-registered):
2135 * vc/vc-mtn.el (vc-mtn-registered):
2136 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2137 (Bug#13139)
2138
7b6d5ecf
CS
2139 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2140 prefix argument. (Bug#11656)
2141
686d9fb6
SM
21422013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2145
48c828b9
GM
21462013-02-01 Glenn Morris <rgm@gnu.org>
2147
1f4f0f46
GM
2148 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2149 if the backend is known not to support it.
2150
48c828b9
GM
2151 * imenu.el (imenu-default-create-index-function):
2152 Tweak infinite loop test to check for forward motion as well as none.
2153
cd87ae10
AH
21542013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2155
2156 * net/soap-client.el (soap-invoke): Encode the string for
686d9fb6
SM
2157 `url-request-data' as UTF-8.
2158 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
cd87ae10 2159
86e100a6
GM
21602013-02-01 Glenn Morris <rgm@gnu.org>
2161
2162 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2163
0eb61895
GM
2164 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2165
61642d9a
MA
21662013-01-31 Michael Albinus <michael.albinus@gmx.de>
2167
2168 * net/tramp.el (tramp-tramp-file-p): Comment check for
2169 `string-as-unibyte'. The function does not exist on XEmacs, and
2170 likely we need another approach.
2171
2172 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2173 `tramp-gw-*' variables are bound.
2174
9dbda100
GM
21752013-01-31 Glenn Morris <rgm@gnu.org>
2176
2177 * files.el (basic-save-buffer-2): Choose coding system for
2178 writing the file before backing it up, to reduce delay between
2179 backing up and writing the new version. (Bug#13522)
2180
ad4de702
MN
21812013-01-31 Michal Nazarewicz <mina86@mina86.com>
2182
2183 * simple.el (cycle-spacing): New command.
2184 (just-one-space): Use it.
2185
9ca243c6
SM
21862013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2187
c4f268a1
SM
2188 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2189 (opascal-newline-always-indents): Remove custom.
2190 (opascal-tab, opascal-newline): Remove commands.
2191 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2192 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2193 (opascal-save-match-data): Remove, use save-match-data instead.
2194 (opascal-save-state): Use with-silent-modifications.
2195
9ca243c6
SM
2196 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2197 (bug#13585).
2198
64ced394
JL
21992013-01-30 Juri Linkov <juri@jurta.org>
2200
2201 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2202 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2203 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2204
c56d2269
SM
22052013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2208 column if we're just deleting the backslashes.
2209 (makefile-fill-paragraph): Use eolp.
2210
382936d1
MA
22112013-01-30 Michael Albinus <michael.albinus@gmx.de>
2212
2213 * autorevert.el (auto-revert-use-notify): Fix docstring.
2214
dd331297
LL
22152013-01-30 Leo Liu <sdl.web@gmail.com>
2216
686d9fb6 2217 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
dd331297 2218
c491dd70
GM
22192013-01-30 Glenn Morris <rgm@gnu.org>
2220
2221 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2222 unread-command-events twice in some cases. This tries to implement
2223 the 2012-07-26 changes in a different way. (Bug#13560)
2224
6ff930c3
FEG
22252013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2226
2227 * progmodes/python.el
2228 (python-pdbtrack-comint-output-filter-function): Enhancements on
2229 stacktrace detection. (thanks @gnovak)
2230
1d4e7225
SM
22312013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2234 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2235 Use defvar-local.
2236 (jit-lock-register): Use setq-local.
2237
7c3fb76f
JB
22382013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2239
2240 * calc-units.el (math-default-units-table): Remove initial value.
2241 (calc-convert-units): Treat expressions where all the units cancel as
2242 if they didn't have units.
2243
8bc8712e
MA
22442013-01-30 Michael Albinus <michael.albinus@gmx.de>
2245
2246 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2247 (tramp-completion-reread-directory-timeout): Fix type.
2248 (tramp-connection-min-time-diff): New defcustom.
2249
2250 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2251
1886a16d
GM
22522013-01-30 Glenn Morris <rgm@gnu.org>
2253
2254 * imenu.el (imenu-default-create-index-function):
2255 Put back a version of the infinite loop test removed 2013-01-23.
2256
3f82a88a 22572013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 2258
1d4e7225
SM
2259 * progmodes/python.el (python-shell-parse-command):
2260 Find python-shell-interpreter with modified environment.
e4497086 2261
3f82a88a 22622013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
2263
2264 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2265
953e5b8c
AM
22662013-01-29 Alan Mackenzie <acm@muc.de>
2267
2268 Amend to fontify /regexp/s in actions correctly.
2269 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 2270 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
2271 are no longer included.
2272 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2273 What used to be these variables without "-line" in the name.
686d9fb6 2274 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
953e5b8c
AM
2275 (c-awk-non-arith-op-bra-re): Now also matches {.
2276 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2277 "return", and "case".
2278 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2279 by /.
2280 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
686d9fb6 2281 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
953e5b8c 2282
1b69262a
MA
22832013-01-29 Michael Albinus <michael.albinus@gmx.de>
2284
1d4e7225
SM
2285 * autorevert.el (auto-revert-use-notify):
2286 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 2287
1b69262a
MA
2288 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2289
1d4e7225
SM
2290 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2291 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 2292 in `tramp-file-name-handler'.
ea55064c
MA
2293 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2294 compatibility.
2295 (tramp-compute-multi-hops): Check, whether
2296 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 2297
b2dc4f52
SM
22982013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2299
2300 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2301 (bug#13297).
2302
499572e4
DG
23032013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2304
2305 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2306 checks made superfluous by the \_< operator.
a324b8c7
DG
2307 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2308 temporarily) broken indentation.
b2dc4f52
SM
2309 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2310 Highlight nested constants, too. \_< broke that.
499572e4
DG
2311
23122013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2313
2314 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2315 instead of "\\b".
2316
629cb6ec
MA
23172013-01-27 Michael Albinus <michael.albinus@gmx.de>
2318
2319 * autorevert.el (auto-revert-handler): Notifications which result
2320 from a saved file shall not be taken into account. (Bug#13557)
2321
cc17363f
AS
23222013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2323
2324 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2325 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2326 (lisp-mode): Pass t for it. (Bug#13556)
2327
b7aea0ff
AM
23282013-01-25 Alan Mackenzie <acm@muc.de>
2329
2330 AWK Mode: Fix indentation bug at top level. Bug #12274.
2331
2332 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2333 just before CASE 5D.
2334
1314a64c
DA
23352013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2336
2337 * net/socks.el (socks-nslookup-host): Use string-to-number.
2338
ef3544f6
MA
23392013-01-25 Michael Albinus <michael.albinus@gmx.de>
2340
2341 * autorevert.el (auto-revert-remote-files)
2342 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2343 (auto-revert-notify-enabled, auto-revert-use-notify)
2344 (auto-revert-notify-watch-descriptor-hash-list)
2345 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2346 (auto-revert-notify-event-descriptor)
2347 (auto-revert-notify-event-action)
2348 (auto-revert-notify-event-file-name): Doc fix.
2349 (global-auto-revert-mode): Reorder checks.
2350 (auto-revert-notify-rm-watch): Respect changed values of
2351 `auto-revert-notify-watch-descriptor-hash-list'.
2352 (auto-revert-notify-add-watch): Check for
2353 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2354 `inotify-add-watch'. Watch `default-directory' instead of
2355 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2356 has a changed meaning now. (Bug#13540)
2357 (auto-revert-notify-handler): Change implementation wrt events
2358 returning from a directory.
2359 (auto-revert-handler): Reorder implementation for checks of remote
2360 files.
2361 (auto-revert-buffers): Fix parentheses error.
2362
830e46e6 23632013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
2364
2365 * progmodes/python.el: Enhancements to header documentation about
2366 skeletons. (Bug#5716)
2367
ddc62155
FEG
2368 * imenu.el (imenu-default-create-index-function): Remove useless
2369 infinite loop check. (Bug#13438)
2370
830e46e6 23712013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
2372
2373 Fix a bug in the state cache mechanism. Refactor this a bit.
2374
2375 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2376 `cache-pos' element from the return value.
2377 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2378 buffer to enable proper searching from beyond HERE. Amend the
2379 test for detecting the sought brace pair. Amend the value written
2380 to the "brace desert cache" when the brace isn't found.
2381 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2382 and several other variables analogously.
2383 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2384 parameter to a locally calculated variable.
2385 (c-parse-state-1): Change the calling conventions to the two
2386 defuns involving `cache-pos'.
2387
830e46e6 23882013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
2389
2390 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2391
f4ad7ea1 23922013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3d4147ba
BG
2393
2394 * paren.el (show-paren-function): Make sure to set 'priority and
2395 'face only if the overlay does exist.
2396
e1ffa412
MA
23972013-01-24 Michael Albinus <michael.albinus@gmx.de>
2398
2399 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2400
2401 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2402 basic attributes.
2403 (tramp-sh-handle-set-file-acl): Improve error checking.
2404
5ad86e34
DA
24052013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2406
2407 * doc-view.el (doc-view-display): Force mode line update until all
2408 document is converted. Suggested by Stefan Monnier (Bug#13164).
2409
d6f9c03f
BG
24102013-01-23 Bastien Guerry <bzg@gnu.org>
2411
2412 * paren.el (show-paren-function): Make sure an overlay exists
2413 before trying to delete it. Also use `pos' as a position only
2414 when it is an integer.
2415
3544e11a
DA
24162013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2417
2418 * play/gametree.el (gametree-break-line-here): Use point-marker.
2419
19b50424
MA
24202013-01-22 Michael Albinus <michael.albinus@gmx.de>
2421
b2dc4f52
SM
2422 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2423 Mark descriptive parts with `display' property.
19b50424 2424
7fd5a843
AM
24252013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2426
2427 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2428 New variable to map standard dict names to hunspell ones.
2429 (ispell-set-spellchecker-params): Make sure specific dict names
2430 are used for standard dicts with hunspell.
2431
e6aff855
TH
24322013-01-21 Tassilo Horn <tsdh@gnu.org>
2433
2434 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2435 chars for note (%N) and url (%U).
2436 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2437
c84b0881
JL
24382013-01-21 Juri Linkov <juri@jurta.org>
2439
2440 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2441 in addition to existing separate binding `meta f10' in `global-map'.
2442 (Bug#13484)
2443
a36e2d26
MA
24442013-01-21 Michael Albinus <michael.albinus@gmx.de>
2445
2446 Improve XEmacs compatibility.
2447
2448 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2449
2450 * net/tramp-adb.el (top): Require `time-date'.
2451 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
2452 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2453 Use `tramp-file-name-handler'.
2454 (tramp-adb-maybe-open-connection):
2455 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 2456
b2dc4f52
SM
2457 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2458 Use `tramp-compat-funcall'.
a36e2d26
MA
2459
2460 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2461 `tramp-compat-funcall'.
2462
88c7dfa3
JH
24632013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2464
2465 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2466 reimplementation using "adb shell command ..." instead of running
2467 remote shell interactively.
2468
15df6fa4
GM
24692013-01-20 Glenn Morris <rgm@gnu.org>
2470
a576cc76
GM
2471 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2472 Add native profiler menu entries.
2473
15df6fa4
GM
2474 * profiler.el (profiler-running-p): New function.
2475 (profiler-cpu-profile): Use profiler-running-p.
2476 (profiler-report-mode-map): Add some more menu entries.
2477
c4d1e0c3
GM
24782013-01-19 Glenn Morris <rgm@gnu.org>
2479
2480 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2481 fixes 2012-12-07 change. (Bug#13499)
2482
795e7a5b 24832013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
2484
2485 * dired.el (dired-get-marked-files): Prune erroneous values due to
2486 last change. (Bug#13152)
2487
795e7a5b 24882013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
2489
2490 * progmodes/etags.el (tags-table-check-computed-list):
2491 Preserve point in tags buffer. (Bug#13412)
2492
f8a42ad6
GM
2493 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2494
20de6ab6
CW
24952013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2496 Chong Yidong <cyd@gnu.org>
2497
b2dc4f52
SM
2498 * image-mode.el (image-next-file, image-previous-file):
2499 New commands (Bug#8453).
20de6ab6
CW
2500 (image-mode-map): Bind them to n and p.
2501 (image-mode--images-in-directory): New helper function.
2502
2a43515a
CY
25032013-01-19 Chong Yidong <cyd@gnu.org>
2504
2505 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2506 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2507 save and restore the old window configuration.
2508
b1170947
LL
25092013-01-18 Leo Liu <sdl.web@gmail.com>
2510
2511 * progmodes/js.el: Tweak autoload cookie for alias.
2512
0eb87688
MA
25132013-01-17 Michael Albinus <michael.albinus@gmx.de>
2514
2515 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2516 buffer local, again. This was lost with the fix on 2013-01-12.
2517
99d36ea8
JH
25182013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2519
2520 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2521 order to support several eshell buffers in parallel.
2522
68a08a32
MA
25232013-01-17 Michael Albinus <michael.albinus@gmx.de>
2524
2525 * autorevert.el (auto-revert-use-notify): In the :set function, do
2526 not modify `kill-buffer-hook'.
b2dc4f52
SM
2527 (auto-revert-notify-rm-watch):
2528 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
2529 (auto-revert-notify-add-watch): Do not call
2530 `auto-revert-notify-rm-watch', but add it to a buffer local
2531 `kill-buffer-hook'.
2532
e59eee43
SM
25332013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2534
2535 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2536 call to `eval' rather than a backquoted lambda.
2537
6e8cd0ae
SM
25382013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2539
cb9c0a53
SM
2540 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2541 to return an explicit nil.
2542 (advice--remove-function): Change accordingly.
2543
2544 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2545 the use of nadvice.el.
2546
6e8cd0ae
SM
2547 * progmodes/which-func.el (which-function): Silence imenu errors
2548 (bug#13433).
2549
4586ce8a
MM
25502013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2551
f4ad7ea1 2552 * progmodes/sql.el (sql-imenu-generic-expression):
4586ce8a
MM
2553 (sql-mode-font-lock-object-name): Match schema qualified names.
2554 (sql-connect): Use string keys.
2555 (sql-product-interactive): Wait for interpreter prompt.
2556 (sql-comint-oracle): Set process coding based on NLS_LANG.
2557
9d55215c
MM
25582013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2559
2560 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
2561 (sql-interactive-remove-continuation-prompt):
2562 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 2563
57dd9e68
LL
25642013-01-14 Leo Liu <sdl.web@gmail.com>
2565
2566 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2567 (Bug#13420)
2568
51e73492
GM
25692013-01-14 Glenn Morris <rgm@gnu.org>
2570
2571 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2572 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2573
c0511b57 25742013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 2575
6e8cd0ae
SM
2576 * progmodes/python.el (python-nav-end-of-statement):
2577 Fix cornercase when handling multiline strings.
50620051 2578
4c0a6d4a
RS
25792013-01-13 Richard Stallman <rms@gnu.org>
2580
9f7e86ef
RS
2581 * mail/sendmail.el (mail-position-on-field): Add doc string.
2582
6e8cd0ae
SM
2583 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2584 Get current message boundaries and pass them to
4c0a6d4a
RS
2585 message-forward-make-body-mime. Minor style changes.
2586
ad33a799
EZ
25872013-01-13 Eli Zaretskii <eliz@gnu.org>
2588
2589 * cus-start.el (all): Avoid warnings about
6e8cd0ae 2590 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 2591
616763d5
JD
25922013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2593
2594 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2595
e5b5a34d
SM
25962013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2598 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2599 (jit-lock--debug-fontifying): New var.
2600 (jit-lock--debug-fontify): New function.
2601 * subr.el (condition-case-unless-debug): Don't prevent catching the
2602 error, just let the debbugger run.
2603 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2604 timer code and don't drop errors silently.
2605
2daddd9e
MA
26062013-01-12 Michael Albinus <michael.albinus@gmx.de>
2607
2608 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2609 `permanent-local' property.
71c661e4 2610 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 2611
86fbb162
EZ
26122013-01-12 Eli Zaretskii <eliz@gnu.org>
2613
2614 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2615 file notification by ACTION. For filtering by file name, compare
2616 only the non-directory part of the file name.
2617
a0784609
SM
26182013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2619
96c421bb
SM
2620 * autorevert.el: Use cl-lib instead of cl.
2621
a0784609
SM
2622 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2623 (vc-bzr-checkin): Use it.
2624 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2625 will preserve match-data.
2626
f90ff906 26272013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 2628
f90ff906
FD
2629 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2630 (js--declaration-keyword-re): New var.
2631 (js--multi-line-declaration-indentation): New function.
2632 (js--proper-indentation): Use it.
9fc9a531 2633
f90ff906 26342013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 2635
f90ff906
FD
2636 * calc/calc.el (calc-highlight-selections-with-faces)
2637 (calc-dispatch):
2638 * comint.el (comint-history-isearch-message):
2639 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
2640 * ffap.el (ffap-string-at-point-region, ffap-next)
2641 (ffap-string-at-point, ffap-string-around)
2642 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 2643 (ffap-literally):
9fc9a531 2644 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
2645 (font-lock-removed-keywords-alist):
2646 * help-mode.el (help-xref-symbol-regexp):
2647 * info.el (Info-find-emacs-command-nodes):
2648 * international/mule.el (add-to-coding-system-list):
2649 * isearch.el (isearch-message-function, isearch-fail-pos):
2650 * misearch.el (multi-isearch-next-buffer-function):
2651 * newcomment.el (comment-box):
9fc9a531 2652 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 2653 (pr-setting-database):
9fc9a531
AH
2654 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2655 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2656 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
2657 (pike-font-lock-keywords-3):
2658 * progmodes/compile.el (compile):
9fc9a531 2659 * progmodes/etags.el (tags-table-files)
f90ff906 2660 (tags-table-files-function, tags-included-tables-function):
9fc9a531 2661 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 2662 (gdb-restore-windows):
9fc9a531 2663 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
2664 (ps-n-up-filling-database):
2665 * server.el (server-buffer, server-log):
9fc9a531
AH
2666 * simple.el (newline, delete-backward-char, delete-forward-char)
2667 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 2668 (temporary-goal-column):
9fc9a531 2669 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
2670 (flyspell-default-deplacement-commands):
2671 * textmodes/ispell.el (ispell-accept-output):
2672 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 2673 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
2674 (compare-ignore-case, compare-windows-dehighlight):
2675 * vc/diff.el (diff):
9fc9a531
AH
2676 * whitespace.el (whitespace-point)
2677 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 2678 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 2679
65adfa20
MA
26802013-01-11 Michael Albinus <michael.albinus@gmx.de>
2681
2682 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2683 (auto-revert-notify-rm-watch): Ignore errors.
2684 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
2685 inotify, and '(size last-write-time) for w32notify.
2686 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
2687 watch fails - this is a fallback to the file modification check.
2688 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2689 (auto-revert-notify-event-action)
2690 (auto-revert-notify-event-file-name): New defuns.
2691 (auto-revert-notify-handler): Use them. Implement first
2692 plausibility checks.
2693 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2694
43b2e2e7
JD
26952013-01-11 Julien Danjou <julien@danjou.info>
2696
2697 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2698 max are almost equal. Also return the correct value for V which is
2699 already between 0 and 1.
2700
30818a23
DA
27012013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2702
2703 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2704
10e714d5
EZ
27052013-01-11 Eli Zaretskii <eliz@gnu.org>
2706
2707 * autorevert.el (auto-revert-notify-rm-watch)
2708 (auto-revert-notify-add-watch): Fix typos in w32notify function
2709 names.
2710
a778dd57
MA
27112013-01-10 Michael Albinus <michael.albinus@gmx.de>
2712
2713 * autorevert.el (auto-revert-notify-enabled): Move up.
2714 (auto-revert-use-notify): New defcustom.
2715 (auto-revert-mode, global-auto-revert-mode)
2716 (auto-revert-notify-add-watch, auto-revert-handler)
2717 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2718 `auto-revert-notify-enabled'.
2719
72781fef
EP
27202013-01-10 Elias Pipping <pipping@exherbo.org>
2721
2722 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2723 * doc-view.el (doc-view-document->bitmap):
2724 Use doc-view-single-page-converter-function instead of
2725 single-page-converter arg; adjust callers.
2726
e6ed8f08
FL
27272013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2728
2729 * progmodes/which-func.el (which-function): Understand Semantic's use
2730 of overlays in imenu--index-alist.
2731
327a6cca
WJ
27322013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2733
2734 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2735 (Man-man-k-use-anchor): New var.
2736 (Man-parse-man-k): New function.
2737 (Man-completion-table): Use it.
2738 (man): Flush the completion cache between uses.
2739
ed911257
MA
27402013-01-10 Michael Albinus <michael.albinus@gmx.de>
2741
2742 * autorevert.el: Add file watch support.
2743 (auto-revert-notify-enabled): New defconst.
2744 (auto-revert-notify-watch-descriptor-hash-list)
2745 (auto-revert-notify-watch-descriptor)
2746 (auto-revert-notify-modified-p): New defvars.
2747 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2748 (auto-revert-notify-handler): New defuns.
2749 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2750 when mode is disabled.
2751 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2752 (auto-revert-buffers): Add file watches for active buffers.
2753
58cc0a01
DA
27542013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2755
2756 * cus-start.el (toplevel): Only allow float values for
2757 scroll-up-aggressively and scroll-down-aggressively.
2758 Allow any number for line-spacing.
2759
bbc7ff25
SM
27602013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2761
2762 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2763 (doc-view-pdf->png-converter-function): Use mupdf if available.
2764 (doc-view-djvu->png-converter-function)
2765 (doc-view-ps->png-converter-function): Remove.
2766 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2767 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2768 (doc-view-already-converted-p): Adjust accordingly.
2769 (doc-view-mode-p): Simplify.
2770 (doc-view-enlarge): Use setq-local.
2771 (doc-view-pdf->png-converter-ghostscript)
2772 (doc-view-djvu->png-converter-ddjvu)
2773 (doc-view-pdf->png-converter-mupdf): Rework to call
2774 doc-view-start-process directly.
2775 (doc-view-pdf/ps->png): Simplify accordingly.
2776 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2777 (doc-view-document->bitmap): Rename from doc-view-document->png.
2778 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2779 (doc-view-set-slice-from-bounding-box): Fix completion table.
2780 (doc-view-mode): Use add-hook for after-revert-hook.
2781
3c855b96
GM
27822013-01-10 Glenn Morris <rgm@gnu.org>
2783
2784 * emacs-lisp/authors.el (authors-ignored-files)
2785 (authors-valid-file-names, authors-renamed-files-alist):
2786 Add some more entries.
2787
3f9549e8 27882013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
2789
2790 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2791 `t' pseudo-window entry.
2792
3f9549e8 27932013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
2794
2795 Fix bugs in the c-parse-state mechanism. Reuse some markers
2796 instead of continually generating new ones.
2797
2798 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2799 (c-state-old-cpp-end-marker): New variables.
2800 (c-append-lower-brace-pair-to-state-cache): Start a backward
2801 search for "}" definitively outside CPP constructs.
2802 (c-remove-stale-state-cache): Inform the caller of a need to
2803 search back for a brace pair in certain circumstances.
2804 (c-state-maybe-marker): New macro.
2805 (c-parse-state): Reuse markers when appropriate.
2806
3f9549e8 28072013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
2808
2809 * simple.el (execute-extended-command): Doc fix.
2810 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2811
3f9549e8 28122013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
2813
2814 * faces.el (read-face-name): Doc fix.
2815
b14abca9
RW
28162013-01-10 Roland Winkler <winkler@gnu.org>
2817
2818 * emacs-lisp/crm.el: Allow any regexp for separators.
2819 (crm-default-separator): All spaces around the default comma separator.
2820 (crm--completion-command): New macro.
2821 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2822 (crm-complete-and-exit): Handle non-single-char separators.
2823
2b541f9a
EP
28242013-01-09 Elias Pipping <pipping@lavabit.com>
2825
2826 * doc-view.el: Add support for DjVu (bug#13164).
2827 (doc-view-djvu->png-converter-function): New config var.
2828 (doc-view-single-page-converter-function, doc-view--image-type)
2829 (doc-view--image-file-extension): New vars.
2830 (doc-view-mode): Initialize them.
2831 (doc-view-goto-page): Use them.
2832 (doc-view-mode-p): Add support for ddjvu.
2833 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2834 (doc-view-set-up-single-converter): New funs.
2835 (doc-view-pdf/ps->png): Extend for djvu.
2836 (doc-view-document->png): Rename from doc-view-pdf->png.
2837 (doc-view-convert-current-doc): Handle djvu.
2838 (doc-view-insert-image, doc-view-display)
2839 (doc-view-already-converted-p): Don't hardcode png.
2840 (doc-view-set-doc-type): Recognize djvu docs.
2841
85f17e35
EP
28422013-01-09 Elias Pipping <pipping@lavabit.com>
2843
2844 * doc-view.el: Add support for mupdf converter (bug#13164).
2845 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2846 (doc-view-ps->png-converter-function): New config vars.
2847 (doc-view-pdf->png-converter-ghostscript)
2848 (doc-view-ps->png-converter-ghostscript)
2849 (doc-view-pdf->png-converter-mupdf): New functions.
2850 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2851
ccd04887
MA
28522013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2853
2854 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2855 first in session cache: When `tramp-own-remote-path' is in
2856 `tramp-remote-path', the remote path is only set in the session
2857 cache.
2858
c5ad92de
GM
28592013-01-09 Glenn Morris <rgm@gnu.org>
2860
fb9f7146
GM
2861 * emacs-lisp/trace.el (trace-function-foreground)
2862 (trace-function-background): Doc fix.
c5ad92de 2863
39a0786e
JL
28642013-01-09 Juri Linkov <juri@jurta.org>
2865
2866 * international/mule-cmds.el (read-char-by-name): Move let-binding
2867 of completion-ignore-case around completing-read to fix regression
2868 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2869 `string-match-p' using the nil value of `case-fold-search' and
2870 `completion-ignore-case' in `completion-pcm--all-completions'.
2871 (Bug#12615).
2872
fb9f7146 28732013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
2874
2875 * progmodes/compile.el (compilation-parse-errors):
2876 Fix typo. (Bug#13369)
2877
fb9f7146 28782013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
2879
2880 * comint.el (comint-send-input): Check size of buffer before
2881 waiting for process output, in case already accepted. (Bug#13290)
2882
677d5c92
PE
28832013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2884
2885 Spelling fixes.
2886 * net/tramp-adb.el (tramp-adb-get-toolbox):
2887 Fix misspelling of 'unknown'.
2888
073ca75b
JL
28892013-01-08 Juri Linkov <juri@jurta.org>
2890
2891 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2892 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2893 Use underline style wave on terminals that support it. (Bug#13000)
2894
a4648137
SM
28952013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2896
4bdc3526
SM
2897 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2898 the predicate returns nil.
2899
a4648137
SM
2900 * simple.el: Use lexical-binding.
2901 (primitive-undo): Use pcase.
2902 (minibuffer-history-isearch-push-state): Use a closure.
2903
3bace969
AH
29042013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2905
2906 * simple.el (primitive-undo): Move from undo.c.
2907
a731fc1b
SM
29082013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2909
1c851e98
SM
2910 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2911 (cvs-mode-remove-handled): Use it (bug#13380).
2912
a731fc1b
SM
2913 * emacs-lisp/nadvice.el (advice--tweak): New function.
2914 (advice--remove-function, advice--subst-main): Use it.
2915
2916 * emacs-lisp/advice.el: Update commentary.
2917
2a22c83b
MA
29182013-01-08 Michael Albinus <michael.albinus@gmx.de>
2919
a731fc1b
SM
2920 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2921 Remove spurious entry.
2a22c83b 2922
83c1803a
GM
29232013-01-08 Glenn Morris <rgm@gnu.org>
2924
2925 * net/tramp.el (tramp-default-host-alist): Add :version.
2926
8a2e287c
JL
29272013-01-08 Juri Linkov <juri@jurta.org>
2928
2929 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2930 single completion. (Bug#12456)
2931 (info--manual-names): Expand node completions into an explicit list
2932 before appending it to another list. Filter out internal buffers
2933 with the leading space in the buffer name. (Bug#10771)
2934
c6a22ce2
JL
29352013-01-08 Juri Linkov <juri@jurta.org>
2936
2937 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2938 that defaults to the Top node.
2939 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2940 the short format (FILENAME) goes to the Top node.
2941 (Info-build-node-completions): Rename arg `file' to `filename'.
2942 (Bug#13365)
2943
acfe10b7
BG
29442013-01-07 Bastien Guerry <bzg@gnu.org>
2945
a731fc1b
SM
2946 * menu-bar.el (menu-bar-search-documentation-menu):
2947 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
2948
29492013-01-07 Bastien Guerry <bzg@gnu.org>
2950
2951 * apropos.el (apropos-do-all): Update docstring.
2952 (apropos-user-option-button): New face.
2953 (apropos-user-option): Rename from `apropos-variable' and update
2954 docstring.
2955 (apropos-variable): Rewrite, now show all variables by default.
2956 (apropos-print): Mention "User option" instead of "Variable" when
2957 printing doc for user options. (Bug#13276)
2958
62bcf670
JH
29592013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2960
2961 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2962 Handle filename correctly, when parsing "source -> target" symlink
2963 output.
2964 (tramp-adb-handle-set-file-times): New defun.
2965
4986fa21
SM
29662013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2967
2968 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2969 advice list when the interactive-spec of ad-Advice-* changes.
2970
3bee311e
KY
29712013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2972
2973 * wid-edit.el (widget-default-get): Work for inlined elements.
2974 (Bug#12670)
2975
b49eebcc
MA
29762013-01-07 Michael Albinus <michael.albinus@gmx.de>
2977
2978 * net/tramp.el (tramp-default-host-alist): New defcustom.
2979 (tramp-find-host): Use it.
4986fa21 2980 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
2981 `eshell-directory-change-hook'.
2982
2983 * net/tramp-adb.el (top): Add adb specific entry in
2984 `tramp-default-host-alist'.
2985 (tramp-adb-file-name-host): Remove function.
2986 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2987 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2988
3bee311e 2989 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 2990
84f6744a
JH
29912013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2992
2993 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2994
b6cfbcd0
MA
29952013-01-06 Michael Albinus <michael.albinus@gmx.de>
2996
2997 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 2998 consist of more than one digit.
4986fa21
SM
2999 (tramp-adb-file-name-handler-alist):
3000 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
3001 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3002 (tramp-adb-handle-file-exists-p): Remove function.
3003 (tramp-adb-file-name-host): New defun.
3004 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3005 Use it.
3006 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3007
58ba7b1b
CY
30082013-01-06 Chong Yidong <cyd@gnu.org>
3009
3010 * vc/vc.el (vc-next-action): Detect buffer modifications
3011 conflicting with locking VCS operation (Bug#11490).
3012
3013 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3014
f4566fe9
MA
30152013-01-05 Michael Albinus <michael.albinus@gmx.de>
3016
3017 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3018 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3019
838cf298
MA
30202013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3021
3022 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3023 parsing of ls output using regular expression (handle filenames
3024 with spaces). Use virtual device number.
3025 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3026 cleanup).
3027
1bd71e9f
DU
30282013-01-04 Daiki Ueno <ueno@gnu.org>
3029
3030 * epg.el: Silence byte-compiler warnings.
3031 (epg--start): Use delete-char instead of delete-backward-char.
3032 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3033
00cd4c1c
DU
30342013-01-04 Daiki Ueno <ueno@gnu.org>
3035
3036 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3037 Suggested by Eli Zaretskii <eliz@gnu.org>.
3038
f99ced35
MA
30392013-01-04 Michael Albinus <michael.albinus@gmx.de>
3040
3041 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3042 non-negative integers. Otherwise, the default values are used.
3043 (tramp-convert-file-attributes): Convert uid and gid to integers.
3044
0f668a4d 30452013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 3046
d2be4dcc
GM
3047 * term.el (term-handle-colors-array): Ensure face attributes
3048 are fully specified, not nil. (Bug#13337)
3049
5b00b749
GM
3050 * term.el (term-default-fg-color, term-default-bg-color):
3051 Fix custom type.
3052
220740a3
GM
3053 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3054 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3055 rather than 'jka-compr being loaded. (Bug#13338)
3056
bdd9367d
WD
30572013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3058
3059 * icomplete.el (icomplete-completions):
3060 Honor icomplete-prospects-height once more following
3061 2012-11-29 changes. (Bug#13224)
3062
96dd18b1
SM
30632013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3064
c0bd248c
SM
3065 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3066 of called-interactively-p as well (bug#13237).
3067
4a74c818
SM
3068 * view.el (view--enable, view--disable): Rename from view-mode-enable
3069 and view-mode-disable and assume it's called from view-mode.
3070 (view-mode-enable, view-mode-disable): Redefine as obsolete
3071 compatibility layer above view-mode.
3072 (view-mode-enter): Call `view-mode'.
3073
3074 * files.el (after-find-file): Call `view-mode'.
3075
96dd18b1
SM
3076 * doc-view.el (doc-view-scale-internally): New var.
3077 (doc-view-enlarge, doc-view-insert-image): Obey it.
3078
c2cf1829
DU
30792013-01-03 Daiki Ueno <ueno@gnu.org>
3080
3081 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3082 exist. (Bug#13344)
3083
ad235a8b
GM
30842013-01-03 Glenn Morris <rgm@gnu.org>
3085
a8aa6c2d
GM
3086 * mail/rmail.el (rmail-set-header-1): Ignore case.
3087 Handle multi-line headers. (Bug#13330)
3088
a6d6c20b
GM
3089 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3090 Handle paragraph starting at beginning of buffer.
3091
ed5bdeb9
GM
3092 * subr.el (eval-after-load): Don't purecopy the form, so that it
3093 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3094
ad235a8b
GM
3095 * emacs-lisp/byte-run.el (defun): Place cl declarations
3096 after any interactive spec. (Bug#13265)
3097
9539d465 30982013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
3099
3100 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3101 defun. Don't check for DECL if DOCSTRING isn't a string.
3102 (defun): Likewise.
3103
9539d465 31042013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 3105
5ee1772e
GM
3106 * eshell/em-cmpl.el (eshell-pcomplete):
3107 More thoroughly imitate pcomplete. (Bug#13293)
3108
4cddca30
GM
3109 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3110 Return nil for empty path elements. (Bug#13296)
3111
9539d465 31122013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
3113
3114 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3115 order to improve efficiency (Based on Daniel Colascione's
3116 <dancol@dancol.org> patch). (Bug#13182)
3117
9539d465 31182013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
3119
3120 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3121
9539d465 31222013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
3123
3124 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3125 neither DOCSTRING nor DECL was given. (Bug#13316)
3126
aca3d51d
MA
31272013-01-02 Michael Albinus <michael.albinus@gmx.de>
3128
3129 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3130 `error' call.
3131 (tramp-do-copy-or-rename-file): Ignore errors when calling
3132 `set-file-extended-attributes'.
3133
4986fa21
SM
3134 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3135 Add handler for `file-acl'.
aca3d51d
MA
3136 (tramp-smb-handle-file-acl): New defun.
3137
87e65f96
JB
31382013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3139
3140 * calc/README: Mention ISO 8601 week-numbering dates.
3141
0aac98ac
MR
31422013-01-01 Martin Rudalics <rudalics@gmx.at>
3143
3144 * view.el (view-mode-enable): New argument run-view-mode-hook.
3145 Run view-mode-hook only when it's non-nil (Bug#13315).
3146 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3147 argument t.
3148
1a82330c
JH
31492012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3150
3151 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3152 (No device connected, invalid device name). (Bug #13299)
3153
27fcfe31
MR
31542012-12-31 Martin Rudalics <rudalics@gmx.at>
3155
3156 * window.el (window-resizable--p): Rename to window-resizable-p.
3157 (window-resize-no-error): New function.
3158
3159 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3160 broken in fix from 2012-12-28.
3161
96c052a5
SM
31622012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3163
3164 * subr.el (special-form-p): Don't signal errors on undef aliases.
3165
fd1f1603
JB
31662012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3167
3168 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
3169 `math-parse-iso-date' when it looks like it might be needed.
3170 Allow times of 24:00.
f4ad7ea1 3171 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
fd1f1603
JB
3172 of 24:00.
3173
8db39aeb
GM
31742012-12-30 Glenn Morris <rgm@gnu.org>
3175
3176 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3177 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3178 (rmail-summary-displayed, rmail-summary): Declare.
3179 (mairix-rmail-display): Just require rmail.
3180
d5e5e7b4 31812012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
3182
3183 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3184 check for the tarball contents.
3185
d5e5e7b4 31862012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
3187
3188 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3189 tarfile content listings (Bug#13136).
3190
d5e5e7b4 31912012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 3192
96c052a5
SM
3193 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3194 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 3195
4f752957
MA
31962012-12-30 Michael Albinus <michael.albinus@gmx.de>
3197
3ee24a3b
MA
3198 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3199 integers, if they are real numbers. (Bug#13282)
3200
4f752957
MA
3201 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3202 Return `t' on success.
3203
96c052a5
SM
3204 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3205 Add handler for `set-file-selinux-context'.
4f752957 3206
eff2eb58
MA
32072012-12-29 Michael Albinus <michael.albinus@gmx.de>
3208
3209 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3210 (tramp-sh-handle-set-file-acl): Return `t' on success.
3211
ccad023b
EZ
32122012-12-29 Eli Zaretskii <eliz@gnu.org>
3213
96c052a5
SM
3214 * files.el (backup-buffer-copy, basic-save-buffer-2):
3215 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 3216 instead of signaling an error. (Bug#13298)
7e56b103 3217 (basic-save-buffer): Likewise.
ccad023b 3218
ccb1c17e
FEG
32192012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3220
3221 * progmodes/python.el: Support other commands triggering
3222 python-indent-line so indentation cycling continues to work.
3223 (python-indent-trigger-commands): New defcustom.
3224 (python-indent-line): Use it.
3225
16768034
FEG
32262012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3227
3228 * progmodes/python.el (python-shell-send-region): Add blank lines
3229 for non sent code so backtraces remain correct.
3230
66164d2f
FEG
32312012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3232
3233 * progmodes/python.el: Remove cl dependency.
3234 (python-syntax-count-quotes): Replace incf call.
3235 (python-fill-string): Replace setf call.
3236
761231d1
DC
32372012-12-29 Damien Cassou <damien.cassou@gmail.com>
3238
43ebd12b 3239 * info.el (info-other-window): New arg, for consistency with info.
761231d1 3240
7c3e220a
MR
32412012-12-28 Martin Rudalics <rudalics@gmx.at>
3242
96c052a5
SM
3243 * mail/rmail.el (rmail-maybe-display-summary):
3244 Rewrite (Bug#13066).
7c3e220a 3245
361828b5
AS
32462012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3247
3248 * epg.el (epg--start): Modify process-environment locally.
3249
23bd348c
DU
32502012-12-28 Daiki Ueno <ueno@gnu.org>
3251
3252 * epg.el: Support pinentry-curses.
3253 Suggested by Werner Koch in
3254 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3255 (epg-agent-file, epg-agent-mtime): New variable.
3256 (epg--start): Record the modified time of gpg-agent socket file,
3257 to restore Emacs frame after pinentry-curses termination.
3258 (epg-wait-for-completion): Restore Emacs frame here.
3259
313f39aa
JL
32602012-12-27 Juri Linkov <juri@jurta.org>
3261
3262 * info.el (Info-file-completions): New variable.
3263 (Info-read-node-name-1): Complete node names in the Info file
3264 when a file name is given. Call `Info-build-node-completions'
3265 with a file name.
3266 (Info-build-node-completions): Add new arg `file'. When it is
3267 non-nil, visit it in a temporary buffer and cache its completions in
3268 `Info-current-file-completions'. Move most of the function body to
3269 `Info-build-node-completions-1'.
3270 (Info-build-node-completions-1): New function with the body from
3271 `Info-build-node-completions'. (Bug#12456)
3272
a45b7647
JL
32732012-12-27 Juri Linkov <juri@jurta.org>
3274
3275 * frame.el (frame-maximization-style): Remove user option.
3276 (cycle-frame-maximized): Remove function.
3277 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3278 (toggle-frame-fullscreen): New command bound to <f11> instead of
3279 `toggle-frame-maximized'.
3280 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3281
10ffd0be
MA
32822012-12-27 Michael Albinus <michael.albinus@gmx.de>
3283
3284 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3285
3286 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3287 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3288 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3289 for `file-accessible-directory-p'. (Bug#13275)
3290
fd146719
SS
32912012-12-27 Sam Steingold <sds@gnu.org>
3292
3293 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3294 continuations, see <http://stackoverflow.com/questions/3582436>.
3295
82e2a1f0 32962012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
3297
3298 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
3299 "module" and "def" to have indentation before them.
3300 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 3301
ea0857a1
DG
3302 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3303
82e2a1f0 33042012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
3305
3306 Speed up fontification where there's large brace blocks.
3307 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3308 to a call of c-beginning-of-decl-1.
3309
c34339f3
VS
33102012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3311
3312 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
3313 (comint-postoutput-scroll-to-bottom):
3314 Call comint-adjust-window-point (Bug#13248).
c34339f3 3315
78269b95
DG
33162012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3317
3318 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3319 Rakefile regexp.
3320 (auto-mode-alist): Associate .gemspec files with ruby-mode
3321 (https://bugs.ruby-lang.org/issues/5453).
3322
bd8c13f9
JH
33232012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3324
96c052a5
SM
3325 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3326 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 3327 CyanogenMod).
bd8c13f9
JH
3328 (tramp-adb-handle-file-attributes)
3329 (tramp-adb-handle-insert-directory)
3330 (tramp-adb-handle-file-name-all-completions): Use it.
3331 (tramp-adb-get-toolbox): New defun. Check for remote shell
3332 implementation (BusyBox or Toolbox).
3333
f4ad7ea1 33342012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
dc646358
CK
3335
3336 * startup.el (initial-buffer-choice): Allow function as value
3337 (Bug#13251).
3338 (command-line-1): Handle case where initial-buffer-choice
3339 specifies a function.
3340 * server.el (server-execute): Handle case where
3341 initial-buffer-choice specifies a function.
3342
e7d52a4d
LI
33432012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3344
3345 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3346 its own function.
3347 (smtpmail-try-auth-methods): Forget the user name/password if the
3348 login is unsuccessful (bug#12424).
3349
cdb07539
MA
33502012-12-22 Michael Albinus <michael.albinus@gmx.de>
3351
1ef5f225
MA
3352 * notifications.el (notifications-notify): Protect body with
3353 `with-demoted-errors'.
3354
96c052a5
SM
3355 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3356 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
3357 change.
3358
594f37aa
CY
33592012-12-21 Chong Yidong <cyd@gnu.org>
3360
3361 * sort.el (sort-subr): Doc fix (Bug#13056).
3362
a4b0cca1 33632012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 3364
acc650b8
BG
3365 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3366
0e9c7693
MA
33672012-12-21 Michael Albinus <michael.albinus@gmx.de>
3368
3369 * simple.el (process-file): Overwrite stderr file, if exists.
3370
c6609164
DU
33712012-12-21 Daiki Ueno <ueno@gnu.org>
3372
3373 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 3374 (epg-error): Set `error-message' property.
c6609164 3375
aa26f345
CY
33762012-12-21 Chong Yidong <cyd@gnu.org>
3377
34b4b7eb
CY
3378 * international/mule-cmds.el (read-char-by-name): Signal an error
3379 if the user does not supply a valid character (Bug#13177).
3380
aa26f345
CY
3381 * simple.el (transpose-subr-1): Preserve marker positions by
3382 changing the insertion sequence (Bug#13122).
3383
05c22d87
KD
33842012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3385
3386 * simple.el (kill-region): Deactivate mark even for empty regions
3387 (Bug#13169).
3388
f5733f87
CY
33892012-12-21 Chong Yidong <cyd@gnu.org>
3390
3391 * help-fns.el (describe-variable): Make sure we get the right
3392 buffer name (Bug#13105). Suggested by Kelly Dean.
3393
fab6916d
MM
33942012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3395
3396 * comint.el (comint-redirect-previous-input-string): New variable.
3397 (comint-redirect-setup, comint-redirect-cleanup)
3398 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3399 (comint-redirect-preoutput-filter): Fix verbose message.
3400
91b982a0
MA
34012012-12-20 Michael Albinus <michael.albinus@gmx.de>
3402
3403 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3404 is too long for Tramp. See discussion in
3405 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3406
3407 * progmodes/compile.el (compilation-start): Remove line escape
3408 template.
3409
87523aed
DA
34102012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3411
3412 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3413 Adjust comment.
3414
ee3c0aec
JB
34152012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3416
3417 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3418 following non-comment text (bug#13207).
3419 (lm-header-multiline): Continuation lines need to be indented more than
3420 the first line.
3421 (lm-homepage): New function.
3422 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 3423
4a74c818
SM
34242012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3425
f4d79bd0
SM
3426 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3427 very beginning of a hunk (e.g. killing the first line).
3428
3c532af6
MA
34292012-12-19 Michael Albinus <michael.albinus@gmx.de>
3430
3431 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3432 and text properties from returned ACL string.
3433 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3434 for "setfacl" command.
3435
e0d01ef3
MA
34362012-12-18 Michael Albinus <michael.albinus@gmx.de>
3437
3438 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3439 `tramp-cleanup-this-connection', when the process has died.
3440 (Bug#13151)
3441
2387610d
SM
34422012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3445
19156242
KR
34462012-12-17 Kevin Ryde <user42@zip.com.au>
3447
3448 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3449
53b6a8b1
MA
34502012-12-17 Michael Albinus <michael.albinus@gmx.de>
3451
3452 Add support for preserving ACL entries of files.
3453
3454 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3455 `set-file-acl' handlers.
3456
19156242
KR
3457 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3458 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 3459
19156242
KR
3460 * net/tramp-compat.el (tramp-compat-copy-file):
3461 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 3462
19156242
KR
3463 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3464 Add `file-acl' and `set-file-acl' handlers.
3465 (tramp-gvfs-handle-copy-file):
3466 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3467 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3468 New defuns.
53b6a8b1 3469
19156242
KR
3470 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3471 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
3472 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3473 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
3474 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3475 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 3476
19156242
KR
3477 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3478 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
3479 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3480
f4ad7ea1 34812012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6ae57a67
KD
3482
3483 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 3484 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
3485 *Metahelp* with a leading space (Bug#13190).
3486
7c3d167f
RF
34872012-12-16 Romain Francoise <romain@orebokech.com>
3488
3489 * files.el (file-extended-attributes)
3490 (set-file-extended-attributes): New functions.
3491 (backup-buffer): Use them to handle both SELinux context and ACL
3492 entries.
3493 (backup-buffer-copy): Work with an alist of extended attributes,
3494 rather than an SELinux context.
3495 (basic-save-buffer-2): Ditto.
3496
19b748ad
TM
34972012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3498
3499 * battery.el (battery-bsd-apm): New function.
3500
70042c64
JB
35012012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3502
3503 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3504 standard date formats.
3505
279f9b06
JL
35062012-12-15 Juri Linkov <juri@jurta.org>
3507
3508 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3509 `isearch-insert-char-by-name'.
3510 (with-isearch-suspended): New defmacro with body mostly from
3511 `isearch-edit-string' except the part that sets
3512 `isearch-new-string' and `isearch-new-message'.
3513 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3514 body that sets `isearch-new-string' and `isearch-new-message'.
3515 (isearch-insert-char-by-name): New command.
3516 * international/mule-cmds.el (read-char-by-name): Let-bind
3517 `enable-recursive-minibuffers' to t.
3518 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3519
8370def5
JL
35202012-12-15 Juri Linkov <juri@jurta.org>
3521
3522 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3523 (Bug#13175)
3524
178fb95d
CS
35252012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3526
3527 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3528 the prompt. (Bug#13045)
3529
a5f74442
GM
35302012-12-14 Glenn Morris <rgm@gnu.org>
3531
3532 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3533 Try to include filename in non-bytecomp warning. (Bug#13132)
3534
97976f9f
PE
35352012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3536
3537 Fix permissions bugs with setgid directories etc. (Bug#13125)
3538 * files.el (backup-buffer): Don't rely on 9th output of
3539 file-attributes, as it's now a placeholder. Instead, use the new
3540 optional arg of file-ownership-preserved-p.
3541 (file-ownership-preserved-p): New optional arg GROUP.
3542 Fix mishandling of setuid directories that would cause this
3543 function to return t when it should have returned nil.
3544 Document what happens if the file does not exist, and when
3545 it's not known whether the ownership will be preserved.
3546 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3547 Likewise.
3548 (tramp-get-local-gid): Use group-gid for integer, as that's
3549 faster and more reliable.
3550
016b2a42
JD
35512012-12-14 Julien Danjou <julien@danjou.info>
3552
19156242
KR
3553 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3554 Update keywords list, data type and PL/pgSQL.
016b2a42 3555
665e5e07
DA
35562012-12-14 Dave Abrahams <dave@boostpro.com>
3557
3558 * vc/ediff-util.el (ediff-buffer-type): New function.
3559 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3560 rather than taking it as as argument.
3561 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3562
d72e9e92
RC
35632012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3564
3565 * json.el: Add pretty-print option (bug#12634).
3566 (json-encoding-separator, json-encoding-default-indentation)
3567 (json--encoding-current-indentation, json-encoding-pretty-print)
3568 (json-encoding-lisp-style-closings): New vars.
3569 (json--with-indentation): New macro.
3570 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3571 (json-encode-array): Use it to obey json-encoding-pretty-print.
3572 (json-pretty-print-buffer, json-pretty-print): New commands.
3573
dbb530d9
DG
35742012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3575
3576 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3577 Extract `ruby-syntax-propertize-expansions'.
3578 (ruby-syntax-propertize-expansions): Only change syntax on
3579 certain string delimiters, to punctuation. This way the common
3580 functions like forward-word and thing-at-point still work.
3581 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
3582 (ruby-block-contains-point): New function.
3583 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 3584
ce0440ff
JB
35852012-12-13 Juanma Barranquero <lekktu@gmail.com>
3586
3587 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3588 unload-feature finishes even when aborting an ongoing edebug session.
3589 Also, do not worry about edebug-mode, unload-feature takes care of it.
3590
f10331bf
AS
35912012-12-13 Andreas Schwab <schwab@suse.de>
3592
3593 * net/tls.el (tls-program): Update customize type.
3594
5f3a3bb1
JB
35952012-12-13 Juanma Barranquero <lekktu@gmail.com>
3596
3597 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3598 (edebug-setup-hook, cl-read-load-hooks): Use it.
3599 (edebug-unload-function): New function. (Bug#13163)
3600
6ce21463
MA
36012012-12-13 Michael Albinus <michael.albinus@gmx.de>
3602
3603 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3604 Otherwise, there could be errors in autoloading. (Bug#13151)
3605
d754b364
JH
36062012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3607
3608 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3609 sequences.
3610
727f9739 36112012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
3612
3613 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3614 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3615 around `forward-comment' not recognizing ^M as whitespace.
3616
727f9739 36172012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
3618
3619 * progmodes/python.el (python-skeleton-class)
3620 (python-skeleton-def): Do not add space after defun name.
3621
eb8006c6
SM
36222012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3625 (cl--symbol-function): Remove (now that funbound is like nil).
3626
4c74b1e4
GM
36272012-12-12 Glenn Morris <rgm@gnu.org>
3628
3629 * button.el (button--area-button-p): Fix typo.
3630
37f38bca
SS
36312012-12-12 Sam Steingold <sds@gnu.org>
3632
3633 * frame.el (frame-maximization-style): New user option.
3634 (toggle-frame-maximized): Toggle frame maximization according to
3635 `frame-maximization-style', bound to <f11>.
3636 (cycle-frame-maximized): Cycle between all maximization styles and
3637 non-maximized frame, bound to shift-<f11>.
3638
fd49a218
DC
36392012-12-12 David Cadé <codename68@gmail.com>
3640
3641 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3642
69e1c203
JB
36432012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3644
3645 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3646 (eieio-override-prin1): Don't quote kewords and booleans.
3647 (object-write) <eieio-default-superclass>: Don't put closing parens
3648 on new line, avoid needless empty lines, align values that are objects
3649 with the slot keyword (instead of beginning on the same line).
3650 (eieio-list-prin1): Align value with slot keyword; increase
3651 eieio-print-depth before printing members of the list.
3652
4b0df848
SM
36532012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3654
030f4af5
SM
3655 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3656 a display text-property.
3657 (report-emacs-bug-hook): Don't bother deleting it any more.
3658
6ac1f8ca
SM
3659 * hilit-chg.el (highlight-save-buffer-state): Delete.
3660 Use with-silent-modifications instead.
3661 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3662
4b0df848
SM
3663 * button.el: Handle buttons in display text-properties.
3664 (button--area-button-p, button--area-button-string):
3665 Use (STRING . STRING-POS) representation instead of just STRING.
3666
d46d2d3a
EZ
36672012-12-11 Eli Zaretskii <eliz@gnu.org>
3668
3669 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3670 subdirectory be skipped.
3671
a0099d31
GM
36722012-12-11 Glenn Morris <rgm@gnu.org>
3673
36327e4f
GM
3674 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3675
a0099d31
GM
3676 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3677 Treat preprocessor lines embedded in continuations like comments.
3678 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3679
ff3f6c26
JB
36802012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3681
f4ad7ea1 3682 * calc/calc.el (calc-standard-date-formats): Add more date
ff3f6c26
JB
3683 formats.
3684 * calc/calc-forms.el (math-parse-iso-date): New function.
3685 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3686 (math-parse-iso-date-validate): Add extra error checking.
3687 (calc-date-notation): Add ability to access new date formats.
3688
ed6f2cd4
SM
36892012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3690
3691 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3692 font-lock as well as when there's no text-property.
3693
c868b919
J
36942012-12-10 Jambunathan K <kjambunathan@gmail.com>
3695
3696 * hi-lock.el: Refine the choice of default face.
3697 (hi-lock-keyword->face): New function. Use it wherever we used
3698 cadadadr instead.
3699 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3700 (hi-lock--last-face): Remove var.
3701 (hi-lock--unused-faces): New var to replace it.
3702 (hi-lock-read-face-name): Use/maintain it.
3703 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3704 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3705 if it has another face.
3706
2b8c9064
EZ
37072012-12-10 Eli Zaretskii <eliz@gnu.org>
3708
3709 * subr.el (w32notify-handle-event): New function.
3710 (inotify-handle-event): Doc fix.
3711
81606b10
RS
37122012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3713
3714 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3715
f4ad7ea1 37162012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
3717
3718 * simple.el (just-one-space): Doc fix.
3719
265c2fbf 37202012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 3721
c868b919 3722 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 3723
265c2fbf 37242012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
3725
3726 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3727 narrowed buffer (bug#12361).
3728
265c2fbf 37292012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
3730
3731 * vc/vc-hooks.el (vc-state): Doc fix.
3732
265c2fbf 37332012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
3734
3735 * mail/rmail.el (rmail-maybe-display-summary):
3736 Preserve buffer, in case select-window changes it. (Bug#13066)
3737
265c2fbf 37382012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
3739
3740 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3741 cl-load-hook where they belong.
3742
bad162fd
SM
37432012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3746
ca065258
EZ
37472012-12-09 Eli Zaretskii <eliz@gnu.org>
3748
3749 Parallelize byte compilation on MS-Windows.
3750 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 3751 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
3752 (WINS_BASIC): Define as concatenation of the above.
3753 (compile): Subdivide into 4 separate and independent jobs that can
3754 be run in parallel.
3755 (compile0-CMD, compile0-SH): New targets for compiling
3756 COMPILE_FIRST files, which are prerequisites for the rest of the
3757 byte-compilation.
bad162fd
SM
3758 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3759 New targets for parallel compilation with cmd.exe.
ca065258
EZ
3760 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3761 compiling under a Unixy shell.
3762
5dea55d2
CY
37632012-12-09 Chong Yidong <cyd@gnu.org>
3764
3765 * simple.el (set-mark-default-inactive): Delete this
3766 accidentally-introduced option.
3767 (set-mark-command, exchange-point-and-mark): Remove calls.
3768
c6c08d3f
GM
37692012-12-09 Glenn Morris <rgm@gnu.org>
3770
3771 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3772 Respect a defcustom's :set function, if appropriate. (Bug#109)
3773 (eval-defun): Doc fix.
3774
858aab4c
JL
37752012-12-08 Juri Linkov <juri@jurta.org>
3776
3777 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3778 (Info-fontify-node, Info-bookmark-make-record): Remove the
3779 file extension from Info-current-file (Bug#13016).
3780
2e4ad7e5
SM
37812012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3784 point, still provide some default.
3785 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3786 names, since we don't use it right now. Actually return the list.
3787 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3788
75498db0
CY
37892012-12-07 Chong Yidong <cyd@gnu.org>
3790
ffe7ba8f
CY
3791 * novice.el (disabled-command-function): Remove a spurious help
3792 xref (Bug#13043). Suggested by Kelly Dean.
3793
454eb095
CY
3794 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3795 syntax is specified (Bug#13025).
3796
75498db0
CY
3797 * info.el (Info-set-mode-line): Remove the file extension from
3798 Info-current-file if there is one (Bug#13016).
3799
13a40633
GM
38002012-12-07 Glenn Morris <rgm@gnu.org>
3801
54c8b5ba
GM
3802 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3803 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3804 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3805 and rmail-mime-decoded. (Bug#9841)
3806
13a40633
GM
3807 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3808 (batch-unrmail, unrmail): Doc fixes.
3809 (unrmail): Respect unrmail-mbox-format.
3810 * mail/rmail.el (rmail-mbox-format): New option.
3811 (rmail-show-message-1): Respect rmail-mbox-format.
3812
4611a3cc
SM
38132012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3814
3815 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3816
1812c724
SM
38172012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3818
338bfefa
SM
3819 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3820 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3821 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3822 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3823 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3824 (cl-progv): Don't rely on dynamic scoping to find the body.
3825 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3826 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3827 (cl-declaim): Use backquotes.
3828 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3829 Use "cl--" prefix for the object's tag.
3830
1812c724
SM
3831 * ses.el: Use advice-add/remove.
3832 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3833 (copy-region-as-kill, yank): Use advice-add.
3834 (ses-unload-function): Use advice-remove.
3835
24fc9480
JB
38362012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3837
3838 * button.el: Make them work in header-lines (bug#12817).
3839 (button-map): Add bindings for header-line and mode-line use.
3840 (button-get, button-put, button-label): `button' may now be a string.
3841 (button-activate): Don't make it a defsubst.
3842 (button--area-button-p, button--area-button-string): New functions.
3843 (make-text-button): Fix the return value when `beg' was a string.
3844 (push-button): Handle the mode-line case.
3845
853c1ffc
SM
38462012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3847
93852cb0
SM
3848 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3849 (sql-signum): Remove. Use `cl-signum' instead.
3850 (sql-read-passwd): Remove; use read-passwd instread.
3851 (sql-get-login-ext): Use read-string.
3852 (sql-get-login): Use dolist and pcase.
3853 (sql--completion-table): Rename from sql-try-completion.
3854 Use complete-with-action.
3855 (sql-mode): Don't change abbrev-all-caps globally.
3856 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3857 (sql-postgres-completion-object): Initialize vars in their `let'.
3858 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3859 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3860 (sql-comint-interbase): Use a single append, without setq.
3861 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3862
853c1ffc
SM
3863 * hi-lock.el: Rework the default face and the serialize regexp code.
3864 (hi-lock--auto-select-face-defaults): Remove.
3865 (hi-lock-string-serialize-serial): Remove.
3866 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3867 make weak.
3868 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3869 equal string.
3870 (hi-lock-set-pattern): Adjust accordingly.
3871 (hi-lock--regexps-at-point): Simplify accordingly.
3872 (hi-lock--auto-select-face-defaults): Remove.
3873 (hi-lock--last-face): New var to replace it.
3874 (hi-lock-read-face-name): Rewrite (bug#11095).
3875 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3876
5504e2c7
MA
38772012-12-06 Michael Albinus <michael.albinus@gmx.de>
3878
853c1ffc
SM
3879 * net/tramp.el (tramp-replace-environment-variables):
3880 Hide compiler warning.
5504e2c7
MA
3881 (tramp-file-name-for-operation): Remove `executable-find',
3882 `start-process', `call-process' and `call-process-region'.
3883
853c1ffc 3884 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
3885
3886 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3887 compatibility.
3888
3889 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3890
e1d51545
CY
38912012-12-06 Chong Yidong <cyd@gnu.org>
3892
3893 * ffap.el (ffap-replace-file-component): Fix typo.
3894
d8ad4d3f 38952012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
3896
3897 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3898 fix open-paren-like token test (bug#12785).
3899
d8ad4d3f 39002012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
3901
3902 * mail/rmailsum.el (rmail-new-summary): Tweak for
3903 rmail-maybe-display-summary changing buffer. (Bug#13066)
3904
d8ad4d3f 39052012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
3906
3907 * info.el (Info-fontify-node): Don't hide the last newline.
3908 (Bug#12272)
3909
9ad948e2
KY
39102012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3911
3912 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3913 so as to enable message-read-from-minibuffer to expand mail aliases.
3914
4b5c89ee
SM
39152012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3916
3917 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3918 the `intangible' property.
3919 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3920
5602a53a
DD
39212012-12-05 Deniz Dogan <deniz@dogan.se>
3922
3923 * net/rcirc.el (rcirc-urls): Update documentation.
3924 (rcirc-condition-filter): New function.
3925 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3926 and exclude consecutive duplicate URLs (Bug#6082).
3927
51b890ac
MA
39282012-12-05 Michael Albinus <michael.albinus@gmx.de>
3929
d5f97f62
MA
3930 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3931 Check return code of copy command.
3932
853c1ffc
SM
3933 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3934 Use group `tramp'. Add version.
51b890ac 3935
04b14f2b
CY
39362012-12-05 Chong Yidong <cyd@gnu.org>
3937
a3680194
CY
3938 * ffap.el (ffap-url-regexp): Don't require matching at front of
3939 string (Bug#4952).
3940 (ffap-url-p): If only a substring matches, return that.
3941 (ffap-url-at-point): Use the return value of ffap-url-p.
3942 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3943 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3944 (ffap-guess-file-name-at-point): Likewise.
3945 (ffap-replace-file-component): Fix typo.
3946
04b14f2b
CY
3947 * info.el (info-display-manual): Add existing Info buffers, whose
3948 files may not be in Info-directory-list, to the completion.
3949 (info--manual-names): New helper function.
3950
49596095
GM
39512012-12-05 Glenn Morris <rgm@gnu.org>
3952
3953 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3954 New functions, for detecting and resolving conflicts. (Bug#10709)
3955
b85aec93
J
39562012-12-04 Jambunathan K <kjambunathan@gmail.com>
3957
3958 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3959 (hi-lock-auto-select-face-defaults): New buffer local variable.
3960 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3961 (hi-lock-unface-buffer): Prompt user with useful defaults.
3962 With prefix arg, unhighlight all hi-lock patterns in buffer.
3963
8515507f
SM
39642012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3967
72cebfb7
MA
39682012-12-04 Michael Albinus <michael.albinus@gmx.de>
3969
3970 * Makefile.in (TRAMP_SRC):
3971 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3972
0ec3f7ea
JH
39732012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3974
3975 * net/tramp-adb.el: New package.
3976
770de7cf
CY
39772012-12-04 Chong Yidong <cyd@gnu.org>
3978
ce3e7725
CY
3979 * terminal.el: Move to obsolete/.
3980
770de7cf
CY
3981 * longlines.el: Move to obsolete/.
3982
3983 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3984 Remove code referring to longlines mode.
3985
c38a186c
JL
39862012-12-03 Juri Linkov <juri@jurta.org>
3987
3988 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3989
329bfd64
AM
39902012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3991
3992 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
3993 (ispell-start-process, ispell-internal-change-dictionary):
3994 Make sure personal dictionary name is expanded after initial
3995 `default-directory' value. Use expanded strings for
3996 keep/restart checks and for value (Bug#13019).
329bfd64 3997
77a74935
JB
39982012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3999
4000 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4001
c5bc2d1d 40022012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
4003
4004 * files.el (dir-locals-read-from-file): Check file non-empty
4005 before reading. (Bug#13038)
4006
c5bc2d1d 40072012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
4008
4009 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4010 Remove any version extension before checking filename. (Bug#13006)
4011 (jka-compr-compression-info-list): Belated :version bump.
4012
c5bc2d1d 40132012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 4014
8ecba97d
CY
4015 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4016
a5bf43ba
CY
4017 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4018 (buffer-menu): Doc fix (Bug#12294).
4019
c5bc2d1d 40202012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
4021
4022 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4023 of diary-show-all-entries in the diary buffer (Bug#12994).
4024
c5bc2d1d 40252012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
4026
4027 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4028 "<STDIN>". This is binary safe.
4029
682ceaf8
JB
40302012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4031
4032 * calc/calc-forms.el (math-absolute-from-iso-dt)
4033 (math-date-to-iso-dt, math-parse-iso-date-validate)
4034 (math-iso-dt-to-date): New functions.
4035 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4036 (math-fd-isoweekday): New variables.
4037 (calc-date-notation, math-parse-standard-date, math-format-date)
4038 (math-format-date-part): Add support for more formatting codes.
4039
db47d5e9
DG
40402012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4041
4042 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4043 current buffer's file name when called interactively (Bug#12488).
4044
3faf4944
JL
40452012-12-02 Juri Linkov <juri@jurta.org>
4046
4047 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 4048 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 4049
cb5d51dc
YN
40502012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4051
4052 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4053 before using it for comparison (Bug#5297).
4054
f38cd76e
JA
40552012-12-01 Jari Aalto <jari.aalto@cante.net>
4056
4057 * textmodes/css-mode.el (css-current-defun-name): New function.
4058 (css-mode): Use it.
4059
4060 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4061 (html-mode): Use it.
4062
ba03d0d9
CY
40632012-12-01 Chong Yidong <cyd@gnu.org>
4064
4065 Modularize add-log-current-defun (Bug#2224).
4066 Suggested by Jari Aalto.
4067
4068 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4069 (add-log-current-defun): Move mode-specific code to other files.
4070 (add-log-lisp-like-modes, add-log-c-like-modes)
4071 (add-log-tex-like-modes): Variables deleted.
4072
4073 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4074 (lisp-mode-variables): Use it.
4075
4076 * progmodes/cc-mode.el (c-common-init):
4077 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4078 add-log-current-defun-function.
4079
4080 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4081 (m4-mode): Use it.
4082
4083 * progmodes/perl-mode.el (perl-current-defun-name): New.
4084 (perl-mode): Use it.
4085
853c1ffc
SM
4086 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4087 Use lisp-current-defun-name.
ba03d0d9
CY
4088
4089 * textmodes/tex-mode.el (tex-current-defun-name): New.
4090 (tex-common-initialization): Use it.
4091
4092 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4093 (texinfo-mode): Use it.
4094
92eadba5
CY
40952012-12-01 Chong Yidong <cyd@gnu.org>
4096
4097 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4098 * progmodes/autoconf.el (autoconf-mode):
4099 * progmodes/js.el (js-mode):
4100 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4101 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4102 * progmodes/perl-mode.el (perl-mode):
4103 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4104 * textmodes/css-mode.el (css-mode):
4105 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4106 (sgml-tags-invisible, sgml-guess-indent):
4107 * textmodes/tex-mode.el (tex-common-initialization)
4108 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4109 (doctex-mode, plain-tex-mode, latex-mode):
4110 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4111
3ddbf803
KK
41122012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4113
4114 * vc/vc-hg.el (vc-hg-next-revision):
4115 Ensure use of default "tip" output format. (Bug#6968)
4116
f0b6ae63
KS
41172012-12-01 Kim F. Storm <storm@cua.dk>
4118
4119 * startup.el (fancy-startup-tail): Add a clickable link
4120 (Bug#2176).
4121
c01bf73e
CY
41222012-12-01 Chong Yidong <cyd@gnu.org>
4123
4124 * startup.el (fancy-startup-tail): Improve the message about
4125 auto-save files (Bug#2176).
4126
f0b6ae63
KS
4127 * files.el (recover-session): Improve the descriptive message, and
4128 use substitute-command-keys.
4129
a9400458
GM
41302012-12-01 Glenn Morris <rgm@gnu.org>
4131
4132 * ido.el (ido-file-internal):
4133 Handle other-window, other-frame for dired. (Bug#13036)
4134
fb3bf6ce
GM
41352012-11-30 Glenn Morris <rgm@gnu.org>
4136
4137 * icomplete.el (icomplete-separator): Fix :version.
4138
a813fe3f
CY
41392012-11-30 Chong Yidong <cyd@gnu.org>
4140
4141 * shell.el (shell): For C-u M-x shell, use an inactive shell
4142 buffer as the default (Bug#1975).
276479fd
CY
4143 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4144 (shell-mode): Use them to reapply ansi colorization if Shell mode
4145 is re-enabled.
a813fe3f 4146
a8b733a5
CY
41472012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4148
4149 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4150
6fccd6e8
SB
41512012-11-30 Samuel Bronson <naesten@gmail.com>
4152
4153 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4154 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4155
53c9a337
TT
41562012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4157
4158 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4159 by move-to-column (Bug#3234).
4160
ccf520bb
CY
41612012-11-30 Chong Yidong <cyd@gnu.org>
4162
4163 * longlines.el (longlines-wrap-line, longlines-encode-region):
4164 Preserve text properties (Bug#1425).
4165
171b0949
OT
41662012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4167
4168 * vc/vc.el (vc-register): Allow registering a file which is
4169 already registered with a different backend (Bug#10589).
4170
cc37e70f
J
41712012-11-29 Jambunathan K <kjambunathan@gmail.com>
4172 Stefan Monnier <monnier@iro.umontreal.ca>
4173
4174 * icomplete.el: Change separator; add ido-style commands.
4175 (icomplete-show-key-bindings): Remove custom var.
4176 (icomplete-get-keys): Remove function.
4177 (icomplete-forward-completions, icomplete-backward-completions):
4178 New commands.
4179 (icomplete-minibuffer-map): New var.
4180 (icomplete-minibuffer-setup): Use it.
4181 (icomplete-exhibit): Don't delay if the list of completions is known.
4182 (icomplete-separator): New custom.
4183 (icomplete-completions): Use it.
4184 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4185 (minibuffer-force-complete-and-exit): New command.
4186 (minibuffer--complete-and-exit): New function extracted from
4187 minibuffer-complete-and-exit.
4188 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
4189
4190 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4191 error message when the file doesn't exist (bug#12974).
4192
31646597
KD
41932012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4194
4195 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4196
e9df8f87
GM
41972012-11-29 Glenn Morris <rgm@gnu.org>
4198
824eefe4
GM
4199 * files.el (hack-dir-local-variables): Warn if try to set
4200 coding via dir-locals, since it doesn't work. (Bug#7169)
4201
4ad900d9
GM
4202 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4203 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4204 Set buffer-local value of desktop-save-buffer.
4205 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4206 New functions.
4207 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4208 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4209
e9df8f87
GM
4210 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4211 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4212 Doc fix.
4213 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4214 Doc fixes.
4215
e7c8fcc4
JB
42162012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4217
4218 * calc/calc-forms.el (calc-date-notation): Fix regexp
4219 used to find time codes. Fix symbol for seconds.
4220
48d6d9c0
GM
42212012-11-27 Glenn Morris <rgm@gnu.org>
4222
4223 * emacs-lisp/derived.el (derived-mode-make-docstring):
4224 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4225
369f945d
SM
42262012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4229 lexically scoped variables (bug#13005).
4230
5c9cf0a3 42312012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 4232
999e745e
GM
4233 * vc/vc-hooks.el (vc-mistrust-permissions):
4234 Default to t, to avoid data-loss. (Bug#11490)
98f99594 4235
5c9cf0a3 42362012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 4237
999e745e
GM
4238 * progmodes/python.el (python-indent-guess-indent-offset):
4239 If indentation is guessed make python-indent-offset buffer-local.
4240
207cb73c 4241 Fix Imenu regression.
999e745e
GM
4242 * progmodes/python.el (python-nav-beginning-of-defun):
4243 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
4244 (python-imenu-prev-index-position): New function.
4245
5c9cf0a3 42462012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
4247
4248 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4249
4250 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 4251 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 4252
5c9cf0a3 42532012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
4254
4255 * hippie-exp.el (hippie-expand-try-functions-list):
4256 Re-autoload it. (Bug#12982)
4257
5c9cf0a3 42582012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 4259
369f945d
SM
4260 * descr-text.el (describe-char-padded-string):
4261 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 4262
5c9cf0a3 42632012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
4264
4265 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4266 and obsoletion message.
4267
5c9cf0a3 42682012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
4269
4270 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4271 the constructs to keep outside of the `cl-block' (bug#12977).
4272
5c9cf0a3 42732012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
4274
4275 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4276 keep reading until we get the up-event anyway, in order to process
4277 the up-event for mouse-1-click-follows-link (Bug#12971).
4278
848a2dd1
SM
42792012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4282 base function is not yet defined (bug#12965).
4283 (ad-activate-advised-definition): Use ad-compile-function.
4284 (ad-activate): Use cond.
4285
9ad79506
LL
42862012-11-25 Leo Liu <sdl.web@gmail.com>
4287
4288 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4289 (Bug#12979)
4290
e2cb57f5
VB
42912012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4292
4293 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4294 reftex-section-info-function in order to be compatible with
4295 Texinfo integration.
4296
4297 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
4298 (reftex-section-post-regexp, reftex-section-info-function):
4299 New variable.
4300 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4301 reftex-section-post-regexp, and reftex-section-info-function in order
4302 to be compatible with Texinfo integration.
4303
4304 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4305 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
4306 Texinfo integration.
4307
1c4f115d
CY
43082012-11-25 Chong Yidong <cyd@gnu.org>
4309
4310 * faces.el: Make face-spec-set more analogous to setq.
4311 (face-spec-set): Change the third arg to specify whether this
4312 function is being called via defface, customize, or a third party.
4313 Set the appropriate symbol properties. Clear the override spec if
4314 setting via Custom. Initialize face if necessary. (Bug#4988)
4315 (face-spec-recalc): Allow theme faces to completely replace the
4316 defface spec, in the same way as custom faces (Bug#8454).
4317
4318 * cus-face.el (custom-declare-face): Move face initialization to
4319 face-spec-set.
4320 (custom-theme-set-faces): Don't initialize the face name here, as
4321 that is now done in face-spec-set.
4322
4323 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4324 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4325 Simplify by using the new arg to face-spec-set.
4326
4327 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4328 reset face-override-spec too, and use custom-declare-face.
4329
c2350548
JD
43302012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4331
4332 * term/ns-win.el (ns-initialize-window-system): Move creation of
4333 fontsets here (Bug#11964).
4334
ecfc364c
VB
43352012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4336
4337 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4338 cell renaming.
4339
0917cc54
CY
43402012-11-24 Chong Yidong <cyd@gnu.org>
4341
433212bf
CY
4342 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4343 obsolete.
4344
0917cc54
CY
4345 * custom.el (custom-theme-set-variables): Use a topological sort
4346 for ordering by custom dependencies (Bug#12952).
4347 (custom--sort-vars, custom--sort-vars-1): New functions.
4348
d125ca15 43492012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
4350
4351 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4352 lexical-binding (bug#12938).
4353
d125ca15 43542012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
4355
4356 * image-mode.el (image-transform-check-size): Use assertions only
4357 for images of type imagemagick.
4358
4359 Otherwise no error, image-transform-fit-to-{width,height} is
4360 silently ignored, as before. Doc fix.
4361
d125ca15 43622012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
4363
4364 * faces.el (color-defined-p): Doc fix (Bug#12853).
4365
d125ca15 43662012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
4367
4368 * dired.el (dired-mark): Add optional arg `interactive'.
4369 Check for `use-region-p' if `interactive' is non-nil.
4370 (dired-unmark, dired-flag-file-deletion): Add optional arg
4371 `interactive'. Call `dired-mark' with the arg `interactive'.
4372 (Bug#10624)
4373
cc4c01bd
JL
4374 * wdired.el: Revert 2012-10-17 change partly and replace it with
4375 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4376 (wdired-finish-edit): Add marks for new file names to
4377 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4378 after `revert-buffer'.
4379 (wdired-do-renames): Remove calls to `dired-remove-file',
4380 `dired-add-file', `dired-add-entry'. (Bug#11795)
4381
d125ca15 43822012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 4383
dc310ed0
AM
4384 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4385
b03aabda
AM
4386 Fix bugs in the state cache. Enhance a debugging mechanism.
4387 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4388 "brace at column zero" strategy for C++.
4389 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4390 (c-parse-state-point): New variable.
4391 (c-record-parse-state-state): Record old parse state with
4392 `copy-tree'. Record previous value of point.
4393 (c-debug-parse-state-double-cons): New debugging function.
4394 (c-debug-parse-state): Call the above new function.
4395 (c-toggle-parse-state-debug): Output a confirmatory message.
4396
002c019c
SM
4397 * progmodes/cc-mode.el (c-before-change, c-after-change):
4398 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
4399 `c-after-change'.
4400
930a6273
CY
44012012-11-23 Chong Yidong <cyd@gnu.org>
4402
4403 * find-cmd.el (find-constituents): Add executable, ipath,
4404 readable, samefile, writable, daystart, regextype (Bug#12856).
4405
15c9d04e
SM
44062012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4409
2ecb2679
PE
44102012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4411
4412 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4413 definition. This fixes a bootstrap failure.
a14a5a40
PE
4414 (calc-gregorian-switch): In menu, put dates before regions.
4415 This is easier to follow, lines up better in the menu, and lets us
4416 coalesce regions that switch at the same time. Give country
15c9d04e
SM
4417 names, not "Vatican", as that's better for non-expert users.
4418 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
4419 Bohemia and Moravia (which existed then and now) and not
4420 Czechoslovakia (which didn't exist then and doesn't exist now).
4421 What is now the U.S. mostly did not switch at the same time as
4422 Britain, so omit the U.S. Correct spelling of "Britain".
4423 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 4424
723da6aa
JB
44252012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4426
4427 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4428 after the variable is changed.
4429
21fa2482
DC
44302012-11-21 Daniel Colascione <dancol@dancol.org>
4431
4432 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
4433 in SQL declarations for font-lock.
4434 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 4435
3ca2f1bf
GM
44362012-11-21 Glenn Morris <rgm@gnu.org>
4437
1bf335cf
GM
4438 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4439 (face-italic-p): Add optional argument "inherit".
4440
3ca2f1bf
GM
4441 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4442 Remove -p suffix from names, for consistency with other set-face-*.
4443 (set-face-inverse-video): Fix interactive spec.
4444 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4445 * textmodes/table.el (table--update-cell-face):
4446 Use set-face-inverse-video rather than now obsolete alias.
4447
6ef2e5ef 44482012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
4449
4450 * simple.el (line-move): Don't call line-move-partial if
4451 scroll-conservatively is in effect. (Bug#12927)
4452
6ef2e5ef 44532012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 4454
93b05041
SM
4455 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4456 Fallback on completion-at-point rather than
4457 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4458 (eshell-cmpl-initialize): Setup completion-at-point.
4459
4460 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4461
bc715d67
SM
4462 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4463
6ef2e5ef 44642012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
4465
4466 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4467 are remote, check out-of-band property for both.
4468
6ef2e5ef 44692012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
4470
4471 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4472 code rewrite.
4473
6ef2e5ef 44742012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 4475
535efd4a
PE
4476 More minor time fixes.
4477 * calendar/time-date.el: Commentary fix.
4478 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4479 too much other code depends on (0 0) time stamps.
4480 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4481 Add a couple of FIXME comments.
4482
0c93aa38
PE
4483 Minor cleanup for times as lists of four integers.
4484 * files.el (dir-locals-directory-cache):
4485 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4486 Doc fixes.
4487 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4488 * ps-bdf.el (bdf-file-newer-than-time):
4489 Process four-integers time stamps, not two. Doc fixes.
4490
23ba2705
SM
44912012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4492
2e31777b
SM
4493 * uniquify.el (uniquify-managed): Use defvar-local.
4494 (rename-buffer, create-file-buffer): Advise with advice-add.
4495 (uniquify-unload-function): Unadvise accordingly.
4496
8b62d742
SM
4497 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4498 (trace-buffer): Don't purecopy.
4499 (trace-entry-message, trace-exit-message): Add `context' arg.
4500 (trace--timer): New var.
4501 (trace-make-advice): Adjust for use in nadvice.
4502 Add `context' argument. Delay `display-buffer' via a timer.
4503 (trace-function-internal): Use advice-add.
4504 (trace--read-args): New function.
4505 (trace-function-foreground, trace-function-background): Use it.
4506 (trace-function): Rename to trace-function-foreground and redefine as
4507 an alias to that new name.
4508 (untrace-function, untrace-all): Adjust to the use of nadvice.
4509
5d0ccd95
SM
4510 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4511
3837d988
SM
4512 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4513
23ba2705
SM
4514 * subr.el (called-interactively-p-functions): New var.
4515 (internal--called-interactively-p--get-frame): New macro.
4516 (called-interactively-p, interactive-p): Rewrite in Lisp.
4517 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4518 (called-interactively-p-functions): Use it.
4519 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4520 (called-interactively-p-functions): Use it.
4521 * allout.el (allout-called-interactively-p): Don't assume
4522 called-interactively-p is a subr.
4523
b0636be7
GM
45242012-11-20 Glenn Morris <rgm@gnu.org>
4525
4526 * profiler.el (profiler-report-mode-map): Add a menu.
4527 No need to bind `q' because we derive from special-mode.
4528 (profiler-report-find-entry): Handle calls from the menu-bar.
4529
855b17af
SM
45302012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4531
14146222
SM
4532 * emacs-lisp/byte-run.el (defun-declarations-alist):
4533 Allow a compiler-macro to be a lambda expression.
4534
4535 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4536 eval-when-compile.
4537 (python-syntax-context): Add compiler-macro.
4538 (python-font-lock-keywords): Simplify with De Morgan.
4539
1000d895
SM
4540 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4541
ac5392dc
SM
4542 * files.el (load-file): Require match in minibuffer selection, as was
4543 the case in Emacs-20 before we changed the spec to allow .elc files
4544 (bug#12935).
4545
19dc7206
SM
4546 * json.el: Don't require cl since we don't use it.
4547 * color.el: Don't require cl.
4548 (color-complement): `caddr' -> `nth 2'.
4549
855b17af
SM
4550 * calendar/time-date.el (time-to-seconds): De-obsolete.
4551
e8909bdc
JB
45522012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4553
f4ad7ea1 4554 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
e8909bdc
JB
4555 year numbers.
4556 (math-date-to-julian-dt): Adjust the initial approximation for the
4557 year to deal with the new definition of the DATE.
4558
6e9f7997
DC
45592012-11-19 Daniel Colascione <dancol@dancol.org>
4560
855b17af
SM
4561 * term/w32-win.el (cygwin-convert-path-from-windows):
4562 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 4563
6a3dd257
CY
45642012-11-18 Chong Yidong <cyd@gnu.org>
4565
4566 * filecache.el (file-cache--read-list): New function.
4567 (file-cache-add-directory-list, file-cache-add-file-list)
4568 (file-cache-delete-file-list, file-cache-delete-directory-list):
4569 Use it to read a list of files or directories (Bug#12846).
4570 (file-cache-add-file, file-cache-add-directory)
4571 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4572 (file-cache-delete-directory): Print an message.
4573
eef97f35
JB
45742012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4575
4576 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4577 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4578
913c8291
GM
45792012-11-18 Glenn Morris <rgm@gnu.org>
4580
4581 * image.el (insert-image, insert-sliced-image): Doc fix.
4582
2ac9538d 45832012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
4584
4585 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4586 (Bug#12810).
4587
2ac9538d 45882012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
4589
4590 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4591 response when the target file is in a subdirectory (Bug#12757).
4592
2ac9538d 45932012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
4594
4595 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4596
2ac9538d 45972012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 4598
9a5e2ee3
GM
4599 * emacs-lisp/cl-lib.el (face-underline-p):
4600 Use set-face-underline rather than the alias set-face-underline-p.
4601
65463c40 4602 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
4603 * subr.el (with-output-to-temp-buffer):
4604 Add doc xref to with-temp-buffer-window.
65463c40 4605
c9ed8e3d
JB
46062012-11-18 Juanma Barranquero <lekktu@gmail.com>
4607
4608 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4609 * calc/calc.el (math-format-date-cache): Declare.
4610
310e60d9
PE
46112012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4612
6f6b82d6
PE
4613 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4614 It also uses January 1, 1 AD as its day number 1.
310e60d9 4615 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 4616 (math-julian-date-beginning-int): Implement this.
310e60d9 4617
d7fe6352
JB
46182012-11-17 Juanma Barranquero <lekktu@gmail.com>
4619
4620 * descr-text.el (quail-find-key):
4621 * dired.el (desktop-file-name):
4622 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4623 * generic-x.el (comint-mode, comint-exec):
4624 * image-dired.el (widget-forward):
4625 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4626 (speedbar-change-expand-button-char)
4627 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4628 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4629 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4630 (widget-field-action, widget-value-set):
4631 * speedbar.el (imenu--make-index-alist):
4632 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4633 (ring-length, ring-insert):
4634 * vcursor.el (compare-windows-skip-whitespace):
4635 * woman.el (dired-get-filename):
4636 Declare functions.
4637
4638 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4639
c9f618db
JB
46402012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4641
4642 * calc/calc.el (calc-gregorian-switch): New variable.
4643
4644 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4645 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4646 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4647 (math-leap-year-p): Add option to distinguish between Julian
4648 and Gregorian calendars.
4649 (math-day-number): Use `math-day-in-year' to do the computations.
4650 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4651 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4652 to do the computations.
4653 (math-date-to-dt): Use `math-date-to-julian-dt' and
4654 `math-date-to-gregorian-dt' to do the computations.
4655 (calcFunc-weekday, math-format-date-part): Use the new version of
4656 the DATE to determine the weekday.
4657 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4658 when necessary.
4659
3804f7bc
EZ
46602012-11-17 Eli Zaretskii <eliz@gnu.org>
4661
4662 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4663 Cygwin; otherwise use 'file:'. (Bug#12914)
4664 (cygwin-convert-path-from-windows): Declare, to avoid
4665 byte-compiler warnings.
4666
de959d4d
AP
46672012-11-17 Andreas Politz <politza@fh-trier.de>
4668
4669 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4670 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4671 prefix and negative numeric prefix args (Bug#12795).
4672
e45deaef
SB
46732012-11-17 Stephen Berman <stephen.berman@gmx.net>
4674
4675 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4676 Don't signal an error with a score that is too low to add to the
4677 list of top scores. (Bug#12779)
4678
ec15e0ff
CY
46792012-11-17 Chong Yidong <cyd@gnu.org>
4680
8e7696a1
CY
4681 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4682
ec15e0ff
CY
4683 * filecache.el (file-cache-add-file): Handle relative file name in
4684 the argument (Bug#12694).
4685
60c4ee66
JH
46862012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4687
4688 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4689
cdc5d88c
SM
46902012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4691
dd0c5bbb
SM
4692 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4693
cdc5d88c
SM
4694 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4695
0ff7851c
MR
46962012-11-16 Martin Rudalics <rudalics@gmx.at>
4697
4698 * window.el (enlarge-window, shrink-window): Don't mention return
4699 value in doc-string (Bug#12896).
4700 (window--display-buffer): Don't resize frames - it won't work
4701 with all window managers and defeat pop-up-frame-alist.
4702 (display-buffer-alist): In doc-string explain that CONDITION can
4703 be a function and which arguments are passed to it (Bug#12854).
4704 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4705 expressions (Bug#12854).
4706 (display-buffer): Pass ACTION argument to
4707 display-buffer-assq-regexp.
4708
dedd1884
GM
47092012-11-16 Glenn Morris <rgm@gnu.org>
4710
7c82753d
GM
4711 * window.el (fit-frame-to-buffer-bottom-margin)
4712 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4713
dedd1884
GM
4714 * faces.el (face-underline-p): Use face-attribute-specified-or.
4715
96e05507 47162012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
4717
4718 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4719
96e05507 47202012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
4721
4722 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4723
96e05507 47242012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 4725
17c083ac
GM
4726 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4727 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4728
bde3c6c0
GM
4729 * faces.el (face-underline-p): Doc fix. Handle :underline being
4730 things other than `t' (a string, a list).
4731 (face-inverse-video-p): Doc fix.
4732 (set-face-underline): Rename it back from set-face-underline-p.
4733 Doc fix. Allow interactive input of values other than t.
4734 (read-face-attribute): Apply formatting to :underline,
4735 since like :box and :stipple it can take list values.
4736
e2e13f18
GM
4737 * term.el (ansi-term): Don't let C-x escape-char binding
4738 clobber the more standard C-c binding. (Bug#12842)
4739
e0ea8060
GM
4740 * subr.el (set-temporary-overlay-map): Doc fix.
4741
96e05507 47422012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
4743
4744 * window.el (record-window-buffer)
4745 (display-buffer-record-window): When copying the markers to
4746 window-point preserve window-point-insertion-type. (Bug#12588)
4747
96e05507 47482012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
4749
4750 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4751 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4752 Use new names for hooks rather than obsolete aliases.
4753
faeafc01
DC
47542012-11-15 Daniel Colascione <dancol@dancol.org>
4755
4756 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
4757 prefix instead of "file:" so that when FILE-NAME begins with "//",
4758 as it does when the target file is on a network share, url-handler
4759 isn't confused.
4760
1232d6c2
SM
47612012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4762
4763 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4764 a preactivated advice from an old advice.el; they're not compatible!
4765
47f01a8a
KY
47662012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4767
4768 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4769 Fix string-spec case.
4770
4771 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4772
a61428c4
SM
47732012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4776 (advice--buffer-local-function-sample): New var.
4777 (advice--set-buffer-local, advice--buffer-local): New functions.
4778 (add-function, remove-function): Use them.
4779
875ce3a7
DA
47802012-11-15 Drew Adams <drew.adams@oracle.com>
4781
4782 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4783
589fc479
SM
47842012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4787 potential binding of print-gensym to t, and prettify (back)quotes in
4788 case they appear in args's default values (bug#12884).
4789
1668ea90
SM
47902012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4791
4792 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4793 (advice-eval-interactive-spec): New function.
4794 (advice--make-interactive-form): Support around advice (bug#12844).
4795
8619323f
DG
47962012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4797
4798 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4799 more strict. Add docstring.
c62792e7
DG
4800 (ruby-expression-expansion-re): Extract from
4801 `ruby-match-expression-expansion'.
4802 (ruby-syntax-propertize-function): After everything else, search
4803 for expansions in string literals, mark their insides as
4804 whitespace syntax and save match data for font-lock.
4805 (ruby-font-lock-keywords): Use the 2nd group from expression
4806 expansion matches.
4807 (ruby-match-expression-expansion): Use the match data saved to the
4808 text property in ruby-syntax-propertize-function.
8619323f 4809
9c3912d3
SM
48102012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4813 (bug#12879).
4814
5e9419e8
DG
48152012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4816
4817 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4818 start/end keyword a bit harder. Works with different values of N.
4819 Add more comments.
4820 (ruby-end-of-block): Update accordingly.
4821
3c442f8b
SM
48222012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4823
fa470af0
SM
4824 * woman.el (woman-file-name): Don't mess with unread-command-events
4825 (bug#12861).
4826
3c442f8b
SM
4827 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4828 Remove out of date self-require hack.
4829 (ad-do-advised-functions): Use simple `dolist'.
4830 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4831 (ad-advice-definition): Redefine as functions.
4832 (ad-advice-classes): Move before first use.
4833 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 4834 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 4835 (ad--defalias-fset): Remove functions.
fa470af0 4836 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
4837 (ad-get-orig-definition): Rewrite.
4838 (ad-make-advised-definition-docstring): Change base docstring.
4839 (ad-real-orig-definition): Rewrite.
4840 (ad-map-arglists): Change name of called function.
4841 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4842 (ad-make-advised-definition): Simplify.
4843 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 4844 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
4845 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4846 function and call ad-activate if needed.
4847 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4848 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4849 (ad-compile-function): Compile ad-Advice-*.
4850 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4851 (ad-start-advice, ad-stop-advice): Remove.
4852
5745cae6
DG
48532012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4854
4855 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4856 period before class method names, not after. Remove handling of
4857 one impossible case. Add comments.
4858
413d4689
SM
48592012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4860
7db1bda8
SM
4861 * emacs-lisp/advice.el: Remove support for freezing.
4862 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4863 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4864 Remove support for `freeze'.
4865
413d4689
SM
4866 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4867 override the default.
4868 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4869 cl--dotimes/dolist.
4870 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4871 `cl' is loaded.
4872
4873 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4874 from add-advice.
4875 (advice--strip-macro): New function.
4876 (advice--defalias-fset): Use them to handle macros.
4877 (advice-add): Use them.
4878 (advice-member-p): Correctly handle macros.
4879
f178c32d
DG
48802012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4881
7db1bda8
SM
4882 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4883 Never font-lock the beginning of singleton class as heredoc.
f178c32d 4884
f78ee6af 48852012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
4886
4887 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4888
f78ee6af 48892012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
4890
4891 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
4892 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4893 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 4894
f78ee6af 48952012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
4896
4897 Fix end-of-defun misbehavior.
4898 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4899 python-beginning-of-defun-function. Handle nested defuns
4900 correctly.
4901 (python-nav-end-of-defun): Rename from
4902 python-end-of-defun-function. Ensure forward movement.
f8705f6e 4903 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
4904 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4905 parent defuns as soon as possible.
4906
f78ee6af 49072012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
4908
4909 * progmodes/flymake.el (flymake-error-bitmap)
4910 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4911 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4912
f78ee6af 49132012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
4914
4915 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4916 backward, always stop at indentation. Reverts the change from
4917 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4918
f78ee6af 49192012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 4920
a1d3e07e
GM
4921 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4922 Add ibuffer-filter-by-derived-mode.
4923
84acf328
GM
4924 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4925 the same name shadowing each other.
4926
38785e75
GM
4927 * window.el (with-temp-buffer-window): Doc tweak.
4928
57fc0fee
GM
4929 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4930
6ba6a3e5
GM
4931 * help.el (temp-buffer-max-height):
4932 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
4933 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4934
231d8498
SM
49352012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4936
4937 * emacs-lisp/nadvice.el: New package.
4938 * subr.el (special-form-p): New function.
4939 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4940 (elp-all-instrumented-list): Remove var.
4941 (elp-not-profilable): Remove elp-wrapper.
4942 (elp-profilable-p): Use autoloadp and special-form-p.
4943 (elp--advice-name): New const.
4944 (elp-instrument-function): Use advice-add.
4945 (elp--instrumented-p): New predicate.
4946 (elp-restore-function): Use advice-remove.
4947 (elp-restore-all, elp-reset-all): Use mapatoms.
4948 (elp-set-master): Use elp--instrumented-p.
4949 (elp--make-wrapper): Rename from elp-wrapper, return a function
4950 suitable for advice-add. Use cl-inf.
4951 (elp-results): Use mapatoms+elp--instrumented-p.
4952 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4953 (debug-function-list): Remove var.
4954 (debug): Rename arg, and then let-bind it explicitly inside.
4955 (debugger-setup-buffer): Rename arg.
4956 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4957 (debugger-frame-number): Adjust to new debug-on-entry setup.
4958 (debug--implement-debug-on-entry): Rename from
4959 implement-debug-on-entry, add argument.
4960 (debugger-special-form-p): Remove, use special-form-p instead.
4961 (debug-on-entry): Use advice-add.
4962 (debug--function-list): New function.
4963 (cancel-debug-on-entry): Use it, along with advice-remove.
4964 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4965 (debugger-list-functions): Use debug--function-list instead of
4966 debug-function-list.
4967 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4968 (ad-special-form-p): Remove, use special-form-p instead.
4969 (ad-set-advice-info): Use add-function and remove-function.
4970 (ad--defalias-fset): Adjust accordingly.
4971
19e09879
GM
49722012-11-10 Glenn Morris <rgm@gnu.org>
4973
714cebd1
GM
4974 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4975 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4976 (report-emacs-bug-create-existing-bugs-buffer)
4977 (report-emacs-bug-parse-query-results)
4978 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4979
bf67dafa
GM
4980 * term.el (term-default-fg-color, term-default-bg-color):
4981 Make obsolete, rather than just saying "deprecated" in the doc.
4982
19e09879
GM
4983 * term.el (term): Rename from `term-face'.
4984 (term-current-face, ansi-term-color-vector)
4985 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4986 Update all users.
4987
6baf66d5 49882012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
4989
4990 * server.el (server-create-window-system-frame): Handle Nextstep
4991 specially (Bug#12780).
4992
6baf66d5 49932012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
4994
4995 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4996 Unautoload, and make obsolete. (Bug#7449)
4997
6baf66d5 49982012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
4999
5000 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5001 rename from diff-remove-trailing-whitespace (Bug#12831).
5002
6baf66d5 50032012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
5004
5005 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5006 miscompilation of trace.el.
5007
6baf66d5 50082012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
5009
5010 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5011
6baf66d5 50122012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
5013
5014 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5015 (bug#12812).
5016
6baf66d5 50172012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
5018
5019 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5020 a defcustom with an appropriate :set function.
5021 (minibuffer-default--in-prompt-regexps): New function.
5022
6baf66d5 50232012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 5024
031b2ea7
GM
5025 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5026 (define-modify-macro): Doc fixes.
5027
2ee1d59f
GM
5028 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5029 (gv-define-simple-setter): Update doc of `fix-return'.
5030
6baf66d5 50312012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 5032
b715ed44
SM
5033 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5034 twice when `fix-return' is set (bug#12813).
5035
d57c286e
SM
5036 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5037 gv-define-simple-setter (bug#12812).
5038
c9cac599
SM
5039 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5040 (bug#12756).
5041
6baf66d5 50422012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
5043
5044 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5045
5593ed90
GM
5046 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5047 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5048 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5049 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5050
5051 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5052
05a859c1
LL
50532012-11-10 Leo Liu <sdl.web@gmail.com>
5054
5055 * ido.el (ido-set-matches-1): Improve flex matching performance by
5056 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5057
32e5c58c
SM
50582012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5059
5060 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5061 (ad--defalias-fset): New function.
5062 (ad-safe-fset): Remove.
5063 (ad-make-freeze-definition): Use cl-letf*.
5064
f5925cd9
SM
50652012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5066
da03ef8a
SM
5067 * subr.el (dolist): Don't bind VAR in RESULT.
5068
6858633a
SM
5069 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5070 (fset, documentation): Don't save real def since we don't advise.
5071 (ad-do-advised-functions): Remove problematic `result-form'.
5072 (ad-safe-fset): `ad-real-fset' => `fset'.
5073 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5074 uses CL's dolist internally.
5075 (ad-arglist): Remove unused arg `name'.
5076 (ad-docstring, ad-make-advised-docstring):
5077 `ad-real-documentation' => `documentation'.
5078 (warning-suppress-types): Declare.
5079 (ad-set-arguments): Simple CSE.
5080 (ad-recover-normality): Sanity check.
5081
f5925cd9
SM
5082 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5083 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5084
93a66b3a
VB
50852012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5086
5087 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
5088 `ses-cell'. This means that the same mapping is done for all SES
5089 sheets. That is good enough for cells with standard A1 names, but
5090 not for named cell. So a hash map is added for the latter.
5091 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
5092 (ses-sym-rowcol): Use hashmap for named cell.
5093 (ses-is-cell-sym-p): New defun.
5094 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
5095 (ses-create-cell-variable): Add cell to hashmap when name is not
5096 A1-like.
93a66b3a
VB
5097 (ses-rename-cell): Check that cell new name is not already in
5098 spreadsheet with the use of ses-is-cell-sym-p
5099 (ses-rename-cell): Use hash map for named cells, but accept also
5100 renaming back to A1-like.
5101
67dd8ad1
SM
51022012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5103
57618ecf
SM
5104 * emacs-lisp/advice.el: Use new dynamic docstrings.
5105 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5106 Use dynamic-docstring-function instead of ad-advice-info.
5107 (ad--make-advised-docstring): New function extracted from
5108 ad-make-advised-docstring.
5109 (ad-make-advised-docstring): Use it.
5110 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5111 from sql-help.
5112 (sql-help): Use it with dynamic-docstring-function.
5113
67dd8ad1
SM
5114 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5115
be883b34
SM
51162012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5117
d41706aa
SM
5118 * files.el (hack-one-local-variable--obsolete): New function.
5119 (hack-one-local-variable): Use it for obsolete settings.
5120
85e55412
SM
5121 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5122 the new name.
5123
be883b34
SM
5124 * progmodes/js.el (js--filling-paragraph): New var.
5125 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5126 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5127 less sneaky.
5128
cabc040a
JD
51292012-11-08 Julien Danjou <julien@danjou.info>
5130
5131 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5132 `auto-mode-alist' (Bug#12835).
5133
d14bb752
SM
51342012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5135
79b3e376
SM
5136 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5137 (perl--prettify-symbols-alist): New const.
5138 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5139 New functions.
5140 (perl-font-lock-keywords-2): Use them.
5141 (perl-electric-noindent-p): New function.
5142 (perl-mode): Use it to set up electric-indent-mode.
5143 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5144 (perl-mode-map): Remove bindings for them.
5145 (perl-imenu-generic-expression, perl-outline-level):
5146 Match functions&packages in column>0.
5147
3b11e6ac
SM
5148 * env.el (env--substitute-vars-regexp): New const.
5149 (substitute-env-vars): Use it. Add `only-defined' arg.
5150 * net/tramp.el (tramp-replace-environment-variables): Use it.
5151
784c1a7b
SM
5152 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5153 Byte-compile *before* eval in eval-and-compile.
5154 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5155 (byte-compile-file-form-autoload): Don't hide actual definition.
5156 (byte-compile-maybe-guarded): Accept `functionp' as well.
5157
d14bb752
SM
5158 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5159
499a0f7a
MA
51602012-11-07 Michael Albinus <michael.albinus@gmx.de>
5161
5162 * notifications.el (notifications-get-server-information-method):
5163 New defconst.
5164 (notifications-get-capabilities): Fix docstring.
5165 (notifications-get-server-information): New defun.
5166
f0704a9a
AM
51672012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5168
5169 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5170 readability.
5171
b159a1fd
AM
5172 * textmodes/ispell.el: Experimental support for support debugging.
5173 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5174 buffer for ispell.
5175 (ispell-print-if-debug): New function to print stuff to
5176 `ispell-debug-buffer' if debugging is enabled.
5177 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5178 show some debugging info.
5179 (ispell-buffer-with-debug): New function that creates a debugging
5180 buffer and calls `ispell-buffer' with debugging enabled.
5181
056cb3a1
AM
5182 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5183 comment in autoconf mode. (Bug#12768)
5184
8e6a67b7
DA
51852012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5186
5187 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5188 frame-first-window, frame-root-window, frame-selected-window,
5189 minibuffer-selected-window, minibuffer-window,
5190 window-absolute-pixel-edges, window-at, window-body-height,
5191 window-body-width, window-display-table, window-combination-limit,
5192 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5193 window-inside-edges, window-inside-pixel-edges, window-left-child,
5194 window-left-column, window-margins, window-next-buffers,
5195 window-next-sibling, window-new-normal, window-new-total,
5196 window-normal-size, window-parameter, window-parameters, window-parent,
5197 window-pixel-edges, window-point, window-prev-buffers,
5198 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5199 window-start, window-text-height, window-top-child, window-top-line,
5200 window-total-height, window-total-width and window-use-time to the list
5201 of functions without side-effects.
5202 (toplevel): Add window-valid-p to the list of error-free functions
5203 without side-effects.
5204
53fc914f
AM
52052012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5206
f5925cd9
SM
5207 * textmodes/ispell.el (ispell-program-name):
5208 Update spellchecker parameters when customized.
53fc914f 5209
9749e2b0
GM
52102012-11-04 Glenn Morris <rgm@gnu.org>
5211
5212 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5213
2cbafa56
CY
52142012-11-04 Chong Yidong <cyd@gnu.org>
5215
5216 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5217 same-window-* variables.
5218
85178ca1
JL
52192012-11-04 Juri Linkov <juri@jurta.org>
5220
5221 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5222 (isearch-describe-key, isearch-describe-mode): Use a display
5223 action instead of binding same-window-* variables (Bug#10040).
5224
5c677d44
GM
52252012-11-03 Glenn Morris <rgm@gnu.org>
5226
49138400
GM
5227 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5228 Rename handler properties back from cl-- to cl-. (Bug#12788)
5229
5c677d44
GM
5230 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5231
1d4341f9
EZ
52322012-11-03 Eli Zaretskii <eliz@gnu.org>
5233
5234 * term/pc-win.el: Don't load term/internal from here.
5235
5236 * loadup.el: Load term/internal from here.
5237
12fd5ee1
FEG
52382012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5239
5240 * progmodes/python.el (inferior-python-mode): Fix hang in
5241 jit-lock (Bug#12645).
5242
43bcfda6
MR
52432012-11-03 Martin Rudalics <rudalics@gmx.at>
5244
5245 * window.el (switch-to-visible-buffer)
5246 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5247
376a8e83
GM
52482012-11-03 Glenn Morris <rgm@gnu.org>
5249
5250 * emacs-lisp/cl-lib.el (cl--random-time):
5251 Rename from cl-random-time. (Bug#12773)
5252 (cl--gensym-counter, cl--random-state): Update callers.
5253 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5254
0f7b074f
CY
52552012-11-03 Chong Yidong <cyd@gnu.org>
5256
5257 * cus-start.el: Make cursor-type customizable (Bug#11633).
5258
3a6851d9
GM
52592012-11-02 Glenn Morris <rgm@gnu.org>
5260
00a3b041
GM
5261 * filecache.el: No need to load find-lisp when compiling.
5262 (find-lisp-find-files): Autoload it.
5263 (file-cache-add-directory-recursively): Don't require find-lisp.
5264
11fef14a
GM
5265 * image.el (image-type-from-file-name): Trivial simplification.
5266
3a6851d9
GM
5267 * emacs-lisp/bytecomp.el (byte-compile-eval):
5268 Decouple "noruntime" and "cl-functions" warnings.
5269
b4b096e4
SB
52702012-11-01 Stephen Berman <stephen.berman@gmx.net>
5271
5272 * play/gomoku.el (gomoku-display-statistics): Update mode line
5273 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5274
218e997a
MR
52752012-10-31 Martin Rudalics <rudalics@gmx.at>
5276
5277 * window.el (quit-restore-window): If the window has been
5278 created on an existing frame and ended up as the sole window on
5279 that frame, do not delete it (Bug#12764).
5280
b08b6da7
SM
52812012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5282
3618df45
SM
5283 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5284 Rename from sh--inside-arithmetic-expression, handle more cases
5285 (bug#11263).
5286
b08b6da7
SM
5287 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5288 (sh-font-lock-open-heredoc): Use it (bug#12770).
5289
4ddedf94
GM
52902012-10-30 Glenn Morris <rgm@gnu.org>
5291
f43a5263
GM
5292 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5293
4ddedf94
GM
5294 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5295
748b0d84
CY
52962012-10-29 Chong Yidong <cyd@gnu.org>
5297
b5dd9a77
CY
5298 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5299 function key is stored in a keyboard macro (Bug#4894).
5300
748b0d84
CY
5301 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5302
e07fcbdc
SM
53032012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5304
d7f9cc85
SM
5305 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5306 header comments".
5307 (diff-unified->context, diff-context->unified)
5308 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5309
c606253c
SM
5310 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5311
e07fcbdc
SM
5312 * files.el (find-alternate-file): Only ask one question (bug#12487).
5313
894b9dd9
CY
53142012-10-29 Chong Yidong <cyd@gnu.org>
5315
1dc2755a
CY
5316 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5317 Suggested by Dan Nicolaescu (Bug#6326).
5318
329c48d8
CY
5319 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5320
2230fa5b 5321 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 5322
e84cad57
CY
5323 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5324
1913c5f5
CY
5325 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5326
894b9dd9
CY
5327 * face-remap.el (face-remap-add-relative): Handle the case where a
5328 face-remapping-alist entry is a cons cell (Bug#12762).
5329
329c48d8
CY
53302012-10-29 Kevin Ryde <user42@zip.com.au>
5331
5332 * woman.el (woman-parse-numeric-value): Handle picas correctly
5333 (Bug#12639).
5334
a0ccbcbd
GM
53352012-10-29 Glenn Morris <rgm@gnu.org>
5336
5337 * emacs-lisp/cl.el (defsetf): Doc fix.
5338
b3871e59
SM
53392012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5340
5341 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5342 syntax to the matching opener, if any (bug#12547).
5343 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5344 matching open as a "case-(".
5345 (sh-smie-rc-grammar): Add a corresponding rule for it.
5346
cd44022c
DH
53472012-10-28 Daniel Hackney <dan@haxney.org>
5348
5349 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5350 "PKGNAME-autoloads.el" in case we created it.
5351
70edffb1
SM
53522012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5353
86957a0c
SM
5354 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5355 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 5356 (completion--twq-all): Disable too-strict assertions.
86957a0c 5357
70edffb1
SM
5358 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5359
d069271c
EZ
53602012-10-27 Eli Zaretskii <eliz@gnu.org>
5361
5362 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5363 text to match the real keybindings.
5364
e2f022a3
JL
53652012-10-27 Juri Linkov <juri@jurta.org>
5366
5367 * wdired.el (wdired-keep-marker-rename): New defcustom.
5368 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5369 (Bug#11795)
5370
5371 * dired.el (dired-keep-marker-rename): Add reference to
5372 `wdired-keep-marker-rename' in the docstring.
5373 Add default character value ?R to display initially in
5374 Customization UI instead of ?@.
5375
df171c23
MR
53762012-10-27 Martin Rudalics <rudalics@gmx.at>
5377
5378 * window.el (display-buffer): In doc-string describe
5379 window-height and window-width alist entries.
5380
5381 * time.el (display-time-world): Restore fit-window-to-buffer
5382 behavior.
5383
05b621a6
CY
53842012-10-27 Chong Yidong <cyd@gnu.org>
5385
5386 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5387
55f197b2
J
53882012-10-26 Jambunathan K <kjambunathan@gmail.com>
5389
5390 * minibuffer.el (completion-category-overrides): New completion
5391 category `bookmark' (bug#11131).
5392
372212df
SM
53932012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5394
150f809c
SM
5395 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5396 Silence bogus compiler warnings for ad-do-it.
5397
372212df
SM
5398 * bookmark.el (bookmark-completing-read): Set the completion category
5399 to `bookmark' (bug#11131).
5400
c5772569
B
54012012-10-26 Bastien <bzg@altern.org>
5402 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * face-remap.el: Use lexical-binding.
5405 (text-scale-adjust): Improve docstring. Use itself for the temporary
5406 overlay-map bindings, so as to repeat the "Use..." message each time.
5407
a2be0357
SM
54082012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5409
63314e57
SM
5410 * emacs-lisp/macroexp.el (macroexp--expand-all):
5411 Obey byte-compile-warning-enabled-p (bug#12486).
5412
a2be0357
SM
5413 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5414 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5415
8c7727c3
MR
54162012-10-26 Martin Rudalics <rudalics@gmx.at>
5417
5418 * mouse.el (mouse-drag-line): Move last form into preceding when
5419 clause (Bug#12731).
5420
5421 * help.el (resize-temp-buffer-window): Fix doc-string.
5422
3f2a848d
DE
54232012-10-25 David Engster <deng@randomsample.de>
5424
5425 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 5426 Remove. This feature is already integrated in imenu.
3f2a848d
DE
5427
5428 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5429 always loaded. Require `speedbar' unconditionally.
5430
a7723be6
SM
54312012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5432
aaabfc8b
SM
5433 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5434
414a8595
SM
5435 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5436
fb5b9475
SM
5437 * net/ldap.el (ldap-search-internal): The official ldif format starts
5438 with a "version: 1" header (bug#12724).
5439
a7723be6
SM
5440 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5441 (bug#12721).
5442
a05cb6e3
GM
54432012-10-25 Glenn Morris <rgm@gnu.org>
5444
5445 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5446
3c92de70
SM
54472012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5448
5449 * minibuffer.el (minibuffer-force-complete): Use one more marker
5450 for the temporary-overlay-map command (bug#12619).
5451
a4b6d7c6
CY
54522012-10-24 Chong Yidong <cyd@gnu.org>
5453
5454 * time.el (display-time-world-mode): Derive from special-mode.
5455 (display-time-world): Use display-buffer (Bug#12708).
5456 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
5457 (display-time-world-display): Wrap the final delete-char inside
5458 inhibit-read-only.
a4b6d7c6 5459
75e8f9d2
CY
54602012-10-24 Chong Yidong <cyd@gnu.org>
5461
cd996018
CY
5462 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5463 Doc fix.
5464
75e8f9d2
CY
5465 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5466
d92df117
SM
54672012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * minibuffer.el (completion--all-sorted-completions-location): New var.
5470 (completion--cache-all-sorted-completions)
5471 (completion--flush-all-sorted-completions): Use it.
5472 (completion-in-region, completion-in-region--postch)
5473 (completion-at-point, completion-help-at-point): Use markers in
5474 completion-in-region--data (bug#12619).
5475
9c3e39f3
SM
54762012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5477
c79825bd
SM
5478 * progmodes/compile.el (compilation-start): Try to handle common
5479 quoting of `cd' argument (bug#12640).
5480
9c3e39f3
SM
5481 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5482 (bug#12671).
5483
a6709bc7
GM
54842012-10-23 Glenn Morris <rgm@gnu.org>
5485
5486 * progmodes/gud.el (gud-menu-map):
5487 Check gdb-active-process is bound. (Bug#12358)
5488
d1069532
SM
54892012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5490
d20d69c0
SM
5491 * repeat.el (repeat): Set real-this-command (bug#12232).
5492
d1069532
SM
5493 * htmlfontify.el (hfy-post-html-hook):
5494 * filesets.el (filesets-cache-fill-content-hook):
5495 * arc-mode.el (archive-extract-hook):
5496 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5497 * net/rcirc.el (rcirc-sentinel-functions)
5498 (rcirc-receive-message-functions, rcirc-activity-functions)
5499 (rcirc-print-functions):
5500 * net/dbus.el (dbus-event-error-functions):
5501 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5502 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5503 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5504 * term/sun.el (sun-raw-prefix-hooks):
5505 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5506
f7eac6d8
MA
55072012-10-23 Michael Albinus <michael.albinus@gmx.de>
5508
d1069532
SM
5509 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5510 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
5511 (tramp-smb-wait-for-output): Add timeout to
5512 `tramp-accept-process-output' calls.
5513
608d9d7c
CY
55142012-10-23 Chong Yidong <cyd@gnu.org>
5515
49238e7f
CY
5516 * faces.el (font-list-limit): Define as an obsolete variable.
5517
5518 * startup.el (command-line):
5519 * cus-start.el: Don't refer to font-list-limit.
5520
608d9d7c
CY
5521 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5522
4ff5b1b2
SM
55232012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5524
5525 * subr.el (internal-temp-output-buffer-show): Rename from
5526 temp-output-buffer-show, since previously compiled files expect this name.
5527
ea1d4aac
GM
55282012-10-23 Glenn Morris <rgm@gnu.org>
5529
5530 * image.el (image-type-from-file-name): If multiple types match,
5531 return the first one that is supported. (Bug#9045)
5532
eda82a31
GM
55332012-10-22 Glenn Morris <rgm@gnu.org>
5534
5535 * image.el (imagemagick-enabled-types): Doc fix.
5536
4f020bec
TA
55372012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5538
5539 * progmodes/which-func.el (which-func-current): The hash-table may have
5540 an explicit nil (bug#12338).
5541
c77d37e2
SM
55422012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5543
5544 * electric.el (electric-pair-delete-selection-self-insert-function):
5545 Rename to electric-pair-will-use-region, return a boolean.
5546 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5547
5548 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5549 (delete-selection-pre-hook): Use use-region-p.
5550 (delete-selection-self-insert-function): Remove.
5551 (self-insert-command): Obey self-insert-uses-region-functions.
5552 (self-insert-iso): Revert to previous setting, since we don't actually
5553 know what that command does.
5554 (delete-selection-self-insert-hooks): Remove.
5555
b1d39ccc
SL
55562012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5557
5558 * delsel.el (delete-selection-helper): New function, extracted from
5559 delete-selection-pre-hook.
5560 (delete-selection-pre-hook): Use it.
5561 (delete-selection-self-insert-function): New function.
5562 (delete-selection-self-insert-hooks): New hook.
5563 (self-insert-command, self-insert-iso): Use it.
5564 * electric.el (electric-pair-syntax): New function, extracted from
5565 electric-pair-post-self-insert-function.
5566 (electric-pair-post-self-insert-function): Use it.
5567 (electric-pair-delete-selection-self-insert-function): New function.
5568 (electric-pair-mode): Require delsel and setup
5569 delete-selection-self-insert-hooks (bug#11520).
5570
045ef729
CY
55712012-10-20 Chong Yidong <cyd@gnu.org>
5572
4c5d08a8
CY
5573 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5574 no changes to show (Bug#12586).
5575
045ef729
CY
5576 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5577 list explicitly (Bug#12571).
5578
3503c798 55792012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 5580
b1d39ccc
SL
5581 * progmodes/flymake.el (flymake-create-temp-inplace):
5582 Use file-truename.
79e1997a 5583
2068905b
EZ
55842012-10-20 Eli Zaretskii <eliz@gnu.org>
5585
5586 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5587
4c9e9550
JB
55882012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5589
5590 * calc/calc-units.el (math-extract-units): Properly extract powers
5591 of units.
5592
1a6e7e38
DC
55932012-10-20 Daniel Colascione <dancol@dancol.org>
5594
5595 * frame.el (make-frame): Set x-display-name as we used to in order
5596 to unbreak creating an X11 frame from an Emacs daemon started
5597 without a display.
5598
8e808318
SM
55992012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5600
5601 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 5602 the same completion-field (bug#12221).
8e808318 5603
fb0104da
MR
56042012-10-19 Martin Rudalics <rudalics@gmx.at>
5605
5606 * emacs-lisp/debug.el (debug): Record height of debugger window
5607 also when debugger will be back (Bug#8789).
5608
8c27235e
CY
56092012-10-18 Chong Yidong <cyd@gnu.org>
5610
5611 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5612 Convert to defcustom.
5613 (gdb-get-source-file): Don't bind pop-up-windows.
5614
5615 * progmodes/gud.el (gud-display-line): Don't specially re-use
5616 other frames for the gdb-mi case (Bug#12648).
5617
90eacf99
SM
56182012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5619
aaf0c300
SM
5620 * emacs-lisp/advice.el: Clean up commentary a bit.
5621 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5622 (byte-code-function-p): Never redefine.
5623
90eacf99
SM
5624 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5625
281c9d2b
GM
56262012-10-18 Glenn Morris <rgm@gnu.org>
5627
40714e3d
GM
5628 * dired.el (dired-sort-toggle): Some ls implementations only allow
5629 a single option string. (Bug#12666)
5630
281c9d2b
GM
5631 * minibuffer.el (completion-cycle-threshold): Doc fix.
5632
b278604e
KH
56332012-10-17 Kenichi Handa <handa@gnu.org>
5634
90eacf99
SM
5635 * international/mule.el (set-keyboard-coding-system):
5636 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
5637 Supply TERMINAL arg to set-input-meta-mode.
5638
f4ad7ea1 56392012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
5640
5641 * wdired.el (wdired-old-marks): New variable.
5642 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5643 (wdired-do-renames): Move point with renamed file and don't lose
5644 mark status (Bug#11795).
5645
e5a94ec4
JL
56462012-10-16 Juri Linkov <juri@jurta.org>
5647
5648 * replace.el (query-replace-help): Mention multi-buffer replacement
5649 keys in the Help message. (Bug#12655)
5650
d18a0d24
CY
56512012-10-15 Chong Yidong <cyd@gnu.org>
5652
5653 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5654
8111f5e6
EZ
56552012-10-14 Eli Zaretskii <eliz@gnu.org>
5656
7b9abf24
EZ
5657 * window.el (display-buffer): Doc fix.
5658
8111f5e6
EZ
5659 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5660 Adjust the msft regexp to the output of Studio 2010, and move msft
5661 before edg-1. See the discussion on emacs-devel,
5662 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5663 for the details.
5664
5046ef67
SM
56652012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5666
9760c73c
SM
5667 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5668 (oset): Move uses of object-class-fast macro after its definition.
5669
5046ef67
SM
5670 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5671
0d11ff1c
CY
56722012-10-13 Chong Yidong <cyd@gnu.org>
5673
5674 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5675 enabled, re-enable it (Bug#11963).
5676
88ded8ac
MR
56772012-10-13 Martin Rudalics <rudalics@gmx.at>
5678
5679 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5680 non-nil, restore window configuration (Bug#12623).
5681
bd0ffffd
SM
56822012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5683
06485aa8
SM
5684 * help-fns.el (describe-variable, describe-function-1):
5685 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5686
bd0ffffd
SM
5687 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5688
3a989246
GM
56892012-10-12 Glenn Morris <rgm@gnu.org>
5690
5691 * mail/rmailsum.el (rmail-header-summary):
5692 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5693
55cd00c8
FEG
56942012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5695
bd0ffffd
SM
5696 * progmodes/python.el (python-mode-map):
5697 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
5698 (python-nav--up-list): Fix behavior for blocks on the same level.
5699
ac9fc2c7
SM
57002012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5701
d8cc4c00 5702 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 5703
5253a5fd
SM
5704 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5705 changes to the format of load-history.
5706
ac9fc2c7
SM
5707 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5708 completion-ignore-case in case that var is buffer-local (bug#12615).
5709
cde44a77
KH
57102012-10-11 Kenichi Handa <handa@gnu.org>
5711
5712 * international/eucjp-ms.el: Re-generated.
5713
4ef4a10d
KH
57142012-10-10 Kenichi Handa <handa@gnu.org>
5715
5716 * select.el (xselect--encode-string): If a coding is specified for
5717 selection, and that is compatible with COMPOUND_TEXT, use it.
5718
9d7f027b
MR
57192012-10-10 Martin Rudalics <rudalics@gmx.at>
5720
5721 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
5722 (switch-to-buffer):
5723 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 5724
238f3a58
SM
57252012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5728 Don't document nil as a useful value (bug#12583).
5729
1d51f99c
MA
57302012-10-09 Michael Albinus <michael.albinus@gmx.de>
5731
238f3a58
SM
5732 * net/tramp.el (tramp-debug-message):
5733 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
5734 (with-tramp-progress-reporter): Rename from
5735 `tramp-with-progress-reporter'.
238f3a58
SM
5736 (with-tramp-file-property, with-tramp-connection-property):
5737 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
5738 `with-connection-property', respectively.
5739
5740 * net/tramp-cache.el: Remove `with-file-property' and
5741 `with-connection-property'.
5742
5743 * net/tramp.el:
5744 * net/tramp-gvfs.el:
5745 * net/tramp-sh.el:
5746 * net/tramp-smb.el: Adapt callees.
5747
5748 * net/trampver.el: Update release number.
5749
26b77251
GM
57502012-10-09 Glenn Morris <rgm@gnu.org>
5751
9a5f296f
GM
5752 * w32-fns.el (set-message-beep):
5753 * term/w32-win.el (set-message-beep): Update declarations.
5754
94c66ce5
SM
57552012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5756
10766e9e
SM
5757 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5758 (mode-line-widen, mode-line-input-method-map)
5759 (mode-line-coding-system-map, mode-line-remote)
5760 (mode-line-unbury-buffer, mode-line-bury-buffer)
5761 (mode-line-next-buffer, mode-line-previous-buffer):
5762 Replace save-selected-window+select-window => with-selected-window.
5763
f754db08
SM
5764 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5765 * progmodes/cc-vars.el (bq-process): Remove, unused.
5766
94c66ce5
SM
5767 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5768
a4ff7fe1
FEG
57692012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5770
5771 Implemented `backward-up-list'-like navigation.
5772 * progmodes/python.el (python-nav-up-list)
5773 (python-nav-backward-up-list): New functions.
5774 (python-mode-map): Define substitute key for backward-up-list to
5775 python-nav-backward-up-list.
5776
24517d82
FEG
57772012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5778
5779 * progmodes/python.el (python-fill-paragraph): Rename from
5780 python-fill-paragraph-function. Fixed fill-paragraph for
5781 decorators (Bug#12605).
5782
51867ae2
FEG
57832012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5784
5785 * progmodes/python.el (python-shell-output-filter): Handle extra
5786 carriage return in OSX (Bug#12409).
5787
a5b773c4
FEG
57882012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5789
5790 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 5791 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
5792 (python-syntax-propertize-function): Use it.
5793 (python-shell-output-syntax-table): New var.
5794 (inferior-python-mode): Prevent unbalanced parens/quotes from
5795 previous output mess with current input context.
5796
13373538
JB
57972012-10-08 Juanma Barranquero <lekktu@gmail.com>
5798
5799 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5800 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5801
775a132d
MA
58022012-10-08 Michael Albinus <michael.albinus@gmx.de>
5803
5804 * ffap.el (ffap-replace-file-component): Support Tramp file name
5805 syntax, not only ange-ftp's one.
5806
3ab44929
GM
58072012-10-08 Glenn Morris <rgm@gnu.org>
5808
57f1dee4
GM
5809 * cus-start.el (message-log-max): Set :version.
5810
3ab44929
GM
5811 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5812
6a088630
MR
58132012-10-08 Martin Rudalics <rudalics@gmx.at>
5814
5815 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5816 the minibuffer window (Bug#10851).
5817
8dbce54c
FEG
58182012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5819
5820 Enhancements on forward-sexp movement.
5821 * progmodes/python.el (python-nav-beginning-of-statement)
5822 (python-nav-end-of-statement): Return point-marker.
5823 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5824 (python-info-current-symbol)
5825 (python-info-statement-starts-block-p): Rename from
5826 python-info-beginning-of-block-p.
5827 (python-info-statement-ends-block-p): Rename from
5828 python-info-end-of-block-p.
5829 (python-info-beginning-of-statement-p)
5830 (python-info-end-of-statement-p)
5831 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5832 New functions.
5833
5acd2b3e
SM
58342012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5837 frame-selected-windows.
5838
e08348a0
DC
58392012-10-08 Daniel Colascione <dancol@dancol.org>
5840
5841 * battery.el (battery-status-function): Check for
5842 w32-battery-status itself, not system-time windows-nt.
5843
5844 * frame.el: Require cl-lib.
5845 (display-format-alist): New variable mapping frame types to
5846 functions that initialize them.
5847 (window-system-for-display): New function: interprets
5848 display-format-alist.
5849 (make-frame-on-display): Remove existing display-selection logic
5850 and just forward to make-frame, which will now DTRT.
5851 (make-frame): Restructure to use window-system-for-display to
5852 figure out how to create a frame on a given display.
5853 (display-mouse-p): Look for frame-type w32, not a particular
5854 system-type.
5855
5856 * loadup.el: Load w32 lisp code when we have the w32 feature.
5857
5858 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5859 system-type windows-nt.
5860
5861 * server.el (server-create-window-system-frame): Look for window
5862 type.
5863 (server-proces-filter): Only force a window system when windows-nt
5864 _and_ w32. Explain why.
5865
5866 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5867 of window systems we configure for the mode.
5868
5869 * startup.el (command-line): Mark window system is initialized
5870 after we've done it.
5871
5872 * common-win.el (x-select-text): Look for w32, not windows-nt.
5873
5874 * ns-win.el: Require cl-lib. Add ourselves to
5875 display-format-alist.
5876 (ns-initialize-window-system): Assert we're not initialized twice.
5877
5878 * w32-win.el: Enable lexical binding; require cl-lib; add
5879 ourselves to display-format-alist.
5880 (w32-handle-dropped-file): Convert incoming dropped files from
5881 Windows paths to Cygwin ones before passing them on to the rest of
5882 Emacs.
5883 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5884 (w32-initialize-window-system): Assert we're not initialized twice.
5885
5886 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5887 (x-initialize-window-system): Assert we're not initialized twice.
5888
5889 * w32-common-fns.el: New File.
5890 (w32-version, w32-using-nt, w32-get-clipboard-data)
5891 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5892 (w32-charset-info-alist, x-last-selected, text)
5893 (x-get-selection-value, x-selection-value): Move here.
5894
5895 * w32-fns.el: Require w32-common-fns.
5896 (w32-version, w32-using-nt, w32-get-clipboard-data)
5897 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5898 (w32-charset-info-alist, x-last-selected, text)
5899 (x-get-selection-value, x-selection-value): Move to
5900 w32-common-fns.
5901
5902 * w32-vars.el:
5903 (w32-allow-system-shell, w32-system-shells): Define only in
5904 non-cygwin case.
5905
795b1482
SM
59062012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5909 (read-passwd): Remove a few more potential sources of leaks.
5910
f27c99dc
FEG
59112012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5912
5913 * progmodes/python.el (inferior-python-mode)
795b1482 5914 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
5915 variables copied from parent buffer.
5916
fcacb558
JD
59172012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5918
5919 * term/ns-win.el (ns-read-file-name): Update declaration to match
5920 nsfns.m.
b9edfa5c 5921 (ns-respond-to-change-font): Change fontsize separately so we are sure
fcacb558
JD
5922 it is set when font is acted upon.
5923
be0d5bae
FEG
59242012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5925
5926 Enhancements to indentation.
5927 * progmodes/python.el (python-indent-context): Give priority to
5928 inside-string context. Make comments indentation markers.
5929 (python-indent-region): Do not mess with strings, unless it's the
5930 enclosing set of quotes.
5931
13af0d10
SM
59322012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5933
662a9d0e
SM
5934 * window.el (internal--before-save-selected-window)
5935 (internal--after-save-selected-window): New functions extracted from
5936 save-selected-window. Make sure we return the `alist' we construct.
5937 (save-selected-window): Use them.
5938
5939 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5940 Use with-selected-window.
5941
13af0d10
SM
5942 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5943 forms that define macros (bug#12593).
5944
6aa75fb6
KH
59452012-10-07 Kenichi Handa <handa@gnu.org>
5946
13af0d10
SM
5947 * international/mule-conf.el (compound-text-with-extensions):
5948 Add :mime-charset property as x-ctext.
6aa75fb6 5949
78d876b9
SM
59502012-10-07 Stefan Merten <smerten@oekonux.de>
5951
5952 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5953 (rst-indent-literal-normal, rst-indent-literal-minimized)
5954 (rst-indent-comment): Correct :version tag.
557337e9 5955 (rst-official-cvs-rev): Correct version string.
78d876b9 5956
99a1e701
GM
59572012-10-07 Glenn Morris <rgm@gnu.org>
5958
5959 * mail/rmailmm.el (rmail-mime-process-multipart):
5960 Do not confuse a multipart message with an epilogue
5961 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5962
08f18c3d
FEG
59632012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5964
5965 Fix shell output retrieval and comint-prompt-regexp init.
5966 * progmodes/python.el (inferior-python-mode):
5967 (python-shell-make-comint): Fix initialization of
5968 comint-prompt-regexp from copied file local variables.
5969 (python-shell-fetched-lines): Remove var.
5970 (python-shell-output-filter-in-progress): Rename from
5971 python-shell-fetch-lines-in-progress.
5972 (python-shell-output-filter-buffer): Rename from
5973 python-shell-fetch-lines-string.
5974 (python-shell-fetch-lines-filter): Delete function.
5975 (python-shell-output-filter): New function.
5976 (python-shell-send-string-no-output): Use them.
5977
82ed3ab4
GM
59782012-10-07 Glenn Morris <rgm@gnu.org>
5979
1595ecfa
GM
5980 * hi-lock.el (hi-lock-process-phrase):
5981 Try to make it less fragile. (Bug#7161)
5982
82ed3ab4
GM
5983 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5984
f1f4dba0
GM
59852012-10-06 Glenn Morris <rgm@gnu.org>
5986
addc11ed 5987 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
5988 non-existent mode `help'.
5989 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 5990
460042b8
GM
5991 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5992 (reftex-create-bibtex-footer): Fix custom types.
5993
67667c70
GM
5994 * progmodes/sh-script.el (sh-indent-after-continuation):
5995 Add explicit :group.
5996
18dec750
GM
5997 * textmodes/rst.el (rst-preferred-decorations)
5998 (rst-shift-basic-offset): Clarify obsolescence versions.
5999
d1a1c7e6
GM
6000 * profiler.el (profiler): Add missing group :version tag.
6001 * avoid.el (mouse-avoidance-banish-position):
6002 * proced.el (proced-renice-command):
6003 * calc/calc.el (calc-ensure-consistent-units):
6004 * calendar/icalendar.el (icalendar-import-format-uid):
6005 * net/tramp.el (tramp-save-ad-hoc-proxies):
6006 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6007 * progmodes/flymake.el (flymake-error-bitmap)
6008 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6009 * progmodes/sh-script.el (sh-indent-after-continuation):
6010 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6011 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6012 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6013 (vhdl-array-index-record-field-in-sensitivity-list)
6014 (vhdl-indent-comment-like-next-code-line):
6015 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6016 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6017 (reftex-cite-key-separator, reftex-create-bibtex-header)
6018 (reftex-create-bibtex-footer):
6019 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6020 (rst-indent-literal-normal, rst-indent-literal-minimized)
6021 (rst-indent-comment): Add missing custom :version tags.
6022
ef35abb4
GM
6023 * calendar/timeclock.el (timeclock-modeline-display):
6024 Add missing obsolete alias for renamed user option.
6025
d1aae614
GM
6026 * strokes.el (strokes-modeline-string):
6027 * emulation/crisp.el (crisp-mode-modeline-string):
6028 * eshell/esh-mode.el (eshell-status-in-modeline):
6029 Aliases to defcustoms must come before the defcustom.
6030
f1f4dba0
GM
6031 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6032 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6033 (cal-tex-cursor-week-monday): Doc fixes.
6034 (cal-tex-cursor-week2-summary): Doc fix.
6035 Rename from cal-tex-cursor-week-at-a-glance.
6036
6037 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6038 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6039
6040 * calendar/calendar.el (calendar-mode-map):
6041 Add cal-tex-cursor-week2-summary.
6042
d39109c3
SM
60432012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6044
685f87b0
SM
6045 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6046
d39109c3
SM
6047 * subr.el (read-passwd-map): New var.
6048 (read-passwd): Use `read-string' again.
6049 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6050
5694896d
J
60512012-10-06 Jambunathan K <kjambunathan@gmail.com>
6052
6053 * register.el (append-to-register, prepend-to-register):
6054 Deactivate mark, as does `copy-to-register' (bug#12389).
6055
9414dd8d
CY
60562012-10-06 Chong Yidong <cyd@gnu.org>
6057
6058 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6059
2b89bca4
KH
60602012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6061
6062 * international/characters.el: Fix simple mistake ((car chars) ->
6063 elt), delete duplicated code.
6064
d5acb99a
GM
60652012-10-06 Glenn Morris <rgm@gnu.org>
6066
6067 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6068
123ec157
JS
60692012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6070
6071 * color.el (color-hsl-to-rgb): Fix incorrect results for
6072 small and large hue values. (Bug#12559)
6073
7fa36ccb
FEG
60742012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6075
6076 Enhancements to docstring formatting when filling paragraphs.
6077 * progmodes/python.el (python-fill-docstring-style): Rename from
6078 python-fill-string-style. Added new style.
6079 (python-fill-string): Use new style. Better checks for
6080 docstrings.
6081
d8788e1e
GM
60822012-10-05 Glenn Morris <rgm@gnu.org>
6083
204f3953
GM
6084 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6085
d8788e1e
GM
6086 * color.el (color-name-to-rgb, color-rgb-to-hex)
6087 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6088 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6089 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6090 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6091
8d956cef
GM
6092 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6093
e8757f09 60942012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
6095
6096 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6097 to get the correct size across symlinks.
6098
e8757f09
GM
6099 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6100
0e2ae83d
JL
61012012-10-04 Juri Linkov <juri@jurta.org>
6102
6103 * replace.el (query-replace-interactive): Declare obsolete.
6104 (query-replace-read-from): Add the last incremental search string
6105 to the list of default values accessible via M-n.
6106 (map-query-replace-regexp): Use `read-regexp'.
6107 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6108 (map-query-replace-regexp, replace-string, replace-regexp):
6109 Fix docstrings to replace mentions of `query-replace-interactive'
6110 with alternatives. (Bug#12526)
6111
93cacb6d
JL
61122012-10-04 Juri Linkov <juri@jurta.org>
6113
6114 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6115 (dired-pop-to-buffer): Declare obsolete.
6116 (dired-mark-pop-up): Doc fix.
6117
fc345011
FEG
61182012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6119
6120 Allow user to set docstring style for fill-paragraph.
6121 * progmodes/python.el
6122 (python-fill-comment-function, python-fill-string-function)
6123 (python-fill-decorator-function, python-fill-paren-function):
6124 Remove :safe for defcustoms.
6125 (python-fill-string-style): New defcustom
5694896d 6126 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
6127 (python-fill-string): Honor python-fill-string-style settings.
6128
6bab5d8b
MR
61292012-10-04 Martin Rudalics <rudalics@gmx.at>
6130
6131 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6132 after setting its buffer (Bug#10805).
6133
a1a9f411
FEG
61342012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6135
6136 Fix cornercase for string syntax.
6137 * progmodes/python.el (python-syntax-propertize-function):
6138 Simplify and enhance the regexp for unescaped quotes. Now it also
6139 matches quotes in weird situations like the single quote in
6140 "something\"'".
6141 (python-syntax-stringify): Simplify num-quotes detecting code.
6142
05e153a6
GM
61432012-10-03 Glenn Morris <rgm@gnu.org>
6144
6145 * help-macro.el (three-step-help):
6146 Revert 2012-09-29 change. (Bug#12567)
6147
2e566ecb
MR
61482012-10-03 Martin Rudalics <rudalics@gmx.at>
6149
96ef9ccd
MR
6150 * menu-bar.el (kill-this-buffer): Don't do anything when
6151 `menu-frame' is not alive or visible (Bug#8184).
6152
2e566ecb
MR
6153 * emacs-lisp/debug.el (debug): When quitting the debugger window
6154 restore current buffer (Bug#12502).
6155
a96e1cb7
CY
61562012-10-02 Chong Yidong <cyd@gnu.org>
6157
5694896d
J
6158 * progmodes/hideif.el (hif-lookup, hif-defined):
6159 Handle semantic-c-takeover-hideif.
a96e1cb7 6160
b3ecad33
PE
61612012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6162
6163 Change sampling interval units from ms to ns.
6164 * profiler.el (profiler-sampling-interval): Change units
6165 from ms to ns, multiplying the default by 1000000 so that
6166 it remains 1 ms.
6167 (profiler-report-cpu-line-format): Give enough room for
6168 the maximum counters on 64-bit hosts.
6169 (profiler-report-render-calltree-1): Call them "CPU samples",
6170 not "Time (ms)", since they are not milliseconds now (and
6171 never really were).
6172
8cb51b66 61732012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 6174
5694896d
J
6175 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6176 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 6177
fd795bf4
CY
61782012-10-02 Chong Yidong <cyd@gnu.org>
6179
6180 * emacs-lisp/eieio.el: Restore Version header.
6181
fe0a74f9
SM
61822012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6183
6be9197e
SM
6184 * vc/diff-mode.el (diff--auto-refine-data): New var.
6185 (diff-hunk): Use it to delay refinement.
6186 (diff-mode): Remove overlays when we turn off font-lock.
6187
18486139
SM
6188 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6189 (table-initialize-table-fixed-width-mode)
6190 (table-set-table-fixed-width-mode): Remove functions.
6191 (table-command-list): Move initialization into declaration.
6192 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6193 (table-with-cache-buffer): Use `declare'.
6194 (table-span-cell): Simplify via CSE.
6195 (table-fixed-width-mode): Use define-minor-mode.
6196 (table-call-interactively, table-funcall, table-apply): Remove.
6197 (table-function): New function, to replace them.
6198
d83ef976
SM
6199 * bookmark.el (bookmark-search-pattern): Remove var.
6200 (bookmark-read-search-input): Remove function.
6201 (bookmark-bmenu-search): Reimplement using a minibuffer.
6202
cd386662
SM
6203 * faces.el (modeline): Remove obsolete face name.
6204
fe0a74f9
SM
6205 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6206 and give a non-nil default value.
6207 (add-change-log-entry): Simplify accordingly.
6208
9f7b98f8
DG
62092012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6210
6211 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6212 (vc-git-log-edit-toggle-amend): New function.
6213 (vc-git-log-edit-toggle-signoff): New function.
6214 (vc-git-log-edit-mode): New major mode.
6215 (vc-git-log-edit-mode-map): Keymap for it.
6216 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6217
6218 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6219 header names.
6220 (log-edit-toggle-header): New function.
6221 (log-edit-extract-headers): Accept function values in HEADERS alist.
6222
62a81506
CY
62232012-10-01 David Engster <deng@randomsample.de>
6224
6225 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6226 from symbol property and change message to be more consistent with
6227 Emacs proper.
6228 (eieio-describe-generic): Add filename for each implementation.
6229 Fix indices for generic and normal methods.
6230 (eieio-method-def, eieio-class-def): New buttons.
6231 (eieio-help-find-method-definition)
6232 (eieio-help-find-class-definition): New functions.
6233 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6234 class, constructor and method definitions.
6235
6236 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6237 information in symbol property.
6238 (scoped-class): Remove.
6239 (eieio-slot-name-index, call-next-method): Check if it is bound.
6240
62412012-10-01 Leo P. White <lpw25@cam.ac.uk>
6242
6243 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6244 (eieio-custom-mode): New major mode.
6245 (eieio-customize-object): Use it.
6246
62472012-10-01 Eric Ludlam <zappo@gnu.org>
6248
6249 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6250 specifying the expected class, and whether subclassing is allowed.
6251 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
6252 (eieio-persistent-validate/fix-slot-value)
6253 (eieio-persistent-slot-type-is-class-p): New functions.
6254 (eieio-named::slot-missing): Doc fix.
62a81506
CY
6255
6256 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6257 Stop using unused publd variable.
6258
6259 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6260 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6261 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6262 (eieio-speedbar-handle-click): Do not specify a class for the
6263 method. Fixes method invocation order problems with EDE.
6264
375e49d4
SM
62652012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6268 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6269
16ce6ccd
KF
62702012-10-01 Karl Fogel <kfogel@red-bean.com>
6271
6272 * bookmark.el (bookmark-version-control): Give tags in the
6273 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
6274 (bookmark-write-file): Bind `print-circle' to `t' to allow
6275 circular custom bookmark types. (Bug#12503)
16ce6ccd 6276
19e54a4d
PE
62772012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6278
86ec63ba
PE
6279 Revert the FOLLOW-SYMLINKS change for file-attributes.
6280 * files.el (remote-file-name-inhibit-cache, after-find-file):
6281 * time.el (display-time-file-nonempty-p): Undo last change.
6282
19e54a4d
PE
6283 * profiler.el (profiler-sampling-interval): Change default back to 1.
6284 See Stefan Monnier in
6285 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6286
0478776b
FEG
62872012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6288
6289 Shell output catching a la gud-gdb.
6290 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
6291 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6292 New Vars.
0478776b
FEG
6293 (python-shell-fetch-lines-filter): New function.
6294 (python-shell-send-string-no-output): Use them.
6295
c22bac2c
TM
62962012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6297
6298 * profiler.el (profiler-sampling-interval): Rename from
6299 profiler-sample-interval.
6300 (profiler-sampling-interval): Default to 10.
6301 (profiler-find-profile): New command (was profiler-find-log).
6302 (profiler-find-profile-other-window): New command.
6303 (profiler-find-profile-other-frame): New command.
6304 (profiler-profile): Introduce API-level data structure.
6305
e7a2937b
PE
63062012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6307
6308 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6309 * files.el (remote-file-name-inhibit-cache):
6310 * time.el (display-time-file-nonempty-p): Use it.
6311 * files.el (after-find-file): Don't chase links before calling
6312 file-exists-p, as file-exists-p already does the right thing.
6313
4f595e15
RA
63142012-09-30 Ralf Angeli <angeli@caeruleus.net>
6315
6316 Merge from standalone RefTeX repository.
6317
6318 The following ChangeLog entries are shortened versions of the
6319 original ones with file paths adapted. A not so strongly edited
6320 version of the original ChangeLog can be found in the commit log.
6321
6322 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
6323 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6324 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
6325
6326 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
6327 that entries with whitespace at various places are found.
6328 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
6329 Include @String definitions in the resulting bib file. Add header
6330 and footer defined in `reftex-create-bibtex-header' and
6331 `reftex-create-bibtex-footer'.
6332 (reftex-do-citation): Make it possible again to insert
6333 non-existent entries. Save match data when asking for optional
6334 arguments. Return all keys, not just the first one.
6335 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6336 all citations in the same line.
6337 (reftex-parse-bibtex-entry): Accept additional optional argument
6338 `raw' and keep quotes or braces if it is non-nil. Match fields
6339 containing hyphens besides word constituents.
6340 (reftex-get-string-refs): New function.
6341 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6342 and ask if it should be reread in case it did.
6343 (reftex-pop-to-bibtex-entry)
6344 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6345 entries with spaces or tabs in front of arguments.
6346 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
6347 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6348 Match entries containing numbers and symbol constituents.
6349 (reftex-do-citation, reftex-figure-out-cite-format):
6350 Use `reftex-cite-key-separator'.
4f595e15
RA
6351
6352 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6353 (reftex-mouse-view-crossref): Explain why point is set.
6354
6355 * textmodes/reftex-global.el: Whitespace changes.
6356
6357 * textmodes/reftex-index.el: Move provide statement to end of
6358 file.
6359 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6360 (reftex-index-visit-phrases-buffer): Set marker when visiting
6361 buffer. This allows for returning from the phrases file to the
6362 file one was just editing instead of the file where the last
6363 phrases was added from.
6364 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6365 punctuation syntax as it usually is not used as string quote in
6366 TeX-related modes and may occur unmatched. The change also
6367 prevents fontification of quoted content.
6368 (reftex-index-phrases-mode): Use it.
6369
375e49d4
SM
6370 * textmodes/reftex-parse.el (reftex-parse-from-file):
6371 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
6372 (reftex-parse-from-file): Use beginning of match instead of end as
6373 bound.
6374
6375 * textmodes/reftex-ref.el: Adapt creation of
6376 `reftex-<package>-<macro>' functions to new structure of
6377 `reftex-ref-style-alist'.
375e49d4
SM
6378 (reftex-reference): Use `reftex-ref-style-list' function.
6379 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
6380 reference macro if `reftex-ref-macro-prompt' is non-nil.
6381 (reftex-reference): Pass refstyle to `reftex-format-special'.
6382 Determine reference macro by looking at
375e49d4
SM
6383 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6384 Use only one special format function.
4f595e15
RA
6385 (reftex-varioref-vref, reftex-fancyref-fref)
6386 (reftex-fancyref-Fref): Remove definitions. The functions are now
6387 generated from `reftex-ref-style-alist'.
6388 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6389 Remove.
6390 (reftex-format-special): New function.
6391
6392 * textmodes/reftex-sel.el
6393 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6394 of `reftex-ref-style-alist'. Remove code for testing macro type.
6395 (reftex-select-toggle-varioref)
6396 (reftex-select-toggle-fancyref): Remove.
6397 (reftex-select-cycle-ref-style-internal)
6398 (reftex-select-cycle-ref-style-forward)
6399 (reftex-select-cycle-ref-style-backward): New functions.
6400 (reftex-select-label-map): Use `v' and `V' for general cycling
6401 through reference styles. Add `p' for switching between number
6402 and page reference types.
6403
375e49d4
SM
6404 * textmodes/reftex-toc.el (reftex-re-enlarge):
6405 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
6406 the horizontal version throws an error even if the parameter is 0.
6407
6408 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6409 (reftex-plug-into-AUCTeX): Doc fix.
6410 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6411 string. Adapt to new name.
6412 (reftex-ref-style-alist): Change structure so that it is not
6413 possible to use multiple different package names within a style.
375e49d4
SM
6414 Remove the symbols for symbols for macro type distinction.
6415 Add characters for macro selection.
4f595e15
RA
6416 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6417 (reftex-create-bibtex-footer): New variables.
6418 (reftex-format-ref-function): Mention third argument of special
6419 format function.
375e49d4
SM
6420 (reftex-ref-style-alist, reftex-ref-style-default-list):
6421 New variables.
4f595e15
RA
6422 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6423 to new implementation. Mark as obsolete. Add compatibility code
6424 for honoring the variable values in case they are set.
375e49d4
SM
6425 (reftex-cite-format-builtin, reftex-bibliography-commands):
6426 Add support for ConTeXt.
6427 (reftex-format-ref-function, reftex-format-cite-function):
6428 Fix custom type.
4f595e15
RA
6429 (reftex-cite-key-separator): New variable.
6430
6431 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6432 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6433 `reftex-syntax-table' because parens have to retain their paren
6434 syntax in order for parsing of BibTeX entries like @book(...) to
6435 work.
6436 (reftex-in-comment): Do not error out if `comment-start-skip' is
6437 not set. Deal correctly with escaped comment characters.
375e49d4
SM
6438 (reftex-tie-multifile-symbols): Add doc string.
6439 Initialize `reftex-ref-style-list'.
4f595e15
RA
6440 (reftex-untie-multifile-symbols): Add doc string.
6441 (reftex-add-index-macros): Doc fix.
6442 (reftex-ref-style-activate, reftex-ref-style-toggle)
6443 (reftex-ref-style-list): New functions.
6444 (reftex-mode-menu): Use them. Adapt to new structure of
6445 `reftex-ref-style-alist'.
6446 (reftex-select-with-char): Kill the RefTeX Select buffer when
6447 done.
6448 (reftex-remove-if): New function.
6449 (reftex-erase-all-selection-and-index-buffers)
6450 (reftex-mode-menu): Reference styles are now computed from
6451 `reftex-ref-style-alist'. Fix typo.
6452 (reftex-report-bug): New function.
6453 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6454 algorithms with O(n log n). Introduce optional argument SORT (not
6455 yet used).
6456
440ba395
FEG
64572012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6458
6459 Enhancements for triple-quote string syntax.
375e49d4
SM
6460 * progmodes/python.el (python-syntax-propertize-function):
6461 Match both quote cases in one regexp.
440ba395
FEG
6462 (python-syntax-stringify): Handle matches properly.
6463
4c478e6b
JL
64642012-09-30 Juri Linkov <juri@jurta.org>
6465
6466 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 6467 to nil around the call to `insert' to prevent
4c478e6b
JL
6468 directory time modification by lock_file. (Bug#2295)
6469 * tar-mode.el (tar-summarize-buffer): Idem.
6470
d80d54b2
JL
64712012-09-30 Juri Linkov <juri@jurta.org>
6472
6473 * facemenu.el (list-colors-sort): Add option "Luminance".
6474 (list-colors-sort-key): Implement it.
6475
6476 * vc/diff-mode.el (diff-refine-removed):
6477 * vc/ediff-init.el (ediff-fine-diff-A):
6478 * vc/smerge-mode.el (smerge-refined-removed):
6479 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6480
d7e642cc
JD
64812012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6482
6483 * term/ns-win.el (x-file-dialog): New function.
6484
ee41332b
JB
64852012-09-30 Juanma Barranquero <lekktu@gmail.com>
6486
6487 * ido.el (ido-max-directory-size): Default to nil; the current
6488 default is small for POSIX systems, and impractical on Windows 7
6489 now that lstat returns directory sizes for NTFS.
6490
5938d519
MR
64912012-09-30 Martin Rudalics <rudalics@gmx.at>
6492
6493 In buffer display functions handle window-height/window-width
6494 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
6495 * window.el (window--display-buffer): New argument ALIST.
6496 Obey window-height and window-width alist entries.
6497 (window--try-to-split-window): New argument ALIST.
6498 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
6499 changed and window-combination-limit equals `window-size'.
6500 (display-buffer-in-atom-window)
6501 (display-buffer-in-major-side-window)
6502 (display-buffer-in-side-window, display-buffer-same-window)
6503 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6504 (display-buffer-pop-up-window, display-buffer-below-selected)
6505 (display-buffer-at-bottom, display-buffer-in-previous-window)
6506 (display-buffer-use-some-window): Adjust all callers of
6507 window--display-buffer and window--try-to-split-window.
6508 (fit-frame-to-buffer): New option.
6509 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6510 is non-nil.
6511 (display-buffer-in-major-side-window): Evaluate window-height /
6512 window-width alist entries.
6513
6514 * help.el (temp-buffer-resize-frames)
6515 (temp-buffer-resize-regexps): Remove options.
6516 (temp-buffer-resize-mode): Adjust doc-string.
6517 (resize-temp-buffer-window): Don't consult
6518 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6519 temp-buffer-resize-frames.
6520
375e49d4
SM
6521 * dired.el (dired-mark-pop-up):
6522 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
6523 entry.
6524
c4c0c2df
CY
65252012-09-30 Chong Yidong <cyd@gnu.org>
6526
48de8b12
CY
6527 * server.el (server-host): Document the security implications.
6528 (server-auth-key): Doc fix.
6529
6530 * startup.el (initial-buffer-choice): Doc fix.
6531
6532 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6533
a97dc380
CY
6534 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6535 restriction change.
6536
d39d3c8e
CY
6537 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6538
c4c0c2df
CY
6539 * help-fns.el (help-fns--obsolete): Fix last change.
6540
98a5e33b
SM
65412012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6542
34cf6f39
SM
6543 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6544 (minor-mode-map-alist): Remove redundant code.
6545
e01c13fe
SM
6546 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6547 visited in a buffer.
6548 (cvs-insert-visited-file): New function.
6549 (find-file-hook): Use it.
6550
6551 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6552
02661b3a
SM
6553 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6554 chose face.
6555 (log-edit-empty-buffer-p): Don't require a space after a header.
6556
43711d4b
SM
6557 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6558
38a30d64
SM
6559 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6560
4ffb41a9
SM
6561 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6562 a proper minor-mode.
6563
98a5e33b
SM
6564 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6565
de82e29b
GM
65662012-09-29 Glenn Morris <rgm@gnu.org>
6567
5cc2e639
GM
6568 * winner.el (winner-mode): Remove variable (let define-minor-mode
6569 handle it).
6570 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6571 Doc fixes.
6572 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6573 (winner-mode): Use define-minor-mode.
6574
7bd302eb
GM
6575 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6576 the full definition in loaddefs, rather than duplicating it.
6577
2923922f 6578 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 6579
0e3e4156
GM
6580 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6581 (inferior-lisp-program, inferior-lisp-load-command)
6582 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 6583 No need to autoload defcustoms.
0e3e4156 6584
de82e29b
GM
6585 * hippie-exp.el (hippie-expand-try-functions-list)
6586 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6587 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6588 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 6589 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
6590 * progmodes/vhdl-mode.el (vhdl-line-expand):
6591 Explicitly load hippie-exp, so it does not get autoloaded
6592 while hippie-expand-try-functions-list is let-bound.
6593
e60b51ab
GM
65942012-09-28 Glenn Morris <rgm@gnu.org>
6595
277f0cfa
GM
6596 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6597
e60b51ab
GM
6598 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6599 Only "cl.el" counts as cl these days.
6600
53baf48a
JL
66012012-09-28 Juri Linkov <juri@jurta.org>
6602
6603 Display archive errors in the echo area instead of inserting
6604 to the file buffer.
6605
6606 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6607 to STDERR-TEST that can be a regexp matching a successful output.
6608 Create a temporary file and redirect stderr to it. Search for
6609 STDERR-TEST in the stderr output and display it in the echo area
6610 if no match is found.
6611 (archive-extract-by-file): New function like
6612 `archive-extract-by-stdout' but extracting archives to files
6613 and looking for successful matches in stdout. Function body is
6614 mostly copied from `archive-rar-extract'.
6615 (archive-rar-extract): Use `archive-extract-by-file'.
6616 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6617
9c1228c3
LL
66182012-09-28 Leo Liu <sdl.web@gmail.com>
6619
375e49d4
SM
6620 * pcomplete.el (pcomplete-show-completions):
6621 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 6622
9c1228c3
LL
6623 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6624
7f457c06
SM
66252012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6626
3df749b0
SM
6627 * type-break.el: Use lexical-binding.
6628 (type-break-mode): Use define-minor-mode.
6629
7f457c06
SM
6630 * emacs-lisp/pcase.el (pcase--mark-used): New.
6631 (pcase--u1): Use it (bug#12512).
6632
6633 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6634 in load-history with the right file name.
6635
c00ebc98
TH
66362012-09-28 Tassilo Horn <tsdh@gnu.org>
6637
6638 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6639 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6640 (doc-view-get-bounding-box): Make bounding box slicing work for
6641 ODF and DVI documents.
6642
96fb7170
GM
66432012-09-28 Glenn Morris <rgm@gnu.org>
6644
6645 * type-break.el (type-break-mode, type-break-interval)
6646 (type-break-good-rest-interval, type-break-keystroke-threshold):
6647 No need to autoload.
6648 (type-break-good-rest-interval, type-break-keystroke-threshold):
6649 Add :set-after.
6650
5bc93c67
CY
66512012-09-28 Chong Yidong <cyd@gnu.org>
6652
6653 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6654 Add :version tag.
6655
9cad61d6
SM
66562012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6657
e28e67b3 6658 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 6659
daee954c
GM
66602012-09-27 Glenn Morris <rgm@gnu.org>
6661
a88324d4
GM
6662 * faces.el (x-display-name): Declare (for without-x builds).
6663
8e5064e5
GM
6664 * linum.el (linum-format): Don't autoload it. Improve :type.
6665
cc1783c2
GM
6666 * progmodes/tcl.el: Don't require outline when compiling.
6667 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
6668 * textmodes/sgml-mode.el: Don't require outline when compiling.
6669 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6670
48c339f2
GM
6671 * term.el (term-ansi-reset):
6672 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6673
daee954c
GM
6674 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6675 files for RCS and SCCS. (Bug#9781)
6676
b7f42161
CY
66772012-09-27 Chong Yidong <cyd@gnu.org>
6678
6679 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6680 change; value should be t.
6681
a2e770db
SM
66822012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6683
83600dc8
SM
6684 * image-mode.el: Use lexical-binding.
6685 (image-mode-winprops): Use t to stand for the window of
6686 a buffer that's not displayed.
6687 * doc-view.el (doc-view-new-window-function): Handle the new
6688 t in winprops.
6689 (doc-view-enlarge): Make it a real nop if the size is not changed.
6690 (doc-view-display): Handle the case where the buffer is not (yet?)
6691 displayed in any window.
6692 (doc-view-saved-settings): New var.
6693 (doc-view-mode): Use it.
6694 (doc-view-fallback-mode): Set it.
6695
a2e770db
SM
6696 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6697 Set lexical-binding.
6698 (minibuffer-eldef-shorten-default): New var.
6699 (minibuffer-default-in-prompt-regexps): Use it for new default.
6700 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6701
e3b60857
JB
67022012-09-26 Juanma Barranquero <lekktu@gmail.com>
6703
6704 * international/uni-bidi.el:
6705 * international/uni-category.el:
6706 * international/uni-name.el:
6707 * international/uni-numeric.el: Regenerate.
6708
3a880af4
SM
67092012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6710 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * profiler.el: New file.
6713
07b1a5fb
SM
67142012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6715
6716 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6717 (testcover-reinstrument): Simplify with CSE.
6718
42019c2e
JB
67192012-09-26 Juanma Barranquero <lekktu@gmail.com>
6720
6721 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6722
179f044b
WS
67232012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6724
6725 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6726 (verilog-auto-input, verilog-auto-insert-lisp)
6727 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6728 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6729 (verilog-auto-unused, verilog-auto-wire)
6730 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6731 newline. Reported by Andrew Jones.
6732 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6733 Reported by Brad Dobbie.
07b1a5fb
SM
6734 (verilog-batch-delete-trailing-whitespace):
6735 Create verilog-batch-delete-trailing-whitespace.
6736 Reported by Brad Dobbie.
179f044b
WS
6737 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6738 parameters from another module. Reported by Dan Katz.
6739 (verilog-auto, verilog-auto-assign-modport)
6740 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6741 AUTOINOUTMODPORT for UVM interface module shell generation.
6742 Reported by Brad Dobbie.
6743 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6744 standard behavior.
6745 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6746 Reported by Matt Martin.
6747
9c52dd5a
MR
67482012-09-25 Martin Rudalics <rudalics@gmx.at>
6749
6750 * window.el (window--resize-child-windows): When resizing child
6751 windows proportionally, process them in reverse order to
6752 preserve the "when splitting a window the new one gets the odd
6753 line" behavior.
6754 (window--resize-root-window-vertically): When resizing the
6755 minibuffer window try to affect only windows at the bottom of the
6756 frame. (Bug#12419)
6757
863666eb
CY
67582012-09-25 Chong Yidong <cyd@gnu.org>
6759
6760 * subr.el (declare): Doc fix.
6761
6762 * help-fns.el (help-fns--obsolete): Handle macros properly.
6763
59f7af81
CY
67642012-09-25 Chong Yidong <cyd@gnu.org>
6765
6766 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6767 this function obsolete.
6768
6769 * calendar/cal-x.el (calendar-two-frame-setup)
6770 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6771 * calendar/calendar.el (american-calendar, european-calendar)
6772 (calendar-for-loop):
6773 * comint.el (comint-dynamic-simple-complete)
6774 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6775 * desktop.el (desktop-load-default):
6776 * dired-x.el (dired-omit-here-always)
6777 (dired-hack-local-variables, dired-default-directory):
6778 * emacs-lisp/derived.el (derived-mode-class):
6779 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6780 * emacs-lock.el (toggle-emacs-lock):
6781 * epa.el (epa-display-verify-result):
6782 * epg.el (epg-sign-keys, epg-start-sign-keys)
6783 (epg-passphrase-callback-function):
6784 * eshell/esh-util.el (eshell-for):
6785 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6786 (eshell-add-to-window-buffer-names):
6787 * files.el (locate-file-completion):
6788 * imenu.el (imenu-example--create-c-index)
6789 (imenu-example--create-lisp-index)
6790 (imenu-example--lisp-extract-index-name)
6791 (imenu-example--name-and-position):
6792 * international/mule-cmds.el (princ-list):
6793 * international/mule-diag.el (decode-codepage-char):
6794 * international/mule-util.el (detect-coding-with-priority):
6795 * iswitchb.el (iswitchb-read-buffer):
6796 * mail/mailalias.el (mail-complete):
6797 * mail/sendmail.el (mail-sent-via):
6798 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6799 (mouse-major-mode-menu):
6800 * password-cache.el (password-read-and-add):
6801 * pcomplete.el (pcomplete-parse-comint-arguments):
6802 * progmodes/sh-script.el (sh-maybe-here-document):
6803 * replace.el (query-replace-regexp-eval):
6804 * savehist.el (savehist-load):
6805 * simple.el (choose-completion-delete-max-match):
6806 * term.el (term-dynamic-simple-complete):
6807 * vc/ediff-init.el (ediff-check-version):
6808 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6809 * vc/vc.el (vc-diff-switches-list):
6810 * view.el (view-return-to-alist-update): Likewise.
6811
6812 * subr.el (eval-next-after-load, makehash, insert-string)
6813 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6814 mark obsolete.
6815 (mode-line-inverse-video): Variable deleted.
6816
6817 * international/mule-util.el (string-to-sequence): Remove.
6818
6819 * calendar/calendar.el (calendar-version):
6820 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6821 (icalendar-convert-diary-to-ical):
6822 * cus-edit.el (custom-mode):
6823 * ansi-color.el (ansi-color-unfontify-region):
6824 * international/latin1-disp.el (latin1-char-displayable-p):
6825 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
6826 * progmodes/which-func.el (which-func-update-1):
6827 Use define-obsolete-function-alias.
59f7af81
CY
6828
6829 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
6830 * net/newst-treeview.el (newsticker-groups-filename):
6831 Fix incorrect obsolescence declaration.
59f7af81
CY
6832
6833 * allout.el (allout-passphrase-hint-string): Likewise.
6834 (allout-init): Use a declare form to mark obsolete.
6835
6836 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6837 this applies to functions.
6838
6839 * iswitchb.el (iswitchb-read-buffer): Move code of
6840 iswitchb-define-mode-map here, and delete that obsolete function.
6841
6842 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6843 font-lock-reference-face.
6844
cca96c97
GM
68452012-09-25 Glenn Morris <rgm@gnu.org>
6846
b06eeda8
GM
6847 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6848 Doc fixes.
6849
cca96c97
GM
6850 * eshell/em-term.el (eshell-term-name):
6851 Default to term-term-name. (Bug#12485)
6852
dc4f818b
FEG
68532012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6854
cca96c97
GM
6855 * progmodes/python.el (python-shell-send-buffer): Better handling
6856 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 6857
289c24bd
GM
68582012-09-24 Glenn Morris <rgm@gnu.org>
6859
6860 * eshell/esh-cmd.el (eshell-find-alias-function):
6861 Tighten up file-name regexp. (Bug#12499)
6862
8fb8b88f
FEG
68632012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6864
6865 Enhancements for triple-quote string syntax.
6866 * progmodes/python.el (python-quote-syntax): Remove.
6867 (python-syntax-propertize-function): New value.
07b1a5fb
SM
6868 (python-syntax-count-quotes, python-syntax-stringify):
6869 New functions.
8fb8b88f 6870
6c27f0f8
CY
68712012-09-24 Chong Yidong <cyd@gnu.org>
6872
a5f2b6ec
CY
6873 * mail/supercite.el (sc-version): Remove obsolete function.
6874 (sc-describe): Don't mark as obsolete, since it is bound.
6875 (sc-submit-bug-report): Remove.
6876
6877 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6878 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
6879 (log-edit-require-final-newline)
6880 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
6881
6882 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6883 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6884 * vc/vc.el (vc-checkout-carefully): Likewise.
6885
6886 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6887 (emerge-version): Remove.
6888
6889 * progmodes/compile.el (compile-internal): Remove.
6890 (compilation-parse-errors-function): Fix typo.
6891
6892 * international/mule.el (set-char-table-default): Remove.
6893 (set-coding-priority, make-coding-system, generic-char-p)
6894 (charset-list, charset-bytes, charset-id): Use declare to mark
6895 functions as obsolete.
6896
6897 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6898 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6899 * vc/vc-hooks.el (vc-default-registered): Don't use
6900 vc-master-templates.
6901
07b1a5fb
SM
6902 * font-lock.el (font-lock-reference-face):
6903 Use define-obsolete-variable-alias.
6c27f0f8
CY
6904
6905 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6906 * calendar/calendar.el (calendar-font-lock-keywords):
6907 * calendar/diary-lib.el (diary-font-lock-keywords)
6908 (diary-fancy-font-lock-keywords):
6909 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6910 * textmodes/reftex-index.el (reftex-insert-index):
6911 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6912 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6913 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6914 * progmodes/prolog.el (prolog-font-lock-keywords):
6915 * progmodes/idlwave.el (idlwave-idl-keywords):
6916 * progmodes/ada-mode.el (ada-font-lock-keywords):
6917 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6918
bcc0adbf
GM
69192012-09-24 Glenn Morris <rgm@gnu.org>
6920
6921 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6922
095bb823
FEG
69232012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6924
6925 * progmodes/python.el (python-indent-line): More consistent cursor
6926 movement behavior.
6927
70efc5c9
SM
69282012-09-23 Stefan Merten <smerten@oekonux.de>
6929
6930 * textmodes/rst.el: Fix compiler warning.
6931
2f438239
RW
69322012-09-23 Roland Winkler <winkler@gnu.org>
6933
07b1a5fb
SM
6934 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6935 Transcribe also LaTeX hyphenation.
2f438239
RW
6936 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6937 bibtex-reformat-previous-options.
6938
936ad041
RW
69392012-09-23 Roland Winkler <winkler@gnu.org>
6940
6941 * proced.el (proced-renice-command): New variable.
6942 (proced-marked-processes): New function.
6943 (proced-with-processes-buffer): New macro.
6944 (proced-send-signal): Use them.
6945 (proced-renice): New command bound to r.
6946
6fab0274
RW
69472012-09-23 Roland Winkler <winkler@gnu.org>
6948
6949 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6950 ibuffer-saved-filter-groups has one element, shortcut the call of
6951 completing-read. (Bug#12331)
6952
9a930676
CY
69532012-09-23 Chong Yidong <cyd@gnu.org>
6954
6955 * bindings.el (mode-line-toggle-read-only):
6956 * bs.el (bs-toggle-readonly):
6957 * buff-menu.el (Buffer-menu-toggle-read-only):
6958 * dired.el (dired-toggle-read-only):
6959 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6960
d07ff9db
CY
69612012-09-23 Chong Yidong <cyd@gnu.org>
6962
6963 * image.el (image-type-available-p): Adapt to init-image-library
6964 argument changes.
6965
51c4474e
JL
69662012-09-22 Juri Linkov <juri@jurta.org>
6967
6968 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6969 `dired-toggle-read-only'. (Bug#12462)
6970
43bf5e8e
MR
69712012-09-22 Martin Rudalics <rudalics@gmx.at>
6972
6973 * subr.el (temp-output-buffer-show): New function.
6974 (with-output-to-temp-buffer): Call temp-output-buffer-show
6975 instead of internal-temp-output-buffer-show.
6976
c88b867f
CY
69772012-09-22 Chong Yidong <cyd@gnu.org>
6978
3df47cd5
CY
6979 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6980 (Bug#12462).
6981
c88b867f
CY
6982 * repeat.el (repeat): Doc fix (Bug#12348).
6983
6984 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6985 (Bug#10909).
6986
6987 * simple.el (shell-command-on-region): Doc fix.
3171e303 6988 (read-only-mode): Doc fix.
c88b867f 6989
df9685f3
EZ
69902012-09-22 Eli Zaretskii <eliz@gnu.org>
6991
6992 * emacs-lisp/timer.el (run-with-idle-timer)
6993 (timer-activate-when-idle): Warn against reinvoking an idle timer
6994 from within its own timer action. (Bug#12447)
6995
8e17c9ba
MR
69962012-09-22 Martin Rudalics <rudalics@gmx.at>
6997
6998 * cus-start.el (window-combination-limit): Add new optional
6999 values.
7000 * window.el (temp-buffer-window-show)
7001 (window--try-to-split-window): Handle new values of
7002 window-combination-limit (Bug#1806).
7003 (split-window): Test window-combination-limit for t instead of
7004 non-nil.
7005 (display-buffer-at-bottom): New buffer display action function.
7006 * help.el (temp-buffer-resize-regexps): New option.
7007 (temp-buffer-resize-mode): Rewrite doc-string.
7008 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 7009 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 7010
48a24920
SM
70112012-09-22 Stefan Merten <smerten@oekonux.de>
7012
70efc5c9 7013 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
7014 (rst-official-version)
7015 (rst-package-emacs-version-alist): Sync with official version
7016 V1.4.0.
7017 (rst-faces-defaults, rst-set-level-default)
7018 (rst-level-face-max, rst-level-face-base-color)
7019 (rst-level-face-base-light, rst-level-face-format-light)
7020 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7021 (rst-adornment-faces-alist): Match new setup.
7022 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7023 (rst-level-5, rst-level-6): New faces.
7024
82f8cd94
CY
70252012-09-22 Chong Yidong <cyd@gnu.org>
7026
7027 * simple.el (undo): Handle indirect buffers (Bug#8207).
7028
acfa068f 70292012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
7030
7031 IDO: Disable match re-ordering for buffer switching.
2bc9406c 7032 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
7033 (ido-set-matches-1): Use it. (Bug#2042)
7034
acfa068f 70352012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
7036
7037 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7038 Fix 2011-05-17 change. (Bug#12418)
7039
acfa068f 70402012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
7041
7042 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7043
acfa068f 70442012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
7045
7046 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7047 Be more robust about locating simple.el.
7048
acfa068f 70492012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
7050
7051 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7052
acfa068f
CY
70532012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7054
7055 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7056
41a97e6f
JL
70572012-09-20 Juri Linkov <juri@jurta.org>
7058
eb2deaff
JL
7059 * replace.el (query-replace-read-from): Use `read-regexp' instead
7060 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7061 (occur-read-primary-args): Use `read-regexp' instead of
7062 `read-string'.
7063 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7064 `read-from-minibuffer'.
7065 * isearch.el (isearch-occur): Use `read-regexp' instead of
7066 `read-string'.
7067 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7068 `read-from-minibuffer'.
7069 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7070 of `read-string'. (Bug#7567)
7071
5825610b
JL
7072 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7073 and allow accepting a list of strings prepended to a list of
7074 standard default values. Doc fix. (Bug#12321)
7075
eebbf404
JL
7076 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7077
41a97e6f
JL
7078 * replace.el (read-regexp): Don't add ": " when PROMPT already
7079 ends with a colon and space. (Bug#12321)
7080
c9e452d3
TH
70812012-09-20 Tassilo Horn <tsdh@gnu.org>
7082
7083 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7084 error.
7085
ee97deee
SM
70862012-09-20 Stefan Merten <smerten@oekonux.de>
7087
70efc5c9 7088 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
7089 Fixes feature request bug#11711.
7090 (rst-mode): Create `imenu-create-index-function'.
7091 (rst-get-stripped-line): Delete after refactoring.
7092 (rst-section-tree, rst-section-tree-rec)
7093 (rst-section-tree-point): Refactor and document properly.
7094 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
7095 (rst-imenu-convert-cell, rst-imenu-create-index):
7096 New function.
ee97deee 7097
f490dab9
SM
70982012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7099
95b9712e
SM
7100 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7101 (macroexp--expand-all): Use it.
7102 (macroexp--funcall-and-return): Remove by folding it into its sole
7103 caller (macroexp--warn-and-return).
7104 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7105 Use macroexp--obsolete-warning.
7106
f490dab9
SM
7107 * calc/calc.el: Fix last change by removing the whole chunk, since it
7108 was only needed back when Calc was not bundled.
7109
96e8d411
MR
71102012-09-20 Martin Rudalics <rudalics@gmx.at>
7111
7112 * emacs-lisp/debug.el (debug): Restore assignment to
7113 debugger-old-buffer removed on 2012-09-08.
7114
0876a82d
JL
71152012-09-20 Juri Linkov <juri@jurta.org>
7116
7117 * dired-aux.el (dired-diff): Remove (require 'diff) since
7118 `diff-latest-backup-file' is now autoloaded.
7119
9f7c28f0
CY
71202012-09-20 Chong Yidong <cyd@gnu.org>
7121
7122 * vc/diff.el (diff-latest-backup-file): Autoload.
7123
7a04bee9
SM
71242012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7125
e6f0a80d
SM
7126 * calc/calc.el: Remove redundant autoload shape check.
7127 (sel-mode): Don't defvar.
7128 (calc-get-stack-element): Add `sel-mode' arg instead.
7129 (calc-top, calc-top-list): Pass it this additional argument.
7130 * calc/calc-store.el (calc-store-map):
7131 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7132 (calc-map-equation, calc-outer-product, calc-inner-product):
7133 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7134
7a04bee9
SM
7135 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7136
12734222
JL
71372012-09-19 Juri Linkov <juri@jurta.org>
7138
7139 * dired-aux.el (dired-diff): Add (require 'diff) because
7140 `diff-latest-backup-file' is not autoloaded.
7141 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7142 of `dired-get-filename' to t to not report error when there is
7143 no default file on the current line.
7144
46624b4f
SM
71452012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7146
ce97595b
SM
7147 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7148 macroexp--eval-if-compile.
7149 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7150 (macroexp--expand-all): Use them (bug#12371).
7151
46624b4f
SM
7152 * doc-view.el (doc-view-guess-paper-size)
7153 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7154
db8a5a18
TH
71552012-09-19 Tassilo Horn <tsdh@gnu.org>
7156
7157 New feature: set optimal slice from BoundingBox information.
7158 * doc-view.el (doc-view-mode-map): Add keybinding.
7159 (doc-view-menu): Add menu entry.
7160 (doc-view-set-slice): Adapt docstring.
7161 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7162 (doc-view-scale-bounding-box)
7163 (doc-view-set-slice-from-bounding-box): New functions.
7164 (doc-view-paper-sizes): New defvar.
7165
69f6644c
GM
71662012-09-19 Glenn Morris <rgm@gnu.org>
7167
35f5b19d
GM
7168 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7169 (byte-compile-log-warning): Autoload. (Bug#12371)
7170
69f6644c
GM
7171 * calendar/calendar.el (calendar-american-month-header)
7172 (calendar-european-month-header, calendar-iso-month-header)
7173 (calendar-month-header): New options.
7174 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7175 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7176
e543ae91
JD
71772012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7178
7179 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7180
2fd5e67d
JL
71812012-09-18 Juri Linkov <juri@jurta.org>
7182
7183 * dired-aux.el (dired-diff): Restore original functionality of
7184 getting the default value, but keep new feature of using the
7185 latest existing backup file (`diff-latest-backup-file').
7186
42917e79
JL
71872012-09-18 Juri Linkov <juri@jurta.org>
7188
7189 * dired.el (dired-mark): If the region is active in Transient Mark
7190 mode, mark all files in the active region. Doc fix.
7191 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7192 Doc fix. (Bug#10624)
7193
20f70ede
JL
71942012-09-18 Juri Linkov <juri@jurta.org>
7195
7196 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7197 attributes for M-n are pulled from the file at point.
7198 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7199 Suggested by Drew Adams. (Bug#10624)
7200
32fb8162
DG
72012012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7202
7203 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7204 whitespace after "end".
7205 (ruby-do-end-to-brace): Collapse block to one line if it fits
7206 within fill-column.
7207
37ab5092
MR
72082012-09-18 Martin Rudalics <rudalics@gmx.at>
7209
7210 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7211 value.
7212 (debug): Don't remove debugger window when debugger is expected
7213 to be back.
7214
ed1f0bd3
CY
72152012-09-18 Chong Yidong <cyd@gnu.org>
7216
7217 * custom.el (defface): Doc fix.
7218
7219 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7220
a11035b8
MB
72212012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7222
7223 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7224 to initialize query-on-exit; then test that instead (bug#12288).
7225
64f6a736
SM
72262012-09-17 Stefan Merten <smerten@oekonux.de>
7227
70efc5c9 7228 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
7229 (rst-defcustom-testcover, rst-testcover-add-compose)
7230 (rst-testcover-add-1value): New functions.
7231 (rst-portable-mark-active-p): Replace by `use-region-p'.
7232 (rst-update-section, rst-classify-adornment)
7233 (rst-find-title-line): Mark `1value' forms.
7234 (rst-classify-adornment): Remove superfluous form.
7235 (rst-update-section, rst-get-adornments-around)
7236 (rst-adornment-complete-p, rst-get-next-adornment)
7237 (rst-adjust, rst-promote-region)
7238 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7239 (rst-find-pfx-in-region, rst-section-tree-rec)
7240 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7241 (rst-toc-node, rst-toc, rst-forward-section)
7242 (rst-iterate-leftmost-paragraphs)
7243 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7244 (rst-bullet-list-region)
7245 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7246 (rst-compile-find-conf, rst-compile)
7247 (rst-repeat-last-character): Fix style.
7248
580bd868
CY
72492012-09-17 Chong Yidong <cyd@gnu.org>
7250
7251 * comint.el (comint--complete-file-name-data): Don't add a space
7252 if the status is `sole'; that adds a gratuitous space in the
7253 completion-cycling case (Bug#12092).
7254
7255 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7256
69de3ec6
RS
72572012-09-17 Richard Stallman <rms@gnu.org>
7258
0dee970c
RS
7259 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7260 only in the mime-shown mode, not in raw mode.
7261 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 7262 mime processing. (Bug#12305)
0dee970c 7263
6b250df6
GM
7264 * mail/rmail.el (rmail-retry-failure):
7265 Turn off mime processing first. (Bug#12037)
acb1c47b 7266
69de3ec6
RS
7267 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7268
d079ee5f
CY
72692012-09-17 Chong Yidong <cyd@gnu.org>
7270
7271 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7272 (shell-dynamic-complete-functions): Convert to defcustom.
7273 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7274
865fe16f
CY
7275 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7276 * comint.el (comint-prompt-read-only):
7277 * custom.el (defcustom):
7278 * hi-lock.el (hi-lock-mode):
7279 * ibuffer.el (ibuffer-formats):
7280 * ielm.el (ielm-prompt-read-only):
7281 * novice.el (disable-command):
7282 * saveplace.el (toggle-save-place):
7283 * speedbar.el (speedbar-supported-extension-expressions):
7284 * startup.el (auto-save-list-file-prefix, init-file-user)
7285 (after-init-hook, inhibit-startup-echo-area-message):
7286 * strokes.el (strokes-help):
7287 * time-stamp.el (time-stamp):
7288 * calendar/calendar.el (calendar, diary-file):
7289 * calendar/diary-lib.el (diary-mail-entries, diary)
7290 (diary-list-entries-hook):
7291 * calendar/holidays.el (holidays, calendar-holidays):
7292 * calendar/lunar.el (lunar-phases):
7293 * calendar/solar.el (sunrise-sunset):
7294 * emulation/edt.el (edt-load-keys):
7295 * emulation/viper.el (viper-mode):
7296 * eshell/em-alias.el (eshell-command-aliases-list):
7297 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7298 * international/ogonek.el (ogonek-information):
7299 * net/tramp-cmds.el (tramp-bug):
7300 * net/quickurl.el (quickurl-reread-hook-postfix):
7301 * play/decipher.el (decipher-font-lock-keywords):
7302 * progmodes/cc-styles.el (c-set-style):
7303 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7304 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7305 * progmodes/octave-mod.el (octave-mode):
7306 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7307 * progmodes/verilog-mode.el (verilog-read-defines):
7308 * textmodes/two-column.el (2C-mode): Likewise.
7309
48093eb9
KY
73102012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7311
7312 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7313 that holds many addresses.
7314
c584eaf9
CY
73152012-09-16 Chong Yidong <cyd@gnu.org>
7316
40d70ecb
CY
7317 * align.el (align-areas): Call the indication function with
7318 positions instead of markers for arguments (Bug#12343).
7319
1667e065
CY
7320 * files.el (parse-colon-path): Use split-string (Bug#12351).
7321
fdc2806d 7322 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 7323 (display-buffer-function): Mark as obsolete.
fdc2806d 7324
f1be615c 7325 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
7326 values similar to font-lock-keywords (Bug#12136).
7327 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
7328 (compilation-error-regexp-alist): Doc fix.
7329
f40a9709
GM
73302012-09-15 Glenn Morris <rgm@gnu.org>
7331
72aa16e1
GM
7332 * version.el (emacs-bzr-version-bzr): New function.
7333 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7334
82375160
GM
7335 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7336 checkouts, check the parent dirstate matches the branch.
7337 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7338 empty string.
7339
f40a9709
GM
7340 * version.el (emacs-bzr-version): Doc fix.
7341 (emacs-bzr-version-dirstate): New function.
7342 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7343 is local try and check that it matches the branch. If not, just
7344 use dirstate information. (Bug#12441)
7345
cb26b7f5
JL
73462012-09-14 Juri Linkov <juri@jurta.org>
7347
7348 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7349 (Bug#12399)
7350
2de39f08
SM
73512012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7352
0fb3cb7c
SM
7353 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7354
2de39f08
SM
7355 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7356 Remove obsolete byte-compiler hack that tried to silence some warnings.
7357 (edebug-submit-bug-report): Remove.
7358 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7359 Remove aliases, use the un-prefixed name instead.
7360 (edebug-pop-to-buffer): Consider other frames.
7361 (edebug-original-read):: Make it more obvious that it's always defined.
7362 (edebug--make-form-data-entry, edebug--form-data-name)
7363 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7364 single-dashed name, and implement with cl-defstruct.
7365 (edebug-set-form-data-entry): Use the standard accessors.
7366 (edebug-make-top-form-data-entry): Use push.
7367 (edebug-no-match): Drop useless `funcall'.
7368 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7369 to functions.
7370 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7371 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7372 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7373 (easy-menu-define, with-custom-print): Remove redundant specs.
7374 (edebug-outside-overriding-local-map)
7375 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7376 (edebug--display): Bind unread-command-events directly to nil rather
7377 than binding it to unread-command-events and later setting it to nil.
7378 (edebug--display): Kill edebug-eval-buffer here...
7379 (edebug--recursive-edit): ...rather than here.
7380 Bind standard-output and standard-input.
7381 (edebug-eval): Check cl-macroexpand-all is fboundp.
7382 (edebug-temp-display-freq-count): Fix last change.
7383
7384 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7385 * subr.el (noreturn, 1value): Add `debug' spec.
7386 * emacs-lisp/advice.el: Require cl-lib.
7387 (ad-copy-tree): Remove, use copy-tree instead.
7388 (ad-dolist): Remove use dolist or cl-dolist instead.
7389 (ad-do-return): Remove, use cl-return instead.
7390 (defadvice): Add `debug' spec.
7391
5b68b333
JL
73922012-09-13 Juri Linkov <juri@jurta.org>
7393
7394 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7395 (Bug#12399)
7396
b9800ec4
GM
73972012-09-13 Glenn Morris <rgm@gnu.org>
7398
6a2e6868
GM
7399 * calc/calc.el (math-compose-expr):
7400 * calc/calc-ext.el (math-compose-expr):
7401 * progmodes/cc-defs.el (cl-macroexpand-all):
7402 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7403 (cl-macroexpand-all): Update declarations.
7404
b9800ec4
GM
7405 * vc/vc.el: No need to require ediff.
7406 (ediff-load-version-control): Declare.
7407 (ediff-vc-internal): Fix declaration.
7408 (vc-version-ediff): Require ediff.
7409
c18e885b
PE
74102012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7411
7412 Use a more backwards-compatible timer format (Bug#12430).
7413 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7414 being right after USECS, as that better supports old code that
7415 inadvisedly looked directly at the timer vector.
7416
d607d303
KH
74172012-09-13 Kenichi Handa <handa@gnu.org>
7418
7419 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7420 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7421 `coding-priority' property of these language environment.
7422
72eac303
PE
74232012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7424
7425 Fix glitches caused by addition of psec to timers (Bug#12430).
7426 * image.el (image-animate-timer):
7427 * time.el (display-time-world-timer):
7428 Use timer--function and timer--args rather than raw access to
7429 timer vector.
7430
2168fe4f
GM
74312012-09-13 Glenn Morris <rgm@gnu.org>
7432
7433 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7434 If not compiling a file, try using load-file-name.
7435
bd8d6108
SM
74362012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7437
c0c54fbd
SM
7438 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7439 Fix last change.
7440 (edebug-update-eval-list): Use `push'.
7441
bd8d6108
SM
7442 * emacs-lisp/edebug.el: Use lexical-binding.
7443 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7444 Mark unused args with underscore.
7445 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7446 (edebug-form-data): Use defvar-local.
7447 (edebug-make-before-and-after-form, edebug-make-after-form):
7448 Use backquote.
7449 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7450 Not dynamically scoped any more.
7451 (edebug--enter-trace): Add arguments `function' and `args'.
7452 Rename from edebug-enter-trace.
7453 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7454 (edebug--update-coverage): Add `after-index' and `value' args.
7455 Rename from edebug-update-coverage.
7456 (edebug-slow-after): Call it accordingly.
7457 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7458 edebug-recursive-edit.
7459 (edebug--display): Call it accordingly. Add args `value',
7460 `offset-index', and `arg-mode'. Rename from edebug-display.
7461 (edebug-debugger, edebug): Call it accordingly.
7462 (edebug-eval-display-list): Use dolist.
7463
a9f9d9de
JL
74642012-09-12 Juri Linkov <juri@jurta.org>
7465
7466 * info.el (Info-search): Don't check for isearch-mode and
7467 isearch-regexp before let-binding search-spaces-regexp to
7468 Info-search-whitespace-regexp.
7469 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7470 search-whitespace-regexp if isearch-lax-whitespace or
7471 isearch-regexp-lax-whitespace is non-nil.
7472 (Info-mode): Don't set local variable search-whitespace-regexp.
7473 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7474
bfeae2cf
SM
74752012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7478 (debugger-env-macro): Remove support for unread-command-char.
7479
7480 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7481 the temporary map re-appearing on emulation-mode-map-alists.
7482
7483 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7484 since 22.1.
7485
7486 * ehelp.el (with-electric-help): Accept functions in
7487 electric-help-form-to-execute.
7488 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7489 And replace unread-command-char -> unread-command-events.
7490
fbbcaf1b
MA
74912012-09-12 Michael Albinus <michael.albinus@gmx.de>
7492
7493 Sync with Tramp 2.2.6.
7494
7495 * net/tramp.el (tramp-accept-process-output): Don't use
7496 JUST-THIS-ONE in the XEmacs case.
7497
7498 * net/trampver.el: Update release number.
7499
4dece104
MR
75002012-09-12 Martin Rudalics <rudalics@gmx.at>
7501
bfeae2cf
SM
7502 * emacs-lisp/debug.el (debugger-previous-window-height):
7503 New variable.
4dece104
MR
7504 (debug): When debugger-jumping-flag is non-nil try to restore
7505 height of debugger window. (Bug#8789)
7506
45b82ad0
SM
75072012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7508
60c49c0f
SM
7509 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7510 overriding-local-map and pre/post-command-hook here.
7511 (edebug-recursive-edit): Do it here instead (bug#12345).
7512 (edebug-outside-unread-command-char): Remove all uses of
7513 unread-command-char.
7514
45b82ad0
SM
7515 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7516 inhibit-debugger is bound instead.
7517
baa26ea0
BG
75182012-09-11 Bastien Guerry <bzg@gnu.org>
7519
7520 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 7521 (Bug#12346)
baa26ea0 7522
04e8abfa
BG
75232012-09-11 Bastien Guerry <bzg@gnu.org>
7524
96d03571 7525 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 7526 (Bug#12347)
96d03571
BG
7527
75282012-09-11 Bastien Guerry <bzg@gnu.org>
7529
fc0c31f8 7530 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 7531
04e082b0
MM
75322012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7533
7534 * progmodes/sql.el: Version 3.1
7535 (sql-db2-escape-newlines): New variable.
7536 (sql-escape-newlines-filter): Use it.
7537
399a361b
JB
75382012-09-10 Juanma Barranquero <lekktu@gmail.com>
7539
7540 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7541
0780c517
DN
75422012-09-10 Dan Nicolaescu <dann@gnu.org>
7543
45b82ad0
SM
7544 * vc/diff-mode.el (diff-mode-menu):
7545 Bind diff-remove-trailing-whitespace.
0780c517 7546
9b851e25
SM
75472012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7548
7549 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
7550 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7551 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
7552 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7553 (eval-defun-2): Remove bogus interactive spec.
7554 (lisp-indent-line): Remove redundant whole-exp code, now done in
7555 indent-according-to-mode.
7556 (save-match-data): Remove redundant indent data.
7557
7558 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7559 Use `declare'.
7560
3231d532
JL
75612012-09-09 Juri Linkov <juri@jurta.org>
7562
7563 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7564 (replace-lax-whitespace, query-replace-regexp)
7565 (query-replace-regexp-eval, replace-regexp): Doc fix.
7566 (perform-replace, replace-highlight): Let-bind
7567 isearch-lax-whitespace to replace-lax-whitespace and
7568 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7569
7570 * isearch.el (isearch-query-replace): Let-bind
7571 replace-lax-whitespace to isearch-lax-whitespace and
7572 replace-regexp-lax-whitespace to
7573 isearch-regexp-lax-whitespace. (Bug#10885)
7574
70fe8236
SM
75752012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7576
7577 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7578
8ed43f15
AM
75792012-09-09 Alan Mackenzie <acm@muc.de>
7580
70fe8236
SM
7581 * progmodes/cc-engine.el (c-state-cache-init):
7582 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7583 (c-record-parse-state-state):
7584 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 7585
bfabf70a
AS
75862012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7587
7588 * register.el (register-separator): Rename from
7589 separator-register. All uses changed. Doc fix.
7590 (register): Fix version.
7591
011474aa
CY
75922012-09-09 Chong Yidong <cyd@gnu.org>
7593
7594 * replace.el (query-replace-map): Bind four new symbols for
7595 requesting window scrolling.
7596
7597 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7598 query-replace-map (Bug#8948).
7599
7600 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7601
7602 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7603 since they are now in query-replace-map.
7604
7605 * window.el (scroll-other-window-down): Make the arg optional.
7606
a8b7cd8d
CY
76072012-09-09 Chong Yidong <cyd@gnu.org>
7608
7609 * files.el (hack-local-variables-confirm): Use quit-window to kill
7610 the *Local Variables* buffer.
7611
c3268831
DG
76122012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7613
7614 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7615 not just expect to be at its beginning. Adjust callees.
7616 Succeed when do-end block has no space before the pipe character.
7617 (ruby-brace-to-do-end): When the original block is one-liner,
7618 convert to multiline. Reindent the result.
7619
0979429b
J
76202012-09-08 Jambunathan K <kjambunathan@gmail.com>
7621
7622 * register.el (register): New group.
27359e99 7623 (separator-register): New user option.
0979429b
J
7624 (increment-register): Route it to `append-to-register', if
7625 register contains text. Implication is that `C-x r +' can now be
7626 used for appending to a text register (bug#12217).
7627 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 7628 `separator-register'.
0979429b 7629
ace2989a
AM
76302012-09-08 Alan Mackenzie <acm@muc.de>
7631
7632 AWK Mode: make auto-newline work when there's "==" in the pattern.
7633 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7634 correctly.
0979429b
J
7635 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7636 Test more rigorously for "=" token.
ace2989a 7637
616c6c36
DG
76382012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7639
0979429b
J
7640 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7641 Only fail when reached LIMIT.
616c6c36 7642
35d98877
CY
76432012-09-08 Chong Yidong <cyd@gnu.org>
7644
7645 * dired.el (dired-mode-map): Don't bind M-=.
7646
7647 * dired-aux.el (dired-diff): Use backup file as default.
7648
1715f2db
DA
76492012-09-08 Drew Adams <drew.adams@oracle.com>
7650
7651 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7652
6dcef6ec
CY
76532012-09-08 Chong Yidong <cyd@gnu.org>
7654
7655 * subr.el (syntax-after, syntax-class): Doc fix.
7656
fa2bcf43
MR
76572012-09-08 Martin Rudalics <rudalics@gmx.at>
7658
7659 * window.el (display-buffer-in-previous-window): New buffer
7660 display action function.
7661
7662 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7663 (debugger-previous-window): New variable.
7664 (debug): Rewrite using display-buffer-in-previous-window,
7665 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7666
daac280a
SM
76672012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7668
7669 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7670
9dd40b00
MM
76712012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7672
daac280a
SM
7673 * progmodes/python.el (python-shell-send-string):
7674 When default-directory is remote, create temp file on remote
9dd40b00
MM
7675 filesystem.
7676 (python-shell-send-file): When file is remote, pass local view of
7677 file paths to remote Python interpreter. (Bug#12340)
7678
145823ec
CY
76792012-09-07 Chong Yidong <cyd@gnu.org>
7680
cee2e90d
CY
7681 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7682
0d7eb2ea
CY
7683 * files.el (after-find-file): Don't fail on a read-only buffer if
7684 require-final-newline is `visit' or `visit-save' (Bug#11156).
7685
145823ec
CY
7686 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7687
daac280a
SM
7688 * userlock.el (ask-user-about-supersession-threat):
7689 Use read-char-choice (Bug#12093).
145823ec 7690
74c582e6
CY
76912012-09-07 Chong Yidong <cyd@gnu.org>
7692
e5c2edf7
CY
7693 * subr.el (buffer-narrowed-p): New function.
7694
7695 * ses.el (ses-widen):
7696 * simple.el (count-words--buffer-message):
1f9f395d 7697 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
7698
7699 * simple.el (count-words-region): Don't signal an error if there
7700 is a non-nil prefix arg and the mark is not set.
c640e87d 7701
74c582e6
CY
7702 * help.el (describe-key-briefly): Allow the message to be seen
7703 when invoked from the minibuffer (Bug#7014).
7704
d81ceaaf
DG
77052012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7706
7707 * progmodes/ruby-mode.el (ruby-end-of-defun)
7708 (ruby-beginning-of-defun): Simplify, allow indentation before
7709 block beginning and end keywords.
8f06acce
DG
7710 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7711 (ruby-end-of-defun): Expect that the point is at the beginning of
7712 the defun.
d81ceaaf 7713
d458ef98
SM
77142012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7717 (bug#12367).
7718 (cl--make-usage-args): Strip _ from argument names.
7719
20367d28
RS
77202012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7721
7722 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7723 obsolete alias speedbar-key-map.
7724 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7725 (vhdl-index-menu-init): Don't use obsolete variable
7726 font-lock-maximum-size.
7727
3424a4f6
CY
77282012-09-06 Chong Yidong <cyd@gnu.org>
7729
7730 * frame.el (window-system-version): Mark as obsolete.
7731
fcbfbdea
CY
7732 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7733 of obsolete variable speedbar-key-map.
7734
826b3235
JL
77352012-09-06 Juri Linkov <juri@jurta.org>
7736
7737 * replace.el (replace-lax-whitespace): New defcustom.
7738 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7739 (replace-string, replace-regexp): Mention it in docstrings.
7740 (perform-replace, replace-highlight): Let-bind
7741 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7742 to the values of replace-lax-whitespace and regexp-flag.
7743 Don't let-bind search-whitespace-regexp. (Bug#10885)
7744
7745 * isearch.el (isearch-query-replace): Let-bind
7746 replace-lax-whitespace instead of let-binding
7747 replace-search-function and replace-re-search-function.
7748 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7749 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7750 (isearch-toggle-symbol): Set isearch-regexp to nil
7751 in isearch-word mode (like in isearch-toggle-word).
7752
1ec5e41d
JL
77532012-09-06 Juri Linkov <juri@jurta.org>
7754
7755 * replace.el (replace-search-function)
7756 (replace-re-search-function): Set default values to nil.
7757 (perform-replace): Let-bind isearch-related variables based on
7758 replace-related values, call `isearch-search-fun' and let-bind
7759 the result to `search-function'. Remove code that sets
7760 `search-function' and `search-string' separately for
7761 `delimited-flag'.
7762 (replace-highlight): Add new argument `delimited-flag' and
7763 rename other arguments to the names used in `perform-replace'.
7764 Let-bind `isearch-word' to the argument `delimited-flag'.
7765 (Bug#10885, bug#10887)
7766
0ba2d4b6
DG
77672012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7768
7769 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7770 ruby-beginning-of-indent, simplify, allow all keywords to have
7771 indentation before them.
7772 (ruby-beginning-of-indent): Adjust for above. Search until the
7773 found point is not inside a string or comment.
7774 (ruby-font-lock-keywords): Allow symbols to start with "@"
7775 character, give them higher priority than variables.
7776 (ruby-syntax-propertize-function)
7777 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7778 matchers. Expression expansions are not comments when inside a
7779 string, and there comment syntax status is irrelevant.
7780 (ruby-match-expression-expansion): New function. Check that
7781 expression expansion is inside a string, and it's not escaped.
7782 (ruby-font-lock-keywords): Use it.
7783
ef654460
MR
77842012-09-05 Martin Rudalics <rudalics@gmx.at>
7785
7786 * help.el (temp-buffer-max-height): New default value.
7787 (temp-buffer-resize-frames): New option.
7788 (resize-temp-buffer-window): Optionally resize frame.
7789
7790 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7791 (fit-frame-to-buffer): New function.
7792
7e570fbf 77932012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
7794
7795 * emulation/cua-rect.el (cua--init-rectangles):
7796 * textmodes/picture.el (picture-mode-map):
7797 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7798 like forward-char and backward-char. (Bug#12317)
7799
7e570fbf 78002012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
7801
7802 * progmodes/flymake.el (flymake-warning-re): New variable.
7803 (flymake-parse-line): Use it.
7804
7e570fbf 78052012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
7806
7807 * calendar/holidays.el (holiday-christian-holidays):
7808 Rename an entry. (Bug#12289)
7809
7e570fbf 78102012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
7811
7812 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7813 (bug#12222).
7814
972debf2
SM
78152012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * loadup.el: Load macroexp. Remove hack.
7818 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7819 (macroexp--expand-all): Use it to get better warnings.
7820 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7821 (internal-macroexpand-for-load): New functions.
7822 (macroexp--pending-eager-loads): New var.
7823 (emacs-startup-hook): New hack to replace one in loadup.el.
7824 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7825 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7826 (cl-psetf): Simplify.
7827 (cl-defstruct): Add indent rule.
7828
8ce192e3
LI
78292012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7830
7831 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7832 over `user-mail-address' for the SMTP MAIL FROM envelope.
7833 (smtpmail-via-smtp): Ditto.
7834
6578b4d8
DG
78352012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7836
7837 * progmodes/ruby-mode.el: Clean up keybindings.
7838 (ruby-mode-map): Don't bind ruby-electric-brace,
7839 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7840 backward-kill-word, reindent-then-newline-and-indent.
7841 (ruby-mark-defun): Remove.
7842 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7843 (ruby-mode): Set local beginning-of-defun-function and
7844 end-of-defun-function values.
7845
c5e28e39
MR
78462012-09-03 Martin Rudalics <rudalics@gmx.at>
7847
7848 * window.el (temp-buffer-window-setup-hook)
7849 (temp-buffer-window-show-hook): New hooks.
7850 (temp-buffer-window-setup, temp-buffer-window-show)
7851 (with-temp-buffer-window): New functions.
972debf2
SM
7852 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7853 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
7854
7855 * help.el (temp-buffer-resize-mode): Fix doc-string.
7856 (resize-temp-buffer-window): New optional argument WINDOW.
7857
7858 * files.el (recover-file, save-buffers-kill-emacs):
7859 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7860
73406194
MA
78612012-09-02 Michael Albinus <michael.albinus@gmx.de>
7862
7863 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7864 remote definition of `default-directory', ensure we can connect.
7865
63dd1c6f
JL
78662012-09-02 Juri Linkov <juri@jurta.org>
7867
7868 Toggle whitespace matching mode with M-s SPC.
7869 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7870
7871 * isearch.el (search-whitespace-regexp): Doc fix.
7872 Remove cons cell customization.
7873 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7874 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7875 New variables.
7876 (isearch-forward, isearch-forward-regexp): Doc fix.
7877 (isearch-toggle-lax-whitespace): New command.
7878 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7879 (re-search-forward-lax-whitespace)
7880 (re-search-backward-lax-whitespace): New functions.
7881 (isearch-whitespace-regexp): Remove function.
7882 (isearch-query-replace): Let-bind replace-search-function and
7883 replace-re-search-function.
7884 (isearch-occur): Let-bind search-spaces-regexp according to the
7885 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7886 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7887 condition for C-q SPC.
7888 (isearch-search-fun-default): Use new functions mentioned above.
7889 (isearch-search-forward, isearch-search-backward): Remove functions.
7890 (isearch-search): Don't let-bind search-spaces-regexp.
7891 (isearch-lazy-highlight-space-regexp): Remove variable.
7892 (isearch-lazy-highlight-lax-whitespace)
7893 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7894 (isearch-lazy-highlight-new-loop): Use them.
7895 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7896
af7dda05
CY
78972012-09-02 Chong Yidong <cyd@gnu.org>
7898
7899 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7900
d67d3afd
GM
79012012-09-02 Glenn Morris <rgm@gnu.org>
7902
7903 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7904
69678719
GM
79052012-09-01 Glenn Morris <rgm@gnu.org>
7906
7907 * term.el: Tidy up menu definitions.
7908 (term-mode-map): Use easymenu for In/Out, Complete menus.
7909 (term-pager-break-map): Initialize in the defvar.
7910 (term-terminal-menu, term-signals-menu): Define with easymenu.
7911 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7912 (term-pager-menu): New, extracted from term-process-pager.
7913 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7914 (term-update-mode-line): Propertize line/char and page items.
7915 (term-process-pager): Move keymap initialization elsewhere.
7916
78dd6ab1
MR
79172012-09-01 Martin Rudalics <rudalics@gmx.at>
7918
7919 * window.el (switch-to-prev-buffer): Handle additional values of
7920 BURY-OR-KILL argument. Don't switch in minibuffer window.
7921 (switch-to-next-buffer): Don't switch in minibuffer window.
7922 (quit-restore-window): New function based on quit-window.
7923 Handle additional values of former KILL argument.
7924 (quit-window): Call quit-restore-window with appropriate
7925 interpretation of KILL argument.
7926 (display-buffer-below-selected): New buffer display action
7927 function.
7928
3d10e134
SM
79292012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 * minibuffer.el (completion-at-point-functions): Complete docstring
7932 (bug#12254).
7933
0e23ef9d
PE
79342012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7935
7936 Better seed support for (random).
7937 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7938 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7939 * play/mpuz.el, play/tetris.el, play/zone.el:
7940 * calc/calc-comb.el (math-init-random-base):
7941 * play/blackbox.el (bb-init-board):
7942 * play/life.el (life):
7943 * server.el (server-use-tcp):
7944 * type-break.el (type-break):
7945 Remove unnecessary call to (random t).
7946 * net/sasl.el (sasl-unique-id-function):
7947 Change (random t) to (random), now that the latter is more random.
7948 * play/life.el (life-initialized): Remove no-longer-needed var.
7949
862382df
MR
79502012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7951
7952 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7953 Consider frame's buffer predicate when choosing the buffer.
7954 (Bug#12081)
7955
262a66e1
RS
79562012-08-30 Richard Stallman <rms@gnu.org>
7957
7958 * simple.el (special-mode-map): Delete binding for `z'.
7959
f17e1d00
AS
79602012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7961
7962 * progmodes/compile.el (compilation-always-kill): Doc fix.
7963
24777832
CY
79642012-08-30 Chong Yidong <cyd@gnu.org>
7965
7966 * window.el (display-buffer-reuse-frames): Make the obsolescence
7967 message more informative.
7968
69ba1f04
GM
79692012-08-30 Glenn Morris <rgm@gnu.org>
7970
7971 * paren.el (show-paren-delay):
7972 Add a :set function. Doc fix. (Bug#12297)
7973
f0019ede
MB
79742012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7975
7976 * progmodes/compile.el (compilation-always-kill): New var.
7977 (compilation-start): Use it.
7978
35e62fc9
SM
79792012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7980
af070a1c
SM
7981 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7982 * files.el (read-only-mode): Move to simple.el.
7983
35e62fc9
SM
7984 * files.el (read-only-mode): New minor mode.
7985 (toggle-read-only): Use it and mark obsolete.
7986 (find-file--read-only):
7987 * vc/vc.el (vc-next-action, vc-checkout):
7988 * vc/vc-cvs.el (vc-cvs-checkout):
7989 * obsolete/vc-mcvs.el (vc-mcvs-update):
7990 * ffap.el (ffap--toggle-read-only): Update callers.
7991
c2c43c23
MA
79922012-08-29 Michael Albinus <michael.albinus@gmx.de>
7993
7994 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
7995 remote shell scripts.
7996 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
7997
7998 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7999 "/usr/local/sbin".
8000
9fba804b
SM
80012012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8004
eada0861 80052012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 8006
806f0cc7
LL
8007 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8008 completion-at-point. (Bug#12220)
8009
3bb213b9
LL
8010 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8011
22ab32ef
LL
8012 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8013
eada0861 80142012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 8015
19c17fc1
CY
8016 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8017 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 8018
eada0861 80192012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
8020
8021 * progmodes/hideif.el (hif-compress-define-list):
8022 Fix typo. (Bug#11951)
8023
eada0861 80242012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
8025
8026 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8027 buffer local setting.
8028
27d6c5a8
LL
8029 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8030 rcirc-encode-coding-system.
8031
eada0861 80322012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
8033
8034 * net/rcirc.el (rcirc-split-message): New function.
8035 (rcirc-send-message): Use it. (Bug#12051)
8036
d44688e4
JL
80372012-08-28 Juri Linkov <juri@jurta.org>
8038
8039 * info.el (Info-fontify-node): Hide empty lines at the end of
8040 the node. (Bug#12272)
8041
34f10d41
MR
80422012-08-27 Drew Adams <drew.adams@oracle.com>
8043
8044 * dired.el (dired-pop-to-buffer): Make window start at beginning
8045 of buffer (Bug#12281).
8046
77f1f99c
CY
80472012-08-26 Chong Yidong <cyd@gnu.org>
8048
8049 * window.el (special-display-regexps, special-display-frame-alist)
8050 (special-display-buffer-names, special-display-function)
8051 (display-buffer-reuse-frames): Mark as obsolete.
8052
8053 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8054
8055 * help.el (help-print-return-message): Don't treat
8056 display-buffer-reuse-frames specially.
8057
d97af5a0
CY
80582012-08-26 Chong Yidong <cyd@gnu.org>
8059
9fba804b
SM
8060 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8061 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
8062 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8063 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8064 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8065 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8066 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8067 the functions directly with gdb-display-buffer-other-frame-action.
8068 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8069 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8070 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8071 (gdb-display-registers-buffer): Define directly.
8072 (def-gdb-display-buffer): Macro deleted.
8073 (gdb-display-buffer): Remove second and third args, callers don't
8074 use them. Defer to the default display-buffer behavior, apart
8075 from making windows dedicated.
8076 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8077
8078 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8079
8080 * window.el (display-buffer-pop-up-frame): Handle a
8081 pop-up-frame-parameters alist entry.
8082 (display-buffer): Document it.
8083
dd7ffad6
CY
80842012-08-26 Chong Yidong <cyd@gnu.org>
8085
8086 * isearch.el (search-whitespace-regexp): Make string and nil
8087 values apply to both ordinary and regexp search. Allow a cons
8088 cell value to distinguish between the two.
8089 (isearch-whitespace-regexp, isearch-search-forward)
8090 (isearch-search-backward): New functions.
8091 (isearch-occur, isearch-search-fun-default, isearch-search)
8092 (isearch-lazy-highlight-new-loop): Use them.
8093 (isearch-forward, isearch-forward-regexp): Doc fix.
8094
4c47bd1e
CY
80952012-08-26 Chong Yidong <cyd@gnu.org>
8096
8097 * faces.el (help-argument-name): Always inherit from italic
8098 (Bug#12213).
8099
9aba119d
MR
81002012-08-25 Martin Rudalics <rudalics@gmx.at>
8101
8102 * window.el (window--even-window-heights): Even heights when
8103 WINDOW and the selected window form a vertical combination.
8104 (display-buffer-use-some-window): Provide that window used gets
8105 sized back by quit-window. (Bug#11880) and (Bug#12091)
8106
ca5256ad
PE
81072012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8108
8109 Fix file time stamp problem with bzr and CVS (Bug#12001).
8110 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8111 in the file's time stamp, since the version control system loses
8112 that information.
8113
d1c0d176
JL
81142012-08-22 Juri Linkov <juri@jurta.org>
8115
8116 * info.el (Info-fontify-node): Hide the suffix of the
8117 Info file name in the header line. (Bug#12187)
8118
141562ff
GM
81192012-08-22 Glenn Morris <rgm@gnu.org>
8120
8121 * calendar/cal-tex.el (cal-tex-weekly-common):
8122 Restore leading blank page.
8123
3a21537c 81242012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
8125
8126 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
8127 the region under `shift-select-mode'. (Bug#12231)
8128
81292012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
8130
8131 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8132 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8133 gives details on why the space is never needed.
8134
ea95074e
MR
81352012-08-22 Martin Rudalics <rudalics@gmx.at>
8136
9fba804b
SM
8137 * window.el (walk-window-tree, window-with-parameter):
8138 New optional argument MINIBUF to control whether these functions
ea95074e
MR
8139 should run on the minibuffer window.
8140 (window-at-side-list): Don't operate on minibuffer window.
8141 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
8142 (window--size-ignore): Rename to window--size-ignore-p.
8143 Update callers.
caceae25
MR
8144 (display-buffer-in-atom-window, window--major-non-side-window)
8145 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
8146 (delete-side-window, display-buffer-in-side-window):
8147 New functions.
caceae25
MR
8148 (window--side-check, window-deletable-p, delete-window)
8149 (delete-other-windows, split-window): Handle side windows and
8150 atomic windows appropriately.
8151 (window--display-buffer): Call display-buffer-record-window also
8152 when the window buffer did not change.
ea95074e 8153
80a51fa0
CS
81542012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8155
8156 * help-fns.el (help-fns--key-bindings):
8157 Abbreviate non-symbol remap targets. (Bug#12174)
8158
fbb6300b
MR
81592012-08-22 Martin Rudalics <rudalics@gmx.at>
8160
8161 * dired.el (dired-mark-remembered): Don't clobber point.
8162 (Bug#11795)
8163
2b2c0794
GM
81642012-08-22 Glenn Morris <rgm@gnu.org>
8165
8166 * progmodes/bug-reference.el (bug-reference): New custom group.
8167 (bug-reference-bug-regexp): Make it a defcustom.
8168
37219830
DU
81692012-08-22 Daiki Ueno <ueno@unixuser.org>
8170
8171 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8172 (js-paren-indent-offset, js-square-indent-offset)
8173 (js-curly-indent-offset): Add :safe (Bug#12257).
8174
94e0e559
EC
81752012-08-22 Edward O'Connor <hober0@gmail.com>
8176
8177 * json.el (json-key-format): Add error properties.
8178 (json-encode-key): New function.
8179 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8180 Use json-encode-key.
8181
da485f5e
GM
81822012-08-22 Glenn Morris <rgm@gnu.org>
8183
8184 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8185 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8186 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8187 Update for above change.
8188
c6cc78b8
AS
81892012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8190
8191 * cus-face.el (custom-face-attributes): Fix customize type for the
8192 :underline attribute. (Bug#11805)
8193
5481664a
MR
81942012-08-21 Martin Rudalics <rudalics@gmx.at>
8195
8196 * window.el (window-point-1, set-window-point-1): Remove.
8197 (window-in-direction, record-window-buffer)
8198 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
8199 (window--state-get-1, display-buffer-record-window):
8200 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
8201 window-point and set-window-point respectively.
8202
6d74698e
GM
82032012-08-21 Glenn Morris <rgm@gnu.org>
8204
b7fa2691
GM
8205 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8206 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8207 Use it.
8208
52f56d5a
GM
8209 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8210 (cal-tex-shortday): New function.
8211 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8212 (cal-tex-cursor-filofax-daily): Use the above.
8213
9f1ee09e
GM
8214 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8215 New functions.
8216 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8217 (cal-tex-cursor-filofax-week): Use them.
8218
79858159
GM
8219 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8220 New constants.
8221 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8222 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8223
d346b2b4
GM
8224 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8225 (cal-tex-end-document): Don't rely on buffer name.
8226
b2403709
GM
8227 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8228 Use cal-tex-vspace.
8229 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8230 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
8231 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8232 Use cal-tex-arg.
b2403709 8233
1cebb5c0
GM
8234 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8235 (cal-tex-cursor-week, cal-tex-cursor-week2)
8236 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8237 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8238 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8239 (cal-tex-insert-preamble, cal-tex-b-document)
8240 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8241 Improve cal-tex-cmd usage.
8242
c68cd5d4
GM
8243 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8244 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8245 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8246 (cal-tex-weekly-paper): New function.
8247 (cal-tex-cursor-week, cal-tex-cursor-week2)
8248 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8249 (cal-tex-cursor-day): Use it.
8250
9dca4801
GM
8251 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8252 (cal-tex-cursor-filofax-week): Remove leading blank page.
8253
1941e134
GM
8254 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8255 Add autoload cookie. For now at least, don't use color, since
8256 no other cal-tex function does.
8257
6d74698e
GM
8258 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8259 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8260 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8261
64cde199
JL
82622012-08-21 Juri Linkov <juri@jurta.org>
8263
8264 * info.el (Info-file-attributes): New variable.
8265 (info-insert-file-contents): Add file attributes to
8266 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8267 `Info-toc-nodes' when previous modtime of the Info file is less
8268 than new modtime.
8269 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8270 of info.el. (Bug#12230)
8271
32757648
GM
82722012-08-20 Glenn Morris <rgm@gnu.org>
8273
8274 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8275 * calendar/holidays.el (calendar-holiday-list):
8276 Report errors with display-warning rather than beep'n'sleep.
8277
a32fbbcf
MA
82782012-08-20 Michael Albinus <michael.albinus@gmx.de>
8279
8280 * net/tramp.el (tramp-accept-process-output): Accept only output
8281 from PROC. Otherwise, process filters and sentinels might be
8282 confused. (Bug#12145)
8283
a05731a0
CY
82842012-08-20 Chong Yidong <cyd@gnu.org>
8285
8286 * descr-text.el (describe-text-properties-1): Use overlays-in to
8287 report on empty overlays (Bug#3322).
8288
36e8d1eb
GM
82892012-08-20 Glenn Morris <rgm@gnu.org>
8290
3d300447
GM
8291 * mail/rmailout.el (rmail-output-read-file-name):
8292 Trap and report errors in rmail-output-file-alist elements.
8293
36e8d1eb
GM
8294 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8295 since most non-font-lock faces are not also variables).
8296
b96e5814
ER
82972012-08-20 Edward Reingold <reingold@iit.edu>
8298
8299 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8300 New function. (Bug12160)
8301
7cef3569
GM
83022012-08-19 Glenn Morris <rgm@gnu.org>
8303
8304 * mail/rmailout.el (rmail-output-read-file-name):
8305 Fix previous change (when the alist is nil or does not match).
8306
17975d7f
CY
83072012-08-19 Chong Yidong <cyd@gnu.org>
8308
8309 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8310 (Bug#12228).
8311
2170b1bd
CY
83122012-08-18 Chong Yidong <cyd@gnu.org>
8313
8314 * simple.el (yank-handled-properties): New defcustom.
8315 (yank-excluded-properties): Add font-lock-face and category.
8316 (yank): Doc fix.
8317
9fba804b
SM
8318 * subr.el (remove-yank-excluded-properties):
8319 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
8320 and category is now done this way, instead of being hard-coded.
8321 (insert-for-yank-1): Remove font-lock-face handling.
8322 (yank-handle-font-lock-face-property)
8323 (yank-handle-category-property): New function.
8324
ee218151
GM
83252012-08-17 Glenn Morris <rgm@gnu.org>
8326
8327 * mail/rmailout.el (rmail-output-read-file-name):
8328 Check rmail-output-file-alist against the full message body
8329 in the correct rmail buffer. (Bug#12214)
8330
4a6bc3fd
MA
83312012-08-17 Michael Albinus <michael.albinus@gmx.de>
8332
9fba804b
SM
8333 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8334 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 8335
383dcbf9
CY
83362012-08-17 Chong Yidong <cyd@gnu.org>
8337
8338 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8339 font spec, set the font directly (Bug#3228).
8340
998c4a6a
MR
83412012-08-17 Martin Rudalics <rudalics@gmx.at>
8342
8343 * window.el (delete-window): Fix last fix.
8344
52162052
MR
83452012-08-16 Martin Rudalics <rudalics@gmx.at>
8346
8347 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
8348 (window-child, window-child-count, window-last-child)
8349 (window-normalize-window, window-combined-p)
8350 (window-combinations, window-atom-root, window-min-size)
8351 (window-sizable, window-sizable-p, window-size-fixed-p)
8352 (window-min-delta, window-max-delta, window--resizable)
8353 (window--resizable-p, window-resizable, window-total-size)
8354 (window-full-height-p, window-full-width-p, window-body-size)
8355 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8356 (minimize-window, window-deletable-p, delete-window)
8357 (delete-other-windows, set-window-buffer-start-and-point)
8358 (next-buffer, previous-buffer, split-window, balance-windows-2)
8359 (set-window-text-height, window-buffer-height)
8360 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
8361 (truncated-partial-width-window-p): Minor code adjustments.
8362 In doc-strings state whether the argument window has to denote a
85c2386b 8363 live, valid or any window.
52162052 8364
1c308380
PS
83652012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8366
8367 * progmodes/subword.el (subword-forward-function)
8368 (subword-backward-function, subword-forward-regexp)
8369 (subword-backward-regexp): New variables.
8370 (subword-forward, subword-forward-internal, subword-backward-internal):
8371 Use new variables, eg so that different "word" definitions
8372 can be easily used. (Bug#11411)
8373
94c9ece1
SM
83742012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8375
8376 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8377 for composite selectors.
8378 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8379 operation just because we can't find a previous revision.
8380
f2045622
CY
83812012-08-15 Chong Yidong <cyd@gnu.org>
8382
8383 * frame.el (set-frame-font): Accept font objects.
8384
582db660
SM
83852012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8388
2f29c200
WJ
83892012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8390
456e62c2
WJ
8391 * man.el (Man-overstrike-face, Man-underline-face)
8392 (Man-reverse-face): Remove variables.
8393 (Man-overstrike, Man-underline, Man-reverse): New faces.
8394 (Man-fontify-manpage): Use them instead of the variables.
8395 (Man-cleanup-manpage): Comment change.
8396 (Man-ansi-color-map): New variable.
8397 (Man-fontify-manpage): Use it.
8398 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8399
2f29c200
WJ
8400 Implement ANSI SGR parameters 22-27 (bug#12146).
8401 * ansi-color.el (ansi-colors): Doc fix.
8402 (ansi-color-context, ansi-color-context-region): Doc fix.
8403 (ansi-color--find-face): New function.
8404 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8405 Rename the local variable `face' to `codes' since it is now a list of
8406 ansi codes. Doc fix.
8407 (ansi-color-get-face): Remove.
8408 (ansi-color-parse-sequence): New function, derived from
8409 ansi-color-get-face.
8410 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8411 codes 22-27.
8412
b4f5e9df
SM
84132012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8414
8415 * subr.el (read-passwd): Allow use from a minibuffer.
8416
ba025fbd
EZ
84172012-08-14 Eli Zaretskii <eliz@gnu.org>
8418
8419 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8420 inside comments and strings as identifiers.
8421
8422 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8423 expression to evaluate. This allows to evaluate expressions with
8424 embedded whitespace.
8425 (gud-tooltip-tips): Add a blank before the newline in the
8426 message-box text, for the benefit of message-box emulation on
8427 MS-Windows.
8428
8429 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8430 messages from GDB, pop them up in a tooltip to give feedback to
8431 user.
b4f5e9df
SM
8432 (gdb-tooltip-print-1): Quote the expression to evaluate.
8433 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
8434 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8435 if the TTY name is nil or empty (which happens when communicating
8436 with the inferior via pipes, e.g. on MS-Windows).
8437 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8438 don't send that to the GUD buffer.
8439
c548f821
GM
84402012-08-14 Glenn Morris <rgm@gnu.org>
8441
8442 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8443 Optimize away setq-default with no args, as for setq. (Bug#12195)
8444
55802e4a
CY
84452012-08-14 Chong Yidong <cyd@gnu.org>
8446
4abcdac8
CY
8447 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8448
55802e4a
CY
8449 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8450 (Bug#12085).
8451
3c3cda1a
GM
84522012-08-14 Glenn Morris <rgm@gnu.org>
8453
8454 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8455
e1873bd0
MA
84562012-08-14 Michael Albinus <michael.albinus@gmx.de>
8457
8458 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8459 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8460 Use cached shell name.
8461
925411b4
FEG
84622012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8463
8464 * progmodes/python.el (python-shell-send-string):
3c3cda1a 8465 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 8466
e636fafe
DG
84672012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8468
8469 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8470 (ruby-percent-literal-beg-re): New constant.
8471 (ruby-syntax-general-delimiters-goto-beg): Rename to
8472 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8473 (ruby-syntax-propertize-general-delimiters): Rename to
8474 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8475 popular term. Adjust comments everywhere.
8476 (ruby-syntax-propertize-percent-literal): Only propertize when not
8477 inside a simple string or comment. When the literal is unclosed,
8478 leave the text after it unpropertized.
f063063a
DG
8479 (ruby-syntax-methods-before-regexp): New constant.
8480 (ruby-syntax-propertize-function): Use it to recognize regexps.
8481 Don't look at the text after regexp, just use the whitelist.
e636fafe 8482
e5b19827
AS
84832012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8484
8485 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8486 non-nil always load the compiled file if it exists. (Bug#12197)
8487
a9f6f311
CY
84882012-08-14 Chong Yidong <cyd@gnu.org>
8489
8490 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8491 (hi-lock-set-pattern): When deciding whether to use font lock or
8492 overlays, look at font-lock-mode instead of font-lock-fontified
8493 (Bug#12168).
8494 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8495 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8496
7d806b1e
DU
84972012-08-14 Daiki Ueno <ueno@unixuser.org>
8498
8499 * subr.el (internal--after-with-selected-window): Fix typo
8500 (Bug#12193).
8501
5beed586
FEG
85022012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8503
8504 Use `completion-table-dynamic' for completion functions.
8505 * progmodes/python.el
8506 (python-shell-completion--do-completion-at-point)
e636fafe
DG
8507 (python-shell-completion--get-completions):
8508 Remove functions.
5beed586
FEG
8509 (python-shell-completion-complete-at-point): New function.
8510 (python-completion-complete-at-point): Use it.
8511
92cb3b04
J
85122012-08-13 Jambunathan K <kjambunathan@gmail.com>
8513
8514 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8515 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8516
89660017
SM
85172012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8518
3c98c962
SM
8519 * subr.el (function-get): Refine `autoload' arg so it can also
8520 autoload functions for gv.el (bug#12191).
8521 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8522 autoloads macros.
8523
aa7c6dbe
SM
8524 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8525 Prefer pcase-let over destructuring-bind.
8526 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8527 Also, remove whitespace as we go, rather than after accumulating the
8528 various places.
8529
89660017
SM
8530 * subr.el (internal--before-with-selected-window)
8531 (internal--after-with-selected-window): Fix typo seleted->selected.
8532 (with-selected-window): Adjust callers.
8533 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8534
31cd32c9
BG
85352012-08-13 Bastien Guerry <bzg@gnu.org>
8536
0fcd3d9f 8537 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
8538 enhancement. (Bug#12172)
8539
1b15d8ad
AS
85402012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8541
31e54db0
AS
8542 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8543 type 1-6.
8544 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8545 extended headers.
8546
1b15d8ad
AS
8547 * files.el (hack-local-variables-filter): Remove useless eval.
8548
35cb9c06
MR
85492012-08-13 Martin Rudalics <rudalics@gmx.at>
8550
8551 * subr.el (with-selected-window): Fix last change.
8552
1439443b
SM
85532012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * subr.el (internal--before-with-seleted-window)
8556 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
8557 (with-selected-window): Use them, to replace dependency on
8558 tty-top-frame.
1439443b 8559
0d9e2599
NN
85602012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8561
8562 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8563 binding for `newline'.
8564 (ruby-move-to-block): When moving backward, stop at block opening,
8565 not indentation.
8566 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8567 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8568 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8569 `ruby-toggle-block'.
8570
ba10c48c
SM
85712012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8572
8573 * ibuffer.el (ibuffer-do-toggle-read-only):
8574 * dired.el (dired-toggle-read-only):
8575 * buff-menu.el (Buffer-menu-toggle-read-only):
8576 * bindings.el (mode-line-toggle-read-only):
8577 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8578
9229c658
AS
85792012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8580
8581 * descr-text.el (describe-char): Put the overlays over the
8582 "displayed as" character.
8583
0fd09128
JB
85842012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8585
8586 * calc/calc-units.el (math-default-units-table): Give an
8587 initial value.
8588 (math-put-default-units): Add options to put composite units and
8589 unit systems in the default units table.
8590 (calc-convert-units): Send composite units to
8591 `math-put-default-units' when appropriate.
8592
9ff9402d 85932012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 8594
fbb5e336
GM
8595 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8596
7aacaf15
GM
8597 * tutorial.el (help-with-tutorial):
8598 * emacs-lisp/copyright.el (copyright-update-directory):
8599 * emacs-lisp/autoload.el (autoload-find-generated-file)
8600 (autoload-find-file): Disable local eval: (for insurance).
8601
f40b9f10
GM
8602 * files.el (hack-local-variables-filter): If an eval: form is not
8603 known to be safe, and enable-local-variables is :safe, then ignore
8604 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 8605 This is CVE-2012-3479.
f40b9f10 8606
daa9f1a6
SM
86072012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8608
8609 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8610 (rx-form): Simplify.
8611
9cd80478
DG
86122012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8613
0d9e2599
NN
8614 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8615 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8616 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8617 (ruby-syntax-propertize-function): Adjust for changes in
8618 `ruby-syntax-propertize-heredoc'.
8619
86202012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8621
9cd80478
DG
8622 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8623 binding (use `M-;' instead).
9cd80478 8624 (ruby-singleton-class-p): New function.
0d9e2599 8625 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 8626
d301b413
SM
86272012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8630
1530c98e
CY
86312012-08-10 Chong Yidong <cyd@gnu.org>
8632
8633 * progmodes/python.el (python-shell-get-process-name): Don't mess
8634 with same-window-buffer-names.
8635
8636 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8637 (eshell-remove-from-window-buffer-names): Make obsolete.
8638 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8639 (eshell): Just use pop-to-buffer-same-window instead.
8640
e1293765
CY
86412012-08-10 Chong Yidong <cyd@gnu.org>
8642
8643 * bindings.el: Bind M-= back to count-words-region.
8644
8645 * simple.el (count-words-region): Accept a prefix arg for acting
8646 on the entire buffer.
8647 (count-words--buffer-message): New helper function.
8648
e1894109
SM
86492012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8650
8651 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8652 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8653 (event-start, event-end): Use posn-at-point to return a more
8654 informative posn.
8655 (posnp): New function.
8656 * mouse.el (popup-menu-normalize-position): Use it.
8657
c69f56a2
MY
86582012-08-10 Masatake YAMATO <yamato@redhat.com>
8659
8660 * mouse.el (popup-menu-normalize-position): New function.
8661 (popup-menu): Use `popup-menu-normalize-position' to normalize
8662 the form for POSITION argument.
8663
8664 * term/x-win.el (x-menu-bar-open):
8665 Use the value returend from (posn-at-point) as position
8666 passed to `popup-menu'.
8667
31673780
JB
86682012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8669
8670 * calc/calccomp.el (math-compose-expr): Add extra argument
8671 indicating that parentheses should be put around products in
8672 denominators. Give multiplication precedence over division during
8673 composition.
8674
dab7711b
CY
86752012-08-09 Chong Yidong <cyd@gnu.org>
8676
dee4ef93
CY
8677 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8678 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8679 (Man-untabify-command, manual-program): Convert to defcustom
8680 (Bug#10429).
8681
73e2bbc5
CY
8682 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8683
3e861c8a
CY
8684 * descr-text.el (describe-char): Don't insert extra newlines
8685 (Bug#10127).
8686
a9f5a649
CY
8687 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8688 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8689
dab7711b
CY
8690 * align.el (align-region): Delete temporary markers (Bug#10047).
8691 Plus some code cleanups.
8692
e0cc4efa
FEG
86932012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8694
8695 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8696 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8697 (python-shell-internal-last-output): Use make-local-variable
8698 instead of make-variable-buffer-local.
8699
489af14f
FEG
87002012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8701
8702 * progmodes/python.el: Enhancements to forward-sexp.
8703 (python-nav-forward-sexp): Rename from
8704 python-nav-forward-sexp-function.
c69f56a2
MY
8705 (python-nav--forward-sexp, python-nav--backward-sexp):
8706 New functions.
489af14f 8707
0fc50303
JB
87082012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8709
8710 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8711 modes and simplification modes.
8712
5d65606a
SM
87132012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8714
8715 * delsel.el (delete-selection-pre-hook): Don't propagate the
8716 file-supersession signals (bug#12161).
8717
4250fdf5
SM
87182012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8721 (cl-map-extents): Add compatibility aliases (bug#12135).
8722
d9f9b465
MA
87232012-08-08 Michael Albinus <michael.albinus@gmx.de>
8724
8725 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8726 tests by `ignore-error'.
8727 (tramp-find-shell): Open also a new shell, when cache is already
8728 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8729
ce0fcefa
JL
87302012-08-08 Juri Linkov <juri@jurta.org>
8731
8732 * bookmark.el: Add `defaults' property to the bookmark record.
8733 (bookmark-current-buffer): Doc fix.
8734 (bookmark-make-record): Add `defaults' property with default values
8735 to the bookmark record.
8736 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8737 with `bookmark-insert-current-bookmark'.
8738 (bookmark-set): Get `defaults' property from the bookmark record
8739 and use it in `read-from-minibuffer'.
8740 (bookmark-insert-current-bookmark): Remove function.
8741
8742 * info.el (Info-bookmark-make-record): Add `defaults' property
8743 with values of canonical Info node name, the current Info file
8744 name and the current Info node name. (Bug#12107)
8745
53fa8652
JL
87462012-08-08 Juri Linkov <juri@jurta.org>
8747
8748 * files.el (basic-save-buffer): Use `buffer-name' as the default
8749 of `read-file-name' when buffer is not visiting a file (bug#12128).
8750
242c0a95
JL
87512012-08-08 Juri Linkov <juri@jurta.org>
8752
8753 * info.el (Info-isearch-search): Doc fix.
8754 (Info-search): Change search-failed message from "initial node" to
8755 "end of node" (bug#12078).
8756 (Info-isearch-search): Change `isearch-string-state' to
8757 `isearch--state-string'.
8758
32ac3a6b
GM
87592012-08-08 Glenn Morris <rgm@gnu.org>
8760
8761 * language/persian.el: Remove file.
f8c1afd5 8762 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
8763 * loadup.el: Remove language/persian.
8764
2c2d9c9c
OF
87652012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8766
8767 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8768
2d79ec42
FEG
87692012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8770
3c855b96 8771 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
8772 (python-syntax-context) Rename from python-info-ppss-context.
8773 (python-syntax-context-type): Rename from
8774 python-info-ppss-context-type.
8775 (python-syntax-comment-or-string-p): Rename from
8776 python-info-ppss-comment-or-string-p.
8777
2bd255dd
JB
87782012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8779
8780 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8781
c395097f
AS
87822012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8783
6125983e
AS
8784 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8785 a defcustom that is quoted with backquote.
8786
4250fdf5
SM
8787 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8788 Fix handling of interactive spec when the body uses return.
651eaf36
AS
8789 (math-do-arg-check, math-define-function-body): Use backquote forms.
8790 * calc/calc-ext.el (math-defcache): Likewise.
8791 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8792 * allout.el (allout-new-exposure): Likewise.
8793 * calc/calcalg2.el (math-tracing-integral): Likewise.
8794 * info.el (Info-last-menu-item): Likewise.
8795 * emulation/vip.el (vip-loop): Likewise.
8796 * textmodes/artist.el (artist-funcall): Likewise.
8797 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8798 Construct menu-item directly.
8799
4250fdf5
SM
8800 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8801 Don't declare.
c395097f 8802
5fb50dd3
CY
88032012-08-07 Chong Yidong <cyd@gnu.org>
8804
8805 * simple.el (deactivate-mark): Preserve text properties when
8806 saving the primary selection (Bug#8384).
8807
54eea618
KR
88082012-08-07 Kevin Ryde <user42@zip.com.au>
8809
8810 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8811 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8812 and continue processing (Bug#12110).
8813
638eaeb9
SM
88142012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8815
8816 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8817 syntax-propertize-function (bug#10095).
8818
ea376861
SM
88192012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8820
f91b35be
SM
8821 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8822 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8823 describe-function-1.
8824 (describe-function-1): Use them. Move compiler macro after sig.
8825 (help-fns--compiler-macro): Use function-get. Assume we're already in
8826 standard-output. Adjust layout to new call order.
8827
ea376861
SM
8828 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8829 re-binding a symbol that has a symbol-macro (bug#12119).
8830
d5be7bd0
MB
88312012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8832
8833 * language/persian.el: New file. (Bug#11812)
8834 * loadup.el: Add language/persian.el.
8835
90749b53
CY
88362012-08-06 Chong Yidong <cyd@gnu.org>
8837
8838 * window.el (window--maybe-raise-frame): New function.
8839 (window--display-buffer): Split off from here.
8840 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8841 (display-buffer-pop-up-window, display-buffer-use-some-window):
8842 Obey an inhibit-switch-frame action alist entry.
8843 (display-buffer): Update doc.
8844
8845 * replace.el (occur-after-change-function): Avoid losing focus by
8846 using the inhibit-switch-frame display parameter (Bug#12139).
8847
ba7b0154
FEG
88482012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8849
8850 Make internal shell process buffer names start with space.
8851 * progmodes/python.el (python-shell-make-comint): Add optional
8852 argument INTERNAL.
8853 (run-python-internal): Use it.
8854 (python-shell-internal-get-or-create-process): Check for new
8855 internal buffer names.
8856
5eaeacb5
GM
88572012-08-06 Glenn Morris <rgm@gnu.org>
8858
e296d94b 8859 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
8860 Do less getting and setting of environment variables.
8861
b7ccbdc2
CY
88622012-08-05 Chong Yidong <cyd@gnu.org>
8863
777fe95e
CY
8864 * proced.el (proced): Add substitution string to docstring to
8865 trigger autoloading of the proced library on C-h f (Bug#1768).
8866
4250fdf5
SM
8867 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8868 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
8869
8870 * imenu.el (imenu-generic-expression): Move documentation here
8871 from imenu--generic-function.
8872 (imenu--generic-function): Refer to imenu-generic-expression.
8873
9e3b7800 88742012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
8875
8876 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8877 indentation declaration.
8878 (viper-loop): Add indentation declaration (Bug#7025).
8879
e5d9c0d1
CY
88802012-08-05 Chong Yidong <cyd@gnu.org>
8881
f0422feb
CY
8882 * help-fns.el (describe-variable): Add hyperlink for
8883 directory-local variables files. Improve buffer-local and
8884 permanent-local reporting; suggested by MON KEY (Bug#6644).
8885
8886 * help-mode.el (help-dir-local-var-def): New button type.
8887
e5d9c0d1
CY
8888 * files.el (kill-buffer-hook): Provide a defvar.
8889
a4f2deaa
GM
88902012-08-05 Glenn Morris <rgm@gnu.org>
8891
8892 * eshell/esh-ext.el (eshell/addpath):
8893 Also update eshell-path-env. (Bug#12013)
8894
a9dd5754
CY
88952012-08-05 Chong Yidong <cyd@gnu.org>
8896
a4f2deaa 8897 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 8898
d014c740
CY
8899 * fringe.el (fringe-styles): Add docstring.
8900 (fringe--check-mode): New function.
8901 (set-fringe-mode, set-fringe-style): Use it.
8902 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8903
a9dd5754
CY
8904 * files.el (set-auto-mode): Fix invalid setq call.
8905
7c2dc8bd
SM
89062012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8907
8908 * isearch.el: Misc simplification; use defstruct.
8909 (isearch-mode-map): Dense maps now work like sparse ones.
8910 (isearch--state): New defstruct.
8911 (isearch-string-state, isearch-message-state, isearch-point-state)
8912 (isearch-success-state, isearch-forward-state)
8913 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8914 (isearch-wrapped-state, isearch-barrier-state)
8915 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8916 replaced by defstruct's accessors.
8917 (isearch--set-state): Rename from isearch-top-state and change
8918 calling convention.
8919 (isearch-push-state): Use new isearch--get-state.
8920 (isearch-toggle-word): Disable regexp when enabling word.
8921 (isearch-message-prefix): Remove unused arg _c-q-hack.
8922 (isearch-message-suffix): Remove unused arg _ellipsis.
8923
7fcc0070
AS
89242012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8925
8926 * simple.el (list-processes--refresh): For a server use :host or
8927 :local as the address.
97ad0769 8928 (list-processes): Doc fix.
7fcc0070 8929
a11035b8 89302012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
8931
8932 * lisp/mpc.el: Support password in host argument.
8933 (mpc--proc-connect): Parse and use new password element.
8934 Set mpc-proc variable instead of returning process.
8935 (mpc-proc): Adjust accordingly.
8936
6dad7178
EZ
89372012-08-03 Eli Zaretskii <eliz@gnu.org>
8938
18949c2f
EZ
8939 * whitespace.el (whitespace-display-mappings): Use Unicode
8940 codepoints, instead of emacs-mule codepoints. See
8941 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8942 for the details.
8943
6dad7178
EZ
8944 * files.el (file-truename): Don't skip symlink-chasing part on
8945 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
8946 Windows into the loop that recursively chases symlinks.
8947 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
8948 MS-DOS.
8949
385b0198
CY
89502012-08-03 Chong Yidong <cyd@gnu.org>
8951
6200f3c4
CY
8952 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8953
385b0198
CY
8954 * sort.el (sort-regexp-fields): Doc fix.
8955
b9e74744
TH
89562012-08-03 Tassilo Horn <tsdh@gnu.org>
8957
8958 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8959 labels regex position point at the expected place.
8960
41013cb4
MK
89612012-08-03 MON KEY <monkey@sandpframing.com>
8962
8963 * net/imap.el (imap-interactive-login, imap-authenticate)
8964 (imap-mailbox-lsub, imap-mailbox-list)
8965 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8966 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8967 (imap-parse-response): Doc fix.
8968
0ffee616
JT
89692012-08-03 João Távora <joaotavora@gmail.com>
8970
8971 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8972 if sexp scanning does not move point (Bug#5734).
8973
cfcc9cc8
TH
89742012-08-02 Tassilo Horn <tsdh@gnu.org>
8975
8976 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8977 Add listings, minted, and ctable packages.
8978 (reftex-label-alist-builtin): Move listings, minted, and ctable
8979 entries before LaTeX.
a01bbb84 8980 (reftex-label-alist): Docfix.
cfcc9cc8 8981
66ec2442
BG
89822012-08-02 Bastien Guerry <bzg@gnu.org>
8983
8984 * replace.el (occur): Fix docstring (bug#12122).
8985
837b365b
GM
89862012-08-02 Glenn Morris <rgm@gnu.org>
8987
8988 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8989
e098de97
PE
89902012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8991
8992 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8993 * international/mule-cmds.el: Create
8994 inactivate-current-input-method-function as an obsolete alias for
8995 deactivate-current-input-method-function. See Katsumi Yamaoka in
8996 <http://bugs.gnu.org/10150#46>.
8997
a0f95636
JB
89982012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8999
9000 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9001 of nested `if's.
9002
0d26d7c4
GM
90032012-08-01 Glenn Morris <rgm@gnu.org>
9004
9005 * progmodes/autoconf.el (autoconf-definition-regexp):
9006 Add AH_TEMPLATE, adjust submatch numbering.
9007 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9008 (autoconf-current-defun-function): Update for above change.
9009 (autoconf-current-defun-function): First skip to end of current word.
9010
b686ba06
RS
90112012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9012
9013 * calendar/cal-html.el (cal-html-insert-agenda-days):
9014 Fix typo. (Bug#12018)
9015
0d49da68
FEG
90162012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9017
9018 Shell processes: enhancements to startup and CEDET compatibility.
9019 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9020 (python-shell-make-comint): accept-process-output at startup.
9021 (run-python-internal): Set inferior-python-mode-hook to nil.
9022 (python-shell-internal-get-or-create-process): call sit-for.
9023 (python-preoutput-result): Add obsolete alias.
9024 (python-shell-internal-send-string): Use it.
9025 (python-shell-send-setup-code): Remove call to
9026 accept-process-output.
9027
f1a71c6e
AS
90282012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9029
9030 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9031 (Bug#12108)
9032
d2605269
JB
90332012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9034
9035 * calc-mode.el (calc-basic-simplification-mode): Rename from
9036 `calc-limited-simplification-mode'.
9037 (calc-alg-simplification-mode): New function.
fc0c31f8 9038 (calc-set-simplify-mode): Adjust message.
f1a71c6e 9039
d2605269
JB
9040 * calc.el (calc-set-mode-line): Adjust mode line display for
9041 basic simplification mode.
9042
9043 * calc-help.el (calc-m-prefix-help): Update help message.
9044
9045 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9046 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9047
a3827a43
BG
90482012-07-31 Bastien Guerry <bzg@gnu.org>
9049
9050 * man.el (man): Fix comment. (bug#12101)
9051
502e3f89
MR
90522012-07-31 Martin Rudalics <rudalics@gmx.at>
9053
9054 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9055 Don't return a non-nil value when no suitable buffer was found.
9056
d7714961
FEG
90572012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9058
9059 * progmodes/python.el (run-python-internal): Disable font lock for
9060 internal shells.
9061
1f45e27e
SM
90622012-07-30 Stefan Merten <smerten@oekonux.de>
9063
70efc5c9 9064 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
9065 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9066 (rst-official-version, rst-official-cvs-rev)
9067 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9068 (rst-mode-map): New key binding.
9069
0aee6912
PE
90702012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9071
9072 Update .PHONY listings in makefiles.
9073 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9074 autoloads, update-subdirs, updates, bzr-update, update-authors,
9075 compile-onefile, compile-calc, backup-compiled-files,
9076 compile-after-backup, compile-one-process, mh-autoloads,
9077 bootstrap-clean, distclean, maintainer-clean.
9078
9052f9f0
JB
90792012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9080
1823ac5a
JB
9081 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9082 (calc-set-mode-line): Don't display "AlgSimp ".
9083
9084 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9085 (calc-lim-simplify-mode): New function.
9086 (calc-set-simplify-mode): Default to 'alg.
9087 (calc-default-simplify-mode): Make algebraic simplifications
9088 the default.
9089
9090 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9091 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9092
8d7c7eed 9093 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
9094 indicate new simplification modes.
9095
1823ac5a
JB
9096 * calc/README: Mention new default simplification mode.
9097
9052f9f0
JB
9098 * calc/calc.el (math-normalize-error): New variable.
9099 (math-normalize): Set `math-normalize-error' to t
9100 when there's an error.
9101
9102 * calc/calc-alg.el (math-simplify): Don't simplify when
9103 `math-normalize' returns an error.
9104
20ba0cb4
EZ
91052012-07-29 Eli Zaretskii <eliz@gnu.org>
9106
9107 * international/mule-cmds.el (set-locale-environment): Revert last
9108 change, since display-graphic-p returns nil when this function is
9109 called during startup. Instead...
9110
9111 * term/w32console.el (terminal-init-w32console): ...setup the
9112 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9113
a5dcc929
JL
91142012-07-29 Juri Linkov <juri@jurta.org>
9115
9116 * simple.el (goto-line): Don't display default line number in the
9117 prompt because it should be displayed by `read-number' (bug#9952).
9118 Add the current line number to the defaults of `goto-line' to
9119 allow its easier modification by users with `M-n' (bug#9201).
9120
9121 * subr.el (read-number): Support multiple default values like in
9122 other minibuffer reading functions. Replace `read' with
9123 `string-to-number' for consistency with `number-to-string'.
9124
72b255c7
PE
91252012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9126
9127 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9128 * emulation/viper-init.el (viper-deactivate-input-method-action):
9129 Rename from viper-inactivate-input-method-action.
9130 (viper-deactivate-input-method):
9131 Rename from viper-inactivate-input-method.
9132 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9133 * international/mule-cmds.el (deactivate-input-method):
9134 Rename from inactivate-input-method.
9135 Also run input-method-deactivate-hook.
9136 (deactivate-current-input-method-function):
9137 Rename from inactivate-current-input-method-function.
9138 (input-method-deactivate-hook): New hook.
9139 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
9140 (inactivate-input-method): Mark obsolete.
9141
72b255c7
PE
9142 * international/quail.el (quail-activate):
9143 Also run quail-deactivate-hook.
9144 (quail-deactivate): Rename from quail-inactivate.
9145 * international/robin.el (robin-activate):
9146 Also run robin-deactivate-hook.
9147 (robin-deactivate): Rename from robin-inactivate.
9148
2549c068
CY
91492012-07-29 Chong Yidong <cyd@gnu.org>
9150
9151 * simple.el (indicate-copied-region): New function.
9152 (kill-ring-save): Split off from here.
9153
9154 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9155 (kill-rectangle): Set deactivate-mark to t on read-only error.
9156
9157 * register.el (copy-to-register, copy-rectangle-to-register):
9158 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
9159 (append-to-register, prepend-to-register): Call indicate-copied-region.
9160
91612012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
9162
9163 * simple.el (async-shell-command-buffer): New defcustom.
9164 (shell-command): Use it. (Bug#4719)
9165
01bd1b0d
EZ
91662012-07-28 Eli Zaretskii <eliz@gnu.org>
9167
9168 * international/mule-cmds.el (set-locale-environment): In a
9169 console session on MS-Windows, set up keyboard and terminal
9170 encoding from the OEM codepage, not the ANSI codepage.
9171 (Bug#12055)
9172
a55739d3
CY
91732012-07-28 Chong Yidong <cyd@gnu.org>
9174
9175 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9176 gdb-get-location.
9177
0e1a094f 91782012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
9179
9180 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9181 the alist (bug#12029).
9182
20329d73
EZ
91832012-07-28 Eli Zaretskii <eliz@gnu.org>
9184
9185 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9186 (compile-always, compile-first)
9187 ($(lisp)/calendar/cal-loaddefs.el)
9188 ($(lisp)/calendar/diary-loaddefs.el)
9189 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9190 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9191 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9192 instead of on update-subdirs.
9193 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9194
345a2258
CY
91952012-07-28 Chong Yidong <cyd@gnu.org>
9196
1eee6341
CY
9197 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9198 directory if vc-deduce-backend returns nil (Bug#7350).
9199
345a2258
CY
9200 * simple.el (delete-trailing-lines): New option.
9201 (delete-trailing-whitespace): Obey it (Bug#11879).
9202
049a0936
DE
92032012-07-28 David Engster <deng@randomsample.de>
9204
9205 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9206 Explanation of new 'symbol-qnames feature in doc-strings.
9207 (xml-maybe-do-ns): Return expanded names as plain symbols if
9208 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9209 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9210
aa81af71
FEG
92112012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9212
9213 Consistent completion in inferior python with emacs -nw.
9214 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9215 binding in inferior-python-mode-map with "\t".
9216 (python-shell-completion-complete-at-point)
9217 (python-completion-complete-at-point): Remove interactive spec.
9218
e827b1eb
JB
92192012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9220
9221 * calc/calccomp.el (math-compose-expr): Undo previous change.
9222
a90dfb95
FEG
92232012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9224
4250fdf5 9225 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
9226 run-python.
9227 (python-shell-make-comint): Fix pop-to-buffer call.
9228 (run-python): Autoload. New arg SHOW.
9229 (python-shell-get-or-create-process): Do not pop python process
9230 buffer.
9231
32770973 92322012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
9233
9234 * notifications.el (notifications-on-action-signal)
9235 (notifications-on-closed-signal): Use also the bus address for the map.
9236 (notifications-notify, notifications-close-notification)
fc0c31f8 9237 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 9238
86332df2
TH
92392012-07-27 Tassilo Horn <tsdh@gnu.org>
9240
4250fdf5
SM
9241 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9242 Add support for the lstlisting and minted environments, and for the
86332df2
TH
9243 ctable macro.
9244 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9245 labels written in keyvals syntax.
9246
ca1302a4
JB
92472012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9248
9249 * calc/calccomp.el (math-compose-expr): Use parentheses when
9250 there is a product in the denominator of a fraction.
9251
f8b91036
EZ
92522012-07-26 Eli Zaretskii <eliz@gnu.org>
9253
9254 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9255 ($(lisp)/calendar/diary-loaddefs.el)
9256 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
9257 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9258 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
9259 rewritten while the autoload files are built at the same time,
9260 which needs to load subdirs.el.
9261
c8e5a42c
MR
92622012-07-26 Martin Rudalics <rudalics@gmx.at>
9263
9264 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9265 (mouse-drag-line): Don't exit tracking when a switch-frame or
9266 switch-window event occurs (Bug#12006).
9267
670d85ea
SM
92682012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9270 * mouse.el (popup-menu): Fix last change.
9271
7abaf5cc
SM
92722012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9273
9274 Autoload from Lisp with more care. Follow aliases when looking for
9275 function properties.
9276 * subr.el (autoloadp): New function.
9277 (symbol-file): Use it.
9278 (function-get): New function.
9279 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9280 autoload-do-load.
9281 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9282 (lisp-indent-function):
9283 * emacs-lisp/gv.el (gv-get):
9284 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9285 * emacs-lisp/byte-opt.el (byte-optimize-form):
9286 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9287 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9288 Use function-get.
9289 * emacs-lisp/cl.el: Don't propagate function properties any more.
9290
9291 * speedbar.el (speedbar-add-localized-speedbar-support):
9292 * emacs-lisp/disass.el (disassemble-internal):
9293 * desktop.el (desktop-load-file):
9294 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9295 (describe-function-1):
9296 * emacs-lisp/find-func.el (find-function-noselect):
9297 * emacs-lisp/elp.el (elp-instrument-function):
9298 * emacs-lisp/advice.el (ad-has-proper-definition):
9299 * apropos.el (apropos-safe-documentation, apropos-macrop):
9300 * emacs-lisp/debug.el (debug-on-entry):
9301 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9302 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9303 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9304
b1364986
AA
93052012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9306
9307 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9308 function, not an obsolete variable (Bug#12046).
9309
67ada220
AS
93102012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9311
9312 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9313
f08088e3
CS
93142012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9315
9316 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9317 window only if it is still live (Bug#12034).
9318
8137e7b3
MR
93192012-07-25 Martin Rudalics <rudalics@gmx.at>
9320
9321 * subr.el (redirect-frame-focus): Add advertised calling
9322 convention (Bug#12030).
9323
09ae5da1
PE
93242012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9325
9326 Prefer typical American spelling for "acknowledgment".
9327 * vc/add-log.el (change-log-acknowledgment): Rename from
9328 change-log-acknowledgement, with an alias for the old name.
9329
3cc5a3a8
JB
93302012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9331
9332 * calc-alg.el (math-simplify-divide): Don't cross multiply
9333 in an equation when the lhs is a variable.
9334
b7af7f62
JD
93352012-07-24 Julien Danjou <julien@danjou.info>
9336
9337 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9338 Remove, unused.
9339
ec1b09b1
EZ
93402012-07-23 Eli Zaretskii <eliz@gnu.org>
9341
9342 * startup.el (command-line): Don't display an empty user name in
9343 the error message about non-existent home directory, when
9344 init-file-user was set to an empty string. See
9345 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9346 for the details and context.
9347
b525fd8a
VB
93482012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9349
9350 * ses.el (ses-cell-formula-aset): New macro.
9351 (ses-cell-references-aset): New macro.
9352 (ses-cell-p): New function.
9353 (ses-rename-cell): Do no longer rely on complex operations like
9354 ses-cell-set-formula or ses-set-cell to change the cell and handle
9355 the undo at the same time, but rather use lower level new macros
9356 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 9357 the undo directly. Refresh the mode line.
b525fd8a 9358
2c73e345
LL
93592012-07-21 Leo Liu <sdl.web@gmail.com>
9360
670d85ea
SM
9361 * progmodes/cc-cmds.el (c-defun-name):
9362 Use match-string-no-properties instead for consistency.
2c73e345 9363
542dfbde
LL
93642012-07-20 Leo Liu <sdl.web@gmail.com>
9365
3646bcd6
LL
9366 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9367 (Bug#7879)
9368
542dfbde
LL
9369 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9370
25721031
CY
93712012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9374 * progmodes/bug-reference.el, misearch.el: Provide themselves
9375 (bug#11915).
9376
9377 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9378 of narrowed buffer (bug#11966).
9379
316e68a7
VB
93802012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9381
9382 * ses.el (ses-rename-cell): Set new name also in reference list of
9383 cells of which the renamed cell depends.
9384
bbf0e7d9
MY
93852012-07-20 Masatake YAMATO <yamato@redhat.com>
9386
9387 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9388 to check whether menu-bar is shown or not. If not shown,
9389 show the menu-bar as a popup menu instead of using tmm.
9390 * mouse.el (popup-menu): Accept `point' as `position' argument.
9391
c28662a8
DG
93922012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9393
9394 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9395 up inside string symbol literal (bug#11923).
9396
87ab808f
EZ
93972012-07-20 Eli Zaretskii <eliz@gnu.org>
9398
9399 * startup.el (fancy-startup-text): Read the whole tutorial, not
9400 just its first 256 bytes. Prevents gibberish in display of the
9401 tutorial title.
9402
89dea803
DA
94032012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9404
9405 Drop idle buffer compaction due to an absence of the
9406 proved efficiency.
9407 * compact.el: Remove.
9408
8a4e6db8
SS
94092012-07-19 Sam Steingold <sds@gnu.org>
9410
9411 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9412 vc-bzr-pull & vc-bzr-merge-branch.
9413 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9414 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9415 for consistency with compilation-error-regexp-alist.
9416 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9417 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9418 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9419 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9420
5db81e33
SM
94212012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * emacs-lisp/chart.el: Use lexical-binding.
9424 (chart-emacs-storage): Don't hardcode the list of entries.
9425
5b835e1d
DA
94262012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9427
9428 Next round of tweaks caused by Fgarbage_collect changes.
9429 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9430
9cd47b72
DA
94312012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9432
9433 Compact buffers when idle.
9434 * compact.el: New file.
9435
1d6fc0df
SM
94362012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 * subr.el (eventp): Presume that if it looks vaguely like an event,
9439 it's an event (bug#10190).
9440
1d29cc7d
FEG
94412012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9442
9443 Enhancements to ppss related code (thanks Stefan).
9444 * progmodes/python.el (python-indent-context)
9445 (python-indent-calculate-indentation, python-indent-dedent-line)
9446 (python-indent-electric-colon, python-nav-forward-block)
9447 (python-mode-abbrev-table)
1d6fc0df 9448 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
9449 for ppss context.
9450 (python-info-continuation-line-p): Cleanup.
9451 (python-info-ppss-context): Do not catch 'quote.
9452 (python-info-ppss-context-type)
9453 (python-info-ppss-comment-or-string-p): Simplify.
9454
d583cbe6
FEG
94552012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9456
9457 * progmodes/python.el: Enhancements to eldoc support.
9458 (python-info-current-symbol): New function.
9459 (python-eldoc-at-point): Use python-info-current-symbol.
9460 (python-info-current-defun): Fix cornercase on first defun scan.
9461 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9462 and signal error when no inferior python process is available.
9463
eceb6feb
DG
94642012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9465
9466 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9467 assume it's always t.
9468 (vc-git-registered): Remove caching, the function is only called
9469 once.
9470 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9471
4c8ff0fe
CY
94722012-07-18 Chong Yidong <cyd@gnu.org>
9473
19fb7186
CY
9474 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9475
9587c688
CY
9476 * simple.el (count-words): Report on narrowing (Bug#9959).
9477
0fe776a1
CY
9478 * bindings.el: Bind M-= to count-words.
9479
4c8ff0fe
CY
9480 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9481
7f5331cc
MY
94822012-07-18 Masatake YAMATO <yamato@redhat.com>
9483
9484 * progmodes/sh-script.el (sh-imenu-generic-expression):
9485 Capture a function with `function' keyword and without parentheses
9486 like "function FOO" (bug#11856).
9487
2dc2a609
TH
94882012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9489
9490 * window.el (split-window-sensibly): Make WINDOW argument
9491 optional.
9492
439f7677
CY
94932012-07-18 Chong Yidong <cyd@gnu.org>
9494
9aeb25a6
CY
9495 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9496
439f7677
CY
9497 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9498 and make C-x 8 RET exit isearch (Bug#11439).
9499
9500 * international/iso-transl.el: Move isearch-mode-map key
9501 definitions to isearch.el.
9502
12999ea8
SM
95032012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9504
9505 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9506 (eieio-defclass): Use gv-define-setter when possible.
9507
3ab6e069
DA
95082012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9509
9510 Reflect recent changes in Fgarbage_collect.
9511 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9512 reflect new format of data returned by Fgarbage_collect.
9513
0a60bc10
FEG
95142012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9515
9516 New utility functions + python-info-ppss-context fix (Bug#11910).
9517 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9518 (python-info-ppss-comment-or-string-p): New functions.
9519 (python-info-ppss-context): Small fix for string check.
9520
6dafa0d5
JL
95212012-07-17 Juri Linkov <juri@jurta.org>
9522
9523 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9524 (dired-do-async-shell-command): Don't add `*' at the end of the
9525 command (Bug#11815).
9526 (dired-do-shell-command): Doc fix.
9527 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9528 Join the individual commands using either "&" or ";" as the
9529 separator depending on the values of these trailing characters.
9530 At the end re-add the trailing "&". (Bug#10598)
9531
9532 * simple.el (async-shell-command): Sync the interactive spec with
9533 `shell-command'. Doc fix.
9534 (shell-command): Doc fix.
9535
b19dd9d1
JL
95362012-07-17 Juri Linkov <juri@jurta.org>
9537
9538 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9539
bcdc27d7 95402012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 9541
bcdc27d7 9542 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
9543 * progmodes/python.el (python-nav-beginning-of-statement):
9544 Rename from python-nav-statement-start.
bcdc27d7
FEG
9545 (python-nav-end-of-statement): Rename from
9546 python-nav-statement-end.
9547 (python-nav-beginning-of-block): Rename from
9548 python-nav-block-start.
9549 (python-nav-end-of-block): Rename from python-nav-block-end.
9550
191da00e
FEG
95512012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9552
7f5331cc
MY
9553 * progmodes/python.el (python-shell-send-string-no-output):
9554 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
9555 future interactions (Bug#11868).
9556
4dc7c8d5 95572012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 9558
88ecaf8f
SM
9559 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9560
ef501ef0
SM
9561 * emacs-lisp/elint.el (elint-find-args-in-code):
9562 Use help-function-arglist, so as to handle lexical byte-code.
9563
aa7aaf8f
SM
9564 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9565 change (bug#11826).
9566
45fd731c
SM
95672012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9568
2143fa32
SM
9569 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9570 Avoid spuriously marking the buffer as modified because of c-is-sws.
9571
efc26dbe
SM
9572 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9573 as not-a-comment (bug#11946).
9574
f5695c9a
SM
9575 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9576 for uninterned vars.
9577
9578 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9579 Use read-event since we don't really want to read chars but bytes.
9580
45fd731c
SM
9581 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9582 $$..$$ but also $..$ using regexps (bug#11953).
9583 Use tex-verbatim for \url and \path.
9584 (tex-font-lock-keywords): Define as defconst like the others.
9585 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9586
ddfc8813
RK
95872012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9588
9589 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9590 alias for insert-char.
9591
758e556a
FEG
95922012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9593
9594 * progmodes/python.el: Simplified imenu implementation.
9595 (python-nav-jump-to-defun): Remove command.
9596 (python-mode-map): Use `imenu' instead.
9597 (python-nav-list-defun-positions-cache)
9598 (python-imenu-include-defun-type, python-imenu-make-tree)
9599 (python-imenu-subtree-root-label, python-imenu-index-alist):
9600 Remove vars.
9601 (python-nav-list-defun-positions, python-nav-read-defun)
9602 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
9603 (python-imenu-make-tree, python-imenu-create-index):
9604 Remove functions.
758e556a
FEG
9605 (python-mode): Update to interact with imenu by setting
9606 `imenu-extract-index-name-function' only.
9607
032d23ab
FEG
96082012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9609
9610 * progmodes/python.el: Enhancements to navigation commands.
9611 (python-nav-backward-sentence)
9612 (python-nav-forward-sentence): Remove.
9613 (python-nav-backward-statement, python-nav-forward-statement)
9614 (python-nav-statement-start, python-nav-statement-end)
9615 (python-nav-backward-block, python-nav-forward-block)
9616 (python-nav-block-start, python-nav-block-end)
9617 (python-nav-forward-sexp-function)
9618 (python-info-current-line-comment-p)
9619 (python-info-current-line-empty-p): New functions.
9620 (python-indent-context): Use `python-nav-statement-start'.
9621
01795a1b
MA
96222012-07-16 Michael Albinus <michael.albinus@gmx.de>
9623
9328d9aa
MA
9624 * eshell/em-ls.el (eshell/ls): Use `apply'.
9625
9626 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9627 multi-hops, instead of Tramp internals.
9628
01795a1b
MA
9629 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9630
9631 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9632 when F1 and F2 are located on different hosts.
9633
63408057
CY
96342012-07-14 Chong Yidong <cyd@gnu.org>
9635
9636 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9637 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9638 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9639 (xterm-mouse--read-event-sequence-1000)
9640 (xterm-mouse--read-event-sequence-1006): New functions. For old
9641 mouse protocol, handle M-mouse-X events correctly.
9642 (xterm-mouse-event): New arg specifying mouse protocol.
9643 (turn-on-xterm-mouse-tracking-on-terminal)
9644 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
9645 sequence to toggle extended coordinates on newer XTerms.
9646 This appears to be harmless on terminals which do not support this.
63408057 9647
cd276f6e
LL
96482012-07-14 Leo Liu <sdl.web@gmail.com>
9649
28ca98ac
LL
9650 Add fringe bitmap indicators for flymake. (Bug#11253)
9651 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9652 (flymake-make-overlay): New arg BITMAP.
9653 (flymake-error-bitmap, flymake-warning-bitmap)
9654 (flymake-fringe-indicator-position): New user variables.
9655
cd276f6e
LL
9656 * fringe.el: New bitmap exclamation-mark.
9657
04408072
JD
96582012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9659
9660 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9661 also (Bug#7879).
9662
b5cf7fc4
CY
96632012-07-14 Chong Yidong <cyd@gnu.org>
9664
9665 * electric.el (electric-pair-post-self-insert-function): Fix pair
9666 insertion in empty-region case (Bug#11520).
9667
be755c79
RT
96682012-07-14 Chong Yidong <cyd@gnu.org>
9669
45fd731c
SM
9670 * bindings.el: Consolidate ctl-x-r-map bindings.
9671 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
9672
9673 * rect.el, register.el: Move bindings to bindings.el.
9674
96752012-07-14 Reuben Thomas <rrt@sc3d.org>
9676
9677 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9678
7f5b3198
AS
96792012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9680
9681 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9682
97662200
JB
96832012-07-13 Juanma Barranquero <lekktu@gmail.com>
9684
80185fed
JB
9685 * bindings.el (top): Use `mapc' instead of `mapcar'.
9686
97662200
JB
9687 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9688
2bb1ae55
MA
96892012-07-13 Michael Albinus <michael.albinus@gmx.de>
9690
9691 * progmodes/sql.el (sql-comint): Suppress the check for program on
9692 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9693 (Bug#11908)
9694
dea31bd3
CY
96952012-07-13 Chong Yidong <cyd@gnu.org>
9696
9697 * bindings.el: Assign a non-nil permanent-local property to
9698 per-buffer variables which lack a default value (Bug#11930).
9699
9700 * help-fns.el (describe-variable): In the "automatically becomes
9701 local" notice, take note of permanent-local variables.
9702
b68b3337
CY
97032012-07-13 Chong Yidong <cyd@gnu.org>
9704
9705 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9706 to allow printing the message when called from Lisp.
9707
9708 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9709 Remove toggle-read-only.
9710
9711 * bs.el (bs-toggle-readonly):
45fd731c
SM
9712 * buff-menu.el (Buffer-menu-toggle-read-only):
9713 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
9714
9715 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9716 Remove with-no-warnings around toggle-read-only.
9717 (ffap-read-only, ffap-read-only-other-window)
9718 (ffap-read-only-other-frame): Callers changed.
9719
9720 * help-mode.el: Don't require view package.
9721 (help-mode-finish): Set buffer-read-only instead of calling
9722 toggle-read-only.
9723
9724 * bindings.el (mode-line-toggle-read-only):
9725 * dired.el (dired-toggle-read-only):
9726 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9727 with non-nil second arg.
9728
9729 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9730 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9731 directly.
9732
56bc1586
EZ
97332012-07-12 Eli Zaretskii <eliz@gnu.org>
9734
9735 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9736 not incf.
9737
a464a6c7
SM
97382012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9739
9740 More CL cleanups and reduction of use of cl.el.
9741 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9742 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9743 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9744 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9745 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9746 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9747 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9748 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9749 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9750 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9751 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9752 * eshell/em-cmpl.el, eshell/em-banner.el:
9753 * calendar/parse-time.el: Use cl-lib.
9754 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9755 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9756 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9757 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9758 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9759 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9760 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9761 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9762 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9763 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9764 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9765 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9766 `lambda' rather than with `quote'.
9767 (eshell-do-opt): Adjust accordingly.
9768 (eshell-process-option): Simplify.
9769 * eshell/esh-var.el:
9770 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9771 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9772 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9773 to `pcase--dontcare'.
9774 * emacs-lisp/cl.el (labels): Mark obsolete.
9775 (cl--letf, letf): Move to cl-lib.
9776 (cl--letf*, letf*): Remove.
9777 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9778 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9779 (cl-progv): Rewrite.
9780 (cl--letf, cl-letf): Move from cl.el.
9781 (cl-letf*): New macro.
9782 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9783
7ad4afe1
MA
97842012-07-11 Michael Albinus <michael.albinus@gmx.de>
9785
9786 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9787
9af57756
CY
97882012-07-11 Chong Yidong <cyd@gnu.org>
9789
9790 * vc/log-edit.el (log-edit-vc-backend): New variable.
9791 (log-edit): Doc fix.
9792
9793 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9794 argument of log-edit to set up all local variables.
9795 (vc-start-logentry): New optional arg specifying VC backend.
9796
9797 * vc/vc.el (vc-checkin): Use it.
9798 (vc-deduce-fileset): Handle Log Edit buffers.
9799 (vc-diff): Make first argument optional too.
9800
9801 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9802
8477cc7a
MA
98032012-07-10 Michael Albinus <michael.albinus@gmx.de>
9804
9805 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9806 command, just in case. The function is not needed anymore.
9807 (eshell-external-command): Do not call `eshell-remote-command'.
9808
19faa8e8
SM
98092012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9810
f58e0fd5
SM
9811 Reduce use of (require 'cl).
9812 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9813 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9814 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9815 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9816 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9817 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9818 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9819 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9820 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9821 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9822 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9823 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9824 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9825 (byte-compile-unfold-bcf, byte-compile-check-variable):
9826 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9827 (byte-compile-nilconstp):
9828 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9829 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9830
2519d43a
SM
9831 * emacs-lisp/gv.el (cond): Make it a valid place.
9832 (if): Simplify slightly.
9833
19faa8e8
SM
9834 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9835 (pcase--self-quoting-p): New function.
9836 (pcase--u1): Use it.
9837
c4907a5e
GM
98382012-07-10 Glenn Morris <rgm@gnu.org>
9839
9840 * emacs-lisp/authors.el (authors-fixed-entries):
9841 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9842
c4444d16
PE
98432012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9844
9845 Rename configure.in to configure.ac (Bug#11603).
9846 * emacs-lisp/authors.el (authors-canonical-file-name):
9847 * progmodes/autoconf.el (autoconf-mode):
9848 Prefer configure.ac to configure.in.
9849
d75be97d
CY
98502012-07-08 Chong Yidong <cyd@gnu.org>
9851
01ac65bd
CY
9852 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9853 Implement the mouse-1-click-follows-link handling properly.
9854
9855 * info.el (Info-link-keymap): Use follow-link mechanism for
9856 header-line links (Bug#374).
9857
d75be97d
CY
9858 * simple.el (deactivate-mark): Do not set the primary selection
9859 if another program has acquired it (Bug#11772).
9860
87a92845 98612012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
9862
9863 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9864 (woman-decode-region): Replace escaped-escapes without destroying
9865 bold or underline (Bug#11552).
87a92845 9866 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 9867
621b9d6c
CY
98682012-07-07 Chong Yidong <cyd@gnu.org>
9869
9870 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
9871 (interprogram-cut-function, interprogram-paste-function):
9872 Mention that we typically mean the clipboard.
621b9d6c 9873
133a11fc
GM
98742012-07-06 Glenn Morris <rgm@gnu.org>
9875
0d27a45e
GM
9876 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9877
133a11fc
GM
9878 * files.el (toggle-read-only): Restrict message to interactive use.
9879
07b151f1
MA
98802012-07-06 Michael Albinus <michael.albinus@gmx.de>
9881
9882 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9883
9884 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9885
211b896b
GM
98862012-07-06 Glenn Morris <rgm@gnu.org>
9887
50394322
GM
9888 * Makefile.in (compile-one-process): Rename from "recompile".
9889
211b896b
GM
9890 * Makefile.in (bzr-update): "compile" is the same as "recompile
9891 autoloads", but parallelizable, so use that instead.
9892
4737eec9
DG
98932012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9894
9895 * window.el (quit-window): Always restore window height when
8137e7b3 9896 it's saved in quit-restore parameter (Bug#11810).
4737eec9 9897
226c3633 98982012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
9899
9900 * simple.el (kill-whole-line): Doc tweak.
9901
226c3633 99022012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
9903
9904 * files.el (file-relative-name): Compare file names
9905 case-insensitively if on MS-Windows or MS-DOS, or if
9906 read-file-name-completion-ignore-case is non-nil. Don't use
9907 case-fold-search for this purpose. (Bug#11827)
9908
4dc7c8d5
SM
99092012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9910
9911 * calendar/cal-dst.el (calendar-current-time-zone):
9912 Return calendar-current-time-zone-cache if non-nil.
9913
99142012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 99152012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 9916
19faa8e8
SM
9917 * calendar/cal-dst.el (calendar-current-time-zone):
9918 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 9919
60198fc9
GM
99202012-07-06 Glenn Morris <rgm@gnu.org>
9921
9922 * Makefile.in (cvs-update): Remove old alias.
9923
957b3189
MA
99242012-07-05 Michael Albinus <michael.albinus@gmx.de>
9925
9926 Sync with Tramp 2.2.6-pre.
9927
9928 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9929 compatible declaration.
9930
19faa8e8
SM
9931 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9932 Protect `list-load-path-shadows' call.
957b3189
MA
9933
9934 * net/tramp-compat.el (top): Require packages, which aren't
9935 autoloaded anymore for XEmacs. Protect call of
9936 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9937 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9938 it hurts at least for SXEmacs.
9939 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9940 standard-value for `temporary-file-directory'.
9941
9942 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9943 Redirect stderr to /dev/null.
9944 (tramp-sh-handle-write-region): uid and gid can be floats.
9945 Reported by Russell Sim <russell.sim@gmail.com>.
9946 (tramp-sh-handle-vc-registered): Hide errors.
9947 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9948 and `start-file-process'.
9949 (tramp-maybe-open-connection): Check also whether `non-essential'
9950 is bound.
9951
566df3fc
CY
99522012-07-04 Chong Yidong <cyd@gnu.org>
9953
9954 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9955 (xml-parse-tag): Likewise, and avoid changing entity tables.
9956 (xml-syntax-table): Define from scratch, making sure not to give
9957 x2000 and other Unicode spaces whitespace syntax, since those are
9958 not spaces in XML.
9959 (xml-parse-fragment): Delete unused function.
9960 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9961 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9962 (xml-entity-ref, xml-pe-reference-re)
9963 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9964 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9965 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9966 (xml-entity-value-re): Use syntax references in regexps where
9967 possible; no need to define inside a let-binding.
9968 (xml-parse-dtd): Use xml-pe-reference-re.
9969 (xml-entity-or-char-ref-re): New defconst.
9970 (xml-parse-string, xml-substitute-special): Use it.
9971
30eabd7a
SM
99722012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9973
0781098a
SM
9974 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9975 (find-file--read-only): New function.
9976 (find-file-read-only, find-file-read-only-other-window)
9977 (find-file-read-only-other-frame): Use it.
9978 (insert-file-contents-literally): Don't `fset'.
9979 (get-free-disk-space): Use locate-dominating-file.
9980
b5771c0d
SM
9981 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9982 function is already compiled.
9983
30eabd7a
SM
9984 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9985
b4886f6e
MA
99862012-07-03 Michael Albinus <michael.albinus@gmx.de>
9987
9988 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9989 files on the same host.
9990
b9d82339
AS
99912012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9992
9993 * help-fns.el (describe-function-1): Only call
9994 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9995
a76e6535
CY
99962012-07-03 Chong Yidong <cyd@gnu.org>
9997
9998 * xml.el: Protect parser against XML bombs.
9999 (xml-entity-expansion-limit): New variable.
10000 (xml-parse-string, xml-substitute-special): Use it.
10001 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10002
b544fef2
GM
100032012-07-03 Glenn Morris <rgm@gnu.org>
10004
10005 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10006 Allow linking to specific messages in debbugs reports (eg 123#5).
10007
a7aef6f5
CY
100082012-07-02 Chong Yidong <cyd@gnu.org>
10009
10010 * xml.el: Fix entity and character reference expansion, allowing
10011 them to expand into markup as per XML spec.
10012 (xml-default-ns): New variable.
10013 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
10014 (xml-parse-region): Make first two arguments optional.
10015 Discard text properties.
10016 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10017 All callers changed.
a7aef6f5
CY
10018 (xml-parse-tag): Call xml-parse-tag-1. For backward
10019 compatibility, this function should not modify buffer contents.
10020 (xml-parse-tag-1): Fix opening-tag regexp.
10021 (xml-parse-string): Rewrite, handling entity and character
10022 references properly.
10023 (xml--entity-replacement-text): Signal an error if a parameter
10024 entity is undefined.
10025
3df31c9f
SM
100262012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10027
2b5208f1
SM
10028 * comint.el (comint-output-filter): Filter out repeated prompts.
10029
3df31c9f
SM
10030 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10031 and file-name-absolute-p.
10032 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10033 internal calls.
10034
e3ac1281
PE
100352012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10036
10037 Spelling fixes.
10038 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10039 Rename from byte-compile--refiy-function. All uses changed.
10040
fbf2e7ad
CY
100412012-07-01 Chong Yidong <cyd@gnu.org>
10042
10043 * xml.el (xml--parse-buffer): New function. Move most of
10044 xml-parse-region here.
10045 (xml-parse-region): Copy region into a temporary buffer, since
10046 parameter entity substitution requires changing buffer contents.
10047 Use xml--parse-buffer.
10048 (xml-parse-file): Use xml--parse-buffer.
10049 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 10050 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 10051
9bf0aa15
GM
100522012-06-30 Glenn Morris <rgm@gnu.org>
10053
bbce2853
GM
10054 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10055
9bf0aa15
GM
10056 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10057 Remove outdated and unnecessary dbus declarations.
10058
0d23c240
EZ
100592012-06-30 Eli Zaretskii <eliz@gnu.org>
10060
10061 * emacs-lisp/timer.el (timer-until): Subtract results of
10062 float-time, instead of taking float-time of the result of
10063 time-subtract, since float-time signals an error for negative time
10064 arguments.
10065
b3218de1
CY
100662012-06-30 Chong Yidong <cyd@gnu.org>
10067
10068 * xml.el (xml-*-re): Convert defvars into defconsts, and
10069 eval-and-compile them so eval-and-compile works on derivatives.
10070 (xml--entity-replacement-text): Use eval-and-comple.
10071
a40c87a0
MA
100722012-06-30 Michael Albinus <michael.albinus@gmx.de>
10073
10074 * vc/vc-git.el (vc-git-registered): Use cache property
10075 `git-registered'.
10076 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10077 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 10078 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 10079
ac87de97
DG
100802012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10081
10082 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 10083 removed (likely outside Emacs). (Bug#11757)
ac87de97 10084
ac10fe06
SM
100852012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10086
3df31c9f 10087 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 10088
7f3fbd5d
CY
100892012-06-30 Chong Yidong <cyd@gnu.org>
10090
10091 * xml.el: Implement XML parameter entities.
10092 (xml-parameter-entity-alist): New variable.
10093 (xml-parse-region, xml-parse-fragment): Preserve previous values
10094 of xml-entity-alist and xml-parameter-entity-alist, so that
10095 repeated calls on different documents do not change them.
10096 (xml-parse-tag): Fix doctype regexp.
10097 (xml--entity-replacement-text): New function.
10098 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10099 properly requires url retrieval which is unimplemented.
10100 (xml-escape-string): Doc fix.
10101
3cfbebba
SM
101022012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10103
10104 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10105
2af3565e
DA
101062012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10107
10108 * fringe.el (fringe-mode): Doc fix.
10109
929df0e7
MA
101102012-06-29 Michael Albinus <michael.albinus@gmx.de>
10111
10112 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10113 is non-nil.
10114 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10115 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10116
c8d3a25c 101172012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 10118
c8d3a25c
GM
10119 * calendar/cal-dst.el (calendar-current-time-zone):
10120 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 10121
c8d3a25c 101222012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
10123
10124 * progmodes/which-func.el (which-func-format):
10125 Add mouse-face. (Bug#11698)
10126
c8d3a25c
GM
101272012-06-29 Leo Liu <sdl.web@gmail.com>
10128
10129 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10130
101312012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10132
10133 * minibuffer.el (minibuffer-confirm-exit-commands):
10134 Add completion-at-point (bug#11725).
10135
101362012-06-29 Glenn Morris <rgm@gnu.org>
10137
10138 * progmodes/f90.el (f90-font-lock-keywords-2):
10139 Add some preprocessor elements. (Bug#10499)
10140
101412012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10142
10143 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10144 Use syntax-propertize (bug#11739).
10145
2badeec4
JB
101462012-06-28 Juanma Barranquero <lekktu@gmail.com>
10147
10148 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10149
ae4969c2
JD
101502012-06-28 Julien Danjou <julien@danjou.info>
10151
10152 * term.el (term-handle-colors-array): Use a set of new faces to
10153 color the terminal. Also uses :inverse-video property.
10154 (term-default-fg-color): Set to nil by default, deprecate in favor
10155 of `term-face'.
10156 (term-default-bg-color): Set to nil by default, deprecate in favor
10157 of `term-face'.
10158 (term-current-face): Use `term-face' by default.
10159 (term-bold-attribute): Variable deleted.
10160
1c9bd870
GM
101612012-06-28 Glenn Morris <rgm@gnu.org>
10162
10163 * simple.el (completion-list-mode-finish):
10164 Don't use toggle-read-only. (Since completion-list-mode has
10165 a special mode-class, it wasn't doing anything extra anyway.)
10166
c207708c
SM
101672012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10168
10169 Make inlining of other-mode interpreted functions work (bug#11799).
10170 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10171 (byte-compile): Use it to fix compilation of lexical-binding closures.
10172 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10173 function, if needed.
10174
3fd56834
SM
101752012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10176
04901786
SM
10177 * help-mode.el (help-make-xrefs): Don't just withstand
10178 cyclic-variable-indirection but any error in documentation-property.
10179
1ec4b7b2
SM
10180 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10181 memory use.
10182 * bindings.el (bindings--define-key): New function.
10183 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10184 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10185 * bindings.el: Use it to purecopy define-key bindings.
10186
e309e2a5
SM
10187 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10188
d5c6faf9
SM
10189 * emacs-lisp/cl.el (flet): Mark obsolete.
10190 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10191 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10192 * progmodes/js.el (js-c-fill-paragraph):
10193 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10194 (ebrowse-switch-member-buffer-to-derived-class):
10195 * play/5x5.el (5x5-solver): Use cl-flet.
10196
6e9590e2
SM
10197 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10198 (cl--symbol-function): New macro.
10199 (cl--letf, cl--letf*): Use it.
10200
3fd56834
SM
10201 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10202 Strip "toggle-" if any.
10203
35ff222c
GM
102042012-06-27 Glenn Morris <rgm@gnu.org>
10205
1ba6038a
GM
10206 * info.el (Info-default-directory-list): Move here from paths.el.
10207 * paths.el: Remove file, which is now empty.
10208 * loadup.el: No longer load "paths".
10209
0ea0e51b
GM
10210 * custom.el (custom-initialize-delay): Doc fix.
10211
35ff222c
GM
10212 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10213 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10214 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10215 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10216 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10217 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10218 * eshell/eshell.el (eshell-defgroup): Remove alias.
10219
c89926a5
CY
102202012-06-27 Chong Yidong <cyd@gnu.org>
10221
10222 * help.el (help-enable-auto-load): New variable.
10223
10224 * help-fns.el (help-fns--autoloaded-p): New function.
10225 (describe-function-1): Refer to a function as "autoloaded" if it
10226 was autoloaded at any time in the past. Perform autoloading if
10227 help-enable-auto-load is non-nil.
10228
cc06e7e7
EZ
102292012-06-26 Eli Zaretskii <eliz@gnu.org>
10230
10231 * makefile.w32-in (compile, compile-always): Depend on
10232 update-subdirs, not on subdirs.el. Otherwise, several different
10233 sub-targets of 'bootstrap' running in parallel could
10234 simultaneously write to subdirs.el, producing a garbled file.
10235
d2c32364
SS
102362012-06-26 Sam Steingold <sds@gnu.org>
10237
10238 * files.el (file-name-base): New convenience function.
0d14cc21
GM
10239 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10240 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10241 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10242 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10243 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
10244 * textmodes/tex-mode.el: Use it.
10245 Did not touch cedet and org because they are maintained elsewhere.
10246
5cf983b2
MR
102472012-06-26 Martin Rudalics <rudalics@gmx.at>
10248
10249 * calendar/calendar.el (calendar-exit): Don't try to delete or
10250 iconify last frame. See:
10251 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10252
8c4f2952
JD
102532012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10254
10255 * server.el (server-process-filter): Remember dir in the
10256 process's `server-client-directory' properties.
10257
772b2e2c
CY
102582012-06-24 Chong Yidong <cyd@gnu.org>
10259
10260 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10261 non-tag text.
10262
711b11e1
JB
102632012-06-23 Juanma Barranquero <lekktu@gmail.com>
10264
10265 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10266
dc5d230c
SM
102672012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10268
10269 * help-fns.el (describe-variable): Don't croak when doc is not found.
10270 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10271 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10272 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10273 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10274 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10275 ((lambda ..) ..).
10276 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10277
136e1c1d
CY
102782012-06-23 Chong Yidong <cyd@gnu.org>
10279
e8c1cabf
CY
10280 * info.el (Info-mouse-follow-link): Accept symbol values of
10281 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
10282 (Info-fontify-node): Use Info-link-keymap for all navigation
10283 buttons, with link-args property to perform the desired action.
10284 (Info-link-keymap): Doc fix.
10285 (Info-next-link-keymap, Info-prev-link-keymap)
10286 (Info-up-link-keymap): Delete now-unused keymaps.
10287
0e9e6c6a
CY
102882012-06-23 Chong Yidong <cyd@gnu.org>
10289
05e89fea
CY
10290 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10291
0e9e6c6a
CY
10292 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10293 system abbrevs.
10294
10295 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10296
e33c6771
SM
102972012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10298
b68581e2
SM
10299 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10300 (bug#11719).
10301
e33c6771
SM
10302 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10303 the requote function doesn't work properly (bug#11714).
10304
7117e105
GM
103052012-06-23 Glenn Morris <rgm@gnu.org>
10306
10307 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10308
36cec983
SM
103092012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10310
10311 Further GV/CL cleanups.
10312 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10313 gv-expander.
10314 (gv--defun-declaration): New function.
10315 (defun-declarations-alist): Use it.
10316 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10317 (gv-place): Autoload.
10318 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10319 original definition of dotimes and dolist.
10320 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10321 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10322 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10323 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10324 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10325 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10326 to the function's definition.
10327 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10328 * window.el:
10329 * files.el:
10330 * faces.el:
10331 * env.el: Don't use CL.
10332
d35af63c
PE
103332012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10334
10335 Support higher-resolution time stamps (Bug#9000).
10336
10337 * calendar/time-date.el (with-decoded-time-value): New arg
10338 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10339 (encode-time-value): New optional arg PICO. New type 3.
10340 (time-to-seconds) [!float-time]: Support the new picoseconds
10341 component if it's used.
10342 (seconds-to-time, time-subtract, time-add):
10343 Support ps-resolution time stamps as well.
10344
10345 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10346 (timerp): Timer vectors now have length 9, not 8.
10347 (timer--time): Support new-style (4-part) time stamps.
10348 (timer-next-integral-multiple-of-time): Time stamps now have
10349 picosecond resolution, so take a bit more care about rounding.
10350 (timer-relative-time, timer-inc-time): New optional arg psecs.
10351 (timer-set-time-with-usecs): Set psecs to 0.
10352 (timer--activate): Check psecs component, too.
10353
10354 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10355
ac77b21a
SM
103562012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10357
f143bfe3
SM
10358 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10359 Move the non-essential binding to the post/pre-command-hook where it is
10360 more obviously correct.
10361
ac77b21a
SM
10362 * subr.el (read-passwd): Don't use a history at all.
10363 * savehist.el (savehist-save): Remove password saved accidentally
10364 because of the above bug.
10365
76386c5a
BG
103662012-06-22 Bastien Guerry <bzg@gnu.org>
10367
10368 * files.el (toggle-read-only): Display a message telling whether
10369 the buffer is read-only or not (bug#11726).
10370
2ee3d7f0
SM
103712012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10372
10373 * emacs-lisp/gv.el: New file.
10374 * subr.el (push, pop): Extend to generalized variables.
10375 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10376 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10377 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10378 gv-define-simple-setter, and gv-define-expander.
10379 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10380 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10381 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10382 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10383 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10384 gv-letplace.
10385 (cl-defstruct): Don't define setf-method any more.
10386 * emacs-lisp/cl.el (flet): Don't autoload.
10387 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10388 (define-setf-expander, defsetf, define-modify-macro)
10389 (cl-struct-setf-expander): Move from cl-lib.el.
10390 * emacs-lisp/syntax.el:
10391 * emacs-lisp/ewoc.el:
10392 * emacs-lisp/smie.el:
10393 * emacs-lisp/cconv.el:
10394 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10395 (timer--time): Use gv-define-simple-setter.
10396 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10397 to avoid coding-system problems in subr.el. Adjust all users.
10398 (macroexp--maxsize, macroexp-small-p): New functions.
10399 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10400 * scroll-bar.el (scroll-bar-mode):
10401 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10402 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10403 * winner.el (winner-configuration, winner-make-point-alist)
10404 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10405 * files.el (locate-file-completion-table): Avoid list*.
10406
c5695d1d
CY
104072012-06-22 Chong Yidong <cyd@gnu.org>
10408
10409 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10410 (dired-create-files): Doc fix (Bug#11329).
10411 (dired-do-copy): Doc fix (Bug#11334).
10412 (dired-mark-read-string): Doc fix (Bug#11553).
10413
2ee3d7f0
SM
10414 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10415 Doc fix (Bug#11326).
c5695d1d
CY
10416 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10417 (dired-dwim-target): Doc fix.
10418
10419 * wdired.el (wdired-mode): Doc fix.
10420
89b5595a
GM
104212012-06-22 Glenn Morris <rgm@gnu.org>
10422
575db3f1
GM
10423 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10424 (pcmpl-rpm-cache-stamp-file): New constant.
10425 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10426 (pcmpl-rpm-packages): Optionally cache list of packages.
10427
a4c8dd51
GM
10428 * pcmpl-rpm.el (pcmpl-rpm): New group.
10429 (pcmpl-rpm-query-options): New option.
10430 (pcmpl-rpm-packages): No need to inline it.
10431 Use pcmpl-rpm-query-options.
10432
89b5595a
GM
10433 * calendar/calendar.el (calendar-in-read-only-buffer):
10434 Avoid some needless mode changes.
10435
e76f0800
CY
104362012-06-21 Chong Yidong <cyd@gnu.org>
10437
10438 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10439 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 10440 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 10441
297a8f1d
CY
104422012-06-20 Chong Yidong <cyd@gnu.org>
10443
10444 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10445
d34c18b1
DR
104462012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10447
10448 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10449 (bug#11201).
10450
32f7f28e
CY
104512012-06-20 Chong Yidong <cyd@gnu.org>
10452
10453 * term.el (term-window-width): Handle the case of a missing right
10454 fringe (Bug#8837).
10455 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
10456 (term-mode): Use define-derived-mode. Minor cleanups.
10457 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
10458 (term-move-columns, term-insert-char, term-emulate-terminal)
10459 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 10460
493c6688
MA
104612012-06-20 Michael Albinus <michael.albinus@gmx.de>
10462
d34c18b1
DR
10463 * net/ange-ftp.el (ange-ftp-get-passwd):
10464 Bind `enable-recursive-minibuffers'.
493c6688
MA
10465 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10466
3f06ecf4
DR
104672012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10468
10469 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10470
68f12411
GM
104712012-06-19 Glenn Morris <rgm@gnu.org>
10472
10473 * progmodes/python.el (python-mode): Derive from prog-mode.
10474
b3820318
KG
104752012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10476
10477 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10478 (edt-user-menu-bar-update-buffers): New functions.
10479 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10480
c6bf3022
CY
104812012-06-19 Chong Yidong <cyd@gnu.org>
10482
10483 * subr.el (with-selected-window): Preserve the selected window's
10484 terminal's top-frame (Bug#4702).
10485
10486 * window.el (save-selected-window): Likewise.
10487
25f09295
SM
104882012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10489
10490 * progmodes/python.el (python-rx-constituents): Move backquote.
10491 (python-skeleton-define, python-define-auxiliary-skeleton):
10492 Use `declare'.
10493
6b11952a
MA
104942012-06-18 Michael Albinus <michael.albinus@gmx.de>
10495
10496 * minibuffer.el (read-file-name-default): Revert the patch from
10497 2012-06-17.
10498
ee4b1330
SM
104992012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10500
10501 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10502 (pcase--u1, pcase--q1): Don't use apply-partially.
10503
35647f79
GM
105042012-06-18 Glenn Morris <rgm@gnu.org>
10505
10506 * progmodes/python.el (python-proc, python-buffer)
10507 (python-send-receive, python-send-string): Fix obsolete versions.
10508
24b0cff0
MR
105092012-06-18 Martin Rudalics <rudalics@gmx.at>
10510
10511 * window.el (special-display-p): Completely remove stringp
10512 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10513
29855149
MA
105142012-06-17 Michael Albinus <michael.albinus@gmx.de>
10515
10516 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10517
10518 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10519
10520 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10521 * net/tramp-sh.el (tramp-maybe-open-connection):
10522 Throw if `non-essential' is non-nil.
10523
07463363
MR
105242012-06-17 Martin Rudalics <rudalics@gmx.at>
10525
10526 * window.el (special-display-p): Signal an error if BUFFER-NAME
10527 is not a string (Bug#11713).
10528
48d1354e
PE
105292012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10530
10531 * progmodes/python.el (python-info-beginning-of-backslash):
10532 Rename from python-info-beginning-of-backlash, as a spelling fix.
10533
eb4a8a9a
CY
105342012-06-17 Chong Yidong <cyd@gnu.org>
10535
10536 * term.el (term-emulate-terminal): If term-check-size is called,
10537 move point to the process mark without resetting point (Bug#4635).
10538
ddfbf826 105392012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
10540
10541 * international/mule-cmds.el (mule-menu-keymap)
10542 (set-language-environment, set-locale-environment): Doc tweaks.
10543
9b0e3eba
AA
105442012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10545
10546 * cus-face.el (custom-face-attributes): Add wave-style underline
10547 attribute.
10548 * faces.el (set-face-attribute): Update docstring to describe
10549 wave-style underline attribute.
10550
771e3eae
CY
105512012-06-16 Chong Yidong <cyd@gnu.org>
10552
10553 * term/xterm.el (terminal-init-xterm): Discard input before
10554 querying background mode (Bug#10959).
10555
7ae2ea10
SM
105562012-06-16 Stefan Merten <smerten@oekonux.de>
10557
10558 * textmodes/rst.el: Added and corrected some comments.
10559 (rst-re-alist-def): Improve symbol syntax.
10560 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
10561 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10562 (rst-official-version, rst-official-cvs-rev): Update version
10563 information.
7ae2ea10 10564
b6974efa
JB
105652012-06-15 Juanma Barranquero <lekktu@gmail.com>
10566
10567 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10568 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10569
8826d473
GM
105702012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10571
10572 * progmodes/python.el: New python.el merge.
10573 (python-guess-indent): Obsolete var.
10574 (python-indent-guess-indent-offset): New defcustom.
10575 (python-indent): Obsolete var.
10576 (python-indent-offset): New defcustom.
10577 (python-python-command, python-jython-command): Delete var.
10578 (python-shell-interpreter): New defcustom.
10579 (python-pdbtrack-do-tracking-p): Delete var.
10580 (python-pdbtrack-activate): New defcustom.
10581 (python-use-skeletons): Obsolete var.
10582 (python-skeleton-autoinsert): New defcustom.
10583 (inferior-python-filter-regexp, python-continuation-offset)
10584 (python-honour-comment-indentation, python-indent-string-contents)
10585 (python-jython-packages, python-mode-hook)
10586 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10587 (python-shell-prompt-alist)
10588 (python-source-modes): Delete defcustoms.
10589 (python-check-buffer-name, python-eldoc-setup-code)
10590 (python-eldoc-string-code, python-ffap-setup-code)
10591 (python-ffap-string-code, python-fill-comment-function)
10592 (python-fill-decorator-function, python-fill-paren-function)
10593 (python-fill-string-function, python-imenu-include-defun-type)
10594 (python-imenu-make-tree, python-imenu-subtree-root-label)
10595 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10596 (python-shell-compilation-regexp-alist)
10597 (python-shell-completion-module-string-code)
10598 (python-shell-completion-pdb-string-code)
10599 (python-shell-completion-setup-code)
10600 (python-shell-completion-string-code)
10601 (python-shell-enable-font-lock, python-shell-exec-path)
10602 (python-shell-extra-pythonpaths)
10603 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10604 (python-shell-process-environment)
10605 (python-shell-prompt-block-regexp)
10606 (python-shell-prompt-output-regexp)
10607 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10608 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10609 (python-shell-virtualenv-path): New defcustoms.
10610 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10611 (inferior-python-mode-syntax-table, python--prompt-regexp)
10612 (python-buffer, python-command python-python-command)
10613 (python-default-template, python-imports, python-indent-index)
10614 (python-indent-list, python-indent-list-length)
10615 (python-mode-running, python-pdbtrack-is-tracking-p)
10616 (python-preoutput-continuation, python-preoutput-leftover)
10617 (python-preoutput-result, python-preoutput-skip-next-prompt)
10618 (python-prev-dir/file, python-recursing)
10619 (python-saved-check-command, python-version-checked)
10620 (python-which-func-length-limit)
10621 (view-return-to-alist): Delete vars.
10622 (python-check-custom-command, python-dotty-syntax-table)
10623 (python-imenu-index-alist, python-indent-current-level)
10624 (python-indent-dedenters, python-indent-levels)
10625 (python-nav-beginning-of-defun-regexp)
10626 (python-nav-list-defun-positions-cache)
10627 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10628 (python-shell-internal-buffer)
10629 (python-skeleton-available): New vars.
10630 (def-python-skeleton): Delete macro.
10631 (python-skeleton-define): New macro.
10632 (python-define-auxiliary-skeleton, python-rx): New macros.
10633 (python-insert-class): Delete command.
10634 (python-skeleton-class): New command.
10635 (python-insert-def): Delete command.
10636 (python-skeleton-def): New command.
10637 (python-insert-for): Delete command.
10638 (python-skeleton-for): New command.
10639 (python-insert-if): Delete command.
10640 (python-skeleton-if): New command.
10641 (python-insert-try/except, python-insert-try/finally): Delete commands.
10642 (python-skeleton-try): New command.
10643 (python-insert-while): Delete command.
10644 (python-skeleton-while): New command.
10645 (python-backspace): Delete command.
10646 (python-indent-dedent-line-backspace): New command.
10647 (python-electric-colon): Delete command.
10648 (python-indent-electric-colon): New command.
10649 (python-guess-indent): Delete command.
10650 (python-indent-guess-indent-offset): New command.
10651 (python-shift-left): Delete command.
10652 (python-indent-shift-left): New command.
10653 (python-shift-right): Delete command.
10654 (python-indent-shift-right): New command.
10655 (python-find-function): Delete command.
10656 (python-nav-jump-to-defun): New command.
10657 (python-next-statement): Delete command.
10658 (python-nav-forward-sentence): New command.
10659 (python-previous-statement): Delete command.
10660 (python-nav-backward-sentence): New command.
10661 (python-fill-paragraph): Delete command.
10662 (python-fill-paragraph-function): New command.
10663 (python-send-buffer): Delete command.
10664 (python-shell-send-buffer): New command.
10665 (python-send-defun): Delete command.
10666 (python-shell-send-defun): New command.
10667 (python-send-region, python-send-region-and-go): Delete commands.
10668 (python-shell-send-region)
10669 (python-shell-switch-to-shell): New commands.
10670 (python-send-string): Delete command.
10671 (python-shell-send-string): New command.
10672 (python-switch-to-python): Delete command.
10673 (python-shell-switch-to-shell): New command.
10674 (python-describe-symbol): Delete command.
10675 (python-eldoc-at-point): New command.
10676 (python--set-prompt-regexp, python-args-to-list)
10677 (python-after-info-look, python-check-version)
10678 (python-check-comint-prompt, python-find-imports)
10679 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10680 (python-unload-function, python-expand-template)
10681 (python-maybe-jython, python-preoutput-filter)
10682 (python-pdbtrack-get-source-buffer)
10683 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10684 (python-pdbtrack-toggle-stack-tracking)
10685 (python-pdbtrack-track-stack-file, python-initial-text)
10686 (python-first-word, python-comment-line-p, python-send-command)
10687 (python-setup-brm, python-sentinel, python-set-proc)
10688 (python-skip-out, python-input-filter, python-outdent-p)
10689 (python-outline-level, python-backslash-continuation-line-p)
10690 (python-end-of-block, python-end-of-statement, python-mark-block)
10691 (python-beginning-of-block, python-beginning-of-statement)
10692 (python-blank-line-p, python-beginning-of-string)
10693 (python-open-block-statement-p): Delete functions.
10694 (python-indent-line, python-indent-line-1): Delete functions.
10695 (python-indent-line): New function.
10696 (python-indentation-levels): Delete function.
10697 (python-indent-calculate-levels): New function.
10698 (python-proc): Delete function.
10699 (python-shell-get-process): New function.
10700 (python-send-receive): Delete function.
10701 (python-shell-send-string-no-output): New function.
10702 (python-module-path): Delete function.
10703 (python-ffap-module-path): New function.
10704 (python-completion-at-point)
10705 (python-symbol-completions): Delete functions.
10706 (python-completion-complete-at-point): New function.
10707 (python-load-file): Delete function.
10708 (python-shell-send-file): New function.
10709 (python-calculate-indentation): Delete function.
10710 (python-indent-calculate-indentation): New function.
10711 (python-skip-comments/blanks): Delete function.
10712 (python-util-forward-comment): New function.
10713 (python-continuation-line-p): Delete function.
10714 (python-info-continuation-line-p): New function.
10715 (python-which-func, python-current-defun): Delete function.
10716 (python-info-current-defun): New function.
10717 (python-beginning-of-defun): Delete function.
10718 (python-nav-beginning-of-defun): New function.
10719 (python-close-block-statement-p)
10720 (python-block-end-p): Delete function.
10721 (python-info-closing-block): New function.
10722 (python-comint-output-filter-function)
10723 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10724 (python-fill-comment, python-fill-decorator, python-fill-paren)
10725 (python-fill-string, python-imenu-make-element-tree)
10726 (python-imenu-make-tree, python-imenu-tree-assoc)
10727 (python-indent-context, python-indent-dedent-line)
10728 (python-indent-line-function)
10729 (python-indent-post-self-insert-function)
10730 (python-indent-toggle-levels)
10731 (python-info-assignment-continuation-line-p)
10732 (python-info-beginning-of-backlash)
10733 (python-info-block-continuation-line-p)
10734 (python-info-closing-block-message)
10735 (python-info-line-ends-backslash-p)
10736 (python-info-looking-at-beginning-of-defun)
10737 (python-info-ppss-context, python-info-ppss-context-type)
10738 (python-nav-list-defun-positions, python-nav-read-defun)
10739 (python-nav-sentence-end, python-nav-sentence-start)
10740 (python-pdbtrack-comint-output-filter-function)
10741 (python-pdbtrack-set-tracked-buffer)
10742 (python-shell-calculate-exec-path)
10743 (python-shell-calculate-process-environment)
10744 (python-shell-completion--do-completion-at-point)
10745 (python-shell-completion--get-completions)
10746 (python-shell-completion-complete-at-point)
10747 (python-shell-completion-complete-or-indent)
10748 (python-shell-get-or-create-process)
10749 (python-shell-get-process-name)
10750 (python-shell-internal-get-or-create-process)
10751 (python-shell-internal-get-process-name)
10752 (python-shell-internal-send-string, python-shell-make-comint)
10753 (python-shell-parse-command, python-shell-send-setup-code)
10754 (python-skeleton-add-menu-items)
10755 (python-util-clone-local-variables, python-util-position)
10756 (run-python-internal, python-indentation-levels)
10757 (python-nav-beginning-of-defun)
10758 (python-completion-complete-at-point): New functions.
10759 (run-python): Change arguments. New API requirements.
10760
4302f5ba
SM
107612012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10762
f38ea36d
SM
10763 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10764 (bug#11649).
10765
10766 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10767 (macroexp--expand-all): Use it.
10768
4302f5ba
SM
10769 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10770 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10771 Use `cl-function' instead.
10772
33377562
JB
107732012-06-14 Juanma Barranquero <lekktu@gmail.com>
10774
10775 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10776 Suggested by Stefan Monnier while discussing bug#11657.
10777
54c5ba1a
SS
107782012-06-14 Sam Steingold <sds@gnu.org>
10779
10780 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10781
f9f1b1fe
AS
107822012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10783
10784 * play/doctor.el (doctor-doc): Remove parameter and use
10785 doctor-sent instead of sent.
10786 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10787
a81068ba
SM
107882012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10789
5a315f9c
SM
10790 * files.el: Require cl-lib.
10791 (file-name-non-special): Replace case -> cl-case.
10792
10793 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10794
a81068ba
SM
10795 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10796 mapping from #' to function*.
10797
8cca9703
CY
107982012-06-13 Chong Yidong <cyd@gnu.org>
10799
10800 * mouse.el (mouse-drag-track): Do not set the mark if the user
10801 releases the mouse without selecting anything (Bug#11588).
10802
a12ac9d7
SM
108032012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10804
ccf1dc18
SM
10805 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10806 as well (bug#11646).
10807
ef62b23d
SM
10808 * loadup.el: Count byte-code functions as well.
10809
c4c8444a
SM
10810 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10811 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10812
a12ac9d7
SM
10813 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10814 (bug#11649). Add cl-defun and cl-defmacro.
10815
87e6e64f
DA
108162012-06-13 Drew Adams <drew.adams@oracle.com>
10817
10818 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10819 Fix last change.
10820
682cefaf
MA
108212012-06-13 Michael Albinus <michael.albinus@gmx.de>
10822
10823 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10824 Otherwise, it blocks in batch mode.
10825
773e1f08
JB
108262012-06-13 Juanma Barranquero <lekktu@gmail.com>
10827
10828 * help-mode.el (bookmark-make-record-default): Declare.
10829
60057926
CY
108302012-06-13 Chong Yidong <cyd@gnu.org>
10831
10832 * emacs-lisp/package.el (list-packages): Compute a list of
10833 packages that are newly-available since the last list-packages
10834 invocation.
10835 (package-menu--new-package-list): New var.
10836 (package-menu--generate, package-menu--print-info)
10837 (package-menu--status-predicate, package-menu-mark-install):
10838 Handle new status label "new".
10839
ad4d226c
SM
108402012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10841
10842 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10843 conversion to backquotes.
10844
f1a4e679
CY
108452012-06-12 Chong Yidong <cyd@gnu.org>
10846
10847 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10848 Rename from gud-inhibit-global-bindings.
10849
10850 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10851
10852 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10853 hook from nxml-glyph-set-hook.
10854
10855 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10856 declaration.
10857
10858 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10859
10860 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10861 Convert to defcustom.
10862
0c9e42b5
DA
108632012-06-12 Drew Adams <drew.adams@oracle.com>
10864
10865 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10866 New functions.
10867 (help-mode): Use them.
10868
09e06855
GM
108692012-06-11 Glenn Morris <rgm@gnu.org>
10870
10871 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10872 Use preprocessor face for directives.
10873 (fortran-directive-re): Doc fix.
10874
71adb94b
SM
108752012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10876
2eb87922
SM
10877 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10878 conversion to backquotes (bug#11652).
10879
71adb94b
SM
10880 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10881 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10882 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10883 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10884 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10885 (cl-ninth, cl-tenth): Mark them as inlinable.
10886 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10887 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10888 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10889 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10890 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10891 (cl-list*, cl-adjoin): Don't put an autoload manually.
10892 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10893 (cl--compiler-macro-list*): Add autoload cookie.
10894 (cl--compiler-macro-cXXr): New function.
2eb87922 10895
71adb94b
SM
10896 * help-fns.el (help-fns--compiler-macro): New function extracted from
10897 describe-function-1; follow aliases and use `compiler-macro' property.
10898 (describe-function-1): Use it.
10899
a6674402
CY
109002012-06-11 Chong Yidong <cyd@gnu.org>
10901
10902 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10903 is uninstalled, if imagemagick is installed.
10904
bb3faf5b
SM
109052012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10906
10907 * emacs-lisp/cl-lib.el: Use lexical-binding.
10908 (cl-map-extents, cl-maclisp-member): Remove.
10909 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10910 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10911 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10912 * emacs-lisp/cl-extra.el: Use lexical-binding.
10913 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10914 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10915 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10916 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10917 * emacs-lisp/cl-seq.el: Use lexical-binding.
10918 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10919 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10920 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10921 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10922 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10923 CL's internals.
10924
2fe4b125
MA
109252012-06-11 Michael Albinus <michael.albinus@gmx.de>
10926
10927 Sync with Tramp 2.2.6-pre.
10928
10929 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10930 `print-length' and `print-level' to nil, in order to avoid
10931 truncation. Reported by Christopher Schmidt
10932 <christopher@ristopher.com>.
10933
10934 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10935
10936 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10937 New defmacro.
10938 (tramp-compat-copy-directory): Add optional argument
10939 COPY-CONTENTS. It is not handled yet.
10940
10941 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10942 (tramp-ftp-file-name-p): Simplify.
10943
10944 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10945 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10946 connection vector.
10947
10948 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10949 (tramp-methods): Do not use `tramp-password-end-of-line'.
10950 (tramp-completion-function-alist-putty): Handle UNIX case.
10951 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10952 (tramp-do-file-attributes-with-stat)
10953 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10954 gid as real numbers. They could run out of integer range on cygwin.
10955 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10956 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
10957 (tramp-open-connection-setup-interactive-shell):
10958 Use `tramp-cleanup'. Move check for busyboxes ...
10959 (tramp-find-shell): ... here. Simplify implementation.
10960 Set "remote-shell" property also for alternative shells.
10961 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10962 If failing, a regular file would be written otherwise.
10963 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
10964 (tramp-find-inline-encoding): Cache the coding commands in the
10965 process cache. Apply test command on the remote side, if defined.
10966 (tramp-find-inline-compress): Cache the compress commands in the
10967 process cache.
10968 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10969 when requested. Handle hops.
10970 (tramp-current-connection): New defvar.
87e6e64f
DA
10971 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10972 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 10973 Handle user interrupt. (Bug#10187)
87e6e64f
DA
10974 (tramp-get-inline-compress, tramp-get-inline-coding):
10975 Read connection properties from the process cache.
2fe4b125
MA
10976
10977 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
10978 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10979 New defconsts.
2fe4b125
MA
10980 (tramp-smb-prompt): Extend for powershell prompt.
10981 (tramp-smb-file-name-handler-alist): Add handlers for
10982 `process-file', `shell-command' and `start-file-process'.
10983 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10984 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10985 (tramp-smb-file-name-p): Simplify.
10986 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10987 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10988 (tramp-smb-shell-quote-argument): New defuns.
10989 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10990 Implement using "tar". By this, time-stamps are preserved.
10991 (tramp-smb-handle-copy-file): Handle also the case of directories.
10992 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
10993 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10994 Use `tramp-get-connection-buffer').
2fe4b125
MA
10995 (tramp-smb-handle-rename-file): Use "rename", when source and
10996 target are on the same share.
87e6e64f
DA
10997 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10998 Use `tramp-smb-server-version'.
2fe4b125
MA
10999 (tramp-smb-wait-for-output): Remove prompt.
11000
11001 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
11002 (tramp-methods, tramp-rsh-end-of-line):
11003 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
11004 (tramp-save-ad-hoc-proxies): New defcustom.
11005 (tramp-completion-function-alist): Adapt docstring.
11006 (tramp-default-password-end-of-line): Remove defcustom.
11007 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11008 (tramp-user-regexp, tramp-file-name-regexp-unified)
11009 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11010 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11011 (tramp-remote-file-name-spec-regexp): New defconst.
11012 (tramp-file-name-structure): Extend structure for hops.
11013 (tramp-get-method-parameter): Move up.
11014 (tramp-file-name-p, tramp-dissect-file-name)
11015 (with-parsed-tramp-file-name): Handle hops.
11016 (tramp-file-name-hop): New defun.
11017 (tramp-make-tramp-file-name): New optional arg HOP.
11018 (tramp-message-show-progress-reporter-message): New defvar.
11019 (tramp-with-progress-reporter): Use it. We cannot use
11020 `tramp-message-show-message' here, because this suppresses also
11021 error buffers.
11022 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
11023 `tramp-message-show-message' is nil.
11024 Use `tramp-get-connection-buffer'.
2fe4b125
MA
11025 (tramp-cleanup): New defun.
11026 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11027 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11028 an error unchanged.
11029 (tramp-completion-handle-file-name-all-completions): Handle hops.
11030 Fix an error when called from ido.
11031 (tramp-completion-dissect-file-name): Use better local variable
11032 name. Add hop to the vector.
11033 (tramp-handle-insert-file-contents): Use progress-reporter for the
11034 whole scenario.
11035 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11036 to `t'.
11037 (tramp-check-for-regexp): Simplify search.
11038 (tramp-enter-password): Remove it. Move implementation ...
11039 (tramp-action-password): ... here.
11040 (tramp-mode-string-to-int, tramp-local-host-p)
11041 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
11042 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11043 Set tramp-autoload cookie.
2fe4b125
MA
11044
11045 * net/trampver.el: Update release number.
11046
110472012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11048 Michael Albinus <michael.albinus@gmx.de>
11049
11050 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11051 (tramp-parse-group, tramp-parse-file)
11052 (tramp-parse-shostkeys-sknownhosts): New defuns.
11053 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11054 (tramp-parse-shosts-group, tramp-parse-sconfig)
11055 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11056 (tramp-parse-sknownhosts, tramp-parse-hosts)
11057 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11058 Use them.
11059 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11060 (tramp-parse-putty-group): Don't narrow.
11061 (tramp-parse-putty): Make a loop.
11062 (tramp-file-name-handler): Catch the `suppress' signal.
11063
72834e10
CY
110642012-06-11 Chong Yidong <cyd@gnu.org>
11065
11066 * image.el (imagemagick-register-types): Put the ImageMagick entry
11067 at the end of image-type-file-name-regexps.
11068
a4712e11
JB
110692012-06-11 Johan Bockgård <bojohan@gnu.org>
11070
11071 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11072 (pcase, pcase-let*, pcase-dolist): Use them.
11073
82ad98e3
SM
110742012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11075
11076 * emacs-lisp/pcase.el (pcase--let*): New function.
11077 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11078 (pcase--expand): Use macroexp-let².
11079
f80efb86
SM
110802012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11081
11082 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11083 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11084 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11085 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11086 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11087 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11088
31ca4639 110892012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 11090
31ca4639
CY
11091 * mail/rmail.el (rmail-yank-current-message): Leave point at
11092 correct position. (Bug#11660)
94f0aa34 11093
31ca4639 110942012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 11095
31ca4639 11096 * allout-widgets.el: Fix code header.
9e1b8ec4 11097
31ca4639 110982012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 11099
f80efb86
SM
11100 * cus-edit.el (customize-changed-options-previous-release):
11101 Bump to 24.1.
31ca4639 11102
642b6d30
AS
111032012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11104
11105 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11106
4f5d2ba1
CY
111072012-06-09 Chong Yidong <cyd@gnu.org>
11108
11109 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11110
e75852fd
MR
111112012-06-09 Martin Rudalics <rudalics@gmx.at>
11112
11113 * window.el (special-display-popup-frame): Don't use
11114 window--display-buffer (Bug#11651).
11115
1e48e282
EZ
111162012-06-09 Eli Zaretskii <eliz@gnu.org>
11117
8a26b487
EZ
11118 Fix parallel builds: make sure loaddefs.el is not being written
11119 while Lisp files are compiled.
11120 (compile): Don't depend on 'mh-autoloads'.
11121 (compile-CMD, compile-SH): Depend on 'autoloads'.
11122 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11123
1e48e282
EZ
11124 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11125
6175e34b
CY
111262012-06-09 Chong Yidong <cyd@gnu.org>
11127
11128 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11129 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11130 Doc fixes (Bug#11225).
11131
d9857e53
SM
111322012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11133
11134 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11135 a function if there's a clear indication that it has a compiler-macro.
11136 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11137 (macro-declarations-alist): Add arglist to declaration functions.
11138 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11139 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11140 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11141 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11142 Also add autoload to find the compiler macro.
11143 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11144 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11145 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11146 (cl--compiler-macro-get): New functions, replacing calls to
11147 cl-define-compiler-macro.
11148 (cl-typep) [compiler-macro]: Use macroexp-let².
11149
f81298f8 111502012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
11151
11152 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11153 string properly, fixes Bug#11473.
11154
4b56d0fe
CY
111552012-06-08 Chong Yidong <cyd@gnu.org>
11156
11157 * faces.el (set-face-attribute): Doc fix.
11158 (modify-face): Don't use :bold and :italic.
11159 (error, warning, success): Tweak definitions.
11160
11161 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11162 (custom-modified, custom-set, custom-changed, custom-themed)
11163 (custom-saved, custom-button, custom-button-mouse)
11164 (custom-button-pressed, custom-state, custom-comment-tag)
11165 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11166 (custom-group-subtitle): Use new-style face specs.
11167 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11168 (custom-set-face, custom-changed-face, custom-saved-face)
11169 (custom-button-face, custom-button-pressed-face)
11170 (custom-documentation-face, custom-state-face)
11171 (custom-comment-face, custom-comment-tag-face)
11172 (custom-variable-tag-face, custom-variable-button-face)
11173 (custom-face-tag-face, custom-group-tag-face-1)
11174 (custom-group-tag-face): Remove obsolete face alias.
11175
11176 * epa.el (epa-validity-high, epa-validity-medium)
11177 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11178 (epa-field-name, epa-field-body):
11179 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11180 (font-lock-keyword-face, font-lock-builtin-face)
11181 (font-lock-function-name-face, font-lock-variable-name-face)
11182 (font-lock-type-face, font-lock-constant-face):
11183 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11184 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11185 * speedbar.el (speedbar-button-face, speedbar-file-face)
11186 (speedbar-directory-face, speedbar-tag-face)
11187 (speedbar-selected-face, speedbar-highlight-face)
11188 (speedbar-separator-face):
11189 * whitespace.el (whitespace-newline, whitespace-space)
11190 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11191 (whitespace-line, whitespace-space-before-tab)
11192 (whitespace-space-after-tab, whitespace-indentation)
11193 (whitespace-empty):
11194 * emulation/cua-base.el (cua-global-mark):
11195 * eshell/em-prompt.el (eshell-prompt):
11196 * net/newst-plainview.el (newsticker-new-item-face)
11197 (newsticker-old-item-face, newsticker-immortal-item-face)
11198 (newsticker-obsolete-item-face, newsticker-date-face)
11199 (newsticker-statistics-face, newsticker-default-face):
11200 * net/newst-reader.el (newsticker-feed-face)
11201 (newsticker-extra-face, newsticker-enclosure-face):
11202 * net/newst-treeview.el (newsticker-treeview-face)
11203 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11204 (newsticker-treeview-immortal-face)
11205 (newsticker-treeview-obsolete-face)
11206 (newsticker-treeview-selection-face):
11207 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11208 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11209 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11210 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11211 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11212 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11213 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11214 (mpuz-text):
11215 * progmodes/vera-mode.el (vera-font-lock-number)
11216 (vera-font-lock-function, vera-font-lock-interface):
11217 * textmodes/table.el (table-cell): Use new-style face specs, and
11218 don't use the old :bold and :italic attributes.
11219
11220 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11221 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11222 (ebrowse-member-class, ebrowse-progress): Likewise.
11223 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11224 (ebrowse-file-name-face, ebrowse-default-face)
11225 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11226 (ebrowse-progress-face): Remove obsolete faces.
11227
11228 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11229 Inherit from error and warning faces respectively.
11230
11231 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11232 Likewise.
f80efb86
SM
11233 (flyspell-incorrect-face, flyspell-duplicate-face):
11234 Remove obsolete aliases.
4b56d0fe 11235
03310646
MA
112362012-06-08 Michael Albinus <michael.albinus@gmx.de>
11237
11238 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11239 Avoid infloop.
11240
513749ee
SM
112412012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11242
11243 * startup.el (argv, argi): Make lexically scoped.
11244 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11245 * emacs-lisp/cl-macs.el: Use lexical-binding.
11246 Rename cl-bind-* to cl--bind-*.
11247 * files.el: Don't require `cl' since it doesn't use it.
11248 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11249
595ef4ad
JB
112502012-06-08 Juanma Barranquero <lekktu@gmail.com>
11251
11252 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11253 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11254 instead of calling external sort utility.
11255 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11256
e9f66fcb
EZ
112572012-06-08 Eli Zaretskii <eliz@gnu.org>
11258
11259 * descr-text.el (describe-char): Mention how to insert the
11260 character, if the current input method doesn't support it.
11261 See the discussion in this thread for the details:
11262 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11263
3d10db47
SS
112642012-06-08 Sam Steingold <sds@gnu.org>
11265
11266 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11267 XF86Back to previous-buffer.
11268 (minibuffer-local-map): Bind them to next-history-element and
11269 previous-history-element respectively.
11270 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11271 help-go-back respectively.
11272 * info.el (Info-mode-map): Bind them to Info-history-forward and
11273 Info-history-back respectively.
11274 These are the keys next to Up on the ThinkPad keyboard.
11275
de7e2b36
SM
112762012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11277
11278 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11279 * emacs-lisp/cl-macs.el: Provide itself.
11280 (cl--labels-convert-cache): New var.
11281 (cl--labels-convert): New function.
11282 (cl-flet, cl-labels): New implementation with new semantics, relying on
11283 lexical-binding.
11284 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11285 (cl-closure-vars, cl--function-convert-cache)
11286 (cl--function-convert): Move from cl-macs.el.
11287 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11288 rename by removing the "cl-" prefix.
11289 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11290
6fa6c4ae
SM
112912012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11292
11293 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11294 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11295 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11296 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11297 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11298 (cl-hash-table-count): Add old compatibility aliases.
11299
11300 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11301 Use macroexpand-all-environment instead.
11302 (cl--old-macroexpand): New var.
11303 (cl--sm-macroexpand): New function.
11304 (cl-symbol-macrolet): Use it during macro expansion.
11305 (cl--function-convert-cache): New var.
11306 (cl--function-convert): New function, extracted from
11307 cl-macroexpand-all.
11308 (cl-lexical-let): Use it.
11309
11310 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11311 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11312 (cl-member): Remove old alias.
11313
11314 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11315 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11316 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11317 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11318 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11319 (cl-macroexpand-cmacs): Remove var.
11320 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11321 Use macroexpand-all instead.
11322
4dd1c416
SM
113232012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11324
11325 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11326 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11327 (macroexp-copyable-p): New functions and macros.
11328 * emacs-lisp/edebug.el (edebug-unwrap):
11329 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11330 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11331 (pcase--let*): Remove.
11332 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11333 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11334 macroexp-const-p instead.
11335 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11336
11337 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11338 instead of "cl-" for internal definitions. Use macroexp-const-p.
11339 (cl-old-bc-file-form): Remove var.
11340 (cl-const-exprs-p): Remove fun.
11341 (cl-labels, cl-macrolet): Use backquote.
11342 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11343 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11344 (cl-define-setf-expander): Rename from cl-define-setf-method.
11345 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11346
11347 * international/mule-cmds.el: Don't require CL.
11348 (view-hello-file): Don't use `letf'.
11349
ed8bd4d7
SM
113502012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11351
7287f2f3
SM
11352 * tmm.el (tmm-prompt): Use string-prefix-p.
11353 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11354 (tmm-add-prompt): Use minibuffer-completion-help.
11355 (tmm-delete-map): Remove.
11356
ed8bd4d7
SM
11357 * subr.el (kbd): Make it its own function.
11358
7b4cdbf4
SM
113592012-06-07 Stefan Merten <smerten@oekonux.de>
11360
11361 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11362 Silence compiler warnings. Fix versions.
ed8bd4d7 11363 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 11364 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 11365 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
11366 (rst-package-emacs-version-alist): Correct Emacs version to
11367 represent major merge with upstream.
ed8bd4d7 11368 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 11369
2b48d721
GM
113702012-06-06 Glenn Morris <rgm@gnu.org>
11371
11372 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11373 Only print environment variables if set.
11374
fa779ab0
SM
113752012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11376
11377 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11378 (macroexp--cons): Rename from maybe-cons.
11379 (macroexp--accumulate): Rename from macroexp-accumulate.
11380 (macroexp--all-forms): Rename from macroexpand-all-forms.
11381 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11382 (macroexp--expand-all): Rename from macroexpand-all-1.
11383
628299e0
SS
113842012-06-06 Sam Steingold <sds@gnu.org>
11385
11386 * calendar/calendar.el (calendar-in-read-only-buffer):
11387 Call `special-mode' to enable the standard read-only keybindings.
11388
b7bb5838
SM
113892012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11390
11391 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11392 with "loading" messages (bug#11635).
11393
dfb308ba
MA
113942012-06-06 Michael Albinus <michael.albinus@gmx.de>
11395
11396 * files.el (enable-remote-dir-locals): New option.
11397 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11398
0372ee92
MA
11399 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11400 Ensure, that the temp directory is local.
11401
11402 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11403 `temporary-file-directory'.
11404
eed0bb91
MA
11405 * progmodes/python.el (python-send-region): Ensure, that the
11406 temporary file is created also in the remote case.
11407
7a58f64d
GM
114082012-06-06 Glenn Morris <rgm@gnu.org>
11409
f7dd4e98
GM
11410 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11411 (vc-rcs-update-changelog): Use it.
11412
090bd7cb 11413 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 11414
7a58f64d
GM
11415 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11416 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11417 (vc-sccs-diff): Replace use of the external vcdiff script.
11418
daed4003
GM
114192012-06-05 Glenn Morris <rgm@gnu.org>
11420
11421 * ledit.el: Move to obsolete/.
11422
48c455c7
SS
114232012-06-05 Sam Steingold <sds@gnu.org>
11424
ed9265fc 11425 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
11426 patch (Bug#11140).
11427
57a7d507
SM
114282012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11429
090bd7cb 11430 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 11431
53aacf21
SM
11432 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11433 compiler-macro expansion.
11434
57a7d507
SM
11435 Add native compiler-macro support.
11436 * emacs-lisp/macroexp.el (macroexpand-all-1):
11437 Support compiler-macros directly. Properly follow aliases and apply
11438 the compiler macros more thoroughly.
11439 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11440 macroexpand now properly follows aliases.
11441 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11442 (cl-compiler-macroexpand): Use new prop.
11443 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11444
11445 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11446
51a5f9d8
MR
114472012-06-05 Martin Rudalics <rudalics@gmx.at>
11448
11449 * window.el (get-lru-window, get-mru-window, get-largest-window):
11450 New argument NOT-SELECTED to avoid picking the selected window.
11451 (window--display-buffer-1, window--display-buffer-2): Replace by
11452 new function window--display-buffer
11453 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
11454 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11455 Use window--display-buffer.
51a5f9d8
MR
11456 (display-buffer-use-some-window): Remove temporary dedication
11457 hack by calling get-lru-window and get-largest-window with
11458 NOT-SELECTED argument non-nil. Call window--display-buffer.
11459
08f9f738
GM
114602012-06-05 Glenn Morris <rgm@gnu.org>
11461
11462 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11463 Replace external vcdiff script.
11464
e364a2b7
SM
114652012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11468
041df390
CY
114692012-06-04 Chong Yidong <cyd@gnu.org>
11470
e364a2b7
SM
11471 * image.el (imagemagick-types-inhibit): Revert last change.
11472 Add INFO and M.
47b36b94 11473 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 11474
7c1898a7
SM
114752012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11476
11477 * emacs-lisp/cl-lib.el: Rename from cl.el.
11478 * emacs-lisp/cl.el: New compatibility file.
11479 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11480 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11481 to obey the "cl-" prefix.
11482 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11483
0c3461de
GM
114842012-06-03 Glenn Morris <rgm@gnu.org>
11485
1e266c88
GM
11486 * emacs-lisp/authors.el (authors-aliases): Addition.
11487
0c3461de
GM
11488 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11489 Fix :version.
11490
d8a52e15
SM
114912012-06-03 Stefan Merten <smerten@oekonux.de>
11492
11493 * textmodes/rst.el: Add comments.
11494 (rst-transition, rst-adornment): New faces.
11495 (rst-adornment-faces-alist): Make default safe to reevaluate.
11496 Fixes
11497 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11498 Improve customization tags.
11499 (rst-define-level-faces): Clarify meaning.
11500
5205d6f6
CY
115012012-06-03 Chong Yidong <cyd@gnu.org>
11502
11503 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
11504 (compilation-mode-line-run, compilation-mode-line-exit):
11505 New faces.
5205d6f6
CY
11506 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11507
757ee657
JD
115082012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11509
7c1898a7
SM
11510 * progmodes/which-func.el (which-func-update-ediff-windows):
11511 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 11512
5f2c76c6
CY
115132012-06-03 Chong Yidong <cyd@gnu.org>
11514
11515 * bindings.el: Remove explicit help text from format-mode-line.
11516 It is now supplied by mode-line-default-help-echo.
11517 (mode-line-front-space, mode-line-end-spaces)
11518 (mode-line-misc-info): New variables.
11519 (mode-line-modes, mode-line-position): Move the default value to
11520 the variable definition.
11521 (mode-line-default-help-echo): New defcustom.
383f7350
CY
11522 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11523 (mode-line-modified-help-echo): New functions.
11524 (mode-line-mule-info, mode-line-modified): Use them.
11525 (mode-line-eol-desc, propertized-buffer-identification):
11526 Consistency fixes for help text.
cbe46e5f
CY
11527 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11528 set-buffer-file-coding-system (Bug#289).
11529 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 11530
f2d6a3df
SM
115312012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11532
11533 * simple.el (execute-extended-command): Set real-this-command
11534 (bug#11506).
11535
37269466
CY
115362012-06-02 Chong Yidong <cyd@gnu.org>
11537
11538 Remove incorrect uses of "modeline" in comments, docstrings, and
11539 function/variable names (Bug#10329).
11540
11541 * cus-edit.el (mode-line):
11542 * dframe.el (dframe-mouse-hscroll):
11543 * emacs-lisp/re-builder.el:
11544 * emacs-lisp/easy-mmode.el (define-minor-mode):
11545 * frame.el (set-frame-name):
11546 * help.el (lookup-minor-mode-from-indicator):
11547 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11548 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11549 (c-toggle-hungry-state):
11550 * progmodes/antlr-mode.el (antlr-language-alist):
11551 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11552 * progmodes/vhdl-mode.el (vhdl-mode):
11553 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11554 * term/ns-win.el (ns-face-at-pos):
11555 * term/sup-mouse.el (sup-mouse-report):
11556 * textmodes/flyspell.el (flyspell-mode-line-string):
11557 * textmodes/ispell.el (ispell-highlight-face):
11558 * textmodes/reftex-global.el:
11559 * vc/vc-arch.el (vc-arch-mode-line-string):
11560 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11561 * vc/vc-git.el (vc-git-mode-line-string):
11562 * vc/vc-hooks.el (vc-display-status)
11563 (vc-default-mode-line-string):
11564 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11565
11566 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11567
11568 * dired.el (dired-sort-set-mode-line): Rename from
11569 dired-sort-set-modeline. All callers changed.
11570
11571 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11572 eshell-status-in-modeline.
11573
11574 * foldout.el (foldout-mode-line-string): Rename from
11575 foldout-modeline-string. All callers changed.
11576 (foldout-update-mode-line): Rename from foldout-update-modeline.
11577
11578 * subr.el (redraw-modeline): Make into obsolete alias.
11579
11580 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11581 timeclock-modeline-display. Make old name an alias.
11582 (timeclock-update-mode-line): Likewise. All callers changed.
11583 (timeclock-mode-line-display): No need to check before using
11584 add-hook.
11585 (timeclock-relative, timeclock-day-over-hook)
11586 (timeclock-use-elapsed, timeclock-mode-string)
11587 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11588
11589 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11590 crisp-mode-modeline-string.
11591
11592 * play/solitaire.el (solitaire-build-mode-line): Rename from
11593 solitaire-build-modeline. All callers changed.
11594
11595 * play/zone.el (zone-hiding-mode-line): Rename from
11596 zone-hiding-modeline. All callers changed.
11597 (zone): Remove unusued `modeline-hidden-level' property.
11598
11599 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11600 xscheme-modeline-initialize. All callers changed.
11601
11602 * strokes.el (strokes-lighter): Rename from
11603 strokes-modeline-string.
11604
11605 * textmodes/sgml-mode.el (html-face-tag-alist)
11606 (html-tag-face-alist): Use mode-line face instead of obsolete
11607 alias modeline.
11608
42152ee4
SM
116092012-06-02 Stefan Merten <smerten@oekonux.de>
11610
11611 * textmodes/rst.el: Always require `cl'.
4cf9b38d 11612 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 11613
95f520b5
CY
116142012-06-02 Chong Yidong <cyd@gnu.org>
11615
11616 * image.el (imagemagick-enabled-types): Rename from
11617 imagemagick-types-enable. Add many more types.
11618 (imagemagick-types-inhibit): Change default to nil.
11619 (imagemagick-filter-types): Caller changed.
11620
4a5f187a
SM
116212012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11622
03fef3e6
SM
11623 * emacs-lisp/cl-macs.el: Use backquotes.
11624 (cl-transform-function-property): Use eval-and-compile rather than
11625 abusing `require'.
11626 (defstruct): Use declare-function instead of with-no-warnings.
11627
4a5f187a
SM
11628 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11629 (byte-compile-output-docform): Re-add the print-circle bindings.
11630 (byte-compile-fix-header): Use #$ just because it's shorter.
11631 (byte-compile-output-file-form): Remove defun/defmacro.
11632
bd56924f
MR
116332012-06-01 Martin Rudalics <rudalics@gmx.at>
11634
11635 * simple.el (choose-completion): Remove now obsolete binding for
11636 owindow.
11637
046e38ce
MA
116382012-06-01 Michael Albinus <michael.albinus@gmx.de>
11639
11640 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11641 in order to avoid "Stack overflow in regexp matcher".
11642
32d72c2f
GM
116432012-05-31 Glenn Morris <rgm@gnu.org>
11644
11645 * image.el: For clarity, call imagemagick-register-types at
11646 top-level, rather than relying on a custom :initialize.
11647 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
11648 (imagemagick-filter-types): New function. (Bug#7406)
11649 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
11650 If disabling support, remove elements altogether rather
11651 than using an impossible regexp.
11652 (imagemagick-types-inhibit): Give it the default init function.
11653
dd41169b
SM
116542012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11655
4a5f187a
SM
11656 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11657 Handle arbitrary file name lengths (Bug#11585).
dd41169b 11658
efc00ab1 116592012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
11660
11661 * desktop.el (desktop-read): Clear previous and next buffers for
11662 all windows and bury *Messages* buffer (bug#11556).
11663
500fcedc
SM
116642012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11665
11666 Add `declare' for `defun'. Align `defmacro's with it.
11667 * emacs-lisp/easy-mmode.el (define-minor-mode)
11668 (define-globalized-minor-mode): Don't autoload the var definitions.
11669 * emacs-lisp/byte-run.el: Use lexical-binding.
11670 (defun-declarations-alist, macro-declarations-alist): New vars.
11671 (defmacro, defun): Use them.
11672 (make-obsolete, define-obsolete-function-alias)
11673 (make-obsolete-variable, define-obsolete-variable-alias):
11674 Use `declare'.
11675 (macro-declaration-function): Mark obsolete.
11676 * emacs-lisp/autoload.el: Use lexical-binding.
11677 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11678
6e8a1786
AM
116792012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11680
11681 * textmodes/ispell.el (ispell-with-no-warnings):
11682 Define as a macro.
500fcedc
SM
11683 (ispell-kill-ispell, ispell-change-dictionary):
11684 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
11685 `interactive-p'.
11686
61b108cc
SM
116872012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11688
11689 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11690 (macro-declaration-function): Move var from C code.
11691 (macro-declaration-function): Define function with defalias.
11692 * emacs-lisp/macroexp.el (macroexpand-all-1):
11693 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11694 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11695 defun/defmacro any more.
11696 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11697 Provide fallback for unknown arglist.
11698 (byte-compile-arglist-warn): Change calling convention.
11699 (byte-compile-output-file-form): Move print-vars binding.
11700 (byte-compile-output-docform): Simplify accordingly.
11701 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11702 (byte-compile-defmacro-declaration): Remove.
11703 (byte-compile-file-form-defmumble): Generalize to defalias.
11704 (byte-compile-output-as-comment): Return byte-positions.
11705 Simplify callers accordingly.
11706 (byte-compile-lambda): Use `assert'.
11707 (byte-compile-defun, byte-compile-defmacro): Remove.
11708 (byte-compile-file-form-defalias):
11709 Use byte-compile-file-form-defmumble.
11710 (byte-compile-defalias-warn): Remove.
11711
6d3f7c2f
SM
117122012-05-29 Stefan Merten <smerten@oekonux.de>
11713
11714 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 11715 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
11716
11717 (rst-mode-abbrev-table): Merge definition.
11718 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11719 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11720
6dbaa1c7
UJ
117212012-05-29 Ulf Jasper <ulf.jasper@web.de>
11722
11723 * calendar/icalendar.el
11724 (icalendar-export-region): Export UID properly.
11725
d209e2fb 117262012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
11727 * calendar/icalendar.el (icalendar-import-format):
11728 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
11729 (icalendar-import-format-uid): New.
11730 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11731 Export UID.
11732
6876a58d
SM
117332012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11734
11735 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11736 different alternative patterns.
11737 (pcase-codegen): Be more careful to preserve identity.
11738 (pcase--u1): Don't forget to mark vars as used.
11739
11740 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11741 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11742 (byte-compile-from-buffer): ...rather than here.
11743
11744 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11745 functions from byte-compile-function-environment.
11746
46b7967e
TN
117472012-05-29 Troels Nielsen <bn.troels@gmail.com>
11748
11749 * window.el (window-deletable-p): Avoid deleting the root window
11750 of a frame with an active minibuffer.
11751
69d565e2
MR
117522012-05-29 Martin Rudalics <rudalics@gmx.at>
11753
11754 * simple.el (choose-completion): Use quit-window (Bug#11567).
11755
a149fa51
CY
117562012-05-29 Chong Yidong <cyd@gnu.org>
11757
11758 * whitespace.el (whitespace-cleanup): Fix usage of
11759 whitespace-empty-at-bob-regexp (Bug#11492).
11760
2b311310
AH
117612012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11762
11763 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11764 revert (Bug#11488).
11765
b9cb2387
JL
117662012-05-29 Juri Linkov <juri@jurta.org>
11767
11768 * isearch.el (isearch-mode-map): Bind `M-s _' to
11769 `isearch-toggle-symbol'. Bind `M-s c' to
11770 `isearch-toggle-case-fold'.
11771 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11772 (isearch-forward): Add `M-s _' to the docstring.
11773 (isearch-forward-symbol, isearch-toggle-case-fold)
11774 (isearch-symbol-regexp): New functions. (Bug#11381)
11775
d5e61c1c
JL
117762012-05-29 Juri Linkov <juri@jurta.org>
11777
11778 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11779 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11780 a function, call it to get the regexp.
11781 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11782 property `isearch-message-prefix' instead of the string "word ".
11783 (isearch-search-fun-default): For the case of `isearch-word',
11784 return a lambda that calls re-search-forward/re-search-backward
11785 with a regexp returned by `word-search-regexp' or by the function
11786 in `isearch-word'.
11787
8cbd80f7
JL
117882012-05-29 Juri Linkov <juri@jurta.org>
11789
11790 * isearch.el (isearch-search-fun-default): New function.
11791 (isearch-search-fun): Move default part to the new function
11792 `isearch-search-fun-default'.
11793 (isearch-search-fun-function): Set the default value to
11794 `isearch-search-fun-default'. (Bug#11381)
11795
11796 * comint.el (comint-history-isearch-end):
11797 Use `isearch-search-fun-default'.
11798 (comint-history-isearch-search): Use `isearch-search-fun-default'
11799 and remove spacial case for `isearch-word'.
11800 (comint-history-isearch-wrap): Remove spacial case for
11801 `isearch-word'.
11802
11803 * hexl.el (hexl-isearch-search-function):
11804 Use `isearch-search-fun-default'.
11805
11806 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11807 Use `word-search-regexp' for `isearch-word'.
11808
11809 * misearch.el (multi-isearch-search-fun):
11810 Use `isearch-search-fun-default'.
11811
11812 * simple.el (minibuffer-history-isearch-search):
11813 Use `isearch-search-fun-default' and remove spacial case for
11814 `isearch-word'.
11815 (minibuffer-history-isearch-wrap): Remove spacial case for
11816 `isearch-word'.
11817
11818 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11819 Remove spacial case for `isearch-word'.
11820 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11821
85c8c5b6
AM
118222012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11823
11824 Decrease XEmacs incompatibilities.
11825 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11826 Use `string-match'.
11827 (flyspell-delete-region-overlays): Use alternative definition for
11828 XEmacs.
11829 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11830 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11831 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11832 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11833 `define-obsolete-face-alias' under XEmacs, but old method.
11834
11835 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11836 `with-no-warnings' definition or Emacs alias.
11837 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11838 (ispell-word): Do not use `region-p' if XEmacs.
11839
8cab9efc
AM
118402012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11841
11842 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11843 Check for `ispell-dictionary-base-alist' instead of full
11844 `ispell-dictionary-alist'.
11845 (ispell-init-process): Show spellchecker when starting new Ispell
11846 process.
11847
fda91268
RZ
118482012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11849
11850 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11851 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11852
694ea8e3
JB
118532012-05-27 Juanma Barranquero <lekktu@gmail.com>
11854
11855 * version.el (motif-version-string, gtk-version-string)
11856 (ns-version-string): Declare.
11857
e4d4f539
JL
118582012-05-27 Juri Linkov <juri@jurta.org>
11859
11860 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11861 after the `eval-defun-1' specialcaseing
11862 like in `edebug-eval-defun' (bug#10181).
11863
11864 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11865 like in `eval-defun-1'.
11866
33017faf 118672012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 11868
fda91268
RZ
11869 * mail/sendmail.el (mail-yank-region):
11870 Recognize rmail-yank-current-message in addition to insert-buffer.
11871 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
11872 a *mail* buffer created through rmail-start-mail with sendmail as
11873 mail-user-agent.
11874
33017faf
GM
118752012-05-27 Chong Yidong <cyd@gnu.org>
11876
11877 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11878 Default to 256 (Bug#11267).
11879
11880 * help.el (describe-mode): Doc fix.
11881
04188bb9
GM
118822012-05-26 Glenn Morris <rgm@gnu.org>
11883
38264cc9
GM
11884 * w32-fns.el (w32-init-info): Remove.
11885 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11886
eb7afdad
GM
11887 * info.el (info-initialize): For self-contained NS builds, put the
11888 included info/ directory at the front. (Bug#2791)
11889
04188bb9
GM
11890 * paths.el (Info-default-directory-list): Make it a defcustom,
11891 mainly so that we can use custom-initialize-delay.
11892
a179e3f7
SM
118932012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11894
43416392
SM
11895 * subr.el (buffer-has-markers-at): Mark obsolete.
11896
a179e3f7 11897 * subr.el (lambda): Use declare.
43416392 11898
a179e3f7
SM
11899 * emacs-lisp/lisp-mode.el (lambda):
11900 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11901
34a008d9
AH
119022012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11903
11904 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11905
0a3b289f
GM
119062012-05-26 Glenn Morris <rgm@gnu.org>
11907
11908 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11909
758c81e8
GM
119102012-05-25 Glenn Morris <rgm@gnu.org>
11911
f9f334f0
GM
11912 * paths.el: Remove no-byte-compile.
11913 * loadup.el: No need to load paths.el uncompiled.
11914
87eb79c2
GM
11915 * image.el (imagemagick-types-inhibit): Doc fix.
11916
758c81e8
GM
11917 * version.el: Remove no-byte-compile and associated formatting.
11918 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11919 is ancient code from when there was an "inc-vers.el".
11920
e7e85dc0
SM
119212012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11922
11923 * progmodes/gdb-mi.el: Minor style changes.
11924 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11925 Turn into minor modes.
11926 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11927 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11928 (gdb-shell): Remove unneeded let-binding.
11929 (gdb-get-many-fields): Eliminate O(n²) behavior.
11930
f31237a4
EZ
119312012-05-25 Eli Zaretskii <eliz@gnu.org>
11932
11933 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11934 platforms that don't link in fontset.c.
11935
bc1b21bb
JL
119362012-05-25 Juri Linkov <juri@jurta.org>
11937
11938 Use the same diff color scheme as in modern VCSes (bug#10181).
11939
11940 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11941 to avoid confusion with `diff-added' that now uses green colors.
11942 (diff-removed): Use shades of red.
11943 (diff-added): Use shades of green.
11944 (diff-changed): Leave just the yellow color.
11945 (diff-use-changed-face): New variable.
11946 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11947 how to highlight context diff changes.
11948 (diff-refine-change): Use shades of yellow.
11949 (diff-refine-removed): New face that uses shades of red.
11950 (diff-refine-added): New face that uses shades of green.
11951 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11952 `diff-refine-removed' in the call to `smerge-refine-subst'
11953 depending on the value of `diff-use-changed-face'.
11954
11955 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11956 (smerge-other): Use shades of green.
11957 (smerge-base): Use shades of yellow.
11958 (smerge-refined-change): Empty face.
11959 (smerge-refined-removed): New face that uses shades of red.
11960 (smerge-refined-added): New face that uses shades of green.
11961 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11962 args `props-r' and `props-a', and use them. Doc fix.
11963 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11964 on its value use different faces `smerge-refined-change',
11965 `smerge-refined-removed', `smerge-refined-added' in the call to
11966 `smerge-refine-subst'.
11967
11968 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11969 Add face condition `min-colors 88' with shades of red.
11970 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11971 `min-colors 88' with shades of green.
11972 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11973 `min-colors 88' with shades of yellow.
11974
6df9112c
GM
119752012-05-24 Glenn Morris <rgm@gnu.org>
11976
ead5edc0
GM
11977 * paths.el (prune-directory-list, remote-shell-program): Move to...
11978 * files.el (prune-directory-list, remote-shell-program): ...here.
11979 For the latter, delay initialization, prefer ssh, just search PATH.
11980
f18b81e6
GM
11981 * paths.el (term-file-prefix): Move to faces.el (the only user).
11982 * faces.el (term-file-prefix): Move here, make it a defcustom.
11983
ee2f89a6
GM
11984 * paths.el (news-directory, news-path, news-inews-program):
11985 Move to gnus/nnspool.el.
61a583ca 11986
f8815e4c
GM
11987 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11988
c8f3b42c
GM
11989 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11990 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11991 Make the latter a defcustom, with a delayed initialization.
11992
6df9112c
GM
11993 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11994 These were deleted from Gnus itself late 2010.
11995
5dadff36
JB
119962012-05-22 Juanma Barranquero <lekktu@gmail.com>
11997
9e1701c6
JB
11998 * progmodes/which-func.el (which-func-ff-hook):
11999 Check against user-error, not error.
12000
bd7239f5 12001 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
12002 cl-specs.el, which no longer exists.
12003
3290526d
GM
120042012-05-22 Glenn Morris <rgm@gnu.org>
12005
12006 * info.el (info-emacs-bug): New command.
12007 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12008 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12009
ff0c3cfb
GM
120102012-05-21 Glenn Morris <rgm@gnu.org>
12011
12012 * makefile.w32-in (update-subdirs-SH):
12013 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12014
5814f126
SM
120152012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12016
a52c0aa0
SM
12017 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12018
5814f126
SM
12019 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12020 Simplify Maven regexp, and make sure the file can't start with a space
12021 (bug#11517).
12022
b847032c
GM
120232012-05-21 Glenn Morris <rgm@gnu.org>
12024
12025 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12026 Scrap superfluous subshells.
12027
3858bfe7
SM
120282012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12029
12030 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12031 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12032
d14b0029
JB
120332012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12034
12035 * calc/calc.el (calc-ensure-consistent-units): New variable.
12036
a52c0aa0
SM
12037 * calc/calc-units.el (math-consistent-units-p)
12038 (math-check-unit-consistency): New functions.
12039 (calc-quick-units, calc-convert-units):
12040 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12041 is non-nil.
d14b0029
JB
12042 (calc-extract-units): Fix typo.
12043
60c4db3a
SM
120442012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12045
77f3b62e
SM
12046 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12047
60c4db3a
SM
12048 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12049 (flyspell-default-deplacement-commands): Don't spell check after
12050 repeated window/frame switches (e.g. triggered by mouse-movement).
12051 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12052 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12053 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12054 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12055 Remove unused vars.
12056 (flyspell-get-casechars, flyspell-get-not-casechars):
12057 Simplify; Don't bother removing a ] just to add it back.
12058 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12059
d209e2fb 120602012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
12061
12062 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12063 New functions.
bd7239f5 12064 (math-function-table): Add support for more C functions.
b1a10716 12065
3f1b25b5
AM
120662012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12067
090bd7cb
JB
12068 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12069 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12070 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 12071
b581bb5c
SM
120722012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12073
12074 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12075 their respective macro declarations.
12076 * skeleton.el (define-skeleton):
12077 * progmodes/compile.el (define-compilation-mode):
12078 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12079 (define-ibuffer-filter):
12080 * emacs-lisp/generic.el (define-generic-mode):
12081 * emacs-lisp/easy-mmode.el (define-minor-mode)
12082 (define-globalized-minor-mode):
12083 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12084 * emacs-lisp/byte-run.el (defsubst):
12085 * custom.el (deftheme): Add doc-string metadata.
12086
70b8ef8f
SM
120872012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12088
12089 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12090
b1198e17
SM
120912012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12092
9abdc45d
SM
12093 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12094
b1198e17
SM
12095 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12096 * emacs-lisp/cl-macs.el: Idem.
12097 * emacs-lisp/cl-specs.el: Remove.
12098
4735906a
SM
120992012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12100
12101 Minor renaming of internal CL functions and variables.
12102 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12103 (cl--position): Rename from cl-position.
12104 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12105 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12106 (cl--random-state): Rename from *random-state*.
12107
ac348012
SM
121082012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12109
12110 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12111 parens around the arg list (bug#11499).
12112
a0a79cde
JL
121132012-05-17 Juri Linkov <juri@jurta.org>
12114
12115 * isearch.el (word-search-regexp, word-search-backward)
12116 (word-search-forward, word-search-backward-lax)
12117 (word-search-forward-lax): Move functions from search.c
12118 (bug#10145, bug#11381).
12119
65034a51
AM
121202012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12121
090bd7cb
JB
12122 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12123 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12124 Delay for otherchars as for normal word components.
65034a51 12125
1a72a195
SM
121262012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12127
12128 * minibuffer.el (completion--sifn-requote): Fix last change.
12129 (minibuffer-local-must-match-filename-map):
12130 Move define-obsolete-variable-alias before its var.
12131
fdb058c2
SM
121322012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12133
c41045e6
SM
12134 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12135
036dfb8b
SM
12136 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12137 behavior.
12138 (completion--string-equal-p): New function.
12139 (completion--twq-all): Use it to get better assertion failure data.
12140
2473256d
SM
12141 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12142 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12143 (shell--requote-argument): New functions.
12144 (shell-completion-vars): Use them.
12145 (shell--parse-pcomplete-arguments): Rename from
12146 shell-parse-pcomplete-arguments.
12147 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12148 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12149 Obey comint-file-name-quote-list.
12150
fdb058c2
SM
12151 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12152 (smie-indent-keyword): Use it.
12153
51fa99f1
SM
121542012-05-14 Stefan Merten <smerten@oekonux.de>
12155
12156 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12157
e18afed7 121582012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
12159
12160 * net/rlogin.el (rlogin-mode-map): Fix last change.
12161
e18afed7 121622012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
12163
12164 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12165 the following \r\n using a single `process-send-string', since the
12166 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 12167 with two `process-send-string's (Bug#11444).
8633b1f4 12168
e18afed7 121692012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 12170
fdb058c2
SM
12171 * shell.el (shell-parse-pcomplete-arguments):
12172 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 12173
2d21d7f6
WJ
121742012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12175
e18afed7 12176 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
12177 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12178 (image-transform-width, image-transform-fit-width): New functions.
12179 (image-transform-properties): Use them.
12180 (image-transform-check-size): New function.
12181 (image-toggle-display-image): Use it (for testing).
12182 (image-transform-set-rotation): Reduce angle mod 360.
12183 Delete obsolete comment.
12184
7102e6d0
WJ
121852012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12186
12187 * image-mode.el: Fix scaling (bug#11399).
12188 (image-transform-resize): Doc fix.
12189 (image-transform-properties): Default scale is 1 and height should
12190 be an integer.
12191
06bc5e6e
SM
121922012-05-13 Johan Bockgård <bojohan@gnu.org>
12193
12194 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12195 than hard-coding `car', to fix misbehavior when moving forward.
12196
0ae03b6a
CY
121972012-05-13 Chong Yidong <cyd@gnu.org>
12198
12199 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12200 (tabulated-list-entries, tabulated-list-padding)
12201 (tabulated-list-sort-key): Make permanent-local.
12202
12203 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12204 (electric-buffer-list): Put electric buffer menu
12205 command descriptions in this docstring, instead of the docstring
12206 of electric-buffer-menu-mode. Code cleanups.
12207 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12208 Electric-buffer-menu-mode.
12209 (electric-buffer-update-highlight): Minor code cleanup.
12210
205a7391
MA
122112012-05-13 Michael Albinus <michael.albinus@gmx.de>
12212
12213 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12214 (Bug#11447)
12215
e5bd0a28
SM
122162012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12217
12218 Move define-obsolete-variable-alias before the var's definition.
12219 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12220 * tooltip.el (tooltip-hook):
12221 * textmodes/reftex-toc.el (reftex-toc-map):
12222 * textmodes/reftex-sel.el (reftex-select-label-map)
12223 (reftex-select-bib-map):
12224 * textmodes/reftex-index.el (reftex-index-map)
12225 (reftex-index-phrases-map):
12226 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12227 * progmodes/meta-mode.el (meta-mode-map):
12228 * novice.el (disabled-command-hook):
12229 * loadhist.el (unload-hook-features-list):
12230 * frame.el (blink-cursor):
12231 * files.el (find-file-not-found-hooks, write-file-hooks)
12232 (write-contents-hooks):
12233 * emulation/tpu-edt.el (GOLD-map):
12234 * emacs-lock.el (emacs-lock-from-exiting):
12235 * emacs-lisp/generic.el (generic-font-lock-defaults):
12236 * emacs-lisp/chart.el (chart-map):
12237 * dos-fns.el (register-name-alist):
12238 * dired-x.el (dired-omit-files-p):
12239 * desktop.el (desktop-enable):
12240 * cus-edit.el (custom-mode-hook):
12241 * buff-menu.el (buffer-menu-mode-hook):
12242 * bookmark.el (bookmark-read-annotation-text-func)
12243 (bookmark-exit-hooks):
12244 * allout.el (allout-mode-deactivate-hook)
12245 (allout-exposure-change-hook, allout-structure-added-hook)
12246 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12247 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12248 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12249 comes before the corresponding variable's definition.
12250
ac59c2f6
CY
122512012-05-12 Chong Yidong <cyd@gnu.org>
12252
12253 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
12254 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12255 (Buffer-menu-mode-map): Bind it.
12256 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 12257
dee6c9a3
SM
122582012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12259
2171cea5
SM
12260 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12261 (prolog-upper-case-string, prolog-lower-case-string)
12262 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12263 (prolog-use-smie, prolog-smie-grammar): New vars.
12264 (prolog-smie-forward-token, prolog-smie-backward-token)
12265 (prolog-smie-rules): New funs.
12266 (prolog-comment-indent): Remove.
12267 (prolog-mode-variables): Use default comment indentation instead.
12268 Setup SMIE.
12269 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12270 (prolog-mode): Don't call them any more.
12271 (prolog-electric-colon, prolog-electric-dash)
12272 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12273
aa0382bd
SM
12274 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12275
dbacb4bd
SM
12276 * minibuffer.el (completion--twq-all): Again, allow case differences.
12277
13bdd94c
SM
12278 * term.el: Move keymap initialization code to be more idiomatic.
12279 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12280 (term-terminal-menu): Move initialization into declaration.
12281 (term-escape-char): Let the user set it in her .emacs.
12282
ff46c759
SM
12283 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12284 Provide SMIE-based indentation (not enabled by default yet).
12285 (sh-mode-map): Don't bind electric keys.
12286 Use electric-pair-mode instead of skeleton-pair.
12287 (sh-assignment-regexp): Fit within 80 columns.
12288 (sh-indent-supported): Specify actual shell name instead of boolean.
12289 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12290 (sh-maybe-here-document): Use it. Make obsolete.
12291 (sh-electric-here-document-mode) New minor mode.
12292 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12293 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12294 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12295 (sh-smie-rc-grammar, sh-use-smie): New vars.
12296 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12297 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12298 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12299 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12300 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12301 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12302 (sh-set-shell): Use smie-setup if requested.
12303
dee6c9a3
SM
12304 * term.el (term-set-escape-char): Properly set term-escape-char.
12305 See http://stackoverflow.com/questions/10524656.
12306
9f9aa044
CY
123072012-05-10 Chong Yidong <cyd@gnu.org>
12308
12309 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12310 Use url-generic-parse-url, and handle host names and Windows
12311 filenames properly.
12312 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12313 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12314 URL schemes to work on.
12315 (ffap--toggle-read-only): New function.
12316 (ffap-read-only, ffap-read-only-other-window)
12317 (ffap-read-only-other-frame): Use it.
12318 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12319 necessary for ffap-url-unwrap-remote.
12320
836d29b3
DA
123212012-05-10 Dave Abrahams <dave@boostpro.com>
12322
12323 * cus-start.el (create-lockfiles): Add it.
12324
00fd78ed
CY
123252012-05-09 Chong Yidong <cyd@gnu.org>
12326
12327 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12328 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12329
666b903b 123302012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
12331
12332 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12333
666b903b 123342012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
12335
12336 * ansi-color.el (ansi-color-process-output): Check for validity of
12337 comint-last-output-start before using it. This avoids a bad
12338 interaction with gdb-mi's input/output buffer.
12339
666b903b 123402012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
12341
12342 * files.el (dir-locals-read-from-file):
12343 Mention dir-locals in any error message.
12344
666b903b 123452012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
12346
12347 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12348 package (Bug#11410).
12349
f677562b
CY
12350 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12351 variables into description.
12352
666b903b 123532012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
12354
12355 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12356 shell-delimiter-argument-list (bug#11348).
12357 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12358
b499d8d0
JB
123592012-05-09 Juanma Barranquero <lekktu@gmail.com>
12360
8f6b6da8
JB
12361 * textmodes/rst.el: Silence byte-compiler warnings.
12362 (rst-re-alist, rst-reset-section-caches): Move around.
12363 (rst-re): Use `characterp', not `char-valid-p'.
12364 (font-lock-beg, font-lock-end): Declare.
12365
4824146a
JB
12366 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12367 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12368
b499d8d0
JB
12369 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12370
ad89bb83
GM
123712012-05-08 Glenn Morris <rgm@gnu.org>
12372
12373 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12374
8bba5a75
SM
123752012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12376
49ed9c8e
SM
12377 * vc/log-edit.el: Add GNU coding standards highlighting.
12378 (log-edit-font-lock-gnu-style)
12379 (log-edit-font-lock-gnu-keywords): New vars.
12380 (log-edit-font-lock-keywords): New fun.
12381 (log-edit-mode): Don't fold case in font-lock.
12382 (log-edit-font-lock-keywords): Do not assume case-folding.
12383
07d00b56
SM
12384 * imenu.el: Misc cleanup. Make docstrings out of comments.
12385 Use lexical-binding.
12386 (imenu--index-alist, imenu--last-menubar-index-alist)
12387 (imenu-menubar-modified-tick): Use defvar-local.
12388 (imenu--split-menu): Remove unused var.
12389 (imenu--cleanup-seen): Declare as global.
12390 (imenu--cleanup): Use dolist.
12391
8bba5a75
SM
12392 * subr.el (defvar-local): Add debug spec and doc-string position.
12393
5075bdb5
GM
123942012-05-08 Glenn Morris <rgm@gnu.org>
12395
090bd7cb 12396 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
12397 * language/english.el, language/georgian.el, language/greek.el:
12398 * language/japanese.el, language/khmer.el, language/korean.el:
12399 * language/lao.el, language/misc-lang.el, language/romanian.el:
12400 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12401 * language/thai.el, language/utf-8-lang.el:
12402 Remove no-byte-compile setting.
12403
5075bdb5
GM
12404 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12405
06f679a7
AH
124062012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12407
12408 * progmodes/make-mode.el (makefile-browse):
12409 Remove unnecessary interactive. (Bug#11324)
12410
03794570
GM
124112012-05-07 Glenn Morris <rgm@gnu.org>
12412
af8630f4
GM
12413 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12414
03794570
GM
12415 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12416
f0809a9d
SM
124172012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12418
28be5ce7
SM
12419 * loadup.el: Preload newcomment.el.
12420 * newcomment.el: Move autoload-only code to toplevel.
12421
f0809a9d
SM
12422 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12423 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12424 Handle new :right-align column property.
12425 (tabulated-list-print-col): Idem, plus use `display' text-property to
12426 try and preserve alignment for variable pitch fonts.
12427
1241b724
CY
124282012-05-07 Chong Yidong <cyd@gnu.org>
12429
12430 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12431 (tabulated-list-use-header-line): New var.
12432 (tabulated-list-init-header): Use it.
12433 (tabulated-list-print-fake-header): New function.
12434 (tabulated-list-print): Use it.
12435 (tabulated-list-sort-button-map): Add non-header-line commands.
12436 (tabulated-list-init-header): Add column name property to basic
12437 labels as well.
12438 (tabulated-list-col-sort): Handle non-header-line button case.
12439 (tabulated-list--sort-by-column-name): Fix a corner case.
12440
f0809a9d
SM
12441 * buff-menu.el (list-buffers--refresh):
12442 Handle Buffer-menu-use-header-line.
1241b724 12443
e5f9458f
CY
124442012-05-06 Chong Yidong <cyd@gnu.org>
12445
12446 * buff-menu.el: Convert to Tabulated List mode.
12447 (Buffer-menu-buffer+size-width): Make obsolete.
12448 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12449 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12450 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12451 documentation into docstring of buffer-menu.
12452 (Buffer-menu-toggle-files-only): Add an informative message.
12453 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12454 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12455 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12456 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12457 (Buffer-menu-execute, Buffer-menu-select)
12458 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12459 (Buffer-menu-bury): Use Tabulated List machinery.
12460 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12461 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 12462 Delete.
e5f9458f
CY
12463 (list-buffers--refresh): New function.
12464 (list-buffers-noselect): Use it.
12465 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12466 (Buffer-menu--pretty-file-name): New helper functions.
12467
12468 * loadup.el: Preload tabulated-list.
12469
12470 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12471 tabulated-list-sort-column.
12472 (tabulated-list-init-header): Add the initial aligning space even
12473 if tabulated-list-padding is zero.
12474
e129292c
CS
124752012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12476
12477 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12478 whose cdr is not a cons cell correctly (bug#11038).
12479
6632d361
CY
124802012-05-06 Chong Yidong <cyd@gnu.org>
12481
e129292c
CS
12482 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12483 Accept additional plist in column descriptors.
6632d361
CY
12484 (tabulated-list-init-header): Obey it.
12485 (tabulated-list-get-entry): New function.
12486 (tabulated-list-put-tag): Use it. Use string-width instead of
12487 length.
12488 (tabulated-list--column-number): New function.
12489 (tabulated-list-print): Use it.
e129292c
CS
12490 (tabulated-list-print-col): New function.
12491 Set `tabulated-list-column-name' property on each column's text.
6632d361 12492 (tabulated-list-print-entry): Use it.
e129292c
CS
12493 (tabulated-list-delete-entry, tabulated-list-set-col):
12494 New functions.
6632d361
CY
12495 (tabulated-list-sort-column): New command (Bug#11337).
12496
3cc99f68
CY
12497 * buff-menu.el (list-buffers): Move C-x C-b binding from
12498 buff-menu.el to bindings.el.
12499
12500 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12501 :advertised-binding feature.
12502
52b61776
TN
125032012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12504
12505 * progmodes/compile.el (compilation-internal-error-properties):
12506 Calculate start position correctly when end-col is set but
12507 end-line is not (Bug#11382).
12508
ebfe2597
WJ
125092012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12510
12511 * man.el (Man-unindent): Use text-property-default-nonsticky to
12512 prevent untabify from inheriting face properties (Bug#11408).
12513
6d3f7c2f
SM
125142012-05-05 Stefan Merten <smerten@oekonux.de>
12515
12516 * textmodes/rst.el: Major merge with upstream development up to
12517 Docutils SVN r7399 / rst.el V1.2.1.
12518
12519 Clarify maintainership and authors.
12520
12521 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12522 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12523 (rst-official-version, rst-official-cvs-rev, rst-version)
12524 (rst-package-emacs-version-alist): New functions and variables
12525 for version information.
12526
12527 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12528 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12529 (rst-mode-syntax-table, rst-mode): New and corrected functions
12530 and variables representing reStructuredText features.
12531
12532 (rst-re): New function for reStructuredText regexes. Use in
12533 many places.
12534
12535 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12536 (rst-mode-map): Rebind keys.
12537
12538 (rst-mode-lazy, rst-font-lock-keywords)
12539 (rst-font-lock-extend-region)
12540 (rst-font-lock-extend-region-internal)
12541 (rst-font-lock-extend-region-extend)
12542 (rst-font-lock-find-unindented-line-limit)
12543 (rst-font-lock-find-unindented-line-match)
12544 (rst-adornment-level, rst-font-lock-adornment-level)
12545 (rst-font-lock-adornment-match)
12546 (rst-font-lock-handle-adornment-pre-match-form)
12547 (rst-font-lock-handle-adornment-matcher): Major revision of
12548 font-locking. Integrate with other code. Use `jit-lock-mode'.
12549
12550 (rst-preferred-adornments, rst-adjust-hook)
12551 (rst-new-adornment-down, rst-preferred-bullets)
12552 (rst-preferred-bullets, rst-indent, rst-indent-width)
12553 (rst-indent-field, rst-indent-literal-normal)
12554 (rst-indent-literal-minimized, rst-indent-comment): Change,
12555 extend and improve customization.
12556
12557 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12558 (rst-normalize-cursor-position, rst-get-decoration)
12559 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12560 (rst-rstrip, rst-toc-insert-find-delete-contents)
12561 (rst-shift-fill-region, rst-compute-bullet-tabs)
12562 (rst-debug-print-tabs, rst-debug-mark-found)
12563 (rst-shift-region-guts, rst-shift-region-right)
12564 (rst-shift-region-left, rst-use-char-classes)
12565 (rst-font-lock-keywords-function)
12566 (rst-font-lock-indentation-point)
12567 (rst-font-lock-find-unindented-line-begin)
12568 (rst-font-lock-find-unindented-line-end)
12569 (rst-font-lock-find-unindented-line)
12570 (rst-font-lock-adornment-point, rst-font-lock-level)
12571 (rst-adornment-level-alist): Remove functions and variables.
12572
12573 (rst-compare-adornments, rst-get-adornment-match)
12574 (rst-suggest-new-adornment, rst-get-adornments-around)
12575 (rst-adornment-complete-p, rst-get-next-adornment)
12576 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12577 (rst-straighten-adornments): Standardize function names to
12578 use "adornment" instead of "decoration". Correct callers.
12579 Similar standardizing in many places.
12580
12581 (rst-update-section, rst-adjust, rst-promote-region)
12582 (rst-enumerate-region, rst-bullet-list-region)
12583 (rst-repeat-last-character): Correct use of `interactive'.
12584
12585 (rst-classify-adornment, rst-find-all-adornments)
12586 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12587 (rst-find-leftmost-column, rst-repeat-last-character):
12588 Refactor functions.
12589
12590 (rst-find-title-line, rst-reset-section-caches)
12591 (rst-get-adornments-around, rst-adjust-adornment-work)
12592 (rst-arabic-to-roman, rst-roman-to-arabic)
12593 (rst-insert-list-pos, rst-insert-list-new-item)
12594 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12595 New functions.
12596
12597 (rst-all-sections, rst-section-hierarchy)
12598 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12599 New variables.
12600
12601 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12602 configuration instead of only buffer. Change where necessary.
12603
12604 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12605 (rst-shift-region, rst-adaptive-fill): New functions for
12606 indentation and filling.
12607
12608 (rst-comment-line-break, rst-comment-indent)
12609 (rst-comment-insert-comment, rst-comment-region)
12610 (rst-uncomment-region): New functions for handling comments.
12611
12612 (rst-compile): Quote shell arguments.
12613
12614 (rst-compile-pdf-preview, rst-compile-slides-preview):
12615 Delete temporary files after use.
12616
a43f98b3
GM
126172012-05-05 Glenn Morris <rgm@gnu.org>
12618
48176e8b
GM
12619 * calendar/cal-html.el: Optionally include holidays in the output.
12620 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12621 (cal-html-holidays): New option.
12622 (cal-html-css-default): Add holiday entry.
12623 (holiday-in-range): Autoload it.
12624 (cal-html-htmlify-entry): Add optional class argument.
12625 (cal-html-htmlify-list): Add optional holidays argument.
12626 (cal-html-insert-agenda-days): Include holidays in the output.
12627 (cal-html-one-month): Maybe include holidays.
12628
a43f98b3
GM
12629 * calendar/holidays.el (holiday-in-range):
12630 Move here from cal-tex-list-holidays.
12631 * calendar/cal-tex.el (cal-tex-list-holidays):
12632 Make it an obsolete alias for holiday-in-range. Update all callers.
12633
fef9d149 126342012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
12635
12636 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12637 Nextstep.
12638
248da2f4
RW
126392012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12640
12641 * files.el (file-auto-mode-skip): New var.
12642 (set-auto-mode-1): Use it.
12643
f95e9344
SM
126442012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12645
df96ab1e
SM
12646 * repeat.el: Use lexical-binding.
12647 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12648 (repeat-undo-count): Remove.
12649 (repeat):
12650 * progmodes/octave-mod.el (octave-abbrev-start):
12651 * progmodes/f90.el (f90-abbrev-start):
12652 * face-remap.el (text-scale-adjust):
12653 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12654
5342bb06
SM
12655 * emacs-lisp/pcase.el (pcase--let*): New function.
12656 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12657 a bit more.
12658 (pcase--split-pred): Be more clever about ruling out overlap between
12659 a predicate and some constant pattern.
12660 (pcase--q1): Use `null' instead of (eq foo nil).
12661
f95e9344
SM
12662 * subr.el (setq-local, defvar-local): New macros.
12663 (kbd): Redefine as an alias.
12664 (with-selected-window): Leave unrelated frames alone.
12665 (set-temporary-overlay-map): New function.
12666
71873e2b
SM
126672012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12668
12669 * subr.el (user-error): New function.
12670 * window.el (switch-to-buffer):
12671 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12672 (smerge-match-conflict):
12673 * simple.el (previous-matching-history-element)
12674 (next-matching-history-element, goto-history-element, undo-more)
12675 (undo-start):
12676 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12677 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12678 (next-file, tags-loop-scan, list-tags, complete-tag):
12679 * progmodes/compile.el (compilation-loop):
12680 * mouse.el (mouse-minibuffer-check):
12681 * man.el (Man-bgproc-sentinel, Man-goto-page):
12682 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12683 (Info-history-forward, Info-follow-reference, Info-menu)
12684 (Info-extract-menu-item, Info-extract-menu-counting)
12685 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12686 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12687 (Info-next-reference, Info-prev-reference, Info-index)
12688 (Info-index-next, Info-follow-nearest-node)
12689 (Info-copy-current-node-name):
12690 * imenu.el (imenu--make-index-alist)
12691 (imenu-default-create-index-function, imenu-add-to-menubar):
12692 * files.el (basic-save-buffer, recover-file):
12693 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12694 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12695 (checkdoc-message-text, checkdoc-defun):
12696 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12697 * cus-edit.el (customize-changed-options, customize-rogue)
12698 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12699 (custom-variable-mark-to-reset-standard)
12700 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12701 (custom-file):
12702 * completion.el (check-completion-length):
12703 * comint.el (comint-search-arg)
12704 (comint-previous-matching-input-string-position)
12705 (comint-previous-matching-input)
12706 (comint-replace-by-expanded-history-before-point, comint-send-input)
12707 (comint-copy-old-input, comint-backward-matching-input)
12708 (comint-goto-process-mark, comint-set-process-mark):
12709 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12710 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12711
8a61ee22
SM
127122012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12713
66408d1e
SM
12714 * dabbrev.el (dabbrev--ignore-case-p): New function.
12715 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12716 Use it.
12717
8a61ee22
SM
12718 * files.el (automount-dir-prefix): Mark as obsolete.
12719
3c74813a
GM
127202012-05-04 Glenn Morris <rgm@gnu.org>
12721
12722 * patcomp.el, play/bruce.el: Move to obsolete/.
12723
0bfcf5c5
PE
127242012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12725
12726 Fix minor Y10k bugs.
12727 * arc-mode.el (archive-unixdate):
12728 * autoinsert.el (auto-insert-alist):
12729 * calc/calc-forms.el (math-this-year):
12730 * emacs-lisp/copyright.el (copyright-current-year)
12731 (copyright-update-year, copyright):
12732 * tar-mode.el (tar-clip-time-string):
12733 * time.el (display-time-update):
12734 Don't assume years have 4 digits.
12735
78f3273a
CY
127362012-05-04 Chong Yidong <cyd@gnu.org>
12737
12738 * dos-w32.el (file-name-buffer-file-type-alist)
12739 (direct-print-region-use-command-dot-com):
12740 * ffap.el (ffap-menu-regexp):
12741 * find-file.el (ff-special-constructs):
12742 * follow.el (follow-debug):
12743 * forms.el (forms--debug):
12744 * iswitchb.el (iswitchb-all-frames):
12745 * ido.el (ido-all-frames):
12746 * emacs-lisp/timer.el (timer-max-repeats):
12747 * mail/feedmail.el (feedmail-mail-send-hook)
12748 (feedmail-mail-send-hook-queued):
12749 * mail/footnote.el (footnote-signature-separator):
12750 * mail/mailabbrev.el (mail-alias-separator-string)
12751 (mail-abbrev-mode-regexp):
12752 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12753 * progmodes/idlwave.el (idlwave-libinfo-file)
12754 (idlwave-default-completion-case-is-down)
12755 (idlwave-library-routines): Convert defvars to defcustoms.
12756
12757 * mail/rmail.el (rmail-decode-mime-charset):
12758 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12759 (idlwave-shell-fix-inserted-breaks)
12760 (idlwave-shell-activate-alt-keybindings)
12761 (idlwave-shell-use-breakpoint-glyph):
12762 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12763
f7ae6719
SM
127642012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12765
12766 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12767
47086495
WS
127682012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12769
12770 * progmodes/verilog-mode.el (font-lock-keywords):
12771 Fix mis-highligting auto. Reported by Craig Barner.
12772 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 12773 defines from global name space. Reported by Dan Dever.
47086495
WS
12774 (verilog-auto-reset, verilog-auto-reset-widths)
12775 (verilog-auto-tieoff): Support using unbased numbers for
12776 AUTORESET and AUTOTIEOFF.
12777 (verilog-submit-bug-report): Update variable list.
12778 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 12779 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
12780 (verilog-auto-template-lint): Fix hash error when linting modules
12781 with no used templates.
12782 (verilog-warn, verilog-warn-error)
12783 (verilog-warn-fatal): When non-interactive report multiple
12784 warnings before exiting. Suggested by Brad Dobbie.
12785 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12786 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12787 to report unused template errors. Reported by Brad Dobbie.
12788 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 12789 nets, bug438. Reported by Vns Blore.
47086495
WS
12790 (verilog-auto-inout-module, verilog-auto-reg)
12791 (verilog-read-decls, verilog-read-sub-decls-sig)
12792 (verilog-signals-edit-wire-reg, verilog-signals-with):
12793 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 12794 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
12795 "reg" for backwards compatibility presuming Verilog 2001.
12796 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12797 (verilog-preprocess): Fix replication of preprocess output.
12798 Reported by Brad Dobbie.
12799 (verilog-auto-inst-interfaced-ports):
12800 Create verilog-auto-inst-interfaced-ports, bug429.
12801 Reported by Julian Gorfajn.
12802 (verilog-after-save-font-hook)
12803 (verilog-before-save-font-hook): New variable.
12804 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12805 (verilog-save-font-mods): Wrap disabling fontification, reported
12806 by David Rogoff.
12807 (verilog-do-indent, verilog-pretty-declarations-auto)
12808 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12809 Reported by Pierre-David Pfister.
12810 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12811 of class declarations, bug292. Reported by Kevin Heilman.
12812 (verilog-read-decls): Fix 'parameter type' not appearing in
12813 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12814 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 12815 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
12816 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12817 Reported by David Kravitz.
12818
128192012-05-03 Michael McNamara <mac@mail.brushroad.com>
12820
12821 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12822 assignment with tests in ifs and for loops.
12823 (verilog-extended-complete-re, verilog-complete-reg): Change so
12824 that DPI inport functions don't look like fuction declarations.
12825 (verilog-pretty-expr): Don't line up assignment
12826 operations to the test and increment in if and for loops
12827 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 12828 that DPI inport functions don't look like fuction declarations.
47086495 12829
2e51d4b5
KH
128302012-05-03 Kenichi Handa <handa@m17n.org>
12831
12832 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 12833 decoding, and show a warning message without signaling an error
2e51d4b5
KH
12834 (Bug#11282).
12835
2bd785a2
SM
128362012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12837
12838 * emacs-lisp/bytecomp.el
12839 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12840 since cconv.el might have introduced :fun-body, internal-make-closure,
12841 and friends for bytecomp to handle (bug#11391).
12842 * custom.el (defcustom): Avoid ((λ ..) ..).
12843
99d27583
SM
128442012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12845
12846 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12847
55a71479
JB
128482012-05-02 Juanma Barranquero <lekktu@gmail.com>
12849
12850 * notifications.el (dbus-debug):
12851 * term/linux.el (gpm-mouse-enable):
12852 * term/screen.el (xterm-register-default-colors): Declare.
12853
7b97c764
CY
128542012-05-02 Chong Yidong <cyd@gnu.org>
12855
2bc356d7
CY
12856 * cus-start.el (gc-cons-percentage, exec-suffixes)
12857 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12858 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12859 (make-cursor-line-fully-visible, void-text-area-pointer)
12860 (font-list-limit): Add customization data.
12861
7b97c764
CY
12862 * allout.el (allout-exposure-change-functions)
12863 (allout-structure-added-functions)
12864 (allout-structure-deleted-functions)
12865 (allout-structure-shifted-functions): Rename abnormal hooks from
12866 *-hook, and convert to defcustoms.
5d3385a0
JB
12867 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12868 Convert to defcustoms.
7b97c764
CY
12869 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12870
12871 * allout-widgets.el: Hook callers changed.
12872
90207a15 128732012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
12874
12875 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12876 the yanked message in preference to the default value of
12877 buffer-file-coding-system.
12878
90207a15 128792012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 12880
5d3385a0
JB
12881 * window.el (display-buffer--action-function-custom-type):
12882 Fix entry.
d9558cad 12883
90207a15 128842012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
12885
12886 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12887
d80ac57b
GM
128882012-05-01 Glenn Morris <rgm@gnu.org>
12889
976f7668
GM
12890 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12891
beb83b5a
GM
12892 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12893
d80ac57b
GM
12894 * cus-edit.el (custom-variable-documentation): Simplify with format.
12895
b593d6a9 128962012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 12897 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
12898
12899 * simple.el (suggest-key-bindings, execute-extended-command):
12900 Move from keyboard.c.
12901
782fbf2a
CY
129022012-05-01 Chong Yidong <cyd@gnu.org>
12903
12904 * follow.el: Eliminate advice.
12905 (set-process-filter, process-filter, sit-for): Advice deleted.
12906 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
12907 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12908 Vars deleted.
782fbf2a
CY
12909 (follow-auto): Use a :set function.
12910 (follow-mode): Rewritten. Don't advise process filters.
12911 (follow-switch-to-current-buffer-all, follow-scroll-up)
12912 (follow-scroll-down): Assume follow-mode is bound.
12913 (follow-comint-scroll-to-bottom)
12914 (follow-align-compilation-windows): New functions.
12915 (follow--window-sorter): New function.
12916 (follow-all-followers): Use it to explicitly sort windows by their
12917 positions; don't make assumptions about next-window order.
12918 (follow-windows-start-end, follow-delete-other-windows-and-split)
12919 (follow-calc-win-start): Doc fix.
12920 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12921 vertical-motion unnecessarily.
12922 (follow-adjust-window): New function.
12923 (follow-post-command-hook): Use it.
12924 (follow-call-set-process-filter, follow-call-process-filter)
12925 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12926 (follow-stop-intercept-process-output, follow-generic-filter):
12927 Functions deleted.
12928 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
12929 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12930 New functions, replacing advice on scroll-bar-* commands.
87233a14 12931 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
12932
12933 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
12934 (comint-postoutput-scroll-to-bottom): Use it.
12935 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 12936
290af740
GM
129372012-05-01 Glenn Morris <rgm@gnu.org>
12938
12939 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12940 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12941 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12942 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12943 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12944 Remove no-byte-compile setting.
12945
6eac8dc9
SM
129462012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12947
12948 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12949 all-completions code to not return a number in the last cdr.
12950
9cc7819c
LL
129512012-04-30 Leo Liu <sdl.web@gmail.com>
12952
12953 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12954 read-only error.
12955
c93b886f
CY
129562012-04-29 Chong Yidong <cyd@gnu.org>
12957
12958 * follow.el (follow-calc-win-end): Rewrite to handle partial
12959 screen lines correctly (Bug#8390).
12960 (follow-avoid-tail-recenter): Minor cleanup.
12961
8b6c19f4
SM
129622012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12963
12964 Avoid the obsolete `assoc' package.
12965 * speedbar.el (speedbar-refresh): Avoid adelete.
12966 (speedbar-file-lists): Simplify and avoid aput.
12967 * man.el (Man--sections, Man--refpages): New vars, replacing
12968 Man-sections-alist and Man-refpages-alist.
12969 (Man-build-section-alist, Man-build-references-alist):
12970 Use them; avoid aput.
12971 (Man--last-section, Man--last-refpage): New vars.
12972 (Man-follow-manual-reference): Use them.
12973 Use the `default' arg of completing-read.
12974 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12975
c5bb7569
CY
129762012-04-27 Chong Yidong <cyd@gnu.org>
12977
d1d2e2e8
CY
12978 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12979
15cd8efd
CY
12980 * startup.el (x-apply-session-resources): New function.
12981
12982 * term/ns-win.el (ns-initialize-window-system):
12983 * term/w32-win.el (w32-initialize-window-system):
12984 * term/x-win.el (x-initialize-window-system): Use it to properly
12985 set menu-bar-mode and other vars from X resources, even if the
12986 initial frame is not a window-system frame (Bug#2299).
12987
c5bb7569
CY
12988 * subr.el (read-key): Avoid running filter function when setting
12989 up temporary tool bar entries (Bug#9922).
12990
a8e7d6d7 129912012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
12992
12993 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12994 (Bug#11344)
12995
a8e7d6d7 129962012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
12997
12998 * select.el (xselect--encode-string): New function, split from
12999 xselect-convert-to-string.
13000 (xselect-convert-to-string): Use it.
13001 (xselect-convert-to-filename, xselect-convert-to-os)
13002 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13003 returned strings are properly encoded (Bug#11315).
13004
a8e7d6d7 130052012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
13006
13007 * simple.el (delete-active-region): Move to killing custom group.
13008
a8e7d6d7 130092012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
13010
13011 * progmodes/which-func.el (which-func-current): Quote %
13012 characters for mode-line processing.
13013
578c1d4b 130142012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
13015
13016 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13017 reaching eob (Bug#11286).
13018
a8e7d6d7 130192012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
13020
13021 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13022 (gdb): Make it buffer-local and init to zero.
13023 (gdb-control-commands-regexp): New variable.
13024 (gdb-send): Don't wrap in "-interpreter-exec console" if
13025 gdb-control-level is positive. Increment gdb-control-level
13026 whenever the command matches gdb-control-commands-regexp, and
13027 decrement it each time the command is "end". (Bug#11279)
13028
a8e7d6d7 130292012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
13030
13031 * window.el (adjust-window-trailing-edge, enlarge-window)
13032 (shrink-window, window-resize):
13033 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13034 windows (Bug#11276).
13035
b3608390
CY
130362012-04-27 Chong Yidong <cyd@gnu.org>
13037
13038 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 13039 fix "missing prefix" warning. All callers changed.
b3608390 13040
797e6e88
SM
130412012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13042
13043 * emacs-lisp/assoc.el: Move to obsolete/.
13044
e95a67dc
SM
130452012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13046
657c21e4 13047 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
13048
13049 * term/ns-win.el (ns-define-service):
13050 * progmodes/pascal.el (pascal-goto-defun):
13051 * progmodes/js.el (js--read-tab):
13052 * progmodes/etags.el (tags-lazy-completion-table):
13053 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13054 * emacs-lisp/ewoc.el (ewoc--wrap):
13055 * emacs-lisp/assoc.el (aput, adelete, amake):
13056 * doc-view.el (doc-view-convert-current-doc):
13057 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13058
cb3e7ae0
CY
130592012-04-26 Chong Yidong <cyd@gnu.org>
13060
dce04f7f
CY
13061 * image.el (image-type-from-buffer): Only return supported image
13062 type (Bug#9045).
13063
cb3e7ae0
CY
13064 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13065 value, for symmetry with diff-end-of-hunk.
13066 (diff-split-hunk, diff-find-source-location)
13067 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13068 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13069 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13070 compute the relevant hunk or file properly (Bug#6005).
13071 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13072
0d42eb3e
SM
130732012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13074
13075 * vc/vc-mtn.el:
13076 * vc/vc-hg.el:
13077 * vc/vc-git.el:
13078 * vc/vc-dir.el:
13079 * vc/vc-cvs.el:
13080 * vc/vc-bzr.el:
13081 * vc/vc-arch.el:
13082 * vc/vc.el: Replace lexical-let by lexical-binding.
13083 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13084 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13085 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13086
f08ae1c9
CY
130872012-04-26 Chong Yidong <cyd@gnu.org>
13088
8b71081d
CY
13089 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13090 (diff-mode-shared-map): Bind it to / and [remap undo].
13091
f08ae1c9
CY
13092 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13093 (ediff-window-setup-function): Use it as the default, to set up
13094 windows based on whether the current frame is graphical (Bug#2138).
13095 (ediff-choose-window-setup-function-automatically): Make obsolete.
13096
13097 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13098
ef24141c
SM
130992012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13100
cc356a5d
SM
13101 * ffap.el: Remove old code for obsolete package.
13102 (ffap-complete-as-file-p): Remove.
13103
b4ff4f1f
SM
13104 Use completion-table-with-quoting for comint and pcomplete.
13105 * comint.el (comint--unquote&requote-argument)
13106 (comint--unquote-argument, comint--requote-argument): New functions.
13107 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13108 (comint-quote-filename): Use regexp-opt-charset.
13109 (comint--common-suffix, comint--common-quoted-suffix)
13110 (comint--table-subvert): Remove.
13111 (comint-unquote-function, comint-requote-function): New vars.
13112 (comint--complete-file-name-data): Use them with
13113 completion-table-with-quoting.
13114 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13115 * pcomplete.el (pcomplete-arg-quote-list)
13116 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13117 (pcomplete-unquote-argument-function): Default to non-nil.
13118 (pcomplete-unquote-argument): Simplify.
13119 (pcomplete--common-quoted-suffix): Remove.
13120 (pcomplete-requote-argument-function): New var.
13121 (pcomplete--common-suffix): New function.
13122 (pcomplete-completions-at-point): Use completion-table-with-quoting
13123 and completion-table-subvert.
13124
79c4eeb4
SM
13125 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13126 (minibuffer--double-dollars): Preserve properties.
13127 (completion--sifn-requote): New function.
13128 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13129
ef24141c
SM
13130 * minibuffer.el: Add support for completion of quoted/escaped data.
13131 (completion-table-with-quoting, completion-table-subvert): New funs.
13132 (completion--twq-try, completion--twq-all): New functions.
13133 (completion--nth-completion): New function.
13134 (completion-try-completion, completion-all-completions): Use it.
13135
784e7d6e
LL
131362012-04-25 Leo Liu <sdl.web@gmail.com>
13137
dd2ac746
SM
13138 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13139 Use compilation-message if available to find real filename.
784e7d6e 13140
07875ee7
CY
131412012-04-25 Chong Yidong <cyd@gnu.org>
13142
13143 * vc/diff-mode.el (diff-setup-whitespace): New function.
13144 (diff-mode): Use it.
13145
13146 * vc/diff.el (diff-sentinel):
13147 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13148 Whitespace mode variables based on diff style (Bug#8612).
13149
5055880d
LL
131502012-04-25 Leo Liu <sdl.web@gmail.com>
13151
daf75653
LL
13152 * progmodes/python.el (python-send-region): Add suffix .py to the
13153 temp file.
13154
5055880d
LL
13155 * files.el (auto-mode-alist): Use javascript-mode instead.
13156
db9b177b
AH
131572012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13158
ef24141c 13159 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 13160
090bd7cb 13161 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 13162 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 13163 references, see Bug#9.
ef24141c 13164 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 13165 when receiving a fault reply.
ef24141c 13166 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 13167
090bd7cb 13168 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 13169 (soap-inspect-simple-type): New function.
db9b177b 13170
090bd7cb 13171 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 13172 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
13173 (soap-decode-basic-type, soap-encode-basic-type):
13174 support unsignedInt and double basic types.
db9b177b 13175 (soap-resolve-references-for-simple-type)
ef24141c
SM
13176 (soap-parse-simple-type, soap-encode-simple-type): New function.
13177 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 13178
090bd7cb 13179 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
13180 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13181 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13182 the local name of "soapenc:Array".
13183 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
13184 decoding integer, byte and anyURI xsd types.
13185
1fc6097b
CY
131862012-04-25 Chong Yidong <cyd@gnu.org>
13187
13188 * cus-edit.el (custom-buffer-create-internal): Update header text.
13189
afc6df87
EZ
131902012-04-25 Eli Zaretskii <eliz@gnu.org>
13191
13192 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13193 settings on 'system-type', not on 'window-system'. On MS-Windows,
13194 set interactive-mode on in GDB.
13195
dfbd787f
SM
131962012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13197
13198 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13199 (ruby-syntax-propertize-regexp): Remove.
13200 (ruby-syntax-propertize-function): Split regexp into chunks.
13201 Match following code directly.
13202
85222d44
DG
132032012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13204
51a8ea2a
DG
13205 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13206 (ruby-syntax-propertize-regexp): New function.
13207 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13208 by a special keyword.
13209
85222d44
DG
13210 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13211 (ruby-syntax-general-delimiters-goto-beg)
13212 (ruby-syntax-propertize-general-delimiters): New functions.
13213 (ruby-syntax-propertize-function): Use them to handle GDL.
13214 (ruby-font-lock-keywords): Move old handling of GDL...
13215 (ruby-font-lock-syntactic-keywords): .. to here.
13216 (ruby-calculate-indent): Adjust indentation for GDL.
13217
b613912b
MA
132182012-04-24 Michael Albinus <michael.albinus@gmx.de>
13219
b5380639
MA
13220 * notifications.el (top): Remove unneeded declarations.
13221 (notifications-specification-version): Change to "1.2".
e43042fe 13222 (notifications-interface, notifications-notify-method)
b613912b
MA
13223 (notifications-close-notification-method): Fix docstring.
13224 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
13225 (notifications-notify): Add :action-items, :resident and
13226 :transient hints. Change "image_data" to "image-data" and
13227 "image_path" to "image-path".
b613912b
MA
13228 (notifications-get-capabilities): New defun.
13229
257440aa
LL
132302012-04-24 Leo Liu <sdl.web@gmail.com>
13231
13232 * progmodes/python.el: Move hideshow setup to the end.
13233
b1bac16e
MR
132342012-04-24 Martin Rudalics <rudalics@gmx.at>
13235
13236 * window.el (handle-select-window): Clear echo area since this is
13237 no more done by read_char (Bug#11304).
13238
d81bd059
SM
132392012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13240
13241 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13242 and `/ M' to filter-derived-mode.
13243 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13244 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13245 (ibuffer-mark-by-mode): Use default rather than initial-input.
13246 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13247
c4cf6d91
IA
132482012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13249
13250 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13251 (ibuffer-filter-by-derived-mode): New filter.
13252 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13253
7511ded8
CY
132542012-04-23 Andreas Politz <politza@fh-trier.de>
13255
13256 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13257
775c916b
CY
132582012-04-23 Chong Yidong <cyd@gnu.org>
13259
13260 * cus-edit.el (customize-apropos, customize-apropos-options):
13261 Disable matching of non-option variables (Bug#11176).
13262 (customize-option, customize-option-other-window)
13263 (customize-changed-options): Doc fix.
13264 (customize-apropos-options, customize-apropos-faces)
13265 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13266
13267 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 13268 Fix word list splitting (Bug#11132).
46c71e23
CY
13269 (apropos-symbol, apropos-keybinding, apropos-label)
13270 (apropos-property, apropos-function-button)
13271 (apropos-variable-button, apropos-misc-button): New faces.
13272 (apropos-symbol-face, apropos-keybinding-face)
13273 (apropos-label-face, apropos-property-face, apropos-match-face):
13274 Variables removed (Bug#8396).
13275 (apropos-library-button, apropos-format-plist, apropos-print)
13276 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 13277
2df41f9c
MA
132782012-04-23 Michael Albinus <michael.albinus@gmx.de>
13279
13280 * net/xesam.el (xesam-mode-map): Use let-bound map in
13281 initialization. (Bug#11292)
13282
da00640a
AM
132832012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13284
13285 Preserve ispell session localwords when switching back to
13286 original buffer.
13287
090bd7cb
JB
13288 * textmodes/ispell.el (ispell-buffer-session-localwords):
13289 New buffer-local variable to hold buffer session localwords.
ed9265fc 13290 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
13291 localwords.
13292 (ispell-command-loop, ispell-change-dictionary)
13293 (ispell-buffer-local-words): Preserve session localwords when
13294 needed.
13295
090bd7cb
JB
13296 * textmodes/flyspell.el (flyspell-process-localwords)
13297 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 13298
f621ccf5
AM
132992012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13300
090bd7cb
JB
13301 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13302 using obsolete `translation-table-for-input'.
ef24141c
SM
13303 (ispell-word, ispell-process-line, ispell-complete-word):
13304 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 13305
c2d1019e
CY
133062012-04-22 Chong Yidong <cyd@gnu.org>
13307
13308 * cus-edit.el (custom-variable-menu)
13309 (custom-variable-reset-saved, custom-face-menu)
13310 (custom-face-reset-saved): If there is no saved value, make the
13311 "reset-saved" operation bring back the default (Bug#9509).
13312 (custom-face-state): Properly detect themed faces.
13313
eeddc531
CY
13314 * faces.el (face-spec-set): Stop supporting deprecated form of
13315 third arg.
13316
dcbf5805
MA
133172012-04-22 Michael Albinus <michael.albinus@gmx.de>
13318
13319 Move functions from C to Lisp. Make non-blocking method calls
13320 the default. Implement further D-Bus standard interfaces.
13321
ef24141c
SM
13322 * net/dbus.el (dbus-message-internal): Declare function.
13323 Remove unneeded function declarations.
dcbf5805
MA
13324 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13325 (dbus-message-type-method-return, dbus-message-type-error)
13326 (dbus-message-type-signal): Declare variables. Remove local
13327 definitions.
13328 (dbus-interface-dbus, dbus-interface-peer)
13329 (dbus-interface-introspectable, dbus-interface-properties)
13330 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13331 Adapt docstring.
13332 (dbus-interface-objectmanager): New defconst.
13333 (dbus-call-method, dbus-call-method-asynchronously)
13334 (dbus-send-signal, dbus-method-return-internal)
13335 (dbus-method-error-internal, dbus-register-service)
13336 (dbus-register-signal, dbus-register-method): New defuns, moved
13337 from dbusbind.c
13338 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
13339 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13340 New defuns.
dcbf5805
MA
13341 (dbus-call-method-non-blocking): Make it an obsolete function.
13342 (dbus-unregister-object, dbus-unregister-service)
13343 (dbus-handle-event, dbus-register-property)
13344 (dbus-property-handler): Obey the new structure of
13345 `bus-registered-objects'.
13346 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13347 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13348 Use `dbus-call-method'.
13349
cf20dee0
CY
133502012-04-22 Chong Yidong <cyd@gnu.org>
13351
13352 * cus-edit.el (custom-commands, custom-reset-menu)
13353 (Custom-reset-standard): Tweak labels.
13354 (custom-reset-button-menu): Change default to t.
13355 (custom-buffer-create-internal): For the custom-reset-button-menu
13356 case, put the revert button first.
13357 (custom-group-subtitle): New face.
13358 (custom-group-value-create): Align docstring to a specific column.
13359
13360 * wid-edit.el (widget-documentation-link-add): Don't handle
13361 indentation in this function.
13362 (widget-documentation-string-indent-to): New function.
13363 (widget-documentation-string-value-create): Use it.
13364
13365 * autorevert.el (auto-revert):
13366 * epg-config.el (epg):
13367 * ibuffer.el (ibuffer):
13368 * mpc.el (mpc):
13369 * ses.el (ses):
13370 * eshell/eshell.el (eshell):
13371 * net/ange-ftp.el (ange-ftp):
13372 * progmodes/ebnf2ps.el (postscript):
13373 * progmodes/flymake.el (flymake):
13374 * progmodes/prolog.el (prolog):
13375 * progmodes/verilog-mode.el (verilog-mode):
13376 * progmodes/which-func.el (which-func):
13377 * term/xterm.el (xterm):
13378 * textmodes/picture.el (picture):
13379 * textmodes/tildify.el (tildify):
13380 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13381 customization buffers.
13382
583e23bd
AM
133832012-04-22 Alan Mackenzie <acm@muc.de>
13384
13385 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13386 Adding a ) can hide the resulting (..) from searches. Fix it.
13387 Bound the backward search to the position of the existing (.
13388
7dd51bf1
JB
133892012-04-21 Juanma Barranquero <lekktu@gmail.com>
13390
13391 * progmodes/verilog-mode.el (verilog-mode): Check whether
13392 which-func-modes is t before adding verilog-mode.
13393 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13394
d64a438f
LL
133952012-04-21 Leo Liu <sdl.web@gmail.com>
13396
7dd51bf1 13397 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 13398
081e8d65
MV
133992012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13400
13401 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13402 filling of the last column of a table (Bug#5635).
13403 (woman-find-next-control-line): New arg, specifying an additional
13404 regexp component for the control line.
13405 (woman2-roff-buffer): Use it.
13406 (woman-break-table): New function.
13407 (woman2-TS): Use it.
13408
134092012-04-21 Chong Yidong <cyd@gnu.org>
13410
13411 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13412 (woman-horizontal-escapes, woman-negative-vertical-space)
13413 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13414 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13415
ed571ccb
SM
134162012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13417
13418 * minibuffer.el (completion-file-name-table): Complete user names.
13419
39773899
LL
134202012-04-20 Leo Liu <sdl.web@gmail.com>
13421
13422 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13423 and pcase-let*.
13424
de6ff46d
CY
134252012-04-20 Chong Yidong <cyd@gnu.org>
13426
13427 * server.el (server-execute): Respect initial-buffer-choice if it
13428 is a string and there are no files to open (Bug#2825).
13429 (server-create-window-system-frame, server-create-tty-frame):
13430 Don't switch buffers here.
2d0e8e61
CY
13431 (server-process-filter): Only try to open a window system frame if
13432 compiled with graphical support (Bug#8314).
de6ff46d 13433
54071013
DN
134342012-04-20 Dan Nicolaescu <dann@gnu.org>
13435
13436 * battery.el (battery-echo-area-format): Display remaining time
13437 for sysfs backend too (Bug#11269).
13438 (battery-linux-sysfs): Fix conditional for the charge.
13439
f30d612a
CY
134402012-04-20 Chong Yidong <cyd@gnu.org>
13441
c07a4c0b 13442 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
13443 (gdb-inferior-io--init-proc): New function.
13444 (gdb-init-1): Use it.
13445 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13446 responsible for allocating a new pty and hooking it to gdb when
13447 the old pty gets an EIO due to process exit.
13448 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13449 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13450 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13451
2116e93c
EZ
134522012-04-20 Eli Zaretskii <eliz@gnu.org>
13453
13454 * window.el (window-min-size, window-sizable, window-min-delta)
13455 (window-max-delta, window--resizable, window-resizable)
13456 (window-total-size, window-full-height-p, window-full-width-p)
13457 (window-in-direction, window--resize-mini-window, window-resize)
13458 (window--resize-child-windows-normal)
13459 (window--resize-child-windows, window--resize-siblings)
13460 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 13461 (enlarge-window, shrink-window): Doc fixes.
2116e93c 13462
c07a4c0b 134632012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 13464
ef24141c
SM
13465 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13466 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
13467 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13468 pty process (Bug#11273).
13469 (gdb-update): New arg to suppress talking to the gdb process.
13470 (gdb-done-or-error): Use it.
13471 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13472 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13473 sentinel not being called.
13474
13475 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13476
d02766ab
CY
13477 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13478
c07a4c0b 134792012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
13480
13481 * net/network-stream.el (open-network-stream): Doc fix.
13482
c07a4c0b 134832012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
13484
13485 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13486
c07a4c0b 134872012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
13488
13489 Ensure searching for keywords is case sensitive.
13490
13491 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13492 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13493 (c-defun-name, c-mark-function, c-cpp-define-name)
13494 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 13495 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 13496
ef24141c
SM
13497 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13498 Bind case-fold-search to nil.
f0f6bc35 13499
c07a4c0b 135002012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
13501
13502 * mail/sendmail.el (mail-bury): Call return action with the right
13503 Rmail buffer (Bug#11242).
13504
9a864fa2
CY
13505 * server.el (server-process-filter): Handle corner case where both
13506 tty and nowait options are present (Bug#11102).
13507
539aa513
EZ
135082012-04-20 Eli Zaretskii <eliz@gnu.org>
13509
13510 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
13511 (top level): Put into the executable the ident-style '$Id:' tag on
13512 windows-nt as well.
539aa513 13513
cfc7d5da
SM
135142012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13515
13516 * electric.el (electric-indent-post-self-insert-function): Check that
13517 electric-indent-mode is enabled in current buffer.
13518
5b01685c
JB
135192012-04-19 Juanma Barranquero <lekktu@gmail.com>
13520
13521 * imenu.el (imenu-progress-message): Restore; it is "used" in
13522 erc/erc-imenu.el and net/snmp-mode.el.
13523
4d6769e1
JB
135242012-04-19 Juanma Barranquero <lekktu@gmail.com>
13525
13526 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13527 (mouse-avoidance-nudge-mouse): Remove unused binding.
13528
13529 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13530
13531 * descr-text.el (describe-char):
13532 * progmodes/python.el (python-describe-symbol):
13533 Don't call `toggle-read-only', set `buffer-read-only'.
13534
13535 * imenu.el (imenu-default-goto-function): Mark unused args.
13536 (imenu-progress-message): Remove obsolete macro; all callers changed.
13537
13538 * subr.el (keymap-canonicalize): Remove unused binding.
13539 (read-passwd): Mark unused arg.
13540
13541 * tutorial.el (tutorial--display-changes): Remove unused binding.
13542 (tutorial--save-tutorial-to): Remove unused variable.
13543
13544 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13545 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13546 (package-generate-autoloads, package-menu--generate)
13547 (package-menu--find-upgrades): Remove unused bindings.
13548
13549 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13550 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13551 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13552 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13553 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13554 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13555 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13556 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13557 (cua-delete-char-rectangle): Mark unused args.
13558 (cua-align-rectangle): Remove unused binding.
13559
13560 * mail/rmail.el (compilation--message->loc)
13561 (epa--find-coding-system-for-mime-charset): Declare.
13562
13563 * net/dbus.el (dbus-register-service): Declare.
13564 (dbus-name-owner-changed-handler): Remove unused binding.
13565
13566 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13567 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13568 (nxml-scan-backward-within): Mark unused arg.
13569 (nxml-dynamic-markup-word): Remove unused binding.
13570
13571 * mouse.el (mouse-menu-major-mode-map):
13572 * emacs-lisp/authors.el (authors-scan-change-log)
13573 (authors-add-to-author-list):
13574 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13575 * emacs-lisp/smie.el (smie-auto-fill):
13576 * mail/sendmail.el (mail-bury):
13577 * mail/unrmail.el (unrmail):
13578 * net/tls.el (open-tls-stream):
13579 * textmodes/picture.el (picture-mouse-set-point):
13580 Remove unused bindings.
13581
8c8fc5df
MA
135822012-04-19 Michael Albinus <michael.albinus@gmx.de>
13583
13584 * net/tramp.el (tramp-action-password): Let-bind
13585 `enable-recursive-minibuffers' to t.
13586
a77b0ac9
SS
135872012-04-18 Sam Steingold <sds@gnu.org>
13588
13589 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13590 instead of 'string to accommodate values like [f11].
13591 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13592 * progmodes/gdb-mi.el: Likewise.
13593
12a106a9
LL
135942012-04-18 Leo Liu <sdl.web@gmail.com>
13595
13596 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13597 current buffer.
13598 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13599 LOCAL is nil.
13600
bc6494ef
CY
136012012-04-18 Chong Yidong <cyd@gnu.org>
13602
13603 * simple.el (line-move): Use forward-line if in batch mode
13604 (Bug#11053).
13605
c09c46b2
CS
136062012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13607
13608 * files.el (after-find-file): Do not try to add a final newline if
13609 the buffer is read-only (Bug#11156).
13610
5f6530ea
RS
136112012-04-17 Richard Stallman <rms@gnu.org>
13612
13613 * mail/rmail.el (rmail-start-mail):
13614 Pass (rmail-mail-return...) for the return-action.
13615 Pass (rmail-yank-current-message...) for the yank-action.
13616 (rmail-yank-current-message): New function.
13617 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13618 (rmail-reply): Likewise.
13619 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13620
13621 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 13622 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
13623 buffer, not newbuf.
13624
197b6f3c
JB
136252012-04-17 Juanma Barranquero <lekktu@gmail.com>
13626
13627 * server.el (server-ensure-safe-dir): Simplify.
13628
2311d8e5 136292012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 13630
2311d8e5
GM
13631 * emacs-lisp/smie.el: Provide smarter auto-filling.
13632 (smie-auto-fill): New function.
13633 (smie-setup): Use it.
98fb480e 13634
2311d8e5
GM
13635 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13636
136372012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
13638
13639 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13640 (comment-indent): Use it.
13641
2311d8e5 136422012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
13643
13644 * ses.el: The overall change is to add cell renaming, that is
13645 setting fancy names for cell symbols other than name matching
13646 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 13647 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 13648 (ses-create-cell-variable): New defun.
2311d8e5 13649 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
13650 (ses-relocate-formula): Relocate formulas only for cells the
13651 symbols of which are not renamed, i.e. symbols whose names do not
13652 match regexp "\\`[A-Z]+[0-9]+\\'".
13653 (ses-relocate-all): Relocate values only for cells the symbols of
13654 which are not renamed.
13655 (ses-load): Create cells variables as the (ses-cell ...) are read,
13656 in order to check row col consistency with cell symbol name only
13657 for cells that are not renamed.
13658 (ses-replace-name-in-formula): New defun.
13659 (ses-rename-cell): New defun.
4bdf2ad2 13660
fc72b15c
PO
136612012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13662
13663 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13664 New option (bug#11118).
13665 (perl-calculate-indent): Respect it.
13666
12e10e61
GM
136672012-04-17 Glenn Morris <rgm@gnu.org>
13668
13669 * dired-aux.el (dired-mark-read-string): Doc fix.
13670
30009afd
DA
136712012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13672
13673 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13674 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13675
41f03f4d
GM
136762012-04-17 Glenn Morris <rgm@gnu.org>
13677
13678 * mouse.el (mouse-drag-track):
13679 * speedbar.el (speedbar-frame-mode):
13680 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13681
f45f90f3
LL
136822012-04-16 Leo Liu <sdl.web@gmail.com>
13683
13684 * progmodes/python.el: Trivial cleanup.
13685
94ee8db5
GM
136862012-04-16 Glenn Morris <rgm@gnu.org>
13687
121b8917
GM
13688 * vc/vc.el (vc-string-prefix-p):
13689 * vc/pcvs-util.el (cvs-string-prefix-p):
13690 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13691 * mpc.el (mpc-string-prefix-p):
13692 Make all of these into obsolete aliases for string-prefix-p.
13693 Update callers.
13694 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13695
1197ecfa
GM
13696 * textmodes/two-column.el: Move custom options to the start.
13697 (frame-width): Remove compat definition.
13698 (2C-associate-buffer, 2C-dissociate):
13699 Use with-current-buffer rather than save-excursion.
13700 (2C-dissociate): Force a mode-line update.
13701 (2C-autoscroll): Use ignore-errors.
13702
099e7202
GM
13703 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13704 Autoload trivia.
13705
bf350d6a
GM
13706 * emacs-lisp/cl-extra.el (*random-state*):
13707 Remove unnecessary declaration.
13708
0e829eab
GM
13709 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13710
e3ad7552
GM
13711 * play/cookie1.el (cookie-snarf):
13712 Give an explicit error if input file cannot be read.
13713
68892d27
GM
13714 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13715
20f0c46d
GM
13716 * progmodes/perl-mode.el (c-macro-expand):
13717 Remove unnecessary autoload (it is in loaddefs.el).
13718
5a0978ce
GM
13719 * textmodes/picture.el (picture-desired-column)
13720 (picture-update-desired-column): Convert comments to doc-strings.
13721 (picture-substitute): Remove function.
13722 (picture-mode-map): Initialize in the defvar.
13723
6b955486
GM
13724 * woman.el: Remove eval-after-load for tar-mode.
13725 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13726 (woman-tar-extract-file): Autoload it.
13727
94ee8db5
GM
13728 * frame.el (automatic-hscrolling): Make this alias obsolete.
13729
177eca34
AM
137302012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13731
090bd7cb 13732 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 13733 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
13734 (ispell-dictionary-base-alist): Revert to original XEmacs
13735 friendly version for default. [:alpha:] will be added in
090bd7cb 13736 `ispell-set-spellchecker-params' if needed.
177eca34 13737
c505aaeb
CY
137382012-04-16 Chong Yidong <cyd@gnu.org>
13739
b19dd9d1 13740 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
13741 (imagemagick-register-types): Use it.
13742 (imagemagick-types-inhibit): Add :set function. Allow new value
13743 of t to inhibit all types.
13744
13745 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13746 so we can preload it.
13747
13748 * loadup.el (fboundp): Preload regexp-opt, needed by
13749 imagemagick-register-types.
13750
60efac0f
CY
137512012-04-15 Chong Yidong <cyd@gnu.org>
13752
13753 * frame.el (scrolling): Remove nearly unused customization group.
13754
13755 * scroll-all.el (scroll-all-mode): Move to windows group.
13756
5dd1713e
CY
137572012-04-15 Chong Yidong <cyd@gnu.org>
13758
13759 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13760
e6fd457e
CY
137612012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13762
13763 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 13764 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 13765
e153c136
GM
137662012-04-15 Glenn Morris <rgm@gnu.org>
13767
13768 * simple.el (process-file-side-effects): Doc fix.
13769
e6fd457e 137702012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
13771
13772 * international/mule-cmds.el (set-language-environment): Doc fix.
13773
3603c3b1
JB
137742012-04-14 Juanma Barranquero <lekktu@gmail.com>
13775
13776 * server.el (server-auth-key, server-generate-key): Doc fixes.
13777 (server-get-auth-key): Doc fix. Use `string-match-p'.
13778 (server-start): Reflow docstring.
13779
e6de100c
LI
137802012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13781
13782 * server.el (server-generate-key): `called-interactively-p'
13783 requires a parameter.
13784
29734c21
MN
137852012-04-14 Michal Nazarewicz <mina86@mina86.com>
13786
13787 * server.el (server-auth-key): New variable.
75f1671a 13788 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
13789 (server-start): Use the new variable and functions to allow
13790 setting a permanent server key (bug#9423).
13791
d65c9521
LL
137922012-04-14 Leo Liu <sdl.web@gmail.com>
13793
13794 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13795
5ae255c7
PE
137962012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13797
13798 Spelling fixes.
13799 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13800 Emacs uses American spelling.
13801
d5e6342e
JB
138022012-04-14 Juanma Barranquero <lekktu@gmail.com>
13803
13804 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13805 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13806 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13807 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13808
ab036cd7
SM
138092012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13810
13811 * progmodes/which-func.el (which-func-modes): Change default.
13812
35dc09a1 138132012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
13814
13815 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13816 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13817
35dc09a1 138182012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
13819
13820 * custom.el (custom-theme-set-variables): Doc fix.
13821
35dc09a1 138222012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
13823
13824 * international/mule.el (set-auto-coding-for-load): Doc fix.
13825
35dc09a1 138262012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 13827
35dc09a1
GM
13828 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13829 imenu work again for Objective C Mode. Correct the *-index values,
13830 these having been disturbed by a previous change in 2011-08.
57f845ee 13831
0de3da9f
AM
13832 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13833 Correct two search limits.
13834
35dc09a1 138352012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
13836
13837 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13838
35dc09a1 138392012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
13840
13841 * international/characters.el: Fix sorting.
13842
35dc09a1 138432012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
13844
13845 * international/characters.el: Add more missing Latin case pairs.
13846
35dc09a1 138472012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
13848
13849 * files.el (dir-locals-set-class-variables): Doc fix.
13850
35dc09a1 138512012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 13852
3f1b5bf8
EZ
13853 * international/characters.el: Add set-case-syntax-pair call for
13854 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13855 counterpart. (Bug#11209)
13856
9f847f41
EZ
13857 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13858
35dc09a1 138592012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
13860
13861 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13862
35dc09a1 138632012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 13864
35dc09a1
GM
13865 * textmodes/ispell.el (ispell-dictionary-base-alist):
13866 Add data for Hebrew.
e2627d21 13867
35dc09a1 138682012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 13869
35dc09a1
GM
13870 * net/rcirc.el (rcirc-cmd-quit):
13871 Revert 2012-03-18 change (Bug#11192).
5c14e333 13872
35dc09a1 138732012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
13874
13875 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13876
35dc09a1 138772012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 13878
4517fe3a
SM
13879 * minibuffer.el (completion-in-region-mode-map):
13880 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 13881
b472a594
VD
138822012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13883
13884 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13885
09b95ce3
MY
138862012-04-13 Masatake YAMATO <yamato@redhat.com>
13887
13888 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13889 to allow `C-M-f' and `C-M-b' to move to the nearest path
13890 separator (bug#9511).
13891
4b63a9ca
LI
138922012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13893
13894 * avoid.el: Require cl when compiling. And also move the
13895 `provide' to the end.
13896
7b55b8bf
TV
138972012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13898
13899 * avoid.el (mouse-avoidance-banish-position): New variable.
13900 (mouse-avoidance-banish-destination): Use it (bug#10165).
13901
adedaa1f
LL
139022012-04-13 Leo Liu <sdl.web@gmail.com>
13903
13904 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13905
70e74021
KB
139062012-04-13 Ken Brown <kbrown@cornell.edu>
13907
13908 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 13909 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
13910 (browse-url-filename-alist): For the same reason, don't modify
13911 file:// URLs on Cygwin.
13912
e75e89ba
SM
139132012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13914
13915 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13916 the region on shift if the binding is already shifted (bug#11221).
13917
82f289a4
GM
139182012-04-12 Glenn Morris <rgm@gnu.org>
13919
13920 * mail/mailpost.el: Move to obsolete/.
13921
d333dc4c
DA
139222012-04-12 Drew Adams <drew.adams@oracle.com>
13923
13924 * imenu.el (imenu--generic-function): Ignore invisible definitions
13925 (bug#10123).
13926
0d15b5ba
VD
139272012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13928
13929 * hexl.el (hexl-bits): New variable.
13930 (hexl-options): Mention the variable in the doc string.
75f1671a 13931 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 13932 (hexl-mode): Mention the new variable.
75f1671a
JB
13933 (hexl-mode, hexl-current-address, hexl-current-address):
13934 Use the displen.
0d15b5ba
VD
13935 (hexl-ascii-start-column): New function.
13936 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13937 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13938
64a440db
AM
139392012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13940
13941 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13942 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13943 the encoding, as expected by hunspell.
13944
6decb6c2
SM
139452012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13946
13947 * battery.el (battery--linux-sysfs-regexp): New const.
13948 (battery-status-function): Use it. Remove yeeloong special case.
13949 (battery-yeeloong-sysfs): Remove.
13950 (battery-echo-area-format): Remove yeeloong special case.
13951
088be6fb
SM
139522012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13953
6622e416
SM
13954 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13955 Reported by Noah Friedman.
13956
088be6fb
SM
13957 * subr.el (read-passwd): Use read-string.
13958
b49f886e
LMI
139592012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13960
13961 * vcursor.el (vcursor-move): Increase the priority of the overlay
13962 (bug#9663).
13963
a63067fc
DD
139642012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13965
13966 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13967 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13968
ac3cf14a
WS
139692012-04-11 William Stevenson <yhvh2000@gmail.com>
13970
13971 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13972 define-minor-mode (bug#10760).
13973
c4fc691b 139742012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 13975
4d6769e1 13976 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
13977 that directories matching `grep-find-ignored-files' won't be
13978 pruned (bug#10351).
13979
af23e2e5
CY
139802012-04-11 Chong Yidong <cyd@gnu.org>
13981
13982 * startup.el (command-line): Remove support for long-obsolete
13983 variable font-lock-face-attributes.
13984
ab7ce8c1
GM
139852012-04-11 Glenn Morris <rgm@gnu.org>
13986
13987 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13988
de8c03dc
SM
139892012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13990
13991 * window.el (window--state-get-1): Obey window-point-insertion-type.
13992
050cc68b
LB
139932012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13994
13995 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13996 to previous function when point is on the first character of a
75f1671a 13997 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 13998
a38c310c
GM
139992012-04-11 Glenn Morris <rgm@gnu.org>
14000
effed0c2
GM
14001 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14002 not just file-errors.
14003
a38c310c
GM
14004 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14005 (vc-bzr-sha1): Use internal sha1.
14006
0221e323
SM
140072012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14008
14009 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14010
43956923
SG
140112012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14012
14013 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14014 that start in the middle of the line (bug#10496).
14015
6a8c9eaf
DN
140162012-04-10 Dan Nicolaescu <dann@gnu.org>
14017
14018 * battery.el (battery-linux-proc-acpi): Only one battery is
14019 discharged at a time, but that seems to confuse battery.el when
14020 computing `rate-type' for the battery not being discharged
14021 (bug#10332).
14022
1930bf5d
SM
140232012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14024
2a718f6f
SM
14025 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14026
599430d0
SM
14027 * international/quail.el: Use dolist and simplify.
14028 (quail-define-package, quail-update-keyboard-layout)
14029 (quail-define-rules): Use dolist.
14030 (quail-insert-kbd-layout, quail-get-translation): CSE.
14031
a2754b6c
SM
14032 * tmm.el: Use dolist, remove left over hook.
14033 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14034 Use dolist.
14035 (calendar-load-hook): Don't mess with it.
14036
1930bf5d
SM
14037 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14038 Use derived-mode-p. Run the diff asynchronously.
14039
9f67961c
LMI
140402012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14041
14042 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14043
2a8ce227
JB
140442012-04-10 Juanma Barranquero <lekktu@gmail.com>
14045
14046 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14047 (list-dynamic-libraries--loaded): New function.
14048 (list-dynamic-libraries--refresh): Use it.
14049
8f33b5f8
NW
140502012-04-10 Nathan Weizenbaum <nweiz@google.com>
14051
1930bf5d
SM
14052 * progmodes/python.el (python-fill-paragraph):
14053 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
14054 disabled (bug#7018).
14055
b12f0439
L
140562012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14057
1930bf5d 14058 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
14059 DOS/MS Windows for the Baltic languages. There are still plenty
14060 of texts written in this encoding/codepage (bug#6519).
b12f0439 14061
57c3bd01
GM
140622012-04-10 Glenn Morris <rgm@gnu.org>
14063
14064 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14065 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14066
6c3eab30
FA
140672012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14068
1930bf5d 14069 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
14070 next-line "n" and previous-line "p" in order to make recentf more
14071 consistent with ibuffer, dired or org-mode (bug#9387).
14072
24d78a88
LMI
140732012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14074
bc72b5d9
LMI
14075 * image.el (put-image): Return the overlay created instead of the
14076 optional input string (bug#7834). Note that this may break code
14077 that is (for some reason or other) depending on `put-image'
14078 returning the string.
14079
bd2dba5a
LMI
14080 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14081
74beb59f
LMI
14082 * simple.el (zap-to-char): Allow zapping using input methods
14083 (bug#1580).
14084
24d78a88
LMI
14085 * textmodes/fill.el (fill-region): Leave point and mark where they
14086 were before filling (bug#5399).
14087
263f20cd
GM
140882012-04-09 Glenn Morris <rgm@gnu.org>
14089
14090 * version.el (emacs-bzr-get-version):
14091 Handle lightweight checkouts of local branches.
14092
58d1f797
AS
140932012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14094
263f20cd 14095 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 14096
b4d3bc10
CY
140972012-04-09 Chong Yidong <cyd@gnu.org>
14098
14099 * custom.el (custom-variable-p): Return nil for non-symbol
14100 arguments instead of signaling an error.
14101 (user-variable-p): Obsolete alias for custom-variable-p.
14102
14103 * apropos.el (apropos-variable):
14104 * files-x.el (read-file-local-variable):
14105 * simple.el (set-variable):
14106 * woman.el (woman-mini-help):
14107 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14108
fd06db5d
GM
141092012-04-09 Glenn Morris <rgm@gnu.org>
14110
e5fcdb5e
GM
14111 * startup.el (normal-top-level): Don't look for leim-list.el
14112 in places where it will not be found. (Bug#910)
14113
fd06db5d
GM
14114 * international/mule-cmds.el (set-default-coding-systems):
14115 * files.el (normal-mode):
14116 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14117 This function was removed with ucs-tables.el in 2008.
14118
b39bb7e1
EZ
141192012-04-08 Eli Zaretskii <eliz@gnu.org>
14120
14121 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14122 ispell-encoding8-command to "-i", without a trailing space.
14123 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14124 separate command-line arguments, to specify the encoding, since
14125 that's how hunspell expects it.
14126
5c5b8e23
GM
141272012-04-08 Glenn Morris <rgm@gnu.org>
14128
14129 * loadup.el: Load bindings before cus-start.
14130 This reduces somewhat the number of "rogue" settings in emacs -Q.
14131
a1ed8b05
GM
141322012-04-07 Glenn Morris <rgm@gnu.org>
14133
14134 * version.el (emacs-bzr-get-version): New function.
dfae128a 14135 (emacs-bzr-version): New variable.
a1ed8b05
GM
14136 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14137 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14138
b142f158
EZ
141392012-04-07 Eli Zaretskii <eliz@gnu.org>
14140
dfae128a
GM
14141 * international/uni-bidi.el, international/uni-category.el:
14142 * international/uni-combining.el, international/uni-decimal.el:
14143 * international/uni-decomposition.el, international/uni-digit.el:
14144 * international/uni-lowercase.el, international/uni-mirrored.el:
14145 * international/uni-name.el, international/uni-numeric.el:
14146 * international/uni-titlecase.el, international/uni-uppercase.el:
14147 Update for Unicode 6.1.
b142f158 14148
9078ead6
EZ
141492012-04-07 Eli Zaretskii <eliz@gnu.org>
14150
14151 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14152
f23d2c7d
LMI
141532012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14154
14155 * window.el (shrink-window): Mention the `window-min-height'
14156 variable in the doc string.
14157
0a0a3573
BG
141582012-04-05 Bastien Guerry <bzg@altern.org>
14159
14160 * color.el (color-lighten-name): Fix typo.
14161
e5248ac9
SM
141622012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14163
14164 * server.el (server--on-display-p): New function.
14165 (server--on-display-p): Use it.
14166
a8e4d516 141672012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
b4243e22
GV
14168
14169 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14170 (bug#11145).
14171
305d9f44
SM
141722012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14173
14174 * comint.el (comint--common-quoted-suffix): Check string boundary
14175 before comparing (bug#11158).
14176 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14177
3d439cd1
CY
141782012-04-04 Chong Yidong <cyd@gnu.org>
14179
321cc491
CY
14180 * minibuffer.el (completion-extra-properties): Doc fix.
14181
3d439cd1
CY
14182 * subr.el (delayed-warnings-hook): Doc fix.
14183
2d562c0f
DU
141842012-04-04 Daiki Ueno <ueno@unixuser.org>
14185
14186 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14187 selection (Bug#11159).
14188 (epa-insert-keys): Inform that the default public key will be
14189 exported if no key is selected.
14190
4443f204
RS
141912012-04-04 Richard Stallman <rms@gnu.org>
14192
14193 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14194
529c06b6
CY
141952012-04-03 Chong Yidong <cyd@gnu.org>
14196
14197 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14198 mail-insert-file, not its obsolete alias mail-attach-file.
14199
66b907dc
MA
142002012-04-03 Michael Albinus <michael.albinus@gmx.de>
14201
14202 * notifications.el (notifications-notify): Fix docstring.
14203
c0ea195d
GM
142042012-04-02 Glenn Morris <rgm@gnu.org>
14205
14206 * emacs-lisp/authors.el (authors-aliases): Another addition.
14207
5ca64e00
MA
142082012-04-02 Michael Albinus <michael.albinus@gmx.de>
14209
14210 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14211 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14212 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14213
42ee526b
CY
142142012-04-01 Chong Yidong <cyd@gnu.org>
14215
14216 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14217 Handle root directory properly.
14218 (copy-directory): Caller changed.
14219
14220 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14221 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14222
0b021094
GM
142232012-03-31 Glenn Morris <rgm@gnu.org>
14224
40f86458
GM
14225 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14226
7019c177
GM
14227 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14228
a1daddd6
GM
14229 * calendar/calendar.el (calendar-window-list)
14230 (calendar-hide-window): Restore. (Bug#11140)
14231 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14232
0b021094
GM
14233 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14234
40311efc
TV
142352012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14236
14237 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14238 Check if file is a symlink (Bug#10489).
14239
14240 * files.el (copy-directory): Likewise.
14241
5319014e
CY
142422012-03-30 Chong Yidong <cyd@gnu.org>
14243
14244 * image.el (imagemagick-types-inhibit)
14245 (imagemagick-register-types): Doc fix.
14246
935d1290
AM
142472012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14248
090bd7cb 14249 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 14250 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 14251 and treats ~word as ordinary words in pipe mode.
935d1290 14252
61c6e8fd
GM
142532012-03-30 Glenn Morris <rgm@gnu.org>
14254
14255 * tutorial.el (help-with-tutorial): Ensure local variables don't
14256 happen to make the buffer read-only. (Bug#11127)
14257
81fdff00
SM
142582012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14259
14260 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14261 (perl-calculate-indent): Return `noindent' in strings.
14262
6e7a6ec0
SS
142632012-03-28 Sam Steingold <sds@gnu.org>
14264
14265 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14266 instead of the broken adhockery which does not prevent calendar
14267 buffers from being displayed at random after exit.
14268 (calendar-window-list, calendar-hide-window): Remove the broken
14269 adhockery.
14270
fee88ca0
GM
142712012-03-28 Glenn Morris <rgm@gnu.org>
14272
14273 * replace.el (query-replace-map): Doc fix.
14274
38de3354
AS
142752012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14276
14277 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14278 contents. (Bug#11109)
14279
b973155e
SM
142802012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14281
14282 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14283 (bug#11077).
14284 (avl-tree--check, avl-tree--check-node): New funs.
14285
dcb6e7b3
MR
142862012-03-27 Martin Rudalics <rudalics@gmx.at>
14287
14288 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
14289 (switch-to-prev-buffer, switch-to-next-buffer):
14290 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
14291 showing a buffer already is done on the same frame.
14292
b4fa35fa
GM
142932012-03-27 Glenn Morris <rgm@gnu.org>
14294
14295 * startup.el (mail-host-address): Doc fix.
14296
f9210e18
SM
142972012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14298
14299 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14300 than 197 variables.
14301
c0bf7753
AF
143022012-03-26 Ami Fischman <ami@fischman.org>
14303
14304 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14305
33da7b16
GM
143062012-03-26 Glenn Morris <rgm@gnu.org>
14307
02243d9d
GM
14308 * files.el (save-buffers-kill-emacs): Doc fix.
14309
33da7b16
GM
14310 * startup.el (normal-top-level, command-line, command-line-1):
14311 Give them doc strings.
14312
e5a69fd0
EZ
143132012-03-25 Eli Zaretskii <eliz@gnu.org>
14314
14315 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 14316 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 14317
9a69676a
CY
143182012-03-25 Chong Yidong <cyd@gnu.org>
14319
4125cb8b
CY
14320 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14321 theme if it was previously enabled before (Bug#11031).
14322
dd470960
CY
14323 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14324 spec with custom-face-get-current-spec if its :shown-value is not
14325 determined yet (Bug#9337).
4125cb8b 14326 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 14327
9a69676a
CY
14328 * button.el (button-at): Minor addition to docstring.
14329
6e7e90fa
SL
143302012-03-24 Simon Leinen <simon.leinen@gmail.com>
14331
14332 * vc/vc.el (vc-merge): Fix a prompt.
14333
f06e2758
CY
143342012-03-24 Chong Yidong <cyd@gnu.org>
14335
14336 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14337 point (Bug#9623).
14338
6e7e90fa
SL
14339 * button.el (button-at): Minor addition to docstring.
14340
b9d0879b
SM
143412012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14342
14343 * newcomment.el (comment-choose-indent): No space after BOL.
14344
e71cebb3
SS
143452012-03-22 Sam Steingold <sds@gnu.org>
14346
14347 * window.el (switch-to-prev-buffer): Revert last patch because the
14348 bug turned out to be an advertised feature (Elisp manual 28.14).
14349
335aff35
GM
143502012-03-22 Glenn Morris <rgm@gnu.org>
14351
14352 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14353 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14354
c676576a
LMI
143552012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14356
14357 * net/network-stream.el (network-stream-open-starttls): Make error
14358 message under Windows be less misleading.
14359
126f3d39
LW
143602012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14361
14362 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14363 understands (bug#9942).
14364
64fee311
CY
143652012-03-22 Chong Yidong <cyd@gnu.org>
14366
14367 * simple.el (end-of-visible-line): Handle return value of
14368 next-single-property-change properly (Bug#9371).
14369
a640d29a
KH
143702012-03-22 Kenichi Handa <handa@m17n.org>
14371
14372 * international/quail.el (quail-insert-kbd-layout): Fix previous
14373 change. To avoid unwanted bidi reordering, use
14374 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14375
39675016
DG
143762012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14377
14378 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14379 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14380 (ruby-beginning-of-indent): Be more careful with the difference
14381 between word-boundary and symbol boundary.
14382 (ruby-mode-syntax-table): Make : a symbol constituent.
14383
0a6934fc 143842012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 14385
3d008e4f
SM
14386 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14387
0a6934fc
SM
143882012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14389
af67c9d7
SM
14390 * progmodes/etags.el (tags-completion-at-point-function):
14391 Improve last fix.
14392
1acad97c
SM
14393 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14394
e298b5da
SS
143952012-03-21 Sam Steingold <sds@gnu.org>
14396
14397 * progmodes/etags.el (tags-completion-at-point-function):
14398 Avoid the error when point is inside the pattern.
14399
91d82a70
JY
144002012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14401
14402 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14403 line (Bug#10855).
14404
69188b79
CY
144052012-03-21 Drew Adams <drew.adams@oracle.com>
14406
14407 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14408
99fc91fe
AK
144092012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14410
14411 * ido.el (ido-set-current-directory, ido-read-internal)
14412 (ido-choose-completion-string, ido-completion-help): Handle nil
14413 value of ido-completion-buffer (Bug#11008).
14414
087bbb4c
SS
144152012-03-21 Sam Steingold <sds@gnu.org>
14416
14417 * window.el (switch-to-prev-buffer): Do not switch to a visible
14418 window previous buffer, just like with the frame previous buffers.
14419
fb5b8aca
CY
144202012-03-21 Chong Yidong <cyd@gnu.org>
14421
14422 * faces.el (make-face, make-empty-face, copy-face):
14423 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14424 Doc fixes.
14425
dc9924b8
SM
144262012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14427
14428 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14429 (widget-complete): Remove broken use of it.
14430
f0bcceb9
CY
144312012-03-20 Chong Yidong <cyd@gnu.org>
14432
dc9924b8
SM
14433 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14434 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
14435 characters.
14436
ee52ebf3
TH
144372012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14438
14439 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14440 to draw rectangles, not squares. (Regression introduced by revno
14441 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14442
4c5779ab
CY
144432012-03-18 Chong Yidong <cyd@gnu.org>
14444
14445 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14446 it is not yet defined (for temacs).
14447
15360934
LL
144482012-03-18 Leo Liu <sdl.web@gmail.com>
14449
735135f9
PE
14450 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14451 prefix.
15360934 14452
d9a8eb66
EZ
144532012-03-17 Eli Zaretskii <eliz@gnu.org>
14454
14455 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14456 (ispell-choices-win-default-height, ispell-silently-savep)
14457 (ispell-dictionary-alist, ispell-encoding8-command)
14458 (ispell-check-version, ispell-aspell-find-dictionary)
14459 (ispell-valid-dictionary-list, ispell-words-keyword)
14460 (ispell-get-word, ispell-internal-change-dictionary)
14461 (ispell-region, ispell-skip-region-list)
14462 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14463 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14464 (ispell-message-text-end, ispell-message)
14465 (ispell-buffer-local-parsing): Doc fix.
14466
f02ff80d
J
144672012-03-13 Jambunathan K <kjambunathan@gmail.com>
14468
14469 * htmlfontify.el: Add support for code block fontification for ODT
14470 export (Bug #9914).
14471 (hfy-optimisations): Define new option
14472 `body-text-only'
14473 (hfy-fontify-buffer): Honor above setting.
14474 (hfy-begin-span, hfy-end-span): New routines factored out form
14475 `hfy-fontify-buffer'.
14476 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14477 that permit insertion of custom tags.
14478 (hfy-fontify-buffer): Use above handlers.
14479 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14480 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 14481 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 14482 over multiple runs. This is made possible by having the caller let
f02ff80d
J
14483 bind a special variable `hfy-user-sheet-assoc'.
14484 (htmlfontify-string): New defun.
14485 (hfy-compile-face-map): Make sure that the last char in the
14486 buffer is correctly fontified.
14487 (hfy-face-resolve-face): Whitespace only change.
14488
9ac7a13f
EZ
144892012-03-17 Eli Zaretskii <eliz@gnu.org>
14490
14491 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14492 message more clear.
14493
e2b5bdd7
LL
144942012-03-16 Leo Liu <sdl.web@gmail.com>
14495
14496 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14497
2e492df3
AM
144982012-03-16 Alan Mackenzie <acm@muc.de>
14499
677d5c92 14500 Further optimize the handling of large macros.
2e492df3
AM
14501
14502 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14503 limit to a call of `c-literal-limits'.
14504 (c-determine-+ve-limit): New function.
dc9924b8
SM
14505 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14506 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
14507 In CASE 5B, restrict a search limit to 500.
14508 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14509
14510 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14511 Restrict macro bounds to +-500 from after-change's BEG END.
14512
50e94f0c
LL
145132012-03-16 Leo Liu <sdl.web@gmail.com>
14514
14515 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14516
6f09f6ed
AH
145172012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14518
14519 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 14520 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 14521
c7e73d51
GM
145222012-03-16 Glenn Morris <rgm@gnu.org>
14523
da986230
GM
14524 * view.el (view-buffer, view-buffer-other-window)
14525 (view-buffer-other-frame): Doc fixes re special mode-class.
14526
0835f01e
GM
14527 * subr.el (eval-after-load): If named feature is provided not from
14528 a file, run after-load forms. (Bug#10946)
14529
c7e73d51
GM
14530 * calendar/calendar.el (calendar-insert-at-column):
14531 Handle non-unit-width characters a bit better. (Bug#10978)
14532
3f2eafd1
CY
145332012-03-15 Chong Yidong <cyd@gnu.org>
14534
14535 * emacs-lisp/ring.el (ring-extend): New function.
14536 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14537
14538 * comint.el (comint-read-input-ring)
14539 (comint-add-to-input-history): Grow comint-input-ring lazily.
14540
103af3fe
SM
145412012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14542
663b1677
SM
14543 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14544 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14545
103af3fe
SM
14546 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14547 (imenu-add-to-menubar): Don't add a redundant index.
14548 (imenu-update-menubar): Handle a dynamically composed keymap.
14549
899cb7cb
KY
145502012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14551
14552 * mail/sendmail.el (mail-encode-header):
14553 Bind rfc2047-encode-encoded-words to nil.
14554
3809f91d
GM
145552012-03-13 Glenn Morris <rgm@gnu.org>
14556
14557 * calendar/calendar.el (calendar-string-spread):
14558 Handle non-unit-width characters a bit better. (Bug#10978)
14559
9e345a01
LL
145602012-03-13 Leo Liu <sdl.web@gmail.com>
14561
14562 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14563 directory and file as argument (Bug#10822).
14564
4a07df36
KS
145652012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14566
14567 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14568 For dynamically generated code, follow $PC.
14569 (gdb-disassembly-handler-custom): Handle no function name case.
14570
4aaa9356
TL
145712012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14572
14573 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14574 * emulation/ws-mode.el (ws-query-replace):
14575 * sort.el (sort-regexp-fields):
14576 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14577
225979da
SM
145782012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14579
14580 * dabbrev.el: Fix cycle completion order (bug#10963).
14581 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14582 (dabbrev-completion): Don't use an obarray; provide
14583 a cycle-sort-function.
14584
e2f1fdab
LL
145852012-03-12 Leo Liu <sdl.web@gmail.com>
14586
dc9924b8 14587 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
14588 (kill-do-not-save-duplicates): Doc fix.
14589
b19490ed
SM
145902012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14591
14592 * dabbrev.el: Fix cycle completion (bug#10963).
14593 Use lexical binding and wrap to 80 columns.
14594 (dabbrev-completion): Delay computing the list of completions.
14595
4b05d722
KH
145962012-03-12 Kenichi Handa <handa@m17n.org>
14597
14598 * international/quail.el (quail-insert-kbd-layout): Surround each
14599 row by LRO and PDF instead of inserting many LRMs. Pad the left
14600 and right of each non-spacing marks. Insert invisible space
14601 between lower and upper characters to prevent composition.
14602
dbbc2e69
SM
146032012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14604
14605 * minibuffer.el (minibuffer-complete): Don't get confused when the
14606 function is run twice via different commands (bug#10958).
14607 (complete-with-action): Fix docstring.
14608
292112ed
CY
146092012-03-12 Chong Yidong <cyd@gnu.org>
14610
5d1ac394
CY
14611 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14612 (nxml-completion-at-point-function): New function.
14613 (nxml-mode): Use it.
14614 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14615
292112ed
CY
14616 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14617 Load generated autoloads file before byte compiling (Bug#10970).
14618 (package--make-autoloads-and-compile): New helper fun.
14619
4098f8f7
CS
146202012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14621
14622 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14623
8f754691
MA
146242012-03-11 Michael Albinus <michael.albinus@gmx.de>
14625
14626 * autorevert.el (auto-revert-handler): Ensure, that
14627 file-readable-p is applied only for local files or in
14628 auto-revert-tail-mode.
14629
e29ab36b
AS
146302012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14631
dbbc2e69
SM
14632 * server.el (server-eval-at): Handle non-tcp connections.
14633 Decode result string.
ad0bf5b6 14634
e29ab36b
AS
14635 * server.el (server-msg-size): New constant.
14636 (server-reply-print): New function.
14637 (server-eval-and-print): Use it.
14638 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14639 Handle -print-nonl.
14640
de5939ba
CS
146412012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14642
14643 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14644 (Bug#10987).
14645
0c93eabf
CY
146462012-03-11 Chong Yidong <cyd@gnu.org>
14647
397a688f
CY
14648 * simple.el (goto-line): Doc fix (Bug#9938).
14649
2cc775f9
CY
14650 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14651
0c93eabf
CY
14652 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14653 when finished (Bug#10963).
14654
c491fa41
MR
146552012-03-11 Martin Rudalics <rudalics@gmx.at>
14656
14657 * window.el (split-window-below): Fix bug in case where
14658 split-window-keep-point is nil (Bug#10971).
14659
300e8fa5
JL
146602012-03-11 Juri Linkov <juri@jurta.org>
14661
14662 * replace.el (replace-highlight): Set isearch-word to nil
14663 unconditionally. (Bug#10887)
14664
dbf6c5a1
EZ
146652012-03-10 Eli Zaretskii <eliz@gnu.org>
14666
14667 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14668 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 14669 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
14670 (mairix-widget-create-query): Add usage information about mairix
14671 search forms: negating words, searching for substrings, etc.
14672
b9e501de
JP
146732012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14674
14675 * international/fontset.el (font-encoding-alist): Add an entry for
14676 ksx1001 (Bug#5667).
14677
92795c91
RS
146782012-03-10 Richard Stallman <rms@gnu.org>
14679
1694e6c1
RS
14680 * mail/sendmail.el (mail-encode-header):
14681 Set rfc2047-encode-encoded-words.
14682
607e8555
RS
14683 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14684
de3bc99a
RS
14685 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14686 view buffer means not swapped.
14687 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14688 (rmail-write-region-annotate): Error if real text has disappeared.
14689
92795c91
RS
14690 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14691
699bd04e
CY
146922012-03-10 Chong Yidong <cyd@gnu.org>
14693
14694 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
14695 * emulation/cua-base.el (cua--init-keymaps):
14696 Add delete-forward-char to remappings (Bug#9666).
699bd04e 14697
570a1714
MR
146982012-03-10 Martin Rudalics <rudalics@gmx.at>
14699
dbbc2e69
SM
14700 * speedbar.el (speedbar-unhighlight-one-tag-line):
14701 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 14702
82dcf4e4
CY
147032012-03-10 Chong Yidong <cyd@gnu.org>
14704
7a2c7ca7
CY
14705 * minibuffer.el (completion-in-region, completion-help-at-point):
14706 Give the completion field overlay a high priority (Bug#6830).
14707
82dcf4e4
CY
14708 * dired.el (dired-goto-file): Recognize absolute file name
14709 listings (Bug#7126).
14710 (dired-goto-file-1): New helper function.
14711 (dired-toggle-read-only): Inhibit warnings.
14712
052e28ac
MA
147132012-03-09 Michael Albinus <michael.albinus@gmx.de>
14714
75f1671a 14715 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
14716 there are no properties.
14717
95d5e396
LL
147182012-03-09 Leo Liu <sdl.web@gmail.com>
14719
14720 * savehist.el (savehist-printable): Stricter check for string
14721 value (Bug#10937).
14722
3f018d6d
EZ
147232012-03-09 Eli Zaretskii <eliz@gnu.org>
14724
dbbc2e69
SM
14725 * mail/smtpmail.el (smtpmail-send-it):
14726 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
14727 valid mbox format.
14728
f7fd3d79
GM
147292012-03-09 Glenn Morris <rgm@gnu.org>
14730
14731 * files.el (dir-locals-find-file):
14732 Don't check result is regular, readable.
14733 (dir-locals-read-from-file): Demote errors.
14734
6ff6e72f
EZ
147352012-03-08 Eli Zaretskii <eliz@gnu.org>
14736
dbbc2e69
SM
14737 * international/quail.el (quail-insert-kbd-layout):
14738 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
14739 layout cell, to prevent their reordering by bidi display engine.
14740 For details, see the discussion in
14741 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14742
9cec7834
AM
147432012-03-08 Alan Mackenzie <acm@muc.de>
14744
14745 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14746 the starting position; make it extend the marked region when
14747 invoked repeatedly - all under appropriate circumstances.
14748 Fixes bugs #5525, #10906.
14749
9a40b8d4
GM
147502012-03-08 Glenn Morris <rgm@gnu.org>
14751
14752 * files.el (locate-dominating-file, dir-locals-find-file):
14753 Undo 2012-03-06 change.
14754
7a08ed35
EZ
147552012-03-07 Eli Zaretskii <eliz@gnu.org>
14756
dbbc2e69
SM
14757 * international/quail.el (quail-help):
14758 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
14759 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14760 for the reason.
14761
5aca4f71 147622012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
14763
14764 Avoid superfluous registering of signals. (Bug#10807)
14765
14766 * notifications.el (notifications-on-action-object)
14767 (notifications-on-close-object): New defvars.
14768 (notifications-on-action-signal, notifications-on-closed-signal):
14769 Unregister the signal if not needed any longer.
14770 (notifications-notify): Register `notifications-action-signal' or
14771 `notifications-closed-signal', if :on-action or :on-close has been
14772 passed as argument.
14773
78e8b10a
CY
147742012-03-07 Chong Yidong <cyd@gnu.org>
14775
14776 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14777 non-X platforms.
14778
69481eb8
GM
147792012-03-06 Glenn Morris <rgm@gnu.org>
14780
14781 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14782 (x-disown-selection-internal, x-get-selection-internal):
14783 Doc fix (add arglist signatures). (Bug#10783)
14784
133b8e11
KS
147852012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14786
14787 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14788 Handle breakpoints with no "type".
14789
99a83064
GM
147902012-03-06 Glenn Morris <rgm@gnu.org>
14791
14792 * files.el (locate-dominating-file): Add optional predicate argument.
14793 (dir-locals-find-file): Make use of above change.
14794
17798e78
TTN
147952012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14796
14797 * info.el (Info-insert-dir): Also try "dir.gz".
14798
eb182446
GM
147992012-03-06 Glenn Morris <rgm@gnu.org>
14800
8f2114ee
GM
14801 * files.el (dir-locals-find-file):
14802 Ignore non-readable or non-regular files. (Bug#10928)
14803
eb182446
GM
14804 * files.el (locate-dominating-file): Doc fix.
14805
24679323
AS
148062012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14807
14808 * calendar/calendar.el (calendar-set-mode-line):
14809 `getenv' returns a string. (Bug#10951)
14810
01d972a9
LL
148112012-03-05 Leo Liu <sdl.web@gmail.com>
14812
109aa8a9
LL
14813 * simple.el (backward-delete-char-untabify): Constrain point to
14814 field (Bug#10939).
14815
01d972a9
LL
14816 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14817
10607bea
CY
148182012-03-05 Chong Yidong <cyd@gnu.org>
14819
14820 * simple.el (count-words): If called from Lisp, return the word
14821 count, for symmetry with `count-lines'. Arglist changed.
14822 (count-words--message): Args changed. Consolidate counting code
14823 from count-words and count-words-region.
14824 (count-words-region): Caller changed.
14825 (count-lines-region): Make it an obsolete alias.
14826
5dd11cfe
TH
148272012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14828
14829 * saveplace.el (save-place-to-alist)
14830 (save-place-ignore-files-regexp): Allow value nil to disable this
14831 feature.
14832
c349f4e6
CY
148332012-03-04 Chong Yidong <cyd@gnu.org>
14834
14835 * faces.el (face-spec-reset-face): For the default face, reset the
14836 attributes to default values (Bug#10748).
14837
e627be4c
LMI
148382012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14839
14840 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14841 previous patch: Check `message-send-mail-function', and not the
14842 default function (bug#10897).
14843
ebeabff4
MA
148442012-03-04 Michael Albinus <michael.albinus@gmx.de>
14845
a41a6cf4
MA
14846 * notifications.el (notifications-on-action-signal)
14847 (notifications-on-closed-signal): Check for unique service name of
14848 incoming event. Fix error in removing entry.
ebeabff4 14849 (top): Register for signals with wildcard service name.
a41a6cf4 14850 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 14851
c1ca42b4
CY
148522012-03-04 Chong Yidong <cyd@gnu.org>
14853
dc9924b8 14854 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 14855
ea16568d
GM
148562012-03-04 Glenn Morris <rgm@gnu.org>
14857
14858 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14859 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14860 (expand-abbrev, define-abbrev-table): Doc fixes.
14861
fbae4637
LMI
148622012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14863
14864 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14865 `message-default-send-mail-function' and not `send-mail-function'
14866 when doing the prompting for `sendmail-query-once' before sending
14867 in Message buffers (bug#10897).
14868
a1e7225c
LMI
14869 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14870 This is inconsistent with all the other stream functions, which leave
14871 the setting up to the higher levels (if so wanted) (bug#10931).
14872
56d093a9
AM
148732012-03-02 Alan Mackenzie <acm@muc.de>
14874
14875 Depessimize the handling of very large macros.
14876
14877 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14878 (c-macro-cache-syntactic): New variables to implement a one
14879 element macro cache.
14880 (c-invalidate-macro-cache): New function.
14881 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14882 Adapt to use the new cache.
14883 (c-state-safe-place): Use better the cache of safe positions.
14884 (c-state-semi-nonlit-pos-cache)
14885 (c-state-semi-nonlit-pos-cache-limit):
14886 New variables for...
14887 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14888 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
14889 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14890 Use c-state-semi-safe-place.
56d093a9 14891
dbbc2e69
SM
14892 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14893 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 14894
817e5c3d
MA
148952012-03-02 Michael Albinus <michael.albinus@gmx.de>
14896
dbbc2e69
SM
14897 * jka-compr.el (jka-compr-call-process):
14898 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
14899 not remote.
14900
a032a702
MA
149012012-03-01 Michael Albinus <michael.albinus@gmx.de>
14902
14903 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14904 access of FILE2, if FILE1 does not exist.
14905
99a54f21
MA
14906 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14907 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14908
14909 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14910 Add "PAGER=" to `process-environment'.
14911
f6561e1f
MM
149122012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14913
14914 * progmodes/sql.el: Bug fix
14915 (sql-get-login-ext): Save login values in globals.
14916 (sql-get-login): Use new version of `sql-get-login-ext'.
14917 (sql-interactive-mode): Set global `sql-connection' to nil.
14918 (sql-connect): Set global values for connection.
14919 (sql-product-interactive): Save global values as buffer local.
14920
2d44d9cc
LL
149212012-02-29 Leo Liu <sdl.web@gmail.com>
14922
14923 * abbrev.el (define-abbrevs): Reset sys to nil.
14924
96b49301 149252012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14926
bf7f9bc5
JB
14927 * files.el (file-equal-p): Rename from `files-equal-p'.
14928 Return nil when one or both files don't exist.
96b49301 14929 (file-subdir-of-p): Now only top directory must exists,
14930 return nil if it doesn't.
bf7f9bc5
JB
14931 (copy-directory): No need to test with `file-subdir-of-p' after
14932 creating dir.
14933 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14934 to `file-equal-p'.
96b49301 14935
44e97401
GM
149362012-02-28 Glenn Morris <rgm@gnu.org>
14937
14938 * shell.el (shell-mode):
14939 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14940 * play/landmark.el (landmark-font-lock-face-O):
14941 * play/handwrite.el (handwrite):
14942 * play/gomoku.el (gomoku-O):
14943 * net/browse-url.el (browse-url-browser-display):
14944 * international/mule.el (define-charset):
14945 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14946 * filesets.el (filesets-find-file-delay):
14947 * eshell/em-xtra.el (eshell-xtra):
14948 * eshell/em-unix.el (eshell-grep):
14949 * emulation/viper.el (viper-mode):
14950 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14951 * emacs-lisp/easymenu.el (easy-menu-define):
14952 * calendar/timeclock.el (timeclock-use-display-time):
14953 * bs.el (bs-mode):
14954 * bookmark.el (bookmark-save-flag):
14955 Doc fix (standardize possessive apostrophe usage).
14956
c98c6276
CY
149572012-02-27 Chong Yidong <cyd@gnu.org>
14958
bf7f9bc5
JB
14959 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14960 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 14961
c98c6276
CY
14962 * font-lock.el (font-lock-specified-p): Rename from
14963 font-lock-spec-present. Callers changed.
14964
9c62cd04 149652012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 14966
bf7f9bc5
JB
14967 * emacs-lisp/package.el (package-compute-transaction):
14968 Handle holding a package version to t in package-load-list.
8ac9e529 14969
530739c9
MA
149702012-02-26 Michael Albinus <michael.albinus@gmx.de>
14971
14972 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14973 (tramp-get-inode, tramp-get-device): Use cached values.
14974
487915d7
AM
149752012-02-26 Alan Mackenzie <acm@muc.de>
14976
14977 Check there is a font-lock specification before doing initial
14978 fontification.
14979
14980 * font-core.el (font-lock-mode): Move the conditional from
14981 :after-hook to font-lock-initial-fontify.
14982 (font-lock-default-function): Move the check for a specification
14983 to font-lock-spec-present.
14984
dc9924b8 14985 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
14986 (font-lock-spec-present): New function.
14987
4fd96557
JB
149882012-02-26 Jim Blandy <jimb@red-bean.com>
14989
14990 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14991 (gdb-send): Apply it to the operand of the '-interpreter-exec
14992 console' command, so that we can pass arguments with (say) quotes
14993 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14994
9a4888c0
CY
149952012-02-26 Chong Yidong <cyd@gnu.org>
14996
07498861
CY
14997 * help-fns.el (describe-function-1): Clarify description of
14998 remapping (Bug#10844).
14999
9a4888c0
CY
15000 * files.el (files-equal-p): Doc fix.
15001 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15002 and quit the loop once a mismatch is found.
15003
ea8fb88d
JB
150042012-02-25 Juanma Barranquero <lekktu@gmail.com>
15005
15006 * bs.el (bs--show-with-configuration): Don't throw an error
15007 if the window cannot be split; otherwise, subsequent calls to
15008 bs-show fail, restoring a stale window config. (Bug#10882)
15009
525795c1
JD
150102012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15011
15012 * term/ns-win.el (global-map): Bind ns-drag-file to
15013 ns-find-file (Bug#5855, Bug#10050).
15014
f008086f
AS
150152012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15016
15017 * calendar/parse-time.el (parse-time-string): Allow extractor to
15018 return nil.
15019
a3fcfa99
MA
150202012-02-25 Michael Albinus <michael.albinus@gmx.de>
15021
91027d08
JB
15022 * net/tramp.el (tramp-file-name-for-operation):
15023 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
15024
15025 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
15026 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15027 Add COPY-CONTENTS argument.
a3fcfa99 15028
67b0de11
CY
150292012-02-25 Chong Yidong <cyd@gnu.org>
15030
15031 Add custom groups for VC backends, for consistency with vc-bzr.
15032
15033 * vc/vc-arch.el (vc-arch):
15034 * vc/vc-cvs.el (vc-cvs):
15035 * vc/vc-git.el (vc-git):
15036 * vc/vc-hg.el (vc-hg):
15037 * vc/vc-mtn.el (vc-mtn):
15038 * vc/vc-rcs.el (vc-rcs):
15039 * vc/vc-sccs.el (vc-sccs):
15040 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15041 All relevant defcustoms reassigned.
15042
3c9dfce6
CY
150432012-02-25 Chong Yidong <cyd@gnu.org>
15044
1339bf43
CY
15045 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15046
3c9dfce6
CY
15047 * term/x-win.el (x-initialize-window-system): Reduce default for
15048 x-selection-timeout to 5 seconds (Bug#8869).
15049
25b2e303 150502012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15051
ec70a47d
GM
15052 * files.el (files-equal-p, file-subdir-of-p): New functions.
15053 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 15054 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
15055 * dired-aux.el (dired-copy-file-recursive): Same.
15056 (dired-create-files): Modify destination when source is equal to
15057 dest when copying files.
53a46cd0 15058 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 15059
914260cd
MA
150602012-02-24 Michael Albinus <michael.albinus@gmx.de>
15061
15062 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15063 (Bug#10874)
15064
2cb228f7
AM
150652012-02-23 Alan Mackenzie <acm@muc.de>
15066
15067 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15068 parameter "after-hook:" to allow the expansion to run code after
15069 the execution of the mode hooks.
15070
15071 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 15072 from font-lock-mode-internal.
2cb228f7 15073
91027d08 15074 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
15075 :after-hook.
15076
8f0fde21
SM
150772012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15078
3e88618b
SM
15079 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15080 (completion--cache-all-sorted-completions): New function.
15081 (completion-all-sorted-completions): Use it.
15082 (completion--do-completion, minibuffer-force-complete):
15083 Use it to re-instate the flush hook.
15084
8f0fde21
SM
15085 * icomplete.el (icomplete-completions): Replace last fix with a better
15086 one (bug#10850).
15087
8e911f6f
DG
150882012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15089
15090 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15091 when it might call us back infinitely (bug#10797).
15092
49fe4321
GM
150932012-02-23 Glenn Morris <rgm@gnu.org>
15094
15095 * minibuffer.el (completion-category-overrides): Doc fix.
15096
b291b572
SM
150972012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15098
15099 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15100 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15101
31a9ef2e
GM
151022012-02-23 Glenn Morris <rgm@gnu.org>
15103
5e6e6794 15104 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
15105 (authors-obsolete-files-regexps, authors-ignored-files)
15106 (authors-ambiguous-files, authors-renamed-files-alist):
15107 Add more entries.
15108
0bd1e074
JL
151092012-02-23 Juri Linkov <juri@jurta.org>
15110
15111 * isearch.el (isearch-occur): Sync interactive spec with occur's
15112 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15113
b617673c
JL
15114 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15115
19e9789e
JL
151162012-02-22 Juri Linkov <juri@jurta.org>
15117
15118 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15119 (ucs-insert): Doc fix. Check for hex digits in the string.
15120 Don't display `nil' in the error message. (Bug#10857)
15121
f41ce09d
AM
151222012-02-22 Alan Mackenzie <acm@muc.de>
15123
7a71b18d 15124 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 15125
ac2eceee
GM
151262012-02-22 Glenn Morris <rgm@gnu.org>
15127
15128 * ffap.el (ffap-c-path):
15129 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15130
abd1f678
CY
151312012-02-22 Chong Yidong <cyd@gnu.org>
15132
15133 * custom.el (load-theme): Doc fix.
15134
f25aef2e
GM
151352012-02-22 Glenn Morris <rgm@gnu.org>
15136
15137 * dired-x.el (dired-guess-shell-alist-default):
15138 Remove escape sequences from nroff output. (Bug#172)
15139
5f8dc2ca
GM
151402012-02-21 Glenn Morris <rgm@gnu.org>
15141
6ff86ec4
GM
15142 * vc/emerge.el (emerge-defvar-local):
15143 Set `permanent-local' property rather than unused `preserved'.
15144
be3223a3 15145 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
15146 (picture-mode-map): Use it. (Bug#10860)
15147 (picture-mode): Doc fix.
15148
3fe58f4f
JB
151492012-02-21 Juanma Barranquero <lekktu@gmail.com>
15150
15151 * newcomment.el (uncomment-region-default): Remove unused binding.
15152
f9a998c3
GM
151532012-02-21 Glenn Morris <rgm@gnu.org>
15154
15155 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15156 (picture-self-insert, picture-tab-chars): Doc fix.
15157 (picture-mode-map): Fix C-a, C-e.
15158
c6029348
GM
151592012-02-20 Glenn Morris <rgm@gnu.org>
15160
15161 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15162
ab1ce9d7
LL
151632012-02-20 Leo Liu <sdl.web@gmail.com>
15164
15165 * icomplete.el (icomplete-completions): Check FROM arg before
15166 passing to substring (Bug#10850).
15167
0fd40f89
CY
151682012-02-19 Chong Yidong <cyd@gnu.org>
15169
15170 * comint.el: Require ansi-color.
15171 (comint-output-filter-functions): Add ansi-color-process-output.
15172
15173 * ansi-color.el: Don't set comint-output-filter-functions; it is
15174 now in the initial value defined in comint.el.
15175 (ansi-color-apply-face-function): New variable.
15176 (ansi-color-apply-on-region): Use it.
15177 (ansi-color-apply-overlay-face): New function.
15178
15179 * shell.el (shell): No need to require ansi-color.
15180 (shell-mode): Use ansi-color-apply-face-function to highlight
15181 color escapes using font-lock-face property (Bug#10835).
15182
20af2394
CY
151832012-02-19 Chong Yidong <cyd@gnu.org>
15184
15185 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15186 mode-line formats (Bug#10839).
15187
e23a3fbe
GM
151882012-02-18 Glenn Morris <rgm@gnu.org>
15189
b474519e
GM
15190 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15191
15192 * mail/undigest.el (unforward-rmail-message): Doc fix.
15193
e23a3fbe
GM
15194 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15195
57939ff4
EZ
151962012-02-18 Eli Zaretskii <eliz@gnu.org>
15197
15198 * international/characters.el (script-list): Sync with the latest
15199 Unicode Character Database.
15200
0c23686e
AS
152012012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15202
15203 * international/titdic-cnv.el: Remove duplicate coding tag.
15204 * language/cham.el: Likewise.
15205 * language/tai-viet.el: Likewise.
15206
6818b449
GM
152072012-02-18 Glenn Morris <rgm@gnu.org>
15208
15209 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15210 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15211 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15212 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15213 * calendar/holidays.el (holiday-bahai-holidays)
15214 (calendar-holidays, list-holidays):
15215 Use utf-8 Bahá'í in doc-strings, menus, etc.
15216
0311a3fc
TH
152172012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15218
15219 * saveplace.el (save-place-ignore-files-regexp): New variable
15220 allowing for excluding files from saving their location of point.
15221 The default value matches the temporary commit message editing
15222 files from Git, SVN, Bazaar, and Mercurial.
15223 (save-place-to-alist): Use it.
15224
d209e2fb 152252012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 15226 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
15227
15228 * newcomment.el (uncomment-region-default): Don't leave extra space
15229 when an arg is provided (bug#8150).
15230
ee0ce425
TZ
152312012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15232
eb864a71 15233 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 15234
95ddf442
GM
152352012-02-17 Glenn Morris <rgm@gnu.org>
15236
15237 * net/socks.el: Require network-stream. (Bug#10599)
15238
48dd1e39 152392012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
15240
15241 * international/charprop.el:
15242 * international/uni-name.el:
15243 * international/uni-old-name.el:
15244 * international/uni-comment.el: Regenerate.
15245
d68cd087
GM
152462012-02-16 Glenn Morris <rgm@gnu.org>
15247
15248 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15249 Interactively in calendar buffer, give an error if not on a date.
15250
13932042
GM
152512012-02-15 Glenn Morris <rgm@gnu.org>
15252
15253 * shell.el (shell-delimiter-argument-list):
15254 Revert 2011-02-17 change. (Bug#8027)
15255
c3a70e2b
CY
152562012-02-15 Chong Yidong <cyd@gnu.org>
15257
60236b0d
CY
15258 * minibuffer.el (completion-at-point-functions): Doc fix.
15259
c3a70e2b
CY
15260 * custom.el (defcustom): Doc fix; note use of defvar.
15261
9f26dc24
GM
152622012-02-15 Glenn Morris <rgm@gnu.org>
15263
15264 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15265 Doc fixes.
15266
6546b134
GM
152672012-02-14 Glenn Morris <rgm@gnu.org>
15268
15269 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15270
d29b2b4c
LI
152712012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15272
15273 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15274 way the ports list is computed.
835bdcba
LI
15275 (smtpmail-query-smtp-server): Prompt the user for a port number if
15276 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 15277
08dcdbc9
TZ
152782012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15279
15280 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15281
2605051a
GM
152822012-02-13 Glenn Morris <rgm@gnu.org>
15283
15284 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15285
7ee99f32
TZ
152862012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15287
15288 * net/gnutls.el (gnutls-trustfiles): New variable.
15289 (gnutls-negotiate): Use it.
15290
5f0af64f
LI
152912012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15292
15293 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15294 does its stuff if Gnus is running.
15295
c14fcc95
AM
152962012-02-13 Alan Mackenzie <acm@muc.de>
15297
15298 Fix a loop in c-set-fl-decl-start.
15299
7a71b18d 15300 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
15301 c-backward-syntactic-ws actually moves backwards.
15302
142b4d90
LL
153032012-02-13 Leo Liu <sdl.web@gmail.com>
15304
15305 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15306 beginning so that all \C-o chars are removed.
15307
fa9958a6
TZ
153082012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15309
dc9924b8 15310 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 15311
0bc5886a
AM
153122012-02-12 Alan Mackenzie <acm@muc.de>
15313
15314 Fix infinite loop with long macros.
4d6769e1 15315 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 15316
d4bd55e7
CY
153172012-02-12 Chong Yidong <cyd@gnu.org>
15318
15319 * window.el (display-buffer): Doc fix (Bug#10785).
15320
66f3fe22
GM
153212012-02-12 Glenn Morris <rgm@gnu.org>
15322
bd7da63e
GM
15323 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15324 (x-disown-selection-internal, x-get-selection-internal):
15325 Sync docs with the xselect.c versions.
15326
66f3fe22
GM
15327 * allout-widgets.el: Add missing license notice.
15328
3e0d2fa7
GM
153292012-02-11 Glenn Morris <rgm@gnu.org>
15330
cfecdf09
GM
15331 * select.el (x-get-selection-internal, x-own-selection-internal)
15332 (x-disown-selection-internal):
15333 * x-dnd.el (x-get-selection-internal): Update declarations.
15334
6d216d7f
GM
15335 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15336
2bed3f04
GM
15337 * window.el (window-sides-slots):
15338 * tool-bar.el (tool-bar-position):
15339 * term/xterm.el (xterm-extra-capabilities):
15340 * ses.el (ses-self-reference-early-detection):
15341 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15342 (verilog-auto-wire-type)
15343 (verilog-auto-delete-trailing-whitespace)
15344 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15345 (verilog-auto-tieoff-declaration):
15346 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15347 (sql-oracle-statement-starters, sql-oracle-scan-on):
15348 * progmodes/prolog.el (prolog-align-comments-flag)
15349 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15350 (prolog-left-indent-regexp, prolog-paren-indent-p)
15351 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15352 (prolog-types, prolog-mode-specificators)
15353 (prolog-determinism-specificators, prolog-directives)
15354 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15355 (prolog-electric-dot-flag)
15356 (prolog-electric-dot-full-predicate-template)
15357 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15358 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15359 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15360 (prolog-program-switches, prolog-prompt-regexp)
15361 (prolog-debug-on-string, prolog-debug-off-string)
15362 (prolog-trace-on-string, prolog-trace-off-string)
15363 (prolog-zip-on-string, prolog-zip-off-string)
15364 (prolog-use-standard-consult-compile-method-flag)
15365 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15366 (prolog-imenu-max-lines, prolog-info-predicate-index)
15367 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15368 (prolog-char-quote-workaround):
15369 * progmodes/cc-vars.el (c-defun-tactic):
15370 * net/tramp.el (tramp-encoding-command-interactive)
15371 (tramp-local-end-of-line):
15372 * net/soap-client.el (soap-client):
15373 * net/netrc.el (netrc-file):
15374 * net/gnutls.el (gnutls):
15375 * minibuffer.el (completion-category-overrides)
15376 (completion-cycle-threshold)
15377 (completion-pcm-complete-word-inserts-delimiters):
15378 * man.el (Man-name-local-regexp):
15379 * mail/feedmail.el (feedmail-display-full-frame):
15380 * international/characters.el (glyphless-char-display-control):
15381 * eshell/em-ls.el (eshell-ls-date-format):
15382 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15383 (lisp-lambda-list-keyword-parameter-indentation)
15384 (lisp-lambda-list-keyword-parameter-alignment):
15385 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15386 * dired-x.el (dired-omit-verbose):
15387 * cus-theme.el (custom-theme-allow-multiple-selections):
15388 * calc/calc.el (calc-highlight-selections-with-faces)
15389 (calc-lu-field-reference, calc-lu-power-reference)
15390 (calc-note-threshold):
15391 * battery.el (battery-mode-line-limit):
15392 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15393 (archive-7z-update):
15394 * allout.el (allout-prefixed-keybindings)
15395 (allout-unprefixed-keybindings)
15396 (allout-inhibit-auto-fill-on-headline)
15397 (allout-flattened-numbering-abbreviation):
15398 * allout-widgets.el (allout-widgets-auto-activation)
15399 (allout-widgets-icons-dark-subdir)
15400 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15401 (allout-widgets-theme-dark-background)
15402 (allout-widgets-theme-light-background)
15403 (allout-widgets-item-image-properties-emacs)
15404 (allout-widgets-item-image-properties-xemacs)
15405 (allout-widgets-run-unit-tests-on-load)
15406 (allout-widgets-time-decoration-activity)
15407 (allout-widgets-hook-error-post-time)
15408 (allout-widgets-track-decoration):
15409 Add missing :version tags to new defcustoms and defgroups.
15410
5fec1b8e
GM
15411 * progmodes/sql.el (sql-ansi-statement-starters)
15412 (sql-oracle-statement-starters): Add custom type.
15413
3e0d2fa7
GM
15414 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15415 (prolog-system-version): Give it a type.
15416
90b671e2
EZ
154172012-02-11 Eli Zaretskii <eliz@gnu.org>
15418
15419 * term/pc-win.el (x-select-text, x-selection-owner-p)
15420 (x-own-selection-internal, x-disown-selection-internal)
15421 (x-get-selection-internal): Sync doc strings and argument lists
15422 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15423
5eac0c02
LL
154242012-02-11 Leo Liu <sdl.web@gmail.com>
15425
15426 * progmodes/python.el (python-end-of-statement): Fix infinite
15427 loop. (Bug#10788)
15428
f82cb659
GM
154292012-02-10 Glenn Morris <rgm@gnu.org>
15430
15431 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15432 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15433
cc26d239
LI
154342012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15435
15436 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15437 about SMTP before checking the From header.
15438
91027d08 15439 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
15440 into own function for reuse by emacsbug.el.
15441
1be3ca5a
LL
154422012-02-10 Leo Liu <sdl.web@gmail.com>
15443
15444 * subr.el (condition-case-unless-debug): Rename from
15445 condition-case-no-debug. All callers changed.
15446 (with-demoted-errors): Fix caller.
15447
15448 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15449 * nxml/rng-valid.el (rng-do-some-validation):
15450 * emacs-lisp/package.el (package-refresh-contents)
15451 (package-menu-execute):
15452 * desktop.el (desktop-create-buffer):
91027d08 15453 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 15454
b011fbfe
GM
154552012-02-10 Glenn Morris <rgm@gnu.org>
15456
b2096d72
GM
15457 * textmodes/bibtex.el:
15458 Add missing :version tags for new/changed defcustoms.
15459
b011fbfe
GM
15460 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15461
4c7e65bf
LI
154622012-02-09 Lars Ingebrigtsen <larsi@rusty>
15463
15464 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15465 (smtpmail-via-smtp): Use it, or fall back on the From address.
15466 (smtpmail-send-it): Ditto.
15467
f3934f6f
SM
154682012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15469
15470 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15471 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15472 (byte-compile-tmp-var): New const.
15473 (byte-compile-defvar): Use it to minimize .elc size.
15474 Just use `defvar' rather than simulate it (bug#10761).
15475
a075a2c5
GM
154762012-02-09 Glenn Morris <rgm@gnu.org>
15477
cf3aa21b
GM
15478 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15479
354998cd
GM
15480 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15481 Add :version tags.
15482
dc9924b8
SM
15483 * progmodes/compile.el (compilation-error-screen-columns)
15484 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 15485
dab3703d
GM
15486 * vc/log-view.el (log-view-toggle-entry-display):
15487 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15488
3f88cd72
GM
15489 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15490 (report-emacs-bug-can-use-xdg-email):
15491 (report-emacs-bug-insert-to-mailer): Doc fixes.
15492 (report-emacs-bug): Message fix.
15493
d95b247d
GM
15494 * net/browse-url.el (browse-url-can-use-xdg-open)
15495 (browse-url-xdg-open): Doc fixes.
15496
a075a2c5
GM
15497 * electric.el (electric-indent-mode, electric-pair-mode)
15498 (electric-layout-rules, electric-layout-mode): Doc fixes.
15499 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15500
ffb6157e
MR
155012012-02-08 Martin Rudalics <rudalics@gmx.at>
15502
15503 * server.el (server-unselect-display): Don't inadvertently kill
15504 the current buffer. (Bug#10729)
15505
e1ac4066
GM
155062012-02-08 Glenn Morris <rgm@gnu.org>
15507
34e8a2da
GM
15508 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15509 (sql-list-table): Doc fixes.
15510
b4ac6e8c
GM
15511 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15512 Comment out (does nothing).
15513
e1ac4066
GM
15514 * completion.el (dynamic-completion-mode):
15515 * dirtrack.el (dirtrack-debug-mode):
15516 * electric.el (electric-layout-mode):
15517 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15518 * face-remap.el (text-scale-mode, buffer-face-mode):
15519 * iimage.el (iimage-mode):
15520 * image-mode.el (image-transform-mode):
15521 * minibuffer.el (completion-in-region-mode):
15522 * scroll-lock.el (scroll-lock-mode):
15523 * simple.el (next-error-follow-minor-mode):
15524 * tar-mode.el (tar-subfile-mode):
15525 * tooltip.el (tooltip-mode):
15526 * vcursor.el (vcursor-use-vcursor-map):
15527 * wid-browse.el (widget-minor-mode):
15528 * emulation/tpu-edt.el (tpu-edt-mode):
15529 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15530 * international/iso-ascii.el (iso-ascii-mode):
15531 * language/thai-util.el (thai-word-mode):
15532 * mail/supercite.el (sc-minor-mode):
15533 * net/goto-addr.el (goto-address-mode):
15534 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15535 * progmodes/cwarn.el (cwarn-mode):
15536 * progmodes/flymake.el (flymake-mode):
15537 * progmodes/glasses.el (glasses-mode):
15538 * progmodes/hideshow.el (hs-minor-mode):
15539 * progmodes/pascal.el (pascal-outline-mode):
15540 * textmodes/enriched.el (enriched-mode):
15541 * vc/smerge-mode.el (smerge-mode):
15542 Doc fixes (minor mode argument).
15543
5e0d957f
EZ
155442012-02-07 Eli Zaretskii <eliz@gnu.org>
15545
15546 * ls-lisp.el (ls-lisp-sanitize): New function.
15547 (ls-lisp-insert-directory): Use it to fix or remove any elements
15548 in file-alist with missing attributes. (Bug#4673)
15549
98d7371e
AM
155502012-02-07 Alan Mackenzie <acm@muc.de>
15551
15552 Fix spurious recognition of c-in-knr-argdecl.
15553
15554 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15555 putative K&R region.
15556
667ced3a
AM
155572012-02-07 Alan Mackenzie <acm@muc.de>
15558
eb864a71
LM
15559 * progmodes/cc-engine.el (c-forward-objc-directive):
15560 Prevent looping in "#pragma mark @implementation".
667ced3a 15561
5b77774d
MA
155622012-02-07 Michael Albinus <michael.albinus@gmx.de>
15563
15564 * notifications.el (notifications-on-closed-signal): Make `reason'
15565 optional. (Bug#10744)
15566
af008560
GM
155672012-02-07 Glenn Morris <rgm@gnu.org>
15568
60d47423
GM
15569 * emacs-lisp/easy-mmode.el (define-minor-mode):
15570 Doc fixes for the macro and the mode it defines.
15571
dd605cc4
GM
15572 * image.el (imagemagick-types-inhibit): Doc fix.
15573
af008560
GM
15574 * cus-start.el (imagemagick-render-type): Add it.
15575
5cc59a37
LI
155762012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15577
4d6769e1
JB
15578 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15579 Set the default at load time, too, so that `font-lock-fontify-buffer'
15580 can be called without setting up the entire mode first. This fixes
15581 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 15582
9a6dd747
CY
155832012-02-06 Chong Yidong <cyd@gnu.org>
15584
2d16b285
CY
15585 * simple.el (list-processes--refresh): Delete exited processes
15586 (Bug#8094).
15587
171e9b6e
CY
15588 * comint.el (comint-next-prompt): next-single-char-property-change
15589 and prev-single-char-property-change never return nil (Bug#8657).
15590
9a6dd747
CY
15591 * custom.el (defcustom): Doc fix (Bug#9711).
15592
aa4589a7
CY
155932012-02-05 Chong Yidong <cyd@gnu.org>
15594
5c2a252f
CY
15595 * cus-edit.el (custom-variable-reset-backup): Quote the value
15596 before storing it in the customized-value property (Bug#6712).
4aab9006 15597 (custom-display): Add a customization type tag.
983b9602 15598 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 15599
aa4589a7
CY
15600 * wid-edit.el (widget-field-value-get): New optional arg to
15601 suppress trailing whitespace truncation.
15602 (character): Use it (Bug#2689).
15603
1ff980ae
AS
156042012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15605
15606 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15607 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15608
03988c98
CY
156092012-02-05 Chong Yidong <cyd@gnu.org>
15610
eeb6cc88
CY
15611 * cus-edit.el (custom-variable-value-create): For mismatched
15612 types, show the current value (Bug#7600).
15613
03988c98
CY
15614 * custom.el (defcustom): Doc fix.
15615
f8cdeef0
GM
156162012-02-05 Glenn Morris <rgm@gnu.org>
15617
15618 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15619
0696d255
JB
156202012-02-05 Juanma Barranquero <lekktu@gmail.com>
15621
15622 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15623 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15624 (pp-last-sexp): Use `looking-at-p'.
15625
34c99998
GM
156262012-02-04 Glenn Morris <rgm@gnu.org>
15627
8f05da42
GM
15628 * files.el (revert-buffer):
15629 Doc fix (mention revert-buffer-in-progress-p).
15630
f160676e
GM
15631 * emacs-lisp/ert-x.el (ert-simulate-command):
15632 Check deferred-action-list (which is obsolete) is bound.
15633
c7291ad9
GM
15634 * subr.el (with-wrapper-hook): Doc fixes.
15635
34c99998
GM
15636 * simple.el (filter-buffer-substring-functions)
15637 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15638
6283a7d3
LL
156392012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15640
15641 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15642 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15643
e96e3013
LL
156442012-02-04 Leo Liu <sdl.web@gmail.com>
15645
15646 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15647
8ded50f2
GM
156482012-02-04 Glenn Morris <rgm@gnu.org>
15649
82ff1d13
GM
15650 * image.el (image-extension-data): Add obsolete alias.
15651
987a0a16
GM
15652 * isearch.el (isearch-update): Doc fix.
15653
ea32ef46
GM
15654 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15655
8ded50f2
GM
15656 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15657
eea14f31
GM
156582012-02-03 Glenn Morris <rgm@gnu.org>
15659
15660 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15661 (image-animate-timeout): Doc fix.
15662
15663 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15664
12f381b7
GM
156652012-02-02 Glenn Morris <rgm@gnu.org>
15666
953cebf5
GM
15667 * server.el (server-auth-dir): Doc fix.
15668 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15669
12f381b7
GM
15670 * subr.el (run-mode-hooks): Doc fix.
15671
953a8c3b
JL
156722012-02-02 Juri Linkov <juri@jurta.org>
15673
15674 * image-mode.el (image-toggle-display-image): Remove tautological
15675 `major-mode' from the `derived-mode-p' test.
15676
c5d3843c
KH
156772012-02-02 Kenichi Handa <handa@m17n.org>
15678
9f6e692e 15679 * composite.el (compose-region): Cancel previous change.
c5d3843c 15680
159462d4 156812012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
15682
15683 * composite.el (compose-region, compose-string): Signal error for
15684 a null string component (Bug#6988).
15685
9f562668
CY
156862012-02-01 Chong Yidong <cyd@gnu.org>
15687
e2cef717
CY
15688 * view.el (view-buffer-other-window, view-buffer-other-frame):
15689 Handle special modes like view-buffer (Bug#10650).
15690 (view-buffer): Simplify.
15691
9f562668
CY
15692 * frame.el (set-frame-font): Tweak meaning of third argument.
15693
9f6e692e
JB
15694 * dynamic-setting.el (font-setting-change-default-font):
15695 Use set-frame-font (Bug#9982).
9f562668 15696
781acb9f
GM
156972012-02-01 Glenn Morris <rgm@gnu.org>
15698
6035be52
GM
15699 * progmodes/compile.el (compilation-internal-error-properties):
15700 Respect compilation-first-column in the "*compilation*" buffer.
15701
781acb9f
GM
15702 * emacs-lisp/easy-mmode.el (define-minor-mode):
15703 Relax :variable's test for a named function.
15704
abbceb00
AM
157052012-01-31 Alan Mackenzie <acm@muc.de>
15706
15707 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15708 off by one error.
15709
fce3fdeb
CY
157102012-01-31 Chong Yidong <cyd@gnu.org>
15711
15712 * frame.el (set-frame-font): New arg ALL-FRAMES.
15713
15714 * menu-bar.el (menu-set-font): Use set-frame-font.
15715
15716 * faces.el (face-spec-reset-face): Don't apply unspecified
15717 attribute values to the default face.
15718
47893581
JB
157192012-01-31 Juanma Barranquero <lekktu@gmail.com>
15720
15721 * progmodes/cwarn.el (cwarn): Remove dead link.
15722 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15723 Remove * from defcustom docstrings.
15724 (turn-on-cwarn-mode): Make obsolete.
15725 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15726 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15727
e58e988a
GM
157282012-01-31 Glenn Morris <rgm@gnu.org>
15729
60dc2671 15730 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 15731 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 15732 Allow named functions to be used as the cdr of :variable.
e58e988a 15733
7a3f511d
GM
157342012-01-30 Glenn Morris <rgm@gnu.org>
15735
15736 * emacs-lisp/authors.el (authors-fixed-entries):
15737 Remove reference to deleted file rnewspost.el.
15738
cb882333
JB
157392012-01-29 Juanma Barranquero <lekktu@gmail.com>
15740
15741 * window.el (window-with-parameter): Remove unused variable `windows'.
15742 (window--side-check): Remove unused variable `code'.
15743 (window--resize-siblings): Remove unused variable `first'.
15744 (adjust-window-trailing-edge): Remove unused variable `failed'.
15745 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15746 Use `let', not `let*'.
15747 (balance-windows-2): Remove unused variable `found'.
15748 (window--state-put-2): Remove unused variable `splits'.
15749 (window-state-put): Remove unused variable `selected'.
15750 (same-window-p): Use `string-match-p'.
15751 (display-buffer-assq-regexp): Remove unused variable `value'.
15752 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15753 Mark argument ALIST as ignored.
15754 (pop-to-buffer): Remove unused variable `old-window'.
15755
907201af
EZ
157562012-01-29 Eli Zaretskii <eliz@gnu.org>
15757
15758 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15759 and .lzma compressed files.
15760
ea162670
CY
157612012-01-29 Chong Yidong <cyd@gnu.org>
15762
5b95ee8a
CY
15763 * frame.el (window-system-default-frame-alist): Doc fix.
15764
ea162670
CY
15765 * dynamic-setting.el (font-setting-change-default-font): Don't
15766 change the default face if SET-FONT argument is non-nil (Bug#9982).
15767
6fccd6e8 157682012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
15769
15770 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15771
0f29fa41 157722012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
15773
15774 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15775 breakpoints in files outside current directory (Bug#6098).
15776
db174434
CY
157772012-01-29 Chong Yidong <cyd@gnu.org>
15778
6b25e4e2
SE
15779 * progmodes/python.el: Require ansi-color at top-level.
15780
6df6ae42
JB
15781 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15782 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
15783 (lisp-mode-abbrev-table): Add doc.
15784 (lisp-mode-variables): Don't set local-abbrev-table.
15785 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15786
e70ee681
RW
157872012-01-28 Roland Winkler <winkler@gnu.org>
15788
15789 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15790
ace88aa2
RW
157912012-01-28 Roland Winkler <winkler@gnu.org>
15792
15793 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15794 (bibtex-set-dialect): Use it. Either set global values of
15795 dialect-dependent variables or bind these variables buffer-locally
15796 (Bug#10254).
15797 (bibtex-mode): Call bibtex-set-dialect via
15798 hack-local-variables-hook.
eb864a71
LM
15799 (bibtex-dialect): Update docstring.
15800 Add safe-local-variable predicate.
ace88aa2
RW
15801 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15802 bibtex-set-dialect.
15803 (bibtex-mode-map): Define menu for each dialect.
15804 (bibtex-entry): Fix docstring.
15805
93376c5b
CY
158062012-01-28 Chong Yidong <cyd@gnu.org>
15807
15808 * eshell/esh-arg.el (eshell-quote-argument): New function.
15809
15810 * eshell/esh-ext.el (eshell-invoke-batch-file):
15811 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15812 first arg to eshell-parse-command (Bug#10523).
15813
4372494f
DA
158142012-01-28 Drew Adams <drew.adams@oracle.com>
15815
15816 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15817 `default-directory' is non-nil.
15818
4d4ec1f8
EZ
158192012-01-28 Eli Zaretskii <eliz@gnu.org>
15820
15821 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15822 line that displays system-configuration-options. (Bug#9924)
15823
7c188927
DA
158242012-01-28 Drew Adams <drew.adams@oracle.com>
15825
15826 * descr-text.el (describe-char): Show information about POS, in
15827 addition to information about the character at POS. Improve and
15828 update the doc string. Change "code point" to "code point in
15829 charset", to avoid confusion with the character's Unicode code
15830 point shown above that. (Bug#10129)
15831
e0da685a
EZ
158322012-01-28 Eli Zaretskii <eliz@gnu.org>
15833
15834 * descr-text.el (describe-char): Show the raw character, not only
15835 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15836 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15837 for the reasons.
15838
70550acf
PH
158392012-01-28 Phil Hagelberg <phil@hagelb.org>
15840
eb864a71
LM
15841 * emacs-lisp/package.el (package-install):
15842 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 15843
0ce8e868
CY
158442012-01-28 Chong Yidong <cyd@gnu.org>
15845
cb882333
JB
15846 * emacs-lisp/package.el (package-maybe-load-descriptor):
15847 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
15848 (package-maybe-load-descriptor): Use it.
15849 (package-download-transaction): Fully load required packages
15850 inside the loop, so that `require' calls work (Bug#10593).
15851 (package-install): No need to call package-initialize now.
15852
2e7f3bea
CY
158532012-01-28 Chong Yidong <cyd@gnu.org>
15854
6e9bad14
CY
15855 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15856
f823b8ca
CY
15857 * tooltip.el (tooltip-mode): Doc fix.
15858 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15859
2680c309
CY
15860 * frame.el (set-cursor-color): Doc fix (Bug#352).
15861
d7a9e63b
CY
15862 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15863 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15864
2e7f3bea
CY
15865 * cus-edit.el (custom-buffer-create-internal): Fix search button
15866 action (Bug#10542).
2ae01800 15867 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 15868
fc4f7a23
EW
158692012-01-27 Eduard Wiebe <usenet@pusto.de>
15870
15871 * dired.el (dired-mark-files-regexp):
15872 Include any subdirectory components. (Bug#10445)
15873
7dd37071
ML
158742012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15875
15876 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15877 Handle [host]:port syntax. (Bug#10533)
15878
a268160b
AH
158792012-01-27 Alex Harsanyi <harsanyi@mac.com>
15880
15881 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15882
e43273ef
GM
158832012-01-26 Glenn Morris <rgm@gnu.org>
15884
15885 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15886 * term.el (term-raw-escape-map): Use Control-X-prefix.
15887 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15888
1edf595d
MR
158892012-01-25 Martin Rudalics <rudalics@gmx.at>
15890
15891 * window.el (window-state-get, window--state-get-1): Don't deal
15892 with fixed-sizeness of windows. Simplify code.
15893
fa8eafef
JC
158942012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15895
6df6ae42
JB
15896 * window.el (window--state-get-1, window--state-put-2):
15897 Don't save and restore the mark.
fa8eafef 15898
0b21c100
CY
158992012-01-25 Chong Yidong <cyd@gnu.org>
15900
15901 * custom.el (custom-variable-p): Doc fix.
15902
5ae1a6c8
GM
159032012-01-25 Glenn Morris <rgm@gnu.org>
15904
40047858
GM
15905 * dired.el (dired-goto-file): Handle some of the more common
15906 characters that `ls -b' escapes. (Bug#10596)
15907
5ddce96c
GM
15908 * progmodes/compile.el (compilation-next-error-function):
15909 Respect compilation-first-column in the "*compilation*" buffer.
15910 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15911
5ae1a6c8
GM
15912 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15913
b559f1a9
GM
159142012-01-24 Glenn Morris <rgm@gnu.org>
15915
15916 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15917
6725d21a
JD
159182012-01-24 Julien Danjou <julien@danjou.info>
15919
15920 * color.el (color-rgb-to-hsl): Fix value computing.
15921 (color-hue-to-rgb): New function.
15922 (color-hsl-to-rgb): New function.
15923 (color-clamp, color-saturate-hsl, color-saturate-name)
15924 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15925 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15926
70df4bbe
GM
159272012-01-24 Glenn Morris <rgm@gnu.org>
15928
15929 * vc/vc-rcs.el (vc-rcs-create-tag):
15930 * vc/vc-sccs.el (vc-sccs-create-tag):
15931 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15932
802a2ae2
ML
159332012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15934
15935 * eshell/esh-util.el (eshell-read-hosts-file):
15936 Skip comment lines. (Bug#10549)
15937
d7128bb1
ML
15938 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15939
d1a5c3b4
JB
159402012-01-23 Juanma Barranquero <lekktu@gmail.com>
15941
2724d9c7
JB
15942 * subr.el (display-delayed-warnings): Doc fix.
15943 (collapse-delayed-warnings): New function to collapse identical
15944 adjacent warnings.
15945 (delayed-warnings-hook): Add it.
d1a5c3b4 15946
a5509865
MA
159472012-01-22 Michael Albinus <michael.albinus@gmx.de>
15948
15949 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15950
a5509865
MA
15951 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15952 (tramp-default-user-alist): Don't add "pscp".
15953 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15954 property "login-as", if set. (Bug#10530)
15955
cc6d5805
MA
159562012-01-21 Michael Albinus <michael.albinus@gmx.de>
15957
15958 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15959 "plink1" and "psftp". (Bug#10530)
15960
159612012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
15962
15963 * international/mule-cmds.el (prefer-coding-system): Show a
15964 warning message if the default value of file-name-coding-system
15965 was not changed.
15966
f0960428
JC
159672012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15968
cb882333
JB
15969 * windmove.el (windmove-reference-loc):
15970 Fix windmove-reference-loc miscalculation.
f0960428 15971
dd6f2a63
JB
159722012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15973
15974 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15975 default unit.
15976
7b447e9b
GM
159772012-01-21 Glenn Morris <rgm@gnu.org>
15978
117a9ea1
GM
15979 * international/mule.el (auto-coding-alist): Add .tbz.
15980
7b447e9b
GM
15981 * files.el (local-enable-local-variables): Doc fix.
15982 (inhibit-local-variables-regexps): Rename from
15983 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15984 Doc fix. Add some extensions from auto-coding-alist.
15985 (inhibit-local-variables-suffixes):
15986 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15987 (inhibit-local-variables-p):
15988 New function, extracted from set-auto-mode-1.
15989 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15990 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15991 (hack-local-variables): Doc fix. Make the mode-only case
15992 respect enable-local-variables and friends.
15993 Respect inhibit-local-variables-regexps for file-locals, but
15994 not for directory-locals.
15995 (set-visited-file-name):
15996 Take account of inhibit-local-variables-regexps.
15997 Whether it applies may change as the file name is changed.
15998 * jka-cmpr-hook.el (jka-compr-install):
15999 * jka-compr.el (jka-compr-uninstall):
16000 Update for inhibit-first-line-modes-suffixes name change.
16001
dd6e3cdd
MR
160022012-01-20 Martin Rudalics <rudalics@gmx.at>
16003
16004 * help-macro.el (make-help-screen): Temporarily restore original
16005 binding for minor-mode-map-alist (Bug#10454).
16006
0d0deb38
JD
160072012-01-19 Julien Danjou <julien@danjou.info>
16008
16009 * color.el (color-name-to-rgb): Use the white color to find the max
16010 color component value and return correctly computed values.
16011 (color-name-to-rgb): Add missing float conversion for max value.
16012
34a02f46
MR
160132012-01-19 Martin Rudalics <rudalics@gmx.at>
16014
16015 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
16016 special state value for window-persistent-parameters.
16017 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
16018 (window--state-put-2): Reset all window parameters to nil before
16019 assigning values of persistent parameters.
16020
606c44c4
AM
160212012-01-18 Alan Mackenzie <acm@muc.de>
16022
16023 Eliminate sluggishness and hangs in fontification of "semicolon
16024 deserts".
16025
cb882333
JB
16026 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16027 Change value 10000 -> 3000.
606c44c4
AM
16028 (c-state-safe-place): Reformulate so it doesn't stack up an
16029 infinite number of wrong entries in c-state-nonlit-pos-cache.
16030 (c-determine-limit-get-base, c-determine-limit): New functions to
16031 determine backward search limits disregarding literals.
16032 (c-find-decl-spots): Amend commenting.
16033 (c-cheap-inside-bracelist-p): New function which detects "={".
16034
16035 * progmodes/cc-fonts.el
16036 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16037 backward search.
16038 (c-font-lock-declarations): Fix an occurrence of point being
16039 undefined. Check additionally for point being in a bracelist or
16040 near a macro invocation without a semicolon so as to avoid a
16041 fruitless time consuming search for a declarator. Give a more
16042 precise search limit for declarators using the new
16043 c-determine-limit.
16044
f3860cea
GM
160452012-01-18 Glenn Morris <rgm@gnu.org>
16046
16047 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16048 (set-auto-mode): Doc fixes.
16049
1db03b16
GM
160502012-01-17 Glenn Morris <rgm@gnu.org>
16051
0e6038be
GM
16052 * isearch.el (search-nonincremental-instead): Fix doc typo.
16053
1db03b16
GM
16054 * dired.el (dired-insert-directory): Handle newlines in directory name.
16055 (dired-build-subdir-alist): Unescape newlines in directory name.
16056
4cb0aa75
MA
160572012-01-17 Michael Albinus <michael.albinus@gmx.de>
16058
16059 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16060 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16061 (tramp-action-terminal): Use it. (Bug#10530)
16062
1d00653d
SM
160632012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16064
16065 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16066
6a6ee00d
MR
160672012-01-16 Martin Rudalics <rudalics@gmx.at>
16068
16069 * window.el (window-state-ignored-parameters): Remove variable.
16070 (window--state-get-1): Rename argument MARKERS to IGNORE.
16071 Handle persistent window parameters. Make copy of clone-of
16072 parameter only if requested. (Bug#10348)
16073 (window--state-put-2): Install a window parameter only if it has
16074 a non-nil value or an existing parameter shall be overwritten.
16075
97912def
MA
160762012-01-15 Michael Albinus <michael.albinus@gmx.de>
16077
16078 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16079
688070a5
EZ
160802012-01-14 Eli Zaretskii <eliz@gnu.org>
16081
16082 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16083 don't pass the (nil) value of `upnode' to string-match.
16084
301afadc
CY
160852012-01-14 Chong Yidong <cyd@gnu.org>
16086
16087 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 16088 Fix values recognized by the cursorBlink resource.
301afadc 16089
9e5788aa
PE
160902012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16091
16092 * epg.el (epg--make-temp-file): Avoid permission race condition
16093 when running on old Emacs versions (bug#10403).
16094
3cdb7f5a
GM
160952012-01-14 Glenn Morris <rgm@gnu.org>
16096
16097 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16098
8c82b1b4
AM
160992012-01-13 Alan Mackenzie <acm@muc.de>
16100
16101 Fix filling for when filladapt mode is enabled.
16102
16103 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16104 c-mask-paragraph, pass in `fill-paragraph' rather than
16105 `fill-region-as-paragraph'. (This is a reversion of a previous
16106 change.)
eb864a71
LM
16107 * progmodes/cc-mode.el (c-basic-common-init):
16108 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 16109
e517eda4
GM
161102012-01-13 Glenn Morris <rgm@gnu.org>
16111
1498536e
GM
16112 * dired.el (dired-switches-escape-p): New function.
16113 (dired-insert-directory): Use dired-switches-escape-p.
16114 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16115
e517eda4
GM
16116 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16117
328f984d
GM
161182012-01-12 Glenn Morris <rgm@gnu.org>
16119
16120 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16121 changes in adaptive-fill-regexp. (Bug#10276)
16122
2cc769a8
AM
161232012-01-11 Alan Mackenzie <acm@muc.de>
16124
16125 Fix Emacs bug #10463 - put `widen's around the critical spots.
16126
1d00653d 16127 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
16128 widen around each invocation of c-state-pp-to-literal. Remove an
16129 unused let variable.
16130
e52c37fa
GM
161312012-01-11 Glenn Morris <rgm@gnu.org>
16132
16133 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 16134 Doc fix.
e52c37fa 16135
96f8741e
CY
161362012-01-10 Chong Yidong <cyd@gnu.org>
16137
1d00653d
SM
16138 * net/network-stream.el (network-stream-open-starttls):
16139 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
16140 response to the capability command.
16141
b09a806e
GM
161422012-01-10 Glenn Morris <rgm@gnu.org>
16143
16144 * mail/unrmail.el (unrmail): Tweak previous change.
16145
7655cb66
CY
161462012-01-09 Chong Yidong <cyd@gnu.org>
16147
16148 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16149
9d5a8f0b
AM
161502012-01-08 Alan Mackenzie <acm@muc.de>
16151
677d5c92 16152 Optimize font locking in long enum definitions.
9d5a8f0b
AM
16153
16154 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16155 arm to a cond form to handle enums.
16156 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16157 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16158
9a0115ab 161592012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
16160
16161 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 16162 (Bug#10401)
6bb72cbd 16163
f186bb95
LMI
161642012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16165
29232a68
LMI
16166 * faces.el (set-face-attribute): Clarify the meaning of the nil
16167 frame (bug#10294).
16168
4e5d086d
LMI
16169 * subr.el (with-selected-frame): Mention that the selected frame
16170 is restored (bug#9980).
16171
8e66aebe
LMI
16172 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16173 (bug#9759).
16174
cd394be1 16175 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
16176 (password-read): Don't autoload unused function.
16177
adf4e762
JB
161782012-01-07 Juanma Barranquero <lekktu@gmail.com>
16179
16180 * progmodes/which-func.el (which-func-mode): Turn into a
16181 non-interactive function and mark as obsolete (bug#10428).
16182
89bd9ccd
CY
161832012-01-06 Chong Yidong <cyd@gnu.org>
16184
16185 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16186 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16187 functions, along with 1 and -1.
16188
4afee9d5
EZ
161892012-01-06 Eli Zaretskii <eliz@gnu.org>
16190
16191 * time.el (display-time-load-average)
16192 (display-time-default-load-average): Doc fixes. See the thread
16193 starting at
16194 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16195 for the details.
16196
536aea70
GM
161972012-01-06 Glenn Morris <rgm@gnu.org>
16198
665ae865
GM
16199 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16200 has no messages. (Bug#10377)
16201
c869783d
GM
16202 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16203 than Info-edit. (Bug#10385)
16204
2bb4227e
GM
16205 * time.el (display-time-load-average, display-time-next-load-average):
16206 Doc fixes.
16207
7d5944b9
GM
16208 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16209 local setting of buffer-read-only to the input buffer. (Bug#10419)
16210
536aea70
GM
16211 * calendar/calendar.el (calendar-mode):
16212 Locally set scroll-margin to 0. (Bug#10379)
16213
7dccca16
UM
162142012-01-06 Ulrich Mueller <ulm@gentoo.org>
16215
16216 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16217
afbb7930
GM
162182012-01-05 Glenn Morris <rgm@gnu.org>
16219
16220 * eshell/em-unix.el (diff-no-select): Autoload it.
16221 (eshell/diff): Use diff-no-select. (Bug#10420)
16222
04482335
CY
162232012-01-05 Chong Yidong <cyd@gnu.org>
16224
7baca3bc
CY
16225 * shell.el (shell-dynamic-complete-functions): Revert last change.
16226 (shell-command-completion-function): New function.
16227 (shell-completion-vars): Use it to implement
16228 shell-completion-execonly (Bug#10417).
16229
04482335
CY
16230 * custom.el (enable-theme): Don't set custom-safe-themes.
16231
1d00653d
SM
16232 * cus-theme.el (custom-theme-merge-theme):
16233 Ignore custom-enabled-themes and custom-safe-themes.
04482335 16234
bb5aa5d6
MM
162352012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16236
16237 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16238 first prompt in `sql-interacive-mode'.
16239 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 16240 keywords.
6df6ae42 16241 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
16242 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16243 context of original buffer. Invoke `sql-login-hook'.
16244
a7183d7c
EZ
162452012-01-04 Eli Zaretskii <eliz@gnu.org>
16246
16247 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16248 letters in cite-prefix.
16249
a1eacd1e
LMI
162502012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16251
16252 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16253
787cdb34
CY
162542012-01-03 Chong Yidong <cyd@gnu.org>
16255
1d00653d
SM
16256 * shell.el (shell-dynamic-complete-functions):
16257 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
16258 comint-filename-completion first (Bug#10417).
16259
30710442
RS
162602012-01-02 Richard Stallman <rms@gnu.org>
16261
16262 * battery.el (battery-status-function):
16263 Detect when to use battery-yeeloong-sysfs.
16264 (battery-echo-area-format): Add string for Yeeloong.
16265 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16266 (battery-yeeloong-sysfs): New function.
16267
f75bfc33
CY
162682012-01-02 Chong Yidong <cyd@gnu.org>
16269
16270 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16271 (dirtrack): Merge code for handling relative filenames in prompt
16272 from shell-dir-cookie-watcher.
16273 (dirtrack-debug-message): New arg to avoid excess format calls.
16274
16275 * shell.el (shell-dir-cookie-re): Variable deleted.
16276 (shell-dir-cookie-watcher): Function deleted.
16277 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16278 with dirtrack-mode.
16279
651e947e
EZ
162802012-01-01 Eli Zaretskii <eliz@gnu.org>
16281
1d00653d
SM
16282 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16283 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
16284 libgnutls-26.dll.
16285
94d4c7dc
AS
162862011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16287
16288 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16289
8d43f3cd
EZ
162902011-12-31 Eli Zaretskii <eliz@gnu.org>
16291
16292 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16293 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16294
98c8795a
MA
162952011-12-29 Michael Albinus <michael.albinus@gmx.de>
16296
16297 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16298 also for alternative shells.
16299 (tramp-open-connection-setup-interactive-shell): Check, whether
16300 the shell is a busybox.
16301 (tramp-send-command): Don't suppress multiple prompts for
16302 busyboxes, it hurts.
16303
51281b32
CY
163042011-12-28 Chong Yidong <cyd@gnu.org>
16305
16306 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16307 (gdb-get-source-file): Move mode line update to
16308 gdb-get-source-file (Bug#10087).
16309
2170cb53
CY
163102011-12-25 Chong Yidong <cyd@gnu.org>
16311
16312 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16313 gud-gdb-marker-filter without taking it as an argument.
16314 (gud-gdb-run-command-fetch-lines): Caller changed.
16315 (gud-gdb-completion-function): New variable.
16316 (gud-gdb-completion-at-point): Use it.
16317 (gud-gdb-completions-1): Split from gud-gdb-completions.
16318
16319 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16320 function as separate arguments.
16321 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16322 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16323 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16324 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16325 (gdb-stopped, def-gdb-auto-update-trigger)
16326 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
16327 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16328 Callers changed.
2170cb53
CY
16329 (gud-gdbmi-completions): New function.
16330 (gdb): Use it for generating the completion table.
16331
be8b11bb
AM
163322011-12-24 Alan Mackenzie <acm@muc.de>
16333
16334 Introduce a mechanism to widen the region used in context font
1d00653d 16335 locking. Use this to protect declarations from losing their contexts.
be8b11bb 16336
1d00653d
SM
16337 * progmodes/cc-langs.el (c-before-font-lock-functions):
16338 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 16339 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
16340 functions to be run just before context (etc.) font locking.
16341
16342 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 16343 New, functionality extracted from
be8b11bb 16344 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 16345 (c-in-after-change-fontification): New variable.
be8b11bb
AM
16346 (c-after-change): Set c-in-after-change-fontification.
16347 (c-set-fl-decl-start): Rejig its interface, so it can be called
16348 from both after-change and context fontifying.
b81d40f0
JB
16349 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16350 New functions.
16351 (c-standard-font-lock-fontify-region-function): New variable.
16352 (c-font-lock-fontify-region): New function.
be8b11bb 16353
341cf6ac
JL
163542011-12-24 Juri Linkov <juri@jurta.org>
16355
16356 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16357 (Bug#10348)
16358
bffcee0a
MA
163592011-12-23 Michael Albinus <michael.albinus@gmx.de>
16360
16361 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16362 existence of source file. (Bug#10325)
16363
cb5e207c
AM
163642011-12-23 Alan Mackenzie <acm@muc.de>
16365
16366 Fix unstable fontification inside templates.
16367
b81d40f0
JB
16368 * progmodes/cc-langs.el (c-before-font-lock-functions):
16369 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
16370 additionally has c-set-fl-decl-start. The other languages (apart
16371 from AWK) have that as a single entry.
16372
b81d40f0
JB
16373 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16374 The functionality for "local" declarations has been extracted to
cb5e207c
AM
16375 c-set-fl-decl-start.
16376
b81d40f0
JB
16377 * progmodes/cc-mode.el (c-common-init, c-after-change):
16378 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
16379 (c-set-fl-decl-start): New function, extracted from
16380 c-font-lock-enclosing-decls and enhanced.
16381
60ff536c
JB
163822011-12-23 Juanma Barranquero <lekktu@gmail.com>
16383
16384 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16385
1c4757d6
JL
163862011-12-22 Juri Linkov <juri@jurta.org>
16387
16388 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16389
d031f2c7
CY
163902011-12-22 Chong Yidong <cyd@gnu.org>
16391
16392 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16393
bace743a
DA
163942011-12-21 Drew Adams <drew.adams@oracle.com>
16395
16396 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16397
728a1f2b
JC
163982011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16399
16400 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16401
0d373f73
TZ
164022011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16403
fec0aaa4
TZ
16404 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16405 highlighting and support. Fix up comments for capitalization.
16406 (cfengine-mode-debug): New var.
16407 (cfengine3-mode): Change the modeline indicator to "CFE3".
16408 (cfengine3-font-lock-keywords): Improve defun highlighting.
16409 (cfengine2-actions): Rename from `cfengine-actions'.
16410 (cfengine2-font-lock-keywords): Rename from
16411 `cfengine-font-lock-keywords'.
16412 (cfengine2-imenu-expression): Rename from
16413 `cfengine-imenu-expression'.
16414 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16415 (cfengine2-beginning-of-defun): Rename from
16416 `cfengine-beginning-of-defun'.
16417 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16418 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16419 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16420 modeline indicator to "CFE2".
16421 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16422 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 16423
bc86f573
CY
164242011-12-21 Chong Yidong <cyd@gnu.org>
16425
16426 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16427 filename argument.
16428
d45ba96b
MR
164292011-12-20 Martin Rudalics <rudalics@gmx.at>
16430
16431 * window.el (window-normalize-buffer-to-display): Remove.
16432 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16433
a6198c90
CY
164342011-12-19 Chong Yidong <cyd@gnu.org>
16435
16436 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16437 Don't signal an error in a predicate function; return non-nil.
16438 (vc-dir-mark-file): Move the error here.
16439 (vc-dir-mark-unmark): If acting on the region, keep going if one
16440 of the entries cannot be marked/unmarked.
16441 (vc-dir-mark-all-files): If current entry is a directory, mark
16442 only child files, as documented.
16443
34c5fb55
VB
164442011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16445
16446 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16447 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16448 addition.
16449
c803b2b7
JD
164502011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16451
16452 * term/ns-win.el (ns-get-selection-internal)
16453 (ns-store-selection-internal): Declare.
1154d12e
JB
16454 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16455 Declare as obsolete.
16456 (ns-get-pasteboard, ns-paste-secondary):
16457 Use ns-get-selection-internal.
41e9b956 16458 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 16459 Use ns-store-selection-internal.
c803b2b7 16460
9cff91f8 164612011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
16462
16463 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 16464 (vc-deduce-fileset): Doc fix.
99a289d9 16465
f16c898a
AS
164662011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16467
16468 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16469
763237c4
SS
164702011-12-13 Sam Steingold <sds@gnu.org>
16471
16472 * man.el (Man-getpage-in-background): When running under a
16473 window-system, ignore $MANWIDTH and $COLUMNS.
16474
5fc1c122
KH
164752011-12-15 Kenichi Handa <handa@m17n.org>
16476
16477 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16478 (setup-ethiopic-environment-internal): Comment out key-binding for
16479 ethio-toggle-punctuation.
16480
13d49cbb
AM
164812011-12-13 Alan Mackenzie <acm@muc.de>
16482
898169a2
AM
16483 Add the switch statement to AWK Mode.
16484
7a71b18d 16485 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
16486 "default" to the keywords regexp.
16487
7a71b18d 16488 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 16489 expression as the rest.
1d00653d
SM
16490 (c-nonlabel-token-key): Allow string literals for AWK.
16491 Refactor for the other modes.
898169a2 16492
13d49cbb 16493 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 16494 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
16495 routines. Limit backward searching in c-font-lock-enclosing.decl.
16496
16497 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16498 pp-state and literal type in addition to the limits.
1d00653d 16499 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 16500 (c-state-literal-at): Use the above new defun.
1d00653d
SM
16501 (c-slow-in-literal, c-fast-in-literal): Remove.
16502 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
16503
16504 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16505 being in a literal. Add a limit for backward searching.
16506
16507 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16508 c-slow-in-literal.
16509
15e0efc7
SM
165102011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16511
16512 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16513
454592a6
MR
165142011-12-13 Martin Rudalics <rudalics@gmx.at>
16515
16516 * window.el (delete-other-windows): Use correct frame in call to
16517 window-with-parameter.
16518
87393f26
DP
165192011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16520
16521 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16522 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16523 (makefile-gmake-statements, makefile-makepp-statements):
16524 Use it and add new makepp keywords.
16525 (makefile-makepp-font-lock-keywords): Add new patterns.
16526 (makefile-match-function-end): Match new [...] and [[...]].
16527
11636b22
JB
165282011-12-11 Juanma Barranquero <lekktu@gmail.com>
16529
16530 * ses.el (ses-call-printer-return, ses-cell-property-get)
16531 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16532 (ses-create-cell-variable, ses-reset-header-string)
16533 (ses-cell-set-formula, ses-repair-cell-reference-all)
16534 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16535 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16536 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16537 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16538 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16539 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16540 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16541 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16542 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16543 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16544 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16545 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16546
cf018193
VB
165472011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16548
16549 * ses.el: The overall change is to add cell renaming, that is
16550 setting fancy names for cell symbols other than name matching
16551 "\\`[A-Z]+[0-9]+\\'" regexp .
16552 (ses-create-cell-variable): New defun.
16553 (ses-relocate-formula): Relocate formulas only for cells the
16554 symbols of which are not renamed, i.e. symbols whose names do not
16555 match regexp "\\`[A-Z]+[0-9]+\\'".
16556 (ses-relocate-all): Relocate values only for cells the symbols of
16557 which are not renamed.
16558 (ses-load): Create cells variables as the (ses-cell ...) are read,
16559 in order to check row col consistency with cell symbol name only
16560 for cells that are not renamed.
16561 (ses-replace-name-in-formula): New defun.
16562 (ses-rename-cell): New defun.
16563
ee957461
CY
165642011-12-11 Chong Yidong <cyd@gnu.org>
16565
16566 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16567 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16568
9a9e9ef0
MR
165692011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16570
16571 * window.el (other-window): Fix docstring.
16572
92a8eba5
EZ
165732011-12-10 Eli Zaretskii <eliz@gnu.org>
16574
16575 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
16576 `from' or `to' address before taking its substring.
16577 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
16578 encoded name is chopped in the middle of the encoded string, and
16579 thus displayed encoded.
16580
e152e577
JB
165812011-12-10 Juanma Barranquero <lekktu@gmail.com>
16582
16583 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16584
e5d84bfe
EZ
165852011-12-10 Eli Zaretskii <eliz@gnu.org>
16586
16587 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16588 to use texinfo-update-node and commands that call it if the
16589 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 16590 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
16591 (texinfo-all-menus-update, texinfo-master-menu)
16592 (texinfo-update-node, texinfo-every-node-update)
16593 (texinfo-multiple-files-update): Doc fix. Warn against updating
16594 all the @node lines.
16595 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
16596 argument is numeric. Explain better in the doc string what the
16597 function really does.
16598 (texinfo-insert-master-menu-list): Improve the error message
16599 displayed if there's no menu in the Top node.
16600 (Bug#2975) See also this thread:
e5d84bfe
EZ
16601 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16602
1d84e9bb
MG
166032011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16604
16605 * speedbar.el (speedbar-supported-extension-expressions):
16606 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16607
382c953b
JB
166082011-12-09 Juanma Barranquero <lekktu@gmail.com>
16609
16610 * printing.el (pr-mode-alist):
16611 * simple.el (filter-buffer-substring-functions)
16612 (completion-list-insert-choice-function):
16613 * window.el (window-with-parameter, window-atom-root)
16614 (window-sides-slots, window-size-fixed, window-min-delta)
16615 (window-max-delta, window--resize-mini-window)
16616 (window--resize-child-windows-normal, window-tree)
16617 (delete-other-windows, quit-window, split-window)
16618 (display-buffer-record-window, special-display-buffer-names)
16619 (special-display-regexps, special-display-popup-frame)
16620 (same-window-p, split-window-sensibly)
16621 (display-buffer-overriding-action, display-buffer-alist)
16622 (display-buffer-base-action, display-buffer, switch-to-buffer)
16623 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16624 (fit-window-to-buffer, recenter-positions)
16625 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16626 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16627 and remove unneeded backslashes in docstrings.
16628
39c9faef
SM
166292011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16630
98449af8
SM
16631 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16632
39c9faef
SM
16633 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16634 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16635 end in ".mk".
16636 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16637 when reading the makefile (bug#10116).
16638
86ed9fdc
SM
166392011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16640
16641 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16642 (bug#10116).
16643
5580f89d
GM
166442011-12-06 Glenn Morris <rgm@gnu.org>
16645
16646 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16647
28d3917c
CY
166482011-12-06 Chong Yidong <cyd@gnu.org>
16649
16650 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16651
a98edce9
JB
166522011-12-06 Juanma Barranquero <lekktu@gmail.com>
16653
16654 * textmodes/table.el (table-shorten-cell): Fix typo.
16655
e65adfac
CG
166562011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16657
16658 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16659
71cc0b74
EZ
166602011-12-05 Eli Zaretskii <eliz@gnu.org>
16661
16662 * descr-text.el (describe-char): Fix display of strong
16663 right-to-left characters and directional embeddings and overrides.
16664
16665 * simple.el (what-cursor-position): Fix display of codepoints of
16666 strong right-to-left characters.
16667
315bc30d
CY
166682011-12-05 Chong Yidong <cyd@gnu.org>
16669
16670 * faces.el (read-color): Doc fix.
16671
58a70b94
GM
166722011-12-05 Glenn Morris <rgm@gnu.org>
16673
16674 * align.el (align--set-marker): Add doc-string.
16675 Don't try to move something that is not a marker. (Bug#10216)
16676
5158face
GM
166772011-12-04 Glenn Morris <rgm@gnu.org>
16678
16679 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16680 overly zealous deletion of trailing whitespace.
16681
520fca41
JB
166822011-12-04 Juanma Barranquero <lekktu@gmail.com>
16683
16684 * server.el (server-delete-client): On Windows, do not try to delete
16685 the only terminal.
16686 (server-process-filter): On Windows, treat requests for a tty frame as
16687 if they were for a GUI frame if the running server is in GUI mode.
16688
5e605a2e
GM
166892011-12-03 Glenn Morris <rgm@gnu.org>
16690
16691 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16692
5c3fe83f
SM
166932011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16694
6f5e57e7
SM
16695 * electric.el: Streamline electric-indent's hook.
16696 (electric-indent-chars): Revert to simple list.
16697 (electric-indent-functions): New var.
16698 (electric-indent-post-self-insert-function): Use it.
16699
5c3fe83f
SM
16700 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16701 there's no inferior buffer (bug#10196).
16702 (prolog-consult-compile): Don't use toggle-read-only.
16703
6bdac736
MA
167042011-12-02 Michael Albinus <michael.albinus@gmx.de>
16705
16706 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16707 interrupt. (Bug#10187)
16708
6131ba7f
SM
167092011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16710
99c79fee
SM
16711 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16712 (bug#9160).
16713
6131ba7f
SM
16714 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16715 (bug#10191).
16716
cb0a02ea
JL
167172011-12-02 Juri Linkov <juri@jurta.org>
16718
16719 * info.el (Info-search): Display "end of manual" when Isearch
16720 reaches the end of single-file Info manual. (Bug#9918)
16721
66e0570c
EZ
167222011-12-02 Eli Zaretskii <eliz@gnu.org>
16723
16724 * isearch.el (isearch-message-prefix): Run the input method part
16725 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16726
02b16839
JL
167272011-12-02 Juri Linkov <juri@jurta.org>
16728
16729 * isearch.el (isearch-occur): Use `word-search-regexp' for
16730 `isearch-word'.
16731 (isearch-search-and-update): Add condition for `isearch-word' and
16732 call `word-search-regexp'. (Bug#10145)
16733
0b950688
GM
167342011-12-01 Glenn Morris <rgm@gnu.org>
16735
16736 * eshell/em-hist.el (eshell-hist-initialize):
16737 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 16738 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 16739
9505c3c7
SM
167402011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16741
16742 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16743
1bbe96b2 167442011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 16745
a1beca85
SM
16746 * progmodes/verilog-mode.el (verilog-pretty-expr):
16747 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
16748 verilog, such as += *= and the like.
16749 (verilog-assignment-operator-re): Regular expression to find the
16750 assigment operator in a verilog assignment.
16751 (verilog-assignment-operation-re): Regular expression to find an
16752 assignment statement for pretty-expr.
16753 (verilog-in-attribute-p): Query returns true if point is in an
16754 attribute context; used to skip these for expression line up from
16755 pretty-expr.
16756 (verilog-in-parameter-p): Query returns true if point is in an
16757 parameter definition context; used to skip these for expression
16758 line up from pretty-expr.
16759 (verilog-in-parenthesis-p): Query returns true if point is in a
16760 parenthetical expression, specifically ( ) but not [ ] or { };
16761 used by pretty-expr.
16762 (verilog-just-one-space): If there is no space, don't add one.
16763 (verilog-get-lineup-indent-2): Specifically skip just attribute
16764 contexts for expression lineup, rather than skipping all
16765 parenthetical expressions.
16766 (verilog-calculate-indent): Fix comment, and fix indent.
16767 (verilog-do-indent): Indent declarations in lists (suggested by
16768 Joachim Lechner).
16769 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16770 skeleton items.
16771 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16772 by Alain Mellan).
16773
1bbe96b2 167742011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
16775
16776 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16777 parameters with embedded comments. Reported by Ray Stevens.
16778 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16779 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16780 Reported by Tim Holt.
16781 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16782 instantiated by upper module causing wrong expansion until AUTOed a
16783 second time. Reported by K C Buckenmaier.
16784 (verilog-diff-auto): Fix showing .* as a difference when
16785 `verilog-auto-star-save' off. Reported by Dan Dever.
16786 (verilog-auto-reset, verilog-read-always-signals)
16787 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16788 temporary signals in reset list if
16789 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
16790 style to each signal's assignment type, bug381.
16791 Reported by Thomas Esposito.
6288f0ca
WS
16792 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16793 (verilog-uvm-statement-re): Support UVM indentation and
16794 highlighting, with old OVM keywords only.
a1beca85 16795 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
16796 Support AUTOTIEOFF creating non-wire data types.
16797 Suggested by Jonathan Greenlaw.
6288f0ca
WS
16798 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16799 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16800 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
16801 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16802 Fix mismatching parenthesis inside commented out code when deleting
382c953b 16803 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
16804 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16805 non-numeric vector width. Reported by Alex Reed.
16806 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 16807 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
16808 (verilog-auto-delete-trailing-whitespace):
16809 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
16810 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16811 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16812 Fix verilog-scan-cache corruption when running user AUTO expansion
16813 hooks that call indentation routines.
16814 (verilog-simplify-range-expression): Fix typo ignoring lower case
16815 identifiers.
16816 (verilog-delete-auto): Fix delete-autos to also remove user created
16817 automatics, as long as they start with AUTO.
16818 (verilog-batch-diff-auto, verilog-diff-auto)
16819 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16820 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16821 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16822 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
16823 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16824 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
16825 is disabled and its cache will get corrupt, causing AUTOS not to
16826 expand. Instead use only -quick functions.
16827 (verilog-scan-region): Fix scanning over escaped quotes.
16828 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16829 (verilog-re-search-backward-quick)
16830 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16831 related functions now ignore strings, to fix misparsing of strings
16832 with magic comments embedded in them.
a1beca85
SM
16833 (verilog-read-auto-template):
16834 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16835 Reported by Brad Dobbie.
16836 (verilog-read-auto-template):
16837 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 16838 Reported by Brad Dobbie.
6288f0ca
WS
16839 (verilog-auto-inst, verilog-auto-inst-param)
16840 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16841 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16842 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
16843 debugging templates without merge conflicts, bug357.
16844 Reported by Brad Dobbie.
16845 (verilog-read-auto-template):
16846 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
16847 Reported by Brad Dobbie.
16848 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16849 abbrevs so user won't be asked to save.
16850 (verilog-read-auto-lisp-present): Fix to start at beginning of
16851 buffer in case called outside of verilog-auto.
16852 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16853 to "X-2". Reported by Matthew Myers.
16854 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16855 all inputs from module templates. Reported by Leith Johnson.
16856 (verilog-module-inside-filename-p): Fix locating programs as with
16857 modules.
16858 (verilog-auto-inst-port): Fix vl-width expressions when using
16859 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16860 (verilog-decls-get-regs, verilog-decls-get-signals,
16861 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16862 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16863 verilog-read-decls): Combine reg and wire structures into one var
16864 structure to represent SystemVerilog concepts.
16865 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16866 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
16867 (verilog-auto-wire-type, verilog-insert-definition):
16868 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
16869 SystemVerilog "logic" keyword instead of "wire"/"reg".
16870 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16871 to declares outputs that also have assignments (presumably in an
a1beca85
SM
16872 ifdef or generate if so there's not a driver conflict).
16873 Reported by Matthew Myers.
16874 (verilog-auto-declare-nettype, verilog-insert-definition):
16875 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
16876 `default_nettype none. Reported by Julian Gorfajn.
16877 (verilog-read-always-signals-recurse, verilog-read-decls)
16878 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16879 malformed end statement, bug325. Reported by Joshua Wise and
16880 Andrew Drake.
16881 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16882 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
16883 when expanding .* in interfaces, bug320.
16884 Reported by Pierre-David Pfister.
6288f0ca 16885 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
16886 name and open parenthesis, bug317.
16887 Reported by Pierre-David Pfister.
6288f0ca
WS
16888 (verilog-simplify-range-expression): Fix simplification of
16889 multiplications inside AUTOWIRE connections, bug303.
16890 (verilog-auto-inst-port): Support parameter expansion in
16891 multidimensional arrays.
16892 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16893 after "assert property". Reported by Julian Gorfajn.
16894 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16895 with multiplication, bug303.
16896 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16897 Reported by Jan Frode Lonnum.
16898
1bbe96b2
GM
168992011-11-30 Juanma Barranquero <lekktu@gmail.com>
16900
16901 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16902 (hfy-shell-file-name, hfy-shell):
16903 * international/fontset.el (x-decompose-font-name): Fix typos.
16904
169052011-11-29 Ken Brown <kbrown@cornell.edu>
16906
16907 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16908 (gdb-version): Remove defvar.
16909 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16910 (gdb-gud-context-command, gdb-non-stop-handler)
16911 (gdb-current-context-command, gdb-stopped): Use it.
16912 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
16913 (gdb-non-stop-handler): Don't enable pretty-printing here.
16914 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
16915 non-stop mode. Use the following.
16916 (gdb-check-target-async): New defun.
16917 (gud-watch, gdb-stopped): Fix whitespace.
16918 (gdb-get-source-file): Don't try to display the source file if
16919 `gdb-main-file' is nil.
16920
169212011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16922
16923 * align.el: Try to generate fewer markers (bug#10047).
16924 (align--set-marker): New macro.
16925 (align-region): Use it.
16926
c935221f
SM
169272011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16928
16929 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16930
e70b5064
CY
169312011-11-29 Chong Yidong <cyd@gnu.org>
16932
16933 * indent.el (indent-for-tab-command, indent-according-to-mode):
16934 Doc fix.
16935 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16936
f3af92b7
MA
169372011-11-29 Michael Albinus <michael.albinus@gmx.de>
16938
16939 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16940 aware of remote file names. (Bug#10124)
16941
ed472be9
CY
169422011-11-29 Chong Yidong <cyd@gnu.org>
16943
16944 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16945
24510c22
SM
169462011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16947
16948 * files.el (find-file): Don't use force-same-window (bug#10144).
16949 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16950 use pop-to-buffer if the selected window can't be used.
16951 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16952
c60c3703
EZ
169532011-11-28 Eli Zaretskii <eliz@gnu.org>
16954
16955 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16956 special-mode-map.
16957
e95def75
CY
169582011-11-28 Chong Yidong <cyd@gnu.org>
16959
16960 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16961
c3f1c606
NR
169622011-11-27 Nick Roberts <nickrob@snap.net.nz>
16963
16964 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16965 gdb-get-source-file-list on gdb-create-source-file-list.
16966
00db469c
EZ
169672011-11-26 Eli Zaretskii <eliz@gnu.org>
16968
16969 * whitespace.el (whitespace-newline): Use a different foreground
16970 color for 16-color light-background displays.
16971
4ad3bc2a
CY
169722011-11-24 Chong Yidong <cyd@gnu.org>
16973
16974 * window.el (display-buffer--special-action): Doc fix.
16975
e9fce1ac
JB
169762011-11-25 Juanma Barranquero <lekktu@gmail.com>
16977
16978 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16979 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16980 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16981 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16982 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16983 (avl-tree-stack-first):
16984 * emacs-lisp/cconv.el (cconv--analyse-use):
16985 * net/gnutls.el (gnutls-negotiate): Fix typos.
16986
cb825e5d
GM
169872011-11-24 Glenn Morris <rgm@gnu.org>
16988
3adbe224
GM
16989 * lpr.el (lpr-windows-system, lpr-lp-system):
16990 * mail/binhex.el (binhex-begin-line):
16991 * progmodes/grep.el (grep-history, grep-find-history):
16992 * textmodes/flyspell.el:
16993 * vc/pcvs-defs.el (cvs-global-menu):
16994 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16995 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16996 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16997
321decc8
GM
16998 * net/tls.el: Fix case of "GnuTLS".
16999
420b63ad
GM
17000 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17001
cb825e5d
GM
17002 * version.el (emacs-build-system): Give it a doc-string.
17003
a0649f08
JL
170042011-11-24 Juri Linkov <juri@jurta.org>
17005
17006 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17007
c0bc0fd4
GM
170082011-11-24 Glenn Morris <rgm@gnu.org>
17009
17010 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17011 if called on a non-mime message just toggle the headers. (Bug#8006)
17012
20db1522
JB
170132011-11-24 Juanma Barranquero <lekktu@gmail.com>
17014
17015 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17016 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17017 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17018 (allout-rebullet-heading, allout-open-sibtopic)
17019 (allout-toggle-current-subtree-encryption)
17020 (allout-toggle-subtree-encryption, allout-encrypt-string)
17021 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17022 (allout-distinctive-bullets-string, allout-auto-activation):
17023 * window.el (window-normalize-buffer-to-display):
17024 * progmodes/verilog-mode.el (verilog-batch-indent):
17025 * textmodes/bibtex.el (bibtex-field-braces-opt)
17026 (bibtex-field-strings-opt):
17027 * vc/cvs-status.el (cvs-tree-merge):
17028 Fix typos.
17029
7262a87c
MA
170302011-11-23 Michael Albinus <michael.albinus@gmx.de>
17031
17032 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17033 `non-essential' to t, in order to avoid remote connections.
17034
283430a1
EZ
170352011-11-23 Eli Zaretskii <eliz@gnu.org>
17036
a1beca85
SM
17037 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17038 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
17039 case-insensitively.
17040
d2992a38
ML
170412011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17042
17043 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17044
50419064
GM
170452011-11-23 Glenn Morris <rgm@gnu.org>
17046
da94eca1
GM
17047 * paths.el (rmail-file-name): Reformat the doc-string so that it
17048 is picked up.
17049
9aac4de2
GM
17050 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17051 (rmail-auto-file): Ignore case in the "special" field names,
17052 as mail-fetch-field does for all others.
17053
8038d2d2
GM
17054 * mail/rmail.el (rmail-forward):
17055 * mail/rmailkwd.el (rmail-set-label):
17056 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17057 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17058
f3fe222a
GM
17059 * mail/rmail.el (rmail-current-message): Doc fix.
17060
50419064
GM
17061 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17062
28109f49
SM
170632011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17064
17065 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17066
394c65f1
GM
170672011-11-22 Glenn Morris <rgm@gnu.org>
17068
17069 * mail/rmailmm.el (test-rmail-mime-handler)
17070 (test-rmail-mime-bulk-handler)
17071 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17072
f2a0aa3a
JL
170732011-11-21 Juri Linkov <juri@jurta.org>
17074
1154d12e
JB
17075 * calc/calc.el (calc-read-key-sequence):
17076 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 17077
9c34a344
LMI
170782011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17079
17080 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17081 Tell the caller that the next line needs recomputation, even
17082 though it doesn't start a sexp (bug#10094).
17083
f04a3be9
SM
170842011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17085
17086 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17087
7978747f
SM
170882011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17089
f04a3be9
SM
17090 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17091 Use force-same-window.
7978747f 17092
fe7a3057
JB
170932011-11-20 Juanma Barranquero <lekktu@gmail.com>
17094
17095 * descr-text.el (describe-char-unicode-data):
17096 * json.el (json-string-escape):
17097 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17098 (Footnote-unicode, Footnote-style-p):
17099 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17100
24901d61
CY
171012011-11-20 Chong Yidong <cyd@gnu.org>
17102
17103 * window.el (replace-buffer-in-windows): Restore interactive spec.
17104
bac7ff22
SM
171052011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17106
24f3d7b9
SM
17107 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17108
bac7ff22
SM
17109 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17110 (byte-compile-global-not-obsolete-vars): New var.
17111 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17112 Use it.
17113 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17114
cd1181db
JB
171152011-11-20 Juanma Barranquero <lekktu@gmail.com>
17116
17117 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17118 * progmodes/pascal.el (electric-pascal-equal):
17119 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17120 * xml.el (xml-substitute-special): Fix typos.
17121
7fb18e9e
GM
171222011-11-20 Glenn Morris <rgm@gnu.org>
17123
17124 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17125 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17126 Doc fixes.
17127 (rmail-decode-mime-charset): Mark as obsolete.
17128
17129 * mail/rmailsum.el (rmail-message-regexp-p-1):
17130 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17131 Before using mime functions, check they are set. (Bug#10077)
17132
d5a6b3ba
JL
171332011-11-19 Juri Linkov <juri@jurta.org>
17134
17135 * info.el (Info-finder-find-node): Use `package--builtins' instead
17136 of `package-alist'. Use node names formed by the pattern "Keyword "
17137 and the keyword name.
17138
e981b61f
AS
171392011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17140
1d00653d 17141 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 17142
3ffbc301
JL
171432011-11-19 Juri Linkov <juri@jurta.org>
17144
17145 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17146 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17147 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17148 `old-history', `old-history-forward'. Add let-binding
17149 `window-selected'. Remove calls to `kill-buffer',
17150 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17151 before calling `Info-find-node', so `Info-find-node-2' will reread
17152 the Info file. Restore window positions only when `window-selected'
17153 is non-nil.
17154
30c62133
JL
171552011-11-19 Juri Linkov <juri@jurta.org>
17156
17157 * isearch.el (isearch-lazy-highlight-new-loop):
17158 Remove condition `(not isearch-error)'. (Bug#9918)
17159
17160 * misearch.el (multi-isearch-search-fun): Add condition
17161 `(not bound)' to ignore lazy-highlighting search.
17162 Add the search-failed message "end of multi" when the end of
17163 multi-sequence is reached. Uncapitalize the search-failed
17164 message "Repeat for next buffer".
17165
17166 * info.el (Info-search): Add the search-failed message
17167 "end of the manual" when the end of the manual is reached
17168 in Isearch mode.
17169
645ca9cf
JL
171702011-11-19 Juri Linkov <juri@jurta.org>
17171
17172 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17173 Use non-destructive `remove' instead of `delete' because
17174 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17175 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17176
df754f66
JL
171772011-11-19 Juri Linkov <juri@jurta.org>
17178
17179 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17180 to nil instead of binding `search-ring' and `regexp-search-ring'.
17181 (Bug#9185)
17182
0e23d96a
EZ
171832011-11-19 Eli Zaretskii <eliz@gnu.org>
17184
17185 * simple.el (line-move): Force movement by logical lines for any
17186 hscrolled window, not only when auto-hscroll-mode is on.
17187 (line-move-visual): Update doc string to that effect. (Bug#10076)
17188
8a6ccb66
AS
171892011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17190
17191 * language/european.el (macintosh): Define as alias for mac-roman.
17192
49ae5b39
EZ
171932011-11-19 Eli Zaretskii <eliz@gnu.org>
17194
17195 * mail/rmailmm.el (rmail-mime-display-header)
17196 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17197 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17198 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17199 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17200 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17201 of a raw aref.
17202 (rmail-mime-entity-segment): To get past the tagline, move forward
17203 2 more lines, to account for the 2 empty lines that precede and
17204 follow the line with the buttons.
17205 (rmail-mime-update-tagline): Move one more line, to get past the
17206 empty line that follows the buttons in the tagline. (Bug#9520)
17207
c56cad4a
MR
172082011-11-19 Martin Rudalics <rudalics@gmx.at>
17209
17210 * window.el (window-max-delta-1, window-min-delta-1)
17211 (window-min-size-1, window-state-get-1, window-state-put-1)
17212 (window-state-put-2): Use "window--" prefix.
17213
cbe71af3
SM
172142011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17215
2ad52c60
SM
17216 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17217 (smie-warning-count): New var.
17218 (smie-set-prec2tab): Use it.
17219 (smie-bnf->prec2): Improve warnings. Add docstring.
17220 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17221 (smie-bnf--set-class): New function.
17222 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17223 corner case.
17224
6944dbc1
SM
17225 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17226 (compilation-error-properties, compilation-move-to-column):
17227 Handle compilation-first-column while in the target buffer.
17228
c400c4d7
SM
17229 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17230 Don't hardcode point-min==1.
17231
6dbe3e96
SM
17232 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17233 (eshell-rewrite-for-command): Remove workaround.
17234 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17235 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17236 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17237
cbe71af3
SM
17238 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17239
a8e1496d
GM
172402011-11-17 Glenn Morris <rgm@gnu.org>
17241
17242 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17243 Ignore buffer-local generated-autoload-file if it is the same
17244 as the global value. (Bug#10049)
17245
df85d315
JB
172462011-11-17 Juanma Barranquero <lekktu@gmail.com>
17247
17248 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17249 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17250 (reftex-toc-previous-heading, reftex-toc-max-level)
17251 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17252 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17253 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17254 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17255 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17256 (reftex-toc-rename-label, reftex-toc-visit-location)
17257 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17258 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17259 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17260 leaving "*toc*" only for references to the buffer.
17261
a0c2d0ae
MR
172622011-11-17 Martin Rudalics <rudalics@gmx.at>
17263
17264 * window.el (window-resize, delete-window, split-window):
17265 Replace window-splits by window-combination-resize.
1d00653d 17266 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 17267
35c0bac8
GM
172682011-11-17 Glenn Morris <rgm@gnu.org>
17269
17270 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17271 Make bash entry derive from sh entry, not shell entry.
17272
d0c8fc8a
MA
172732011-11-16 Michael Albinus <michael.albinus@gmx.de>
17274
7262a87c
MA
17275 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17276 local file name.
17277
7877f373
JB
172782011-11-16 Juanma Barranquero <lekktu@gmail.com>
17279
17280 * menu-bar.el (menu-bar-file-menu):
17281 * printing.el (pr-ps-utility):
17282 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17283 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17284 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17285 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17286 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17287 (icalendar--convert-cyclic-to-ical)
17288 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17289 (icalendar--convert-ical-to-diary)
17290 (icalendar--convert-recurring-to-diary)
17291 (icalendar--convert-non-recurring-all-day-to-diary)
17292 (icalendar-import-format-sample):
17293 * progmodes/idlw-shell.el (idlwave-shell-mode):
17294 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17295 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17296 (vhdl-ps-print-init): Fix typos.
17297
10649b82
KM
172982011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17299
9d0cfcd6
GM
17300 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17301 FSF and collapse date sequence, obscure author/maintainer email address
17302 better, remove extra version line, track relocation of author's webpage.
10649b82 17303
9d0cfcd6
GM
17304 * progmodes/python.el (python-pdbtrack-input-prompt)
17305 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17306 regular python pdb prompts. Adjustments shamelessly taken exactly as
17307 suggested in EmacsWiki page (tiny change):
17308 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 17309
58179cce
JB
173102011-11-16 Juanma Barranquero <lekktu@gmail.com>
17311
17312 * expand.el (expand-pos, expand-index, expand-point):
17313 Remove redundant info from docstring.
17314 (expand-add-abbrevs): Doc fix.
17315 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17316 (expand-sample-perl-mode-expand-list): Fix typos.
17317
17318 * net/dbus.el (dbus-event-member-name):
17319 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17320 * term/pc-win.el (msdos-create-frame-with-faces):
17321 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17322
b6f67890
MR
173232011-11-16 Martin Rudalics <rudalics@gmx.at>
17324
17325 * window.el (split-window, window-state-get-1)
17326 (window-state-put-1, window-state-put-2): Rename occurrences of
17327 window-nest to window-combination-limit.
1d00653d 17328 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 17329
ce7ddba0
CY
173302011-11-16 Chong Yidong <cyd@gnu.org>
17331
17332 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17333 regexp (Bug#10033).
17334
3ae704f4
SM
173352011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17336
17337 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17338 `completing-read' will remove *Completions* and will preserve
17339 current-buffer for us.
17340 (tmm-add-prompt): Users of *Completions* will always (re)set its
17341 major mode.
17342 (tmm-old-comp-map): Remove.
17343
6ad1cdde
GM
173442011-11-16 Glenn Morris <rgm@gnu.org>
17345
17346 * mail/rmailedit.el: Require rmailmm when compiling.
17347 (rmail-old-mime-state): New declaration.
17348 (rmail-edit-current-message): If editing a mime message,
17349 edit the "raw" message from the mbox buffer.
17350 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17351
d20faa20
GM
173522011-11-15 Glenn Morris <rgm@gnu.org>
17353
17354 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17355 which wasn't being used. Add optional arg to force given state.
17356 (rmail-mime): Add optional arg to force given state.
17357
c7015153
JB
173582011-11-15 Juanma Barranquero <lekktu@gmail.com>
17359
17360 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17361 * frame.el (display-mm-dimensions-alist):
17362 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17363 (outline-move-subtree-down):
17364 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17365 (newsticker--treeview-do-get-node):
17366 * net/quickurl.el (quickurl-list-buffer-name):
17367 * progmodes/dcl-mode.el (dcl-mode):
17368 * progmodes/gdb-mi.el (gdb-mapcar*):
17369 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17370
45261b50
GM
173712011-11-15 Glenn Morris <rgm@gnu.org>
17372
17373 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17374 in a boolean sense, so just make it a boolean, and fix the doc.
17375 (rmail-show-mime-function, rmail-mime-feature)
17376 (rmail-require-mime-maybe): Doc fixes.
17377 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17378
17379 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17380
0d26e0b6
JB
173812011-11-15 Juanma Barranquero <lekktu@gmail.com>
17382
17383 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17384 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17385 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17386 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17387
447f30f6
GM
173882011-11-15 Glenn Morris <rgm@gnu.org>
17389
672b871d
GM
17390 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17391 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17392 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17393 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17394 (rmail-mime, rmail-show-mime): Doc fixes.
17395
f6aa5bb1
GM
17396 * term/ns-win.el (mode-line-frame-identification):
17397 Leave it alone. (Bug#10051)
17398
947cd66b
GM
17399 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17400
447f30f6
GM
17401 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17402 Handle empty buffers. (Bug#9978)
17403
0b381c7e
JB
174042011-11-14 Juanma Barranquero <lekktu@gmail.com>
17405
17406 * international/mule.el (define-charset):
17407 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17408 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17409 * progmodes/verilog-mode.el (verilog-backward-token):
17410 * textmodes/ispell.el (lookup-words):
17411 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17412
71e027ac
GM
174132011-11-14 Glenn Morris <rgm@gnu.org>
17414
56632ce4
GM
17415 * progmodes/executable.el
17416 (executable-make-buffer-file-executable-if-script-p):
17417 Handle file-modes returning nil.
17418
40500957
GM
17419 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17420 message - not necessary, and causes problems. (Bug#9831)
17421
071c2340
GM
17422 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17423
d3cfca60
GM
17424 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17425
71e027ac
GM
17426 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17427 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17428 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17429
89d61221
MR
174302011-11-12 Martin Rudalics <rudalics@gmx.at>
17431
17432 * window.el (window-resize, delete-window): Use window-splits
17433 variable instead of function.
17434 (window-state-get-1, window-state-put-2, window-state-put):
17435 Don't deal with windows' splits status.
17436
98282f6f
GM
174372011-11-12 Glenn Morris <rgm@gnu.org>
17438
17439 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17440 (apropos-documentation): Doc fixes.
17441
40a8bdf6
JB
174422011-11-11 Juanma Barranquero <lekktu@gmail.com>
17443
17444 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17445 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17446
65bd19ff
SM
174472011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17448
17449 * electric.el (electric-indent-post-self-insert-function): Make it
17450 possible for a char to only indent in some circumstances.
17451 (electric-indent-mode): Simplify.
17452
54f9154c
MR
174532011-11-11 Martin Rudalics <rudalics@gmx.at>
17454
17455 * window.el (windows-with-parameter): Remove unused function.
17456 (windows-at-side): Rename to window-at-side-list.
17457 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
17458 (window-side-check, window-size-ignore, window-size-fixed-1)
17459 (window-in-direction-2): Prefix with "window--".
17460 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 17461
68cbc58b
GM
174622011-11-11 Glenn Morris <rgm@gnu.org>
17463
17464 * subr.el (eval-after-load): If FILE is already loaded,
17465 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17466
b2621720
GM
174672011-11-10 Glenn Morris <rgm@gnu.org>
17468
9a4de110
GM
17469 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17470 Call svn via vc-svn-command rather than vc-do-command.
17471 (vc-svn-command): Add --non-interactive. (Bug#9993)
17472 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17473
b2621720
GM
17474 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17475 Add toggle-read-only. (Bug#7292)
17476 * files.el (toggle-read-only): Mention that it should only
17477 be used interactively. (Bug#10006)
17478
1dce7193
SM
174792011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17480
d9ac1a1e
SM
17481 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17482 Adjust regexp for OCaml warnings.
17483
0c325082
SM
17484 * electric.el (electric-pair-post-self-insert-function): Let user
17485 turn it off buffer-locally (bug#9932).
17486
90132c14
SM
17487 * progmodes/python.el (python-beginning-of-statement):
17488 Rewrite (bug#2703).
17489
1dce7193
SM
17490 * progmodes/compile.el: Better handle TABs (bug#9749).
17491 (compilation-internal-error-properties)
17492 (compilation-next-error-function): Obey the target buffer's
17493 compilation-error-screen-columns.
17494
c4e7c63a
JB
174952011-11-09 Juanma Barranquero <lekktu@gmail.com>
17496
17497 * progmodes/meta-mode.el: Remove obsolete comments.
17498 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17499 Fix typos in docstrings.
17500
2cffd681
MR
175012011-11-09 Martin Rudalics <rudalics@gmx.at>
17502
17503 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 17504 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
17505 (window--resizable): New function. Make all callers of
17506 window-resizable call window--resizable instead.
17507 (window-resizable): Rewrite in terms of window--resizable.
17508
0edcba87
GM
175092011-11-08 Glenn Morris <rgm@gnu.org>
17510
17511 * progmodes/delphi.el (delphi-mode-syntax-table):
17512 Let define-derived-mode define a proper syntax table. (Bug#9994)
17513
4b0d61e3
SM
175142011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17515
17516 * window.el: Stay away from defsubst.
17517 (window-list-no-nils): Remove.
17518 (window-state-get-1, window-state-get): Use backquote instead.
17519
cd394be1 175202011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 17521
4b0d61e3 17522 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 17523 Fix incorrect use of default argument in `completing-read'.
17524
e1c2c6f2
MR
175252011-11-08 Martin Rudalics <rudalics@gmx.at>
17526
17527 * window.el (display-buffer-function, special-display-function):
17528 Mention display-buffer-record-window but do not mention
17529 help-setup parameter in doc-strings.
b3f4a882 17530 (window-min-delta): Fix doc-string typo.
e1c2c6f2 17531
105216ed
CY
175322011-11-08 Chong Yidong <cyd@gnu.org>
17533
17534 * window.el (window-total-height, window-total-width): Doc fix.
17535 (window-body-size): Move from C.
17536 (window-body-height, window-body-width): Move to C.
17537
0a9f9ab5
SM
175382011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17539
17540 * window.el: Make special-display like display-buffer-alist (bug#9532).
17541 (display-buffer--special-action): New function, morphed
17542 from display-buffer--special.
17543 (display-buffer): Use it to handle special-display-buffers at higher
17544 priority (just after display-buffer-alist).
17545 (display-buffer-fallback-action, display-buffer--other-frame-action)
17546 (pop-to-buffer-same-window): Remove display-buffer--special.
17547
a769dd15
GM
175482011-11-07 Glenn Morris <rgm@gnu.org>
17549
17550 * calendar/cal-menu.el (cal-menu-set-date-title):
17551 Do nothing if not in a calendar. (Bug#9976)
17552
05a61ee3
SM
175532011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17554
17555 * files.el (find-file): Always use selected-window.
17556
be7f5545
MR
175572011-11-07 Martin Rudalics <rudalics@gmx.at>
17558
17559 * window.el (window-combinations): Make WINDOW argument
17560 mandatory. Rewrite doc-string.
17561 (walk-window-subtree, window-atom-check, window-min-delta)
17562 (window-max-delta, window--resize-this-window)
17563 (window--resize-root-window-vertically, window-tree)
17564 (balance-windows, window-state-put): Rewrite doc-strings as to
17565 not mention the term "subwindow".
17566 (window--resize-subwindows-skip-p): Rename to
17567 window--resize-child-windows-skip-p.
17568 (window--resize-subwindows-normal): Rename to
17569 window--resize-child-windows-normal.
17570 (window--resize-subwindows): Rename to
17571 window--resize-child-windows.
17572 (window-or-subwindow-p): Rename to window--in-subtree-p.
17573
3c6702ef
ML
175742011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17575
17576 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17577 Ensure that mbox format messages end in two newlines (Bug#9974).
17578
49745b39
CY
175792011-11-06 Chong Yidong <cyd@gnu.org>
17580
17581 * window.el (window-combination-p): Function deleted; its
17582 side-effect is not used in any existing code.
17583 (window-combinations, window-combined-p): Call window-*-child
17584 directly.
17585
24300f5f
CY
175862011-11-05 Chong Yidong <cyd@gnu.org>
17587
17588 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
17589 (window-size-ignore, window-state-get): Callers changed.
17590 (window-normalize-window): Rename from window-normalize-any-window.
17591 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 17592 (window-normalize-live-window): Delete.
447f16b8
CY
17593 (window-combination-p, window-combined-p, window-combinations)
17594 (walk-window-subtree, window-atom-root, window-min-size)
17595 (window-sizable, window-sizable-p, window-size-fixed-p)
17596 (window-min-delta, window-max-delta, window-resizable)
17597 (window-resizable-p, window-full-height-p, window-full-width-p)
17598 (window-current-scroll-bars, window-point-1, set-window-point-1)
17599 (window-at-side-p, window-in-direction, window-resize)
17600 (adjust-window-trailing-edge, maximize-window, minimize-window)
17601 (window-deletable-p, delete-window, delete-other-windows)
17602 (record-window-buffer, unrecord-window-buffer)
17603 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17604 (quit-window, split-window, window-state-put)
17605 (set-window-text-height, fit-window-to-buffer)
17606 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 17607
89bd5ee1
EZ
176082011-11-04 Eli Zaretskii <eliz@gnu.org>
17609
53479029
EZ
17610 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17611 rfc2047-decode-string.
17612 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17613 warnings.
17614
89bd5ee1
EZ
17615 * window.el (window-body-height, window-body-width): Mention in
17616 the doc string that the return values are in frame's canonical
17617 units. (Bug#9949)
17618
bd17fdee
AM
176192011-11-03 Alan Mackenzie <acm@muc.de>
17620
17621 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17622 change in cc-engine.el.
17623
acc825c5
SM
176242011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17625
17626 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17627
1885e5b8
MR
176282011-11-02 Martin Rudalics <rudalics@gmx.at>
17629
17630 * window.el (quit-window): Call unrecord-window-buffer after
17631 showing another buffer in the window. (Bug#9937)
acc825c5 17632 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 17633
ebe06da9
JB
176342011-11-02 Juanma Barranquero <lekktu@gmail.com>
17635
17636 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17637 Accept status with more than 9 shelves. (Bug#9935)
17638 Reported by Colin D Bennett <colin@gibibit.com>.
17639
4ee88440
MR
176402011-11-01 Martin Rudalics <rudalics@gmx.at>
17641
17642 * help.el (with-help-window): Don't reference
17643 temp-buffer-show-specifiers in doc-string.
17644
08e1d82c
AS
176452011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17646
17647 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17648 menu-item.
17649
84bd6e9e
VJL
176502011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17651
17652 * whitespace.el: New version 13.2.2.
17653 (whitespace-newline-mode): Disable properly. Reported by Sarah
17654 <EmacsWiki>.
17655
dba0634a
UJ
176562011-10-30 Ulf Jasper <ulf.jasper@web.de>
17657
17658 * net/newst-treeview.el: Remove "Time-stamp".
17659 (newsticker--group-manage-orphan-feeds): Do not call
17660 newsticker--treeview-tree-update.
db22a3c2
JB
17661 (newsticker-treeview-update, newsticker-treeview):
17662 Call newsticker--treeview-tree-update if necessary.
dba0634a 17663
3d8daefe
MR
176642011-10-30 Martin Rudalics <rudalics@gmx.at>
17665
17666 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
17667 (window-iso-combinations): Remove "iso-" infix.
17668 Suggested by Chong Yidong.
3d8daefe
MR
17669 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17670 (window-max-delta-1, window-resize, window--resize-siblings)
17671 (window--resize-this-window, adjust-window-trailing-edge)
17672 (split-window, balance-windows-1)
17673 (shrink-window-if-larger-than-buffer):
17674 * calendar/calendar.el (calendar-generate-window):
db22a3c2 17675 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 17676
1bc4c3ae
SM
176772011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17678
17679 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17680 in place (bug#9907).
17681 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17682 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17683 (eshell-structure-basic-command, eshell-rewrite-while-command)
17684 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17685 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17686 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17687 (eshell-do-pipelines-synchronously, eshell-eval-command):
17688 Use backquotes and prefer setq to set.
17689 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17690 (eshell-macrop): Use functionp.
c1e2f5fa 17691 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 17692
30b65d9c
CY
176932011-10-30 Chong Yidong <cyd@gnu.org>
17694
17695 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17696 instead of set-mark (Bug#9810).
17697
2d197ffb
CY
176982011-10-30 Chong Yidong <cyd@gnu.org>
17699
17700 * window.el (split-window-below, split-window-right): Rename from
17701 split-window-above-each-other and split-window-side-by-side
17702 respectively. All callers changed.
17703 (split-window-sensibly, split-window-sensibly): Use them.
17704 (split-window-keep-point): Doc fix.
17705
17706 * isearch.el: Add isearch-scroll property to split-window-below
17707 and split-window-right.
17708
17709 * follow.el (follow-mode):
17710 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17711 * progmodes/ada-xref.el (ada-gdb-application):
17712 * emulation/vip.el (vip-buffer-in-two-windows):
17713 * image-dired.el (image-dired-dired-with-window-configuration):
17714 * dired-x.el (dired-do-find-marked-files):
17715 * dired.el (dired-pop-to-buffer):
17716 * bs.el (bs--show-with-configuration):
17717 * vc/emerge.el (emerge-setup-windows):
17718 * textmodes/two-column.el (2C-two-columns):
17719 * textmodes/reftex-toc.el (reftex-toc):
17720 * progmodes/gdb-mi.el (gdb-setup-windows):
17721 * progmodes/fortran.el (fortran-window-create):
17722 * net/newst-treeview.el (newsticker--treeview-window-init):
17723 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17724 * emulation/tpu-edt.el (tpu-gold-map):
17725 * emulation/crisp.el (crisp-mode-map):
17726 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17727
38bb2ca8
CY
177282011-10-29 Chong Yidong <cyd@gnu.org>
17729
aa4de341
CY
17730 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17731
e1eb5385
CY
17732 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17733
5d2ece3c
CY
17734 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17735 forged Ispell output (Bug#7904).
17736
38bb2ca8
CY
17737 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17738
d0af9f77
SM
177392011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17740
17741 * doc-view.el: Avoid ugly errors about not finding nil.
17742 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17743 (doc-view-dvipdf-program, doc-view-unoconv-program)
17744 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17745 Avoid nil or absolute file name as default value.
17746 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17747
52bedd34
AM
177482011-10-28 Alan Mackenzie <acm@muc.de>
17749
db22a3c2 17750 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 17751
7e43cfa5
AM
177522011-10-28 Alan Mackenzie <acm@muc.de>
17753
17754 Amend the handling of c-beginning/end-of-defun in nested declaration
17755 scopes.
17756
52bedd34
AM
17757 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17758 cc-langs.el. Change it to a defcustom.
7e43cfa5 17759
52bedd34
AM
17760 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17761 cc-vars.el.
7e43cfa5 17762
d0af9f77
SM
17763 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17764 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 17765
52bedd34 17766 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 17767 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
17768 (c-widen-to-enclosing-decl-scope): New function.
17769 (c-while-widening-to-decl-block): New macro.
17770 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17771 outward for defun boundaries, and correspondingly change symbol
17772 `respect-enclosure' to `go-outward'.
17773 (c-declaration-limits): Change algorithm to report only the "innermost"
17774 defun's boundaries.
17775
1a2ce9ee
DD
177762011-10-28 Deniz Dogan <deniz@dogan.se>
17777
17778 * net/rcirc.el (rcirc-mode): Use hard newlines.
17779
bc97a826
AM
177802011-10-28 Alan Mackenzie <acm@muc.de>
17781
17782 Amend to indent and fontify macros "which include their own semicolon"
17783 correctly, using the "virtual semicolon" mechanism.
17784
52bedd34 17785 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 17786
d0af9f77 17787 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 17788 Recode to scan one line at a time rather than having \n and \r
58179cce 17789 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 17790 (c-forward-label): Amend for virtual semicolons.
58179cce 17791 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 17792
52bedd34
AM
17793 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17794 of the new C macros.
bc97a826 17795
52bedd34 17796 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
17797 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17798 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
17799 (c-opt-cpp-macro-define): Make into a full language variable.
17800 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17801 AWK Mode (including \n, \r) removed, no longer needed.
17802
d0af9f77
SM
17803 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17804 Invoke c-make-macro-with-semi-re.
bc97a826 17805
52bedd34
AM
17806 * progmodes/cc-vars.el (c-macro-with-semi-re):
17807 (c-macro-names-with-semicolon): New variables.
58179cce 17808 (c-make-macro-with-semi-re): New function.
bc97a826 17809
7a6c0941
SM
178102011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17811
17812 * vc/log-edit.el: Fill empty field rather than adding new one.
17813 (log-edit-add-field): New function.
17814 (log-edit-insert-changelog): Use it.
17815
b0c4cdcf
ML
178162011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17817
17818 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17819
ee1f1da9
SM
178202011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17821
17822 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17823 (gdb--check-interpreter): New function.
17824 (gdb): Use it.
17825
51bc5f8b
GM
178262011-10-27 Glenn Morris <rgm@gnu.org>
17827
416a2c45
GM
17828 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17829 (least-positive-float, least-negative-float)
17830 (least-positive-normalized-float, least-negative-normalized-float)
17831 (float-epsilon, float-negative-epsilon):
17832 Remove unnecessary declarations.
17833
17834 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17835 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17836 (least-positive-float, least-negative-float)
17837 (least-positive-normalized-float, least-negative-normalized-float)
17838 (float-epsilon, float-negative-epsilon): Add doc-strings,
17839 based on those in cl.texi.
17840
51bc5f8b
GM
17841 * files.el (set-visited-file-name): If the major-mode changed,
17842 reload the local variables. (Bug#9796)
17843
15de15c6
CY
178442011-10-27 Chong Yidong <cyd@gnu.org>
17845
17846 * subr.el (change-major-mode-after-body-hook): New hook.
17847 (run-mode-hooks): Run it.
17848
ee1f1da9
SM
17849 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17850 Use change-major-mode-before-body-hook.
15de15c6
CY
17851
17852 * simple.el (fundamental-mode):
17853 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17854 change introducing fundamental-mode-hook.
17855
5430d399
JB
178562011-10-26 Juanma Barranquero <lekktu@gmail.com>
17857
acc825c5 17858 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 17859
ad74a69e
MA
178602011-10-26 Michael Albinus <michael.albinus@gmx.de>
17861
17862 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 17863 tramp.el explicitly. (Bug#7583)
ad74a69e 17864
71d4c2a5
SM
178652011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17866
17867 * progmodes/octave-mod.el:
17868 * progmodes/octave-inf.el: Update maintainer.
17869
b1f6fa26
CY
178702011-10-26 Chong Yidong <cyd@gnu.org>
17871
17872 * subr.el (with-wrapper-hook): Rewrite doc.
17873
3f04efd6
MA
178742011-10-25 Michael Albinus <michael.albinus@gmx.de>
17875
17876 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 17877 filenames "/method:foo:". (Bug#9793)
3f04efd6 17878
410488d3
SM
178792011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17880
17881 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17882 (bug#9865).
17883
c1ebb47e
GM
178842011-10-24 Glenn Morris <rgm@gnu.org>
17885
17886 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17887
7f5c46c7
MA
178882011-10-24 Michael Albinus <michael.albinus@gmx.de>
17889
17890 * notifications.el: Add the requirement of a running D-Bus session
17891 bus to the Commentary.
17892
db2440b6
JL
178932011-10-24 Juri Linkov <juri@jurta.org>
17894
17895 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17896 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17897 (Bug#9364)
17898
feecf435
JL
178992011-10-24 Juri Linkov <juri@jurta.org>
17900
17901 * info.el (Info-following-node-name-re): Add newline to the list
17902 of allowed characters for leading space. (Bug#9824)
17903
a3839de2
SM
179042011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17905
acc825c5
SM
17906 * progmodes/octave-inf.el (inferior-octave-mode-map):
17907 Fix C-c C-h binding.
a3839de2
SM
17908 * progmodes/octave-mod.el (octave-help): Remove.
17909
09388e76
MA
179102011-10-23 Michael Albinus <michael.albinus@gmx.de>
17911
17912 Sync with Tramp 2.2.3.
17913
17914 * net/tramp-cache.el (top): Pacify byte-compiler using
17915 `init-file-user' and `site-run-file'.
17916
17917 * net/trampver.el: Update release number.
17918
86c60681
CY
179192011-10-23 Chong Yidong <cyd@gnu.org>
17920
17921 * files.el (toggle-read-only): Remove obsolete comment about
17922 version control.
17923
17924 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17925 for toggle-read-only. Note that this hasn't called vc-next-action
17926 since 2008-05-02, though it wasn't documented at the time.
17927
a3839de2
SM
17928 * vc/ediff-init.el (ediff-toggle-read-only-function):
17929 Use toggle-read-only.
86c60681 17930
cd5495ff
AM
179312011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17932
17933 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17934 of c-parse-state.
17935
00b77525 17936 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 17937 correct faulty logical expression.
cd5495ff
AM
17938 (c-parse-state-state, c-record-parse-state-state):
17939 (c-replay-parse-state-state): New defvar/defuns.
17940 (c-debug-parse-state): Use new functions.
17941
42ee24ed
MR
179422011-10-22 Martin Rudalics <rudalics@gmx.at>
17943
17944 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 17945 last fix. Use window-in-direction correctly.
42ee24ed 17946
a7dee7e7
CY
179472011-10-21 Chong Yidong <cyd@gnu.org>
17948
17949 * progmodes/idlwave.el (idlwave-mode):
17950 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
17951 require-final-newline; that's done in prog-mode.
17952 Suggested by Stefan Monnier.
a7dee7e7 17953
e07b9a6d
MR
179542011-10-21 Martin Rudalics <rudalics@gmx.at>
17955
17956 * mouse.el (mouse-drag-window-above)
17957 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17958 (mouse-drag-mode-line-1, mouse-drag-header-line)
17959 (mouse-drag-vertical-line-rightward-window): Remove.
17960 (mouse-drag-line): New function.
17961 (mouse-drag-mode-line, mouse-drag-header-line)
17962 (mouse-drag-vertical-line): Call mouse-drag-line.
17963 * window.el (window-at-side-p, windows-at-side): New functions.
17964
7e1361d9
UM
179652011-10-21 Ulrich Mueller <ulm@gentoo.org>
17966
17967 * tar-mode.el (tar-grind-file-mode):
17968 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17969
30fcaf3a
CY
179702011-10-21 Chong Yidong <cyd@gnu.org>
17971
17972 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
17973 * progmodes/vera-mode.el (vera-mode):
17974 Use mode-require-final-newline.
30fcaf3a 17975
516eddb0
GM
179762011-10-20 Glenn Morris <rgm@gnu.org>
17977
db22a3c2 17978 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 17979
10d5f513
CS
179802011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17981
17982 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17983
ac6c8639
CY
179842011-10-20 Chong Yidong <cyd@gnu.org>
17985
17986 * emulation/cua-base.el (cua-mode):
17987 * mail/footnote.el (footnote-mode):
17988 * mail/mailabbrev.el (mail-abbrevs-mode):
17989 * net/xesam.el (xesam-minor-mode):
17990 * progmodes/bug-reference.el (bug-reference-mode):
17991 * progmodes/cap-words.el (capitalized-words-mode):
17992 * progmodes/compile.el (compilation-minor-mode)
17993 (compilation-shell-minor-mode):
17994 * progmodes/gud.el (gud-tooltip-mode):
17995 * progmodes/hideif.el (hide-ifdef-mode):
17996 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17997 * progmodes/subword.el (subword-mode):
17998 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17999 * progmodes/which-func.el (which-function-mode):
18000 * term/tvi970.el (tvi970-set-keypad-mode):
18001 * term/vt100.el (vt100-wide-mode):
18002 * textmodes/flyspell.el (flyspell-mode):
18003 * textmodes/ispell.el (ispell-minor-mode):
18004 * textmodes/nroff-mode.el (nroff-electric-mode):
18005 * textmodes/paragraphs.el (use-hard-newlines):
18006 * textmodes/refill.el (refill-mode):
18007 * textmodes/reftex.el (reftex-mode):
18008 * textmodes/rst.el (rst-minor-mode):
18009 * textmodes/sgml-mode.el (html-autoview-mode)
18010 (sgml-electric-tag-pair-mode):
18011 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18012 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18013 * emulation/crisp.el (crisp-mode):
18014 * emacs-lisp/eldoc.el (eldoc-mode):
18015 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18016 minor mode behavior.
18017
aa42ab43
JL
180182011-10-19 Juri Linkov <juri@jurta.org>
18019
18020 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18021 the list of hard-coded chars with escape-glyph face.
18022
89400f1d
SM
180232011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18024
18025 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18026
305c07f6
MA
180272011-10-19 Michael Albinus <michael.albinus@gmx.de>
18028
18029 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18030 running process.
18031
13754b54
GM
180322011-10-19 Glenn Morris <rgm@gnu.org>
18033
18034 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18035 Ignore ignored files. (Bug#9726)
18036
06e21633
CY
180372011-10-19 Chong Yidong <cyd@gnu.org>
18038
18039 Doc fix for minor modes, stating that an omitted argument enables
18040 the mode unconditionally when called from Lisp.
18041
18042 * abbrev.el (abbrev-mode):
18043 * allout.el (allout-mode):
18044 * autoinsert.el (auto-insert-mode):
18045 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18046 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18047 (global-auto-revert-mode):
18048 * battery.el (display-battery-mode):
18049 * composite.el (global-auto-composition-mode)
18050 (auto-composition-mode):
18051 * delsel.el (delete-selection-mode):
18052 * desktop.el (desktop-save-mode):
18053 * dired-x.el (dired-omit-mode):
18054 * dirtrack.el (dirtrack-mode):
18055 * doc-view.el (doc-view-minor-mode):
18056 * double.el (double-mode):
18057 * electric.el (electric-indent-mode, electric-pair-mode):
18058 * emacs-lock.el (emacs-lock-mode):
18059 * epa-hook.el (auto-encryption-mode):
18060 * follow.el (follow-mode):
18061 * font-core.el (font-lock-mode):
18062 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18063 * help.el (temp-buffer-resize-mode):
18064 * hilit-chg.el (highlight-changes-mode)
18065 (highlight-changes-visible-mode):
18066 * hi-lock.el (hi-lock-mode):
18067 * hl-line.el (hl-line-mode, global-hl-line-mode):
18068 * icomplete.el (icomplete-mode):
18069 * ido.el (ido-everywhere):
18070 * image-file.el (auto-image-file-mode):
18071 * image-mode.el (image-minor-mode):
18072 * iswitchb.el (iswitchb-mode):
18073 * jka-cmpr-hook.el (auto-compression-mode):
18074 * linum.el (linum-mode):
18075 * longlines.el (longlines-mode):
18076 * master.el (master-mode):
18077 * mb-depth.el (minibuffer-depth-indicate-mode):
18078 * menu-bar.el (menu-bar-mode):
18079 * minibuf-eldef.el (minibuffer-electric-default-mode):
18080 * mouse-sel.el (mouse-sel-mode):
18081 * msb.el (msb-mode):
18082 * mwheel.el (mouse-wheel-mode):
18083 * outline.el (outline-minor-mode):
18084 * paren.el (show-paren-mode):
18085 * recentf.el (recentf-mode):
18086 * reveal.el (reveal-mode, global-reveal-mode):
18087 * rfn-eshadow.el (file-name-shadow-mode):
18088 * ruler-mode.el (ruler-mode):
18089 * savehist.el (savehist-mode):
18090 * scroll-all.el (scroll-all-mode):
18091 * scroll-bar.el (scroll-bar-mode):
18092 * server.el (server-mode):
18093 * shell.el (shell-dirtrack-mode):
18094 * simple.el (auto-fill-mode, transient-mark-mode)
18095 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18096 (line-number-mode, column-number-mode, size-indication-mode)
18097 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18098 * strokes.el (strokes-mode):
18099 * time.el (display-time-mode):
18100 * t-mouse.el (gpm-mouse-mode):
18101 * tool-bar.el (tool-bar-mode):
18102 * tooltip.el (tooltip-mode):
18103 * type-break.el (type-break-mode-line-message-mode)
18104 (type-break-query-mode):
18105 * view.el (view-mode):
18106 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18107 (global-whitespace-mode, global-whitespace-newline-mode):
18108 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18109
a3839de2
SM
18110 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18111 Fix autogenerated docstring.
06e21633 18112
5214e501
JL
181132011-10-19 Juri Linkov <juri@jurta.org>
18114
18115 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18116 by checking environment variables "DESKTOP_SESSION" and
18117 "XDG_CURRENT_DESKTOP". (Bug#9779)
18118
195f8db9
JL
181192011-10-19 Juri Linkov <juri@jurta.org>
18120
18121 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18122 (browse-url-chromium-program, browse-url-chromium-arguments):
18123 New defcustoms.
18124 (browse-url-default-browser): Check for `browse-url-chromium' and
18125 call `browse-url-chromium-program'.
18126 (browse-url-chromium): New command. (Bug#9779)
18127
343a34ff
JB
181282011-10-18 Juanma Barranquero <lekktu@gmail.com>
18129
18130 * facemenu.el (list-colors-duplicates): On Windows, detect more
18131 duplicates by assuming that only colors matching "^System" are
18132 special "system colors". (Bug#9722)
18133
6978a151
SM
181342011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18135
18136 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18137 to distinguish the author from the committer.
18138
6a80b297
MA
181392011-10-18 Michael Albinus <michael.albinus@gmx.de>
18140
18141 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18142
b31a5677
JK
181432011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18144
18145 * international/mule.el (sgml-html-meta-auto-coding-function):
18146 Add support for detecting encoding in HTML5 specified only as
18147 <meta charset="UTF-8">. Implementation just makes http-equiv and
18148 content-type parts from HTML4 encoding string optional. (Bug#9716)
18149
80c6d77f
GM
181502011-10-18 Glenn Morris <rgm@gnu.org>
18151
18152 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18153
08b0fee8
CY
181542011-10-18 Chong Yidong <cyd@gnu.org>
18155
18156 * faces.el (cursor): Doc fix.
18157
67e729a5
CY
181582011-10-17 Chong Yidong <cyd@gnu.org>
18159
18160 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18161
343a34ff 181622011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
18163
18164 * dirtrack.el (dirtrack): Support shell buffers with path
18165 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18166
0bc06380
TZ
181672011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18168
18169 * json.el: Bump version to 1.3 and note change in History.
18170 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18171
8b79f3e0
SM
181722011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18173
5a7c536b
SM
18174 * comint.el (comint-insert-input, comint-send-input)
18175 (comint-get-old-input-default, comint-backward-matching-input)
18176 (comint-next-prompt): Use nil instead of `input' for field property of
18177 past user input (bug#114).
18178
96a8a0df
SM
18179 * minibuffer.el (completion--replace): Inherit surrounding properties
18180 (bug#114).
18181 (minibuffer-complete-and-exit): Use it.
18182
8b79f3e0
SM
18183 * comint.el (comint--table-subvert): Quote the all-completions output
18184 (bug#9160).
18185
b8f7ff0d
MR
181862011-10-17 Martin Rudalics <rudalics@gmx.at>
18187
8b79f3e0 18188 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 18189
b8f7ff0d 18190 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 18191 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
18192 entries and separate them from frame entries.
18193
c235b555
GM
181942011-10-15 Glenn Morris <rgm@gnu.org>
18195
18196 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18197 Doc fixes.
18198
6bbfa6e1
CY
181992011-10-15 Chong Yidong <cyd@stupidchicken.com>
18200
8b79f3e0
SM
18201 * net/network-stream.el (network-stream-open-starttls):
18202 Improve detection of failure due to lack of TLS support.
ec5c990d 18203
6bbfa6e1
CY
18204 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18205 putting the input text in front and in bold.
18206
98488977
SM
182072011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18208
3d1337be
SM
18209 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18210
ee0b45e4
SM
18211 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18212 empty buffer.
18213
98488977
SM
18214 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18215 unread-command-events rather than pushing yet-another event.
18216
186f4720
EZ
182172011-10-14 Eli Zaretskii <eliz@gnu.org>
18218
18219 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18220 the explanation of the possible choices. Make the options passed
18221 to completing-read shorter.
18222
8b7a997c
AM
182232011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18224
18225 * textmodes/flyspell.el (flyspell-large-region): Make sure
18226 extended character mode is used if defined (Bug#1339).
18227
12587bbb
EZ
182282011-10-13 Eli Zaretskii <eliz@gnu.org>
18229
18230 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
18231 character info for LRE, LRO, RLE, and RLO characters by appending
18232 an invisible PDF.
12587bbb 18233
bad41229
SM
182342011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18235
18236 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18237 even in case of error; add debug spec; simplify data flow.
18238 (with-timeout-handler): Remove.
18239
28dbc92f
MA
182402011-10-12 Michael Albinus <michael.albinus@gmx.de>
18241
18242 Fix Bug#6019, Bug#9315.
18243
18244 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18245 complete `buffer-file-name', the local file name part could look
18246 remotely (for example on VMS).
18247
18248 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18249 `tramp-run-real-handler'.
18250 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18251 already quoted by '"'.
18252
18253 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18254 Let `file-name-handler-alist' be nil, the local file name part
18255 could look remotely (for example on VMS).
18256
e1b0b23a
SM
182572011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18258
18259 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18260 from here...
18261 (flyspell-post-command-hook): ...to here.
18262
a120bde9
SM
182632011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18264
18265 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18266 if not needed.
18267 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18268 using completion. Protect against "slow" callers.
18269 Remove the "message hack".
18270
7ce7717b
JL
182712011-10-11 Juri Linkov <juri@jurta.org>
18272
18273 * isearch.el (isearch-lazy-highlight-word): New variable.
18274 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18275 Use it. (Bug#9727)
18276
c02ee9d6
GM
182772011-10-11 Glenn Morris <rgm@gnu.org>
18278
18279 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18280 like f90-previous-statement does.
18281
93e616fd 182822011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18283
1f190e73 18284 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
18285 only in interactive use, to avoid error.
18286
af7b6078
SM
182872011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18288
18289 * minibuffer.el (completion-file-name-table): Fix last change,
18290 i.e. ignore normal errors but not the other ones.
18291
0563dae9
MR
182922011-10-10 Martin Rudalics <rudalics@gmx.at>
18293
18294 * window.el (special-display-buffer-names)
18295 (special-display-regexps): Remove some remnants of earlier
18296 changes from doc-strings.
366ca7f3
MR
18297 (quit-windows-on): New function.
18298
18299 * vc/vc.el (vc-revert, vc-rollback):
18300 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18301 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 18302 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 18303
49677495
MR
183042011-10-09 Martin Rudalics <rudalics@gmx.at>
18305
18306 * window.el (frame-auto-hide-function): Add version tag.
18307 (Bug#9699)
18308
56f2d1e1
MA
183092011-10-09 Michael Albinus <michael.albinus@gmx.de>
18310
18311 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18312 condition.
18313
112a6592
LL
183142011-10-09 Leo Liu <sdl.web@gmail.com>
18315
18316 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18317 (Bug#9701)
18318
0812589b
GM
183192011-10-08 Glenn Morris <rgm@gnu.org>
18320
18321 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18322 before the first code statement zero indent. (Bug#9690)
18323
b2b0776e
CY
183242011-10-08 Chong Yidong <cyd@stupidchicken.com>
18325
18326 * simple.el (count-words-region): Always count in the region.
18327 Report the number of lines and characters too.
18328 (count-words): New command, which counts in the buffer if the
18329 region is inactive, as count-words-region used to.
18330 (count-words--message): New function. Handle plurals.
18331 (count-lines-region): Make it an alias for count-words-region.
18332
18333 * bindings.el (esc-map): Replace count-lines-region with
18334 count-words-region.
18335
c557cd6b
MR
183362011-10-08 Martin Rudalics <rudalics@gmx.at>
18337
18338 * window.el (window--delete): Delete dedicated frame
18339 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 18340 (switch-to-buffer): Fix doc-string typo.
c557cd6b 18341
61a57ef4 183422011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18343
3a7d293b 18344 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 18345
c3833279
CY
183462011-10-07 Chong Yidong <cyd@stupidchicken.com>
18347
18348 * bindings.el ([M-left],[M-right]): Bind to left-word and
18349 right-word respectively.
18350
21ce8245
GM
183512011-10-07 Glenn Morris <rgm@gnu.org>
18352
18353 * cus-start.el (debug-on-quit): Fix custom type.
18354
6d823bb2
LMI
183552011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18356
0181e193
LMI
18357 * subr.el (define-key-after): Clarify that the function is not
18358 useful for non-menu keymaps.
18359
6d823bb2
LMI
18360 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18361
8e3459ce 183622011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18363
21ce8245 18364 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 18365 in current minibuffer (Fix bug with recursive minibuffers).
18366
a1c2d21e
CY
183672011-10-06 Chong Yidong <cyd@stupidchicken.com>
18368
18369 * progmodes/gdb-mi.el (gdb): Doc fix.
18370
5a4cf282
MR
183712011-10-05 Martin Rudalics <rudalics@gmx.at>
18372
18373 * window.el (frame-auto-hide-function): New option replacing
18374 frame-auto-delete. Suggested by Stefan Monnier.
18375 (window--delete): Call frame-auto-hide-function instead of
18376 investigating frame-auto-delete.
c96111ea
MR
18377 (window-point-1, set-window-point-1): New functions.
18378 (window-in-direction, record-window-buffer, window-state-get-1)
18379 (display-buffer-record-window): Use window-point-1 instead of
18380 window-point.
18381 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 18382
9854542e
SM
183832011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18384
18385 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18386
8943cfb0
GM
183872011-10-05 Glenn Morris <rgm@gnu.org>
18388
18389 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18390 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18391
647ab967
LL
183922011-10-05 Leo Liu <sdl.web@gmail.com>
18393
18394 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18395 works with buffer object.
18396
3ddfbced
SM
183972011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18398
18399 * mpc.el (mpc-tool-bar-map): Add labels.
18400
bdfa5dd2
GM
184012011-10-04 Glenn Morris <rgm@gnu.org>
18402
18403 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18404
0e2070b5
MR
184052011-10-04 Martin Rudalics <rudalics@gmx.at>
18406
18407 * window.el (window--delete): New function.
18408 (frame-auto-delete): Resuscitate option.
18409 (bury-buffer, replace-buffer-in-windows)
18410 (quit-window): Rewrite using window--delete.
18411 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18412 Pass display-buffer-mark-dedicated to window--display-buffer-2
18413 (Bug#9639).
18414
3dc61a09
SM
184152011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18416
915a9b64
SM
18417 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18418 returns a list (bug#9554). Add remote file name completion.
18419 * comint.el (comint--table-subvert): Curry and get quote&unquote
18420 functions as arguments.
18421 (comint--complete-file-name-data): Adjust call accordingly.
18422 * pcomplete.el (pcomplete--table-subvert): Remove.
18423 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18424
3dc61a09
SM
18425 * minibuffer.el (completion-table-case-fold): Use currying.
18426 (completion--styles-type, completion--cycling-threshold-type):
18427 New constants.
18428 (completion-styles, completion-category-overrides)
18429 (completion-cycle-threshold): Use them.
18430 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18431 completion-table-case-fold.
18432
8ea0a993
SB
184332011-10-03 Stephen Berman <stephen.berman@gmx.net>
18434
18435 * minibuffer.el (completion-category-overrides): Fix type of styles
18436 and add more user friendly tags (bug#9660).
18437
8c24b7f6
SM
184382011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18439
18440 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18441 (mule-input-method-string): New widget.
18442 (default-input-method, language-info-custom-alist): Use it.
18443
428fe61a
SM
184442011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18445
32c1fffd
SM
18446 * pcomplete.el: Require comint.
18447 (pcomplete--common-suffix): Remove.
18448 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18449 (pcomplete--table-subvert): Sync with comint--table-subvert.
18450 (pcomplete--entries): Use comint-completion-file-name-table.
18451 * comint.el (comint-unquote-filename): Simplify.
18452 (comint-completion-file-name-table): New function (bug#9616).
18453 (comint--complete-file-name-data): Use it.
18454
428fe61a
SM
18455 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18456 (pcmpl-gnu-tar-buffer): Remove.
18457 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
18458 around. Make sure pcomplete-suffix-list is only changed temporarily.
18459 Don't look inside the tar's file if it's too large.
428fe61a 18460
04c52e2f
CY
184612011-10-01 Chong Yidong <cyd@stupidchicken.com>
18462
ce3cefcc
CY
18463 * cus-edit.el (custom-mode-map):
18464 * epa.el (epa-key-list-mode-map):
18465 * man.el (Man-mode-map):
18466 * startup.el (splash-screen-keymap):
18467 * simple.el (special-mode-map): Use scroll-up-command and
18468 scroll-down-command.
18469
18470 * progmodes/idlw-help.el (idlwave-help-mode-map):
18471 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18472 * net/newst-plainview.el (newsticker-mode-map):
18473 * emulation/ws-mode.el (wordstar-mode-map):
18474 * emulation/vi.el (vi-com-map):
18475 * calc/calc-graph.el (calc-graph-show-dumb):
18476 * term/sun.el (terminal-init-sun):
18477 * term/ns-win.el (global-map):
18478 * progmodes/grep.el (grep-mode-map):
18479 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18480 * mail/rmail.el (rmail-mode-map):
18481 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18482
04c52e2f
CY
18483 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18484 custom-safe-themes as special.
18485
79adf8c8
JD
184862011-10-01 Julien Danjou <julien@danjou.info>
18487
18488 * notifications.el (notifications-notify): Fix docstring.
18489
63bd50d3
PS
184902011-10-01 Per Starbäck <per@starback.se>
18491
18492 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18493
199e4c7e
MR
184942011-09-30 Martin Rudalics <rudalics@gmx.at>
18495
18496 * startup.el (command-line-1): Fix last fix by inserting
18497 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 18498 (Bug#9605) and (Bug#9636)
199e4c7e 18499
fe5f08dd
EZ
185002011-09-29 Eli Zaretskii <eliz@gnu.org>
18501
18502 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18503 window is hscrolled, move by logical lines. (Bug#9607)
18504 (line-move-visual): Update the doc string to the above effect.
18505
b5516bbd
MR
185062011-09-29 Martin Rudalics <rudalics@gmx.at>
18507
ccee00c0
MR
18508 * window.el (display-buffer-record-window): When WINDOW is the
18509 selected window use `point' instead of `window-point'. (Bug#9626)
18510
b5516bbd
MR
18511 * startup.el (command-line-1): Use insert-before-markers when
18512 inserting initial-scratch-message. (Bug#9605)
ccee00c0 18513
b5516bbd
MR
18514 * help.el (help-window): Remove variable.
18515
52aa0014
GM
185162011-09-29 Glenn Morris <rgm@gnu.org>
18517
18518 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18519
df9a7357
JB
185202011-09-29 Juanma Barranquero <lekktu@gmail.com>
18521
18522 * descr-text.el (describe-char-categories): Accept category
18523 descriptions more than one line long.
18524
a8406c20
SM
185252011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18526
88d9610c
SM
18527 * simple.el (delete-trailing-whitespace): Fix last change.
18528
a5daf810
SM
18529 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18530 Don't confuse "y => 3" as the beginning of a `y' operation.
18531
a8406c20
SM
18532 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18533 object has more than 4 slots (bug#9613).
18534
a239d4e9
JB
185352011-09-28 Juanma Barranquero <lekktu@gmail.com>
18536
18537 * subr.el (with-output-to-temp-buffer):
18538 * net/quickurl.el (quickurl, quickurl-browse-url):
18539 Fix typos in docstrings.
18540
693fbdb6
EZ
185412011-09-27 Eli Zaretskii <eliz@gnu.org>
18542
18543 * minibuffer.el (completion-styles)
18544 (completion-category-overrides): Cross reference each other in doc
18545 strings.
18546
8b457e28
GM
185472011-09-27 Glenn Morris <rgm@gnu.org>
18548
18549 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18550 to split-string. (Bug#9606)
18551
85a16208
LMI
185522011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18553
18554 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18555 (bug#9615).
18556
502f9ebd
CY
185572011-09-27 Chong Yidong <cyd@stupidchicken.com>
18558
18559 * emacs-lisp/package.el (list-packages): Fix echo area message.
18560
7690bdea
LL
185612011-09-27 Leo Liu <sdl.web@gmail.com>
18562
18563 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18564
e2ee6f30
MA
185652011-09-25 Michael Albinus <michael.albinus@gmx.de>
18566
18567 * net/dbus.el (dbus-unregister-object): Don't release services for
18568 registered signals. (Bug#9581)
18569
f3f98342
TZ
185702011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18571
18572 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18573 function that picks between cfengine 2 and 3 support
18574 automatically. Update docs accordingly.
18575
dd7aa8dd
KH
185762011-09-22 Kenichi Handa <handa@m17n.org>
18577
18578 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18579 ZERO.
18580 (indian-itrans-v5-table-for-tamil): New variable.
18581 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18582
3f2b07f8
KM
185832011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18584
18585 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18586 that's true if the current command involved collapsing of text.
18587 It's reset to false at the beginning of the next command.
18588 (allout-post-command-business): Move the cursor to the beginning
18589 of entry if the cursor is hidden and collapsing activity just
18590 happened.
18591
371d6a61
CY
185922011-09-24 Chong Yidong <cyd@stupidchicken.com>
18593
18594 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18595 tracking (Bug#9541).
18596
2ac2721a
UJ
185972011-09-24 Ulf Jasper <ulf.jasper@web.de>
18598
18599 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
18600 (newsticker-show-news): Automatically load html rendering package
18601 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18602 because w3m-fill-column is let-bound" and the error "Symbol's value
18603 as variable is void: w3m-fill-column".
2ac2721a 18604
fac7ae53
MA
186052011-09-24 Michael Albinus <michael.albinus@gmx.de>
18606
18607 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18608 Release services only if they are defined. (Bug#9581)
18609
e08b633b
RS
186102011-09-23 Richard Stallman <rms@gnu.org>
18611
e488d29c
RS
18612 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18613 distinguish start of paragraph from start of its text.
18614
19c38752
RS
18615 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18616
e08b633b
RS
18617 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18618 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18619 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18620
0a39f27e
AS
186212011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18622
18623 * international/mule-diag.el (mule-diag): Insert a newline after
18624 each fontset description.
18625
db4e950d
SM
186262011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18627
18628 * simple.el (delete-trailing-whitespace):
18629 Document last change; simplify.
18630
eca3f3ea
PW
186312011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18632
d68e189a
PW
18633 * simple.el (delete-trailing-whitespace): Also delete
18634 extra newlines at the end of the buffer.
18635
eca3f3ea
PW
18636 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18637 (picture-newline): Use forward-line so as to ignore fields.
18638
01c157cc
SM
186392011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18640
18641 * subr.el (with-wrapper-hook): Fix edebug spec.
18642
022de23e
LMI
186432011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18644
18645 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18646 (bug#4538).
18647
91683089
MA
186482011-09-23 Michael Albinus <michael.albinus@gmx.de>
18649
eca3f3ea
PW
18650 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18651 Fix nasty bug using wrong cached values.
91683089 18652
5bdd6fa4
AM
186532011-09-23 Alan Mackenzie <acm@muc.de>
18654
18655 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18656
97adfb97
CY
186572011-09-23 Chong Yidong <cyd@stupidchicken.com>
18658
18659 * window.el (pop-to-buffer): Ensure right window is selected if we
18660 chose another frame.
18661
d4ef2b50
EZ
186622011-09-22 Eli Zaretskii <eliz@gnu.org>
18663
18664 * simple.el (what-cursor-position): Use get-char-property-change
18665 and next-single-char-property-change, to be able to show display
18666 properties that come from overlays as well as text properties.
18667
72258fe5
CY
186682011-09-22 Chong Yidong <cyd@stupidchicken.com>
18669
18670 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18671
18672 * cmuscheme.el (run-scheme, switch-to-scheme):
18673 * cus-edit.el (customize-group, custom-buffer-create)
18674 (customize-browse):
18675 * info.el (info):
18676 * shell.el (shell):
18677 * mail/sendmail.el (mail):
18678 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18679
8f098516
RS
186802011-09-22 Richard Stallman <rms@gnu.org>
18681
18682 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18683 move back only to line beg, don't move back over blank lines.
18684
e74f1bb6
MA
186852011-09-22 Michael Albinus <michael.albinus@gmx.de>
18686
18687 * files.el (copy-directory): Set directory attributes only in case
18688 they could be retrieved from the source directory. (Bug#9565)
18689
bfeef8b6
DK
186902011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18691
18692 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18693 (hs-find-block-beginning, hs-hide-level-recursive):
18694 Ignore strings as well as comments. (Bug#9502)
18695
7e423bb8
AS
186962011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18697
18698 * progmodes/sql.el (sql-comint-postgres):
18699 Convert port number to a string. (Bug#9566)
18700
b4d72fcf
MR
187012011-09-22 Martin Rudalics <rudalics@gmx.at>
18702
18703 * window.el (quit-window): Undedicate window when switching to
18704 previous buffer. Reported by Thierry Volpiatto
18705 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
18706 (special-display-popup-frame): When popping up a new frame reset
18707 its previous buffers to nil. Simplify code.
b4d72fcf 18708
a7b88dc6
MA
187092011-09-21 Michael Albinus <michael.albinus@gmx.de>
18710
18711 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18712 and process filter, as done also in `shell-command'.
18713
cf4eacfd
MR
187142011-09-21 Martin Rudalics <rudalics@gmx.at>
18715
eca3f3ea 18716 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
18717 Call set-window-start with NOFORCE argument t.
18718 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
18719 (quit-window): Reword doc-string. Handle new format of
18720 quit-restore parameter. Don't delete window if it has a
18721 previous buffer we can show instead of the present one.
18722 (display-buffer-record-window): Rewrite using a new format for
18723 the quit-restore window parameter
18724 (special-display-popup-frame, display-buffer-same-window)
18725 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18726 (display-buffer-pop-up-window, display-buffer-use-some-window):
18727 Adapt symbol passed to display-buffer-record-window.
18728 * help.el (help-window-setup): Handle new format of quit-restore
18729 parameter.
18730
8d28cb95
SM
187312011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18732
94ab793f
SM
18733 * faces.el (face-list): Fix docstring (bug#9564).
18734
8d28cb95
SM
18735 * window.el (display-buffer--action-function-custom-type):
18736 Don't include internal functions in the Custom interface.
18737
3820edeb
JL
187382011-09-20 Juri Linkov <juri@jurta.org>
18739
18740 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18741 (Info-forward-node, Info-backward-node, Info-next-preorder)
18742 (Info-last-preorder): Use it. (Bug#9528)
18743
5147931d
JL
187442011-09-20 Juri Linkov <juri@jurta.org>
18745
18746 * info.el (Info-last-preorder): Visit last menu item only when
18747 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18748
cf499a1a
JD
187492011-09-20 Julien Danjou <julien@danjou.info>
18750
18751 * password-cache.el (password-cache-remove): Remove entries even if the
18752 value is nil, so that password with a nil value (negative caching) is
18753 possible to invalidate.
18754
f84e2fe2
LM
187552011-09-20 Lawrence Mitchell <wence@gmx.li>
18756
18757 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18758 all whitespace around breakpoint. (Bug#9553)
18759 (f90-find-breakpoint): Only break at whitespace inside a comment.
18760
78054a46
SM
187612011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18762
18763 * minibuffer.el (completion-file-name-table): Keep track of errors.
18764 (completion-table-with-predicate): Handle the case where pred1 is nil.
18765 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18766
345083b2
SM
187672011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18768
e24e27be
SM
18769 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18770 (debugger-return-value): Signal an error if the debugging context does
18771 not await any return value.
18772
345083b2
SM
18773 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18774 * image-mode.el (image-toggle-display-text)
18775 (image-toggle-display-image): Stay away from evil `intangible'.
18776
08d355e3
LL
187772011-09-19 Leo Liu <sdl.web@gmail.com>
18778
18779 * replace.el (occur-revert-arguments): Make it permanent-local.
18780 (occur-mode): Don't call font-lock-defontify.
18781
f01da43f
CY
187822011-09-19 Chong Yidong <cyd@stupidchicken.com>
18783
18784 * net/ldap.el (ldap-search-internal): Don't push empty search
18785 result (Bug#9508).
18786
b6072fa6
SM
187872011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18788
18789 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18790
443d6696
MA
187912011-09-19 Michael Albinus <michael.albinus@gmx.de>
18792
18793 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18794 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18795
7cc6e154
JL
187962011-09-18 Juri Linkov <juri@jurta.org>
18797
18798 * buff-menu.el (Buffer-menu-mode-map):
18799 * dired.el (dired-mode-map):
18800 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18801 (lisp-interaction-mode-map):
18802 * emacs-lisp/package.el (package-menu-mode-map):
18803 * epa.el (epa-key-list-mode-map):
18804 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18805 (menu-bar-options-menu):
18806 * outline.el (outline-mode-menu-bar-map):
18807 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18808 * vc/vc-dir.el (vc-dir-menu-map):
18809 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18810 Capitalize non-function content words in menu item strings.
18811
18812 * dired.el (dired-mode-map): Add menu item for
18813 `image-dired-dired-toggle-marked-thumbs'.
18814
80302a81
JL
188152011-09-18 Juri Linkov <juri@jurta.org>
18816
18817 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18818 to `isearch-case-fold-search' and restore its original value
18819 after the `isearch-mode' call.
18820
46c5cf66
JL
188212011-09-18 Juri Linkov <juri@jurta.org>
18822
18823 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18824 because `zgrep' returns 1 for successful matches (bug#9226).
18825
d18b513b
JL
188262011-09-18 Juri Linkov <juri@jurta.org>
18827
18828 * info.el (Info-extract-menu-node-name): Check the second match
18829 for empty string (second test-case of bug#9528).
18830 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18831 intermediate nodes to the history (first test-case of bug#9528).
18832
72753f87
JL
188332011-09-18 Juri Linkov <juri@jurta.org>
18834
18835 * info.el (Info-mode-syntax-table): New variable.
1154d12e 18836 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 18837
c9384295
JL
188382011-09-18 Juri Linkov <juri@jurta.org>
18839
1154d12e
JB
18840 * info.el (Info-file-supports-index-cookies):
18841 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18842 outputs one more line for long file names (bug#4142).
c9384295 18843
d473dce8
CY
188442011-09-18 Chong Yidong <cyd@stupidchicken.com>
18845
18846 * newcomment.el (comment-normalize-vars): If prompting for
18847 comment-start, set comment-start-skip too (Bug#8424).
18848
2176854d
JB
188492011-09-18 Johan Bockgård <bojohan@gnu.org>
18850
18851 * icomplete.el: Fix previous fix of Bug#5849.
18852 (icomplete-mode): Don't set completion-show-inline-help.
18853 (icomplete-minibuffer-setup): Set completion-show-inline-help
18854 locally during icompletion.
18855
3aace4e4
CY
188562011-09-18 Chong Yidong <cyd@stupidchicken.com>
18857
c940224f
CY
18858 * woman.el (woman2-process-escapes): Don't delete unrecognized
18859 escapes (Bug#7843).
18860
3aace4e4
CY
18861 * files.el (inhibit-first-line-modes-regexps): Add image files.
18862 (hack-local-variables-prop-line): Return nil for malformed
18863 prop-lines (Bug#9044).
18864
710dec63
MA
188652011-09-18 Michael Albinus <michael.albinus@gmx.de>
18866
18867 * net/tramp.el (top): Don't require 'shell.
18868 (tramp-methods): Fix docstring.
18869 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
18870 Return complete remote file name. Handle "smb" case.
18871 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
18872 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18873
18874 * net/tramp-compat.el (top): Require 'shell.
18875
18876 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18877 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18878 `tramp-current-host'.
18879 (tramp-get-remote-tmpdir): Remove.
18880
18881 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18882 `tramp-tmpdir' entries.
18883 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18884 (tramp-smb-handle-file-attributes): Ignore errors.
18885 (tramp-smb-wait-for-output): Check also for process end.
18886
5d5ac8ec
LMI
188872011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18888
18889 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18890 when sending QUIT (bug#9312).
18891
8c0f49f0
CY
188922011-09-17 Chong Yidong <cyd@stupidchicken.com>
18893
18894 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18895 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18896 occur-mode-display-occurrence.
18897 (occur-edit-mode): Add usage message.
18898 (occur-cease-edit): New command.
18899 (occur-after-change-function): Use text properties to find the
18900 position of the prefix text.
18901 (occur-engine): Set stickiness of prefix text properties.
18902
8f1383f7
GM
189032011-09-17 Glenn Morris <rgm@gnu.org>
18904
18905 * progmodes/etags.el (complete-tag):
18906 Fix call to completion-in-region. (Bug#9526)
18907
744ba0e3
JL
189082011-09-17 Juri Linkov <juri@jurta.org>
18909
18910 * textmodes/ispell.el (ispell-word): Add to the error message
18911 the word, ispell program name and current dictionary (bug#9121).
18912 (ispell-tex-arg-end): Capitalize "error" in the error message.
18913
d9bbf400
AS
189142011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18915
18916 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18917 check. (Bug#4251)
18918
8da11505
JL
189192011-09-17 Juri Linkov <juri@jurta.org>
18920
18921 * window.el (window-safe-min-height, window-safe-min-width):
18922 Fix typos (followup to bug#9522).
18923
a91adc7e
SJ
189242011-09-17 Sven Joachim <svenjoac@gmx.de>
18925
18926 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18927
064f328a
EZ
189282011-09-16 Eli Zaretskii <eliz@gnu.org>
18929
18930 * simple.el (line-move): If goal-column is set, move by logical
18931 lines, not by display lines. (Bug#971)
18932 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18933 to reflect the above change.
18934
e69df516
SM
189352011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18936
18937 * image.el (imagemagick-register-types): Use regexp-opt.
18938
cbb0f9ab
CY
189392011-09-15 Chong Yidong <cyd@stupidchicken.com>
18940
18941 * window.el (display-buffer-base-action): Rename from
18942 display-buffer-default-action. Make default value empty.
18943 (display-buffer-overriding-action): Convert to defvar.
18944 (display-buffer-fallback-action): New var.
18945
25322144
CY
189462011-09-15 Chong Yidong <cyd@stupidchicken.com>
18947
18948 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18949 declaration.
18950 (package--add-to-archive-contents): If there is a duplicate entry
18951 with an older version, remove it.
18952 (package-menu-mark-delete, package-menu-mark-install)
18953 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
18954 (package-menu-mark-obsolete-for-deletion):
18955 Use package-menu-get-status instead of a regexp search.
25322144
CY
18956 (package-menu-get-status): Use tabulated-list-entry.
18957 (package-menu-mark-upgrades): New command.
d770725a 18958 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
18959 (package-menu-execute): Do installation before deletion.
18960 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18961 instead of checking major-mode.
18962 (package-menu--find-upgrades): New function.
18963
7520339c
LMI
189642011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18965
18966 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18967 passwords in the log buffer.
65a046c4
LMI
18968 (smtpmail-process-filter): Update the process marker so that the
18969 "broken by peer" status message is inserted in the right place.
7520339c 18970
d3c30954
SM
189712011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18972
3fe48822
SM
18973 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18974 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18975 bibtex-completion-at-point-function.
18976 (bibtex-completion-at-point-function): Use them.
18977
1b8b3954
SM
18978 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18979
d3c30954
SM
18980 * mpc.el (mpc-constraints-tag-lookup): New function.
18981 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18982 also to browser "album|playlist".
18983
72779976
JL
189842011-09-14 Juri Linkov <juri@jurta.org>
18985
18986 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18987 (isearch-edit-string): Use length of `isearch-string' when
18988 `isearch-fail-pos' returns nil.
18989 (isearch-message): Remove duplicate code and call
18990 `isearch-fail-pos' with arg `t'.
18991
a0bf2bcd
CY
189922011-09-14 Chong Yidong <cyd@stupidchicken.com>
18993
17bb0a2d
CY
18994 * replace.el (occur-mode-goto-occurrence): Don't force using other
18995 window (Bug#9499).
18996
a0bf2bcd
CY
18997 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18998
f678e0b6
MR
189992011-09-14 Martin Rudalics <rudalics@gmx.at>
19000
19001 * window.el (display-buffer-window): Remove.
19002 (display-buffer-record-window): Use help-setup window parameter
19003 instead of variable display-buffer-window.
19004 (display-buffer-function, special-display-buffer-names)
19005 (special-display-function): Mention help-setup parameter instead
19006 of display-buffer-window in doc-string.
d3c30954
SM
19007 * help.el (help-window-setup): New argument help-window.
19008 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
19009 Reword some messages.
19010 (with-help-window): Pass window used for displaying the buffer
19011 to help-window-setup. Don't set display-buffer-window.
19012
8e39b2e8
GM
190132011-09-13 Glenn Morris <rgm@gnu.org>
19014
19015 * emacs-lisp/debug.el (debugger-make-xrefs):
19016 Preserve point. (Bug#9462)
19017
85e9c04b
CY
190182011-09-13 Chong Yidong <cyd@stupidchicken.com>
19019
19020 * window.el (window-deletable-p): Use next-frame.
19021
1b36ed6a
MR
190222011-09-13 Martin Rudalics <rudalics@gmx.at>
19023
19024 * window.el (window-auto-delete): Remove.
19025 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 19026 dedication and previous buffers.
1b36ed6a
MR
19027 (switch-to-prev-buffer): Don't delete window.
19028 (delete-windows-on): Delete a window's frame if and only if the
19029 window is dedicated.
19030 (replace-buffer-in-windows): Delete buffer's window or frame if
19031 and only if window is dedicated.
19032 (quit-window): Handle quit-restore as before last change.
4d61f28d 19033 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 19034
ef8ef9fb
CY
190352011-09-13 Chong Yidong <cyd@stupidchicken.com>
19036
19037 * window.el (window-deletable-p): Never delete the last frame on a
19038 given terminal.
19039
b2cba41e
GM
190402011-09-13 Glenn Morris <rgm@gnu.org>
19041
19042 * help.el (describe-key-briefly): Copy previous standard-output change.
19043
51553db6 190442011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
19045
19046 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19047
b7556719
GM
190482011-09-13 Glenn Morris <rgm@gnu.org>
19049
19050 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19051 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19052
64b51947
CY
190532011-09-12 Chong Yidong <cyd@stupidchicken.com>
19054
19055 * dired-aux.el (dired-mark-read-string): Don't return default
19056 value on empty input (Bug#9361).
19057 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19058 Omit initial minibuffer contents.
19059 (dired-do-chmod): Signal an error on empty input.
19060 (dired-mark-read-string): Don't return default on empty input.
19061
19062 * files.el (file-modes-symbolic-to-number): Doc fix.
19063
393a301e
SM
190642011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19065
19066 * international/mule-cmds.el (ucs-completions): Remove.
19067 (read-char-by-name): Use complete-with-action instead; add metadata.
19068
fa5660f9
CY
190692011-09-11 Chong Yidong <cyd@stupidchicken.com>
19070
19071 * window.el (display-buffer--action-function-custom-type)
19072 (display-buffer--action-custom-type): New vars.
19073 (display-buffer-alist, display-buffer-default-action)
19074 (display-buffer-overriding-action): Add defcustom types.
19075
4a592f66
CY
19076 * frame.el (delete-other-frames): Doc fix (Bug#276).
19077
73d56dbd
LMI
190782011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19079
19080 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19081
37ac18a3
CY
190822011-09-11 Chong Yidong <cyd@stupidchicken.com>
19083
19084 Change modes that used same-window-* vars to use switch-to-buffer.
19085
19086 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19087 Use switch-to-buffer.
19088
19089 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
19090 (customize-browse, custom-buffer-create-other-window):
19091 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
19092
19093 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19094 (Info-prev, Info-up, Info-speedbar-goto-node)
19095 (info-display-manual): Use switch-to-buffer.
19096 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19097
19098 * mail/sendmail.el (mail): Use switch-to-buffer.
19099 (mail-recover): Use switch-to-buffer-other-window.
19100
19101 * cmuscheme.el (run-scheme, switch-to-scheme):
19102 * ielm.el (ielm):
19103 * shell.el (shell):
19104 * net/rlogin.el (rlogin):
19105 * net/telnet.el (telnet, rsh):
19106 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19107
10195bd6
AS
191082011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19109
19110 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19111
b322f63a
LMI
191122011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19113
39d7fed6
LMI
19114 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19115 so don't mention it (bug#9301).
ba5a81f1 19116 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 19117
ee0e9f11
LMI
19118 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19119 match `x', `w32' and `ns', like the manual says (bug#9029).
19120
0b1c89c1 19121 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
19122 (process-kill-buffer-query-function): Mention the buffer name in
19123 the query.
0b1c89c1 19124
77549ea8
LMI
19125 * image-mode.el (image-next-line): The line parameter is mandatory
19126 (bug#9258).
19127
803ef892
LMI
19128 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19129 which can be useful (bug#9301).
19130
12980837
LMI
19131 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19132
91054f8f
LMI
19133 * subr.el (match-string): Mention that the current buffer should
19134 be the same as the search was done in (bug#9282).
19135
b322f63a
LMI
19136 * facemenu.el: Disable the remove-* commands if the mark isn't
19137 active (bug#9162).
19138
3199b96f
CY
191392011-09-10 Chong Yidong <cyd@stupidchicken.com>
19140
19141 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19142 of display-buffer.
19143 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19144
19145 * replace.el (occur-mode-goto-occurrence)
19146 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19147 and display-buffer.
19148
19149 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19150 display-buffer.
19151
19152 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19153 special-display and same-window variables.
19154 (mail-other-window): Use switch-to-buffer-other-window.
19155 (mail-other-frame): USe switch-to-buffer-other-frame.
19156
393a301e
SM
19157 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19158 Use display-buffer-other-frame.
3199b96f
CY
19159 (gdb-display-gdb-buffer): Use pop-to-buffer.
19160
19161 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19162
19163 * progmodes/python.el: Don't set same-window-buffer-names.
19164
19165 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19166
19167 * window.el (display-buffer-alist): Add *Python*.
19168
8319e0bf
CY
191692011-09-10 Chong Yidong <cyd@stupidchicken.com>
19170
19171 * window.el (display-buffer-alist): Add entry for buffers
19172 previously handled same-window-*.
19173 (display-buffer-alist, display-buffer-default-action)
19174 (display-buffer-overriding-action): Mark as risky.
19175 (display-buffer-alist): Document action function changes.
19176 (display-buffer--same-window-action)
19177 (display-buffer--other-frame-action): New variables.
19178 (switch-to-buffer, display-buffer-other-frame): Use them.
19179 (display-buffer): Rename reuse-frame entry to reusable-frames.
19180 (display-buffer-reuse-selected-window): Function deleted.
19181 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19182 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19183 (display-buffer-special): New function.
19184 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19185 display-buffer-reuse-or-pop-window. Split off special-display
19186 part into display-buffer-special.
19187 (display-buffer-use-some-window): Don't perform any special
19188 pop-up-frames handling.
19189 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 19190 (display-buffer--maybe-same-window): Rename from
0d3ff375 19191 display-buffer-maybe-same-window.
8319e0bf 19192
919a69aa
CY
19193 * info.el: Don't set same-window-regexps.
19194 (info-setup): New function.
19195 (info-other-window, info): Call it.
19196
19197 * cus-edit.el: Don't set same-window-regexps.
19198 (customize-group): New argument.
19199 (customize-group-other-window): Use it.
19200 (customize-face, customize-face-other-window): Likewise.
19201 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19202
8319e0bf
CY
19203 * net/rlogin.el:
19204 * net/telnet.el:
19205 * progmodes/gud.el: Don't set same-window-regexps.
19206
19207 * cmuscheme.el:
19208 * ielm.el:
19209 * shell.el:
19210 * mail/sendmail.el:
19211 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19212
25173000
JL
192132011-09-10 Juri Linkov <juri@jurta.org>
19214
19215 * isearch.el (isearch-edit-string): Remove obsolete mention of
19216 `C-w' (`isearch-yank-word-or-char') from docstring.
19217 (isearch-query-replace): Fix typo in docstring (bug#9466).
19218
056e44ef
JL
192192011-09-10 Juri Linkov <juri@jurta.org>
19220
19221 * paren.el (show-paren-function): Don't show escaped parens.
19222 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19223
c3760c17
EZ
192242011-09-10 Eli Zaretskii <eliz@gnu.org>
19225
19226 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19227 (mm-default-file-encoding): Remove autoload forms, they are
19228 replaced with autoload cookies in mml.el and mm-encode.el.
19229 (mail-add-attachment): New command.
19230 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19231 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19232 the doc string.
19233 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19234
fece895e
RT
192352011-09-10 Reuben Thomas <rrt@sc3d.org>
19236
e69df516
SM
19237 * simple.el (count-words-region): Use buffer if there's no region
19238 (bug#9429).
fece895e 19239
5e68ce4a
JL
192402011-09-09 Juri Linkov <juri@jurta.org>
19241
19242 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19243 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19244 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19245
0a6b9622
AM
192462011-09-09 Alan Mackenzie <acm@muc.de>
19247
19248 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19249 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19250
14a29deb
EZ
192512011-09-09 Eli Zaretskii <eliz@gnu.org>
19252
19253 Fix for Savannah bug#9392.
19254 * simple.el (mail-encode-mml): New defvar.
19255
19256 * mail/rmail.el (mail-encode-mml): Add a defvar.
19257 (rmail-enable-mime-composing): Default to t.
19258 (rmail-forward): Use MIME method of forwarding only if both
19259 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19260 Set mail-encode-mml non-nil if the MIME method was used.
19261
19262 * mail/sendmail.el (mml-to-mime): Add autoload form.
19263 (mail-encode-mml): Add a defvar.
19264 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19265 to nil.
19266 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19267 message through mml-to-mime, and reset mail-encode-mml to nil.
19268
28c45130
GM
192692011-09-09 Glenn Morris <rgm@gnu.org>
19270
19271 * woman.el (woman-if-body): When processing an .el block,
19272 do not delete the next .el block as well. (Bug#9447)
69f4b618 19273 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 19274
9b1c252e
MR
192752011-09-08 Martin Rudalics <rudalics@gmx.at>
19276
19277 * window.el (window-deletable-p): Make sure window is live before
19278 invoking window-prev-buffers.
19279
567457e3
LL
192802011-09-08 Leo Liu <sdl.web@gmail.com>
19281
19282 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19283
97f05794
JL
192842011-09-08 Juri Linkov <juri@jurta.org>
19285
19286 * progmodes/compile.el (compilation-environment): Make it
19287 a defcustom (bug#8340).
19288
8b0874b5
MR
192892011-09-08 Martin Rudalics <rudalics@gmx.at>
19290
19291 * window.el (frame-auto-delete): Rename to window-auto-delete.
19292 Make it control auto-deletion of windows and/or frames.
19293 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 19294 for deleting window/frame. (Bug#9419)
8b0874b5
MR
19295 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19296 Rewrite handling of case when window/frame can be deleted.
19297 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 19298 argument t. (Bug#9456)
8b0874b5 19299
4feb6e73
CY
193002011-09-07 Chong Yidong <cyd@stupidchicken.com>
19301
19302 * help-mode.el (help-mode): Restore autoload.
19303
91ab9c13
JL
193042011-09-07 Juri Linkov <juri@jurta.org>
19305
19306 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19307 `compilation-environment'. Set buffer-local
19308 `compilation-environment' to `thisenv' later after (funcall mode).
19309 (Bug#8340)
19310
19311 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19312 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19313 instead of replacing its value. (Bug#8340)
19314
0527e251
JL
193152011-09-07 Juri Linkov <juri@jurta.org>
19316
19317 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19318 based on text properties put by `grep-filter' instead of matching
19319 escape sequences.
19320 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19321 to the value of `grep-error-screen-columns' (bug#9438).
19322
249f792c
JL
193232011-09-07 Juri Linkov <juri@jurta.org>
19324
19325 * simple.el (next-error-highlight, next-error-highlight-no-select):
19326 Doc fix (bug#9432).
19327
ff7271b9
OT
193282011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19329
19330 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19331 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19332
183fc730
LL
193332011-09-07 Leo Liu <sdl.web@gmail.com>
19334
19335 * net/rcirc.el (rcirc-mode): Conditionally initialize
19336 rcirc-input-ring.
19337
77694924
SM
193382011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19339
19340 * emacs-lisp/find-func.el (find-function-C-source): Only set
19341 find-function-C-source-directory after checking that we found a source
19342 file there (bug#9440).
19343
d809b8eb
AM
193442011-09-06 Alan Mackenzie <acm@muc.de>
19345
19346 * isearch.el (isearch-other-meta-char): Wherever a key list is
19347 unread, "unread" the prefix arg, too. This fixes bug #8901.
19348
453de99f
OG
193492011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19350
19351 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19352
90439906
JL
193532011-09-05 Juri Linkov <juri@jurta.org>
19354
19355 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19356
f62bd846
JL
193572011-09-05 Juri Linkov <juri@jurta.org>
19358
19359 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19360 keeping point where processing of grep matches begins, and
19361 continue to delete remaining escape sequences from the same point.
19362 (grep-filter): Make leading zero optional in "0?1;31m" because
19363 git-grep emits "\033[1;31m" escape sequences unlike expected
19364 "\033[01;31m" as GNU Grep does (bug#9408).
19365 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19366
045820ec
JL
193672011-09-05 Juri Linkov <juri@jurta.org>
19368
19369 * subr.el (y-or-n-p): Capitalize "yes".
19370
f5e29b9b
MA
193712011-09-04 Michael Albinus <michael.albinus@gmx.de>
19372
19373 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19374 `tramp-cache-unload-hook' where appropriate.
19375 (tramp-methods): Rename `tramp-remote-sh' to
19376 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19377 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19378
19379 * net/tramp-sh.el (top): Don't require 'shell.
19380 (tramp-methods): Add `tramp-remote-shell' and
19381 `tramp-remote-shell-args' entries.
19382 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19383 (tramp-sh-handle-shell-command): Remove.
19384 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19385 Use `tramp-remote-shell'.
19386
2784c434
CY
193872011-09-03 Chong Yidong <cyd@stupidchicken.com>
19388
393a301e 19389 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
19390 (sendmail-query-once): Save directly to send-mail-function.
19391 Update message-send-mail-function too.
19392
19393 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19394
464cdf56
CS
193952011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19396
19397 * progmodes/python.el (python-mode-map): Use correct function to
19398 start python interpreter from menu-bar (as reported by Geert
19399 Kloosterman).
19400 (inferior-python-mode-map): Fix typo.
393a301e 19401 (python-shell-map): Remove.
464cdf56 19402
d37e5c87
DD
194032011-09-03 Deniz Dogan <deniz@dogan.se>
19404
19405 * net/rcirc.el (rcirc-print): Simplify code for
19406 rcirc-scroll-show-maximum-output. There is no need to walk
19407 through all windows to find the right one.
19408
f3ada0ee
CS
194092011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19410
19411 * help.el (help-return-method): Doc fix.
19412
1f3c99ca
MR
194132011-09-03 Martin Rudalics <rudalics@gmx.at>
19414
19415 * window.el (window-deletable-p): Don't return a non-nil value
19416 when there's a buffer that was shown in the window before.
19417 (Bug#9419)
393a301e
SM
19418 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19419 Set window's previous buffers to nil.
1f3c99ca 19420
a3cf097f
EZ
194212011-09-03 Eli Zaretskii <eliz@gnu.org>
19422
19423 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19424 newline before and after the tag line, so it doesn't interfere
19425 with determining the paragraph direction of bidirectional text.
19426
3d03de90
LL
194272011-09-03 Leo Liu <sdl.web@gmail.com>
19428
19429 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19430
c3313451
CY
194312011-09-02 Chong Yidong <cyd@stupidchicken.com>
19432
393a301e 19433 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
19434 (pop-to-buffer): Change interactive spec. Pass second argument
19435 directly to display-buffer.
19436 (display-buffer): Fix interactive spec. Use functionp to
19437 distinguish between a function and a list of functions.
19438
19439 * abbrev.el (edit-abbrevs):
19440 * arc-mode.el (archive-extract):
19441 * autoinsert.el (auto-insert):
19442 * bookmark.el (bookmark-bmenu-list):
19443 * files.el (find-file):
19444 * view.el (view-buffer):
19445 * progmodes/compile.el (compilation-goto-locus):
19446 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19447
89894cd8
CY
194482011-09-02 Chong Yidong <cyd@stupidchicken.com>
19449
19450 * window.el (display-buffer-alist): Doc fix.
19451 (display-buffer): Add docstring. Don't treat
19452 display-buffer-default specially.
19453 (display-buffer-reuse-selected-window)
19454 (display-buffer-same-window, display-buffer-maybe-same-window)
19455 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19456 (display-buffer-pop-up-window)
19457 (display-buffer-reuse-or-pop-window)
19458 (display-buffer-use-some-window): New functions.
19459 (display-buffer-default-action): Use them.
393a301e 19460 (display-buffer-default): Delete.
89894cd8
CY
19461 (pop-to-buffer-1): Fix choice of actions.
19462
ae0bc9fb
SM
194632011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19464
19465 * minibuffer.el (completion--insert-strings): Don't get confused by
19466 completion entries that end with an LF char.
19467
e9d90883
EZ
194682011-09-01 Eli Zaretskii <eliz@gnu.org>
19469
19470 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19471
437014c8
CY
194722011-09-01 Chong Yidong <cyd@stupidchicken.com>
19473
19474 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
19475 (display-buffer-same-window, display-buffer-other-window):
19476 New functions.
437014c8
CY
19477 (pop-to-buffer-1): New function. Use the above.
19478 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 19479 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
19480
19481 * view.el (view-buffer-other-window, view-buffer-other-frame):
19482 Just use pop-to-buffer.
19483
a5e063d5
TV
194842011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19485
19486 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19487
793d32bb
WH
194882011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19489
19490 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19491
d65e4c15
RS
194922011-08-31 Richard Stallman <rms@gnu.org>
19493
19494 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19495 of the separation of rmail-view-buffer from rmail-buffer.
19496 If you say no to "replace original", the decrypt is in the
19497 view buffer. If you say yes, the decrypt goes into the
19498 rmail buffer also.
19499
f818cd2a
MR
195002011-08-31 Martin Rudalics <rudalics@gmx.at>
19501
19502 * window.el (display-buffer-window): Rewrite doc-string.
19503 (display-buffer-record-window): New function.
19504 (display-buffer-macro-specifiers)
19505 (display-buffer-even-window-sizes, display-buffer-set-height)
19506 (display-buffer-set-width, display-buffer-in-window)
19507 (display-buffer-reuse-window, display-buffer-split-specifiers)
19508 (display-buffer-side-specifiers, display-buffer-split-window-1)
19509 (display-buffer-split-window, display-buffer-split-atom-window)
19510 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19511 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19512 (display-buffer-other-window-means-other-frame)
19513 (display-buffer-normalize-special)
19514 (display-buffer-normalize-default)
19515 (display-buffer-normalize-argument)
19516 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19517 (display-buffer-normalize-specifiers, display-buffer-frame)
19518 (display-buffer-same-window, display-buffer-same-frame)
19519 (display-buffer-other-window)
19520 (display-buffer-same-frame-other-window)
19521 (display-buffer-other-frame, pop-to-buffer-same-window)
19522 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19523 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19524 (switch-to-buffer-same-frame)
19525 (switch-to-buffer-other-window-same-frame)
19526 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19527 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19528 (display-buffer-alist-set): Remove.
19529 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
19530 (special-display-regexps, special-display-function):
19531 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
19532 parameter.
19533 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19534 (special-display-frame-alist, special-display-popup-frame)
19535 (same-window-buffer-names, same-window-regexps, same-window-p)
19536 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19537 (split-window-preferred-function, split-height-threshold)
19538 (split-width-threshold, window-splittable-p)
19539 (split-window-sensibly, window--try-to-split-window)
19540 (window--frame-usable-p, even-window-heights)
19541 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
19542 (window--display-buffer-2, display-buffer-other-frame):
19543 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
19544 (display-buffer-default, display-buffer-assq-regexp): New functions.
19545 (display-buffer-alist): Rewrite doc-string.
19546 (display-buffer-default-action)
19547 (display-buffer-overriding-action): New variables.
19548 (display-buffer, switch-to-buffer): Rewrite.
19549 (pop-to-buffer): Restore Emacs 23 behavior but use
19550 window-normalize-buffer-to-display.
19551 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19552 Restore Emacs 23 behavior but use
19553 window-normalize-buffer-to-switch-to.
19554 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
19555 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19556 Rewrite using Emacs 23 options.
f818cd2a 19557
5bc3b51d
MA
195582011-08-31 Michael Albinus <michael.albinus@gmx.de>
19559
19560 * net/tramp.el (tramp-root-regexp): Remove.
19561 (tramp-completion-file-name-regexp-unified)
19562 (tramp-completion-file-name-regexp-separate)
19563 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 19564 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
19565 (tramp-drop-volume-letter): Simplify definition.
19566 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 19567
b1a4f8e1
SM
195682011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19569
19570 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19571 (bug#9356).
19572
5664fa7b
RT
195732011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19574
b1a4f8e1 19575 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 19576
9a45d6c3
JL
195772011-08-29 Juri Linkov <juri@jurta.org>
19578
19579 * isearch.el (isearch-done): Don't display message "Mark saved"
19580 when arg `edit' is non-nil to prevent its flicker in the echo area.
19581
fb87e0fb
CY
195822011-08-28 Chong Yidong <cyd@stupidchicken.com>
19583
19584 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19585 obsolete packages for deletion.
19586
09ac1c2a
CS
195872011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19588
19589 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 19590 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
19591 view-mode from help-mode.
19592 (help-xref-override-view-map): Remove.
19593 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19594 view-mode is not used anymore.
19595
7a1ff57f
CY
195962011-08-28 Chong Yidong <cyd@stupidchicken.com>
19597
19598 * server.el (server-port): Doc fix.
19599
b9696605
CY
19600 * cus-theme.el (custom-theme-choose-mode): Inherit from
19601 special-mode (Bug#9124).
19602 (custom-theme-choose-mode-map): Add special-mode to parent.
19603
ef8cdf8c
AM
196042011-08-28 Alan Mackenzie <acm@muc.de>
19605
19606 * progmodes/cc-fonts.el
19607 (c-make-font-lock-BO-decl-search-function): New function.
19608 (c-basic-matchers-after - "Fontify the clauses after various
19609 keywords"): Extract the three keyword lists for the 3 erroneous
19610 constructs from the list of four, and use the new function above
19611 in place of an old one.
19612
27de4e20
DD
196132011-08-28 Deniz Dogan <deniz@dogan.se>
19614
19615 * net/rcirc.el (rcirc-insert-prev-input)
19616 (rcirc-insert-next-input): Remove unused argument.
19617
356a3681
SM
196182011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19619
19620 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19621
3fc9b218
AM
196222011-08-27 Alan Mackenzie <acm@muc.de>
19623
19624 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19625 handle function pointer parameters properly.
19626
538a061c
MR
196272011-08-27 Martin Rudalics <rudalics@gmx.at>
19628
19629 * window.el (display-buffer-reuse-window): Fix case where
19630 selected window was reused with non-nil OTHER-WINDOW argument.
19631 (Bug#9381)
19632
35b1c40c
DD
196332011-08-27 Deniz Dogan <deniz@dogan.se>
19634
19635 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19636 oftc's NickServ messages.
19637
2f6a3e79
GM
196382011-08-27 Glenn Morris <rgm@gnu.org>
19639
19640 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19641
7254299e
CY
196422011-08-26 Chong Yidong <cyd@stupidchicken.com>
19643
19644 * emacs-lisp/package.el (package-install): Call package-initialize
19645 if called interactively.
19646
f8ccf167
LL
196472011-08-26 Leo Liu <sdl.web@gmail.com>
19648
19649 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19650
3e8cd5ce
JL
196512011-08-25 Juri Linkov <juri@jurta.org>
19652
19653 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19654 `search-whitespace-regexp' (bug#9364).
19655
93eb7113
JL
196562011-08-25 Juri Linkov <juri@jurta.org>
19657
19658 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19659 `regexp-search-ring' to their global values to protect from
19660 updating by `read-from-minibuffer' (bug#9185).
19661
f65d1611
JL
196622011-08-25 Juri Linkov <juri@jurta.org>
19663
19664 * textmodes/ispell.el (ispell-command-loop): Add newline
19665 at the end of the "Use option `i'..." line.
19666
f1cf7a31
JL
196672011-08-25 Juri Linkov <juri@jurta.org>
19668
19669 * battery.el (display-battery-mode): If `battery-status-function'
19670 or `battery-mode-line-format' is nil, display the message and set
19671 `display-battery-mode' to nil (bug#9363).
19672
0c95fcf7
EZ
196732011-08-25 Eli Zaretskii <eliz@gnu.org>
19674
19675 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19676 bidi-string-mark-left-to-right; they are unnecessary now.
19677
a2ebe600
DD
196782011-08-25 Deniz Dogan <deniz@dogan.se>
19679
19680 * net/quickurl.el: Documentation typo fixes.
19681
e4ed06f1
CY
196822011-08-25 Chong Yidong <cyd@stupidchicken.com>
19683
19684 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19685
e5f1c99e
GM
196862011-08-25 Glenn Morris <rgm@gnu.org>
19687
b2948976
GM
19688 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19689
e5f1c99e
GM
19690 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19691 (smtpmail-via-smtp): Handle nil response from smtp.
19692
f22f4808
JL
196932011-08-24 Juri Linkov <juri@jurta.org>
19694
19695 * proced.el (proced-marked): Inherit from `error' instead of
19696 `font-lock-warning-face'.
19697
19698 * ibuffer.el (ibuffer-marked-face): Change default face from
19699 `font-lock-warning-face' to `warning'.
19700 (ibuffer-deletion-face): Change default face from
19701 `font-lock-type-face' to `error'.
19702
19703 * battery.el (battery-update): Use the face `error' instead of
19704 `font-lock-warning-face' (bug#6117).
19705
6a93965e
JL
197062011-08-24 Juri Linkov <juri@jurta.org>
19707
19708 * faces.el (success): Change face color from "Green3" to
19709 "ForestGreen" on light background (bug#9353).
19710
1ed43b09
CY
197112011-08-24 Chong Yidong <cyd@stupidchicken.com>
19712
5664fa7b
RT
19713 * window.el (quit-window): Rename from quit-restore-window.
19714 Use same arglist as old quit-window.
1ed43b09
CY
19715 (frame-auto-delete): Doc fix.
19716
19717 * view.el (view-mode-exit): Use quit-window.
19718
11dcdbb2
JL
197192011-08-24 Juri Linkov <juri@jurta.org>
19720
19721 * isearch.el (isearch-ring-adjust1): Start visiting previous
19722 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19723 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19724 for empty search string (when the last search string is reused
19725 automatically) to adjust the isearch ring to the last element and
19726 prepare the correct index for further M-p commands (bug#9185).
19727
de62b4df
KH
197282011-08-24 Kenichi Handa <handa@m17n.org>
19729
19730 * international/ucs-normalize.el: If decomposition property of
19731 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19732 nil.
19733 (nfd, nfkd): Likewise.
19734
963b492b
SM
197352011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19736
19737 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19738 from process filters aren't reliably transmitted to the surrounding
19739 accept-process-output.
19740 (mpc-proc-check): New function.
19741 (mpc-proc-sync): Use it (bug#8293)
19742
93b6b5e1
SM
197432011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19744
19745 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19746 Add compatibility functions (bug#9313).
19747
bca633fb
EZ
197482011-08-23 Eli Zaretskii <eliz@gnu.org>
19749
b177498a
EZ
19750 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19751
6df6ae42 19752 * international/uni-bidi.el: Regenerate.
bca633fb 19753
0902a04e
KH
197542011-08-23 Kenichi Handa <handa@m17n.org>
19755
19756 * international/charprop.el:
19757 * international/uni-bidi.el:
19758 * international/uni-category.el:
19759 * international/uni-combining.el:
19760 * international/uni-comment.el:
19761 * international/uni-decimal.el:
19762 * international/uni-decomposition.el:
19763 * international/uni-digit.el:
19764 * international/uni-lowercase.el:
19765 * international/uni-mirrored.el:
19766 * international/uni-name.el:
19767 * international/uni-numeric.el:
19768 * international/uni-old-name.el:
19769 * international/uni-titlecase.el:
19770 * international/uni-uppercase.el: Regenerate.
19771
3bbf23bc
MR
197722011-08-23 Martin Rudalics <rudalics@gmx.at>
19773
19774 * help.el (help-window-setup): Fix message displayed when other
19775 window is reused. (Bug#9341)
19776
b3fd59bd
SM
197772011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19778
1802e444
SM
19779 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19780 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19781
b3fd59bd
SM
19782 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19783 Mark obsolete.
19784 * shell.el (shell-parse-pcomplete-arguments): New function.
19785 (shell-completion-vars): Use it instead (bug#9160).
19786
4eb61348
SM
197872011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19788
867cab74
SM
19789 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19790 strings and comments (bug#9333).
19791
4eb61348
SM
19792 * emacs-lisp/debug.el (debug-arglist): New function.
19793 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19794 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19795
262a1439
JL
197962011-08-22 Juri Linkov <juri@jurta.org>
19797
56ee679c
JL
19798 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19799 Revert regexp that highlights output switches to its old
19800 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19801
262a1439
JL
19802 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19803 to check for empty output (bug#9226).
19804
f13f86fb
CY
198052011-08-22 Chong Yidong <cyd@stupidchicken.com>
19806
19807 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19808 symbol-constituent as the default, as that stops font-lock from
19809 working properly (Bug#8843).
19810
c65c9622
LMI
198112011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19812
19813 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19814 `coding-system-for-*' around the process open call to avoid
19815 auth-source side effects.
e7f2c178 19816 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
19817 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19818 probe hangs.
c65c9622 19819
23a8a5ab
CY
198202011-08-21 Chong Yidong <cyd@stupidchicken.com>
19821
ff98b2dd
CY
19822 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19823
23a8a5ab
CY
19824 * emacs-lisp/find-func.el (find-function-noselect): New arg
19825 lisp-only.
19826
19827 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19828 signal an error for built-in functions (Bug#6664).
19829
f5e3c598
LMI
198302011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19831
19832 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19833 (smtpmail-try-auth-methods): Use it.
19834
a3f2468a
CY
198352011-08-21 Chong Yidong <cyd@stupidchicken.com>
19836
2c34e8da
CY
19837 * font-lock.el (font-lock-fontify-region)
19838 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19839 (font-lock-default-unfontify-buffer)
19840 (font-lock-default-fontify-region)
19841 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19842
b3fd59bd
SM
19843 * progmodes/compile.el (compilation-error-properties):
19844 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
19845 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19846 `ant' regexp.
ee31aabc 19847
a3f2468a
CY
19848 * net/browse-url.el (browse-url-firefox): Don't call
19849 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19850
8e999f70
GM
198512011-08-20 Glenn Morris <rgm@gnu.org>
19852
c21a496a
GM
19853 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19854
59ee0542
GM
19855 * tutorial.el (tutorial--default-keys): Update some default bindings.
19856
8e999f70
GM
19857 * files.el (hack-local-variables): Fully ignore case for "mode:".
19858
e3715033
AM
198592011-08-20 Alan Mackenzie <acm@muc.de>
19860
19861 Resolve invalid use of a regexp in regexp-opt.
19862
4d61f28d
JB
19863 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19864 detection for a java annotation.
e3715033 19865
4d61f28d 19866 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
19867 detection for a java annotation.
19868
4d61f28d
JB
19869 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19870 handling for java.
e3715033
AM
19871 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19872
04ed2e9c
CY
198732011-08-20 Chong Yidong <cyd@stupidchicken.com>
19874
19875 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19876 (Bug#9274).
19877
826cee64
AM
198782011-08-20 Alan Mackenzie <acm@muc.de>
19879
58179cce 19880 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
19881 such a construct. Mainly for when jit-lock etc. starts a chunk
19882 here.
19883
58179cce 19884 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 19885 variable.
58179cce 19886 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
19887 c-make-font-lock-search-function.
19888 (c-make-font-lock-search-function): Use the above function.
19889 (c-make-font-lock-context-search-function): New function.
19890 (c-cpp-matchers): Enhance the preprocessor expression case with
19891 the above function
19892 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19893 which takes an expression.
19894
19895 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19896
13009bd8
MR
198972011-08-20 Martin Rudalics <rudalics@gmx.at>
19898
19899 * window.el (display-buffer-reuse-window)
19900 (display-buffer-pop-up-window): Don't reuse or split a side
19901 window.
19902
9234ff7f
GM
199032011-08-19 Glenn Morris <rgm@gnu.org>
19904
19905 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 19906 Downcase "Mode:". (Bug#9331)
9234ff7f 19907
f635daa1
CY
199082011-08-18 Chong Yidong <cyd@stupidchicken.com>
19909
19910 * international/characters.el: Add L and R categories.
19911
19912 * subr.el (bidi-string-mark-left-to-right): Rename from
19913 string-mark-left-to-right. Use category search.
19914
19915 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19916
bc987f8b
JL
199172011-08-18 Juri Linkov <juri@jurta.org>
19918
19919 * faces.el (error, warning, success): New faces with definitions
19920 copied from old default values of `font-lock-warning-face',
19921 `compilation-warning', `compilation-info' (bug#6117).
19922
19923 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19924
19925 * progmodes/compile.el (compilation-error): Inherit from `error'.
19926 (compilation-warning): Inherit from `warning'.
19927 (compilation-info): Inherit from `success'.
19928
19929 * dired.el (dired-marked): Inherit from `warning'.
19930 (dired-flagged): Inherit from `error'.
19931
57173b96
LMI
199322011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19933
3e79eb87
LMI
19934 * mail/smtpmail.el (auth-source): Require to avoid problems with
19935 binding variables (bug#9298). Also clean up some unused
19936 autoloads.
19937
b3fd59bd
SM
19938 * net/network-stream.el (network-stream-open-starttls):
19939 Support using starttls.el without using gnutls-cli.
57173b96 19940
02b404de
JL
199412011-08-17 Juri Linkov <juri@jurta.org>
19942
19943 * progmodes/grep.el (rgrep): Handle the case when
19944 `grep-find-command' is a cons cell (bug#9278).
19945
8c9177f2
MR
199462011-08-17 Martin Rudalics <rudalics@gmx.at>
19947
19948 * window.el (display-buffer-pop-up-frame): Run frame creation
19949 function with BUFFER current (as special-display-popup-frame
19950 does). Reported by Drew Adams.
19951
3644a0ab
DU
199522011-08-17 Daiki Ueno <ueno@unixuser.org>
19953
19954 * epa-mail.el: Simplify GnuPG group expansion using
19955 epg-expand-group.
19956 (epa-mail-group-alist, epa-mail-group-modtime)
19957 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19958 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19959 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19960 Remove.
19961
5e617bc2 199622011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
19963
19964 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19965
9c4aeabf
AM
199662011-08-16 Alan Mackenzie <acm@muc.de>
19967
19968 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19969 Correct, to avoid the inside of macros.
19970
3a99bf64
RS
199712011-08-16 Richard Stallman <rms@gnu.org>
19972
04963aa8
RS
19973 * epa-mail.el: Handle GnuPG group definitions.
19974 (epa-mail-group-alist, epa-mail-group-modtime)
19975 (epa-mail-gnupg-conf-file): New variables.
19976 (epa-mail-parse-groups, epa-mail-sync-groups)
19977 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19978 (epa-mail-expand-recipients): New functions.
19979 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19980
177549d0
RS
19981 * mail/rmail.el (rmail-epa-decrypt): New command.
19982
fe38beef
RS
19983 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19984 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
19985 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19986 (epa-decrypt-armor-in-region): Make error message clearer.
19987
934eacb9
SM
199882011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19989
19990 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19991 and "a2b" to "ab" for `prefix'.
19992
d024fb4e
CY
199932011-08-14 Chong Yidong <cyd@stupidchicken.com>
19994
19995 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19996 filter groups.
de148fee
CY
19997 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19998 Fourquet (Bug#8804).
d024fb4e 19999
62f1ca49
JB
200002011-08-12 Juanma Barranquero <lekktu@gmail.com>
20001
20002 * startup.el (argi): Declare as global variable (bug#9275).
20003
9ccaaa4b
CY
200042011-08-12 Chong Yidong <cyd@stupidchicken.com>
20005
20006 * subr.el (string-mark-left-to-right): Search the entire string
20007 for RTL script, not just the terminating character. Doc fix.
20008
a3dae87a
SM
200092011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20010
6cd18349
SM
20011 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20012 New function.
20013 (js--regexp-literal, js-syntax-propertize-function): Remove.
20014 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20015 (js-mode-map): Don't rebind electric keys.
20016 (js-insert-and-indent): Remove.
20017 (js-mode): Setup electric-layout and electric-indent instead.
20018
a3dae87a
SM
20019 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20020
9d5cb631
DU
200212011-08-12 Daiki Ueno <ueno@unixuser.org>
20022
20023 * epa.el (epa-progress-callback-function): Fix the logic of
20024 displaying progress.
20025 * epa-file.el (epa-file-insert-file-contents): Make progress
20026 display more user-friendly.
20027 (epa-file-write-region): Ditto.
20028
3e26a4a2
CY
200292011-08-10 Chong Yidong <cyd@stupidchicken.com>
20030
20031 * subr.el (string-mark-left-to-right): New function.
20032
20033 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20034 Use string-mark-left-to-right.
20035 (list-buffers-noselect): Caller changed.
20036
a3dae87a
SM
20037 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20038 Use string-mark-left-to-right.
3e26a4a2
CY
20039 (tabulated-list-print): Recenter after moving point.
20040
ac8cf6e6
JL
200412011-08-10 Juri Linkov <juri@jurta.org>
20042
20043 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20044 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20045 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20046
8d96c9a4
CY
200472011-08-09 Chong Yidong <cyd@stupidchicken.com>
20048
20049 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20050 (Bug#7554).
20051
7be1c708 200522011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
20053
20054 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20055 character. (Bug#6594)
20056
37e11a63
CY
200572011-08-08 Chong Yidong <cyd@stupidchicken.com>
20058
839dde57
CY
20059 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20060 (image-dired--with-db-file): New macro.
20061 (image-dired-write-tags, image-dired-remove-tag)
20062 (image-dired-create-gallery-lists, image-dired-write-comments)
20063 (image-dired-get-comment, image-dired-mark-tagged-files)
20064 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20065 (image-dired-gallery-generate): Use insert-file-contents.
20066
37e11a63
CY
20067 * time.el (display-time-world-list, display-time-world-display):
20068 * time-stamp.el (time-stamp-string):
20069 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20070 set-time-zone-rule (Bug#7337).
20071
0b4946c4
DU
200722011-08-08 Daiki Ueno <ueno@unixuser.org>
20073
20074 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20075 (epg-error-to-string, epg-errors-to-string): New function.
20076 (epg-wait-for-completion): Reverse errors list.
20077 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20078 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20079 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20080 (epg-sign-keys, epg-generate-key-from-file)
20081 (epg-generate-key-from-string): Format errors by using
20082 epg-errors-to-string (bug#9255).
20083 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20084
75bfc667
JL
200852011-08-07 Juri Linkov <juri@jurta.org>
20086
20087 * faces.el (list-faces-display): Remove extra angle bracket
20088 from `help-mode-map'.
20089
20090 * info.el (Info-history-toc-nodes): Doc fix.
20091
20092 * longlines.el (longlines-mode): Doc fix.
20093
673e08bb
SM
200942011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20095
4640dd88
SM
20096 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20097 of statements and in a few more cases (bug#9183).
20098
673e08bb
SM
20099 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20100 New functions.
20101 (cl-transform-lambda): Use them (bug#9239).
20102
89b3f019
MR
201032011-08-05 Martin Rudalics <rudalics@gmx.at>
20104
20105 * window.el (display-buffer-same-window)
20106 (display-buffer-same-frame, display-buffer-other-window)
20107 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20108 (pop-to-buffer-other-window)
20109 (pop-to-buffer-same-frame-other-window)
20110 (pop-to-buffer-other-frame): Make them defuns.
20111 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20112
640c8776
SM
201132011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20114
20115 * subr.el (make-composed-keymap): Move from C. Change calling
20116 convention, and improve docstring to bring attention to a subtle point.
20117 * minibuffer.el (completing-read-default): Adjust accordingly.
20118
63648a95
MA
201192011-08-03 Michael Albinus <michael.albinus@gmx.de>
20120
20121 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20122 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20123
20124 * net/trampver.el: Update release number.
20125
b796c9b7
SM
201262011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20127
20128 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20129 "in" (bug#9190).
20130
2239d7d5
LMI
201312011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20132
e07dd7c3
LMI
20133 * mail/sendmail.el (sendmail-query-once): Restore the current
20134 buffer after querying (bug#9074).
20135
0e6a2bd7
LMI
20136 * dired.el (dired-flagged): Use different faces for marked and
20137 flagged files (bug#6117).
20138
ce887515
LMI
20139 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20140 (bug#4433).
20141
92f2affc
LMI
20142 * ido.el (ido-mode): Switch off the message if called
20143 non-interactively.
20144
57d5aff0
LMI
20145 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20146 before 587, since it appears that that's more likely to work for
20147 more people.
20148
98cd6c18 20149 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 20150 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
20151 exist.
20152
b96dec83
LMI
20153 * info.el: Remove the `Info-beginning-of-buffer' function
20154 (bug#8325).
20155
b796c9b7
SM
20156 * net/network-stream.el (network-stream-open-starttls):
20157 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 20158
d90e2ea0
MR
201592011-08-01 Martin Rudalics <rudalics@gmx.at>
20160
20161 * window.el (display-buffer-in-window): Don't set dedicated status
20162 of window here (Bug#9215).
20163 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20164 (display-buffer-pop-up-side-window)
b796c9b7 20165 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 20166
cca09170
SM
201672011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20168
20169 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20170 before binding generated-autoload-file.
20171
027b979c
DD
201722011-08-01 Deniz Dogan <deniz@dogan.se>
20173
20174 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20175
3c7ee4f3
MA
201762011-07-30 Michael Albinus <michael.albinus@gmx.de>
20177
20178 Sync with Tramp 2.2.2.
20179
20180 * net/trampver.el: Update release number.
20181
2cc8e51a
JL
201822011-07-30 Juri Linkov <juri@jurta.org>
20183
20184 * dired-aux.el (dired-touch-initial): Remove function.
20185 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20186 current time, and `default' to the last modification time of the
20187 current marked file (bug#6887).
20188
a514d856
JM
201892011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20190
20191 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 20192 numeric argument to read-number (bug#9163).
a514d856 20193
8a7eddd7
MA
201942011-07-27 Michael Albinus <michael.albinus@gmx.de>
20195
20196 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20197 connection process, it could be nil.
20198
1ddd96f5
LL
201992011-07-27 Leo Liu <sdl.web@gmail.com>
20200
20201 Simplify url handling in rcirc-mode.
20202
20203 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20204 (rcirc-browse-url-at-mouse): Remove.
20205 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20206
b248a85d
AM
202072011-07-26 Alan Mackenzie <acm@muc.de>
20208
20209 Fontify bitfield declarations properly.
20210
20211 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20212 (c-symbol-chars): Now exported as a lang variable.
20213 (c-not-primitive-type-keywords): New lang variable.
20214
20215 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20216 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 20217 parsed as a bitfield declaration.
b248a85d 20218
b796c9b7
SM
20219 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20220 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
20221 (c-punctuation-in): New function.
20222 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20223 declarations properly.
20224
68575ab0
UJ
202252011-07-26 Ulf Jasper <ulf.jasper@web.de>
20226
20227 * calendar/icalendar.el (icalendar--all-events): Take care of
20228 multiple vcalendars in a single file.
b796c9b7 20229 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 20230
0f0a88b9
DD
202312011-07-25 Deniz Dogan <deniz@dogan.se>
20232
20233 * image.el (insert-image): Clarifying docstring.
20234
0b3f36df
MA
202352011-07-24 Michael Albinus <michael.albinus@gmx.de>
20236
20237 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20238 `tramp-send-command-and-check' if there is no error.
20239 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20240
a9901f61
AM
202412011-07-22 Alan Mackenzie <acm@muc.de>
20242
20243 Prevent cc-langs.elc being loaded at run time.
20244
20245 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20246 cc-langs.
20247
4d61f28d 20248 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
20249 "(require 'cc-langs)". Quote a form so it will evaluate at
20250 (cc-mode's) compilation time.
20251
11d074b2
MA
202522011-07-22 Michael Albinus <michael.albinus@gmx.de>
20253
20254 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20255 loading. (Bug#9114)
20256
938b94c8
MR
202572011-07-21 Martin Rudalics <rudalics@gmx.at>
20258
20259 * window.el (display-buffer-pop-up-window)
20260 (display-buffer-pop-up-side-window)
20261 (display-buffer-in-side-window): Call display-buffer-set-height
20262 and display-buffer-set-width after setting the new window's
b796c9b7 20263 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 20264
bfa4f190
SS
202652011-07-20 Sam Steingold <sds@gnu.org>
20266
20267 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20268 (etags-tags-included-tables): Call `convert-standard-filename' on
20269 the file names contained in TAGS so that windows Emacs can handle
20270 TAGS files created by cygwin ctags.
20271
8ca42262
LMI
202722011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20273
20274 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20275 which apparently didn't work.
20276
5db2afd2 202772011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 20278
5db2afd2
RW
20279 * proced.el (proced-send-signal): For *Marked Processes* buffer
20280 put point at beginning of buffer.
20281
92e15d10
SB
202822011-07-19 Stephen Berman <stephen.berman@gmx.net>
20283
20284 * proced.el (proced-format): Make header lines align with the text
20285 (bug#1779).
20286
1bfd59e5
LMI
202872011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20288
20289 * view.el (view-buffer): Allow running in `special' modes if we're
20290 visiting a file (bug#8615).
20291
f5aae37c
MR
202922011-07-19 Martin Rudalics <rudalics@gmx.at>
20293
20294 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
20295 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20296 New functions.
f5aae37c
MR
20297 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20298 more accurately.
20299
bf2c1571
AM
203002011-07-18 Alan Mackenzie <acm@muc.de>
20301
20302 Fontify declarators properly when, e.g., a jit-lock chunk begins
20303 inside a declaration.
20304
20305 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20306
b796c9b7
SM
20307 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20308 New function.
bf2c1571
AM
20309 (c-complex-decl-matchers): Insert reference to
20310 c-font-lock-enclosing-decls.
20311
20312 * progmodes/cc-engine.el (c-backward-single-comment):
20313 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20314 to nil around calls to (forward-comment -1).
20315
4e190b80
LMI
203162011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20317
12dc863d
LMI
20318 * image.el (put-image): Doc typo fix.
20319
a762e966
LMI
20320 * progmodes/etags.el (tags-search): Doc typo fix.
20321
4e190b80
LMI
20322 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20323 password if we get errors 550 to 554.
20324
f019fb21
LMI
203252011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20326
b796c9b7 20327 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 20328
81746738
LMI
20329 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20330 indentation character (bug#6380).
20331
3ee3a1b5
LMI
20332 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20333
c82f64de
LMI
20334 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20335 to clarify what the problem is (bug#4291).
20336
f019fb21
LMI
20337 * simple.el (current-kill): Clarify what
20338 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
20339 (auto-fill-mode): Document `auto-fill-function' in relation to
20340 `auto-fill-mode' (bug#2470).
f019fb21 20341
0794775d
LM
203422011-07-16 Lawrence Mitchell <wence@gmx.li>
20343
20344 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20345 method if slot is read-only (bug#9035).
20346
be39b8cc
MR
203472011-07-16 Martin Rudalics <rudalics@gmx.at>
20348
b796c9b7 20349 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 20350 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
20351 selected before, see discussion of (Bug#8615), (Bug#6954).
20352 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 20353
6ccf7859
GM
203542011-07-15 Glenn Morris <rgm@gnu.org>
20355
20356 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 20357 Respect help-form.
6ccf7859 20358
87e86684
LM
203592011-07-09 Lawrence Mitchell <wence@gmx.li>
20360
20361 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20362 (gnutls-negotiate): Use it.
20363
d6066239
LMI
203642011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20365
b796c9b7
SM
20366 * net/gnutls.el (gnutls-negotiate):
20367 Upcase `gnutls-algorithm-priority'.
d6066239 20368
bd23ebc0
GM
203692011-07-15 Glenn Morris <rgm@gnu.org>
20370
c65bca65
GM
20371 * jka-compr.el (jka-compr-verbose): Move from here...
20372 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20373 Add missing :version tag.
20374 * info.el: No need to require jka-compr when compiling.
bd23ebc0 20375
478615cc
LMI
203762011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20377
7b41decb
LMI
20378 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20379 (gnutls-negotiate): Use it.
20380
dbc44fcd
LMI
20381 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20382
06789f97
LMI
20383 * info.el (Info-beginning-of-buffer): New command.
20384 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20385 announcing `b' as the key (bug#8325).
ab896c37 20386 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 20387
c39da690
LMI
20388 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20389
3aa5f34b
LMI
20390 * international/mule-cmds.el
20391 (describe-specified-language-support): Make the error message
20392 clearer (bug#8905).
20393
4bf0979f
LMI
20394 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20395
478615cc
LMI
20396 * isearch.el (isearch-barrier): Add a doc string, since it's
20397 mentioned in a function doc string (bug#8678).
20398
75c68aa1
MR
203992011-07-15 Martin Rudalics <rudalics@gmx.at>
20400
20401 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20402 buffer argument (Bug#9083) and self-identifying label argument.
20403
a7c33da2
GM
204042011-07-15 Glenn Morris <rgm@gnu.org>
20405
20406 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20407
2f5c6024
LMI
204082011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20409
20410 * man.el (Man-fontify-manpage): Fix message when formatting the
20411 man page (bug#7929).
20412
0bb23927 204132011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
20414
20415 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20416 argument LRM; if non-nil, append an invisible LRM character to the
20417 buffer name.
20418 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20419 last argument non-nil, when formatting buffer names.
0bb23927
EZ
20420 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20421 paragraph direction.
cce4b0a7 20422
621ef9ab
LMI
204232011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20424
d1583c48
LMI
20425 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20426 the man page name (bug#7929).
20427
6a57fb5f
LMI
20428 * image.el (put-image): Mention the `put-image' overlay property
20429 (bug#7834).
20430
d7956b14
LMI
20431 * scroll-bar.el (set-scroll-bar-mode): Mention that
20432 `scroll-bar-mode' lists the values (bug#7772).
20433
5b2d4a66
LMI
20434 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20435 command (bug#7729).
20436
7509a874
LMI
20437 * rect.el (apply-on-rectangle): Return the point after the last
20438 operation.
20439 (string-rectangle): Go to the point after the last operation
20440 (bug#7522).
20441
4fe74b19
LMI
20442 * printing.el (pr-toggle-region): Clarify the documentation
20443 slightly (bug#7493).
20444
b796c9b7
SM
20445 * time.el (display-time-update):
20446 Allow `display-time-mail-function' to return nil (bug#7158).
20447 Fix suggested by Detlev Zundel.
ab283561 20448
fc233c9d
LMI
20449 * vc/diff.el (diff): Clarify the order the file names are read
20450 (bug#7111).
20451
43f5740b
LMI
20452 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20453 the doc string (bug#7015).
20454
f2182a76
LMI
20455 * font-lock.el (font-lock-maximum-decoration): Mention what
20456 numeric levels mean (bug#6935).
20457
621ef9ab
LMI
20458 * startup.el (initial-buffer-choice): Don't mention the `none'
20459 selection, which is against policy.
20460
adc47434
MR
204612011-07-14 Martin Rudalics <rudalics@gmx.at>
20462
b796c9b7
SM
20463 * window.el (display-buffer-normalize-special):
20464 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 20465
7e5bfb8f
EZ
204662011-07-14 Eli Zaretskii <eliz@gnu.org>
20467
20468 * subr.el (version<, version<=, version=): Mention "-CVS" and
20469 "-12345" alpha version numbers.
20470
27fa387a
CY
204712011-07-14 Chong Yidong <cyd@stupidchicken.com>
20472
20473 * bindings.el: Add advertised binding for set-mark-command
20474 (Bug#5772).
20475
8bdfa064
CY
204762011-07-14 Chong Yidong <cyd@stupidchicken.com>
20477
20478 * bindings.el (mode-line-other-buffer):
20479 * bookmark.el (bookmark-bmenu-2-window):
20480 * bs.el (bs-cycle-next, bs-cycle-previous):
20481 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20482 switch-to-buffer.
20483
20484 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 20485 Delete.
8bdfa064 20486
5eba16a3
JB
204872011-07-14 Juanma Barranquero <lekktu@gmail.com>
20488
20489 * follow.el (follow-debug-message, follow-redisplay):
20490 * jka-cmpr-hook.el (with-auto-compression-mode):
20491 Fix typos in docstrings.
20492
15853710
LMI
204932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20494
a28e4607
LMI
20495 * subr.el (with-silent-modifications): Clarify somewhat what the
20496 macro inhibits (bug#6525).
20497
15853710
LMI
20498 * simple.el (eval-expression): Note what it does if called
20499 interactively (bug#6495).
20500
bee0fcef
CY
205012011-07-13 Chong Yidong <cyd@stupidchicken.com>
20502
b796c9b7
SM
20503 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20504 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
20505
20506 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20507 Remove switch-to-buffer.
20508
58274504
LMI
205092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20510
bd2fcc8d
LMI
20511 * files.el (make-directory): Clarify that an error will be raised
20512 if there's an error (bug#6397).
20513
0f04b32c
LMI
20514 * startup.el (initial-buffer-choice): Add `none' as a choice
20515 (bug#6234).
20516
465c5fc8
LMI
20517 * subr.el (add-hook): Clarify section about buffer-local hooks
20518 (bug#6218).
20519
58274504
LMI
20520 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20521
bead9a43
JB
205222011-07-13 Juanma Barranquero <lekktu@gmail.com>
20523
20524 * tabify.el (untabify): Preserve the current column so that point
20525 doesn't move (bug#6032).
20526
3af98a7b
LMI
205272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20528
b796c9b7
SM
20529 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20530 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 20531
6240145a
GM
205322011-07-13 Glenn Morris <rgm@gnu.org>
20533
20534 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20535 (dired-insert-directory): Give a message the first time
20536 if ls is found not to support --dired.
20537
1d8c2ccc
LMI
205382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20539
20540 * simple.el (toggle-truncate-lines): Clarify what is toggled
20541 (bug#5580). Text by Drew Adams.
20542
5fc4038e
CY
205432011-07-13 Chong Yidong <cyd@stupidchicken.com>
20544
20545 * simple.el (blink-matching-open): Make the error message from the
20546 last change less verbose.
20547
bf6012e5
DN
205482011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20549
20550 * font-lock.el (font-lock-comment-face): Use the high contrast
20551 "yellow" color for font-lock-comment-face on low color terminals
20552 using a dark background color (bug#4221).
20553
343c3b5a
LMI
205542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20555
7e9505c5
LMI
20556 * dired.el (dired-insert-set-properties): Make the doc string
20557 reflect what it does now (bug#5325).
20558
c26fdcf5
LMI
20559 * simple.el (blink-matching-open): Say that we were unable to find
20560 the match within the limit, if we're limited (bug#5122).
20561
bb388cc5
LMI
20562 * international/mule-cmds.el (prefer-coding-system): Add an
20563 example (bug#4869).
20564
343c3b5a
LMI
20565 * progmodes/etags.el (tags-search): Document `file-list-form'
20566 (bug#4731).
20567
2a517d45
LM
205682011-07-13 Lawrence Mitchell <wence@gmx.li>
20569
20570 * net/browse-url.el (browse-url-default-browser)
20571 (browse-url-browser-function): Make the default browser choice a
20572 bit more logical (bug#4300). Also clean up the doc string.
20573
b6c78ef2
JB
205742011-07-13 Juanma Barranquero <lekktu@gmail.com>
20575
20576 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20577 binary endings (bug#4440).
20578
1c4dd947
LMI
205792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20580
a2014063
LMI
20581 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20582 which can be pretty annoying (bug#8971).
20583
9c9c2d88
LMI
20584 * jka-compr.el (jka-compr-verbose): New variable, and use
20585 throughout (bug#8971).
20586
1c4dd947
LMI
20587 * info.el (Info-find-file): Fall back on the installation
20588 directory if we can't find the info node anywhere else.
20589
a1c9f41b
SO
205902011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20591
20592 * vc/vc.el (vc-revert-file):
20593 Don't set file time-stamp in the past. (Bug#5181)
20594
536f3d36
LMI
205952011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20596
7152b011
LMI
20597 * files.el (after-find-file): Give a better error message when
20598 trying to find a symlink that points to a file that doesn't exist
20599 (bug#4398).
20600
536f3d36
LMI
20601 * progmodes/cc-vars.el: Remove (probably) misleading comment
20602 (bug#4396).
20603
460c0fba
JB
206042011-07-12 Johan Bockgård <bojohan@gnu.org>
20605
20606 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20607
7a6bda45
CY
206082011-07-12 Chong Yidong <cyd@stupidchicken.com>
20609
20610 * mouse-sel.el: Hack restoring functionality, while keeping
20611 compatibility with 2010-07-03 changes to mouse selection.
20612 (mouse-sel-primary-overlay): New var.
20613 (mouse-sel-selection-alist): Use it.
20614 (mouse-sel-mode): Doc fix; remove points that are default features
20615 of mouse.el.
20616
c79598ef
JB
206172011-07-12 Johan Bockgård <bojohan@gnu.org>
20618
20619 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20620 Fix previous fix (bug#2490).
20621
ff8be6ef
RW
206222011-07-12 Roland Winkler <winkler@gnu.org>
20623
b796c9b7
SM
20624 * textmodes/bibtex.el (bibtex-initialize):
20625 Use pop-to-buffer-same-window.
ff8be6ef
RW
20626 (bibtex-search-entries): Fix interactive call.
20627
296ba3ee
LMI
206282011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20629
f5242a02 20630 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
20631 Fontise bytecomp Error lines more correctly (bug#2490).
20632 Fix suggested by Johan Bockgård.
f5242a02 20633
296ba3ee
LMI
20634 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20635
20636 * dired-x.el (dired-guess-default): Use `delete-dups'.
20637
f69fd0d2
CY
206382011-07-12 Chong Yidong <cyd@stupidchicken.com>
20639
20640 * dired.el (dired-mark-prompt):
20641 * dired-aux.el (dired-read-shell-command): Doc fix.
20642
eab5dc07
LMI
206432011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20644
b796c9b7
SM
20645 * mail/sendmail.el (sendmail-query-once):
20646 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
20647 emacs -Q.
20648
20649 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20650
eab5dc07
LMI
20651 * cus-edit.el (custom-file): Take an optional no-error variable.
20652 (customize-save-variable): Set the variable, and give a warning if
20653 running under "emacs -q".
20654
a1e65d42
JB
206552011-07-11 Juanma Barranquero <lekktu@gmail.com>
20656
20657 * loadhist.el (unload-feature-special-hooks):
20658 Add `auto-coding-functions', `fill-nobreak-predicate' and
20659 `find-directory-functions' (bug#5327).
20660
1d52da10
LMI
206612011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20662
be958f1d
LMI
20663 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20664
5bedb26c
LMI
20665 * cus-edit.el (custom-guess-name-alist): -alist variables should
20666 use the `alist' type (bug#3120). Suggested by Drew Adams.
20667
1d52da10
LMI
20668 * printing.el: Add documentation to all the `pr-toggle-' commands.
20669
cd394be1 206702011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
20671
20672 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20673 backends where it makes sense (bug#2623).
20674
dcc88d8a
LMI
206752011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20676
c3de9feb
LMI
20677 * dired-x.el (dired-guess-default): Remove duplicate shell command
20678 entries (bug#2028).
8a93078b 20679 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 20680 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 20681
dcc88d8a
LMI
20682 * subr.el (remove-duplicates): New conveniency function.
20683
505e3645
LMI
206842011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20685
20686 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20687 (bug#1526).
20688
206892011-07-10 Martin Rudalics <rudalics@gmx.at>
20690
20691 * window.el (display-buffer-normalize-default): Don't invert
20692 meaning of even-window-heights. Reported by Eli Zaretskii
20693 <eliz@gnu.org>.
20694
455e4fa1
BR
206952011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20696
20697 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20698
8e0bc3e9
CY
206992011-07-10 Chong Yidong <cyd@stupidchicken.com>
20700
20701 * window.el (display-buffer): Fix arguments to
20702 display-buffer-reuse-window in last change.
20703
fa7c3228
CY
20704 * faces.el (link): Use a less saturated blue on light backgrounds.
20705
20706 * startup.el (fancy-startup-text, fancy-about-text)
20707 (fancy-startup-tail): Use font-lock faces, for background safety.
20708
c0a7f300
BN
207092011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20710
b796c9b7
SM
20711 * emulation/viper-cmd.el (viper-change-state-to-vi):
20712 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 20713
4dc2a129
MR
207142011-07-09 Martin Rudalics <rudalics@gmx.at>
20715
20716 * window.el (display-buffer-default-specifiers): Remove.
20717 (display-buffer-macro-specifiers): Remove default specifiers.
20718 (display-buffer-alist): Default to nil.
b796c9b7 20719 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
20720 (display-buffer-pop-up-window): Allow splitting internal
20721 windows. Check whether a live window was created.
20722 (display-buffer-other-window-means-other-frame)
20723 (display-buffer-normalize-arguments): Rename to
20724 display-buffer-normalize-argument and rewrite. Set the
20725 other-window specifier.
20726 (display-buffer-normalize-special): New function.
20727 (display-buffer-normalize-options): Rename to
20728 display-buffer-normalize-default and rewrite.
20729 (display-buffer-normalize-options-inhibit): Remove.
20730 (display-buffer-normalize-specifiers): Rewrite.
20731 (display-buffer): Process other-window specifier and call
20732 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20733 more faithfully.
b796c9b7 20734 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 20735 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
20736 (display-buffer-in-window, display-buffer-alist-set):
20737 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
20738 <tassilo@member.fsf.org>.
20739
2d43b8c9
LL
207402011-07-09 Leo Liu <sdl.web@gmail.com>
20741
20742 * register.el (insert-register): Restore accidental change on
20743 2011-06-26. (Bug#9028)
20744
7f9b7c53
GM
207452011-07-09 Glenn Morris <rgm@gnu.org>
20746
20747 * subr.el (remq): Handle the empty list. (Bug#9024)
20748
f042cfd8
AS
207492011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20750
20751 * mail/sendmail.el (send-mail-function): No longer delay custom
20752 initialization.
20753 * custom.el (custom-initialize-delay): Doc fix.
20754
856b2f11
SM
207552011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20756
20757 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20758
afae1d68
MA
207592011-07-08 Michael Albinus <michael.albinus@gmx.de>
20760
20761 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20762 human-friendly prompt.
20763
0757af94
SM
207642011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20765
20766 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20767 provided by a particular plugin.
20768
d760b731
LMI
207692011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20770
20771 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20772 save customizations (with "emacs -Q"), just set the variable
20773 instead of erroring out.
20774
20775 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20776
cd79ce90
JL
207772011-07-08 Juri Linkov <juri@jurta.org>
20778
20779 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20780 (archive-zip-update-case): Use 7z if found by `executable-find'.
20781 The order of searching the available programs is the same as in
20782 `archive-zip-extract' (bug#8968).
20783
14cc04aa
CY
207842011-07-07 Chong Yidong <cyd@stupidchicken.com>
20785
20786 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20787 (menu-bar-options-menu): Tweak descriptions.
20788
0a1848ec
LMI
207892011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20790
20791 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20792 menu items into verb phrases (bug#1421). Also refill to fit under
20793 80 columns.
20794
f5bd0689
CY
207952011-07-07 Chong Yidong <cyd@stupidchicken.com>
20796
538e85c6
CY
20797 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20798 (Info-read-node-name): Doc fix (Bug#1084).
20799
f5bd0689
CY
20800 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20801 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20802 (end-of-sexp, beginning-of-sexp)
20803 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20804 (forward-symbol, forward-same-syntax, word-at-point)
20805 (sentence-at-point): Doc fix (Bug#1144).
20806
56ec5115
LMI
208072011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20808
f3f8e37f
LMI
20809 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20810 should cover it (bug#1281).
20811
0757af94 20812 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 20813
e9fce1ac 20814 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
20815 negotiation fails, then possibly try again with a non-encrypted
20816 connection (bug#9017).
20817
56ec5115
LMI
20818 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20819 be used.
20820
c2f9aec8
RS
208212011-07-07 Richard Stallman <rms@gnu.org>
20822
20823 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20824 property, and handle its changed format.
20825 Look for the correct line number.
20826 Use file's line contents (but not past first =) to find
20827 correct line in message.
20828
ef7b981d 208292011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
20830
20831 * international/characters.el (build-unicode-category-table):
20832 Delete it.
0757af94 20833 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 20834
0757af94 20835 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
20836 to src/chartab.c.
20837 (get-char-code-property): Call unicode-property-table-internal to
20838 load a file. Call get-unicode-property-internal where necessary.
20839 (put-char-code-property): Call unicode-property-table-internal to
20840 load a file. Call put-unicode-property-internal where necessary.
20841 put-unicode-property-internal where necessary.
0757af94
SM
20842 (char-code-property-description):
20843 Call unicode-property-table-internal to load a file.
c805dec0
KH
20844
20845 * international/charprop.el:
20846 * international/uni-bidi.el:
20847 * international/uni-category.el:
20848 * international/uni-combining.el:
20849 * international/uni-comment.el:
20850 * international/uni-decimal.el:
20851 * international/uni-decomposition.el:
20852 * international/uni-digit.el:
20853 * international/uni-lowercase.el:
20854 * international/uni-mirrored.el:
20855 * international/uni-name.el:
20856 * international/uni-numeric.el:
20857 * international/uni-old-name.el:
20858 * international/uni-titlecase.el:
20859 * international/uni-uppercase.el: Regenerate.
20860
20861 * loadup.el: Load international/charprop.el before
20862 international/characters.
20863
e14b388a
CY
208642011-07-07 Chong Yidong <cyd@stupidchicken.com>
20865
20866 * window.el (next-buffer, previous-buffer): Signal an error if
20867 called from a minibuffer window.
20868
20869 * bindings.el: Revert 2011-07-04 change.
20870
354cf0ba
RS
208712011-07-06 Richard Stallman <rms@gnu.org>
20872
20873 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20874 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20875 Treat markers like ints.
20876 (rmail-mime-entity): Doc fix.
20877
a48868a7
LMI
208782011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20879
4906cd3d
LMI
20880 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20881 defcustom again for backwards compatibility.
20882
e0457abe
LMI
20883 * simple.el (shell-command-on-region): Fill.
20884
d67f7e1f
LMI
20885 * dired-aux.el (dired-kill-line): Add a doc string.
20886
fe204702
LMI
20887 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20888 to "\\sw\\|\\s_" (bug#358).
20889
a48868a7
LMI
20890 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20891 (dired-unmark-backward): Ditto.
20892 (dired-flag-backup-files): Ditto.
20893
20894 * dired-x.el (dired-mark-sexp): Ditto.
20895
aa8a705c
RS
208962011-07-06 Richard Stallman <rms@gnu.org>
20897
20898 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20899 (rmail-mime-entity): New arg TRUNCATED.
20900 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20901 New functions.
20902 (rmail-mime-save): Warn if entity is truncated.
20903 (rmail-mime-toggle-hidden): Likewise, for showing.
20904 (rmail-mime-process-multipart): Record when an entity is truncated.
20905
a9a936b9
RS
20906 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20907 if ENTITY is a string.
20908
1f2b92cb
LMI
209092011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20910
f4f73198 20911 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
20912 of faces when `M-C-x'-ing their definitions (bug#8378).
20913 Also clean up the code slightly.
f4f73198 20914
12b16734 20915 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 20916 because that makes the colors go away.
12b16734 20917
f0691d22
LMI
20918 * mail/sendmail.el (send-mail-function): Change the default to
20919 `sendmail-query-once'.
9e87df06 20920 (sendmail-query-once): Add an autoload cookie.
f0691d22 20921
1f2b92cb
LMI
20922 * net/network-stream.el (network-stream-open-starttls): Try using
20923 a plain connection even if the server offered STARTTLS, and we
20924 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20925 capability. This should make smtpmail.el work in slightly more
20926 configurations.
20927
1cdd2a1b
MA
209282011-07-06 Michael Albinus <michael.albinus@gmx.de>
20929
20930 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20931 New defun.
20932 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20933
fbcc67e2
MM
209342011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20935
20936 * progmodes/sql.el: Version 3.0
0757af94 20937 (sql-product-alist): Add product :completion-object,
fbcc67e2 20938 :completion-column, and :statement attributes.
0757af94 20939 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 20940 (sql-mode-syntax-table): Mark all punctuation.
0757af94 20941 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
20942 ansi keywords.
20943 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 20944 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
20945 (sql-oracle-show-reserved-words): New function for development.
20946 (sql-product-font-lock): Simplify for source code buffers.
20947 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20948 New functions.
20949 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
20950 (sql-mode-map): Add statement movement functions.
20951 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20952 New variable.
fbcc67e2
MM
20953 (sql-statement-regexp, sql-beginning-of-statement)
20954 (sql-end-of-statement, sql-signum): New functions.
0757af94 20955 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
20956 (sql-show-sqli-buffer): Bug fix.
20957 (sql-interactive-mode): Store connection data as buffer local.
0757af94 20958 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
20959 with sql-interactive-mode.
20960 (sql-save-connection): Save buffer local settings.
0757af94 20961 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
20962 (sql-product-interactive): Bug fix.
20963 (sql-preoutput-hold): New variable.
20964 (sql-interactive-remove-continuation-prompt): Bug fixes.
20965 (sql-debug-redirect): New variable.
20966 (sql-str-literal): New function.
20967 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 20968 Redesign.
fbcc67e2
MM
20969 (sql-oracle-save-settings, sql-oracle-restore-settings)
20970 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20971 (sql-completion-object, sql-completion-column)
20972 (sql-completion-sqlbuf): New variables.
20973 (sql-build-completions-1, sql-build-completions)
20974 (sql-try-completion): New functions.
20975 (sql-read-table-name): Use them.
20976 (sql-contains-names): New buffer local variable.
20977 (sql-list-all, sql-list-table): Use it.
20978 (sql-oracle-completion-types): New variable.
20979 (sql-oracle-completion-object, sql-sqlite-completion-object)
20980 (sql-postgres-completion-object): New functions.
20981
d4eaeab1
GM
209822011-07-06 Glenn Morris <rgm@gnu.org>
20983
20984 * window.el (pop-to-buffer): Doc fix.
20985
322b7dab 209862011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
20987
20988 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20989
322b7dab 209902011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 20991
322b7dab 20992 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 20993
322b7dab 20994 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 20995
605dd5bf
CY
209962011-07-05 Chong Yidong <cyd@stupidchicken.com>
20997
20998 * button.el (button): Inherit from link face. Suggested by Dan
20999 Nicolaescu.
21000
7dbfa719
SM
210012011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21002
3db614b0
SM
21003 * progmodes/gdb-mi.el: Fit in 80 columns.
21004 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21005 switch-to-buffer.
21006
7dbfa719
SM
21007 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21008 if imenu is simply not configured (bug#8941).
21009
919d884a
KM
210102011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21011
21012 * allout.el (allout-post-undo-hook): New allout outline-change
21013 event hook to signal undo activity.
21014 (allout-post-command-business): Run allout-post-undo-hook if an
21015 undo just occurred.
7dbfa719
SM
21016 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21017 * allout-widgets.el (allout-widgets-after-undo-function):
21018 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
21019 in the vicinity of an undo.
21020 (allout-widgets-mode): Include allout-widgets-after-undo-function
21021 on the new allout-post-undo-hook.
21022
450a0f09
SM
210232011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21024
21025 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21026 Let define-derived-mode define it.
21027 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21028 cycles of abbrev-table inheritance (bug#8998).
21029
2de69e00
RW
210302011-07-05 Roland Winkler <winkler@gnu.org>
21031
21032 * textmodes/bibtex.el: Add support for biblatex.
21033 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21034 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21035 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21036 (bibtex-entry-alist, bibtex-field-alist): New variables.
21037 (bibtex-entry-field-alist): Obsolete alias for
21038 bibtex-BibTeX-entry-alist.
21039 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21040 (bibtex-set-dialect): New command.
21041 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
21042 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21043 Bind via bibtex-set-dialect.
2de69e00
RW
21044 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21045 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21046 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21047 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21048 Define via bibtex-set-dialect.
450a0f09
SM
21049 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21050 Obey bibtex-no-opt-remove-re.
2de69e00
RW
21051 (bibtex-vec-push, bibtex-vec-incr): New functions.
21052 (bibtex-format-entry, bibtex-field-list)
21053 (bibtex-print-help-message, bibtex-validate)
21054 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21055
2dcdbdd9
SM
210562011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21057
21058 * progmodes/compile.el (compilation-goto-locus):
21059 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21060 * bs.el (bs-cycle-next, bs-cycle-previous):
21061 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21062 * bindings.el (mode-line-other-buffer):
21063 * autoinsert.el (auto-insert):
21064 * arc-mode.el (archive-extract):
21065 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21066
b27640fe
JB
210672011-07-05 Juanma Barranquero <lekktu@gmail.com>
21068
21069 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21070 Fix check of `emacs-lock-unlockable-modes'.
21071 Coerce true values of `emacs-lock--try-unlocking' to t.
21072
53bbe3ad
JB
210732011-07-05 Juanma Barranquero <lekktu@gmail.com>
21074
21075 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21076 * emacs-lock.el: New file.
21077
1d3cdbc7
JD
210782011-07-05 Julien Danjou <julien@danjou.info>
21079
21080 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21081 than `boundp' to check if face is set.
21082
9173deec
JB
210832011-07-05 Juanma Barranquero <lekktu@gmail.com>
21084
21085 * register.el (registerv-make):
21086 * window.el (window-min-height): Fix typos in docstrings.
21087
869795d6
JD
210882011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21089
9173deec 21090 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
21091 Update doc string.
21092
b768cdcd
JB
210932011-07-04 Juanma Barranquero <lekktu@gmail.com>
21094
21095 * server.el (server-execute): Catch quit and call
21096 `server-return-error' to pass the error back to emacsclient and
21097 close the connection (bug#8942).
21098
13aa217b
KM
210992011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21100
21101 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21102 insecure exception for current topic. Also note that auto-saves
21103 are handled differently.
21104
5d3385a0 21105 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
21106 State variables for tracking auto-save inhibition situation.
21107
21108 (allout-write-contents-hook-handler): Rename from
21109 'allout-write-file-hook-handler', and describe how it depends on
21110 write-contents-functions sensitivity to non-nil value to prevent
21111 file write.
21112
21113 (allout-auto-save-hook-handler): Remove. auto-save does not check
21114 this in individual buffers, only in the starting buffer, so this
21115 is not the right way for us to inhibit auto-save in a buffer
21116 according to its condition.
21117
21118 (allout-mode): Use new allout-write-contents-hook-handler, and
21119 only with write-contents-functions. Remove auto-save provisions -
21120 they're implemented elsewhere.
21121
21122 (allout-before-change-handler): If undo is in progress, note that
21123 for attention of allout-post-command-business.
21124
21125 (allout-post-command-business): If the command we're following was
21126 an undo, check for change in the status of encrypted items and
21127 adjust auto-save inhibitions accordingly.
21128
21129 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21130 according to whether there are or aren't any plain-text topics
21131 pending encryption.
21132
2dcdbdd9 21133 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
21134 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21135 if there are plain-text topics pending encryption.
13aa217b
KM
21136
21137 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21138 buffer-saved-size and some allout state to not inhibit auto-saves
21139 if there are no longer any plain-text topics pending encryption.
21140
0757af94
SM
21141 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21142 No longer provide for exemption of the current topic.
13aa217b 21143
ac89b32c
JL
211442011-07-04 Juri Linkov <juri@jurta.org>
21145
21146 Add 7z operations to delete and save changed members (bug#8968).
21147 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21148 New defcustoms.
21149 (archive-7z-write-file-member): New function.
21150 (archive-7z-summarize): Fix the number of dashes in the
21151 listing output.
21152
8fa39615
SM
211532011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21154
21155 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21156 (bug#8958).
21157
2f11b3f1
CY
211582011-07-04 Chong Yidong <cyd@stupidchicken.com>
21159
d66fef2b
CY
21160 * bindings.el: Ignore next-buffer and previous-buffer in
21161 minibuffer-local-map.
21162
2f11b3f1
CY
21163 * font-lock.el (font-lock-builtin-face): Change light background
21164 color to dark slate blue (Bug#6693).
21165
f932a347
WD
211662011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21167
21168 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21169
c8af70e1
SM
211702011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21171
21172 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21173 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21174 Add switch-to-buffer.
21175
f158badc
LMI
211762011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21177
21178 * isearch.el (isearch-search-fun-function): Clarify further the
21179 meaning of the function returned.
21180
6d95bd46
MA
211812011-07-04 Michael Albinus <michael.albinus@gmx.de>
21182
21183 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21184
21185 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21186 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21187 Use it.
21188 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21189 `tramp-default-remote-path' does not exist.
21190 (tramp-send-command-and-read): New optional argument NOERROR.
21191 (tramp-open-connection-setup-interactive-shell)
21192 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21193 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21194 (tramp-process-sentinel): Flush also process' connection property.
21195 (tramp-sh-handle-start-file-process): Do not set process
21196 sentinel. It is done now ...
21197 (tramp-maybe-open-connection): ... here. (Bug#8929)
21198
909e6b67
MK
211992011-07-04 MON KEY <monkey@sandpframing.com>
21200
21201 * play/animate.el (animate-string): Doc fixes and allow changing
21202 the buffer name (bug#5417).
21203
212042011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21205
c8af70e1 21206 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 21207
f34755dc
PE
212082011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21209
396cec72
PE
21210 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21211 This is simpler and helps future-proof the code.
21212 (timer-until): Use time-subtract and float-time.
08235028 21213 (timer--time-less-p): Use time-less-p.
f34755dc 21214
56e6cc31
JB
212152011-07-04 Juanma Barranquero <lekktu@gmail.com>
21216
3abb79e5
JB
21217 * type-break.el (timep): Use the value of `float-time' to avoid a
21218 byte-compiler warning.
21219
56e6cc31
JB
21220 * server.el (server-eval-and-print): Return any result, even nil.
21221
7b9430b4
PE
212222011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21223
21224 * type-break.el: Accept time formats that the builtins accept.
21225 (timep, type-break-time-difference): Accept any format that
21226 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21227 This is simpler and helps future-proof the code.
21228 (type-break-time-difference): Round rather than ignoring
21229 subseconds components.
21230
3034e9e7
LMI
212312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21232
21233 * info.el (Info-apropos-matches): Make non-interactive, since it
21234 doesn't seem to do anything useful as a command (bug#8829).
21235
1485f4c0
CY
212362011-07-03 Chong Yidong <cyd@stupidchicken.com>
21237
21238 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 21239 Move from faces.el.
1485f4c0
CY
21240 (frame-default-terminal-background): New function.
21241
21242 * custom.el (custom-push-theme): Don't record faces in `changed'
21243 theme; this doesn't work correctly for per-frame face settings.
21244 (disable-theme): Use face-set-after-frame-default to reset faces.
21245 (custom--frame-color-default): New function.
21246
9fa3dd45
LMI
212472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21248
c8af70e1 21249 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
21250 (bug#8769).
21251
6cbbc20c
KR
212522011-03-29 Kevin Ryde <user42@zip.com.au>
21253
21254 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21255 `perl-Test2' extend to match possible "fail #N" rep count
21256 (bug#8377).
21257
c7f98048
LMI
212582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21259
65676592
LMI
21260 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21261 `smtpmail-via-smtp' now returns the error instead of nil.
21262
c7f98048
LMI
21263 * isearch.el (isearch-search-fun-function): Clarify the doc string
21264 (bug#8101).
21265
56e6cc31 212662011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
21267
21268 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21269 unnecessary spaces (bug#8987).
21270
2b216704
LMI
212712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21272
21273 * net/network-stream.el (open-network-stream): Use the
21274 :end-of-capability command thoughout.
21275
212762011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21277
21278 * net/network-stream.el (open-network-stream): Add the
21279 :end-of-capability command parameter, used by pop3.el.
21280
36adf6ce
LMI
212812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21282
1ca0da0e
LMI
21283 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21284
fc00f69c
LMI
21285 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21286 for list)" (bug#6475).
21287
28fd8759 21288 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 21289 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
21290 an error (bug#6297).
21291
0dd8b6da
LMI
21292 * man.el (Man-reference-regexp): Allow matching possible
21293 word-wrapped references (bug#6289).
21294
ce1438d6
LMI
21295 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21296 for consistency with the other vc buffers (bug#6197).
21297 (vc-checkin): Ditto.
21298
21299 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21300
36adf6ce
LMI
21301 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21302
e83cc1f7
LMI
213032011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21304
8a20ca4c
LMI
21305 * custom.el (defcustom): Clarify that :set is only used in the
21306 Customize user interface (bug#6089).
21307
83319045
LMI
21308 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21309 associated with a file, refuse to run instead of erroring out
21310 (bug#6084).
21311
a8392169
LMI
21312 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21313 the doc string, since it appears that using `fill-column' always
21314 controls the width (bug#7845).
21315
e83cc1f7
LMI
21316 * simple.el (shell-command-on-region): Say where the error output
21317 went if `shell-command-default-error-buffer' is set (bug#6857).
21318
e47ca23b
KM
213192011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21320
21321 * allout.el (allout-yank-processing): Adjust cursor position for
21322 backwards-deleted space.
21323
21324 (allout-rebullet-heading): Register changes with
21325 allout-exposure-changed-hook, so the modified topic is properly
21326 decorated.
21327
5cf56143
LMI
213282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21329
08549772
LMI
21330 * minibuffer.el (completion-in-region): Document PREDICATE
21331 (bug#7136).
21332
48e96771
LMI
21333 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21334 of keyword/argument pairs (bug#6904).
21335
c8af70e1
SM
21336 * replace.el (multi-occur):
21337 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 21338
e17d05e2
LMI
213392011-07-02 Drew Adams <drew.adams@oracle.com>
21340
21341 * dired.el (dired-mark-if): Make the message about whether it's
21342 marking or unmarking clearer (bug#8523).
21343
063b0e45
LMI
213442011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21345
21346 * disp-table.el (display-table-print-array): New function.
21347 (describe-display-table): Use it to print the vectors more pretty
21348 (Bug#8859).
21349
28545e04
MR
213502011-07-02 Martin Rudalics <rudalics@gmx.at>
21351
21352 * window.el (window-state-get-1): Don't assign clone numbers.
21353 Add clone-of item to list of window parameters.
21354 (window-state-put-2): Don't process clone numbers.
21355 (display-buffer-alist): Fix doc-string.
21356
3349e122
SM
213572011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21358
21359 * subr.el (remq): Don't allocate if it's not needed.
21360 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21361 (keymap--merge-bindings): New functions.
21362 (keymap-canonicalize): Use them to refine the canonicalization.
21363 * minibuffer.el (minibuffer-local-completion-map)
21364 (minibuffer-local-must-match-map): Move initialization from C.
21365 (minibuffer-local-filename-completion-map): Move initialization from C;
21366 don't inherit from anything here.
21367 (minibuffer-local-filename-must-match-map): Make obsolete.
21368 (completing-read-default): Use make-composed-keymap to combine
21369 minibuffer-local-filename-completion-map with either
21370 minibuffer-local-must-match-map or
21371 minibuffer-local-filename-completion-map.
21372
d224ac83
GM
213732011-07-01 Glenn Morris <rgm@gnu.org>
21374
3de63bf8
GM
21375 * type-break.el (type-break-time-sum): Use dolist.
21376
d224ac83
GM
21377 * textmodes/flyspell.el (flyspell-word-search-backward):
21378 Replace CL function.
21379
1a1e3f32
SM
213802011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21381
fe3f64d5
SM
21382 * mouse.el (mouse--strip-first-event): New function.
21383 (function-key-map): Use it to map fringe clicks to normal clicks
21384 by default.
21385
eb604e34
SM
21386 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21387 (vc-bzr-revision-completion-table): Add support for annotate and date.
21388
1a1e3f32
SM
21389 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21390 inherit from parent.
21391
5bd35902
LMI
213922011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21393
ace6c69c 21394 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 21395 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 21396
191e2bed
LMI
21397 * dired.el (dired-mode): Fix up the doc string as suggested by
21398 Drew Adams (bug#8817).
21399
5bd35902
LMI
21400 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21401 cookie, since the manual says that it should be possible to add
21402 this function to `find-file-hook' (bug#8709).
21403
eee8207a
TZ
214042011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21405
21406 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21407 here. Noted Ted Zlatanov as the maintainer.
21408 (cfengine-common-settings, cfengine-common-syntax): New functions
21409 to set up common things between `cfengine-mode' and
21410 `cfengine3-mode'.
21411 (cfengine3-mode): New mode.
21412 (cfengine3-defuns cfengine3-defuns-regex
21413 (cfengine3-class-selector-regex cfengine3-category-regex)
21414 (cfengine3-vartypes cfengine3-font-lock-keywords)
21415 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 21416 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 21417
36b148cf
MA
214182011-07-01 Michael Albinus <michael.albinus@gmx.de>
21419
21420 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21421
21422 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21423
0bf4ba9a
MR
214242011-07-01 Martin Rudalics <rudalics@gmx.at>
21425
21426 * window.el (same-window-buffer-names, same-window-regexps)
21427 (same-window-p, special-display-frame-alist)
21428 (special-display-popup-frame, special-display-function)
21429 (special-display-buffer-names, special-display-regexps)
21430 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21431 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21432 (split-window-preferred-function, split-height-threshold)
21433 (split-width-threshold, even-window-heights)
21434 (display-buffer-mark-dedicated, window-splittable-p)
21435 (split-window-sensibly, window-safely-shrinkable-p):
21436 Un-obsolete.
21437 (display-buffer): Don't spread args with function specifier
21438 because special-display-popup-frame won't like it.
21439
35837f51
PE
214402011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21441
d0672f86
PE
21442 Time-stamp simplifications and fixes.
21443 These improve accuracy slightly, and future-proof the code
21444 against some potential changes to current-time format.
21445
b9444d97
PE
21446 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21447 by using time-since and float-time.
21448
0ef923dc
PE
21449 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21450 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21451 + NNN microseconds".
21452
2f81380d
PE
21453 * type-break.el (type-break-time-sum): Rewrite using time-add.
21454
845b5c3e
PE
21455 * play/hanoi.el (hanoi-current-time-float): Remove.
21456 All uses replaced by float-time.
21457
ee6f1be0
PE
21458 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21459 This yields a more-accurate answer.
21460 (rng-time-to-float): Remove; no longer needed.
21461
fe955043
PE
21462 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21463
5777162a
PE
21464 * calendar/timeclock.el (timeclock-seconds-to-time):
21465 Defalias to seconds-to-time, since they're the same thing.
21466
3103f8b6 21467 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 21468 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
21469 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21470
0e61a35f
SM
214712011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21472
21473 * window.el (bury-buffer): Don't iconify the only frame.
21474 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21475 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21476
ddd63a1e
CY
214772011-07-01 Chong Yidong <cyd@stupidchicken.com>
21478
0e61a35f
SM
21479 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21480 Add mouse-yank-primary.
ddd63a1e 21481
055f4923
TZ
214822011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21483
21484 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21485
6a2fb145
SM
214862011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21487
21488 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21489 (find-library-name): Use it to find relative load names when provided
21490 absolute file name (bug#8803).
21491
fd4983f2
LMI
214922011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21493
887d14ad
LMI
21494 * textmodes/flyspell.el (flyspell-word): Consider words that
21495 differ only in case as potential doublons (bug#5687).
21496
c53dc7fc
LMI
21497 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21498 Remove two rather uninteresting debugging-like messages to make
21499 debbugs.el more silent.
21500
fd4983f2
LMI
21501 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21502 a password-like phrase.
21503
7a71b18d 215042011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
21505
21506 * progmodes/cc-guess.el: New file.
21507
6a2fb145 21508 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
21509
21510 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21511 derived from `c-basic-common-init'.
21512
21513 * progmodes/cc-mode.el (top-level): Require cc-guess.
21514 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21515
1fa280a3
LM
215162011-06-30 Lawrence Mitchell <wence@gmx.li>
21517
21518 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21519
e6597158
AM
215202011-06-30 Alan Mackenzie <acm@muc.de>
21521
1fa280a3
LM
21522 * progmodes/cc-engine.el (c-guess-continued-construct):
21523 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
21524 lock is disabled. Name this case as "CASE G".
21525
68ba37fb
KM
215262011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21527
21528 * allout.el (allout-yank-processing): Fix injection of extra space
21529 between bullet and non-whitespace character in first topic when
21530 pasting, ensuring that the actual spacing in the pasted topic
21531 following the bullet char is preserved. This extra space was
21532 causing pasted encrypted topics to get a decrypted status even
21533 when the content was actually still encrypted. Now the decryption
21534 status from before the paste is preserved.
21535
21536 (allout-flag-region): Set all allout overlays so they evaporate
21537 when reduced to zero length (evanescent), to prevent overlay
21538 leakage.
21539
887a0b34
GM
215402011-06-30 Glenn Morris <rgm@gnu.org>
21541
94b9acce
GM
21542 * w32-fns.el (w32-charset-info-alist): Declare.
21543
1d9b46d4
GM
21544 * find-dired.el (find-grep-options): Simplify.
21545
cc232200
GM
21546 * term/ns-win.el (ns-set-resource): Declare.
21547
28e77c46
GM
21548 * ses.el (row, col): Declare dynamic variables honestly.
21549
887a0b34
GM
21550 * textmodes/reftex-parse.el (index-tags): Declare.
21551
658d8eb8
CY
215522011-06-30 Chong Yidong <cyd@stupidchicken.com>
21553
21554 * cus-edit.el (customize-push-and-save): New function.
21555
21556 * files.el (hack-local-variables-confirm): Use it.
21557
1fa280a3
LM
21558 * custom.el (load-theme): New arg NO-CONFIRM.
21559 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
21560 (custom-enabled-themes): Doc fix.
21561
21562 * cus-theme.el (customize-create-theme)
21563 (custom-theme-merge-theme): Callers to load-theme changed.
21564
bb617717
LMI
215652011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21566
d61bdd5d
LMI
21567 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21568 short URLs have at least one dot in them (bug #7614).
21569
bb617717
LMI
21570 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21571 nil, because using a pty is apparently too slow (bug #895).
21572
2f31f37a
LMI
215732011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21574
21575 * mail/sendmail.el (sendmail-query-once): New function.
21576 (sendmail-query-once-function): New variable.
21577
3076b24e
GM
215782011-06-29 Glenn Morris <rgm@gnu.org>
21579
faf2a174
GM
21580 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21581
3076b24e
GM
21582 * ses.el (top-level): Require cl when compiling.
21583 (ses-set-localvars): Fix error statement.
21584 Call it at compile time to silence a storm of warnings.
21585
5386012d
MR
215862011-06-29 Martin Rudalics <rudalics@gmx.at>
21587
21588 * window.el (normalize-live-buffer): Rename to
21589 window-normalize-buffer.
21590 (normalize-live-frame): Rename to window-normalize-frame.
21591 (normalize-any-window): Rename to window-normalize-any-window.
21592 (normalize-live-window): Rename to window-normalize-live-window.
21593 (make-window-atom): Rename to window-make-atom.
21594 (window-resize-reset): Rename to window--resize-reset.
21595 (window-resize-reset-1): Rename to window--resize-reset-1.
21596 (resize-mini-window): Rename to window--resize-mini-window.
21597 (resize-subwindows-skip-p): Rename to
21598 window--resize-subwindows-skip-p.
21599 (resize-subwindows-normal): Rename to
21600 window--resize-subwindows-normal.
21601 (resize-subwindows): Rename to window--resize-subwindows.
21602 (resize-other-windows): Rename to window--resize-siblings.
21603 (resize-this-window): Rename to window--resize-this-window.
21604 (resize-root-window): Rename to window--resize-root-window.
21605 (resize-root-window-vertically): Rename to
21606 window--resize-root-window-vertically.
21607 (normalize-buffer-to-display): Rename to
21608 window-normalize-buffer-to-display.
21609 (normalize-buffer-to-switch-to): Rename to
21610 window-normalize-buffer-to-switch-to.
21611 Correspondingly update all callers of the functions listed
21612 above.
21613 (display-buffer-alist, display-buffer-normalize-arguments)
21614 (display-buffer-normalize-options, display-buffer)
21615 (display-buffer-alist-set): Use "function" instead of
21616 "fun-with-args".
21617
1176868d
CY
216182011-06-28 Chong Yidong <cyd@stupidchicken.com>
21619
21620 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21621 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21622 debbugs.gnu.org. Mention acknowledgment email.
21623
20a7a65f
LMI
216242011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21625
21626 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21627 buffer multibyteness, since it shouldn't matter.
21628
5f45cca5
MR
216292011-06-28 Martin Rudalics <rudalics@gmx.at>
21630
21631 * window.el (display-buffer-in-side-window): Handle dedicated
21632 windows as in display-buffer-reuse-window.
21633 (display-buffer-normalize-alist): Use value of override
21634 specifier.
21635 (display-buffer-normalize-specifiers): Use value of
21636 other-window-means-other-frame specifier.
21637 (display-buffer-alist): Rewrite some texts in widgets.
21638 (display-buffer): Spread arguments when calling function
21639 specified by fun-with-args.
21640
ad85fe1f
DD
216412011-06-28 Deniz Dogan <deniz@dogan.se>
21642
1fa280a3
LM
21643 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21644 Unnest `let'.
da68c4c8 21645
ad85fe1f
DD
21646 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21647 selectors (Bug#5732).
ec49bd31 21648 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 21649
a08cc025
JA
216502011-06-27 Jari Aalto <jari.aalto@cante.net>
21651
21652 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21653 (eshell-ls-date-format): New defcustom.
21654 (eshell-ls-file): Use it.
21655
e2b551c5
SM
216562011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21657
21658 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21659
8982b231
KY
216602011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21661
21662 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21663 (ange-ftp-make-tmp-name): New arg.
21664 (ange-ftp-file-local-copy): Use it.
21665
36c9fa27
J
216662011-06-27 Jambunathan K <kjambunathan@gmail.com>
21667
21668 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21669 no-conversion (Bug#8870).
21670
d68443dc
MR
216712011-06-27 Martin Rudalics <rudalics@gmx.at>
21672
21673 * window.el (window-right, window-left, window-child)
21674 (window-child-count, window-last-child)
21675 (window-iso-combination-p, walk-window-tree-1)
21676 (window-atom-check-1, window-tree-1, delete-window)
21677 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21678 new naming conventions - window-vchild, window-hchild,
21679 window-next and window-prev are now called window-top-child,
21680 window-left-child, window-next-sibling and window-prev-sibling
21681 respectively.
d615d6d2
MR
21682 (resize-window-reset): Rename to window-resize-reset.
21683 (resize-window-reset-1): Rename to window-resize-reset-1.
21684 (resize-window): Rename to window-resize.
21685 (window-min-height, window-min-width)
21686 (resize-mini-window, resize-this-window, resize-root-window)
21687 (resize-root-window-vertically, adjust-window-trailing-edge)
21688 (enlarge-window, shrink-window, maximize-window)
21689 (minimize-window, delete-window, quit-restore-window)
21690 (split-window, balance-windows, balance-windows-area-adjust)
21691 (balance-windows-area, window-state-put-2)
21692 (display-buffer-even-window-sizes, display-buffer-set-height)
21693 (display-buffer-set-width, set-window-text-height)
21694 (fit-window-to-buffer): Rename all "resize-window" prefixed
21695 calls to use the "window-resize" prefix convention.
21696 (display-buffer-alist): Fix symbol for label specifier.
21697 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21698 corresponding specifier.
21699 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 21700
b6458526
VB
217012011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21702
21703 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21704 convention.
21705 (ses-call-printer): Does not pass an empty string to formatter when the
21706 cell is empty to keep from barking printer Calc math-format-value.
21707
d31fd9ac
RS
217082011-06-27 Richard Stallman <rms@gnu.org>
21709
43d5bf84
RS
21710 * battery.el (battery-mode-line-limit): New variable.
21711 (battery-update): Handle it.
21712
d31fd9ac
RS
21713 * mail/rmailmm.el (rmail-mime-process-multipart):
21714 Handle truncated messages.
21715
819a6054
GM
217162011-06-27 Glenn Morris <rgm@gnu.org>
21717
21718 * progmodes/flymake.el (flymake-err-line-patterns):
21719 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21720
cedc73f2
VB
217212011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21722
819a6054 21723 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
21724 (ses--clean-!, ses--clean-_): New functions.
21725 (ses-range): Add configurability of readout order, and conversion
21726 to Calc vector.
21727
5e5d49b6
VB
21728 * ses.el (ses-repair-cell-reference-all): New function.
21729 (ses-cell-symbol): Set macro as safe, so that it can be used in
21730 formulas.
21731
56e6cc31 21732 * ses.el: Update cycle detection algorithm.
90ca8b49 21733 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 21734 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
21735 (ses-set-localvars): New function.
21736 (ses-make-cell): Add property-list as a cell element.
21737 (ses-cell-property-get-fun, ses-cell-property-get)
21738 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
21739 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21740 New functions.
90ca8b49
VB
21741 (ses-cell-property-set, ses-cell-property-pop)
21742 (ses-cell-property-get-handle): New macro.
21743 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21744 New aliases, used for code readability.
21745 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21746 cycle detection.
21747 (ses-self-reference-early-detection): New defcustom.
fac916bf 21748 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
21749 (ses-mode): Use ses-set-localvars.
21750 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21751 before lauching the update processing.
21752 (ses-initialize-Dijkstra-attempt): New function.
21753 (ses-recalculate-cell): Update for cycle detection based on
21754 Dijkstra algorithm.
21755
2bb63e81
VB
21756 * ses.el: Fix commenting and indenting convention.
21757
c9d29fb8
SM
217582011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21759
21760 * bs.el (bs-cycle-next): Complete last change.
21761
d8e4b68b
JB
217622011-06-27 Drew Adams <drew.adams@oracle.com>
21763
21764 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21765
40098786
LMI
217662011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21767
c9d29fb8
SM
21768 * net/network-stream.el (network-stream-open-starttls):
21769 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
21770 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21771
40098786
LMI
21772 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21773 to binary to possibly avoid line encoding issues on Windows (among
21774 other things).
21775
468d09d4
LMI
217762011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21777
21778 * net/network-stream.el (open-network-stream): Return an :error
21779 saying what the problem was, if possible.
21780
21781 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21782 server.
21783
21784 * net/network-stream.el (network-stream-open-starttls): If we
21785 wanted to use STARTTLS, and the server offered it, but we weren't
21786 able to because we had no STARTTLS support, then close the connection.
21787 (open-network-stream): Return an :error element, if present.
21788
16f07dd7
CY
217892011-06-26 Chong Yidong <cyd@stupidchicken.com>
21790
88821ca0
CY
21791 * hl-line.el (hl-line-sticky-flag): Doc fix.
21792 (global-hl-line-sticky-flag): New option (Bug#8323).
21793 (global-hl-line-highlight): Obey it.
21794
16f07dd7
CY
21795 * vc/vc.el (vc-revert-show-diff): Default to t.
21796
6b5ccddf
KM
217972011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21798
c9d29fb8
SM
21799 * allout-widgets.el (allout-widgets-post-command-business):
21800 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
21801 undecorated when an isearch is continued past, and isearch
21802 automatically collapses them. This leads to "widget leaks", where
21803 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
21804 hidden widgets can slow down cursor travel, substantially.
21805 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
21806 so we're doing without this nicety.
21807
21808 (allout-widgets-tally-string): Don't try to do a hash-table-count
21809 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21810 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21811 *Messages* when allout-widgets-maintain-tally is t.
21812
355f2e07
MR
218132011-06-26 Martin Rudalics <rudalics@gmx.at>
21814
21815 * window.el (display-buffer-normalize-argument): Rename to
21816 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
21817 LABEL argument. Respect special-display-function when popping up
21818 a new frame. Fix code searching for a window showing the buffer
21819 on another frame.
c9d29fb8
SM
21820 (display-buffer-normalize-specifiers):
21821 Call display-buffer-normalize-arguments.
355f2e07
MR
21822 (display-buffer-in-window): Don't undedicate the window if its
21823 buffer remains the same.
21824 Reported by Drew Adams <drew.adams@oracle.com>.
21825 (display-buffer-alist): Add choice for same-window macro
21826 specfier.
21827 (display-buffer): Mention special meaning of LABEL argument in
21828 doc-string. Fix quoting. Don't pop up a new frame even as
21829 fallback.
21830
7ca8fc42
JB
218312011-06-26 Juanma Barranquero <lekktu@gmail.com>
21832
21833 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21834 avoid deleting the current window in some cases (bug#8911).
21835
bc312254
AS
218362011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21837
21838 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21839 (Bug#8934)
21840
2db18f3f
LMI
218412011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21842
c9d29fb8
SM
21843 * net/network-stream.el (network-stream-open-starttls):
21844 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
21845 (network-stream-open-tls): Ditto.
21846
6302e0d3
LL
218472011-06-26 Leo Liu <sdl.web@gmail.com>
21848
21849 * register.el (registerv): New struct.
21850 (registerv-make): New function.
c9d29fb8
SM
21851 (jump-to-register, describe-register-1, insert-register):
21852 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
21853 struct. (Bug#8415)
21854
5fdd4046
CY
218552011-06-26 Chong Yidong <cyd@stupidchicken.com>
21856
2afef60a
CY
21857 * vc/vc.el (vc-revert-show-diff): New defcustom.
21858 (vc-diff-internal): New arg specifying diff buffer.
21859 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21860 reuse an existing *vc-diff* buffer (Bug#8927).
21861
5fdd4046
CY
21862 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21863
e93db24a
GM
218642011-06-26 Glenn Morris <rgm@gnu.org>
21865
21866 * progmodes/f90.el (f90-critical-indent): New option.
21867 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21868 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21869 (f90-mode): Doc fix.
21870 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21871 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21872 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21873 (f90-match-end): Handle block, critical.
21874
eefff499
GM
218752011-06-25 Glenn Morris <rgm@gnu.org>
21876
f6ba4cc9
GM
21877 * calendar/diary-lib.el (diary-included-files): Doc fix.
21878 (diary-include-files): New function, extracted from
21879 diary-include-other-diary-files and diary-mark-included-diary-files.
21880 (diary-include-other-diary-files, diary-mark-included-diary-files):
21881 Just call diary-include-files.
21882 (diary-mark-entries): Reset diary-included-files on first call.
21883
16712304
GM
21884 * calendar/diary-lib.el (diary-mark-entries)
21885 (diary-mark-included-diary-files):
21886 Visit included diary-files in temp buffers.
21887
5d8e0d43
GM
21888 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21889 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21890 (f90-start-block-re, f90-imenu-generic-expression)
21891 (f90-looking-at-program-block-start, f90-no-block-limit):
21892 Add support for submodules.
21893
ccf7a5d5
GM
21894 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21895 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 21896
11fdef7d 218972011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
21898
21899 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21900 buffer-file-type before setting its value, to avoid disastrous
eefff499 21901 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 21902
74f53697
JB
219032011-06-25 Juanma Barranquero <lekktu@gmail.com>
21904
21905 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21906
21907 * ses.el (ses-unload-function):
21908 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21909
21910 * proced.el (proced-unload-function):
21911 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21912
18a4ce5e
AR
219132011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21914
21915 * server.el (server-create-window-system-frame): Add parameters arg.
21916 (server-process-filter): Doc fix. Handle frame-parameters.
21917
519d22cc
JB
219182011-06-25 Juanma Barranquero <lekktu@gmail.com>
21919
21920 Fix bug#8730, bug#8781.
21921
21922 * loadhist.el (unload--set-major-mode): New function.
21923 (unload-feature): Use it.
21924
21925 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21926 (python-unload-function): New function.
21927
c206f5b0
SM
219282011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21929
21930 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21931
f9ad64f3
GS
219322011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21933
21934 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21935 the candidates list.
21936
7d0da90e
JB
219372011-06-24 Juanma Barranquero <lekktu@gmail.com>
21938
21939 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21940
14b4e83d
RS
219412011-06-23 Richard Stallman <rms@gnu.org>
21942
21943 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21944 (rmail-variables): Set next-error-move-function.
21945 (rmail-what-message): Take argument POS.
21946 (rmail-next-error-move): New function.
21947
273d2baf
SM
219482011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21949
21950 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21951 messages for adjacent non-terminals.
21952
56c2cc9a
RS
219532011-06-23 Richard Stallman <rms@gnu.org>
21954
21955 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 21956 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
21957 (rmail-start-mail): Don't specify use of rmail-mail-return;
21958 that's done by mail-bury now.
21959 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 21960
d59eb518
MA
219612011-06-23 Michael Albinus <michael.albinus@gmx.de>
21962
21963 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21964 SIZE is a number.
21965
02cfc6d6
MR
219662011-06-23 Martin Rudalics <rudalics@gmx.at>
21967
21968 * window.el (get-lru-window, get-mru-window)
21969 (get-largest-window): Never return a minibuffer window.
21970 (display-buffer-pop-up-window): Fix a bug that could lead to
21971 reusing the minibuffer window.
21972 (display-buffer): Pass original specifier argument to
21973 display-buffer-function instead of the normalized one.
21974 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21975
4e323265
LL
219762011-06-22 Leo Liu <sdl.web@gmail.com>
21977
21978 * minibuffer.el (completing-read-function)
1f9f395d 21979 (completing-read-default): Move from minibuf.c.
4e323265 21980
7a70468f
RS
219812011-06-22 Richard Stallman <rms@gnu.org>
21982
50718fc2
RS
21983 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21984 to Rmail even if not started by a special Rmail command.
21985
7a70468f
RS
21986 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21987 Copy the buffer currently showing just one message.
21988
297dde5a
RW
219892011-06-22 Roland Winkler <winkler@gnu.org>
21990
21991 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21992 (bibtex-clean-entry): First delete the old key so that a
21993 customized algorithm for generating the new key does not get
21994 confused by the old key.
21995 (bibtex-url): Obey regexp of first step.
21996 (bibtex-search-entries): Do not use add-to-list with local
21997 list-var.
21998
97bb1093
LMI
219992011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22000
22001 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22002 stored a user name, then query for the password first, instead of
22003 waiting for SMTP to give an error message and the trying again.
22004
1c0f1a19
JD
220052011-06-22 Lawrence Mitchell <wence@gmx.li>
22006
22007 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22008 BUFFER in call-process.
22009
396f7c9d
LMI
220102011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22011
22012 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22013 QUIT twice.
ddb7ffee
LMI
22014 (smtpmail-try-auth-methods): Require user name and password from
22015 auth-source.
396f7c9d 22016
8998d1b3
MR
220172011-06-22 Martin Rudalics <rudalics@gmx.at>
22018
22019 * window.el (display-buffer-default-specifiers)
22020 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22021 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 22022 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
22023
22024 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22025 (special-display-frame-alist, special-display-popup-frame):
22026 Remove duplicate declarations. These are now in window.el.
22027
4ea31e07
LMI
220282011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22029
c9d29fb8
SM
22030 * mail/smtpmail.el (smtpmail-via-smtp):
22031 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
22032 server supports it. SMTP servers that support STARTTLS commonly
22033 require it.
22034
22035 * net/network-stream.el (network-stream-open-starttls): Support
22036 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 22037 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 22038
95f41d9a
LMI
22039 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22040 upgrades with `open-network-stream', and rely solely on
22041 auth-source for all credentials. Big changes throughout the file,
22042 but in particular:
c9d29fb8
SM
22043 (smtpmail-auth-credentials): Remove.
22044 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
22045 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22046 MAIL FROM, too.
95f41d9a 22047
c9d29fb8
SM
22048 * net/network-stream.el (network-stream-open-starttls):
22049 Provide support for client certificates both for external and built-in
4ea31e07
LMI
22050 STARTTLS.
22051 (auth-source): Require.
22052 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
22053 (network-stream-certificate): Change cert-cert to cert and
22054 cert-key to key.
4ea31e07 22055
065ec2c7
MA
220562011-06-21 Michael Albinus <michael.albinus@gmx.de>
22057
22058 * net/tramp-cache.el (top): Don't load the persistency file when
22059 "emacs -Q" has been called.
22060
cd93b359
DR
220612011-06-21 Tim Harper <timcharper@gmail.com>
22062
d8e4b68b
JB
22063 * term/ns-win.el (ns-initialize-window-system):
22064 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
22065 resource to NO as it is not yet supported by the NS port.
22066
ae9c0411
JB
220672011-06-21 Juanma Barranquero <lekktu@gmail.com>
22068
22069 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22070 (list-dynamic-libraries): ...not here.
22071
7f3f739f
LL
220722011-06-21 Leo Liu <sdl.web@gmail.com>
22073
22074 * subr.el (sha1): Implement sha1 using secure-hash.
22075
327c8fb1
MR
220762011-06-21 Martin Rudalics <rudalics@gmx.at>
22077
22078 * window.el (display-buffer-alist): In default value do not
22079 enforce searching a window on any but the selected frame.
22080 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22081 (display-buffer-select-window): Remove function.
22082 (display-buffer-in-window): When a window on another frame gets
22083 reused, do not select it any more but just raise its frame if
22084 necessary (Bug#8851) and (Bug#8856).
22085 (display-buffer-normalize-options): Handle pop-up-frames related
22086 options more faithfully.
22087 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22088 window if it is on another frame.
c9d29fb8
SM
22089 (display-buffer-alist, display-buffer-default-specifiers):
22090 Don't make new frame unsplittable by default.
9e9de014
MR
22091 (display-buffer-normalize-argument): Fix doc-string typo and use
22092 'same-frame-other-window instead of 'other-window when associating
22093 with display-buffer-macro-specifiers.
327c8fb1 22094
7cf3f556
VB
220952011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22096
22097 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22098 New functions.
22099 (5x5-mode-map, 5x5-mode-menu): Bind them.
22100 (5x5-draw-grid): Tweak the solver's rendering.
22101
60a406cf
SM
221022011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22103
22104 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22105 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22106
d8e4b68b 221072011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
22108
22109 * menu-bar.el: Use function variable instead of switch-to-buffer.
22110 (menu-bar-select-buffer-function): New variable.
60a406cf 22111 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 22112
478d6f95
SM
221132011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22114
22115 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22116 variable's status.
22117
ca530739
JD
221182011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22119
22120 * x-dnd.el (x-dnd-version-from-flags)
22121 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22122 and long as number (Bug#8899).
22123 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22124
bcd70d97
SM
221252011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22126
60a406cf 22127 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
22128 (completion-try-completion, completion-all-completions): Compute the
22129 metadata argument if it's missing; make it optional (bug#8795).
22130
60a406cf 22131 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
22132 (widget-complete): Use new :completion-function property.
22133 (widget-completions-at-point): New function.
22134 (default): Use :completion-function instead of :complete.
60a406cf
SM
22135 (widget-default-completions): Rename from widget-default-complete;
22136 Rewrite.
bcd70d97
SM
22137 (widget-string-complete, widget-file-complete, widget-color-complete):
22138 Remove functions.
22139 (file, symbol, function, variable, coding-system, color):
22140 * international/mule-cmds.el (default-input-method, charset)
22141 (language-info-custom-alist):
22142 * cus-edit.el (face): Use new property :completions.
22143
22144 * progmodes/pascal.el (pascal-completions-at-point): New function.
22145 (pascal-mode): Use it.
22146 (pascal-mode-map): Use completion-at-point.
22147 (pascal-toggle-completions): Make obsolete.
22148 (pascal-complete-word, pascal-show-completions):
22149 * progmodes/octave-mod.el (octave-complete-symbol):
22150 Redefine as obsolete alias.
22151 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22152 Signal absence of completion info for old Octave,
22153 (inferior-octave-complete): Redefine as obsolete alias.
22154 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22155 (meta-completions-at-point): Rename from meta-complete-symbol and
22156 adapt it for use on completion-at-point-functions.
22157 (meta-common-mode): Use it.
22158 (meta-looking-at-backward, meta-match-buffer): Remove.
22159 (meta-complete-symbol): Redefine as obsolete alias.
22160 (meta-common-mode-map): Use completion-at-point.
22161 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22162 (makefile-mode-map): Use completion-at-point.
22163 (makefile-completions-at-point): Rename from makefile-complete and
22164 adapt it for use on completion-at-point-functions.
22165 (makefile-mode): Use it.
22166 (makefile-complete): Redefine as obsolete alias.
22167
aebf69c8
DD
221682011-06-20 Deniz Dogan <deniz@dogan.se>
22169
22170 * net/rcirc.el: Delete trailing whitespaces once and for all.
22171
bfbbb27d
DC
221722011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22173
22174 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22175
d264a46b
CY
221762011-06-19 Chong Yidong <cyd@stupidchicken.com>
22177
4ca009e5
CY
22178 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22179
d264a46b
CY
22180 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22181
fbf5b3ce
MR
221822011-06-19 Martin Rudalics <rudalics@gmx.at>
22183
22184 * window.el (display-buffer-other-window-means-other-frame):
22185 Call display-buffer-normalize-alist.
22186 (display-buffer-normalize-specifiers-1): Rename to
22187 display-buffer-normalize-argument. New argument other-frame.
22188 Rewrite.
22189 (display-buffer-normalize-specifiers-2): Rename to
22190 display-buffer-normalize-options.
22191 (display-buffer-normalize-alist-1): New function.
22192 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
22193 display-buffer-normalize-alist.
22194 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
22195 (display-buffer-normalize-options-inhibit): New variable.
22196 (display-buffer-normalize-specifiers): Rewrite calling
22197 display-buffer-normalize-alist,
22198 display-buffer-normalize-argument, and
22199 display-buffer-normalize-options. Don't call the latter if
22200 display-buffer-normalize-options-inhibit is non-nil.
22201 (frame-auto-delete): New option.
22202 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
22203 (window-list-no-nils, window-state-ignored-parameters)
22204 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
22205 (window-state-put-1, window-state-put-2, window-state-put):
22206 New functions.
9a028c23
MR
22207 (display-buffer-normalize-options): Move special-display-p group
22208 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 22209
6d10d800
CY
222102011-06-18 Chong Yidong <cyd@stupidchicken.com>
22211
6420d28b
CY
22212 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22213 groups (Bug#8776).
22214 (rx-submatch-n): New function.
22215 (rx): Document it.
22216
ddb8b596
CY
22217 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22218 (Bug#8768).
22219
22220 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22221
77080289
CY
22222 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22223
61dfb316
CY
22224 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22225 anytime existing face settings are present (Bug#8889).
22226
6d10d800
CY
22227 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22228 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22229 Remove unused argument.
22230
be3fb2b8
MR
222312011-06-18 Martin Rudalics <rudalics@gmx.at>
22232
bcd70d97
SM
22233 * window.el (display-buffer-default-specifiers):
22234 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
22235 pop-up-window-min-width, and another reuse-window specifier
22236 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
22237 (display-buffer-normalize-specifiers-2):
22238 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
22239 pop-up-windows is unset. Add a reuse-window specifier for the
22240 case popping up a new window fails.
22241 (special-display-popup-frame): Remove double quoting.
28dec25a 22242 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 22243
1c6d8c76
SM
222442011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22245
22246 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22247 according to comint-completion-addsuffix.
22248
22249 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22250 (pcomplete-suffix-list): Mark as obsolete.
22251 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22252 pcomplete-seen in the closure.
22253 (pcomplete-comint-setup): Setup completion-at-point as well.
22254 (pcomplete--entries): New function.
22255 (pcomplete--env-regexp): New var.
22256 (pcomplete-entries): Rewrite to work with partial-completion and
22257 without relying on pcomplete-suffix-list.
22258 (pcomplete-pare-list): Remove, unused.
22259
25aef8b8
MR
222602011-06-17 Martin Rudalics <rudalics@gmx.at>
22261
22262 * window.el (display-buffer-alist): Set pop-up-window-min-height
22263 and pop-up-window-min-width in default value. Reported by
22264 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22265 other-window-means-other-frame.
22266 (display-buffer-macro-specifiers): Comment out entry for
22267 other-window specifier.
22268 (display-buffer-other-window-means-other-frame): New function.
22269 (display-buffer-normalize-specifiers-1): New arguments
22270 buffer-name and label. Treat other-window case specially.
22271 (display-buffer-normalize-specifiers-2): Treat other-window case
22272 specially.
22273 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
22274 (display-buffer-normalize-specifiers):
22275 Call display-buffer-normalize-specifiers-3.
25aef8b8 22276
dbad4f69
MR
222772011-06-17 Martin Rudalics <rudalics@gmx.at>
22278
22279 * window.el (same-window-p): Fix two typos introduced when
22280 adding with-no-warnings.
d1067961
MR
22281 (display-buffer-normalize-specifiers-1): Don't check
22282 pop-up-frames for 'unset initialization.
22283 (display-buffer-normalize-specifiers-2): Major rewrite using
22284 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22285 (pop-up-frames, display-buffer-reuse-frames)
22286 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22287 Suggested by David Engster <deng@randomsample.de>.
22288 (even-window-heights): Initialize to 'unset.
22289 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
22290 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22291 other window case.
dbad4f69 22292
9b9c9e3a
MR
222932011-06-16 Martin Rudalics <rudalics@gmx.at>
22294
bcd70d97
SM
22295 * window.el (display-buffer-normalize-specifiers-1):
22296 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 22297 second argument of display-buffer (Bug#8865).
981d5c09
MR
22298 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22299 (switch-to-buffer-other-window-same-frame)
22300 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22301 Adams (Bug#8875).
9c2755e9
MR
22302 (display-buffer): Don't check noninteractive when calling
22303 display-buffer-pop-up-frame.
22304 (display-buffer-pop-up-frame): Never pop up a frame in
22305 noninteractive mode (Bug#8857).
67222e1d
MR
22306 (enlarge-window, shrink-window): Don't report an error when the
22307 window can't be resized as requested (Bug#8862).
9b9c9e3a 22308
2b75be67
SM
223092011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22310
9ffdd3ba
SM
22311 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22312
cb581a67
SM
22313 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22314
2b75be67
SM
22315 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22316
8c0e3589
AM
223172011-06-15 Alan Mackenzie <acm@muc.de>
22318
cb581a67
SM
22319 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22320 for declarators, disable knr checking to speed up for normal files.
22321 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 22322
b96e6cde
LMI
223232011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22324
4bba86e6
LMI
22325 * net/network-stream.el (open-network-stream): Add the keyword
22326 :always-query-capabilities for the case where you want to force a
22327 `plain' network connection, but the protocol still requires the
22328 capabilitiy command (i.e., SMTP and EHLO).
22329
2b75be67 22330 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
22331 consistency with other `-live-p' functions.
22332
efdcdbf8
SM
223332011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22334
22335 * window.el (same-window-buffer-names, same-window-regexps)
22336 (special-display-frame-alist, special-display-popup-frame)
22337 (special-display-function, special-display-buffer-names)
22338 (special-display-regexps, pop-up-frame-alist)
22339 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22340 (pop-up-windows, split-window-preferred-function)
22341 (split-height-threshold, split-width-threshold, even-window-heights)
22342 (display-buffer-mark-dedicated): Don't encourage the use of
22343 display-buffer-alist from Elisp code.
22344
c5cde042
DN
223452011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22346
22347 * progmodes/python.el (python-mode): Derive from prog-mode.
22348 * progmodes/ps-mode.el (ps-mode):
22349 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 22350 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
22351 * progmodes/ld-script.el (ld-script-mode): Likewise.
22352
baa1c9ab
MR
223532011-06-15 Martin Rudalics <rudalics@gmx.at>
22354
22355 * window.el (display-buffer-alist): Trim default value to avoid
22356 popping up a new frame (Bug#8857) or reusing an arbitrary window
22357 on another frame.
22358 (display-buffer): Do not fall back on popping up a new frame in
22359 batch mode (Bug#8857).
22360
c5dd5a51
CY
223612011-06-14 Chong Yidong <cyd@stupidchicken.com>
22362
22363 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22364 (custom-theme-summary): New function.
22365 (customize-themes): Use it.
22366
d647b7c4
GM
223672011-06-13 Glenn Morris <rgm@gnu.org>
22368
22369 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22370
9481c002
MR
223712011-06-13 Martin Rudalics <rudalics@gmx.at>
22372
357f93d2
MR
22373 * help.el (help-window): Remove variable.
22374 (help-window-point-marker, temp-buffer-max-height)
22375 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22376 (help-print-return-message): Don't set help-window.
22377 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22378 (help-window-setup-finish): Remove.
22379 (help-window-display-message, help-window-setup)
22380 (with-help-window): Major rewrite based on new
22381 display-buffer-window variable.
22382
22383 * help-mode.el (help-mode-finish): Remove help-window related
22384 code.
22385
22386 * view.el (view-exits-all-viewing-windows): Remove reference to
22387 view-return-to-alist in doc-string.
22388 (view-return-to-alist): Make obsolete.
22389 (view-buffer): Call pop-to-buffer-same-window and remove
22390 undo-window code.
22391 (view-buffer-other-window): Call pop-to-buffer-other-window and
22392 simplify code. Ignore second argument.
22393 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22394 simplify code. Ignore second argument.
22395 (view-return-to-alist-update): Make obsolete.
22396 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22397 Rewrite using quit-restore window parameters.
2b75be67
SM
22398 (view-mode-exit): Rename second argument to EXIT-ONLY.
22399 Rewrite using quit-restore-window.
357f93d2
MR
22400 (View-exit, View-exit-and-edit, View-leave, View-quit)
22401 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22402 appropriate arguments.
22403 (view-end-message): Use quit-restore window parameter.
22404
9481c002
MR
22405 * window.el (display-buffer-function): Rewrite doc-string.
22406 (display-buffer-window, display-buffer-alist): New variables.
22407 (display-buffer-split-specifiers)
22408 (display-buffer-side-specifiers)
22409 (display-buffer-macro-specifiers): New constants.
22410 (display-buffer-even-window-sizes, display-buffer-set-height)
22411 (display-buffer-set-width, display-buffer-select-window)
22412 (display-buffer-in-window, display-buffer-reuse-window)
22413 (display-buffer-split-window-1, display-buffer-split-window)
22414 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22415 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22416 (display-buffer-in-side-window, normalize-buffer-to-display)
22417 (display-buffer-normalize-specifiers-1)
22418 (display-buffer-normalize-specifiers-2)
2b75be67
SM
22419 (display-buffer-normalize-specifiers, display-buffer-frame):
22420 New functions.
9481c002
MR
22421 (display-buffer): Major rewrite.
22422 (display-buffer-other-window, display-buffer-other-frame)
22423 (pop-to-buffer, switch-to-buffer-other-window)
22424 (switch-to-buffer-other-frame): Rewrite.
22425 (display-buffer-same-window, display-buffer-same-frame)
22426 (display-buffer-same-frame-other-window)
22427 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22428 (pop-to-buffer-other-window)
22429 (pop-to-buffer-same-frame-other-window)
22430 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22431 (switch-to-buffer-other-window-same-frame): New functions.
22432 (same-window-p, special-display-p): Rewrite disabling warnings.
22433 Make obsolete.
22434 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22435 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22436 Make obsolete
22437 (same-window-buffer-names, same-window-regexps)
22438 (special-display-frame-alist, special-display-popup-frame)
22439 (special-display-function, special-display-buffer-names)
22440 (special-display-regexps, pop-up-frame-alist)
22441 (pop-up-frame-function, split-window-preferred-function)
22442 (split-height-threshold, split-width-threshold)
22443 (even-window-heights): Make obsolete.
22444
9db51aca
GM
224452011-06-12 Glenn Morris <rgm@gnu.org>
22446
22447 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 22448 Misc simplifications.
9db51aca 22449
39cffb44
MR
224502011-06-12 Martin Rudalics <rudalics@gmx.at>
22451
22452 * window.el (window-safely-shrinkable-p): Restore function which
22453 was inadvertently removed in change from 2011-06-11. Declare as
22454 obsolete.
22455
2b75be67
SM
22456 * calendar/calendar.el (calendar-generate-window):
22457 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
22458 window-safely-shrinkable-p.
22459
a8955be7
GM
224602011-06-12 Glenn Morris <rgm@gnu.org>
22461
22462 * progmodes/fortran.el (fortran-mode-syntax-table):
22463 * progmodes/f90.el (f90-mode-syntax-table):
22464 Set % to punctuation. (Bug#8820)
22465 (f90-find-tag-default): Remove, no longer needed.
22466
f0d4059d
DC
224672011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22468
22469 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22470
1100a63c
CY
224712011-06-11 Chong Yidong <cyd@stupidchicken.com>
22472
22473 * image.el (image-animated-p): Return animation delay in seconds.
22474 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22475 (image-animate-timeout): Remove DELAY argument. Don't assume
22476 every subimage has the same delay; get it from image-animated-p.
22477 (image-animate): Caller changed.
22478
def722bf
MA
224792011-06-11 Michael Albinus <michael.albinus@gmx.de>
22480
22481 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22482 to ignored backtrace functions.
22483
0a2bb1a9
GM
224842011-06-11 Glenn Morris <rgm@gnu.org>
22485
22486 * calendar/appt.el (appt-disp-window-function): Doc fix.
22487 (appt-check): Handle overlapping appointments. (Bug#8337)
22488
6198ccd0
MR
224892011-06-11 Martin Rudalics <rudalics@gmx.at>
22490
22491 * window.el (window-tree-1, window-tree): New functions, moving
22492 the latter to window.el.
22493 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22494 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22495 (bw-refresh-edges): Remove.
22496 (balance-windows-1, balance-windows-2): New functions.
22497 (balance-windows): Rewrite in terms of window tree functions,
22498 balance-windows-1 and balance-windows-2.
22499 (bw-adjust-window): Remove.
22500 (balance-windows-area-adjust): New function with functionality of
22501 bw-adjust-window but using resize-window.
2b75be67
SM
22502 (set-window-text-height): Rewrite doc-string.
22503 Use normalize-live-window and resize-window.
22504 (enlarge-window-horizontally, shrink-window-horizontally):
22505 Rename argument to DELTA.
6198ccd0
MR
22506 (window-buffer-height): New function.
22507 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22508 Rewrite using new window resize routines.
2b75be67
SM
22509 (kill-buffer-and-window, mouse-autoselect-window-select):
22510 Use ignore-errors instead of condition-case.
6198ccd0
MR
22511 (quit-window): Call delete-frame instead of delete-windows-on
22512 for the only buffer on frame.
22513
9397e56f
MR
225142011-06-10 Martin Rudalics <rudalics@gmx.at>
22515
22516 * loadup.el (top-level): Load window before files for the sake
22517 of replace-buffer-in-windows.
22518
22519 * files.el (read-buffer-to-switch)
22520 (switch-to-buffer-other-window)
2b75be67
SM
22521 (switch-to-buffer-other-frame, display-buffer-other-frame):
22522 Move to window.el.
9397e56f
MR
22523
22524 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22525 (previous-buffer): Move to window.el.
22526
22527 * bindings.el (unbury-buffer): Move to window.el.
22528
22529 * window.el (delete-other-windows-vertically): Move after
22530 definition of delete-other-windows.
22531 (other-window, delete-windows-on, replace-buffer-in-windows):
22532 Move here from window.c.
22533 (record-window-buffer, unrecord-window-buffer)
22534 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22535 (switch-to-next-buffer): New functions.
22536 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22537 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
22538 (previous-buffer): Move here from simple.el.
22539 Call switch-to-prev-buffer.
9397e56f
MR
22540 (bury-buffer): Move here from buffer.c. Switch to previous
22541 buffer when window cannot be deleted.
22542 (unbury-buffer): Move here from bindings.el.
22543 (ctl-x-map): Move binding for other-window from window.c to
22544 here.
22545 (read-buffer-to-switch, switch-to-buffer-other-window)
22546 (switch-to-buffer-other-frame): Move here from files.el.
22547 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
22548 (switch-to-buffer): Move here from buffer.c.
22549 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 22550
562dd5e9
MR
225512011-06-10 Martin Rudalics <rudalics@gmx.at>
22552
22553 * window.el (window-min-height, window-min-width): Move here
22554 from window.c. Add defcustoms and rewrite doc-strings.
22555 (resize-mini-window, resize-window): New functions.
22556 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22557 Move here from window.c.
22558 (maximize-window, minimize-window): New functions.
22559 (delete-window, delete-other-windows, split-window): Move here
22560 from window.c.
22561 (window-split-min-size): New function.
22562 (split-window-keep-point): Mention split-window-above-each-other
22563 instead of split-window-vertically.
2b75be67 22564 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
22565 Rename split-window-vertically to split-window-above-each-other
22566 and provide defalias for old definition.
22567 (split-window-side-by-side, split-window-horizontally):
22568 Rename split-window-horizontally to split-window-side-by-side
22569 and provide defalias for the old definition.
562dd5e9
MR
22570 (ctl-x-map): Move bindings for delete-window,
22571 delete-other-windows and enlarge-window here from window.c.
22572 Replace bindings for split-window-vertically and
22573 split-window-horizontally by bindings for
22574 split-window-above-each-other and split-window-side-by-side.
22575
22576 * cus-start.el (all): Remove entries for window-min-height and
22577 window-min-width. Add entries for window-splits and
22578 window-nest.
22579
f0da764a
GM
225802011-06-09 Glenn Morris <rgm@gnu.org>
22581
80675c21
GM
22582 * calendar/appt.el (appt-mode-line): New function.
22583 (appt-check, appt-disp-window): Use it.
22584
f0da764a
GM
22585 * files.el (hack-one-local-variable-eval-safep):
22586 Allow minor-modes with explicit +/-1 arguments.
22587
59f623b7
TZ
225882011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22589
22590 * term/xterm.el (xterm): Add defgroup.
22591 (xterm-extra-capabilities): Add defcustom to supply known xterm
22592 capabilities, skip querying them, or query them (default).
22593 (terminal-init-xterm): Use it.
22594 (terminal-init-xterm-modify-other-keys): New function to set up
22595 modifyOtherKeys support to simplify `terminal-init-xterm'.
22596
9aab8e0d
MR
225972011-06-09 Martin Rudalics <rudalics@gmx.at>
22598
22599 * window.el (resize-window-reset, resize-window-reset-1)
22600 (resize-subwindows-skip-p, resize-subwindows-normal)
22601 (resize-subwindows, resize-other-windows, resize-this-window)
22602 (resize-root-window, resize-root-window-vertically)
22603 (window-deletable-p, window-or-subwindow-p)
22604 (frame-root-window-p): New functions.
22605
e8b08aee
GM
226062011-06-09 Glenn Morris <rgm@gnu.org>
22607
22608 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22609 (ange-ftp-get-files): Use it.
22610
254c37a5
AK
226112011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22612
22613 * mail/sendmail.el (mail-recover-1, mail-recover):
22614 * files.el (recover-file, recover-session):
22615 Handle dired-listing-switches not being just a single short option.
22616
35d7dbd3
GM
226172011-06-09 Glenn Morris <rgm@gnu.org>
22618
22619 * calendar/appt.el (appt-display-message, appt-disp-window):
22620 Handle lists of appointments.
22621
387522b2
MR
226222011-06-08 Martin Rudalics <rudalics@gmx.at>
22623
2b75be67
SM
22624 * window.el (one-window-p): Move down in code.
22625 Rewrite doc-string.
22626 (window-current-scroll-bars): Rewrite doc-string.
22627 Normalize live window argument.
387522b2
MR
22628 (walk-windows, get-window-with-predicate, count-windows):
22629 Rewrite doc-string. Use window-list-1.
22630 (window-in-direction-2, window-in-direction, get-mru-window):
22631 New functions.
22632
d8e4b68b 226332011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
22634
22635 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22636 Doc fix (Bug#8713).
22637
226382011-06-08 Chong Yidong <cyd@stupidchicken.com>
22639
22640 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22641
226422011-06-08 Juanma Barranquero <lekktu@gmail.com>
22643
22644 * loadhist.el (unload-feature-special-hooks):
22645 Add `comint-output-filter-functions'.
22646
0de12c52
IK
226472011-06-08 Ivan Kanis <gnu@kanis.fr>
22648
22649 * calendar/appt.el (appt-check): Move some initializations into the let.
22650
f3d1777e
MR
226512011-06-08 Martin Rudalics <rudalics@gmx.at>
22652
22653 * window.el (window-height): Defalias to window-total-height.
22654 (window-width): Defalias to window-body-width.
22655
18af70d0
CY
226562011-06-07 Chong Yidong <cyd@stupidchicken.com>
22657
22658 * image-mode.el (image-toggle-animation): New command.
22659 (image-mode-map): Bind it to RET.
22660 (image-mode): Update message.
22661 (image-toggle-display-image): Avoid a spurious cache flush.
22662 (image-transform-rotation): Doc fix.
22663 (image-transform-properties): Return quickly in the normal case.
22664 (image-animate-loop): Rename from image-animate-max-time.
22665
2b75be67 22666 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
22667 (create-animated-image): Remove unnecessary function.
22668 (image-animate): Rename from image-animate-start. New arg.
2b75be67 22669 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
22670 (image-animate-timer): Use car-safe.
22671 (image-animate-timeout): Rename argument.
22672
190b47e6
MR
226732011-06-07 Martin Rudalics <rudalics@gmx.at>
22674
22675 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
22676 window.c. Rename first argument to ALL-FRAMES.
22677 Rephrase doc-strings.
22678 (get-buffer-window-list): Rewrite using window-list-1.
22679 Rephrase doc-string.
a1511caf
MR
22680 (window-safe-min-height, window-safe-min-width): New constants.
22681 (window-size-ignore, window-min-size, window-min-size-1)
22682 (window-sizable, window-sizable-p, window-size-fixed-1)
22683 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22684 (window-max-delta-1, window-max-delta, window-resizable)
22685 (window-resizable-p, window-total-height, window-total-width)
22686 (window-body-width): New functions.
22687 (window-full-height-p, window-full-width-p): Rewrite using
22688 window-total-size.
22689 (window-body-height): Rewrite using window-body-size.
190b47e6 22690
85cc1f11
MR
226912011-06-06 Martin Rudalics <rudalics@gmx.at>
22692
22693 * window.el (window-right, window-left, window-child)
22694 (window-child-count, window-last-child, window-any-p)
22695 (normalize-live-buffer, normalize-live-frame)
22696 (normalize-any-window, normalize-live-window)
22697 (window-iso-combination-p, window-iso-combined-p)
22698 (window-iso-combinations)
22699 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22700 (windows-with-parameter, window-with-parameter)
22701 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
22702 (window-atom-check, window-side-check, window-check):
22703 New functions.
85cc1f11
MR
22704 (ignore-window-parameters, window-sides, window-sides-vertical)
22705 (window-sides-slots): New variables.
22706 (window-size-fixed): Move down in code. Minor doc-string fix.
22707
e7156492
AS
227082011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22709
22710 * comint.el (comint-dynamic-complete-as-filename)
22711 (comint-dynamic-complete-filename): Correctly call
22712 completion-in-region.
22713
7e821d0d
DD
227142011-06-05 Deniz Dogan <deniz@dogan.se>
22715
22716 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22717 in last change.
22718
ac09b8a1
DD
227192011-06-05 Deniz Dogan <deniz@dogan.se>
22720
22721 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22722 (rcirc): Use it to prompt for encryption.
22723
34699b85
RW
227242011-06-05 Roland Winkler <winkler@gnu.org>
22725
22726 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22727 (bibtex-search-entries): New command bound to C-c C-a.
22728 (bibtex-display-entries): New function.
22729
004dedd3
RW
227302011-06-05 Roland Winkler <winkler@gnu.org>
22731
22732 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22733 (bibtex-insert-kill): After yanking insert newline if necessary.
22734 (bibtex-initialize): Call bibtex-string-files-init only once.
22735 (bibtex-mode): Do not call easy-menu-add.
22736 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22737 (bibtex-yank): Set arg properly if nil.
22738
022fe7ce
RW
227392011-06-05 Roland Winkler <winkler@gnu.org>
22740
2b75be67
SM
22741 * textmodes/bibtex.el (bibtex-search-entry-globally):
22742 New variable.
022fe7ce
RW
22743 (bibtex-search-entry): Use it.
22744
b7c3692a
RW
227452011-06-05 Roland Winkler <winkler@gnu.org>
22746
22747 * textmodes/bibtex.el (bibtex-entry-format): New option
22748 sort-fields.
22749 (bibtex-format-entry, bibtex-reformat): Honor this option.
22750 (bibtex-parse-entry): Return fields in proper order.
22751
8eda563d
JB
227522011-06-05 Juanma Barranquero <lekktu@gmail.com>
22753
22754 * doc-view.el (doc-view-remove-if): Move computation of result out
22755 of `dolist' to silence misleading lexical-binding warning.
22756
7dbe3dbc
CY
227572011-06-04 Chong Yidong <cyd@stupidchicken.com>
22758
22759 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22760 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22761
0c33dd17
MA
227622011-06-04 Michael Albinus <michael.albinus@gmx.de>
22763
22764 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22765 "SunOS 5.10".
22766
f8f91c2b
MA
227672011-06-04 Michael Albinus <michael.albinus@gmx.de>
22768
22769 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22770 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22771 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22772 (tramp-parse-putty):
22773 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22774 (tramp-completion-function-alist-ssh)
22775 (tramp-completion-function-alist-telnet)
22776 (tramp-completion-function-alist-su)
22777 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22778 cookie.
22779
22780 * net/tramp-ftp.el:
22781 * net/tramp-sh.el:
22782 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22783 load "tramp.el" `tramp-set-completion-function'.
22784
e17d9003
SM
227852011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22786
22787 * shell.el: Require and use pcomplete.
22788 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22789 (shell-completion-vars): Set pcomplete-default-completion-function.
22790
6c4cab03
DD
227912011-06-04 Deniz Dogan <deniz@dogan.se>
22792
22793 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22794 `memq' (Bug#8799).
22795
ea9fafe0
SM
227962011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22797
22798 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22799
b3e945d3
JB
228002011-06-02 Juanma Barranquero <lekktu@gmail.com>
22801
22802 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22803 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22804 * vc/log-view.el (log-view-beginning-of-defun):
22805 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22806 (smerge-refine-forward, smerge-refine-chopup-region):
22807 Silence warning for unused `dotimes' counter variables.
22808
7d520089
SM
228092011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22810
22811 * net/tramp.el (tramp-with-progress-reporter): Rename from
22812 with-progress-reporter. Use `declare'.
22813 * net/tramp-smb.el:
22814 * net/tramp-sh.el:
22815 * net/tramp-gvfs.el: Update all uses.
22816
a1c2400f
JB
228172011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22818
22819 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22820 buffer isn't killed before making it current.
22821
2403c841
SM
228222011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22823
22824 Silence various byte-compiler warnings.
22825 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22826 `access-type' and new obsolescence format.
22827 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22828 new format.
22829 (byte-compile-check-variable): New `access-type' argument.
22830 Only warn if the access-type is obsolete.
22831 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22832 (byte-compile-variable-set): Adjust callers.
22833 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22834 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22835 setting it as obsolete.
22836 * simple.el (minibuffer-completing-symbol):
22837 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22838 access as obsolete.
22839 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22840 obsolete yet.
22841 * international/quail.el (quail-mouse-choose-completion): Remove unused
22842 code referring to obsolete var.
22843 (quail-choose-completion-string): Remove.
22844 * server.el (server-clients-with, server-kill-buffer-query-function)
22845 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22846 * proced.el (proced-send-signal):
22847 * emacs-lisp/lisp.el (lisp-complete-symbol):
22848 Replace completion-annotate-function with completion-extra-properties.
22849
2462470b
SM
228502011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22851
fb5b2591
SM
22852 * simple.el (goto-line): Use read-number.
22853 (overriding-map-is-bound): Remove.
22854 (saved-overriding-map): Change default.
22855 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22856 Take the map as argument.
22857 (universal-argument, negative-argument, digit-argument): Use it.
22858 (restore-overriding-map): Adjust.
22859 (do-auto-fill): Use fill-forward-paragraph.
22860 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22861
fd6fa53f
SM
22862 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22863 (minibuffer-inactive-mode): New major mode.
22864 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22865 the *Messages* buffer" hack.
22866 (mouse-popup-menubar): Don't burp if the event is a normal key.
22867
2462470b
SM
22868 Miscellaneous tweaks.
22869 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22870 lexical scoping as in subr.el's dolist and dotimes.
22871 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22872 Silence compiler warning.
22873 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22874 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22875 * international/ccl.el (ccl-compile): Trivial simplification.
22876 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22877 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22878 `printflag' argument.
22879 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22880 Purecopy the whole obsolescence data.
22881
108bf785
LL
228822011-06-01 Leo Liu <sdl.web@gmail.com>
22883
22884 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22885 improve doc-string as suggested by Marco Pessotto
22886 <melmothx@gmail.com>.
22887 (rcirc-print): Fix last change.
22888
30a23501
SM
228892011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22890
22891 * minibuffer.el (complete-with-action): Return nil for the metadata and
22892 boundaries of non-functional tables.
22893 (completion-table-dynamic): Return nil for the metadata.
22894 (completion-table-with-terminator): Add default case, using
22895 complete-with-action.
22896 (completion--metadata): New function.
22897 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22898 to try and avoid pathological performance problems.
22899 (completion--embedded-envvar-table): Return `category' metadata.
22900
bcd54f83
LMI
229012011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22902
22903 * subr.el (process-alive-p): New tiny convenience function.
22904
e227544d
SM
229052011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22906
22907 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22908 content but also its previous major mode.
22909
e8296fdc
HE
229102011-05-31 Helmut Eller <eller.helmut@gmail.com>
22911
4d61f28d 22912 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
22913 *Backtrace* buffer when we exit with C-M-c.
22914
620c53a6
SM
229152011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22916
22917 * minibuffer.el: Add metadata method to completion tables.
22918 (completion-category-overrides): New defcustom.
22919 (completion-metadata, completion--field-metadata)
22920 (completion-metadata-get, completion--styles)
22921 (completion--cycle-threshold): New functions.
22922 (completion-try-completion, completion-all-completions):
22923 Add `metadata' argument to choose completion-styles.
22924 (completion--do-completion): Use metadata to choose cycling.
22925 (completion-all-sorted-completions): Use metadata for sorting.
22926 Remove :completion-cycle-penalty which is not needed any more.
22927 (completion--try-word-completion): Add `metadata' argument.
22928 (minibuffer-completion-help): Check metadata for annotation function
22929 and sorting.
22930 (completion-file-name-table): Return `category' metadata.
22931 (minibuffer-completing-file-name): Make obsolete.
22932 * simple.el (minibuffer-completing-symbol): Make obsolete.
22933 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22934 completion-try-completion.
22935
1257e755
SM
229362011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22937
22938 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22939
3767e706
LL
229402011-05-30 Leo Liu <sdl.web@gmail.com>
22941
22942 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
22943 (rcirc-print): Decode all incoming messages (bug#8744).
22944 (rcirc-decode-coding-system): Allow value nil for automatic coding
22945 system detection.
3767e706 22946
d1a5d56a
GM
229472011-06-01 Glenn Morris <rgm@gnu.org>
22948
22949 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22950
e8cbec34
CY
229512011-05-29 Chong Yidong <cyd@stupidchicken.com>
22952
22953 * image.el (image-animate-max-time): Allow nil and t values.
22954 Default to nil.
22955 (create-animated-image): Doc fix.
22956 (image-animate-start): Remove second arg; just use
22957 image-animate-max-time.
22958 (image-animate-timeout): Doc fix. Args changed.
22959
22960 * image-mode.el (image-toggle-display-image): Ensure that the
22961 image spec passed to the animate timer is the same object as in
58179cce 22962 the buffer's display property (Bug#6981).
e8cbec34
CY
22963 (image-transform-properties): Doc fix.
22964
22965 * image.el (image-animate-max-time): Default to nil.
22966
159daf87
MR
229672011-05-29 Martin Rudalics <rudalics@gmx.at>
22968
22969 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22970 entire buffer list (Bug#8184).
22971
d66c4c7c
CY
229722011-05-29 Chong Yidong <cyd@stupidchicken.com>
22973
22974 * image.el (imagemagick-types-inhibit)
22975 (imagemagick-register-types): Doc fix.
22976
80aec780
DD
229772011-05-29 Deniz Dogan <deniz@dogan.se>
22978
22979 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22980 default.
22981
1dd3c2d9
CY
229822011-05-29 Chong Yidong <cyd@stupidchicken.com>
22983
22984 * select.el: Don't perform clipboard-manager saving in hooks;
22985 leave the hooks empty.
22986
60e56523
LL
229872011-05-28 Leo Liu <sdl.web@gmail.com>
22988
22989 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22990 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22991 (occur-edit-mode): New major mode (Bug#8463).
22992 (occur-after-change-function): New function.
22993 (occur-engine): Give Occur tags a read-only property.
22994
2b1e1a22
KR
229952011-05-28 Kevin Ryde <user42@zip.com.au>
22996
22997 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22998
5d344e88
CY
229992011-05-28 Chong Yidong <cyd@stupidchicken.com>
23000
8e6ca83d
CY
23001 * bindings.el (help-echo): Make the initial non-indicator dash
23002 empty on graphical terminals (Bug#7295).
23003
5d344e88
CY
23004 * files.el (auto-mode-alist): Move config rule after the
23005 in-stripping one (Bug#8547).
23006
bfbbace7
CY
23007 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23008
fbeba6e2
CY
23009 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23010 setting (Bug#8740).
23011
60ed8c72
AA
230122011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23013
4ac619f0
AA
23014 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23015 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23016 (Bug#8539).
60ed8c72 23017
23db196e
CY
230182011-05-28 Chong Yidong <cyd@stupidchicken.com>
23019
23020 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23021
5012f24c
DK
230222011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23023
23024 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23025 (hs-hide-block-at-point, hs-find-block-beginning)
23026 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23027 (Bug#8279).
23028
6a639b16
GM
230292011-05-28 Glenn Morris <rgm@gnu.org>
23030
23031 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23032
d43eaf2c
CY
230332011-05-28 Chong Yidong <cyd@stupidchicken.com>
23034
5199bde1
CY
23035 * help-fns.el (describe-function-1): If the function is a derived
23036 major mode, print the parent mode.
23037
d43eaf2c
CY
23038 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23039 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23040
423428a8
SM
230412011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23042
0ff8e1ba 23043 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 23044 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
23045 * progmodes/etags.el (tags-completion-at-point-function):
23046 * info-look.el (info-lookup-completions-at-point): Mark as
23047 non-exclusive.
23048 (info-complete): Adjust accordingly.
23049
423428a8
SM
23050 * info-look.el: Convert to lexical-binding and completion-at-point.
23051 (info-lookup-completions-at-point): New function.
23052 (info-complete): Use it and completion-in-region.
23053
b74aa22b
DA
230542011-05-28 Drew Adams <drew.adams@oracle.com>
23055
23056 * isearch.el: Let M-e start with point at the first mismatched char.
23057 (isearch-fail-pos): New function.
23058 (isearch-edit-string): Use it.
23059
66e2e71d
DK
230602011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23061
23062 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23063
b1890b0f 230642011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
23065
23066 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23067 traversal functions for avl-trees.
23068 (avl-tree--stack): New struct.
23069 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23070 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
23071 (avl-tree--do-enter): Add optional `updatefun' arg.
23072 Change return value.
eb95d01d 23073 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
23074 (avl-tree--do-delete): Add `test' and `nilflag' args.
23075 Change return value.
eb95d01d
TC
23076 (avl-tree-member): Add optional `nilflag'
23077 (avl-tree-member-p): New function.
23078 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23079 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23080 (avl-tree-stack-empty-p): New functions.
23081
3769ddcf
TC
23082 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23083 avl-tree--del-balance1 and make it work both ways.
23084 (avl-tree--del-balance2): Remove.
23085 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23086 make it work both ways.
23087 (avl-tree--enter-balance2): Remove.
23088 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23089 New macros.
23090 (avl-tree--mapc, avl-tree-map): Add direction argument.
23091
eb95d01d 230922011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
23093
23094 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23095
a9f737ee
CY
230962011-05-27 Chong Yidong <cyd@stupidchicken.com>
23097
23098 * select.el: Support clipboard managers with built-in function
23099 x-clipboard-manager-save, via delete-frame-functions and
23100 kill-emacs-hook.
23101 (xselect-convert-to-targets): Add MULTIPLE target to list.
23102 (xselect-convert-to-save-targets): New function.
23103
c92a1e54
KH
231042011-05-27 Kenichi Handa <handa@m17n.org>
23105
23106 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23107 let-binding rfc2047-encode-encoded-words to nil.
23108
e145f188
GM
231092011-05-27 Glenn Morris <rgm@gnu.org>
23110
5ec8a862
GM
23111 * mail/emacsbug.el: Don't require url-util.
23112
4b29d9fb
GM
23113 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23114
e145f188
GM
23115 * files.el (set-auto-mode):
23116 Also respect mode: entries at the end of the file. (Bug#8586)
23117
7d15102b
GM
231182011-05-26 Glenn Morris <rgm@gnu.org>
23119
98f593b8
GM
23120 * files.el (hack-local-variables-prop-line, hack-local-variables):
23121 Downcase mode names, as seems to be traditional.
27b48e63 23122 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 23123
7d15102b
GM
23124 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23125 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23126
51d5b4ec
JD
231272011-05-25 Julien Danjou <julien@danjou.info>
23128
23129 * textmodes/rst.el (rst-define-level-faces): Do not define face
23130 symbol if it is already defined.
23131
91513f63
VB
231322011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23133
23134 * play/5x5.el (5x5-new-game, 5x5-randomize):
23135 Reset 5x5-solver-output to nil when a new grid is cast.
23136 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23137 these debugging traces, as defmacro breaks the compiled code.
23138
4d90d6d0
DK
231392011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23140
23141 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23142
e1b90ef6
LL
231432011-05-24 Leo Liu <sdl.web@gmail.com>
23144
23145 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23146 (vc-bzr-sha1): Adapt.
23147
d8e4b68b 23148 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
23149
23150 * bindings.el: Provide sha1 feature.
23151
db0406bb 231522011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
23153
23154 * mail/sendmail.el: Require `rfc2047'.
23155 (mail-insert-from-field): Do not perform RFC2047 encoding.
23156 (mail-encode-header): New function.
23157 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
23158 buffer to the return value of select-message-coding-system.
23159 Call mail-encode-header.
b8d747b9
KH
23160
23161 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23162
db0406bb 231632011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 23164
4d90d6d0
DK
23165 * mail/supercite.el (sc-default-cite-frame):
23166 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 23167
eb8a5e9b
GM
231682011-05-24 Glenn Morris <rgm@gnu.org>
23169
f8630703
GM
23170 * progmodes/python.el (brm-menu): Declare.
23171
8831bbed
GM
23172 * emulation/viper.el (viper-set-hooks): Declare.
23173
eb8a5e9b
GM
23174 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23175 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23176 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23177 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23178 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23179 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23180
a2a25d24
SM
231812011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23182
23183 Add an :exit-function for completion-at-point.
23184
23185 * minibuffer.el (completion--done): New fun.
23186 (completion--do-completion): Use it. New arg `expect-exact'.
23187 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23188 since completion--do-completion does it for us now.
23189 (minibuffer-force-complete): Use completion--done and
23190 completion--replace. Handle sole-completion case with more care.
23191 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23192 (completion-extra-properties): New var.
23193 (completion-annotate-function): Make obsolete.
23194 (minibuffer-completion-help): Adjust accordingly.
23195 Use completion-list-insert-choice-function.
23196 (completion-at-point, completion-help-at-point):
23197 Bind completion-extra-properties.
23198 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23199 * simple.el (completion-list-insert-choice-function): New var.
23200 (completion-setup-function): Preserve it.
23201 (choose-completion): Pay attention to it, shuffle the code a bit.
23202 (choose-completion-string): New arg `insert-function'.
23203
23204 * textmodes/bibtex.el: Convert to lexical binding.
23205 (bibtex-mode-map): Use completion-at-point.
23206 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23207 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23208 (bibtex-complete): Define as obsolete alias.
23209 (bibtex-complete-internal): Remove.
23210 (bibtex-format-entry): Remove unused sub-group in regexp.
23211 * shell.el (shell--command-completion-data)
23212 (shell-environment-variable-completion):
23213 * pcomplete.el (pcomplete-completions-at-point):
23214 * comint.el (comint--complete-file-name-data): Use :exit-function
23215 instead of completion-table-with-terminator so it also works for
23216 choose-completion.
23217
e44e373d
SM
232182011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23219
4f91a816
SM
23220 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23221
782fc819
SM
23222 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23223 (bug#8710).
23224
e44e373d
SM
23225 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23226
381987c3
KM
232272011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23228
23229 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23230 customization variable and implement: If non-nil, auto-fill will
23231 be inhibited while on topic's header line.
23232
b776bc70
VB
232332011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23234
23235 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 23236 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
23237 always have a solution in grid size = 5 cases.
23238 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23239 (5x5-solver-output, 5x5-log-buffer): New vars.
23240 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23241 Make these variables buffer local to achieve 5x5 multi-session-ness.
23242 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23243 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23244 (5x5-solve-suggest): New funs.
23245 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23246 randomize a grid so that we ensure that there is always a solution.
23247 (5x5-make-random-grid): Allow other movement than flipping.
23248
7de88b6e
KR
232492011-05-23 Kevin Ryde <user42@zip.com.au>
23250
23251 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 23252 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
23253 advice and passes PREDICATE.
23254
b1ef1257
SM
232552011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23256
bbca48fe
SM
23257 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23258 byte-compile-lambda if it's actually a lambda.
23259
b1ef1257
SM
23260 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23261 Fix function quoting. Use backquote better.
23262
92a9cc65
YS
232632011-05-22 Yuanle Song <sylecn@gmail.com>
23264
23265 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23266 matching (Bug#8516).
23267
fe93f41a 232682011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
23269
23270 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23271 different face (Bug#8178).
23272
d5b44c93
CY
232732011-05-22 Chong Yidong <cyd@stupidchicken.com>
23274
23275 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23276 defface (Bug#8144).
23277
79106a44
SM
232782011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23279
9c848d8a
SM
23280 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23281 funcall as well (bug#8712). Warn when performing those conversions.
23282 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23283
79106a44
SM
23284 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23285
88dfa756
GM
232862011-05-22 Glenn Morris <rgm@gnu.org>
23287
23288 * files.el (hack-local-variables-prop-line): Small simplifications.
23289 (hack-local-variables, hack-local-variables-prop-line):
23290 If MODE-ONLY, return the mode, rather than just `t'.
23291
b7cf2c79
SM
232922011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23293
23294 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23295
3f1a8558
GM
232962011-05-21 Glenn Morris <rgm@gnu.org>
23297
7e4ccca3
GM
23298 * files.el (hack-local-variables-prop-line, hack-local-variables):
23299 If only interested in the mode, don't bother doing the other stuff.
23300
637d46ca
GM
23301 * image-mode.el (image-after-revert-hook):
23302 Redraw all frames on which the image is visible. (Bug#8567)
23303
973d955b
GM
23304 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23305
3f1a8558
GM
23306 * wid-edit.el (widget-checklist-match-inline):
23307 Fix 2011-04-19 change. (Bug#8649)
23308
96479927
SM
233092011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23310
1dcf791f
SM
23311 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23312 Also allow singlespace after single-letter capitals followed by a dot.
23313
96479927
SM
23314 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23315 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23316
35fd0881
N
233172011-05-20 Nix <nix@esperi.org.uk>
23318
23319 * files.el (basic-save-buffer-2):
23320 Fix handling of break-hardlink-on-save with non-existent files.
23321
82745640
DD
233222011-05-19 Deniz Dogan <deniz@dogan.se>
23323
23324 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 23325 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 23326
4a720484
GM
233272011-05-19 Glenn Morris <rgm@gnu.org>
23328
d1f21341
GM
23329 * progmodes/f90.el (f90-type-def-re):
23330 Handle "type, bind(c)". (Bug#8691)
23331
4a720484
GM
23332 * emacs-lisp/autoload.el (batch-update-autoloads):
23333 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23334
2fb0a219
MA
233352011-05-18 Michael Albinus <michael.albinus@gmx.de>
23336
23337 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23338 property for the correct connection in case of multihops.
23339
e565dd37
GM
233402011-05-18 Glenn Morris <rgm@gnu.org>
23341
c2571358 23342 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
23343 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23344
e565dd37
GM
23345 Rationalize calendar handling of day and month abbrev-arrays.
23346 * calendar/calendar.el (calendar-customized-p): New function.
23347 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23348 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23349 Add :set function.
23350 (calendar-abbrev-length, calendar-day-abbrev-array)
23351 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23352 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23353 Elements may no longer be nil.
23354 (calendar-day-name, calendar-month-name):
23355 Update for changed nature of abbrev arrays.
23356 * calendar/diary-lib.el (diary-name-pattern):
23357 Update for changed nature of abbrev arrays.
23358 (diary-mark-entries-1): Update calendar-make-alist calls.
23359 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23360 * calendar/cal-html.el (cal-html-day-abbrev-array):
23361 Simply inherit from calendar-day-abbrev-array.
23362
1d99a745
SM
233632011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23364
23365 * progmodes/grep.el (grep-mode): Disable default
23366 compilation-directory-matcher setting (bug#8684).
23367
7c1d9aa0
MA
233682011-05-17 Michael Albinus <michael.albinus@gmx.de>
23369
23370 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23371 instead of "head" and "tail". There were problems with SunOS 5.9,
23372 and it performs better.
23373
3952e9d8
GM
233742011-05-17 Glenn Morris <rgm@gnu.org>
23375
2dd12e7f
GM
23376 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23377
e4157b9c
GM
23378 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23379 Replace obsolete function.
23380
8e249bbd
GM
23381 * shell.el (pcomplete-parse-arguments-function): Declare.
23382
3952e9d8
GM
23383 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23384 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23385 (appt-check): Doc fixes.
23386 (appt-disp-window-function, appt-delete-window-function):
23387 Remove needless special case in custom :type.
23388 (appt-display-count): Default to 0, not nil.
23389 (appt-check): Reset appt-display-count to 0, not nil.
23390
c71a0d48 233912011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 23392
c71a0d48
GM
23393 * progmodes/python.el (python-font-lock-keywords):
23394 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 23395
31d55be9
SM
233962011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23397
23398 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23399
3bfacb2f
KR
234002011-05-16 Kevin Ryde <user42@zip.com.au>
23401
23402 * info-look.el (makefile-automake-mode): New setups, looking in
23403 automake manual, then makefile-mode.
23404 (makefile-mode): Remove automake manual, have it just in
23405 makefile-automake-mode since there's various things different or
23406 not relevant to plain make.
23407 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23408 believe a hypothetical automake-mode would go to makefile-mode,
23409 not the other way around.
23410
c8e83751
CY
234112011-05-15 Chong Yidong <cyd@stupidchicken.com>
23412
5e9e35cd
CY
23413 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23414 hunk-end tags (Bug#8672).
23415
c8e83751
CY
23416 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23417 vc-annotate-show-diff-revision-at-line (Bug#8671).
23418
50b23e5a
GM
234192011-05-14 Glenn Morris <rgm@gnu.org>
23420
7210a739
GM
23421 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23422 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
23423 (change-log-font-lock-keywords): Also handle multiple author lines
23424 with leading tabs. (Bug#8644)
7210a739 23425
4691905a
GM
23426 * calendar/appt.el (appt-check): Rename some local variables.
23427 Some simplification/reordering.
23428
50b23e5a
GM
23429 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23430 (feedmail-sendmail-f-doesnt-sell-me-out)
23431 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23432 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23433 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
23434 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23435 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
23436 (feedmail-binmail-gnulinuxish-template):
23437 Rename from feedmail-binmail-linuxish-template.
23438 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23439 Use insert-buffer-substring.
23440
215cda7c
BC
234412011-05-14 Bill Carpenter <bill@carpenter.org>
23442
23443 * mail/feedmail.el (feedmail-patch-level): Increase.
23444 (feedmail-debug): New custom group.
23445 (feedmail-confirm-outgoing-timeout)
23446 (feedmail-sendmail-f-doesnt-sell-me-out)
23447 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23448 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23449 (feedmail-sender-line, feedmail-from-line)
23450 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 23451 (feedmail-spray-this-address)
215cda7c
BC
23452 (feedmail-spray-address-fiddle-plex-list)
23453 (feedmail-queue-use-send-time-for-date)
23454 (feedmail-queue-use-send-time-for-message-id)
23455 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23456 (feedmail-buffer-eating-function):
23457 Doc fixes.
23458 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23459 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23460 (feedmail-message-action-scroll-down): New functions.
23461 (feedmail-queue-directory, feedmail-queue-draft-directory):
23462 Use expand-file-name.
23463 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23464 Remove C-v help entry.
23465 (feedmail-queue-buffer-file-name): New variable.
23466 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23467 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23468 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23469 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23470 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23471 (feedmail-message-action-toggle-spray)
23472 (feedmail-run-the-queue-no-prompts)
23473 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23474 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23475 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23476 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23477 (feedmail-envelope-deducer, feedmail-fiddle-from)
23478 (feedmail-fiddle-sender, feedmail-default-date-generator)
23479 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23480 (feedmail-fiddle-spray-address)
23481 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23482 (feedmail-fiddle-list-of-fiddle-plexes)
23483 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23484 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23485 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23486 Change default. Doc fix.
23487 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23488 (feedmail-binmail-linuxish-template): New constant.
23489 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23490 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23491 (feedmail-send-it): Add debug call.
23492 Use feedmail-queue-buffer-file-name, and
23493 feedmail-send-it-immediately-wrapper.
23494 (feedmail-message-action-send): Add debug call.
23495 Use feedmail-send-it-immediately-wrapper.
23496 (feedmail-queue-express-to-queue): Add debug call.
23497 Run feedmail-queue-express-hook.
23498 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23499 (feedmail-message-action-help-blat):
23500 Rename from feedmail-queue-send-edit-prompt-help-first.
23501 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23502 Check line-endings. Handle errors better.
23503 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23504 Doc fix. Add debug call.
23505 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23506 Use feedmail-queue-send-edit-prompt-inner.
23507 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23508 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23509 from feedmail-queue-send-edit-prompt.
23510 (feedmail-queue-send-edit-prompt-help)
23511 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23512 (feedmail-tidy-up-slug): Add debug call.
23513 Respect feedmail-queue-slug-suspect-regexp.
23514 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23515 (feedmail-dump-message-to-queue): Add debug call.
23516 Expand queue-directory.
23517 (feedmail-dump-message-to-queue): Change message slightly.
23518 Use feedmail-say-chatter.
23519 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23520 (feedmail-send-it-immediately-wrapper): New function.
23521 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23522 Insert empty string rather than newline. Handle full-frame case.
23523 Use catch/throw. Use feedmail-say-chatter.
23524 (feedmail-fiddle-from): Try mail-host-address.
23525 (feedmail-default-message-id-generator): Doc fix.
23526 Bind system-time-locale. Handle missing end.
23527 (feedmail-fiddle-x-mailer): Add debug call.
23528 Handle feedmail-x-mailer-line being nil.
23529 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23530 Add debug call. Use buffer-substring-no-properties.
23531 (feedmail-say-debug, feedmail-say-chatter): New functions.
23532 (feedmail-find-eoh): Give an explicit error.
23533
42c7e61e
UJ
235342011-05-13 Ulf Jasper <ulf.jasper@web.de>
23535
c2571358 23536 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 23537 family from helvetica to sans.
c2571358 23538 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
23539 etc/images/newsticker.
23540
c2571358 23541 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
23542 family from helvetica to sans.
23543
23544 * net/newst-plainview.el (newsticker-new-item-face)
23545 (newsticker-old-item-face, newsticker-immortal-item-face)
23546 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 23547 (newsticker-statistics-face): Change default family from
42c7e61e 23548 helvetica to sans.
c2571358 23549 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
23550 etc/images/newsticker.
23551
5d3385a0
JB
23552 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23553 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
23554 auto-marking.
23555
8497a297
DV
235562011-05-13 Didier Verna <didier@xemacs.org>
23557
23558 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
23559 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23560 TODO entries.
8497a297
DV
23561 (lisp-lambda-list-keyword-parameter-indentation)
23562 (lisp-lambda-list-keyword-parameter-alignment)
23563 (lisp-lambda-list-keyword-alignment): New customizable user options.
23564 (lisp-indent-defun-method): Improve docstring.
23565 (extended-loop-p): Fix comment.
23566 (lisp-indent-lambda-list-keywords-regexp): New variable.
23567 (lisp-indent-lambda-list): New function.
23568 (lisp-indent-259): Use it.
23569 (lisp-indent-defmethod): Support for more than one
23570 method qualifier and properly indent methods lambda-lists.
23571 (defgeneric): Provide a missing common-lisp-indent-function property.
23572
f278f87f
SM
235732011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23574
23575 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23576 bounds for the empty string (bug#8667).
23577
5233edd7
GM
235782011-05-13 Glenn Morris <rgm@gnu.org>
23579
5237a44f
GM
23580 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23581
8340026c 23582 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 23583 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 23584
5233edd7 23585 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 23586 (appt-time-msg-list): Doc fix.
a5464014 23587 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 23588
92d10796
AS
235892011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23590
23591 * progmodes/ld-script.el (ld-script-keywords)
23592 (ld-script-builtins): Update keywords list.
23593
914a0ae1
SM
235942011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23595
c89be45f
SM
23596 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23597
914a0ae1
SM
23598 * shell.el (shell-completion-vars): New function.
23599 (shell-mode):
23600 * simple.el (read-shell-command): Use it.
23601 (blink-matching-open): No need for " [...]" in minibuffer-message.
23602
98dc3df3
GM
236032011-05-12 Glenn Morris <rgm@gnu.org>
23604
23605 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23606 (appt-check): Simplify.
23607
d2fc7e3d 236082011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 23609
4d61f28d 23610 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
23611 literal "/dev/null".
23612
d2fc7e3d 236132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
23614
23615 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23616 Fix typo.
23617
d2fc7e3d 236182011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 23619
3f254caa
SM
23620 * progmodes/which-func.el (which-function):
23621 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
23622 which might not be defined (Bug#8260).
23623
d45885f7
GM
236242011-05-12 Glenn Morris <rgm@gnu.org>
23625
23626 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23627 Let byte-compile-initial-macro-environment always take precedence.
23628
488086f4
SM
236292011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23630
23631 * net/rcirc.el: Add support for SSL/TLS connections.
23632 (rcirc-server-alist): New field `encryption'.
23633 (rcirc): Check `encryption' settings.
23634 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23635 Merge make-local-variable into `set'.
23636 (rcirc--connection-open-p): New function.
23637 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23638 the process is not a network process (e.g. running gnutls-cli).
23639 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23640 Make rcirc-(en|de)code-coding-system local here.
23641 (rcirc-mode): Merge make-local-variable into `set'.
23642 (rcirc-parent-buffer): Make permanent buffer-local.
23643 (rcirc-multiline-minor-mode): Don't do it here.
23644 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23645 there's no server buffer.
23646
7d3b9d44
GM
236472011-05-11 Glenn Morris <rgm@gnu.org>
23648
f64049c6
GM
23649 * newcomment.el (comment-kill): Prefix "unused" local.
23650
93c9df73
GM
23651 * term/w32console.el (get-screen-color): Declare.
23652
7d3b9d44
GM
23653 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23654 Handle symbol elements of byte-compile-initial-macro-environment.
23655
9e2dd53f
LL
236562011-05-10 Leo Liu <sdl.web@gmail.com>
23657
488086f4
SM
23658 * bookmark.el (bookmark-bmenu-mode-map):
23659 Bind bookmark-bmenu-search to `/'.
8b340240 23660
9e2dd53f 23661 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
23662 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23663 (Footnote-unicode): New function.
23664 (footnote-style-alist): Add unicode style to the list.
23665 (footnote-style): Doc fix.
9e2dd53f 23666
79b70037
GM
236672011-05-10 Jim Meyering <meyering@redhat.com>
23668
23669 Fix doubled-word typos.
23670 * international/quail.el (quail-insert-kbd-layout): and and -> and
23671 * kermit.el: and and -> and
23672 * net/ldap.el (ldap-search-internal): to to -> to
23673 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23674 * progmodes/js.el (js-mode): and and -> and
23675 * textmodes/artist.el (artist-move-to-xy): at at -> at
23676 (artist-draw-region-trim-line-endings): if if -> if
23677 And Safetyc -> Safety.
23678 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23679
b8f82dc1 236802011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 23681 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
23682
23683 * files.el (hack-one-local-variable-eval-safep):
23684 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23685
4f99f44b
GM
236862011-05-10 Glenn Morris <rgm@gnu.org>
23687
23688 * calendar/diary-lib.el (diary-list-entries-hook)
23689 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23690 (diary-nongregorian-marking-hook, diary-list-entries)
23691 (diary-include-other-diary-files, diary-mark-entries)
23692 (diary-mark-included-diary-files): Doc fixes.
23693
84f29e6b
JB
236942011-05-09 Juanma Barranquero <lekktu@gmail.com>
23695
23696 * misc.el: Require tabulated-list.el during compilation.
23697
9bedd73a
CY
236982011-05-09 Chong Yidong <cyd@stupidchicken.com>
23699
488086f4
SM
23700 * progmodes/compile.el (compilation-start):
23701 Run compilation-filter-hook for the async case too.
9bedd73a
CY
23702 (compilation-filter-hook): Doc fix.
23703
797c735c
DD
237042011-05-09 Deniz Dogan <deniz@dogan.se>
23705
23706 * wdired.el: Remove outdated installation comment. Fix usage
23707 comment.
23708
5f4b1dfe
JB
237092011-05-09 Juanma Barranquero <lekktu@gmail.com>
23710
23711 * misc.el: Implement new command `list-dynamic-libraries'.
23712 (list-dynamic-libraries--loaded-only-p): New variable.
23713 (list-dynamic-libraries--refresh): New function.
23714 (list-dynamic-libraries): New command.
23715
4c44026c
CY
237162011-05-09 Chong Yidong <cyd@stupidchicken.com>
23717
488086f4
SM
23718 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23719 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
23720 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23721 higher priority to avoid clobbering by gnu.
23722
027f966d
CY
237232011-05-08 Chong Yidong <cyd@stupidchicken.com>
23724
23725 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23726 if the face has existing theme settings (Bug#8454).
23727
085f5d7d
CY
237282011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23729
488086f4
SM
23730 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23731 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 23732
2a86a00c
RS
23733 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23734 special file names `.' and `..' (Bug#8259).
23735
d9c54a06
CY
237362011-05-08 Chong Yidong <cyd@stupidchicken.com>
23737
488086f4
SM
23738 * progmodes/grep.el (grep-mode-font-lock-keywords):
23739 Remove buffer-changing entries.
d9c54a06
CY
23740 (grep-filter): New function.
23741 (grep-mode): Add it to compilation-filter-hook.
23742
23743 * progmodes/compile.el (compilation-filter-hook)
23744 (compilation-filter-start): New defvars.
23745 (compilation-filter): Call compilation-filter-hook prior to
23746 updating the process mark.
23747
c4662635
SM
237482011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23749
23750 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23751
b0512a1d
EZ
237522011-05-07 Eli Zaretskii <eliz@gnu.org>
23753
605c9376
EZ
23754 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23755 mailclient-send-it even if window-system is nil. (Bug#8595)
23756
c4662635
SM
23757 * term/w32console.el (terminal-init-w32console):
23758 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
23759 background-mode. (Bug#8597)
23760
d1dc2cc2
SM
237612011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23762
23763 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23764 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23765 New functions.
23766 (defgeneric, eieio--defmethod): Use them.
23767 (eieio-defgeneric): Remove.
23768 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23769
915d1300
GM
237702011-05-07 Glenn Morris <rgm@gnu.org>
23771
a3961c3e
GM
23772 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23773 Use let rather than let*.
23774 (timeclock-find-discrep): Remove unused local.
23775
314347b9
GM
23776 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23777
915d1300
GM
23778 * calendar/appt.el (appt-time-msg-list): Doc fix.
23779
275b59b0
NF
237802011-05-06 Noah Friedman <friedman@splode.com>
23781
23782 * apropos.el (apropos-print-doc): Only use
23783 emacs-lisp-docstring-fill-column when it is bound to an integer,
23784 per that variable's documentation.
23785
6c19f744
SM
237862011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23787
23788 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 23789 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 23790
60f884b2
GM
237912011-05-06 Glenn Morris <rgm@gnu.org>
23792
5006e634
GM
23793 * calendar/appt.el (appt-message-warning-time): Doc fix.
23794 (appt-warning-time-regexp): New option.
23795 (appt-make-list): Respect appt-message-warning-time.
23796
548d0a63
GM
23797 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23798 New options.
23799 (diary-add-to-list): Strip comments from the displayed string.
23800 (diary-mode): Set comment-start and comment-end.
23801
60f884b2
GM
23802 * vc/diff-mode.el (smerge-refine-subst): Declare.
23803 (diff-refine-hunk): Don't require smerge-mode when compiling.
23804
989681bb
JB
238052011-05-06 Juanma Barranquero <lekktu@gmail.com>
23806
23807 * simple.el (list-processes): Return nil as the docstring says.
23808
a6bc05e1
MA
238092011-05-05 Michael Albinus <michael.albinus@gmx.de>
23810
23811 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23812 to "".
23813 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23814 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23815 determining of binary transfer. (Bug#7383)
23816
23c22e9a
MA
238172011-05-05 Michael Albinus <michael.albinus@gmx.de>
23818
c4662635
SM
23819 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23820 Fix port computation bug. (Bug#8618)
23c22e9a 23821
0bff894f
GM
238222011-05-05 Glenn Morris <rgm@gnu.org>
23823
b8296902
GM
23824 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23825
1f522ce8
GM
23826 * simple.el (shell-dynamic-complete-functions)
23827 (comint-dynamic-complete-functions): Declare.
23828
cf5bee67
GM
23829 * net/network-stream.el (gnutls-negotiate):
23830 * simple.el (tabulated-list-print): Fix declarations.
23831
23832 * progmodes/gud.el (syntax-symbol, syntax-point):
23833 Remove unnecessary and incorrect declarations.
23834
0bff894f 23835 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 23836 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 23837
9869b3ae
SM
238382011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23839
23840 Fix earlier half-done eieio-defmethod change (bug#8338).
23841 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23842 Streamline and change calling convention.
23843 (defmethod): Adjust accordingly and simplify.
23844 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23845 new eieio--defmethod.
23846 (slot-boundp): Minor CSE simplification.
23847
9c1d5ac5
MZ
238482011-05-05 Milan Zamazal <pdm@zamazal.org>
23849
23850 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23851 (glasses-make-readable): Use glasses-separate-capital-groups.
23852
455c834e
JB
238532011-05-05 Juanma Barranquero <lekktu@gmail.com>
23854
23855 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23856 (warning-series): Doc fix.
23857 (display-warning): Don't try to create the buffer if we just found it.
23858
9ed7c8cb
CY
238592011-05-04 Chong Yidong <cyd@stupidchicken.com>
23860
23861 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23862 (autoload-find-generated-file): New function.
23863 (generate-file-autoloads): Bind generated-autoload-file to
23864 buffer-file-name.
9869b3ae
SM
23865 (update-file-autoloads, update-directory-autoloads):
23866 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
23867 output file (Bug#7989).
23868 (batch-update-autoloads): Doc fix.
23869
0898ca10
JB
238702011-05-04 Juanma Barranquero <lekktu@gmail.com>
23871
23872 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23873
31dfb76c
GM
238742011-05-04 Glenn Morris <rgm@gnu.org>
23875
f330b642
GM
23876 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23877 function, so it follows changes in calendar-date-style.
23878 (diary-fancy-date-matcher): New function.
23879 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23880 (diary-fancy-font-lock-fontify-region-function):
23881 Use diary-fancy-date-pattern as a function.
23882
31dfb76c
GM
23883 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23884 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23885
48e79d6a
TZ
238862011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23887
23888 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23889 instead of positional arguments. Allow :keylist and :crlfiles
23890 arguments.
23891 (open-gnutls-stream): Call it.
23892
23893 * net/network-stream.el (network-stream-open-starttls): Adjust to
23894 call `gnutls-negotiate' with :process and :hostname arguments.
23895
dd5a5ee0
SM
238962011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23897
ef80fc09
SM
23898 * minibuffer.el (completion--message): New function.
23899 (completion--do-completion, minibuffer-complete)
23900 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23901 (completion--do-completion): Don't ignore completion-auto-help when in
23902 icomplete-mode.
23903
dd5a5ee0
SM
23904 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23905 internal encoding (e.g. tibetan zero is not whitespace).
23906 (global-whitespace-mode): Prefer save-current-buffer.
23907 (whitespace-trailing-regexp): Remove useless save-match-data.
23908 (whitespace-empty-at-bob-regexp): Minor simplification.
23909
b7d22a83
CY
239102011-05-03 Chong Yidong <cyd@stupidchicken.com>
23911
23912 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23913
5192af46
AM
239142011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23915
23916 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 23917 Use `concat' to create string for insertion.
5192af46 23918
5767d190
SM
239192011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23920
23921 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23922 Avoid open-line which runs post-self-insert-hook.
23923 (bibtex-fill-entry): Remove unused `end' var.
23924
bf242939
AM
239252011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23926
5767d190
SM
23927 * textmodes/ispell.el (ispell-add-per-file-word-list):
23928 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 23929
25666126
LL
239302011-05-03 Leo Liu <sdl.web@gmail.com>
23931
23932 * isearch.el (isearch-yank-pop): New command.
5767d190 23933 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
23934 (isearch-forward): Mention it.
23935
52d3c2d0
SM
239362011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23937
1bcace58
SM
23938 * simple.el (minibuffer-complete-shell-command): Remove.
23939 (minibuffer-local-shell-command-map): Use completion-at-point.
23940 (read-shell-command): Setup completion vars here instead.
23941 (read-expression-map): Bind TAB to symbol completion.
23942
52d3c2d0
SM
23943 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23944 error directly rather via storing it into `results'.
23945
35813471
LL
239462011-05-02 Leo Liu <sdl.web@gmail.com>
23947
23948 * vc/diff.el: Fix description.
23949
e793a940
LMI
239502011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23951
23952 * server.el (server-eval-at): New function.
23953
8de66e05
LMI
239542011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23955
23956 * net/network-stream.el (open-network-stream): Take a :nowait
23957 parameter and pass it on to `make-network-process'.
23958 (network-stream-open-plain): Ditto.
23959
dcb79f20
AS
239602011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23961
23962 * faces.el (face-spec-set-match-display): Don't match toolkit
23963 options on terminal frames.
23964
14a7fbd8
SM
239652011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23966
7eabc1be
SM
23967 * progmodes/pascal.el: Use lexical binding.
23968 (pascal-mode-map): Remove author preferences.
23969
14a7fbd8
SM
23970 * pcomplete.el (pcomplete-std-complete): Don't abuse
23971 completion-at-point.
23972
50f84510
JB
239732011-04-28 Juanma Barranquero <lekktu@gmail.com>
23974
6e087a44
JB
23975 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23976 removing code that has been dead since 1991 or so.
23977
50f84510
JB
23978 * startup.el (command-line): When warning about "_emacs", use a
23979 delayed warning to allow the user to filter it out.
23980
0ba690bd
DD
239812011-04-28 Deniz Dogan <deniz@dogan.se>
23982
23983 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23984 user has not joined.
23985
08abfaad
SM
239862011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23987
23988 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23989 aren't any completions at point.
23990
638f053a
JB
239912011-04-28 Juanma Barranquero <lekktu@gmail.com>
23992
23993 * subr.el (display-delayed-warnings): New function.
23994 (delayed-warnings-hook): New variable.
23995
8fff8daa
SM
239962011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23997
08abfaad
SM
23998 * minibuffer.el (completion-at-point, completion-help-at-point):
23999 Don't presume that a given completion-at-point-function will always
24000 use the same calling convention.
24001
8fff8daa
SM
24002 * pcomplete.el (pcomplete-completions-at-point):
24003 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24004 pcomplete-seen is non-nil.
24005 (pcomplete-comint-setup): Also recognize the new comint/shell
24006 completion functions.
24007 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24008 pcomplete-seen is non-nil.
24009
841a1577 240102011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 24011
841a1577 24012 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 24013 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 24014 the first character in the entry. This allows for code to add its
211ec907
UJ
24015 own uid to the entry.
24016 (icalendar--convert-float-to-ical): Add export of
24017 `diary-float'-entries save for those with the optional DAY
24018 argument.
24019
2a782793
DC
240202011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24021
24022 * subr.el (shell-quote-argument): Use alternate escaping strategy
24023 when we spot a variable reference in a string.
24024
0438ce91
DC
240252011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24026
24027 * cus-start.el (all): Define customization for debug-on-event.
24028
841a1577 240292011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
24030
24031 * subr.el (shell-quote-argument): Escape correctly under Windows.
24032
d090ed6c
SM
240332011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24034
24035 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24036
bfd31217
MA
240372011-04-25 Michael Albinus <michael.albinus@gmx.de>
24038
d090ed6c
SM
24039 * net/tramp.el (tramp-process-actions): Add POS argument.
24040 Delete region between POS and (pos).
bfd31217 24041
d090ed6c
SM
24042 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24043 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
24044 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24045
24046 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24047 position in `tramp-process-actions' call.
24048
24049 * net/trampver.el: Update release number.
24050
e92f3bd3
SM
240512011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24052
850256b5
SM
24053 * custom.el (defcustom): Obey lexical-binding.
24054
e92f3bd3
SM
24055 Fix octave-inf completion problems reported by Alexander Klimov.
24056 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24057 Inherit from octave-mode-syntax-table.
24058 (inferior-octave-mode): Set info-lookup-mode.
24059 (inferior-octave-completion-at-point): New function.
24060 (inferior-octave-complete): Use it and completion-in-region.
24061 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24062 comint-filename-completion.
24063 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24064 symbol elements which shouldn't be word elements.
24065 (octave-font-lock-keywords, octave-beginning-of-defun)
24066 (octave-function-header-regexp): Adjust regexps accordingly.
24067 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24068
cd22b309
JB
240692011-04-25 Juanma Barranquero <lekktu@gmail.com>
24070
24071 * net/gnutls.el (gnutls-errorp): Declare before first use.
24072
8b492194
TZ
240732011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24074
24075 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24076 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 24077 default trustfile exists before going to use it. Add missing
5a5fa834 24078 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
24079 Reported by Claudio Bley <claudio.bley@gmail.com>.
24080 (open-gnutls-stream): Add usage example.
24081
24082 * net/network-stream.el (network-stream-open-starttls): Give host
24083 parameter to `gnutls-negotiate'.
24084 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 24085 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 24086
841a1577 240872011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 24088
cd22b309
JB
24089 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24090 Use correct match group (bug#8438).
05842630 24091
3ba7869c
CY
240922011-04-24 Chong Yidong <cyd@stupidchicken.com>
24093
512e3ae1
CY
24094 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24095 (package-menu--generate): New arg specifying packages to show.
24096 (package-menu-refresh, package-menu-execute, list-packages):
24097 Callers changed.
24098 (package-show-package-list): New function, replacing deleted
24099 package--list-packages (renamed because it is non-internal).
24100
24101 * finder.el (finder-list-matches): Use package-show-package-list
24102 instead of deleted package--list-packages.
24103
e92f3bd3
SM
24104 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24105 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
24106 (vc-annotate-mode-map): Bind it to RET.
24107
7031be6d
UR
241082011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24109
24110 * progmodes/etags.el (next-file): Don't use set-buffer to change
24111 buffers (Bug#8478).
24112
4ef177aa
CY
241132011-04-24 Chong Yidong <cyd@stupidchicken.com>
24114
c8d173eb
CY
24115 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24116
4ef177aa
CY
24117 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24118 (apropos-accumulator): Doc fix.
24119 (apropos-function, apropos-macro, apropos-command)
24120 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24121 (apropos-plist): Add face property.
24122 (apropos-symbols-internal): Fix indentation.
24123 (apropos-print): Simplify help, and recognize apropos-multi-type.
24124 (apropos-print-doc): Use button-type-get to extract the button's
24125 face property. Fill docstring (Bug#8352).
24126
4ffd0d6b 241272011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
24128
24129 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24130
c6c32125 24131 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 24132 (mpuz-mode-map): Use mapc.
c6c32125
JB
24133 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24134 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24135 Fix typos in docstrings.
24136
58d468b4
JB
24137 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24138 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24139
6470c3c6
JB
24140 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24141
4ffd0d6b 241422011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
24143
24144 * minibuffer.el (completion--do-completion): Avoid the "Next char
24145 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24146
3ad8bad0
CY
24147 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24148 mouse-2 into unread-command-events, it is interpreted correctly.
24149
71d73c9c 24150 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 24151 (image-toggle-display): Doc fix.
71d73c9c 24152
841a1577 241532011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 24154
4ffd0d6b
GM
24155 * textmodes/page.el (what-page): Use line-number-at-pos to
24156 calculate line number (Bug#6825).
6e1dbaa9 24157
c2fb1b60
JB
241582011-04-22 Juanma Barranquero <lekktu@gmail.com>
24159
24160 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24161 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24162 Pass argument NO-DEFAULT to `find-tag-interactive'.
24163
e02f48d7
JB
241642011-04-22 Juanma Barranquero <lekktu@gmail.com>
24165
24166 Lexical-binding cleanup.
24167
24168 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24169 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24170 * progmodes/ada-prj.el (ada-prj-initialize-values)
24171 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24172 (ada-prj-show-value):
24173 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24174 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24175 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24176 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24177 * progmodes/bug-reference.el (bug-reference-push-button):
24178 * progmodes/fortran.el (fortran-line-length):
24179 * progmodes/glasses.el (glasses-change):
24180 * progmodes/octave-mod.el (octave-fill-paragraph):
24181 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24182 (python-pdbtrack-grub-for-buffer, python-sentinel):
24183 * progmodes/sql.el (sql-save-connection):
24184 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24185 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24186 Mark unused parameters.
24187
24188 * progmodes/compile.el (compilation--flush-directory-cache)
24189 (compilation--flush-parse, compile-internal): Mark unused parameters.
24190 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24191 (compilation-next-error-function): Remove unused variable `timestamp'.
24192
24193 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24194 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24195
24196 * progmodes/dcl-mode.el (dcl-end-of-command):
24197 Remove unused variable `start'.
24198 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24199 (dcl-option-value-basic, dcl-option-value-offset)
24200 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24201 Mark unused parameters.
24202 (dcl-save-local-variable): Remove unused variable `val'.
24203 (mode): Declare.
24204
24205 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24206 Mark unused parameters.
24207 (delphi-ignore-changes): Move before first use.
24208 (delphi-charset-token-at): Remove unused variable `start'.
24209 (delphi-else-start): Remove unused variable `if-count'.
24210 (delphi-comment-block-start, delphi-comment-block-end):
24211 Remove unused variable `kind'.
24212 (delphi-indent-line): Remove unused variable `new-point'.
24213
24214 * progmodes/ebrowse.el (ebrowse-files-list)
24215 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24216 Mark unused parameters. Don't quote `lambda'.
24217 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24218 Don't quote `lambda'.
24219 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24220 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24221 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24222 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24223 Use `ignore-errors'.
24224 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24225 (ebrowse-view/find-file-and-search-pattern)
24226 (ebrowse-view/find-member-declaration/definition):
24227 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24228 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24229 Rename parameter PREFIX-ARG to PREFIX.
24230 (ebrowse-tags-read-name): Remove unused variables `start' and
24231 `member-info'.
24232 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24233 to `tags-file'.
24234
24235 * progmodes/etags.el (local-find-tag-hook): Declare.
24236 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24237 Mark unused parameters.
24238
24239 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24240 (executable-interpret): Mark unused parameter.
24241
24242 * progmodes/flymake.el (flymake-process-sentinel)
24243 (flymake-after-change-function)
24244 (flymake-create-temp-with-folder-structure)
24245 (flymake-get-include-dirs-dot): Mark unused parameters.
24246 (flymake-safe-delete-directory): Remove unused variable `err'.
24247
24248 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24249 (speedbar-timer-fn, speedbar-line-text)
24250 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24251 (speedbar-center-buffer-smartly): Declare functions.
24252 (gdb-find-watch-expression): Remove unused variable `array'.
24253 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24254 (gdb-starting): Mark unused parameters.
24255 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24256 (gdb-table-string): Remove unused variable `res'.
24257 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24258 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24259 (gdb-display-buffer): Remove unused variable `cur-size'.
24260
24261 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24262 allow lexical-binding compilation.
24263 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24264 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24265 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24266 Mark unused parameters.
24267 (gud-gdb-marker-filter): Remove unused variable `match'.
24268 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24269 lambda expressions and funcall them, instead of using `fset'.
24270
24271 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24272 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24273
24274 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24275 variable `header-beg'; use `let'.
24276
24277 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24278 `restart', `last-sexp' and `at-do'.
24279
24280 * progmodes/js.el (js--debug): Mark unused parameter.
24281 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24282 (js--splice-into-items): Remove unused variable `item'.
24283 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24284
24285 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24286 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24287 (makefile-complete): Remove unused variable `try'.
24288 (makefile-fill-paragraph, makefile-match-function-end):
24289 Mark unused parameters.
24290
24291 * progmodes/octave-inf.el (inferior-octave-complete):
24292 Remove unused variable `proc'.
24293 (inferior-octave-output-digest): Mark unused parameter.
24294
24295 * progmodes/perl-mode.el (perl-calculate-indent):
24296 Remove unused variable `err'.
24297
24298 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24299 (prolog-indent-line): Mark unused parameters.
24300 (prolog-indent-line): Remove unused variable `beg'.
24301
24302 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24303 (reporter-dont-compact-list): Declare.
24304
24305 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24306 Remove unused variable `char'.
24307 (sh-debug): Mark unused parameter.
24308 (sh-get-indent-info): Remove unused variable `start'.
24309 (sh-calculate-indent): Remove unused variable `var'.
24310
24311 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24312 (simula-electric-keyword): Remove unused variable `null'.
24313 (simula-search-backward, simula-search-forward): Remove unused
24314 variables `begin' and `end'.
24315
24316 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24317 Remove unused variable `pos'.
24318 (vera-electric-tab, vera-comment-uncomment-region):
24319 Mark unused parameters.
24320 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24321
7ede3b65
CY
243222011-04-22 Chong Yidong <cyd@stupidchicken.com>
24323
24324 * emacs-lisp/package.el (package--builtins, package-alist)
24325 (package-load-descriptor, package-built-in-p, package-activate)
24326 (define-package, package-installed-p)
24327 (package-compute-transaction, package-buffer-info)
24328 (package--push): Doc fix. Distinguish more clearly between
24329 version strings and version lists.
24330
121656e9
JB
243312011-04-21 Juanma Barranquero <lekktu@gmail.com>
24332
24333 Lexical-binding cleanup.
24334
24335 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24336 (5x5-make-mutate-best):
24337 * play/fortune.el (fortune-in-buffer):
24338 * play/gomoku.el (gomoku-init-display):
24339 * play/solitaire.el (solitaire, solitaire-do-check):
24340 * play/tetris.el (tetris-default-update-speed-function):
24341 Mark unused parameters.
24342
24343 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24344 (bubbles--shift): Remove unused variable `char-org'.
24345 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24346 (bubbles--show-images): Remove unused variable `char'.
24347
24348 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24349 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24350 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24351 (decipher-analyze-buffer): Use ?\s.
24352 (decipher-make-checkpoint): Remove unused variable `mapping'.
24353
24354 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24355
24356 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24357 Remove unused variable `result'; use `let'.
24358
24359 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24360 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24361 (gametree-children-shown-p, gametree-compute-reduced-score):
24362 Use `ignore-errors'.
24363
24364 * play/handwrite.el (ps-lpr-switches): Declare.
24365 (handwrite): Remove unused variables `pmin' and `lastp'.
24366
24367 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24368
24369 * play/landmark.el (landmark-init-display)
24370 (landmark-update-naught-weights): Mark unused parameters.
24371 (landmark-y): Remove unused variable `noise'. Simplify.
24372 (landmark-human-plays): Remove unused variable `score'.
24373
24374 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24375 (mpuz-try-proposal): Remove unused variable `game'.
24376
24377 * play/zone.el (life-patterns): Declare.
24378
80f499c7
JB
243792011-04-20 Juanma Barranquero <lekktu@gmail.com>
24380
24381 * vc/vc.el (ediff-vc-internal): Declare function.
24382
024ff170
SM
243832011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24384
c0a193ea
SM
24385 * shell.el: Use lexical-binding and std completion UI.
24386 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24387 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24388 comint-preoutput-filter-functions rather than on
24389 comint-output-filter-functions.
24390 (shell-command-completion, shell--command-completion-data)
24391 (shell-filename-completion, shell-environment-variable-completion)
24392 (shell-c-a-p-replace-by-expanded-directory): New functions.
24393 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24394 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24395 (shell-dynamic-complete-environment-variable): Use them.
24396 (shell-dynamic-complete-as-environment-variable)
24397 (shell-dynamic-complete-as-command): Remove.
24398 (shell-match-partial-variable): Match past point.
24399 * comint.el: Clean up use of completion-at-point-functions.
24400 (comint-completion-at-point): New function.
24401 (comint-mode): Use it completion-at-point-functions.
24402 (comint-dynamic-complete): Make it obsolete.
24403 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24404 (comint-c-a-p-replace-by-expanded-history): New function.
24405 (comint-dynamic-complete-functions)
24406 (comint-replace-by-expanded-history): Use it.
24407 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24408 termination strings. Try harder to avoid second try-completion.
24409 (completion-in-region-mode-map): Disable bindings that don't work yet.
24410
2dbaa080
SM
24411 * comint.el: Use lexical-binding. Require CL.
24412 (comint-dynamic-complete-functions): Use comint-filename-completion.
24413 (comint-completion-addsuffix): Tweak custom type.
24414 (comint-filename-completion, comint--common-suffix)
24415 (comint--common-quoted-suffix, comint--table-subvert)
24416 (comint--complete-file-name-data): New functions.
24417 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24418 (comint-dynamic-list-filename-completions): Use them.
24419 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 24420
2dbaa080
SM
24421 * minibuffer.el (completion-in-region-mode):
24422 Keep completion-in-region-mode--predicate global.
24423 (completion-in-region--postch):
24424 Assume completion-in-region-mode--predicate is not null.
24425
c79a6f38
SM
24426 * progmodes/flymake.el (flymake-start-syntax-check-process):
24427 Obey `dir'. Simplify.
24428
024ff170
SM
24429 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24430 we're in VC after all.
24431
1c6c854e
CS
244322011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24433
24434 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 24435 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
24436 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24437
bed7f140
SM
244382011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24439
332e62ab
SM
24440 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24441 add sanity check.
24442
bed7f140
SM
24443 * obsolete/erc-hecomplete.el: Make obsolete.
24444 * obsolete/: Standardize obsolescence info in the header.
24445
f195c582
GM
244462011-04-20 Glenn Morris <rgm@gnu.org>
24447
24448 * calendar/solar.el (solar-horizontal-coordinates):
24449 Use the longitude argument rather than `calendar-longitude'.
24450 (solar-date-next-longitude): Remove unused locals.
24451
cb79b8c0
VJL
244522011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24453
24454 * whitespace.el: New version 13.2.1.
24455
244562011-04-20 felix <EmacsWiki> (tiny change)
24457
d8e4b68b 24458 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
24459 switching between major modes on a file.
24460
602ea69d
SM
244612011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24462
24463 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24464 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24465 multi-line comments as well.
24466
06b60517
JB
244672011-04-19 Juanma Barranquero <lekktu@gmail.com>
24468
24469 Lexical-binding cleanup.
24470
24471 * arc-mode.el (archive-mode-revert):
24472 * cmuscheme.el (scheme-interactively-start-process):
24473 * custom.el (custom-initialize-delay):
24474 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24475 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24476 * emacs-lock.el (emacs-lock-clear-sentinel):
24477 * ezimage.el (defezimage):
24478 * follow.el (follow-avoid-tail-recenter):
24479 * fringe.el (set-fringe-mode-1):
24480 * generic-x.el (bat-generic-mode-compile):
24481 * help-mode.el (help-info-variable, help-do-xref)
24482 (help-mode-revert-buffer):
24483 * help.el (view-emacs-todo):
24484 * iswitchb.el (iswitchb-completion-help):
24485 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24486 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24487 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24488 * locate.el (locate-update):
24489 * longlines.el (longlines-encode-region)
24490 (longlines-after-change-function):
24491 * outline.el (outline-isearch-open-invisible):
24492 * ps-def.el (declare-function, charset-dimension, char-width)
24493 (encode-char):
24494 * ps-mule.el (ps-mule-plot-string):
24495 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24496 (recentf-edit-list-select, recentf-edit-list-validate)
24497 (recentf-open-files-action):
24498 * rect.el (delete-whitespace-rectangle-line)
24499 (rectangle-number-line-callback):
24500 * register.el (window-configuration-to-register)
24501 (frame-configuration-to-register):
24502 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24503 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24504 (xselect-convert-to-targets, xselect-convert-to-delete)
24505 (xselect-convert-to-filename, xselect-convert-to-charpos)
24506 (xselect-convert-to-lineno, xselect-convert-to-colno)
24507 (xselect-convert-to-os, xselect-convert-to-host)
24508 (xselect-convert-to-user, xselect-convert-to-class)
24509 (xselect-convert-to-name, xselect-convert-to-integer)
24510 (xselect-convert-to-atom, xselect-convert-to-identity):
24511 * subr.el (declare, ignore, process-kill-without-query)
24512 (text-clone-maintain):
24513 * terminal.el (te-get-char, te-tic-sentinel):
24514 * tool-bar.el (tool-bar-make-keymap):
24515 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24516 * type-break.el (type-break-mode, type-break-noninteractive-query):
24517 * view.el (View-back-to-mark):
24518 * wid-browse.el (widget-browse-action, widget-browse-widget)
24519 (widget-browse-widgets, widget-browse-sexp):
24520 * widget.el (define-widget-keywords):
24521 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24522 Mark unused parameters.
24523
24524 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24525 (align-areas): Remove unused variable `look'.
24526 (align-region): Remove unused variables `real-end' and `pos-list'.
24527
24528 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24529
24530 * bindings.el (mode-line-modified, mode-line-remote):
24531 Mark unused parameters.
24532 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24533
24534 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24535 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24536
24537 * comint.el (comint-history-isearch-pop-state)
24538 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24539 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24540 (comint-substitute-in-file-name): Doc fix.
24541
24542 * completion.el (cmpl-statistics-block): Mark unused parameter.
24543 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24544 (save-completions-to-file, load-completions-from-file):
24545 Remove unused local variable `e'.
24546
24547 * composite.el (compose-chars): Remove unused variable `len'.
24548 (lgstring-insert-glyph): Remove unused variable `g'.
24549 (compose-glyph-string): Remove unused variables `ascent',
24550 `descent', `lbearing' and `rbearing'.
24551 (compose-glyph-string-relative): Remove unused variables
24552 `lbearing', `rbearing' and `wadjust'.
24553 (compose-gstring-for-graphic): Remove unused variables `header',
24554 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24555 (compose-gstring-for-terminal): Remove unused variables `header'
24556 and `nchars'. Use `let', not `let*'.
24557
24558 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24559 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24560 (Custom-buffer-done, custom-buffer-create-internal)
24561 (custom-browse-visibility-action, custom-browse-group-tag-action)
24562 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24563 (widget-magic-mouse-down-action, custom-toggle-parent)
24564 (custom-add-parent-links, custom-toggle-hide-variable)
24565 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24566 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24567 (custom-face-menu-create, custom-variable-menu-create, get)
24568 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24569 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24570 (customize-apropos): Remove unused variable `tests'.
24571 (custom-group-value-create): Remove unused variable `hidden-p'.
24572 (sort-fold-case): Declare.
24573
24574 * cus-theme.el (custom-reset-standard-faces-list)
24575 (custom-reset-standard-variables-list): Declare.
24576 (customize-create-theme, custom-theme-revert, custom-theme-write)
24577 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24578 Mark unused parameters.
24579
24580 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24581
24582 * delim-col.el (delimit-columns-max): Move defvar before first use.
24583
24584 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 24585 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
24586
24587 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24588 (auto-insert): Declare.
24589 (desktop-restore-file-buffer): Rename desktop-* parameters;
24590 mark unused ones.
24591 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24592 (desktop-buffer): Rename desktop-* parameters.
24593
24594 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24595 (dframe-reposition-frame-xemacs, dframe-help-echo)
24596 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24597 Mark unused parameters.
24598
24599 * dired-aux.el (backup-extract-version-start, overwrite-query)
24600 (overwrite-backup-query, rename-regexp-query)
24601 (rename-non-directory-query): Declare.
24602 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24603 (dired-add-entry): Remove unused variable `orig-file-name'.
24604 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24605 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24606 `dired-copy-preserve-time' directly.
24607 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24608 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24609
24610 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24611 (dired-virtual-revert, dired-make-relative-symlink):
24612 Mark unused parameters.
24613 (manual-program): Declare.
24614 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24615 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24616 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24617
24618 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24619
24620 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24621
24622 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24623 Declare.
24624
24625 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24626
24627 * electric.el (Electric-command-loop): Rename parameter
24628 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24629
24630 * expand.el (expand-in-literal): Remove unused variable `here'.
24631
24632 * facemenu.el (facemenu-add-new-color):
24633 Remove unused variable `docstring'.
24634
24635 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24636 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24637 (face-attr-construct): Mark unused parameter. Doc fix.
24638 (read-color): Remove unused variable `hex-string'.
24639
24640 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24641 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24642 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24643 (display-buffer-other-frame): Remove unused variable `old-window'.
24644 (kill-buffer-hook): Declare.
24645 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24646 Mark unused parameters.
24647 (after-find-file): Pass 1 to `auto-save-mode', not t.
24648
24649 * files-x.el (auto-insert): Declare.
24650 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24651
24652 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 24653 variable `buf'. Mark unused parameter.
06b60517
JB
24654 (find-lisp-insert-directory): Mark unused parameter.
24655
24656 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24657 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24658 (format-common-tail): Remove, unused.
24659 (format-deannotate-region): Remove unused variable `loc'.
24660 (format-annotate-region): Remove unused variable `p'.
24661 (format-annotate-single-property-change): Remove unused variables
24662 `default' and `tail'.
24663
24664 * forms.el (read-file-filter): Declare.
24665 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24666
24667 * frame.el (frame-creation-function-alist): Mark unused parameter.
24668 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24669
24670 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24671 Remove unused parameters.
24672 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24673 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24674
24675 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24676 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24677 (hfy-prepare-tag-map): Mark unused parameters.
24678 (htmlfontify-buffer): Use `called-interactively-p'.
24679
24680 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24681 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24682 (ibuffer-do-occur): Mark unused parameters.
24683 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24684 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24685
24686 * ibuffer.el: Don't quote `lambda'.
24687 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24688 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24689 Mark unused parameters.
24690
24691 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24692 (ido-completing-read): Mark unused parameters.
24693 (ido-copy-current-word): Mark unused parameters;
24694 remove unused variable `name'.
24695 (ido-sort-merged-list): Remove unused parameter `dirs'.
24696
24697 * ielm.el (ielm-input-sender): Mark unused parameter.
24698 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24699 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24700 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24701 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24702 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24703
24704 * image-dired.el (image-dired-display-thumbs): Remove unused
24705 variables `curr-file' and `count'.
24706 (image-dired-remove-tag): Remove unused variable `start'.
24707 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24708 variable `curr-file'
24709 (image-dired-rotate-original): Remove unused variable `temp-file'.
24710 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24711 Remove unused variable `file'.
24712 (image-dired-gallery-generate): Remove unused variable `curr'.
24713 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24714
24715 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24716
24717 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24718
24719 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24720
24721 * isearch.el (minibuffer-history-symbol): Declare.
24722 (isearch-edit-string): Remove unused variable `err'.
24723 (isearch-message-prefix, isearch-message-suffix):
24724 Mark unused parameters.
24725
24726 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24727
24728 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24729
24730 * makesum.el (double-column): Remove unused variable `cnt'.
24731
24732 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24733 (ido-ignore-item-temp-list): Declare.
24734
24735 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24736 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24737 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24738 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24739 `mouse-col-delta'.
24740
24741 * mouse-sel.el (mouse-extend-internal):
24742 Remove unused variable `orig-window-frame'.
24743
24744 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24745 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24746 Move declarations before first use.
24747 (pcomplete-opt): Mark unused parameters; doc fix.
24748
24749 * proced.el (proced-revert): Mark unused parameter.
24750 (proced-send-signal): Remove unused variable `err'.
24751
24752 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24753 Rename parameter PREFIX-ARG to ARG.
24754 (ps-basic-plot-string, ps-basic-plot-whitespace):
24755 Mark unused parameters.
24756
24757 * replace.el (replace-count): Define.
24758 (occur-revert-function): Mark unused parameters.
24759 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24760 (isearch-case-fold-search, isearch-string): Declare.
24761 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24762 bind `case-fold-search'. Remove unused variables `beg' and `end',
24763 and simplify.
24764 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24765 COUNT and bind `replace-count'.
24766 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24767 to COUNT.
24768
24769 * savehist.el (print-readably, print-string-length): Declare.
24770
24771 * shadowfile.el (shadow-expand-cluster-in-file-name):
24772 Remove unused variable `cluster'.
24773 (shadow-copy-file): Remove unused variable `i'.
24774 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24775 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24776 (shadow-define-literal-group, shadow-define-regexp-group)
24777 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24778
24779 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24780 (shell): Use `called-interactively-p'.
24781 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24782
24783 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24784 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24785 (delete-backward-char): Remove unused variable `ocol'.
24786 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24787 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24788 (event-apply-hyper-modifier, event-apply-shift-modifier)
24789 (event-apply-control-modifier, event-apply-meta-modifier):
24790 Mark unused parameters.
24791 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24792 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24793
24794 * speedbar.el (speedbar-ignored-directory-expressions)
24795 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24796 (speedbar-find-file, speedbar-dir-follow)
24797 (speedbar-directory-buttons-follow, speedbar-tag-find)
24798 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24799 (speedbar-buffers-line-directory, speedbar-buffer-click):
24800 Mark unused parameters.
24801 (speedbar-tag-file): Remove unused variable `mode'.
24802 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24803
24804 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24805
24806 * talk.el (talk): Remove unused variable `display'.
24807
24808 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24809 (tar-write-region-annotate): Mark unused parameter.
24810
24811 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24812 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24813 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24814 warning by another.
24815
24816 * time-stamp.el (time-stamp-string-preprocess):
24817 Remove unused variable `require-padding'.
24818
24819 * tree-widget.el (widget-glyph-enable): Declare.
24820 (tree-widget-action): Mark unused parameter.
24821
24822 * w32-fns.el (x-get-selection): Mark unused parameter.
24823 (autoload-make-program, generated-autoload-file): Declare.
24824
24825 * wdired.el (wdired-revert): Mark unused parameters.
24826 (wdired-xcase-word): Remove unused variable `err'.
24827
24828 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24829 (whitespace-help-scroll): Remove unused variable `data-help'.
24830
24831 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24832 (widget-image-insert, widget-after-change, default)
24833 (widget-default-format-handler, widget-default-notify)
24834 (widget-default-prompt-value, widget-info-link-action)
24835 (widget-url-link-action, widget-function-link-action)
24836 (widget-variable-link-action, widget-file-link-action)
24837 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24838 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24839 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24840 (widget-insert-button-action, widget-delete-button-action, visibility)
24841 (widget-documentation-link-action, widget-documentation-string-action)
24842 (widget-const-prompt-value, widget-regexp-match, symbol)
24843 (widget-coding-system-prompt-value)
24844 (widget-key-sequence-value-to-external, sexp)
24845 (widget-sexp-value-to-internal, character, vector, cons)
24846 (widget-choice-prompt-value, widget-boolean-prompt-value)
24847 (widget-color--choose-action): Mark unused parameters.
24848 (widget-item-match-inline, widget-choice-match-inline)
24849 (widget-checklist-match, widget-checklist-match-inline)
24850 (widget-group-match): Rename parameter VALUES to VALS.
24851 (widget-field-value-set): Remove unused variable `size'.
24852 (widget-color-action): Remove unused variables `value' and `start'.
24853
24854 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 24855 variable `dir'. Doc fix.
06b60517
JB
24856 (windmove-find-other-window): Don't pass it.
24857
24858 * window.el (count-windows): Mark unused parameter.
24859 (bw-adjust-window): Remove unused variable `err'.
24860
24861 * woman.el (woman-file-name): Remove unused variable `default'.
24862 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24863 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24864 (global-font-lock-mode): Declare.
24865 (woman-decode-region): Mark unused parameter.
24866 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24867
24868 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24869 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24870 (x-dnd-handle-moz-url): Remove unused variable `title'.
24871 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24872
24873 * xml.el (xml-parse-tag, xml-parse-attlist):
24874 Remove unused variable `pos'.
24875
bc4f7f3d
GM
248762011-04-19 Glenn Morris <rgm@gnu.org>
24877
24878 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24879 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24880 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24881 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24882 * calendar/cal-html.el (cal-html-insert-minical):
24883 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24884 (calendar-mark-date-pattern):
24885 Prefix "unused" locals.
24886
24887 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24888 optional argument `style'.
24889
24890 * calendar/appt.el (appt-make-list):
24891 * calendar/cal-china.el (calendar-chinese-date-string):
24892 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24893 (diary-hebrew-yahrzeit):
24894 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24895 * calendar/calendar.el (calendar-generate-window):
24896 * calendar/time-date.el (time-to-days):
24897 Remove unused local variables.
24898
16a43933
CY
248992011-04-18 Chong Yidong <cyd@stupidchicken.com>
24900
24901 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24902 glyphless-char-display table.
24903 (tabulated-list-glyphless-char-display): New var.
24904
7eed1860
SS
249052011-04-18 Sam Steingold <sds@gnu.org>
24906
24907 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24908 to acknowledgments.
24909
4d2d1ccd
GM
249102011-04-17 Glenn Morris <rgm@gnu.org>
24911
24912 * calendar/diary-lib.el (diary-sexp-entry):
24913 * calendar/holidays.el (holiday-sexp):
24914 Set debug-on-error rather than the removed stack-trace-on-error.
24915
239da61d
GM
249162011-04-16 Glenn Morris <rgm@gnu.org>
24917
24918 * progmodes/f90.el: Use lexical-binding.
24919 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24920
8b05752a
SM
249212011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24922
daca8ba5
SM
24923 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24924 (mail-mode): Setup mailalias completion here instead.
24925 * mail/mailalias.el: Use lexical-binding.
24926 (pattern, mailalias-done): Declare dynamic.
24927 (mail-completion-at-point-function): New function, from mail-complete.
24928 (mail-complete): Use it.
24929 (mail-completion-expand): New function.
24930 (mail-get-names): Use it.
24931 (mail-directory, mail-directory-process, mail-directory-stream):
24932 Don't use `pattern' for lexically bound arg.
24933
6f542485
SM
24934 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24935
037e7c3f
SM
24936 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24937 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24938 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24939
8b05752a
SM
24940 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24941 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24942 (byte-interactive-p): Define them again, for use when inlining
24943 old code.
24944
49093f60
JB
249452011-04-15 Juanma Barranquero <lekktu@gmail.com>
24946
24947 * loadup.el: Use `string-to-number', not `string-to-int'.
24948
b5b8e7de
SM
249492011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24950
24951 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24952 gud-gdb-complete-command.
24953 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24954 (gud-gdb-completion-at-point): New function.
24955 (gud-gdb-completions): Remove.
24956
f42efeb5
MA
249572011-04-14 Michael Albinus <michael.albinus@gmx.de>
24958
49093f60
JB
24959 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24960 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24961 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24962 whether `executable-find' is bound.
f42efeb5
MA
24963
24964 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24965
e240cc21
SM
249662011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24967
24968 * minibuffer.el (completion-in-region-mode-predicate)
24969 (completion-in-region-mode--predicate): New vars.
24970 (completion-in-region, completion-in-region--postch)
24971 (completion-in-region-mode): Use them.
24972 (completion--capf-wrapper): Also return the hook function.
24973 (completion-at-point, completion-help-at-point):
24974 Adjust and provide a predicate.
c2bd2ab0
SM
24975
24976 Preserve arg names for advice of subr and lexical functions (bug#8457).
24977 * help-fns.el (help-function-arglist): Consolidate the subr and
24978 new-byte-code cases. Add argument `preserve-names' to extract names
24979 from the docstring when needed.
24980 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24981 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24982 (ad-arglist): Use help-function-arglist's new arg.
24983 (ad-definition-type): Use cond.
24984
c183f693
JB
249852011-04-13 Juanma Barranquero <lekktu@gmail.com>
24986
06641a47
JB
24987 * autorevert.el (auto-revert-handler):
24988 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24989 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24990 Don't quote lambda.
24991
c183f693
JB
24992 * image-mode.el (image-transform-set-scale):
24993 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24994
1e3b6001
G
249952011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24996
24997 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 24998 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
24999 Upgrades via gnutls-cli are too slow to be done opportunistically.
25000
2d6af8dd
JB
250012011-04-12 Juanma Barranquero <lekktu@gmail.com>
25002
25003 * dframe.el (dframe-current-frame): Remove spurious quote.
25004
c0749a51
GM
250052011-04-12 Glenn Morris <rgm@gnu.org>
25006
088d0d61
GM
25007 * calendar/cal-tex.el (cal-tex-end-document):
25008 Try to automatically use latin1 input if needed.
25009
c0749a51
GM
25010 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25011 Don't try to cons a mark onto an empty element.
25012
5c90fde0
LL
250132011-04-11 Leo Liu <sdl.web@gmail.com>
25014
25015 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25016 buffers.
25017 (ido-kill-buffer-at-head): Support killing virtual buffers.
25018
369e974d
CY
250192011-04-10 Chong Yidong <cyd@stupidchicken.com>
25020
25021 * minibuffer.el (completion-show-inline-help): New var.
25022 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
25023 (minibuffer-force-complete, minibuffer-complete-word):
25024 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
25025
25026 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25027 to avoid interference from inline help (Bug#5849).
25028
37f1c930
LL
250292011-04-10 Leo Liu <sdl.web@gmail.com>
25030
099c39a4
JB
25031 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25032 Fix typo.
37f1c930 25033
a32d4040
CY
250342011-04-09 Chong Yidong <cyd@stupidchicken.com>
25035
25036 * image-mode.el (image-toggle-display-image): Signal an error if
25037 not in Image mode.
25038 (image-transform-mode, image-transform-resize)
25039 (image-transform-set-rotation): Doc fix.
daca8ba5 25040 (image-transform-set-resize): Delete.
a32d4040
CY
25041 (image-transform-set-scale, image-transform-fit-to-height)
25042 (image-transform-fit-to-width): Handle image-toggle-display-image
25043 and image-transform-resize directly.
25044
099c39a4 250452011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
25046
25047 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
25048 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25049 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
25050 (doc-view-mode-map): Add bindings for the new functions.
25051
099c39a4 250522011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 25053
4d61f28d 25054 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
25055 Fix typo in docstring.
25056
3726838a
EZ
250572011-04-08 Eli Zaretskii <eliz@gnu.org>
25058
04f33f1e
EZ
25059 * files.el (file-size-human-readable): Produce one digit after
25060 decimal, like "ls -lh" does.
25061
25062 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25063 the file size representation.
25064
3726838a
EZ
25065 * simple.el (list-processes): If async subprocesses are not
25066 available, error out with a clear error message.
25067
cbb59342
CY
250682011-04-08 Chong Yidong <cyd@stupidchicken.com>
25069
25070 * help.el (help-form-show): New function, to be called from C.
25071 Put help-form output in a buffer named differently than *Help*.
25072
e3971c44
EZ
250732011-04-08 Eli Zaretskii <eliz@gnu.org>
25074
25075 * files.el (file-size-human-readable): New function.
25076
25077 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25078 computing the representation inline. Don't require `cl'.
25079
12544bbe
GM
250802011-04-08 Glenn Morris <rgm@gnu.org>
25081
a1de6c6a
GM
25082 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25083
3c4671f4
GM
25084 * net/browse-url.el (browse-url-firefox):
25085 Test system-type, not system-configuration.
25086
b605679c
GM
25087 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25088 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25089 Use log-edit-empty-buffer-p. (Bug#7598)
25090
56442f0c
GM
25091 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25092 (rlogin-mode-map): Initialize in the defvar.
25093 (rlogin): Use ignore-errors.
25094
12544bbe
GM
25095 * replace.el (occur-mode-map): Some fixes for menu items.
25096
eb237b0f
AH
250972011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25098
25099 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25100
7d668f2c
CY
251012011-04-06 Chong Yidong <cyd@stupidchicken.com>
25102
e67a13ab
CY
25103 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25104 issuing unused warnings.
25105
25106 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25107 macro directly.
25108
7d668f2c
CY
25109 * simple.el: Lisp reimplement of list-processes. Based on an
25110 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25111 (process-menu-mode): New major mode.
25112 (list-processes--refresh, list-processes):
25113 (process-menu-visit-buffer): New functions.
25114
25115 * files.el (save-buffers-kill-emacs): Don't assume any return
25116 value of list-processes, which is undocumented anyway.
25117
a83ec3c9
CY
251182011-04-06 Chong Yidong <cyd@stupidchicken.com>
25119
25120 * emacs-lisp/tabulated-list.el: New file.
25121
e91a96fe
CY
25122 * emacs-lisp/package.el: Use Tabulated List mode.
25123 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25124 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25125 table format using Tabulated List mode variables.
25126 (package--push): New macro, replacing package-list-maybe-add.
25127 (package-menu--generate): Use package--push. Renamed from
25128 package--generate-package-list.
25129 (package-menu-refresh, list-packages): Use it.
daca8ba5 25130 (package-menu--print-info): Rename from package-print-package.
e91a96fe 25131 Return insertion data instead of inserting it directly.
099c39a4
JB
25132 (package-menu-describe-package, package-menu-execute):
25133 Use tabulated-list-get-id.
e91a96fe
CY
25134 (package-menu-mark-delete, package-menu-mark-install)
25135 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
25136 (package-menu-mark-obsolete-for-deletion):
25137 Use tabulated-list-put-tag.
e91a96fe
CY
25138 (package--list-packages, package-menu-revert)
25139 (package-menu-get-package, package-menu-get-version)
25140 (package-menu-sort-by-column): Functions deleted.
25141 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25142 (package-menu--status-predicate, package-menu--version-predicate)
25143 (package-menu--name-predicate)
25144 (package-menu--description-predicate): Handle arguments in the
25145 Tabulated List format.
25146 (package-list-packages-no-fetch): Call list-packages.
25147
3e214b50
JB
251482011-04-06 Juanma Barranquero <lekktu@gmail.com>
25149
25150 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 25151 (after-find-file): Don't bind it.
3e214b50
JB
25152 (revert-buffer-in-progress-p): New variable.
25153 (revert-buffer): Bind it.
25154 Pass nil for `after-find-file-from-revert-buffer'.
25155
25156 * saveplace.el (save-place-find-file-hook): Use new variable
25157 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25158
3f0f1700
GM
251592011-04-06 Glenn Morris <rgm@gnu.org>
25160
c0274801
GM
25161 * Makefile.in (AUTOGEN_VCS): New variable.
25162 (autoloads): Use $AUTOGEN_VCS.
25163
3f0f1700
GM
25164 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25165 * calendar/calendar.el (calendar-mode-map):
25166 Check for toolkit scroll bars. (Bug#8305)
25167
41ea9e48
CY
251682011-04-05 Chong Yidong <cyd@stupidchicken.com>
25169
25170 * minibuffer.el (completion-in-region--postch)
25171 (completion-in-region-mode): Remove unnecessary messages.
25172
6194c800
JB
251732011-04-05 Juanma Barranquero <lekktu@gmail.com>
25174
33256f14
JB
25175 * font-lock.el (font-lock-refresh-defaults):
25176 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25177 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25178
6194c800
JB
25179 * info.el (Info-directory-list, Info-read-node-name-2)
25180 (Info-split-parameter-string): Doc fixes.
25181 (Info-virtual-nodes): Reflow docstring.
25182 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25183 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25184 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25185 Fix typos in docstrings.
25186 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25187 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25188 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25189 (Info-restore-desktop-buffer): Mark unused parameters.
25190 (Info-directory-find-file, Info-directory-find-node)
25191 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25192 (Info-virtual-index-find-node, Info-apropos-find-file)
25193 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 25194 Mark unused parameters; fix typos in docstrings.
6194c800
JB
25195 (Info-virtual-index): Remove unused local variable `nodename'.
25196
b87a8200 251972011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 25198
b87a8200
DD
25199 * net/rcirc.el: Update my e-mail address.
25200 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 25201
3b2ff876
CY
252022011-04-05 Chong Yidong <cyd@stupidchicken.com>
25203
25204 * startup.el (command-line): Save the cursor's theme-face
25205 directly, instead of using face-override-spec.
25206
25207 * custom.el (load-theme): Minor optimization in assigning faces.
25208
8d17e7ca
JB
252092011-04-04 Juanma Barranquero <lekktu@gmail.com>
25210
25211 * help-fns.el (describe-variable): Complete all variables having
25212 documentation, including keywords.
25213 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25214
2fbc1934
JB
252152011-04-04 Juanma Barranquero <lekktu@gmail.com>
25216
25217 Convert to lexical-binding.
25218
25219 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25220 (bs--get-marked-string, bs--get-modified-string)
25221 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25222 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25223 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25224
25225 * ehelp.el (electric-help-execute-extended)
25226 (electric-help-ctrl-x-prefix):
25227 * hexl.el (hexl-revert-buffer-function):
25228 * linum.el (linum-after-change, linum-after-scroll):
25229 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25230
25231 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25232
74f50695
DU
252332011-04-04 Daiki Ueno <ueno@unixuser.org>
25234
25235 * epa-dired.el:
25236 * epa-mail.el:
25237 * epa-hook.el:
25238 * epa-file.el:
25239 * epa.el:
25240 * epg.el: Use lexical binding.
25241
c11325f7
CY
252422011-04-03 Chong Yidong <cyd@stupidchicken.com>
25243
0d9e9a12
CY
25244 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25245
c11325f7 25246 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
25247 dictionary case for flyspell-mark-duplications-exceptions.
25248 Use regexp matching for languages.
c11325f7
CY
25249 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25250 default dictionary (Bug#7926).
25251
da91b5f2
CY
252522011-04-02 Chong Yidong <cyd@stupidchicken.com>
25253
099c39a4
JB
25254 * emacs-lisp/package.el (package--with-work-buffer):
25255 Recognize https URLs.
da91b5f2 25256
099c39a4
JB
25257 * net/network-stream.el: Move from gnus/proto-stream.el.
25258 Change prefix to network-stream throughout.
da91b5f2
CY
25259 (open-protocol-stream): Merge into open-network-stream, leaving
25260 open-protocol-stream as an alias. Handle nil BUFFER args.
25261
25262 * subr.el (open-network-stream): Move to net/network-stream.el.
25263
afa8e9f6
GM
252642011-04-02 Glenn Morris <rgm@gnu.org>
25265
1d2e369d
GM
25266 * find-dired.el (find-exec-terminator): New option.
25267 (find-ls-option): Test for -ls support.
25268 (find-ls-subdir-switches): Test for -b in find-ls-option.
25269 (find-dired, find-grep-dired): Doc fixes.
25270 (find-dired): Use find-exec-terminator.
25271
8abb7da8 25272 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
25273 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25274 (find-name-arg): Remove purecopy.
8abb7da8 25275
f3ca7378
GM
25276 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25277 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25278 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25279 accordingly. Don't add the null-device if not needed.
25280
afa8e9f6
GM
25281 * files.el (save-some-buffers): Doc fix.
25282
35eae264
EZ
252832011-04-02 Eli Zaretskii <eliz@gnu.org>
25284
25285 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25286
26b51db5
JB
252872011-04-01 Juanma Barranquero <lekktu@gmail.com>
25288
25289 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25290 Use `dolist' rather than `mapcar'.
25291
7200d79c
SM
252922011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25293
03408648 25294 Add lexical binding.
7200d79c 25295
03408648
SM
25296 * subr.el (apply-partially): Use new closures rather than CL.
25297 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25298 (dolist, dotimes): Use slightly different expansion for lexical code.
25299 (functionp): Move to C.
25300 (letrec): New macro.
25301 (with-wrapper-hook): Use it and apply-partially instead of CL.
25302 (eval-after-load): Preserve lexical-binding.
25303 (save-window-excursion, with-output-to-temp-buffer): Turn them
25304 into macros.
7200d79c 25305
03408648
SM
25306 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25307
25308 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25309 than the arglist.
25310 (help-add-fundoc-usage): Don't add `Not documented'.
25311 (help-function-arglist): Handle closures, subroutines, and new
25312 byte-code-functions.
25313 (help-make-usage): Remove leading underscores.
25314 (describe-function-1): Handle closures.
25315 (describe-variable): Use special-variable-p for completion.
25316
25317 * files.el (lexical-binding): Declare safe.
f488fb65 25318
03408648
SM
25319 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25320 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25321 (pcase): Add `let' pattern.
25322 Change memoization so it actually works.
25323 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25324 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25325 <let>: New case.
f488fb65 25326
03408648
SM
25327 * emacs-lisp/macroexp.el: Use lexical binding.
25328 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25329 Don't convert ' to #' without checking that it's indeed quoting
25330 a lambda.
25331
25332 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 25333 Use eval-sexp-add-defvars.
03408648
SM
25334 (eval-sexp-add-defvars): New fun.
25335
25336 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25337
25338 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25339 Don't autoload.
25340 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25341 than the internal `byte-compile-lambda'.
25342 (defmethod): Don't hide code under quotes.
25343 (eieio-defmethod): New `code' argument.
25344
25345 * emacs-lisp/eieio-comp.el: Remove.
25346
25347 * emacs-lisp/edebug.el (edebug-eval-defun)
25348 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25349 (edebug-toggle): Avoid `eval'.
25350
25351 * emacs-lisp/disass.el (disassemble-internal): Handle new
25352 `closure' objects.
25353 (disassemble-1): Handle new byte codes.
25354
25355 * emacs-lisp/cl.el (pushnew): Silence warning.
25356
25357 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25358 (cl-byte-compile-throw): Remove.
25359 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25360
25361 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25362 closures.
25363
25364 * emacs-lisp/cconv.el: New file.
25365
25366 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25367 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25368 (byte-compile-initial-macro-environment):
25369 Handle declare-function here.
25370 (byte-compile--lexical-environment): New var.
25371 (byte-stack-ref, byte-stack-set, byte-discardN)
25372 (byte-discardN-preserve-tos): New lap codes.
25373 (byte-interactive-p): Don't use any more.
25374 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25375 New macros.
25376 (byte-compile-lapcode): Use them and handle new lap codes.
25377 (byte-compile-obsolete): Remove.
25378 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25379 (byte-compile-arglist-warn): Check late def of inlinable funs.
25380 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25381 since they should have been expanded by now.
25382 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25383 (byte-compile-from-buffer): Remove unused second arg.
25384 (byte-compile-preprocess): New function.
25385 (byte-compile-toplevel-file-form): New function to distinguish
25386 file-form calls from outside from file-form calls from hunk-handlers.
25387 (byte-compile-file-form): Simplify.
25388 (byte-compile-file-form-defsubst): Remove.
25389 (byte-compile-file-form-defmumble): Simplify now that
25390 byte-compile-lambda always returns a byte-code-function.
25391 (byte-compile): Preprocess.
25392 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25393 Remove, not used any more.
25394 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25395 (byte-compile-make-args-desc): New funs.
25396 (byte-compile-lambda): Handle lexical functions. Always return
25397 a byte-code-function.
25398 (byte-compile-reserved-constants): New var, to make up room for
25399 closed-over variables.
25400 (byte-compile-constants-vector): Obey it.
25401 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25402 (byte-compile-macroexpand-declare-function): New function.
25403 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25404 byte-code-functions.
25405 (byte-compile-form): Check obsolescence here.
25406 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25407 (byte-compile-variable-ref): Remove.
25408 (byte-compile-dynamic-variable-op): New fun.
25409 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25410 (byte-compile-variable-set): New funs.
25411 (byte-compile-discard): Add 2 args.
25412 (byte-compile-stack-ref, byte-compile-stack-set)
25413 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25414 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25415 macroexpand-all instead.
25416 (byte-compile-quote-form): Remove.
25417 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25418 (byte-compile-bind, byte-compile-unbind): New funs.
25419 (byte-compile-let): Handle let* and lexical binding.
25420 (byte-compile-let*): Remove.
25421 (byte-compile-catch, byte-compile-unwind-protect)
25422 (byte-compile-track-mouse, byte-compile-condition-case):
25423 Handle a new :fun-body form, used for lexical scoping.
25424 (byte-compile-save-window-excursion)
25425 (byte-compile-with-output-to-temp-buffer): Remove.
25426 (byte-compile-defun): Simplify.
25427 (byte-compile-stack-adjustment): New fun.
25428 (byte-compile-out): Use it.
25429 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25430
25431 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25432 handler any more.
25433
25434 * emacs-lisp/byte-opt.el: Use lexical binding.
25435 (byte-inline-lapcode): Remove (to bytecomp).
25436 (byte-compile-inline-expand): Pay attention to inlining to/from
25437 lexically bound code.
25438 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25439 any more.
25440 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25441 any more and don't call compiler-macros.
25442 (byte-compile-splice-in-already-compiled-code): Remove.
25443 (byte-code): Don't inline any more.
25444 (disassemble-offset): Receive `bytes' as argument rather than via
25445 dynamic scoping.
25446 (byte-compile-tag-number): Declare before first use.
25447 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25448 `return' even if make-spliceable.
25449 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25450 obsolete interactive-p.
25451 (byte-optimize-lapcode): Optimize new lap-codes.
25452 Don't trip up on new form of `byte-constant' lap code.
25453
25454 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25455
25456 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25457
25458 * custom.el (custom-initialize-default, custom-declare-variable):
25459 Use `defvar'.
25460
25461 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25462 New variables.
25463 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25464 (COMPILE_FIRST): Add macroexp and cconv.
25465 * makefile.w32-in: Mirror changes in Makefile.in.
25466
25467 * vc/cvs-status.el:
25468 * vc/diff-mode.el:
25469 * vc/log-edit.el:
25470 * vc/log-view.el:
25471 * vc/smerge-mode.el:
25472 * textmodes/bibtex-style.el:
090bd7cb 25473 * textmodes/css-mode.el:
03408648
SM
25474 * startup.el:
25475 * uniquify.el:
da91b5f2
CY
25476 * minibuffer.el:
25477 * newcomment.el:
25478 * reveal.el:
25479 * server.el:
25480 * mpc.el:
25481 * emacs-lisp/smie.el:
25482 * doc-view.el:
25483 * dired.el:
03408648
SM
25484 * abbrev.el: Use lexical binding.
25485
0f0c1f27
EZ
254862011-04-01 Eli Zaretskii <eliz@gnu.org>
25487
25488 * info.el (info-display-manual): New function.
25489
c82b2579
SM
254902011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25491
25492 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25493
221ddf68
TH
254942011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25495
25496 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 25497 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 25498
cba6e77e
GM
254992011-03-31 Glenn Morris <rgm@gnu.org>
25500
e040639f
GM
25501 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25502
cba6e77e
GM
25503 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25504
6d0f1c9e
CS
255052011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25506
25507 * progmodes/python.el (python-default-interpreter)
25508 (python-python-command-args, python-jython-command-args)
25509 (python-which-shell, python-which-args, python-which-bufname)
25510 (python-file-queue, python-comint-output-filter-function)
25511 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25512 variables and functions.
25513
3e2d70fd
SM
255142011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25515
25516 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25517 (completion-in-region-mode): New minor mode.
25518 (completion-in-region): Use it.
25519 (completion-in-region--data, completion-in-region-mode-map): New vars.
25520 (completion-in-region--postch): New function.
25521 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25522 New vars.
25523 (completion--capf-wrapper): New function.
25524 (completion-at-point): Use it to track well-behavedness of
25525 hook functions.
25526 (completion-help-at-point): New command.
25527
f3e4086c
JM
255282011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25529
25530 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25531 syntax class to search for whitespace on a single line
25532 (Message-ID: <4D938140.4030905@redhat.com>).
25533
eb7ffc14
LL
255342011-03-30 Leo Liu <sdl.web@gmail.com>
25535
25536 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25537 New commands.
25538 (edit-abbrevs-map): Bind them here.
25539 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25540
d806ab68
KM
255412011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25542
25543 * allout.el (allout-hide-by-annotation, allout-flag-region):
25544 Reduce possibility of overlay leakage by making them volatile.
25545
25546 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25547 hash is not shared between buffers. Mode initialization is
25548 responsible for giving it a useful starting value.
25549 (allout-item-span): Reduce possibility of overlay leakage by
25550 making them volatile.
25551 (allout-widgets-count-buttons-in-region): Add diagnostic function
25552 for tracking down button overlay leaks.
25553
ea622834
LL
255542011-03-29 Leo Liu <sdl.web@gmail.com>
25555
25556 * ido.el (ido-read-internal): Use the default history var
25557 minibuffer-history if no HISTORY is specified.
25558
b62f8267
G
255592011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25560
03408648
SM
25561 * net/imap.el (imap-shell-open, imap-process-connection-type):
25562 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
25563 Kerberos, SSL, other subprocesses.
25564
947b6566
LL
255652011-03-28 Leo Liu <sdl.web@gmail.com>
25566
25567 * abbrev.el (abbrev-table-empty-p): New function.
25568 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25569 nonempty ones. (Bug#5937)
25570
5ffb62aa
JD
255712011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25572
25573 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25574
7a097943
LL
255752011-03-27 Leo Liu <sdl.web@gmail.com>
25576
25577 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25578 for foreground and background colors.
25579 (ansi-color-make-color-map): Adapt.
25580
c5b40130
LL
255812011-03-25 Leo Liu <sdl.web@gmail.com>
25582
1f48f7d2
LL
25583 * midnight.el (midnight-time-float): Remove. Note it calculates
25584 the microsecond component incorrectly and seconds-to-time does the
25585 same job.
625897ec 25586 Remove redundant (require 'timer).
1f48f7d2 25587
c5b40130
LL
25588 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25589 (ido-completions): Remove unused arguments. (Bug#8329)
25590
d86d2721
SM
255912011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25592
25593 * minibuffer.el (completion--flush-all-sorted-completions):
25594 Remove itself from hook.
25595 (completion-at-point): Let the functions perform the completion
25596 immediately and return nil or t.
25597 * comint.el (comint-dynamic-complete-functions): Now identical to
25598 completion-at-point-functions.
25599 (comint-dynamic-list-input-ring): Remove unused var `index'.
25600 (comint--match-partial-filename, comint--unquote&expand-filename):
25601 New funs, split from comint-match-partial-filename.
25602 (comint-dynamic-complete): Use completion-at-point.
25603 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25604
e8974c48
DA
256052011-03-24 Drew Adams <drew.adams@oracle.com>
25606
25607 * thingatpt.el: Support `defun'.
25608
def71b5e
LL
256092011-03-23 Leo Liu <sdl.web@gmail.com>
25610
cb5af48e
LL
25611 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25612
def71b5e
LL
25613 * help-mode.el (help-mode-finish): Tweak regexp.
25614
927c53e7
GM
256152011-03-23 Glenn Morris <rgm@gnu.org>
25616
18d05bed
GM
25617 * eshell/esh-opt.el (eshell-eval-using-options):
25618 Do not bind unused local variable `eshell-option-stub'.
25619
927c53e7
GM
25620 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25621
9d0da923
JB
256222011-03-22 Juanma Barranquero <lekktu@gmail.com>
25623
25624 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25625 keymap variable in `with-no-warnings' to avoid a warning when the
25626 keymap has been already `defconst'ed.
25627
4b978a67
LL
256282011-03-22 Leo Liu <sdl.web@gmail.com>
25629
25630 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25631 encode all chars in abbrevs; otherwise use emacs-mule or
25632 utf-8-emacs. (Bug#8308)
25633
5fd62452
JB
256342011-03-22 Juanma Barranquero <lekktu@gmail.com>
25635
0b1596c6
JB
25636 * simple.el (backward-delete-char-untabify):
25637 Avoid warning about using `delete-backward-char'.
25638
5fd62452
JB
25639 * image.el (image-type-file-name-regexps): Make it variable.
25640 `imagemagick-register-types' modifies it, and the user may want
25641 to add new extensions for known image types.
25642 (imagemagick-register-types): Throw error if not using ImageMagick.
25643
0b4e93f1
LL
256442011-03-22 Leo Liu <sdl.web@gmail.com>
25645
25646 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25647 located before rcirc-prompt-end-marker.
25648 (rcirc-complete): Error if point is not after rcirc prompt.
25649 Handle the case when table is nil.
9882e214 25650 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 25651
fccee4ab
CY
256522011-03-22 Chong Yidong <cyd@stupidchicken.com>
25653
25654 * custom.el (custom--inhibit-theme-enable): Make it affect only
25655 custom-theme-set-variables and custom-theme-set-faces.
25656 (provide-theme): Ignore custom--inhibit-theme-enable.
25657 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25658 (custom-enabling-themes): Delete variable.
d86d2721
SM
25659 (enable-theme): Accept only loaded themes as arguments.
25660 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
25661 (custom-enabled-themes): Forbid themes from setting this.
25662 Eliminate use of custom-enabling-themes.
25663 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 25664
af896da6
LL
256652011-03-21 Leo Liu <sdl.web@gmail.com>
25666
25667 * ido.el (ido-read-internal): Add ido-selected to history instead
25668 of user input.
25669
78f64af0
SM
256702011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25671
25672 * subr.el (deferred-action-list, deferred-action-function):
25673 Mark obsolete.
25674
b16ac1ec
LL
256752011-03-21 Leo Liu <sdl.web@gmail.com>
25676
810f7698
LL
25677 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25678 change on 2011-02-13 (bug#8309).
25679
b16ac1ec
LL
25680 * minibuffer.el (read-file-name-function): Change default value.
25681 (read-file-name--defaults): Rename from read-file-name-defaults.
25682 (read-file-name-default): Rename from read-file-name.
25683 (read-file-name): Call read-file-name-function.
25684
4e05e67e
GM
256852011-03-21 Glenn Morris <rgm@gnu.org>
25686
25687 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25688 Doc fixes.
25689
4359915b
CY
256902011-03-21 Chong Yidong <cyd@stupidchicken.com>
25691
25692 * cus-theme.el: Add missing provide statement.
25693 (customize-create-theme): Extract theme value correctly.
25694 (custom-theme-visit-theme): Autoload.
25695 (customize-create-theme): Prompt before inserting default faces.
25696
1fe275ee
JB
256972011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25698
25699 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25700 units and musical notes.
25701
cd394be1 257022011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
25703
25704 * ido.el (ido-read-internal): Use completing-read-default.
25705 (ido-completing-read): Fix compatibility with completing-read.
25706
7d476bde
CO
257072011-03-20 Christian Ohler <ohler@gnu.org>
25708
25709 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25710 (ert-delete-all-tests): Use `called-interactively-p' rather than
25711 `interactive-p'.
25712 (ert--make-xrefs-region): Respect END.
25713
fe0fb33e
CY
257142011-03-19 Chong Yidong <cyd@stupidchicken.com>
25715
ff854b0b
CY
25716 * dired-aux.el (dired-create-directory): Signal an error if the
25717 directory already exists (Bug#8246).
25718
fe0fb33e
CY
25719 * facemenu.el (list-colors-display): Call list-faces-display
25720 inside with-help-window.
25721 (list-colors-print): Use display property to align the final
25722 column, instead of checking window-width.
25723
576bce32
EZ
257242011-03-19 Eli Zaretskii <eliz@gnu.org>
25725
4d61f28d 25726 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
25727 windows-nt systems.
25728 (emerge-protect-metachars): Quote correctly for ms-dos and
25729 windows-nt systems.
25730
89c41d68 257312011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
25732
25733 * info.el (info-initialize): Replace all uses of `:' with
25734 path-separator for compatibility with non-Unix systems.
25735 Cache quoting of path-separator. (Bug#8258)
25736
b14e3e21 257372011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
25738
25739 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25740 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25741 (mouse-avoidance-mode): Fix typos in docstrings.
25742
4525ce3e
CY
257432011-03-19 Chong Yidong <cyd@stupidchicken.com>
25744
25745 * startup.el (package-subdirectory-regexp): Move from package.el.
25746 Omit \\` and \\', and let callers add them.
25747
25748 * emacs-lisp/package.el (package-strip-version)
25749 (package-load-all-descriptors): Add \\` and \\' to
25750 package-subdirectory-regexp before using it.
25751 (package-untar-buffer): New arg DIR; ensure that file untars only
25752 into this expected directory. Remove superfluous delete-region.
25753 (package-unpack): Caller changed.
25754 (package-tar-file-info): Use package-subdirectory-regexp.
25755
a904a09a 257562011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 25757
a904a09a
SM
25758 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25759 diff-mode-shared-map (bug#8284).
25760 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
25761
257622011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25763
25764 * calendar/time-date.el (format-seconds): Use assoc instead of
25765 assoc-string, since assoc-string doesn't exist in XEmacs.
25766
171fc304
JB
257672011-03-17 Juanma Barranquero <lekktu@gmail.com>
25768
25769 * custom.el (custom-known-themes): Reflow docstring.
25770 (custom-theme-load-path): Fix typo in docstring.
25771 (load-theme): Fix typo in error message.
25772 (custom-available-themes, custom-variable-theme-value):
25773 Use `let', not `let*'.
25774
d71990a1
JB
257752011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25776
25777 * calc/README: Mention inclusion of musical notes.
25778
25779 * calc/calc-units.el (calc-lu-quant): Rename from
25780 `calc-logunits-quantity'.
25781 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25782 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25783 (calc-db): Rename from `calc-dblevel'.
25784 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25785 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25786 (calc-np): Rename from `calc-nplevel'.
25787 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25788 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25789 (calc-lu-plus): Rename from `calc-logunits-add'.
25790 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25791 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25792 (calc-lu-minus): Rename from `calc-logunits-sub'.
25793 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25794 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25795 (calc-lu-times): Rename from `calc-logunits-mul'.
25796 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25797 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25798 (calc-lu-divide): Rename from `calc-logunits-div'.
25799 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25800 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25801
25802 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25803 functions being autoloaded.
25804
25805 * calc/calc.el (calc-lu-power-reference): Rename from
25806 `calc-logunits-power-reference'.
25807 (calc-lu-field-reference): Rename from
25808 `calc-logunits-field-reference'.
25809
7a71b18d
GM
25810 * calc/calc-help.el (calc-l-prefix-help):
25811 Mention musical note functions.
d71990a1 25812
40c2934b
SM
258132011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25814
25815 * minibuffer.el (completion-all-sorted-completions):
25816 Use :completion-cycle-penalty text property if present.
25817
b0911414
KM
258182011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25819
25820 * allout.el (allout-yank-processing): Adjust for new rebulleting
25821 regime so bullet being yanked is used without prompting the user
25822 for a choice.
25823
8a05b668
JB
258242011-03-16 Juanma Barranquero <lekktu@gmail.com>
25825
25826 * startup.el (command-line): Warn the user that _emacs is deprecated.
25827
5ba5fb81
JB
258282011-03-16 Juanma Barranquero <lekktu@gmail.com>
25829
25830 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25831 (delphi-verbose, delphi-comment-face, delphi-string-face)
25832 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25833 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25834 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25835 (delphi-new-comment-line, delphi-font-lock-defaults)
25836 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25837 Fix typos in docstrings.
25838
2dab465b
KM
258392011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25840
5ba5fb81 25841 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
25842 Invert the roles of character and string values for INSTEAD, so a
25843 string is used for the more common case of a defaulting prompt.
25844
0adf5618
SM
258452011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25846
25847 * progmodes/ruby-mode.el (ruby-backward-sexp):
25848 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25849 * play/gamegrid.el (gamegrid-make-face):
25850 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25851 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25852 * notifications.el (notifications-notify):
25853 * net/xesam.el (xesam-search-engines):
25854 * net/quickurl.el (quickurl-list-insert):
25855 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25856
d72700e5
CY
258572011-03-15 Chong Yidong <cyd@stupidchicken.com>
25858
25859 * startup.el (command-line): Update package subdirectory regexp.
25860
49c5410a
SM
258612011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25862
c6eee9aa
SM
25863 * allout.el (allout-abbreviate-flattened-numbering)
25864 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25865
49c5410a
SM
25866 * subr.el (read-char-choice): Only show the cursor after the prompt,
25867 not after the answer.
25868
047b2bb9
KR
258692011-03-15 Kevin Ryde <user42@zip.com.au>
25870
25871 * help-fns.el (variable-at-point): Skip leading quotes, if any
25872 (bug#8253).
25873
0a57d256
SM
258742011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25875
25876 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25877 warning message.
25878
77c992bc
MA
258792011-03-14 Michael Albinus <michael.albinus@gmx.de>
25880
25881 * shell.el (shell): When called interactively, offer to change the
25882 shell file name on remote hosts.
25883
eebc475d
TZ
258842011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25885
25886 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25887 integration for LDAP parameters. The host, base, user or binddn,
25888 and secret tokens can be specified in a netrc file, for instance.
25889 This is optional because an `auth-source' parameter must be
25890 specified in the search attributes.
25891
9d05d1ba
JB
258922011-03-13 Juanma Barranquero <lekktu@gmail.com>
25893
25894 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25895
09d9db2c
GM
258962011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25897
25898 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25899 into declaration. Remove redundant and harmful binding.
25900
259012011-03-12 Eli Zaretskii <eliz@gnu.org>
25902
25903 * files.el (file-ownership-preserved-p): Pass `integer' as an
25904 explicit 2nd argument to `file-attributes'. If the file's owner
25905 is the Administrators group on Windows, and the current user is
25906 Administrator, consider that a match.
25907
25908 * server.el (server-ensure-safe-dir): Consider server directory
25909 safe on MS-Windows if its owner is the Administrators group while
25910 the current Emacs user is Administrator. Use `=' to compare
25911 numerical UIDs, since they could be integers or floats.
25912
219bd536
JB
259132011-03-12 Juanma Barranquero <lekktu@gmail.com>
25914
25915 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25916
f3afd36b
MA
259172011-03-12 Michael Albinus <michael.albinus@gmx.de>
25918
25919 Sync with Tramp 2.2.1.
25920
25921 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25922
25923 * net/trampver.el: Update release number.
25924
3aaaa6f1
SM
259252011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25926
94642599
SM
25927 * progmodes/compile.el (compilation--previous-directory): Fix up
25928 various nil/dead-marker mismatches (bug#8014).
25929 (compilation-directory-properties, compilation-error-properties):
25930 Don't call it at a position past the one we're about to change.
25931
3aaaa6f1
SM
25932 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25933 Disable obsolescence warnings in the file that declares it.
25934
14239447
KM
259352011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25936
099c39a4
JB
25937 * allout-widgets.el (allout-widgets-tally):
25938 Initialize allout-widgets-tally as a hash table rather than nil to
25939 prevent mode-line redisplay warnings. Also, clarify the module
25940 description and fix a comment typo.
14239447 25941
135e287c
JB
259422011-03-11 Juanma Barranquero <lekktu@gmail.com>
25943
25944 * help-fns.el (describe-variable): Don't complete keywords.
25945 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25946
ffbf300e
CY
259472011-03-10 Chong Yidong <cyd@stupidchicken.com>
25948
ba08b241
CY
25949 * emacs-lisp/package.el (package-version-join): Impose a standard
25950 string representation for pre/alpha/beta version lists.
25951 (package-unpack-single): Standardize the directory name by passing
25952 it through package-version-join.
25953 (package-strip-rcs-id): Accept any version string that does not
25954 signal an error in version-to-list.
ffbf300e 25955
f346fd6b
MA
259562011-03-10 Michael Albinus <michael.albinus@gmx.de>
25957
25958 * simple.el (delete-trailing-whitespace): Return nil for the
25959 benefit of `write-file-functions'.
25960
ccb55d27
GM
259612011-03-10 Glenn Morris <rgm@gnu.org>
25962
5ceaac0c
GM
25963 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25964
02da65ff
GM
25965 * vc/vc-git.el (vc-git-program): New option.
25966 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25967 (vc-git--call): Use it.
25968
b2f603cc
GM
25969 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25970
5772caab
GM
25971 * cus-edit.el (Custom-newline): If no button at point, look
25972 for a subgroup button at start-of-line. (Bug#2298)
25973
ccb55d27
GM
25974 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25975
ec6ecaed
JD
259762011-03-10 Julien Danjou <julien@danjou.info>
25977
25978 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25979 `cursor-type' is nil.
25980
9d5aa01d
JB
259812011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25982
25983 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25984
b6a5875b
KM
259852011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25986
7a71b18d 25987 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
25988 preserves the existing header prefix, rebulleting it if necessary,
25989 rather than replacing it. This is necessary for proper operation
25990 of cooperative addons like allout-widgets.
1154d12e
JB
25991 (allout-make-topic-prefix, allout-rebullet-heading):
25992 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25993 value as alternate bullet to be used, instead of prompting the user
25994 for a bullet character.
b6a5875b 25995
ee545c35
MA
259962011-03-09 Michael Albinus <michael.albinus@gmx.de>
25997
d86d2721
SM
25998 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25999 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
26000 `tramp-default-port'.
26001
c47971d7
DD
260022011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26003
26004 * net/rcirc.el (rcirc-handler-001): Remove useless
26005 with-rcirc-process-buffer.
26006 (rcirc-check-auth-status): Swap arguments to string-match.
26007
13522cb4
GM
260082011-03-09 Glenn Morris <rgm@gnu.org>
26009
0be6f4f1
GM
26010 * shell.el (shell-mode):
26011 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26012
13522cb4
GM
26013 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26014 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26015
515de2e3
CY
260162011-03-08 Chong Yidong <cyd@stupidchicken.com>
26017
26018 * emacs-lisp/package.el (package-refresh-contents)
26019 (package-menu-execute): Use condition-case-no-debug.
26020
b511b994
MA
260212011-03-08 Michael Albinus <michael.albinus@gmx.de>
26022
26023 * simple.el (shell-command-to-string): Use `process-file'.
26024
26025 * emacs-lisp/package.el (package-tar-file-info): Handle also
26026 remote files.
26027
d86d2721
SM
26028 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26029 Use `equal' for upload base check.
b511b994 26030
25bbfb31
AM
260312011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26032
26033 * textmodes/texinfo.el (texinfo-environments):
26034 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26035
be996521
GM
260362011-03-08 Glenn Morris <rgm@gnu.org>
26037
e9c8529f
GM
26038 * cus-start.el (cursor-in-non-selected-windows):
26039 Fix :set quoting oddness. (Bug#8192)
26040
be996521
GM
26041 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26042 in some setf expressions. (Bug#2159)
26043
2bb5649e
CY
260442011-03-08 Chong Yidong <cyd@stupidchicken.com>
26045
26046 * custom.el (custom-available-themes): Return themes in
26047 alphabetical order.
26048
33383987 26049See ChangeLog.15 for earlier changes.
e3d51b27
MR
26050
26051;; Local Variables:
26052;; coding: utf-8
e3d51b27
MR
26053;; End:
26054
ab422c4d 26055 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
26056
26057 This file is part of GNU Emacs.
26058
26059 GNU Emacs is free software: you can redistribute it and/or modify
26060 it under the terms of the GNU General Public License as published by
26061 the Free Software Foundation, either version 3 of the License, or
26062 (at your option) any later version.
26063
26064 GNU Emacs is distributed in the hope that it will be useful,
26065 but WITHOUT ANY WARRANTY; without even the implied warranty of
26066 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26067 GNU General Public License for more details.
26068
26069 You should have received a copy of the GNU General Public License
26070 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.